/* ============================================================
   CFPG Theme — site.css   v3.0
   Brand implementation: Playfair Display + Montserrat,
   Navy/Teal/Pool Blue/Sun Gold/Sand palette
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --navy:    #0D2348;
  --navy-dk: #091A35;
  --charcoal:#1F2933;
  --blue:    #3B94D6;   /* Pool Blue — primary accent */
  --aqua:    #49B9D3;   /* Aqua — lighter water */
  --teal:    #15877A;   /* Brand Teal — green-teal */
  --gold:    #F7B23A;   /* Sun Gold */
  --sand:    #F2E8D9;   /* Sand */
  --ltblue:  #E8F5FF;
  --orange:  #F7B23A;   /* alias → gold */
  --green:   #10B981;
  --purple:  #8B5CF6;
  --muted:   #64748B;
  --line:    #E2EEF6;
  --body:    #1F2933;
  --white:   #FFFFFF;

  --head: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --max:   1200px;
  --r:     10px;
  --r-lg:  18px;
  --sh:    0 2px 12px -2px rgba(13,35,72,.10);
  --sh-md: 0 4px 20px -4px rgba(13,35,72,.14);
  --sh-lg: 0 8px 32px -6px rgba(13,35,72,.20);

  --header-h: 64px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { color: var(--blue); text-decoration:none; }
a:hover { color: var(--teal); }
ul,ol { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* ── Utilities ─────────────────────────────────────────────── */
.cfpg-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.cfpg-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cfpg-eyebrow--orange { background: #FEF3C7; color: #D97706; }
.cfpg-eyebrow--teal   { background: #CFFAFE; color: #0E7490; }
.cfpg-eyebrow--blue   { background: var(--ltblue); color: var(--teal); }
.cfpg-eyebrow--green  { background: #D1FAE5; color: #059669; }
.cfpg-h2 {
  font-family: var(--head);
  font-size: clamp(22px,2.8vw,32px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.12;
  margin-bottom: 10px;
}
.cfpg-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.sr-only {
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link {
  position:absolute; left:-9999px; top:10px;
  background:var(--blue); color:#fff; padding:10px 18px;
  border-radius:8px; font-weight:600; z-index:9999; font-size:14px;
}
.skip-link:focus { left:10px; }

/* ── Buttons ───────────────────────────────────────────────── */
.cfpg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.cfpg-btn:hover { transform: translateY(-1px); }

.cfpg-btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 3px 12px -3px rgba(14,165,233,.4);
}
.cfpg-btn--primary:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #fff;
}
.cfpg-btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.cfpg-btn--outline-dark:hover {
  background: var(--navy);
  color: #fff;
}
.cfpg-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.cfpg-btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}
.cfpg-btn--teal {
  background: var(--aqua);
  color: #fff;
  border-color: var(--aqua);
}
.cfpg-btn--teal:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.cfpg-btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cfpg-btn--navy:hover { background: var(--navy-dk); border-color: var(--navy-dk); color: #fff; }
.cfpg-btn--green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.cfpg-btn--blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 3px 12px -3px rgba(14,165,233,.4);
}
.cfpg-btn--blue:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #fff;
}
.cfpg-btn--sm { font-size: 12px; padding: 8px 16px; }
.cfpg-btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.cfpg-btn--gold:hover {
  background: #E6A429;
  border-color: #E6A429;
  color: var(--navy);
}

/* Arrow icon */
.cfpg-arr {
  display: inline-flex;
  align-items: center;
}

/* ── Header ────────────────────────────────────────────────── */
.cfpg-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #E5EEF5;
  height: var(--header-h);
}
.cfpg-header.is-scrolled {
  box-shadow: 0 2px 16px -6px rgba(11,37,69,.14);
}
.cfpg-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
  position: relative;
  /* .cfpg-header__inner also carries .cfpg-wrap, which sets 28px side
     padding for content columns -- the header needs slightly less so
     its real nav/logo/search-button content (measured against real
     production content, not this sandbox's synthetic test data) fits
     inside the shared 1200px max-width without overflowing. Narrowed
     to 18px per side; paired with the 1225px hamburger breakpoint
     below so nothing needs this room until there's actually enough
     of it. */
  padding: 0 18px;
}
.cfpg-header__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cfpg-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Circular phone / contact button (matches mockup) */
.cfpg-phone-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px -3px rgba(13,35,72,.25);
  flex-shrink: 0;
  transition: background .14s, color .14s, transform .12s;
}
.cfpg-phone-btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }

/* Search field inside the mobile drawer */
.cfpg-mobile-nav__search {
  padding: 14px 24px;
  border-bottom: 1px solid #F0F5FA;
}
.cfpg-mobile-nav__search .cfpg-search-form { box-shadow: none; border: 1px solid var(--line); }
.cfpg-mobile-nav__search .cfpg-search-input { padding: 12px 14px; font-size: 15px; }
.cfpg-mobile-nav__search .cfpg-search-submit { padding: 0 16px; }

/* Logo — header */
.cfpg-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.cfpg-logo__img {
  display: block;
  width: auto;
  max-width: 270px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

/* Nav — also handle <li> elements from an assigned WP menu */
.cfpg-nav li,
.cfpg-mobile-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nav */
.cfpg-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.cfpg-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 11px;
  text-decoration: none;
  transition: color .14s;
  white-space: nowrap;
}
.cfpg-nav a:hover,
.cfpg-nav a.current-menu-item {
  color: var(--blue);
}

/* "Ask CFPG" — subtle accent treatment so it reads as a promoted
   action without competing with the phone button or looking like
   a loud, disconnected banner ad inside the nav. */
.cfpg-nav a.cfpg-nav__ask {
  margin-left: 4px;
  color: var(--teal);
  font-weight: 700;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  padding: 5px 13px;
}
.cfpg-nav a.cfpg-nav__ask:hover {
  color: var(--white);
  background: var(--teal);
}

/* Search btn */
.cfpg-search-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 6px;
  transition: background .14s, color .14s;
  flex-shrink: 0;
}
.cfpg-search-btn:hover { background: var(--ltblue); color: var(--navy); }

/* Hamburger */
.cfpg-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--navy);
  transition: background .14s;
  flex-shrink: 0;
}
.cfpg-menu-btn:hover { background: var(--ltblue); }
.cfpg-menu-btn .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Mobile nav */
.cfpg-mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px -6px rgba(11,37,69,.15);
  z-index: 199;
}
.cfpg-mobile-nav.is-open { display: block; }
.cfpg-mobile-nav a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid #F0F5FA;
}
.cfpg-mobile-nav a:hover { color: var(--blue); background: var(--ltblue); }
.cfpg-mobile-nav a.cfpg-mobile-nav__ask {
  color: var(--teal);
  font-weight: 700;
}
.cfpg-mobile-nav a.cfpg-mobile-nav__ask:hover { color: var(--teal); background: var(--ltblue); }

/* Search overlay */
.cfpg-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,.72);
  backdrop-filter: blur(5px);
  z-index: 300;
  align-items: flex-start;
  padding-top: 100px;
}
.cfpg-search-overlay.is-open { display: flex; }
.cfpg-search-box { width:100%; max-width:600px; margin:0 auto; padding:0 24px; }
.cfpg-search-form {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(11,37,69,.4);
}
.cfpg-search-input {
  flex: 1;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  color: var(--body);
  outline: none;
}
.cfpg-search-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cfpg-search-close {
  display: block;
  margin: 14px auto 0;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
}
.cfpg-search-close:hover { color: #fff; }

/* ── HERO ──────────────────────────────────────────────────── */
.cfpg-hero {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 580px;
  overflow: hidden;
}

/* Left panel — white background, text content */
.cfpg-hero__left {
  background: #fff;
  padding: 56px 48px 80px max(28px, calc((100vw - var(--max)) / 2 + 28px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Feather the left panel's right edge into the pool photo */
.cfpg-hero__left::after {
  content: '';
  position: absolute;
  top: 0;
  right: -110px;
  bottom: 0;
  width: 220px;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Right panel — pool photo */
.cfpg-hero__right {
  position: relative;
  overflow: hidden;
}
.cfpg-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.cfpg-hero__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D2348 0%, #15877A 40%, #3B94D6 70%, #A8D8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  opacity: .6;
}

/* Wave divider at bottom of hero section */
.cfpg-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
}
.cfpg-hero__wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* Hero text */
.cfpg-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.cfpg-hero__h1 {
  font-family: var(--head);
  font-size: clamp(28px,3.5vw,46px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.cfpg-hero__copy {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}
.cfpg-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.cfpg-hero__trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cfpg-hero__trust-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

/* Hero stat cards strip (inside hero, bottom of left column + bleeding right) */
.cfpg-hero__stat-strip {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.cfpg-stat-card {
  flex: 1;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.cfpg-stat-card__icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cfpg-stat-card__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.cfpg-stat-card__value {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 2px;
}
.cfpg-stat-card__sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── CATEGORY ROW ──────────────────────────────────────────── */
.cfpg-cats {
  padding: 52px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cfpg-cats__heading {
  font-family: var(--head);
  font-size: clamp(18px,2vw,24px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 36px;
}
.cfpg-cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.cfpg-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 12px;
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.cfpg-cat-item:hover {
  background: #F8FBFF;
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  color: inherit;
}
.cfpg-cat-item__circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: transform .15s;
}
.cfpg-cat-item:hover .cfpg-cat-item__circle {
  transform: scale(1.06);
}
.cfpg-cat-item__title {
  font-family: var(--head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}
.cfpg-cat-item__desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ── FEATURED + SEASON (two-col) ───────────────────────────── */
.cfpg-mid {
  padding: 52px 0;
  background: #F8FBFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cfpg-mid__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Featured guide card */
.cfpg-feat {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.cfpg-feat:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}
.cfpg-feat__title {
  font-family: var(--head);
  font-size: clamp(18px,1.8vw,22px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}
.cfpg-feat__body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.cfpg-feat__visual {
  background: linear-gradient(135deg, #E8F5FF 0%, #C8EDF8 100%);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 22px;
  text-align: center;
  border: 1px solid var(--line);
}
.cfpg-feat__price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r);
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
}
.cfpg-feat__price-label {
  font-size: 11px;
  font-weight: 500;
  opacity: .7;
  display: block;
  margin-top: 4px;
  text-align: center;
  color: var(--muted);
}

/* Season tip card */
.cfpg-season {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cfpg-season__content {
  padding: 32px 28px;
  flex: 1;
}
.cfpg-season__title {
  font-family: var(--head);
  font-size: clamp(18px,1.8vw,22px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
.cfpg-season__bullets {
  list-style: none;
  margin-bottom: 24px;
}
.cfpg-season__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px solid #F0F7FA;
}
.cfpg-season__bullets li:last-child { border-bottom: none; }
.cfpg-season__bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ltblue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue);
  font-weight: 700;
}
.cfpg-season__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cfpg-season__img {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.cfpg-season__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cfpg-season__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D2348 0%, #3B94D6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

/* ── POPULAR GUIDES ────────────────────────────────────────── */
.cfpg-popular {
  padding: 52px 0;
  background: #fff;
}
.cfpg-popular__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cfpg-popular__view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cfpg-popular__view-all:hover { color: var(--teal); }

/* Category browse grid (icon + title + desc + Explore link) */
.cfpg-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.cfpg-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.cfpg-category-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
  color: inherit;
}
.cfpg-category-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}
.cfpg-category-card__img img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.cfpg-category-card__title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}
.cfpg-category-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 12px;
}
.cfpg-category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
}
.cfpg-category-card:hover .cfpg-category-card__link { color: var(--navy); }

@media (min-width: 720px) {
  .cfpg-category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cfpg-category-grid { grid-template-columns: repeat(4, 1fr); }
}
.cfpg-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cfpg-guide-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.cfpg-guide-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
  color: inherit;
}
.cfpg-guide-card__img {
  height: 160px;
  background: linear-gradient(135deg, #0D2348 0%, #15877A 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfpg-guide-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cfpg-guide-card__img-ph {
  font-size: 40px;
  opacity: .28;
}
.cfpg-guide-card__cat {
  /* Removed per feedback: the pill badge sat on top of the card
     illustration and obscured it. Hidden rather than deleted from the
     markup, since ~50 template occurrences reference the class. */
  display: none;
}
.cfpg-guide-card__body {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cfpg-guide-card__title {
  font-family: var(--head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 7px;
}
.cfpg-guide-card__excerpt {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}
.cfpg-guide-card__read {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── DIY OR PRO ────────────────────────────────────────────── */
.cfpg-diy {
  padding: 52px 0;
  background: #F8FBFF;
  border-top: 1px solid var(--line);
}
.cfpg-diy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cfpg-diy__left {}
.cfpg-diy__left .cfpg-h2 { margin-bottom: 14px; }
.cfpg-diy__left > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.cfpg-diy__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.cfpg-diy-col {
  border-radius: var(--r);
  padding: 18px 16px;
}
.cfpg-diy-col--green {
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
}
.cfpg-diy-col--blue {
  background: var(--ltblue);
  border: 1px solid var(--line);
}
.cfpg-diy-col__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cfpg-diy-col__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.cfpg-diy-col--green .cfpg-diy-col__icon { background: var(--green); color: #fff; }
.cfpg-diy-col--blue  .cfpg-diy-col__icon { background: var(--blue); color: #fff; }
.cfpg-diy-col ul { list-style: none; }
.cfpg-diy-col li {
  font-size: 12.5px;
  color: var(--charcoal);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}
.cfpg-diy-col li:last-child { border-bottom: none; }
.cfpg-diy-col--green li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 11px; margin-top: 2px; }
.cfpg-diy-col--blue  li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; font-size: 11px; margin-top: 2px; }

/* Right: illustration + checklist */
.cfpg-diy__right {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.cfpg-diy__illo {
  background: linear-gradient(135deg, #E8F5FF 0%, #C8EDF8 100%);
  padding: 28px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 148px;
  font-size: 70px;
  border-bottom: 1px solid var(--line);
}
.cfpg-diy__checklist {
  padding: 24px;
}
.cfpg-diy__checklist-title {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.cfpg-diy__checklist-items {
  list-style: none;
  margin-bottom: 20px;
}
.cfpg-diy__checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--charcoal);
  padding: 7px 0;
  border-bottom: 1px solid #F0F5FA;
  line-height: 1.4;
}
.cfpg-diy__checklist-items li:last-child { border-bottom: none; }
.cfpg-diy__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── TOOLS ─────────────────────────────────────────────────── */
.cfpg-tools {
  padding: 52px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.cfpg-tools__disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  padding: 10px 14px;
  background: #F8FBFF;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.cfpg-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cfpg-tool-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .18s;
}
.cfpg-tool-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.cfpg-tool-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.cfpg-tool-card__title {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.cfpg-tool-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.cfpg-tool-card__link {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.cfpg-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 64px 0 0;
  font-size: 13.5px;
}
.cfpg-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 44px;
}
.cfpg-footer__col--cta .cfpg-footer__desc { max-width: 220px; margin-bottom: 14px; }
.cfpg-footer__col--cta .cfpg-btn { margin-top: 4px; }

/* Brand col */
.cfpg-footer__logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 16px;
  line-height: 0;
}
.cfpg-footer__logo-img {
  display: block;
  width: auto;
  max-width: 230px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.cfpg-footer__tagline {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cfpg-footer__desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 260px;
}
.cfpg-footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.cfpg-footer__social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.cfpg-footer__social-link:hover {
  background: var(--blue);
  color: #fff;
}

/* Columns */
.cfpg-footer__col-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.cfpg-footer__links { list-style: none; }
.cfpg-footer__links li { margin-bottom: 9px; }
.cfpg-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .14s;
  display: block;
  line-height: 1.4;
}
.cfpg-footer__links a:hover { color: var(--aqua); }

/* Get in touch col */
.cfpg-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  margin-bottom: 10px;
}
.cfpg-footer__contact-item a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
}
.cfpg-footer__contact-item a:hover { color: var(--aqua); }
.cfpg-footer__contact-btn {
  margin-top: 18px;
}

/* Bottom bar */
.cfpg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cfpg-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.cfpg-footer__legal {
  display: flex;
  gap: 20px;
}
.cfpg-footer__legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .14s;
}
.cfpg-footer__legal a:hover { color: #fff; }

/* ── Inner page hero ───────────────────────────────────────── */
.cfpg-page-hero__kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-decoration: none;
}
a.cfpg-page-hero__kicker:hover { background: rgba(255,255,255,.2); color: #fff; }

.cfpg-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #091A35 100%);
  padding: 52px 0 44px;
}
.cfpg-page-hero .cfpg-wrap { text-align: center; }
.cfpg-page-hero h1 {
  font-family: var(--head);
  font-size: clamp(24px,3vw,40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.015em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.cfpg-page-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Inner page blocks ─────────────────────────────────────── */
.cfpg-intro {
  padding: 44px 0 28px;
}
.cfpg-intro__body {
  max-width: 740px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
}
.cfpg-intro__body p + p { margin-top: 12px; }

.cfpg-callout {
  background: #EAF4FF;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px;
  margin: 0 0 48px;
}
.cfpg-callout__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
}
.cfpg-callout__text {
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.62;
}

/* ── "Ask CFPG" contextual CTA (guide/hub pages) ─────────────
   Calm, sand-toned card — same family as the /ask/ page's own
   "Today's Pool Watch" treatment, so the two features feel
   connected rather than like two different products bolted on. */
.cfpg-ask-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 0 0 48px;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.cfpg-ask-cta:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-1px);
}
.cfpg-ask-cta__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.cfpg-ask-cta__icon img { display: block; width: 100%; height: 100%; }
.cfpg-ask-cta__text { flex: 1; }
.cfpg-ask-cta__title {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cfpg-ask-cta__sub {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.cfpg-ask-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: stretch;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .cfpg-ask-cta { flex-direction: row; align-items: center; padding: 22px 26px; }
  .cfpg-ask-cta__btn { align-self: center; flex-shrink: 0; }
}

.cfpg-feat__kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: 10px;
}

.cfpg-related {
  background: #F8FAFC;
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.cfpg-related__heading {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.cfpg-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cfpg-related__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 16px;
  text-decoration: none;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color .15s, box-shadow .15s, color .15s;
}
.cfpg-related__item:hover {
  border-color: var(--aqua);
  box-shadow: var(--sh);
  color: var(--teal);
}
.cfpg-related__arrow {
  color: var(--teal);
  flex-shrink: 0;
  opacity: .7;
}

/* About page */
.cfpg-about {
  padding: 56px 0 64px;
}
.cfpg-about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.cfpg-about__h2 {
  font-family: var(--head);
  font-size: clamp(22px,2.4vw,30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cfpg-about__body {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--body);
}
.cfpg-about__body p + p { margin-top: 14px; }
.cfpg-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.cfpg-about-stat {
  background: #E8F5FF;
  border-radius: var(--r);
  padding: 18px 16px;
  text-align: center;
  border: 1px solid rgba(59,148,214,.18);
}
.cfpg-about-stat__num {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.cfpg-about-stat__label {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 5px;
}
.cfpg-about-pillars {
  background: #F8FAFC;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.cfpg-about-pillars__title {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.cfpg-about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cfpg-about-pillar:last-child { border-bottom: none; }
.cfpg-about-pillar__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cfpg-about-pillar__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.cfpg-about-pillar__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Contact page */
.cfpg-contact {
  padding: 52px 0 64px;
}
.cfpg-contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cfpg-contact__h2 {
  font-family: var(--head);
  font-size: clamp(20px,2vw,26px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cfpg-contact__sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 26px;
}
.cfpg-contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  letter-spacing: .03em;
}
.cfpg-contact-form input,
.cfpg-contact-form textarea,
.cfpg-contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  margin-bottom: 14px;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.cfpg-contact-form input:focus,
.cfpg-contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,148,214,.15);
}
.cfpg-contact-form textarea { height: 120px; resize: vertical; }
.cfpg-contact-info {
  background: #F8FAFC;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.cfpg-contact-info__title {
  font-family: var(--head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.cfpg-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.cfpg-contact-info-item:last-child { margin-bottom: 0; }
.cfpg-contact-info-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #E8F5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}
.cfpg-contact-info-item__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2px;
}
.cfpg-contact-info-item__value {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

/* Legal pages */
.cfpg-legal {
  padding: 52px 0 72px;
}
.cfpg-legal__inner {
  max-width: 720px;
}
.cfpg-legal__updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}
.cfpg-legal h2 {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 10px;
}
.cfpg-legal h3 {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 7px;
}
.cfpg-legal p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--body);
  margin-bottom: 12px;
}
.cfpg-legal ul {
  margin: 8px 0 14px 22px;
}
.cfpg-legal li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 6px;
}
.cfpg-legal a { color: var(--teal); text-decoration: underline; }
.cfpg-legal a:hover { color: var(--blue); }

/* Inner page responsive */
@media (max-width: 900px) {
  .cfpg-related__grid { grid-template-columns: 1fr 1fr; }
  .cfpg-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .cfpg-contact__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .cfpg-related__grid { grid-template-columns: 1fr; }
  .cfpg-about-stats { grid-template-columns: 1fr 1fr; }
  .cfpg-intro { padding: 32px 0 20px; }
}

/* ── Single post ───────────────────────────────────────────── */
.cfpg-post-wrap { padding: 52px 0 80px; }
.cfpg-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}
.cfpg-post-content h1,h2,h3,h4 {
  font-family: var(--head);
  color: var(--navy);
  margin: 1.4em 0 .5em;
  line-height: 1.18;
}
.cfpg-post-content h1 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin-top: 0; }
.cfpg-post-content h2 { font-size: clamp(19px,2vw,24px); font-weight: 700; }
.cfpg-post-content h3 { font-size: clamp(16px,1.5vw,19px); font-weight: 700; }
.cfpg-post-content p { margin-bottom: 1.15em; color: var(--body); line-height: 1.75; }
.cfpg-post-content ul,ol { padding-left: 1.4em; margin-bottom: 1.15em; }
.cfpg-post-content ul { list-style: disc; }
.cfpg-post-content ol { list-style: decimal; }
.cfpg-post-content li { margin-bottom: .4em; line-height: 1.65; }
.cfpg-post-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cfpg-post-content strong { color: var(--navy); font-weight: 700; }
.cfpg-post-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 12px 18px;
  background: var(--ltblue);
  border-radius: 0 var(--r) var(--r) 0;
  margin: 1.4em 0;
  color: var(--navy);
  font-style: italic;
}
.cfpg-post-content table { width:100%; border-collapse:collapse; margin-bottom:1.4em; font-size:13.5px; }
.cfpg-post-content th { background:var(--navy); color:#fff; padding:9px 13px; text-align:left; font-weight:700; }
.cfpg-post-content td { padding:8px 13px; border-bottom:1px solid var(--line); }
.cfpg-post-content tr:nth-child(even) td { background:#F8FBFF; }
.cfpg-post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.cfpg-post-meta .cat-pill {
  background: var(--ltblue);
  color: var(--blue);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
}
.cfpg-sidebar-widget {
  background: #F8FBFF;
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 20px 18px;
  margin-bottom: 20px;
}
.cfpg-sidebar-widget__title {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.cfpg-sidebar-links { list-style: none; }
.cfpg-sidebar-links li { border-bottom: 1px solid var(--line); }
.cfpg-sidebar-links li:last-child { border-bottom: none; }
.cfpg-sidebar-links a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--body);
  text-decoration: none;
}
.cfpg-sidebar-links a:hover { color: var(--blue); }

/* ── Archive ───────────────────────────────────────────────── */
.cfpg-archive-wrap { padding: 52px 0 80px; }
.cfpg-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cfpg-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  padding: 36px 0 0;
  flex-wrap: wrap;
}
.cfpg-pagination a,
.cfpg-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .14s, color .14s, border-color .14s;
}
.cfpg-pagination a:hover { background: var(--ltblue); color: var(--navy); border-color: var(--blue); }
.cfpg-pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── CTA strip ─────────────────────────────────────────────── */
.cfpg-cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #091A35 100%);
  padding: 56px 0;
  text-align: center;
}
.cfpg-cta-strip h2 {
  font-family: var(--head);
  font-size: clamp(20px,2.5vw,30px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.cfpg-cta-strip p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 26px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cfpg-cta-strip__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Brand typography overrides ────────────────────────────────
   Playfair Display is set as --head but small card/label titles
   (≤15px) read better in Montserrat (--sans) per the brand sheet.
   Large editorial headings (h1, h2, section titles) keep Playfair.
   ─────────────────────────────────────────────────────────────── */
.cfpg-cat-item__title,
.cfpg-stat-card__value,
.cfpg-guide-card__title,
.cfpg-tool-card__title,
.cfpg-diy-col__head,
.cfpg-diy__checklist-title,
.cfpg-about-pillars__title,
.cfpg-sidebar-widget__title,
.cfpg-feat__price-badge {
  font-family: var(--sans);
}

/* WordPress core */
.alignleft  { float:left; margin:0 1.4em 1em 0; }
.alignright { float:right; margin:0 0 1em 1.4em; }
.aligncenter { display:block; margin:1em auto; text-align:center; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cfpg-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .cfpg-footer__grid > *:nth-child(1) { grid-column: 1 / -1; }
  .cfpg-topic-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .cfpg-hero { grid-template-columns: 1fr; min-height: auto; }
  .cfpg-hero__right { height: 260px; }
  .cfpg-hero__left { padding: 40px 0 32px; }
  .cfpg-hero__left::after { display: none; }
  .cfpg-cat-row { grid-template-columns: repeat(3, 1fr); }
  .cfpg-mid__grid { grid-template-columns: 1fr; }
  .cfpg-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-diy__inner { grid-template-columns: 1fr; }
  .cfpg-post-layout { grid-template-columns: 1fr; }
  .cfpg-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-guides-grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-starter__inner { flex-direction: column; gap: 24px; }
}

/* Header/nav switch to the hamburger drawer below 1226px — wider than
   the general 680px mobile breakpoint below. With "Ask Sunny Sam" as a
   10th nav item, the full desktop nav needs more room than 680px
   gives it. .cfpg-nav is a flex:1 item with no min-width:0, so its
   real content width doesn't shrink to fit -- against real production
   content (not this sandbox's synthetic test data) it measures
   ~826.86px, materially wider than first estimated from a synthetic
   test page. Because .cfpg-header__inner shares .cfpg-wrap's
   max-width:1200px content cap, that container never gets wider than
   1200px at any viewport -- so raising this breakpoint alone cannot
   fix the boundary at 1190-1200px; the header's own side padding
   (below) was also narrowed from 28px to 18px to free up the
   remaining room. Verified empirically against real production
   content across the full 1100-1440px range (not assumed): first
   clean desktop-nav width was 1221px; 1225px keeps a small margin
   above that. If nav content grows again, re-measure both this
   threshold and the header padding together -- they were tuned as a
   pair, not independently. */
@media (max-width: 1225px) {
  .cfpg-nav { display: none; }
  .cfpg-menu-btn { display: flex; }
  .cfpg-search-btn { display: none; }       /* search moves into the drawer on mobile */
  .cfpg-header__inner { justify-content: space-between; }
  .cfpg-logo {                              /* centered logo, mockup-style */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .cfpg-logo__img { max-width: 260px; max-height: 48px; }
}

@media (max-width: 680px) {
  :root { --header-h: 60px; }
  .cfpg-wrap { padding: 0 16px; }
  .cfpg-menu-btn {                          /* meets 44px min tap target on mobile */
    width: 44px;
    height: 44px;
  }
  .cfpg-menu-btn .bar { width: 20px; }
  .cfpg-hero__h1 { font-size: clamp(26px,7vw,36px); }
  .cfpg-cat-row { grid-template-columns: repeat(2, 1fr); }
  .cfpg-cats { padding: 40px 0 36px; }
  .cfpg-mid, .cfpg-popular, .cfpg-diy, .cfpg-tools { padding: 40px 0; }
  .cfpg-topics, .cfpg-proof-section, .cfpg-for-section, .cfpg-starter { padding: 40px 0; }
  .cfpg-diy__cols { grid-template-columns: 1fr; }
  .cfpg-guides-grid { grid-template-columns: 1fr; }
  .cfpg-tools-grid { grid-template-columns: 1fr 1fr; }
  .cfpg-topic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cfpg-proof-grid { grid-template-columns: 1fr; }
  .cfpg-for-cols { grid-template-columns: 1fr; }
  .cfpg-starter__inner { flex-direction: column; text-align: center; }
  .cfpg-footer__grid { grid-template-columns: 1fr 1fr; }
  .cfpg-footer__grid > *:nth-child(1) { grid-column: 1 / -1; }
  .cfpg-footer__grid > *:nth-child(4) { grid-column: 1 / -1; }
  .cfpg-footer__bottom { flex-direction: column; text-align: center; }
  .cfpg-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .cfpg-logo__img { max-width: 215px; max-height: 42px; }
  .cfpg-cat-row { grid-template-columns: repeat(2, 1fr); }
  .cfpg-tools-grid { grid-template-columns: 1fr; }
  .cfpg-hero__ctas { flex-direction: column; }
  .cfpg-topic-grid { grid-template-columns: 1fr; }
  .cfpg-footer__grid { grid-template-columns: 1fr; }
}

/* ── TOPIC CARDS ("Start here") ───────────────────────────── */
.cfpg-topics {
  padding: 52px 0 48px;
  background: #F8FBFF;
  border-bottom: 1px solid var(--line);
}
.cfpg-topics__heading {
  font-family: var(--head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
.cfpg-topic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cfpg-topic-card {
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.cfpg-topic-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--teal);
  color: inherit;
}
.cfpg-topic-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.cfpg-topic-card__title {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  line-height: 1.25;
}
.cfpg-topic-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.cfpg-topic-card__arrow {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── WHY THIS SITE IS DIFFERENT ───────────────────────────── */
.cfpg-proof-section {
  padding: 52px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cfpg-proof-section__heading {
  font-family: var(--head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 36px;
}
.cfpg-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cfpg-proof-card {
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cfpg-proof-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.cfpg-proof-card__title {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.cfpg-proof-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── WHO THIS GUIDE IS FOR ────────────────────────────────── */
.cfpg-for-section {
  padding: 52px 0 48px;
  background: #F8FBFF;
  border-bottom: 1px solid var(--line);
}
.cfpg-for-section__heading {
  font-family: var(--head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}
.cfpg-for-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.cfpg-for-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cfpg-for-cols li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.4;
}
.cfpg-for-cols li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── NEW POOL OWNER STARTER PACK ──────────────────────────── */
.cfpg-starter {
  padding: 52px 0;
  background: linear-gradient(135deg, #0D2348 0%, #0C4280 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cfpg-starter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cfpg-starter__title {
  font-family: var(--head);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.cfpg-starter__text p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.cfpg-btn--white {
  background: #fff;
  color: var(--navy);
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.cfpg-btn--white:hover {
  background: #f0f7ff;
  color: var(--navy);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE POLISH — v4.1
   Hierarchy, spacing & editorial refinements for 375–680px.
   Placed last so these rules win the cascade.
   Desktop (> 680px) is unaffected.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 680px) {

  /* ── HERO ─────────────────────────────────────────────────── */
  .cfpg-hero__left {
    padding: 30px 0 26px;
  }
  .cfpg-hero__kicker {
    font-size: 11.5px;
    margin-bottom: 12px;
  }
  .cfpg-hero__h1 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .cfpg-hero__copy {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .cfpg-hero__ctas {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }
  .cfpg-hero__ctas .cfpg-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    min-height: 50px;
    font-size: 14px;
  }
  .cfpg-hero__ctas .cfpg-btn--navy {
    box-shadow: 0 4px 16px -4px rgba(13,35,72,.35);
  }
  .cfpg-hero__trust {
    font-size: 11px;
    gap: 6px;
    line-height: 1.55;
  }
  .cfpg-hero__right {
    height: 210px;
  }

  /* ── TOPIC CARDS — primary "start here" entry ──────────────── */
  .cfpg-topics {
    padding: 38px 0 32px;
  }
  .cfpg-topics__heading {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  .cfpg-topic-grid {
    gap: 12px;
  }
  .cfpg-topic-card {
    padding: 16px 14px;
  }
  .cfpg-topic-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .cfpg-topic-card__icon svg {
    width: 20px;
    height: 20px;
  }
  .cfpg-topic-card__title {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  .cfpg-topic-card__desc {
    font-size: 11.5px;
    line-height: 1.45;
    margin-bottom: 10px;
  }
  .cfpg-topic-card__arrow {
    font-size: 11px;
  }

  /* ── PROOF — editorial icon-row list (no cards on mobile) ─── */
  .cfpg-proof-section {
    padding: 28px 0 24px;
  }
  .cfpg-proof-section__heading {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .cfpg-proof-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cfpg-proof-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .cfpg-proof-card:last-child {
    border-bottom: none;
  }
  .cfpg-proof-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .cfpg-proof-card__icon svg {
    width: 16px;
    height: 16px;
  }
  .cfpg-proof-card__title {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
    color: var(--navy);
  }
  .cfpg-proof-card__desc {
    display: none;
  }

  /* ── FEATURED GUIDE + SEASON ──────────────────────────────── */
  .cfpg-mid {
    padding: 32px 0;
  }
  .cfpg-feat {
    padding: 22px 20px;
  }
  .cfpg-feat__title {
    font-size: 18px;
    line-height: 1.2;
  }
  .cfpg-feat__body {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .cfpg-feat__visual {
    padding: 16px;
    margin-bottom: 16px;
  }
  .cfpg-feat__price-badge {
    font-size: 17px;
  }
  .cfpg-feat .cfpg-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .cfpg-season__content {
    padding: 20px 18px;
  }
  .cfpg-season__title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .cfpg-season__bullets li {
    font-size: 13.5px;
    padding: 6px 0;
  }
  .cfpg-season__btns .cfpg-btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }
  .cfpg-season__img {
    height: 130px;
  }

  /* ── WHO THIS IS FOR — minimal label style ─────────────────── */
  .cfpg-for-section {
    padding: 24px 0;
  }
  .cfpg-for-section__heading {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .cfpg-for-cols li {
    font-size: 13.5px;
    line-height: 1.45;
    gap: 8px;
  }

  /* ── STARTER CTA ────────────────────────────────────────────── */
  .cfpg-starter {
    padding: 34px 0;
  }
  .cfpg-starter__title {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .cfpg-starter__text p {
    font-size: 13.5px;
    line-height: 1.65;
  }
  .cfpg-starter__inner .cfpg-btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    margin-top: 4px;
  }

  /* ── POPULAR GUIDES ─────────────────────────────────────────── */
  .cfpg-popular {
    padding: 36px 0 32px;
  }
  .cfpg-popular__head {
    margin-bottom: 18px;
  }
  .cfpg-guide-card__img {
    height: 140px;
  }
  .cfpg-guide-card__body {
    padding: 16px 15px;
  }
  .cfpg-guide-card__title {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .cfpg-guide-card__excerpt {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 10px;
  }
  .cfpg-guide-card__read {
    font-size: 11.5px;
  }

  /* ── DIY OR CALL A PRO ──────────────────────────────────────── */
  .cfpg-diy {
    padding: 32px 0;
  }
  .cfpg-diy__left > p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
  }
  .cfpg-diy__cols {
    gap: 12px;
    margin-bottom: 20px;
  }
  .cfpg-diy-col {
    padding: 14px 13px;
  }
  .cfpg-diy-col__head {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .cfpg-diy-col li {
    font-size: 12.5px;
    padding: 5px 0;
    line-height: 1.4;
  }
  .cfpg-diy__left .cfpg-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* ── MONTHLY CHECKLIST ──────────────────────────────────────── */
  .cfpg-diy__illo {
    height: 80px;
    padding: 0;
    align-items: center;
  }
  .cfpg-diy__illo svg {
    width: 50px;
    height: 50px;
  }
  .cfpg-diy__checklist {
    padding: 18px 16px;
  }
  .cfpg-diy__checklist-title {
    font-size: 14.5px;
    margin-bottom: 12px;
  }
  .cfpg-diy__checklist-items {
    margin-bottom: 16px;
  }
  .cfpg-diy__checklist-items li {
    font-size: 13px;
    padding: 6px 0;
    gap: 9px;
    line-height: 1.4;
  }
  .cfpg-diy__checklist .cfpg-btn {
    min-height: 44px;
  }

  /* ── RECOMMENDED TOOLS ──────────────────────────────────────── */
  .cfpg-tools {
    padding: 28px 0;
  }
  .cfpg-tools__disclaimer {
    font-size: 11.5px;
    padding: 10px 13px;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .cfpg-tool-card {
    padding: 18px 15px;
  }
  .cfpg-tool-card__icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .cfpg-tool-card__title {
    font-size: 13.5px;
    margin-bottom: 6px;
  }
  .cfpg-tool-card__desc {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* ── FOOTER — lighter, cleaner ──────────────────────────────── */
  .cfpg-footer {
    padding: 36px 0 0;
  }
  .cfpg-footer__grid {
    gap: 20px;
    margin-bottom: 28px;
  }
  .cfpg-footer__logo-img {
    max-height: 40px;
  }
  .cfpg-footer__desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: rgba(255,255,255,.45);
    max-width: 100%;
  }
  .cfpg-footer__social {
    margin-bottom: 0;
  }
  .cfpg-footer__social-link {
    width: 30px;
    height: 30px;
  }
  .cfpg-footer__col-title {
    font-size: 10px;
    letter-spacing: .14em;
    margin-bottom: 10px;
    color: rgba(255,255,255,.32);
  }
  .cfpg-footer__links li {
    margin-bottom: 4px;
  }
  .cfpg-footer__links a {
    font-size: 12.5px;
    min-height: 32px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.5);
  }
  .cfpg-footer__contact-item {
    font-size: 12px;
    margin-bottom: 6px;
    color: rgba(255,255,255,.42);
  }
  .cfpg-footer__contact-item a {
    color: rgba(255,255,255,.42);
  }
  .cfpg-footer__contact-btn {
    margin-top: 10px;
  }
  .cfpg-footer__contact-btn .cfpg-btn {
    min-height: 42px;
    font-size: 12px;
    padding: 10px 16px;
  }
  .cfpg-footer__bottom {
    padding: 18px 0;
    gap: 12px;
    border-top-color: rgba(255,255,255,.12);
  }
  .cfpg-footer__copy {
    font-size: 11.5px;
    color: rgba(255,255,255,.42);
  }
  .cfpg-footer__legal {
    gap: 8px 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cfpg-footer__legal a {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    min-height: 32px;
    display: flex;
    align-items: center;
  }
}

/* ── Keep topic cards 2-column at ≤420px ────────────────────── */
@media (max-width: 420px) {
  .cfpg-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE REFINEMENT — v4.3
   Horizontal guide cards, proof heading hidden, footer tightened.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 680px) {

  /* ── PROOF SECTION — heading hidden; icon-rows speak for themselves */
  .cfpg-proof-section__heading {
    display: none;
  }
  .cfpg-proof-section {
    padding: 20px 0 16px;
  }

  /* ── POPULAR GUIDES — horizontal card layout breaks the module feel */
  .cfpg-guide-card {
    flex-direction: row;
    align-items: stretch;
  }
  .cfpg-guide-card__img {
    width: 88px;
    height: auto;
    min-height: 88px;
    flex-shrink: 0;
  }
  .cfpg-guide-card__body {
    padding: 13px 14px;
  }
  .cfpg-guide-card__title {
    font-size: 13.5px;
  }

  /* ── FOOTER — reduce dark real estate at page end ─────────────── */
  .cfpg-footer {
    padding-top: 24px;
  }
  .cfpg-footer__grid {
    margin-bottom: 16px;
    gap: 16px;
  }
  .cfpg-footer__desc {
    margin-bottom: 10px;
  }
  .cfpg-footer__social {
    margin-bottom: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE REFINEMENT — v4.2
   Vertical rhythm, CTA reduction, editorial hierarchy.
   Appended after v4.1; same breakpoint wins the cascade.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 680px) {

  /* ── Section breathing — more air between major clusters ─────── */
  .cfpg-mid         { padding: 40px 0 36px; }
  .cfpg-for-section { padding: 32px 0 28px; }
  .cfpg-starter     { padding: 40px 0; }
  .cfpg-popular     { padding: 44px 0 40px; }
  .cfpg-diy         { padding: 40px 0 36px; }
  .cfpg-tools       { padding: 40px 0 36px; }

  /* ── TOPIC CARDS — break the identical-card grid ─────────────── */
  /* First card (Pool Costs) becomes full-width horizontal entry */
  .cfpg-topic-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 16px 14px;
    gap: 14px;
    border-left: 3px solid var(--teal);
  }
  .cfpg-topic-card:first-child .cfpg-topic-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .cfpg-topic-card:first-child .cfpg-topic-card__title {
    font-size: 14px;
    margin-bottom: 0;
  }
  .cfpg-topic-card:first-child .cfpg-topic-card__desc {
    display: none;
  }
  .cfpg-topic-card:first-child .cfpg-topic-card__arrow {
    margin-left: auto;
    flex-shrink: 0;
  }

  /* ── SEASON CARD — one primary CTA only ─────────────────────── */
  .cfpg-season__btns .cfpg-btn--outline-dark {
    display: none;
  }
  .cfpg-season__btns .cfpg-btn {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  /* ── WHO IS THIS FOR — editorial pill tags ───────────────────── */
  .cfpg-for-section__heading {
    margin-bottom: 16px;
  }
  .cfpg-for-cols ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cfpg-for-cols li {
    font-size: 12.5px;
    line-height: 1.3;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    gap: 0;
    color: var(--navy);
  }
  .cfpg-for-cols li::before {
    display: none;
  }

  /* ── POPULAR GUIDES — curated to 2 cards ─────────────────────── */
  .cfpg-guide-card:nth-child(3) {
    display: none;
  }
  .cfpg-guide-card__img {
    height: 110px;
  }
  /* Whole card is already an <a>; the label is redundant */
  .cfpg-guide-card__read {
    display: none;
  }
  .cfpg-guide-card__excerpt {
    margin-bottom: 0;
  }

  /* ── DIY SECTION — drop decorative illustration only ─────────── */
  /* Checklist and both CTAs remain; only the blue banner is removed */
  .cfpg-diy__illo {
    display: none;
  }

  /* ── FOOTER — Explore + Popular Topics stay visible (mockup) ──── */
  .cfpg-footer__grid > *:nth-child(2),
  .cfpg-footer__grid > *:nth-child(3) {
    display: block;
  }
}

/* ══════════════════════════════════════════════════════════════
   NEW SECTIONS — v5.0
   Styles for hero text link, featured section, seasonal section,
   and tools trust line. Desktop-first; mobile overrides below.
   ══════════════════════════════════════════════════════════════ */

/* ── Hero secondary CTA — text link ─────────────────────────── */
.cfpg-hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding: 2px 0;
  transition: color .14s;
}
.cfpg-hero__text-link:hover { color: var(--blue); }

/* ── Featured guide section ──────────────────────────────────── */
.cfpg-featured-section {
  padding: 60px 0;
  background: #F8FBFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cfpg-featured-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 52px;
  align-items: center;
}
.cfpg-featured-section__title {
  font-family: var(--head);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.cfpg-featured-section__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* Editorial text link replacing the feat card button */
.cfpg-feat__read-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color .14s;
}
.cfpg-feat__read-link:hover { color: var(--teal); }

/* ── Seasonal Pool Care section ──────────────────────────────── */
.cfpg-seasonal {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cfpg-seasonal__heading {
  font-family: var(--head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.15;
}
.cfpg-seasonal__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Left: now block */
.cfpg-seasonal__now {
  background: var(--ltblue);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.cfpg-seasonal__now-label {
  font-family: var(--head);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cfpg-seasonal__bullets {
  list-style: none;
  margin-bottom: 20px;
}
.cfpg-seasonal__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px solid rgba(59,148,214,.12);
}
.cfpg-seasonal__bullets li:last-child { border-bottom: none; }
.cfpg-seasonal__bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cfpg-seasonal__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color .14s;
}
.cfpg-seasonal__cta-link:hover { color: var(--teal); }

/* Right: path links */
.cfpg-seasonal__paths-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.cfpg-seasonal__path-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cfpg-seasonal__path-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.cfpg-seasonal__path-link:hover {
  border-color: var(--aqua);
  box-shadow: var(--sh);
  color: var(--navy);
}
.cfpg-seasonal__path-link svg { flex-shrink: 0; color: var(--teal); margin-left: auto; }
.cfpg-seasonal__path-icon { font-size: 18px; flex-shrink: 0; line-height: 1; }
.cfpg-seasonal__path-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cfpg-seasonal__path-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.cfpg-seasonal__path-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Tools trust line ────────────────────────────────────────── */
.cfpg-tools__trust {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
  font-style: italic;
}

/* ── Responsive: 900px — collapse 2-col layouts ─────────────── */
@media (max-width: 900px) {
  .cfpg-featured-section__inner { grid-template-columns: 1fr; gap: 24px; }
  .cfpg-seasonal__grid { grid-template-columns: 1fr; }
}

/* ── Responsive: 680px mobile ───────────────────────────────── */
@media (max-width: 680px) {
  /* Hero text link */
  .cfpg-hero__text-link { font-size: 14px; }

  /* Featured section */
  .cfpg-featured-section { padding: 36px 0; }
  .cfpg-featured-section__sub { font-size: 14px; }
  .cfpg-feat__read-link { font-size: 14px; }

  /* Seasonal section */
  .cfpg-seasonal { padding: 36px 0; }
  .cfpg-seasonal__heading { font-size: 20px; margin-bottom: 20px; }
  .cfpg-seasonal__now { padding: 18px 16px; margin-bottom: 16px; }
  .cfpg-seasonal__now-label { font-size: 16px; margin-bottom: 12px; }
  .cfpg-seasonal__bullets li { font-size: 13px; padding: 6px 0; }
  .cfpg-seasonal__path-link { padding: 12px 14px; }
  .cfpg-seasonal__path-text strong { font-size: 13px; }
  .cfpg-seasonal__path-text span { font-size: 11.5px; }

  /* Tools */
  .cfpg-tools__trust { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════
   MONEY-PAGE STRUCTURED EXTRAS
   Rich visual sections wrapped around an article's real content
   (quick answer, stats, tables, checklists, FAQ). Loaded on any
   single post with a cfpg_money_page_data() entry.
═════════════════════════════════════════════════════════════ */
.cfpg-mp { margin: 0 0 2em; }
.cfpg-mp-h2 {
  font-family: var(--head);
  font-size: clamp(19px, 3vw, 23px);
  font-weight: 700;
  color: var(--navy);
  margin: 1.6em 0 .7em;
}

/* Quick answer */
.cfpg-mp-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #EAF7F0;
  border: 1px solid #CBEBD9;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 22px;
}
.cfpg-mp-answer__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.cfpg-mp-answer__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.cfpg-mp-answer__text { font-size: 15px; color: var(--navy); line-height: 1.6; margin: 0; font-weight: 500; }

/* Stat snapshot */
.cfpg-mp-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.cfpg-mp-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 18px 16px;
  text-align: center;
}
.cfpg-mp-stat__icon { font-size: 22px; display: block; margin-bottom: 6px; }
.cfpg-mp-stat__value { font-family: var(--head); font-size: 21px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.cfpg-mp-stat__label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.cfpg-mp-stat__sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Cost / material table */
.cfpg-mp-table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 8px; }
.cfpg-mp-table__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.cfpg-mp-table__row:last-child { border-bottom: 0; }
.cfpg-mp-table__row:nth-child(even) { background: #F8FBFF; }
.cfpg-mp-table__icon { font-size: 19px; flex-shrink: 0; width: 26px; text-align: center; }
.cfpg-mp-table__text { flex: 1; min-width: 0; }
.cfpg-mp-table__label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.cfpg-mp-table__sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; line-height: 1.4; }
.cfpg-mp-table__value { font-size: 13.5px; font-weight: 800; color: var(--teal); white-space: nowrap; text-align: right; }

/* Numbered steps */
.cfpg-mp-steps { margin-bottom: 8px; }
.cfpg-mp-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cfpg-mp-step:last-child { border-bottom: 0; }
.cfpg-mp-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.cfpg-mp-step__title { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cfpg-mp-step__desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* Factor / before-you-build icon grid */
.cfpg-mp-factors,
.cfpg-mp-before {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.cfpg-mp-factor,
.cfpg-mp-before__item {
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 14px;
}
.cfpg-mp-factor__icon,
.cfpg-mp-before__icon { font-size: 20px; display: block; margin-bottom: 6px; }
.cfpg-mp-factor__title,
.cfpg-mp-before__title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cfpg-mp-factor__desc,
.cfpg-mp-before__desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Checklist */
.cfpg-mp-checklist { margin-bottom: 8px; }
.cfpg-mp-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--body);
  border-bottom: 1px solid var(--line);
}
.cfpg-mp-checklist__item:last-child { border-bottom: 0; }
.cfpg-mp-checklist__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfpg-mp-checklist__check svg { width: 11px; height: 11px; }

/* Mistakes callout */
.cfpg-mp-mistakes {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 1.6em 0;
}
.cfpg-mp-mistakes__icon { font-size: 20px; flex-shrink: 0; }
.cfpg-mp-mistakes__title { font-size: 14.5px; font-weight: 700; color: #9A3412; margin-bottom: 8px; }
.cfpg-mp-mistakes__list { margin: 0; padding-left: 1.1em; }
.cfpg-mp-mistakes__list li { font-size: 13px; color: #7C2D12; line-height: 1.6; margin-bottom: 4px; }

/* FAQ accordion (native <details>, no JS needed) */
.cfpg-mp-faq { border-top: 1px solid var(--line); margin-bottom: 8px; }
.cfpg-mp-faq__item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.cfpg-mp-faq__item summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cfpg-mp-faq__item summary::-webkit-details-marker { display: none; }
.cfpg-mp-faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 18px;
  color: var(--teal);
  font-weight: 400;
  transition: transform .15s;
}
.cfpg-mp-faq__item[open] summary::after { transform: rotate(45deg); }
.cfpg-mp-faq__item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }

/* Homeowner intro line — sits above the Quick Answer box */
.cfpg-mp-intro { font-size: 15px; color: var(--body); line-height: 1.65; margin: 0 0 20px; }

/* Reviewed date — real post_modified, sits above the intro/Quick Answer box */
.cfpg-mp-reviewed { font-size: 12px; color: var(--muted); margin: 0 0 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

/* Covers / does-not-cover two-column scope box */
.cfpg-mp-covers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.cfpg-mp-covers__col {
  border-radius: var(--r-lg);
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.cfpg-mp-covers__col--yes { background: #F7FBF8; }
.cfpg-mp-covers__col--no  { background: #FAFAFA; }
.cfpg-mp-covers__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.cfpg-mp-covers__col ul { margin: 0; padding-left: 1.15em; }
.cfpg-mp-covers__col li { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 5px; }

/* Questions-to-ask list */
.cfpg-mp-questions {
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 8px;
}
.cfpg-mp-questions ul { margin: 0; padding-left: 1.15em; }
.cfpg-mp-questions li { font-size: 13.5px; color: var(--body); line-height: 1.65; margin-bottom: 8px; }
.cfpg-mp-questions li:last-child { margin-bottom: 0; }

/* When-to-call-a-pro callout */
.cfpg-mp-pro-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 1.2em 0;
}
.cfpg-mp-pro-callout__icon { font-size: 19px; flex-shrink: 0; }
.cfpg-mp-pro-callout p { font-size: 13.5px; color: #1E3A5F; line-height: 1.65; margin: 0; }

@media (min-width: 640px) {
  .cfpg-mp-stats { grid-template-columns: repeat(3, 1fr); }
  .cfpg-mp-factors,
  .cfpg-mp-before { grid-template-columns: repeat(4, 1fr); }
  .cfpg-mp-covers { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════
   AUTHORITY BLOCK — reusable trust/verification footer for
   high-stakes pages (permits, legal/safety, insurance, HOA).
   Rendered via cfpg_render_authority_block() in single.php.
═════════════════════════════════════════════════════════════ */
.cfpg-authority {
  margin: 2em 0 1em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.cfpg-authority__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--teal);
  background: #EAF7F0;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.cfpg-authority__box {
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.cfpg-authority__box-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.cfpg-authority__sources { margin: 0 0 10px; padding-left: 1.15em; }
.cfpg-authority__sources li { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 5px; }
.cfpg-authority__sources a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cfpg-authority__sources a:hover { color: var(--teal); }
.cfpg-authority__reminder { font-size: 12.5px; color: var(--navy); line-height: 1.6; margin: 0; font-weight: 500; }
.cfpg-authority__note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.cfpg-authority__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: #7C2D12;
  line-height: 1.6;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--r);
  padding: 12px 14px;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════
   SOFT CTA — calm, non-salesy invite at the bottom of an article
═════════════════════════════════════════════════════════════ */
.cfpg-soft-cta-wrap { padding: 8px 0 44px; }
.cfpg-soft-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  background: #F8FBFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.cfpg-soft-cta__text { display: flex; flex-direction: column; gap: 4px; }
.cfpg-soft-cta__text strong { font-family: var(--head); font-size: 16.5px; font-weight: 700; color: var(--navy); }
.cfpg-soft-cta__text span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cfpg-soft-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.cfpg-soft-cta__btn:hover { background: #06172f; color: #fff; transform: translateY(-1px); }

@media (min-width: 640px) {
  .cfpg-soft-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Two-column comparison card ("blocks well" vs. "still gets in") --
   used in-article to summarize a block/still-happens contrast. */
.cfpg-compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.4em; box-shadow: var(--sh); }
.cfpg-compare__head { display: grid; grid-template-columns: 1fr 1fr; }
.cfpg-compare__head-col {
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cfpg-compare__head-col--good { background: var(--teal); }
.cfpg-compare__head-col--gets-in { background: var(--navy); }
.cfpg-compare__head-col svg { flex-shrink: 0; }
.cfpg-compare__body { display: grid; grid-template-columns: 1fr 1fr; }
.cfpg-compare__col + .cfpg-compare__col { border-left: 1px solid var(--line); }
.cfpg-compare__row { display: flex; align-items: flex-start; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.cfpg-compare__col:nth-child(1) .cfpg-compare__row:nth-child(even) { background: #F3FBFA; }
.cfpg-compare__col:nth-child(2) .cfpg-compare__row:nth-child(even) { background: #F8FBFF; }
.cfpg-compare__row:last-child { border-bottom: 0; }
.cfpg-compare__icon { flex-shrink: 0; margin-top: 2px; width: 16px; text-align: center; }
.cfpg-compare__icon--good { color: var(--teal); }
.cfpg-compare__icon--gets-in { color: var(--blue); }
.cfpg-compare__label { font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: var(--navy); font-weight: 600; }
.cfpg-compare__foot { padding: 10px 16px; font-family: var(--sans); font-size: 11.5px; color: var(--muted); background: #F8FBFF; border-top: 1px solid var(--line); }

/* Affiliate product cards -- used on money-page articles for recommended gear. */
.cfpg-product-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 1.2em 0; }
.cfpg-product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  background: #fff;
  box-shadow: var(--sh);
}
.cfpg-product-card__img { flex-shrink: 0; width: 92px; height: 92px; object-fit: contain; border-radius: 8px; background: #F8FBFF; padding: 6px; }
.cfpg-product-card__body { flex: 1; min-width: 0; }
.cfpg-product-card__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
  background: #E6F7F4;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 6px;
}
.cfpg-product-card__title { font-family: var(--sans); font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.cfpg-product-card__desc { font-family: var(--sans); font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.cfpg-product-card__row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cfpg-product-card__price {
  /* Removed per feedback: the "$$$" price-tier text looked bad/unclear
     next to the Amazon button. Hidden rather than deleted from the
     markup, since it's baked into post content across multiple articles. */
  display: none;
}
.cfpg-post-content .cfpg-product-card .cfpg-btn { text-decoration: none; }
.cfpg-post-content .cfpg-product-card .cfpg-btn--primary { color: #fff; }
@media (min-width: 640px) {
  .cfpg-product-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cfpg-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   VISUAL TOOL PAGES — timeline, calendar, calculator
   Shared "cfpg-vt" prefix. Built for the Storm Prep Timeline,
   Monthly Maintenance Calendar, and Water Testing Ranges pages.
═════════════════════════════════════════════════════════════ */
.cfpg-vt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 26px 20px;
  margin: -30px 0 28px;
  position: relative;
  z-index: 3;
}
@media (min-width: 640px) { .cfpg-vt-card { padding: 34px 34px; } }

/* Timeline (Storm Prep) */
.cfpg-vt-timeline__row { display: flex; gap: 18px; position: relative; }
.cfpg-vt-timeline__rail {
  flex-shrink: 0;
  width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cfpg-vt-timeline__dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cfpg-vt-timeline__line { width: 2px; flex: 1; min-height: 24px; margin: 4px 0; }
.cfpg-vt-timeline__row:last-child .cfpg-vt-timeline__line { display: none; }
.cfpg-vt-timeline__body { flex: 1; min-width: 0; padding-bottom: 26px; }
.cfpg-vt-timeline__time { font-family: var(--head); font-size: 18px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.cfpg-vt-timeline__phase { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cfpg-vt-timeline__list { margin: 0; padding-left: 1.15em; }
.cfpg-vt-timeline__list li { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 3px; }

.cfpg-vt-timeline--teal .cfpg-vt-timeline__dot { background: #DCFCE7; color: #15877A; }
.cfpg-vt-timeline--teal .cfpg-vt-timeline__time { color: #15877A; }
.cfpg-vt-timeline--teal .cfpg-vt-timeline__line { background: #15877A; }
.cfpg-vt-timeline--blue .cfpg-vt-timeline__dot { background: #DBEAFE; color: #1D4ED8; }
.cfpg-vt-timeline--blue .cfpg-vt-timeline__time { color: #1D4ED8; }
.cfpg-vt-timeline--blue .cfpg-vt-timeline__line { background: #1D4ED8; }
.cfpg-vt-timeline--gold .cfpg-vt-timeline__dot { background: #FEF3C7; color: #B45309; }
.cfpg-vt-timeline--gold .cfpg-vt-timeline__time { color: #B45309; }
.cfpg-vt-timeline--gold .cfpg-vt-timeline__line { background: #B45309; }
.cfpg-vt-timeline--purple .cfpg-vt-timeline__dot { background: #EDE9FE; color: #6D28D9; }
.cfpg-vt-timeline--purple .cfpg-vt-timeline__time { color: #6D28D9; }

.cfpg-vt-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #EAF4FF;
  border-radius: var(--r);
  padding: 16px 18px;
  margin-top: 6px;
}
.cfpg-vt-callout__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfpg-vt-callout__icon svg { width: 15px; height: 15px; }
.cfpg-vt-callout__title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cfpg-vt-callout__text { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* 3-up quick cards under the visual */
.cfpg-vt-quickgrid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px; }
.cfpg-vt-quickcard {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--r);
  padding: 16px 16px;
  text-decoration: none;
}
.cfpg-vt-quickcard__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.cfpg-vt-quickcard__title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cfpg-vt-quickcard__desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }

.cfpg-vt-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.cfpg-vt-badge--live     { background: #DCF5E3; color: #1B7A3D; }
.cfpg-vt-badge--calc     { background: #FDE8D2; color: #B35A00; }
.cfpg-vt-badge--ref      { background: #E4E9F2; color: #33415C; }
.cfpg-vt-badge--decision { background: #EBE2FA; color: #5B3A9E; }

@media (min-width: 640px) {
  .cfpg-vt-quickgrid { grid-template-columns: repeat(3, 1fr); }
}

/* Monthly calendar strip */
.cfpg-cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cfpg-cal-month {
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
}
.cfpg-cal-month__label { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--navy); margin-bottom: 6px; }
.cfpg-cal-month__icon { font-size: 20px; margin-bottom: 6px; }
.cfpg-cal-month__desc { font-size: 11px; color: var(--muted); line-height: 1.35; min-height: 2.6em; }

@media (min-width: 640px) {
  .cfpg-cal-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 900px) {
  .cfpg-cal-grid { grid-template-columns: repeat(12, 1fr); }
}

/* Water testing calculator rows */
.cfpg-wt-row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.cfpg-wt-row:last-child { border-bottom: 0; }
.cfpg-wt-row__head { display: flex; align-items: center; gap: 10px; }
.cfpg-wt-row__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.cfpg-wt-row__label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.cfpg-wt-row__sub { font-size: 11.5px; color: var(--muted); }
.cfpg-wt-row__range-text { font-size: 12px; font-weight: 700; color: var(--teal); display: block; margin-bottom: 4px; }
.cfpg-wt-row__input { display: flex; align-items: center; gap: 10px; }
.cfpg-wt-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  font-family: var(--sans);
  color: var(--navy);
}
.cfpg-wt-input:focus { outline: none; border-color: var(--teal); }
.cfpg-wt-result {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  min-width: 40px;
}
.cfpg-wt-row--good .cfpg-wt-result { color: #15877A; }
.cfpg-wt-row--off .cfpg-wt-result { color: #C0392B; }

#cfpg-wt-summary {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
  background: #EAF4FF;
  border-radius: var(--r);
  padding: 14px 16px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .cfpg-wt-row { grid-template-columns: 1.3fr 1fr; align-items: center; }
}

/* DIY vs Service comparison columns */
.cfpg-diyc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cfpg-diyc-col { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.cfpg-diyc-col__head { padding: 16px 18px; color: #fff; }
.cfpg-diyc-col__title { font-family: var(--head); font-size: 17px; font-weight: 800; }
.cfpg-diyc-col__sub { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.cfpg-diyc-col--diy .cfpg-diyc-col__head { background: linear-gradient(135deg,#065F46,#15877A); }
.cfpg-diyc-col--hybrid .cfpg-diyc-col__head { background: linear-gradient(135deg,#1E3A8A,#3B94D6); }
.cfpg-diyc-col--full .cfpg-diyc-col__head { background: linear-gradient(135deg,#4C1D95,#7C3AED); }
.cfpg-diyc-col__body { padding: 18px; background: #fff; }
.cfpg-diyc-label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cfpg-diyc-value { font-family: var(--head); font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.cfpg-diyc-value--sm { font-size: 15px; }
.cfpg-diyc-note { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cfpg-diyc-desc { font-size: 12.5px; color: var(--body); line-height: 1.5; margin: 4px 0 0; }

@media (min-width: 780px) {
  .cfpg-diyc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 7-Day forecast grid */
.cfpg-wf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cfpg-wf-day { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px; text-align: center; }
.cfpg-wf-day__name { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.cfpg-wf-day__icon { font-size: 24px; margin: 8px 0 4px; }
.cfpg-wf-day__status { font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.cfpg-wf-day__score { font-family: var(--head); font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.cfpg-wf-day__bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cfpg-wf-day__bar span { display: block; height: 100%; border-radius: 999px; }

.cfpg-wf-day--good .cfpg-wf-day__status { color: #15877A; }
.cfpg-wf-day--good .cfpg-wf-day__bar span { background: #15877A; }
.cfpg-wf-day--caution .cfpg-wf-day__status { color: #B45309; }
.cfpg-wf-day--caution .cfpg-wf-day__bar span { background: #F7B23A; }
.cfpg-wf-day--high .cfpg-wf-day__status { color: #C0392B; }
.cfpg-wf-day--high .cfpg-wf-day__bar span { background: #C0392B; }

@media (min-width: 640px) {
  .cfpg-wf-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   POOL PUMP FLOW ANIMATION -- reusable SVG+CSS equipment diagram.
   [cfpg_pump_flow] shortcode. All motion is CSS-driven so it can
   be fully disabled under prefers-reduced-motion without losing
   the diagram itself. */
.cfpg-pump-flow {
  margin: 1.6em 0;
  padding: 20px 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}
.cfpg-pump-flow__svg { display: block; width: 100%; height: auto; }
.cfpg-pump-flow__label { font-family: var(--sans); font-size: 12px; font-weight: 700; fill: var(--muted); }
.cfpg-pump-flow__note { font-family: var(--sans); font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; font-style: italic; }

.cfpg-pump-flow__impeller { transform-origin: 380px 140px; animation: cfpg-pump-flow-spin 2.6s linear infinite; }

.cfpg-pump-flow__dot { animation: cfpg-pump-flow-dot 7s linear infinite; }
.cfpg-pump-flow__dot--2 { animation-delay: -2.33s; }
.cfpg-pump-flow__dot--3 { animation-delay: -4.66s; }

.cfpg-pump-flow__debris { animation: cfpg-pump-flow-debris 7s linear infinite; }
.cfpg-pump-flow__debris--2 { animation-delay: -3.5s; }

@keyframes cfpg-pump-flow-spin {
  to { transform: rotate(360deg); }
}
@keyframes cfpg-pump-flow-dot {
  0%   { cx: 70;  opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { cx: 690; opacity: 0; }
}
@keyframes cfpg-pump-flow-debris {
  0%   { cx: 130; cy: 95;  opacity: 0; }
  6%   { opacity: 1; }
  26%  { cx: 213; cy: 150; opacity: 1; }
  34%  { opacity: 0; cx: 213; cy: 150; }
  100% { opacity: 0; cx: 213; cy: 150; }
}

@media (prefers-reduced-motion: reduce) {
  .cfpg-pump-flow__impeller,
  .cfpg-pump-flow__dot,
  .cfpg-pump-flow__debris {
    animation: none !important;
  }
  .cfpg-pump-flow__dot { opacity: 0; }
  .cfpg-pump-flow__debris { opacity: 1; cy: 150; }
  .cfpg-pump-flow__debris--1 { cx: 210; }
  .cfpg-pump-flow__debris--2 { cx: 221; }
}


/* ════════════════════════════════════════════════════════════
   DAILY CONDITIONS -- "FROM THE LANAI" (/daily-conditions/)
   Adaptive photo hero (one backyard, four real weather states)
   with a paper verdict card, trust line, action checklist,
   instruments row, the score ledger, and the week-ahead curve.
   Data: cfpg_get_daily_conditions() / cfpg_get_weekly_forecast().
═════════════════════════════════════════════════════════════ */
.cfpg-dc-wrap { padding: 56px 24px 64px; background: #FAF7F1; max-width: 1200px; margin: 0 auto; }

/* ── Adaptive hero ─────────────────────── */
.cfpg-dc-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cfpg-dc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,20,40,.55) 0%, rgba(9,20,40,.05) 26%, rgba(9,20,40,0) 45%, rgba(9,20,40,.42) 100%),
    linear-gradient(100deg, rgba(9,20,40,.5) 0%, rgba(9,20,40,.18) 42%, rgba(9,20,40,0) 68%);
}
.cfpg-dc-hero > * { position: relative; z-index: 1; }

.cfpg-dc-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.cfpg-dc-hero__title {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
  margin: 0;
}
.cfpg-dc-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.cfpg-dc-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cfpg-dc-hero-meta .cfpgm-daily__refresh { color: rgba(255,255,255,.9); }

/* ── Verdict card ──────────────────────── */
.cfpg-dc-vcard {
  width: 460px;
  max-width: 100%;
  background: #FAF7F1;
  border-radius: 18px;
  box-shadow: 0 28px 64px -24px rgba(4,10,24,.6);
  padding: 26px 30px 24px;
  margin: 26px 0 34px;
}
.cfpg-dc-vcard__eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.cfpg-dc-vcard__verdict {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.05;
  margin: 0 0 10px;
}
.cfpg-dc-vcard__verdict--good { color: var(--teal); }
.cfpg-dc-vcard__verdict--caution { color: #D99A26; }
.cfpg-dc-vcard__verdict--high { color: #C0392B; }
.cfpg-dc-vcard__take { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }

.cfpg-dc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.cfpg-dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  color: #9A5B12;
  background: #FCF0DD;
  border: 1px solid #F5DFB8;
  border-radius: 999px;
  padding: 5px 12px;
}
.cfpg-dc-chip svg { flex-shrink: 0; }

.cfpg-dc-vmeter-wrap { position: relative; padding-top: 4px; }
.cfpg-dc-vscore {
  position: absolute;
  right: 0;
  top: -56px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
}
.cfpg-dc-vscore small { font-size: 15px; font-weight: 600; color: var(--muted); }
.cfpg-dc-vscore-label {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.cfpg-dc-vmeter {
  position: relative;
  height: 12px;
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(13,35,72,.14);
}
.cfpg-dc-vzones { position: absolute; inset: 0; display: flex; border-radius: 999px; overflow: hidden; }
.cfpg-dc-vzones i { height: 100%; }
.cfpg-dc-vzones i:nth-child(1) { width: 50%; background: rgba(192,57,43,.10); }
.cfpg-dc-vzones i:nth-child(2) { width: 30%; background: rgba(217,154,38,.14); }
.cfpg-dc-vzones i:nth-child(3) { width: 20%; background: rgba(21,135,122,.13); }
.cfpg-dc-vfill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; }
.cfpg-dc-vfill--good { background: linear-gradient(90deg, #1DA08F, #15877A); }
.cfpg-dc-vfill--caution { background: linear-gradient(90deg, #E8B54B, #D99A26); }
.cfpg-dc-vfill--high { background: linear-gradient(90deg, #D65A4A, #C0392B); }
.cfpg-dc-vcap { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--navy); transform: translateX(-1px); }
.cfpg-dc-vzlabels {
  display: flex;
  margin-top: 8px;
  font-size: 8.5px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.cfpg-dc-vzlabels span:nth-child(1) { width: 50%; text-align: center; }
.cfpg-dc-vzlabels span:nth-child(2) { width: 30%; text-align: center; }
.cfpg-dc-vzlabels span:nth-child(3) { width: 20%; text-align: center; color: var(--teal); }

.cfpg-dc-refresh-msg { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); padding-bottom: 14px; }

/* ── Trust line ────────────────────────── */
.cfpg-dc-trust {
  background: var(--navy);
  padding: 11px 0;
  font-size: 9.5px;
  letter-spacing: .24em;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  text-align: center;
}
.cfpg-dc-trust b { color: #FFD68A; font-weight: 800; }

/* ── Section rules & shared bits ───────── */
.cfpg-dc-rule { display: flex; align-items: center; gap: 20px; margin: 0 0 26px; }
.cfpg-dc-rule .l { flex: 1; height: 1px; background: var(--line); }
.cfpg-dc-rule .t {
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  white-space: nowrap;
}
.cfpg-dc-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cfpg-dc-link { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.cfpg-dc-link:hover { text-decoration: underline; }

/* ── Checklist ─────────────────────────── */
.cfpg-dc-checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px -26px rgba(13,35,72,.3);
  padding: 6px 28px;
  max-width: 780px;
  margin: 0 auto;
}
.cfpg-dc-crow {
  display: flex;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(13,35,72,.07);
  align-items: flex-start;
}
.cfpg-dc-crow:last-child { border-bottom: none; }
.cfpg-dc-check {
  width: 24px;
  height: 24px;
  border: 1.7px solid var(--navy);
  border-radius: 7px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  background: none;
  cursor: pointer;
}
.cfpg-dc-crow.is-done .cfpg-dc-check { background: var(--gold); border-color: var(--gold); }
.cfpg-dc-crow.is-done .cfpg-dc-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 13px;
  border: solid var(--navy);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}
.cfpg-dc-crow strong { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 3px; }
.cfpg-dc-crow.is-done strong { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }
.cfpg-dc-crow p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cfpg-dc-check-hint {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  margin: 12px 0 56px;
}

/* ── Instruments console ───────────────── */
.cfpg-dc-console {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.cfpg-dc-inst { flex: 1; padding: 24px 18px 22px; border-left: 1px solid rgba(13,35,72,.08); }
.cfpg-dc-inst:first-child { border-left: none; }
.cfpg-dc-inst__icon { display: inline-flex; color: var(--muted); margin-bottom: 10px; }
.cfpg-dc-inst__label {
  display: block;
  font-size: 9.5px;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.cfpg-dc-inst__value {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.cfpg-dc-inst__level { display: block; font-size: 11.5px; font-weight: 700; margin-top: 6px; }
.cfpg-dc-inst__level--ok { color: var(--teal); }
.cfpg-dc-inst__level--warn { color: #B45309; }
.cfpg-dc-inst__level--hot { color: #C0392B; }

/* ── Score ledger ──────────────────────── */
.cfpg-dc-ledger {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.6);
  padding: 30px 36px;
  max-width: 600px;
  margin: 0 auto 56px;
}
.cfpg-dc-ledger__head {
  font-size: 10px;
  letter-spacing: .24em;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
}
.cfpg-dc-lrow { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.cfpg-dc-lrow .n { font-weight: 600; color: var(--navy); opacity: .85; }
.cfpg-dc-lrow .dt { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.cfpg-dc-lrow .v { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
.cfpg-dc-lrow .v.neg { color: #C0392B; }
.cfpg-dc-ltotal { display: flex; align-items: baseline; gap: 12px; border-top: 1.5px solid var(--navy); margin-top: 12px; padding-top: 14px; }
.cfpg-dc-ltotal .n { font-weight: 800; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.cfpg-dc-ltotal .dt { flex: 1; }
.cfpg-dc-ltotal .v { font-family: var(--head); font-weight: 800; font-size: 32px; }
.cfpg-dc-ltotal--good { color: var(--teal); }
.cfpg-dc-ltotal--caution { color: #D99A26; }
.cfpg-dc-ltotal--high { color: #C0392B; }
.cfpg-dc-ledger__note { text-align: center; font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 16px; }

/* ── Week ahead curve ──────────────────── */
.cfpg-dc-week-insight {
  text-align: center;
  font-family: var(--head);
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 26px;
}
.cfpg-dc-week-insight b { color: var(--teal); font-style: normal; }
.cfpg-dc-week-insight .hm { color: #B45309; font-style: normal; font-weight: 700; }
.cfpg-dc-week { margin-bottom: 56px; }
.cfpg-dc-chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cfpg-dc-chart { min-width: 620px; }
.cfpg-dc-chart > svg { display: block; width: 100%; height: auto; }
.cfpg-dc-days { display: flex; border-top: 1px solid var(--line); }
.cfpg-dc-day { flex: 1; text-align: center; padding: 14px 4px 0; }
.cfpg-dc-day .dn { display: block; font-size: 10.5px; letter-spacing: .12em; font-weight: 800; color: var(--navy); }
.cfpg-dc-day .dd { display: block; font-size: 9.5px; color: var(--muted); margin: 1px 0 6px; }
.cfpg-dc-day .di { display: block; font-size: 17px; margin-bottom: 4px; }
.cfpg-dc-day .ds { display: block; font-family: var(--head); font-weight: 800; font-size: 21px; }
.cfpg-dc-day .ds--good { color: var(--teal); }
.cfpg-dc-day .ds--caution { color: #B45309; }
.cfpg-dc-day .ds--high { color: #C0392B; }
.cfpg-dc-day .dl { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.cfpg-dc-week-src { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 20px; }
.cfpg-dc-week-src a { font-weight: 700; color: var(--blue); text-decoration: none; }
.cfpg-dc-week-src a:hover { text-decoration: underline; }

/* ── Bottom cards ──────────────────────── */
.cfpg-dc-bottom { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.cfpg-dc-bottom__col {
  background: #F3F7F5;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
}
.cfpg-dc-bottom__col--alt { background: #F5F4EF; }
.cfpg-dc-bottom__text { font-size: 13.5px; color: var(--body); line-height: 1.6; margin-bottom: 10px; }
.cfpg-dc-bottom__caveat { font-size: 12px; color: var(--muted); font-style: italic; margin-bottom: 12px; }
.cfpg-dc-bottom__list { list-style: none; margin-bottom: 14px; flex: 1; }
.cfpg-dc-bottom__list li { border-bottom: 1px solid rgba(13,35,72,.08); }
.cfpg-dc-bottom__list li:last-child { border-bottom: none; }
.cfpg-dc-bottom__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.5;
  padding: 11px 0;
}
.cfpg-dc-bottom__list a svg { flex-shrink: 0; color: var(--teal); opacity: .7; }
.cfpg-dc-bottom__list a:hover { color: var(--teal); }

/* ── Sticky mini summary bar ───────────── */
.cfpg-dc-minibar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px -10px rgba(13,35,72,.18);
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}
.cfpg-dc-minibar--show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cfpg-dc-minibar__inner { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; min-width: 0; }
.cfpg-dc-minibar__status { font-family: var(--sans); font-size: 13px; font-weight: 800; white-space: nowrap; }
.cfpg-dc-minibar__status--good { color: var(--teal); }
.cfpg-dc-minibar__status--caution { color: #B45309; }
.cfpg-dc-minibar__status--high { color: #C0392B; }
.cfpg-dc-minibar__score { font-family: var(--head); font-size: 17px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.cfpg-dc-minibar__score small { font-size: 11px; font-weight: 600; color: var(--muted); }
.cfpg-dc-minibar__action { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Email signup CTA ──────────────────── */
.cfpg-dc-signup { background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 130%); padding: 26px 0; text-align: center; }
.cfpg-dc-signup__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cfpg-dc-signup__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.cfpg-dc-signup__title { font-family: var(--head); font-size: 20px; font-weight: 800; color: #fff; margin: 0; }
.cfpg-dc-signup__sub { font-size: 13.5px; color: rgba(255,255,255,.8); margin: 4px 0 0; }
.cfpg-dc-signup__form { display: flex; gap: 10px; width: 100%; max-width: 440px; }
.cfpg-dc-signup__form input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.cfpg-dc-signup__form input::placeholder { color: rgba(255,255,255,.65); }
.cfpg-dc-signup__form .cfpg-btn { flex-shrink: 0; text-transform: none; }
.cfpg-dc-signup__msg { font-size: 13px; color: #fff; font-weight: 700; margin-top: 12px; text-align: center; }
.cfpg-dc-signup__fine { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 10px; text-align: center; }

/* ── Motion & interaction (reduced-motion safe) ── */
@media (prefers-reduced-motion: no-preference) {
  .cfpg-dc-vfill { transition: width 1.2s cubic-bezier(.25,.6,.25,1); }
  .cfpg-dc-vcap { transition: left 1.2s cubic-bezier(.25,.6,.25,1); }
  .cfpg-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s cubic-bezier(.25,.6,.25,1), transform .55s cubic-bezier(.25,.6,.25,1);
  }
  .cfpg-reveal--in { opacity: 1; transform: none; }
  .cfpg-dc-minibar { transition: transform .32s cubic-bezier(.25,.6,.25,1), opacity .32s ease; }
  .cfpg-dc-check { transition: background .15s ease, border-color .15s ease; }
  .cfpg-dc-bottom__list a svg { transition: transform .18s ease; }
  .cfpg-dc-bottom__list a:hover svg { transform: translateX(3px); }
}
.cfpg-btn--blue:focus-visible,
.cfpg-btn--gold:focus-visible,
.cfpgm-daily__refresh:focus-visible,
.cfpg-dc-check:focus-visible,
.cfpg-dc-signup__form input:focus-visible {
  outline: 3px solid rgba(59,148,214,.6);
  outline-offset: 2px;
}

/* ── Breakpoints ───────────────────────── */
@media (min-width: 780px) {
  .cfpg-dc-bottom { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .cfpg-dc-signup { padding: 44px 0; }
  .cfpg-dc-signup__inner { flex-direction: row; text-align: left; justify-content: space-between; max-width: 900px; margin: 0 auto; }
  .cfpg-dc-signup__text { flex: 1; text-align: left; }
}
@media (max-width: 899px) {
  .cfpg-dc-console { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cfpg-dc-inst { min-width: 128px; }
}
@media (max-width: 640px) {
  .cfpg-dc-hero { min-height: 480px; }
  .cfpg-dc-hero__top { padding-top: 16px; }
  .cfpg-dc-hero__title { font-size: 9.5px; letter-spacing: .2em; }
  .cfpg-dc-vcard { width: auto; margin: 20px 0 26px; padding: 20px 20px 18px; }
  .cfpg-dc-vcard__verdict { font-size: 28px; padding-right: 0; }
  .cfpg-dc-chips { margin-bottom: 10px; }
  .cfpg-dc-vscore { position: static; display: block; text-align: right; font-size: 32px; margin: 0 0 2px; }
  .cfpg-dc-trust { font-size: 8px; letter-spacing: .16em; line-height: 1.9; padding: 9px 14px; }
  .cfpg-wrap.cfpg-dc-wrap { padding: 40px 20px 52px; }
  .cfpg-dc-checklist { padding: 2px 18px; }
  .cfpg-dc-crow { gap: 13px; padding: 15px 0; }
  .cfpg-dc-check-hint { margin-bottom: 40px; }
  .cfpg-dc-console { margin-bottom: 40px; }
  .cfpg-dc-ledger { padding: 22px 20px; margin-bottom: 40px; }
  .cfpg-dc-lrow { font-size: 13px; }
  .cfpg-dc-week { margin-bottom: 40px; }
  .cfpg-dc-week-insight { font-size: 17px; }
  .cfpg-dc-signup__form { flex-direction: column; }
  .cfpg-dc-rule .t { letter-spacing: .18em; }
}

/* ============================================================
   About page (page-about.php) — self-contained namespace
   ============================================================ */
.cfpg-abt-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
}
.cfpg-abt-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.cfpg-abt-hero .cfpg-wrap { position: relative; z-index: 2; }
.cfpg-abt-hero__content {
  max-width: 560px;
  padding: 64px 0 56px;
  color: #fff;
}
.cfpg-abt-hero__kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.cfpg-abt-hero__content h1 {
  font-family: var(--head);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cfpg-abt-hero__content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 480px;
}

.cfpg-abt-mission {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 26px 24px;
  margin: -36px 0 0;
  position: relative;
  z-index: 3;
}
.cfpg-abt-mission__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ltblue);
  color: var(--blue);
}
.cfpg-abt-mission h2 {
  font-family: var(--head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.cfpg-abt-mission p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cfpg-abt-mission__tag {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal) !important;
}

.cfpg-abt-why {
  padding: 56px 0 40px;
}
.cfpg-abt-why h2 {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 26px;
}
.cfpg-abt-why__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cfpg-abt-why__item:last-child { border-bottom: none; }
.cfpg-abt-why__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.cfpg-abt-why__icon--teal { background: rgba(21,135,122,.12); color: var(--teal); }
.cfpg-abt-why__icon--blue { background: var(--ltblue); color: var(--blue); }
.cfpg-abt-why__icon--navy { background: rgba(13,35,72,.08); color: var(--navy); }
.cfpg-abt-why__item h3 {
  font-family: var(--head);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.cfpg-abt-why__item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.cfpg-abt-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0 48px;
}
.cfpg-abt-fact {
  text-align: center;
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: 22px 14px;
}
.cfpg-abt-fact span { color: var(--teal); margin-bottom: 8px; display: inline-flex; }
.cfpg-abt-fact h3 {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.cfpg-abt-fact p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.cfpg-abt-audience {
  background: var(--ltblue);
  padding: 48px 0;
}
.cfpg-abt-audience h2 {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.cfpg-abt-audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cfpg-abt-audience__card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  padding: 20px 16px;
}
.cfpg-abt-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.cfpg-abt-audience__icon--teal { background: rgba(21,135,122,.12); color: var(--teal); }
.cfpg-abt-audience__icon--blue { background: var(--ltblue); color: var(--blue); }
.cfpg-abt-audience__card h3 {
  font-family: var(--head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.cfpg-abt-audience__card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.cfpg-abt-cover {
  padding: 48px 0;
}
.cfpg-abt-cover h2 {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.cfpg-abt-cover__list {
  border-top: 1px solid var(--line);
}
.cfpg-abt-cover__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.cfpg-abt-cover__row:hover { background: var(--ltblue); }
.cfpg-abt-cover__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ltblue);
  color: var(--blue);
}
.cfpg-abt-cover__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cfpg-abt-cover__text strong {
  font-family: var(--head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}
.cfpg-abt-cover__text span {
  font-size: 12.5px;
  color: var(--muted);
}
.cfpg-abt-cover__arrow {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform .18s ease;
}
.cfpg-abt-cover__row:hover .cfpg-abt-cover__arrow { transform: translateX(3px); }

.cfpg-abt-trust {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  margin-bottom: 28px;
}
.cfpg-abt-trust__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(21,135,122,.14);
  color: var(--teal);
}
.cfpg-abt-trust h2 {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.cfpg-abt-trust ul { display: flex; flex-direction: column; gap: 8px; }
.cfpg-abt-trust li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5;
}
.cfpg-abt-trust li span {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

.cfpg-abt-sam {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  padding: 28px 22px;
  margin-bottom: 28px;
}
.cfpg-abt-sam img {
  width: 120px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
.cfpg-abt-sam h2 {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cfpg-abt-sam h2 svg { color: var(--gold); }
.cfpg-abt-sam p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.cfpg-abt-sam p:last-child { margin-bottom: 0; }

.cfpg-abt-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 48px;
}
.cfpg-abt-mini-card {
  background: var(--ltblue);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}
.cfpg-abt-mini-card h3 {
  font-family: var(--head);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.cfpg-abt-mini-card p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 8px;
}
.cfpg-abt-mini-card p:last-child { margin-bottom: 0; }
.cfpg-abt-mini-card p span { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.cfpg-abt-mini-card a { font-weight: 700; }

.cfpg-abt-cta {
  background: var(--navy);
  padding: 52px 0;
  text-align: center;
}
.cfpg-abt-cta h2 {
  font-family: var(--head);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.cfpg-abt-cta p {
  font-size: 14.5px;
  color: rgba(255,255,255,.75);
  max-width: 440px;
  margin: 0 auto 26px;
}
.cfpg-abt-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.cfpg-abt-cta__btns .cfpg-btn {
  width: 100%;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 700px) {
  .cfpg-abt-hero { min-height: 520px; }
  .cfpg-abt-hero__content { padding: 96px 0 84px; }
  .cfpg-abt-hero__content h1 { font-size: 42px; }
  .cfpg-abt-hero__content p { font-size: 16.5px; }
  .cfpg-abt-mission { margin-top: -48px; padding: 34px 36px; }
  .cfpg-abt-facts { grid-template-columns: repeat(4, 1fr); }
  .cfpg-abt-audience__grid { grid-template-columns: repeat(2, 1fr); }
  .cfpg-abt-sam { flex-direction: row; text-align: left; padding: 32px 36px; }
  .cfpg-abt-sam h2 { justify-content: flex-start; }
  .cfpg-abt-bottom-grid { grid-template-columns: 1fr 1fr; }
  .cfpg-abt-cta__btns { flex-direction: row; justify-content: center; }
  .cfpg-abt-cta__btns .cfpg-btn { width: auto; }
}
@media (min-width: 1000px) {
  .cfpg-abt-hero__content { max-width: 620px; }
  .cfpg-abt-mission { max-width: 900px; }
}

/* ── Editorial next-step card ─────────────────────────────────────
 * Compact, article-scoped CTA card (e.g. "Before You Add Chemicals"
 * on the pool-overflow article) — same visual family as .cfpg-callout
 * (light background, colored left border, generous but not oversized
 * padding), reusing existing --sand/--blue/--navy/--muted tokens and
 * the existing .cfpg-btn/.cfpg-btn--primary/.cfpg-btn--outline-dark
 * button system rather than introducing new ones. Deliberately not
 * styled like a product ad: no imagery, no price, no badge — an
 * eyebrow, a heading, one short line of copy, a tiny numbered list,
 * and two buttons where the outline (monetized) CTA reads clearly
 * secondary to the solid (educational) one. */
.cfpg-next-step-card {
  background: var(--sand);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 24px 28px;
  margin: 0 0 20px;
}
.cfpg-next-step-card__eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.cfpg-next-step-card__heading {
  font-family: var(--head);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.cfpg-next-step-card__copy {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 14px;
}
.cfpg-next-step-card__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
/* Disclosure sits between the steps and the CTA row (before, not
 * after, the product recommendation) per Amazon Associates placement
 * requirements. */
.cfpg-next-step-card__disclosure {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 14px;
}
.cfpg-next-step-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.cfpg-next-step-card__actions .cfpg-btn { min-height: 44px; }
/* .cfpg-post-content a (site.css, article body link styling) sets
 * color:var(--blue) + underline on EVERY link inside an article,
 * including these buttons, with higher specificity (class+tag) than
 * .cfpg-btn--primary/.cfpg-btn--outline-dark's single-class color
 * rules — without this override the primary button's text renders
 * blue-on-blue (invisible) and the secondary button gets an unwanted
 * underline. Two-class selectors here always win regardless of source
 * order, so no !important is needed. Caught via a full real-render QA
 * pass inside the actual .cfpg-post-content wrapper, not just an
 * isolated component screenshot. */
.cfpg-next-step-card__actions .cfpg-btn { text-decoration: none; }
.cfpg-next-step-card__actions .cfpg-btn--primary { color: #fff; }
.cfpg-next-step-card__actions .cfpg-btn--outline-dark { color: var(--navy); }
.cfpg-next-step-card__storm-link {
  font-size: 14px;
  color: var(--body);
  margin: 0 0 32px;
}

@media (max-width: 680px) {
  .cfpg-next-step-card { padding: 20px; }
  .cfpg-next-step-card__heading { font-size: 19px; }
  .cfpg-next-step-card__actions { flex-direction: column; align-items: stretch; }
  .cfpg-next-step-card__actions .cfpg-btn { justify-content: center; text-align: center; }
}

/* ── 2026 hurricane cone explainer (Storm Prep Timeline) ──────────
 * Full-length homeowner explainer card, same visual family as
 * .cfpg-vt-card (white, bordered, shadow) so it reads as part of the
 * same page system rather than a separate component. */
.cfpg-cone-update {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 28px 22px;
  margin: 28px 0 8px;
}
@media (min-width: 640px) { .cfpg-cone-update { padding: 36px 40px; } }
.cfpg-cone-update__heading {
  font-family: var(--head);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 14px;
  /* This heading is a same-site anchor-link target (linked from the
   * Storm Prep hub's "Read how to use the 2026 cone" CTA). The site
   * header is `position: sticky` at --header-h (64px) with no
   * scroll-margin-top set anywhere on the site, so without this the
   * jump would land the heading partially hidden under the header. */
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.cfpg-cone-update__body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 14px;
}
.cfpg-cone-update__limitation {
  background: var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 18px;
}
.cfpg-cone-update__subhead {
  font-family: var(--head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}
.cfpg-cone-update__list {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
}
.cfpg-cone-update__list li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
  padding: 7px 0;
  border-bottom: 1px solid #F0F5FA;
}
.cfpg-cone-update__list li:last-child { border-bottom: none; }
.cfpg-cone-update__list li::before {
  content: '\2022';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.cfpg-cone-update__source {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.cfpg-cone-update__source a { color: var(--teal); font-weight: 600; }

/* When this section precedes the shared .cfpg-vt-card component, the
 * card's usual -30px hero-overlap offset (meant for pages where the
 * card sits directly under the hero) would instead pull it up into
 * the bottom of this section. Restore a normal top margin only in
 * that specific adjacency, without touching .cfpg-vt-card itself
 * (shared with the Monthly Maintenance Calendar and Water Testing
 * Ranges pages, which still want the hero-overlap behavior).
 *
 * Selector targets the .cfpg-wrap OUTER wrapper (.cfpg-cone-update-wrap),
 * not the inner .cfpg-cone-update card — the card sits nested one level
 * inside its own .cfpg-wrap, so it is never a sibling of the next
 * .cfpg-wrap, and a selector anchored on .cfpg-cone-update itself could
 * never match. */
.cfpg-cone-update-wrap + .cfpg-wrap .cfpg-vt-card { margin-top: 28px; }

/* ── 2026 forecast-update callout CTA (Storm Prep hub) ─────────────
 * Small arrow-link addition to the existing .cfpg-callout component,
 * matching the teal-arrow-link convention already used in
 * .cfpg-related__item / .cfpg-popular__view-all / .cfpg-guide-card__read. */
.cfpg-callout__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.cfpg-callout__cta:hover { color: var(--navy); }





/* =====================================================================
 * v4.94.0 — Pool water wallpaper (site-wide)
 *
 * Replaces the drawn ground from v4.93.0 with a real photograph of pool
 * water, veiled back so type survives on it. Every page sits on it;
 * cards, panels, the header, the hero, the featured band, the deep navy
 * band and the footer all still paint their own opaque surfaces, so the
 * water shows in the open areas and behind nothing that carries text on
 * a card.
 *
 * The image is pre-blurred at export rather than blurred at runtime.
 * That costs nothing to render, and because blur removes high-frequency
 * detail it also compresses far better -- 55 KB as WebP, 98 KB as the
 * JPEG fallback, for a 1600px-wide asset used at every viewport.
 *
 * It is painted by a fixed pseudo-element rather than by
 * `background-attachment: fixed`, which is unreliable on iOS. Sitting
 * at z-index -1 it renders above the canvas and below every element in
 * the document, so no content can be covered by it.
 *
 * --cfpg-water-veil is the one dial. 0 shows the raw photograph; 1
 * hides it entirely. It was set by measurement, not by eye: see the
 * companion note on caption colour below.
 * ===================================================================== */
:root {
  --cfpg-water-veil: 0.55;
  --cfpg-link: #164D77;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #cfe9f0;
  background-image:
    linear-gradient(rgba(255, 255, 255, var(--cfpg-water-veil)), rgba(255, 255, 255, var(--cfpg-water-veil))),
    url("../images/cfpg-water-wallpaper.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

@supports (background-image: image-set(url("../images/cfpg-water-wallpaper.webp") type("image/webp"))) {
  body::before {
    background-image:
      linear-gradient(rgba(255, 255, 255, var(--cfpg-water-veil)), rgba(255, 255, 255, var(--cfpg-water-veil))),
      image-set(
        url("../images/cfpg-water-wallpaper.webp") type("image/webp"),
        url("../images/cfpg-water-wallpaper.jpg") type("image/jpeg")
      );
  }
}

/* <body> and the root must stop painting flat white over the wallpaper.
 * The homepage's own .cfpgh-body rule is a class, so it outranks a
 * plain `body` selector -- it is cleared in home-figma.css alongside
 * .cfpgh-home-main and .cfpgh-hero. */
html,
body {
  background: transparent;
}

/* Text that sits directly on the wallpaper.
 *
 * These two were found by scanning the rendered pages for text whose
 * nearest opaque ancestor is the wallpaper itself, then measuring it
 * against the photograph's darkest pixel, rgb(3,128,163), composited
 * under the veil -- worst case rgb(142,198,214). Everything else on the
 * site sits on a card, a band, the hero or the footer, all of which
 * paint their own opaque surface, and was already clear.
 *
 * The pale caption token was the expected casualty and turned out not
 * to be one: the homepage's section intros already use body colour,
 * which measures 5.51:1 here.
 */

/* Content links were the worst offender at 1.75:1. Worth noting that
 * #3B94D6 only reaches about 3.0:1 on plain white either, so link text
 * was already short of AA before the wallpaper -- this fixes that too.
 * Only the link *text* colour changes; --blue itself is untouched, so
 * buttons, icon fills and borders keep the brand accent exactly. */
a,
.cfpg-post-content a {
  color: var(--cfpg-link, #164D77);
}

/* The teal eyebrow label is the one other element on the open ground.
 * Its own rule lives in home-figma.css, which loads after this file,
 * so the override is applied there rather than fought over here. */
