/* New Captain Pete theme (round 1, step 6; Henry, 2026-11-18 sign-off). The old site's look, from www.newcaptainpete.com
   (branch main: public/sass/_variables.sass, _global.sass, components/*.sass, compiled css/main.css), measured live at
   1366 and 390 px (~/kiki-handoff/ncp-inv/styles.txt). Loaded after main.css, so it overrides the template.
   Fonts: the old site's own Google Fonts request, css?family=EB+Garamond|Open+Sans (weight 400 only), in
   includes/header.php. The old CSS asks for Open Sans 300 (body) and 700 (headings): 300 renders as 400 and 700 is a
   synthesised bold, because only 400 is loaded. This file asks for the same weights, so visitors see the same glyphs.
   Font Awesome 4.7 (menu icons, top bar, thumbs-up, search) as the old site, from jsdelivr. */

:root {
  --default-font: "Open Sans", sans-serif;
  --heading-font: "Open Sans", sans-serif;
  --nav-font: "Open Sans", sans-serif;
  --ncp-serif: "EB Garamond", serif;
  --background-color: #153488;
  --default-color: #000000;
  --heading-color: #000000;
  --accent-color: #153488;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #ffffff;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #333333;
  --nav-dropdown-background-color: #333333;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #ffffff;
}

/* Text: Open Sans 17 px / 1.4 (23.8 px), weight 300 as asked (renders 400), black; the page is #153488 under the water
   photo (old _global.sass body, _variables.sass). Paragraphs 17 px / 1.4, 18 px under (old typo.sass p). */
body { font-family: var(--default-font); font-size: 17px; font-weight: 300; line-height: 1.4; color: #000000;
  background-color: #153488; overflow-x: hidden; }
p { color: #000000; font-size: 17px; line-height: 1.4; margin: 0 0 18px; }
strong, b { font-weight: 700; }
address, ol, ul, dl, blockquote { margin: 0; }

/* Links: the old global rule makes every link inline-block, with no underline and no hover change of colour
   (old _global.sass a, +hf). Text links are #153488 (old $primary). */
a { display: inline-block; color: #153488; text-decoration: none; }
a:hover, a:focus { color: #153488; text-decoration: none; }

/* Headings: Open Sans bold, margin 0, black; h1 28 px 600, h2 24, h3 22, h4 19, h5 18, h6 17 (old typo.sass,
   _variables.sass). Line height 1.2 (Bootstrap 4's heading rule the old CSS kept). */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--heading-font); font-weight: 700; line-height: 1.2;
  color: #000000; margin: 0; }
h1, .h1 { font-size: 28px; font-weight: 600; }
h2, .h2 { font-size: 24px; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 19px; }
h5, .h5 { font-size: 18px; }
h6, .h6 { font-size: 17px; }

/* The page: the water photo, cover, centred, over #153488 (old .page-wrap; the live file is img/tpl/ncp-background.jpg,
   copied byte for byte). */
.ncp-page { position: relative; min-height: 100vh; background: #153488 url("../img/ncp/ncp-background.jpg") 50% 50% no-repeat;
  background-size: cover; }

/* Content width: the old .page-width column is 960 px, centred, full width below (old page.sass, $content-width). */
.ncp-width { width: 100%; max-width: 960px; margin-right: auto; margin-left: auto; }

/* The two cards: the 50% white column every page sits on (old .content-wrap, 15 px padding) and, inside it on the text
   pages, the 95% white card (old .content-wrap-opaque: EB Garamond paragraphs, Open Sans bold headings with 15 px
   under). */
.ncp-column { width: 100%; max-width: 960px; margin-right: auto; margin-left: auto; padding: 15px; background-color: rgba(255, 255, 255, .5); }
.ncp-card { padding: 15px; background-color: rgba(255, 255, 255, .95); }
.ncp-card p { font-family: var(--ncp-serif); }
.ncp-card strong { font-weight: 700; }
.ncp-card h1, .ncp-card h2, .ncp-card h3, .ncp-card h4, .ncp-card h5 { font-family: var(--heading-font); font-weight: 700; margin-bottom: 15px; }
.ncp-serif { font-family: var(--ncp-serif); }

/* Top bar: navy #0c3454, white 17 px text, each item with a 10 px margin; its links white (old .top). It scrolls away. */
.ncp-top { background-color: #0c3454; color: #ffffff; text-align: center; }
.ncp-top .ncp-top-item { display: inline-block; margin: 10px; color: #ffffff; }
.ncp-top a, .ncp-top a:hover, .ncp-top a:focus, .ncp-top a:active, .ncp-top a:visited { color: #ffffff; }

/* The logo band and the menu bar stick to the top together (old .sticky-top); the band is light blue with 20 px padding
   (5 px under 992 px), the logo 150 px tall at most from 768 to 991 px and 75 px under 768 px (old header.sass). */
.ncp-sticky { position: sticky; top: 0; z-index: 1020; }
.ncp-logo-band { background-color: #add8e6; padding: 20px; text-align: center; }
.ncp-logo-band img { display: inline-block; max-width: 100%; }
@media (max-width: 991.98px) { .ncp-logo-band { padding: 5px; } }
@media (min-width: 768px) and (max-width: 991.98px) { .ncp-logo-band img { max-height: 150px; } }
@media (max-width: 767.98px) { .ncp-logo-band img { max-height: 75px; } }

/* Menu bar: #333 with a 0 3px 10px #000 shadow, centred from 768 px (old nav.sass .nav-wrap). Links: Open Sans 15 px 400,
   letter-spacing -0.02em, white, no hover colour change; the label is a block with 10 px above and below and a 2 px
   white line that grows from 0 to the full width on hover (old .navbar .nav-link and its span). Under 768 px the open
   menu's links hover to rgba(255,255,255,.2). */
.ncp-nav { background-color: #333333; box-shadow: 0 3px 10px 0 #000000; color: #ffffff; }
@media (min-width: 768px) { .ncp-nav { text-align: center; } }
.ncp-nav-link { display: block; font-family: var(--nav-font); font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: -.02em;
  color: #ffffff; padding: 0 12px; text-decoration: none; transition: all .3s; }
.ncp-nav-link:hover, .ncp-nav-link:focus, .ncp-nav-link:active { color: #ffffff; text-decoration: none; }
.ncp-nav-link > span { display: block; position: relative; padding-top: 10px; padding-bottom: 10px; }
.ncp-nav-link > span::after { content: ""; position: absolute; z-index: 10; left: 0; bottom: 0; height: 2px; width: 0;
  background-color: #ffffff; transition: all .3s; }
.ncp-nav-link:hover > span::after, .ncp-nav-link:focus > span::after { width: 100%; }
/* From 768 px the old links are padded 11 px left and 12 px right, and the first (Home) has none on the left; with
   12 px each side the menu drifted up to 9.5 px right and Contact wrapped to a second row at 768 (Henry 2026-11-18). */
@media (min-width: 768px) {
  .ncp-nav-link { padding: 0 12px 0 11px; }
  .ncp-nav li:first-child > .ncp-nav-link { padding-left: 0; }
}
@media (max-width: 767.98px) {
  .ncp-nav-link > span { padding-right: 15px; padding-left: 15px; }
  .ncp-nav-link:hover, .ncp-nav-link:focus { background-color: rgba(255, 255, 255, .2); }
  .ncp-nav-link:hover > span::after, .ncp-nav-link:focus > span::after { width: calc(100% - 30px); }
}

/* Menu toggle (phones only): 60 x 50, white at 60%, 1 px #153488 border, 5 px radius, 10 px 0 padding, dark blue bars;
   focus border #0e235c (old .navbar-toggler at 390 px). */
.ncp-toggler { width: 60px; height: 50px; padding: 10px 0; background-color: rgba(255, 255, 255, .6); border: 1px solid #153488;
  border-radius: 5px; color: #153488; line-height: 1; cursor: pointer; }
.ncp-toggler:focus, .ncp-toggler:focus-visible { outline: 0; border-color: #0e235c; }

/* Buttons: the old .btn box: Open Sans 13 px 400 white uppercase, padding 7 px 15 px, min-width 110 px, no border,
   square corners (old buttons.sass). Use only these classes on public pages:
   .btn-ncp-blue    Gallery SEARCH: #153488 (old .btn-primary), hover #102767, focus ring rgba(21,52,136,.5).
   .btn-ncp-yellow  Contact CONTACT US: #dfb30b (old .btn-warning), hover #bb9609, focus ring rgba(223,179,11,.5). */
.btn-ncp-blue, .btn-ncp-yellow { display: inline-block; font-family: var(--default-font); font-size: 13px; font-weight: 400; line-height: 1.5;
  text-align: center; vertical-align: middle; text-transform: uppercase; text-decoration: none; color: #ffffff; padding: 7px 15px;
  min-width: 110px; border: none; border-radius: 0; cursor: pointer; user-select: none; white-space: nowrap;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, box-shadow .15s ease-in-out; }
.btn-ncp-blue { background-color: #153488; }
.btn-ncp-blue:hover { color: #ffffff; background-color: #102767; }
.btn-ncp-blue:focus, .btn-ncp-blue:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(21, 52, 136, .5); }
.btn-ncp-yellow { background-color: #dfb30b; }
.btn-ncp-yellow:hover { color: #ffffff; background-color: #bb9609; }
.btn-ncp-yellow:focus, .btn-ncp-yellow:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(223, 179, 11, .5); }
.btn-ncp-blue:disabled, .btn-ncp-yellow:disabled { opacity: .65; cursor: default; }

/* Text-link roles (no hover change on any of them):
   .ncp-link         links in text (Home's email, "Like us on Facebook!"): #153488.
   .ncp-link-top     the top bar's email: white.
   .ncp-link-footer  "Contact Us Today", "Privacy Policy", "Terms & Conditions", the footer email: bold #4b6aad.
   .ncp-link-credit  "TECKnet Inc.", "Nor Cal Fish Reports.": #ffcc00. */
.ncp-link, .ncp-link:hover, .ncp-link:focus, .ncp-link:visited { color: #153488; text-decoration: none; }
.ncp-link-top, .ncp-link-top:hover, .ncp-link-top:focus, .ncp-link-top:visited { color: #ffffff; text-decoration: none; }
.ncp-link-footer, .ncp-link-footer:hover, .ncp-link-footer:focus, .ncp-link-footer:visited { color: #4b6aad; font-weight: 700; text-decoration: none; }
.ncp-link-credit, .ncp-link-credit:hover, .ncp-link-credit:focus, .ncp-link-credit:visited { color: #ffcc00; text-decoration: none; }

/* Footer: an empty navy band (50 px, #0c3454), the white band (10 px padding; the motto 1.5em bold #0c3454, the contact
   lines bold #4b6aad, images 20 px apart) and the black credits band (10 px padding, white, centred, 0.8em; links
   #ffcc00) (old footer.sass). */
.ncp-footer-top { background-color: #0c3454; height: 50px; padding: 10px; color: #ffffff; }
.ncp-footer { background-color: #ffffff; padding: 10px; }
.ncp-footer img { margin-bottom: 20px; }
.ncp-footer-motto { font-size: 1.5em; font-weight: 700; color: #0c3454; }
.ncp-footer-contact { font-weight: 700; color: #4b6aad; }
.ncp-footer-logo-title { font-size: 1.5em; font-weight: 700; }
.ncp-footer-logo-address { font-weight: 400; }
.ncp-footer-bottom { background-color: #000000; padding: 10px; color: #ffffff; text-align: center; font-size: .8em; }
