/* ============================================================
   HFYC GHOST THEME — screen.css
   Help For Your Child Blog
   Design: Warm White bg, Deep Teal authority, Warm Coral CTAs
   Fonts: Montserrat (headings) + Lato (body)
   Version: 1.1 — Pixel-matched to HFYC staging site
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Lato:wght@300;400;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --page-bg:      #FFFFFF;
  --teal-deep:    #1F6B6B;
  --teal-mid:     #2A8A8A;
  --teal-pale:    #D0ECEC;
  --teal-tint:    #E8F4F4;
  --coral-warm:   #D4603A;
  --coral-light:  #E8896A;
  --navy-dark:    #0F3A3A;
  --slate-blue:   #4A6B8A;
  --white:        #ffffff;
  --text-dark:    #222222;
  --text-mid:     #444444;
  --text-light:   #666666;
  --border:       #DDD8D0;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--page-bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--teal-deep);
}

/* Inline text links use Slate Blue — never Coral */
a { color: var(--slate-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-deep); }

img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.gh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .gh-container { padding: 0 2rem; }
}

/* ============================================================
   HEADER — matches staging site nav EXACTLY
   Single <nav> element: padding 0 24px, height 72px, flex space-between
   ============================================================ */
.gh-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 2px solid var(--teal-pale);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* No wrapper div — nav IS the container (matches staging) */

/* Logo — transparent PNG on white background */
.gh-head-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.gh-logo-img {
  height: 53px;
  width: auto;
  display: block;
  /* Ensure transparent PNG/WebP renders correctly on white navbar */
  background: transparent;
  mix-blend-mode: normal;
  object-fit: contain;
}

/* Desktop nav — flex container (matches staging ul style) */
.gh-head-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex: 1 1 0%;
  justify-content: center;
}

/* Each nav item wrapper */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Top-level nav links — underline style matching staging site exactly */
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border-radius: 0;
}
.nav-item > a:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
  background: none;
}
/* Active: Parents item — teal underline + teal text + bold */
.nav-parents-active > a {
  color: var(--teal-deep);
  font-weight: 700;
  border-bottom-color: var(--teal-deep);
}
.nav-item > a.current {
  color: var(--teal-deep);
  font-weight: 700;
  border-bottom-color: var(--teal-deep);
}

/* Chevron character */
.nav-chevron {
  font-size: 12px;
  line-height: 1;
  color: var(--text-light);
  transition: transform 0.2s;
  display: inline-block;
  margin-top: 1px;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1.5px solid var(--teal-pale);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31,107,107,0.14);
  z-index: 200;
  padding: 6px 0;
  flex-direction: column;
}
.nav-has-dropdown:hover .nav-dropdown {
  display: flex;
}

/* Dropdown links */
.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  border-bottom: none !important;
}
.nav-dropdown a:hover {
  background: var(--teal-tint);
  color: var(--teal-deep);
  border-bottom: none !important;
}

/* Legacy flat nav links (non-dropdown items) */
.gh-head-menu a {
  display: block;
  padding: 8px 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.gh-head-menu a:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}
.gh-head-menu a.current {
  color: var(--teal-deep);
  font-weight: 700;
  border-bottom-color: var(--teal-deep);
}

/* Header actions: search icon + CTA + phone — matches staging action cluster */
.gh-head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
}

/* Phone number — Montserrat 600 teal */
.gh-head-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}
.gh-head-phone:hover { color: var(--teal-mid); }

/* CTA Button — Coral background, Montserrat 700, 4px border-radius (matches staging) */
.btn-coral {
  background-color: var(--coral-warm);
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  transition: background-color 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
}
.btn-coral:hover {
  background-color: var(--coral-light);
  color: var(--white) !important;
}

/* Search button — inside actions cluster, no extra margin */
.gh-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 0;
  border-radius: 8px;
  color: var(--text-mid);
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.gh-search-btn:hover {
  color: var(--teal-deep);
  background: var(--teal-tint);
}
.gh-search-btn svg { display: block; }

:root {
  --sodo-search-brand-color: #1F6B6B;
}

/* Hamburger */
.gh-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.gh-burger:hover { background: var(--teal-tint); }
.gh-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.gh-head-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  flex-direction: column;
  padding: 1rem 1rem 1.5rem;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(31,107,107,0.12);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.gh-head-mobile.is-open {
  display: flex;
  transform: translateY(0);
}

.gh-head-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0,0,0,0.4);
}
.gh-head-mobile-backdrop.is-open { display: block; }

.gh-head-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.75rem;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.gh-head-mobile-close:hover { background: var(--teal-tint); }

.gh-head-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gh-head-mobile nav a {
  padding: 0.875rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--teal-tint);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.gh-head-mobile nav a:hover { color: var(--teal-deep); background: var(--teal-tint); }

.gh-head-mobile-cta {
  margin-top: 1rem;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Mobile dropdown (details/summary) */
.mobile-dropdown {
  border-bottom: 1px solid var(--teal-tint);
}
.mobile-dropdown summary {
  padding: 0.875rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: block;
}
.mobile-dropdown summary::-webkit-details-marker { display: none; }
.mobile-dropdown summary::after {
  content: ' \25BE';
  font-size: 0.75rem;
  color: var(--text-light);
}
.mobile-dropdown[open] summary::after { content: ' \25B4'; }
.mobile-dropdown a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: none;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.mobile-dropdown a:hover {
  color: var(--teal-deep);
  background: var(--teal-tint);
}

/* Override Ghost's injected body padding-top (announcement bar placeholder) — must use !important */
body { padding-top: 0 !important; }

@media (max-width: 1023px) {
  .gh-head-menu,
  .gh-head-actions { display: none; }
  .gh-burger { display: flex; }
}

/* ============================================================
   HERO — Blog Index
   Matches staging site: gradient 135deg from #0F3A3A to #1F6B6B to #2A8A8A
   padding: 72px 24px
   ============================================================ */
.gh-hero {
  background: linear-gradient(135deg, #0F3A3A 0%, #1F6B6B 60%, #2A8A8A 100%);
  color: var(--white);
  padding: 72px 24px;
}
.gh-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero eyebrow — plain text, no pill/oval, matches website hub pages */
.gh-hero-badge {
  display: block;
  background: none;
  color: var(--teal-pale);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
}

.gh-hero h1 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Two-line hero title — tight line spacing */
.hero-title-salmon {
  color: #E8896A;
  display: block;
  line-height: 1.15;
  margin-bottom: 0.05em;
}

.hero-title-white {
  color: var(--white);
  display: block;
  line-height: 1.15;
}

.gh-hero p {
  font-family: 'Lato', sans-serif;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}

/* ============================================================
   POST GRID
   ============================================================ */
.gh-feed {
  padding: 3rem 0 4rem;
}

.gh-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gh-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(31,107,107,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
}
.gh-card:hover {
  box-shadow: 0 6px 28px rgba(31,107,107,0.14);
  transform: translateY(-3px);
}

.gh-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gh-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gh-card:hover .gh-card-image img { transform: scale(1.04); }

.gh-card-image-placeholder {
  aspect-ratio: 16/9;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-card-image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--teal-deep);
  opacity: 0.35;
}

.gh-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gh-card-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--teal-pale);
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
}

.gh-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.gh-card-title a { color: inherit; text-decoration: none; }
.gh-card-title a:hover { color: var(--teal-mid); }

.gh-card-excerpt {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: auto;
}
.gh-card-meta-dot { color: var(--border); }

/* ============================================================
   PAGINATION
   ============================================================ */
.gh-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 4rem;
}
.gh-pagination a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  border: 2px solid var(--teal-deep);
  border-radius: 4px;
  padding: 0.55rem 1.5rem;
  transition: all 0.2s;
  text-decoration: none;
}
.gh-pagination a:hover {
  background: var(--teal-deep);
  color: var(--white);
}
.gh-pagination .gh-pagination-count {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* ============================================================
   ARTICLE / POST PAGE
   ============================================================ */
.gh-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.gh-article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.gh-article-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--teal-pale);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.gh-article-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--teal-deep);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.gh-article-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--coral-warm);
  border-radius: 2px;
  margin: 1rem auto;
}

.gh-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--text-light);
}

.gh-article-feature-image {
  max-width: 860px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.gh-article-feature-image img {
  width: 100%;
  border-radius: 12px;
}

/* Post body content */
.gh-content {
  font-family: 'Lato', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.gh-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin: 1.5rem 0 0.75rem;
}
.gh-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-deep);
  margin: 1.25rem 0 0.5rem;
}
.gh-content p { margin-bottom: 1rem; }
.gh-content ul, .gh-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.gh-content li { margin-bottom: 0.5rem; }
.gh-content a { color: var(--slate-blue); text-decoration: underline; }
.gh-content a:hover { color: var(--teal-deep); }
.gh-content blockquote {
  border-left: 4px solid var(--teal-pale);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--teal-tint);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-mid);
}
.gh-content img {
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hide duplicate featured image that appears as first element in migrated WP post bodies */
.gh-content > figure:first-child img[src*="Hero-Image"],
.gh-content > p:first-child > img[src*="Hero-Image"],
.gh-content > img:first-child[src*="Hero-Image"] {
  display: none;
}
.gh-content figure { margin: 1rem 0; }
.gh-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}
.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Tag pills */
.gh-tag-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--teal-pale);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  text-decoration: none;
  transition: background 0.15s;
}
.gh-tag-pill:hover {
  background: var(--teal-tint);
  color: var(--teal-deep);
}

/* Author box */
.gh-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--teal-tint);
  border-radius: 12px;
  border: 1.5px solid var(--teal-pale);
}
.gh-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.gh-author-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.gh-author-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-deep);
  margin-bottom: 0.25rem;
}
.gh-author-info p {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Post CTA Banner — Deep Teal Navy background, HFYC branded */
.gh-post-cta {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  margin-top: 3rem;
}
.gh-post-cta h2 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.gh-post-cta p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   Matches staging site exactly: Dark Teal Navy #0F3A3A background,
   4-column grid (brand, quick links, locations, services)
   ============================================================ */
.gh-foot {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-family: 'Lato', sans-serif;
}

.gh-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gh-foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}

@media (max-width: 900px) {
  .gh-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
}
@media (max-width: 540px) {
  .gh-foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 24px;
  }
}

/* Brand column */
.gh-foot-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}
.gh-foot-brand-tagline {
  font-size: 11px;
  color: var(--teal-pale);
  margin-top: 4px;
  margin-bottom: 16px;
}
.gh-foot-brand-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  max-width: 280px;
}
.gh-foot-brand-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh-foot-brand-contacts a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s;
}
.gh-foot-brand-contacts a:last-child {
  font-size: 13px;
  font-weight: 400;
}
.gh-foot-brand-contacts a:hover { color: var(--white); }

/* Column headings */
.gh-foot-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 16px;
}

/* Quick links */
.gh-foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-foot-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.gh-foot-links a:hover { color: var(--white); }

/* Locations */
.gh-foot-locations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gh-foot-location {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.gh-foot-location:hover { color: var(--white); }
.gh-foot-location-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}
.gh-foot-location-addr {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}

/* Provider referral link */
.gh-foot-provider-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--coral-warm);
  text-decoration: none;
  transition: color 0.15s;
}
.gh-foot-provider-link:hover { color: var(--coral-light); }

/* Footer bottom bar */
.gh-foot-bottom {
  background: var(--navy-dark);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.gh-foot-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0;
}
.gh-foot-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.gh-foot-bottom a:hover { color: var(--white); }

/* ============================================================
   TABLE OF CONTENTS (TOC) & ARTICLE AT A GLANCE
   ============================================================ */

/* Article at a Glance Card */
.article-glance {
  background-color: var(--teal-tint);
  border: 1.5px solid var(--teal-pale);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(31,107,107,0.08);
}

.article-glance h3 {
  color: var(--teal-deep);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-glance h3::before {
  content: '✨';
  font-size: 1.2rem;
}

.article-glance ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.article-glance li {
  position: relative;
  padding-left: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.article-glance li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal-mid);
  font-weight: bold;
}

/* Table of Contents (TOC) Card */
.gh-toc-card {
  background-color: #fcfcfc;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 1rem 0;
  overflow: hidden;
}

.gh-toc-header {
  padding: 1rem 1.25rem;
  background: #f8f8f8;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.gh-toc-header h4 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gh-toc-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-transform: uppercase;
}

.gh-toc-content {
  padding: 1.25rem;
  display: none; /* Collapsed by default */
}

.gh-toc-content.is-open {
  display: block;
}

.gh-toc-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.gh-toc-content li {
  margin-bottom: 0.5rem !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
}

.gh-toc-content a {
  color: var(--slate-blue);
  text-decoration: none;
  transition: color 0.15s;
}

.gh-toc-content a:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}

.gh-toc-content ul ul {
  padding-left: 1.25rem !important;
  margin-top: 0.5rem !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .gh-hero { padding: 48px 20px; }
  .gh-article { padding: 2rem 1rem; }
  .gh-article-feature-image { padding: 0 1rem; }
  .gh-feed { padding: 2rem 0 3rem; }
  .gh-feed-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gh-post-cta { padding: 2.5rem 1rem; }
}
