/* ==========================================================================
   Chesapeake Financial Planners: site chrome (header, call-to-action band, footer).
   Loaded on every page that is not one of the 41 ACF page templates (those load cfp-pages.css, which contains
   the same rules). Generated from cfp-pages.css; nothing here resets html, body, a or img globally, so
   posts, plugin templates and the pillar/perspectives pages keep their own typography.
   ========================================================================== */

.site-header, .site-header *, .cta-band, .cta-band *, .site-footer, .site-footer * { box-sizing: border-box; }
.site-header img, .site-footer img { display: block; max-width: 100%; }
.site-header a, .cta-band a, .site-footer a { text-decoration: none; }
.site-header, .cta-band, .site-footer { font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.site-header ul, .site-footer ul { margin: 0; padding: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.screen-reader-text:focus, .cfp-skip:focus { background: #fff; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6); clip: auto; clip-path: none; color: #003366; display: block; font-size: 14px; font-weight: 700; height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000; }

:root{
  
  --navy: #003366;         
  --brand-blue: #0171bb;   
  --faq-blue: #1c76bc;     
  --text-dark: #131313;    
  --text-muted: #4a4a4a;   
  --surface-gray: #eeeeee; 
  --surface-white: #ffffff;
  --footer-blue: #0e5ba8;  
  --footer-dark: #333333;  
  --cta-orange: #f7941d;   
  --cta-dark: #333333;     
  --border-light: #d4d1ca;

  --font-display: "Russo One", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-accent: "Cormorant Garamond", serif;

  --site-max-width: 1280px;
  --site-width: 88%;
}
.container{
  width: var(--site-width);
  max-width: var(--site-max-width);
  margin: 0 auto;
}
.site-header{
  border-bottom: 1px solid #ececec;
  background: #fff;
  position: relative;
  z-index: 100;
}
.nav-wrap{
  /* full width: spans the viewport with a 24px gutter (page content keeps its own max width) */
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo-block{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img{ height: 46px; width: auto; display: block; }
.main-nav{ display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.main-nav a{
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.main-nav a:hover{ color: var(--brand-blue); }
.main-nav a.active{ color: var(--brand-blue); }
.nav-ctas{ display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta.fit{ background: var(--brand-blue); color: #fff; }
.nav-cta.login{ background: var(--cta-orange); color: #fff; }
.nav-cta.upload{ background: var(--cta-dark); color: #fff; }
.nav-cta svg{ width: 16px; height: 16px; flex-shrink: 0; }
.logo-marquee-wrap{
  width: 100%;
  overflow: hidden;
  margin-top: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.logo-marquee-wrap + .logo-marquee-wrap{ margin-top: 22px; }
.logo-marquee-track{
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
.logo-marquee-track img{ height: 30px; width: auto; object-fit: contain; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track{ animation: none; }
}
.cta-band{ background: #4a4a4a; padding: 36px 0; }
.cta-band-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-text{ flex: 1; }
.cta-band-text h2{
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cta-band-text p{
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #d8d8d8;
  max-width: 640px;
}
.cta-band-btn{
  display: inline-block;
  flex-shrink: 0;
  background: var(--cta-orange);
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.cta-band-btn:hover{ background: #e08415; }
.site-footer{ background: var(--footer-blue); color: #fff; }
.footer-top{ padding: 40px 0 32px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 1.3fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.footer-col h4{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 14px;
  color: #fff;
}
.footer-col ul{ list-style: none; margin: 0 0 4px; padding: 0; }
.footer-col li{ margin-bottom: 9px; font-size: 14px; }
.footer-col a{ color: #eaf1fa; text-decoration: none; }
.footer-col a:hover{ color: #fff; text-decoration: underline; }
.footer-col-brand{ display: flex; flex-direction: column; }
.footer-brand-logo{ margin-bottom: 16px; }
.footer-logo-img{ height: auto; width: auto; max-width: 100%; max-height: 40px; display: block; }
.footer-social{ display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a{
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.15s ease;
}
.footer-social a:hover{ background: rgba(255,255,255,0.3); }
.footer-social a svg{ width: 16px; height: 16px; }
.footer-badges{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px 20px;
  margin-top: 6px;
  flex: 1;
  align-content: space-evenly;
}
.footer-badges img{
  height: 100%; width: 100%; max-width: 120px; object-fit: contain;
  justify-self: start; align-self: center;
}
.footer-badges img[alt="FPA"], .footer-badges img[alt="CFP Board"]{
  height: 40px; width: auto; max-width: 120px; object-fit: contain;
}
.footer-badges img[alt="ElevenLabs Startup Grants"]{
  width: auto; max-width: 130px;
}
.footer-badges img[alt="FINRA BrokerCheck"]{ filter: brightness(0) invert(1); }
.footer-contact-divider{ width: 40px; height: 2px; background: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-contact-link{ display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-contact-link:hover{ text-decoration: underline; }
.footer-legal{ padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
.footer-legal p{ font-size: 12px; color: #dbe6f2; line-height: 1.6; margin: 0 0 12px; }
.footer-legal a{ color: #fff; text-decoration: underline; }
.footer-bottom{ background: var(--footer-dark); padding: 16px 0; }
.footer-bottom-inner{ display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-copyright{ font-size: 12px; color: #fff; margin: 0; font-weight: bold; letter-spacing: 0.3px; white-space: nowrap; }
.footer-bottom-mark{ height: 22px; width: auto; opacity: 0.9; flex-shrink: 0; }
.footer-credit{ font-size: 12px; color: #fff; margin: 0; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.footer-credit .gvam{ display: inline-flex; align-items: center; }
.footer-credit .gvam img{ height: 13px; width: auto; vertical-align: middle; }
@media (max-width: 900px) {
  .main-nav{ display: none; }
  .footer-grid{ grid-template-columns: repeat(3, 1fr); }
  .nav-ctas{ gap: 4px; }
  .nav-cta{ padding: 8px 10px; font-size: 10px; }
  .nav-cta span.label{ display: none; }
  .cta-band-inner{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band-btn{ align-self: flex-start; }
}
@media (max-width: 600px) {
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom-inner{ flex-direction: column; text-align: center; gap: 10px; }
}
.footer-col h4 a{ color: inherit; text-decoration: none; }
.footer-badges a{ display: contents; }
.footer-bottom-inner > a:has(.footer-bottom-mark){ display: contents; }
.nav-toggle{ display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span{ display: block; width: 24px; height: 2px; background: var(--text-dark); }
/* Header fit: the approved header needs about 1260px of content width, so it overflowed every viewport below ~1500px. Tighten the gaps below 1500px, widen the bar below 1440px, and collapse to the toggle below 1320px. */
@media (max-width: 1500px) { .nav-wrap { gap: 16px; } .main-nav { gap: 14px; } .main-nav a { font-size: 12px; } .nav-cta { padding: 12px 16px; } }
@media (max-width: 1319px) {
  .nav-wrap{ flex-wrap: wrap; }
  .nav-toggle{ display: flex; margin-left: auto; }
  .site-header .main-nav, .site-header .nav-ctas{ display: none; width: 100%; flex: 0 0 100%; }
  .site-header.nav-open .main-nav{ display: flex; flex-direction: column; align-items: flex-start; gap: 0; order: 3; }
  .site-header.nav-open .main-nav a{ padding: 12px 0; width: 100%; border-top: 1px solid #ececec; }
  .site-header.nav-open .nav-ctas{ display: flex; flex-wrap: wrap; order: 4; gap: 8px; padding-bottom: 8px; }
  .site-header.nav-open .nav-cta{ padding: 10px 14px; font-size: 12px; }
  .site-header.nav-open .nav-cta span.label { display: inline; }
}

/* ===================== PAGE SHELL (every non-ACF page) ===================== */
body.cfp-site { margin: 0; font-family: var(--font-body); color: var(--text-dark); background: #fff; line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.cfp-site *, body.cfp-site *::before, body.cfp-site *::after { box-sizing: border-box; }
.cfp-main { display: block; }
.cfp-main:focus { outline: none; }
.cfp-wrap { width: var(--site-width); max-width: var(--site-max-width); margin: 0 auto; }

/* Pillar pages and the Perspectives index print their own wrappers; give them the site container and the
   same 20px pad under the menu as every other page. */
.cfp-main > .cfp-pillar, .cfp-main > .cfp-perspectives { margin-top: 20px; margin-bottom: 40px; padding-left: 8px; padding-right: 8px; }
.cfp-main > .cfp-pillar { max-width: var(--site-max-width); }


/* Plugin teaser that Additional CSS used to hide on the old Pro site. */
section#hfa-teaser { display: none; }
