  :root{
    color-scheme:light;
    --ivory:#F1E7D2;
    --ivory-raised:#F9F2E4;
    --ink:#241A14;
    --ink-soft:#5A4A3C;
    --gold:#BA912E;
    --gold-soft:#D9B968;
    --maroon:#5C1620;
    --maroon-deep:#3A0E15;
    --line:rgba(36,26,20,0.16);
    --shadow:0 20px 55px -24px rgba(36,26,20,0.45);
  }
  :root[data-theme="dark"]{
    --ivory:#221912; --ivory-raised:#2B2018; --ink:#EFE3D2; --ink-soft:#C2AD95;
    --gold:#D9B968; --gold-soft:#E8CD8C; --maroon:#B33F4B; --maroon-deep:#7A2530;
    --line:rgba(239,227,210,0.16); --shadow:0 20px 55px -24px rgba(0,0,0,0.65);
  }
  :root[data-theme="light"]{
    --ivory:#F1E7D2; --ivory-raised:#F9F2E4; --ink:#241A14; --ink-soft:#5A4A3C;
    --gold:#BA912E; --gold-soft:#D9B968; --maroon:#5C1620; --maroon-deep:#3A0E15;
    --line:rgba(36,26,20,0.16); --shadow:0 20px 55px -24px rgba(36,26,20,0.45);
  }

  *{box-sizing:border-box;}
  html{font-size:18px;}
  html,body{margin:0;padding:0;}
  body{
    background:var(--ivory); color:var(--ink);
    font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
    /* overflow-x:hidden removed: it silently breaks position:sticky on the nav,
       since sticky requires every ancestor up to the viewport to have visible
       overflow. Section-level max-widths already prevent horizontal bleed. */
  }
  @media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important;} }
  /* WordPress core adds a 24px top margin between top-level template blocks
     (header/main/footer) by default; our design controls its own spacing. */
  .wp-site-blocks > *{margin-block-start:0;}
  h1,h2,h3{font-weight:700;color:var(--ink);text-wrap:balance;margin:0;}
  p{margin:0;}
  a{color:inherit;}
  img{display:block;max-width:100%;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem);}

  /* Breathing room between the sticky nav and a page's own title (About,
     Facilities, Specialties, Treatments, Contact — anywhere page.html is
     used). The Home page's hero title is unaffected, it's styled separately. */
  .wp-block-post-title{padding:clamp(2.5rem,6vw,4rem) clamp(1.25rem,4vw,3rem) 0;max-width:1180px;margin-left:auto;margin-right:auto;}

  /* Bottom breathing room before the footer on every page.html/home.html/
     single.html page — since .wp-site-blocks margins are zeroed above (line
     39), a page whose last content block has no bottom spacing of its own
     (e.g. Facilities' full-bleed .fac-band, Contact Us' form) would
     otherwise butt straight into the footer with no gap. */
  main.wp-block-group{padding-bottom:clamp(3rem,6vw,5rem);}

  /* Match the Blog page's title/lede indent to the card grid below it,
     which is wrapped in .wrap and therefore has its own left inset.
     Scoped to the <div> (Blog) so it doesn't double up with the nested
     .wrap already inside the <section> version (Specialties/Treatments). */
  div.page-content{padding:3rem clamp(1.25rem,4vw,3rem) 5rem;}

  .eyebrow{
    font-size:0.72rem;letter-spacing:0.26em;text-transform:uppercase;
    color:var(--gold);font-weight:600;margin:0 0 0.9rem;
  }

  .ornament{display:flex;align-items:center;gap:0.85rem;width:100%;}
  .ornament::before,.ornament::after{content:"";flex:1;height:1px;background:var(--gold);opacity:0.55;}
  .ornament .dot{width:7px;height:7px;background:var(--gold);transform:rotate(45deg);flex:none;}
  .ornament.center{max-width:220px;margin:0 auto;}

  /* Nav */
  /* WordPress wraps the header template part in its own <header>, sized to
     exactly fit the nav — that box has no extra height for the sticky nav to
     float within, so it scrolls away instead of sticking. display:contents
     removes the wrapper from the box model so .nav sticks relative to the
     full page instead. */
  header.wp-block-template-part{display:contents;}
  .nav{position:sticky;top:0;z-index:40;background:color-mix(in srgb, var(--ivory) 92%, transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);}
  .nav-inner{max-width:1180px;margin:0 auto;padding:1.05rem clamp(1.25rem,4vw,3rem);display:flex;align-items:center;justify-content:space-between;gap:2rem;}
  .nav-inner > div{display:flex;align-items:center;gap:0.7rem;}
  .nav-inner > div img{height:3.3rem;width:auto;display:block;}
  .nav-links{display:flex;gap:1.8rem;list-style:none;margin:0;padding:0;font-size:0.85rem;letter-spacing:0.02em;}
  .nav-links a{text-decoration:none;color:var(--ink-soft);font-weight:700;}
  .nav-links a:hover,.nav-links a:focus-visible{color:var(--maroon);}
  .nav-cta{display:inline-flex;align-items:center;background:var(--maroon);color:var(--ivory-raised);text-decoration:none;padding:0.6rem 1.2rem;font-size:0.8rem;letter-spacing:0.05em;border:1px solid var(--maroon);}

  /* .nav-right groups the CTA + hamburger into one flex item, so
     .nav-inner's justify-content:space-between still yields exactly two
     edges (logo, right group) once .nav-links is hidden at mobile widths. */
  /* Scroll-reveal: gated behind .js on <html> (set by an inline script at
     the top of the page) so content stays fully visible if JavaScript is
     disabled or fails, instead of being permanently stuck at opacity:0. */
  .js .reveal{opacity:0;transform:translateY(44px);transition:opacity 0.7s ease,transform 0.7s ease;}
  .js .reveal.revealed{opacity:1;transform:translateY(0);}

  .nav-right{gap:1rem;}
  .nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:2.1rem;height:2.1rem;background:none;border:none;padding:0;cursor:pointer;}
  .nav-toggle span{display:block;width:100%;height:2px;background:var(--ink);border-radius:1px;transition:transform 0.2s ease,opacity 0.2s ease;}
  .nav.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav.nav-open .nav-toggle span:nth-child(2){opacity:0;}
  .nav.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  @media (max-width:860px){
    .nav-toggle{display:flex;}
    .nav-links{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      right:0;
      flex-direction:column;
      gap:0;
      background:var(--ivory);
      border-bottom:1px solid var(--line);
      padding:0.5rem 0;
    }
    .nav-links li{width:100%;}
    .nav-links a{display:block;padding:0.9rem clamp(1.25rem,4vw,3rem);}
    .nav.nav-open .nav-links{display:flex;}
  }

  /* Hero */
  .hero{position:relative;min-height:min(92vh,900px);display:flex;align-items:center;justify-content:center;color:#FBF3E2;text-align:center;isolation:isolate;}
  .hero-media{position:absolute;inset:0;z-index:-1;overflow:hidden;}
  .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;animation:heroZoom 9s ease-in-out infinite alternate;opacity:0;transition:opacity 1.2s ease;}
  .hero-slide.is-active{opacity:1;}
  @keyframes heroZoom{ from{transform:scale(1);} to{transform:scale(1.08);} }
  .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(26,14,10,0.35) 0%, rgba(26,14,10,0.45) 55%, rgba(26,14,10,0.88) 100%);}
  .hero-dots{position:absolute;left:0;right:0;bottom:1.4rem;z-index:2;display:flex;justify-content:center;gap:0.6rem;}
  .hero-dot{width:0.55rem;height:0.55rem;border-radius:50%;padding:0;border:1px solid rgba(251,243,226,0.8);background:transparent;cursor:pointer;}
  .hero-dot.is-active{background:var(--gold-soft);border-color:var(--gold-soft);}
  .hero-panel{max-width:720px;padding:clamp(2rem,5vw,3rem) clamp(1.5rem,5vw,3rem);border:1px solid rgba(217,185,104,0.55);position:relative;}
  .hero-panel::before{content:"";position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:56px;height:28px;border:1px solid rgba(217,185,104,0.55);border-bottom:none;border-radius:28px 28px 0 0;background:transparent;}
  .hero-eyebrow{font-size:0.72rem;letter-spacing:0.3em;text-transform:uppercase;color:var(--gold-soft);margin:0 0 1.2rem;}
  .hero h1{font-size:clamp(2.1rem,4.4vw,3.3rem);line-height:1.15;color:#FBF3E2;}
  .hero-sub{margin:1.4rem auto 0;font-size:1.02rem;line-height:1.7;color:#E9DCC5;max-width:46ch;}
  .hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2.2rem;}
  .btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.85rem 1.5rem;font-size:0.85rem;letter-spacing:0.04em;text-decoration:none;border:1px solid transparent;cursor:pointer;}
  .btn-primary{background:var(--gold-soft);color:#2A1B0D;font-weight:700;}
  .btn-primary:hover{background:#EAD69B;}
  .btn-ghost{border-color:rgba(251,243,226,0.6);color:#FBF3E2;}
  .btn-ghost:hover{background:rgba(251,243,226,0.12);}

  /* trust band */
  .trust-band{background:var(--maroon-deep);color:#EFDDC0;padding:1.5rem 0;}
  .trust-inner{display:flex;justify-content:center;gap:clamp(1.5rem,5vw,4rem);flex-wrap:wrap;text-align:center;font-size:0.86rem;}
  .trust-inner strong{display:block;color:var(--gold-soft);font-size:0.95rem;margin-bottom:0.2rem;}

  section{padding:clamp(3.5rem,7vw,6.5rem) 0;}
  .section-head{text-align:center;max-width:640px;margin:0 auto 3.2rem;}
  .section-head h2{font-size:clamp(1.9rem,3.4vw,2.5rem);}
  .section-head .desc{margin-top:1rem;color:var(--ink-soft);font-size:0.98rem;line-height:1.7;}

  /* Specialties as heirloom list */
  .spec-list{max-width:900px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;column-gap:3rem;}
  .spec-row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:1.15rem 0;border-bottom:1px solid var(--line);text-decoration:none;transition:padding-left 0.2s ease;}
  .spec-row:hover{padding-left:0.4rem;}
  .spec-row:hover h3{color:var(--maroon);}
  .spec-row h3{font-size:1.08rem;font-weight:700;white-space:nowrap;}
  .spec-row .leader{flex:1;border-bottom:1px dotted var(--ink-soft);margin:0 0.2rem 0.35rem;opacity:0.5;}
  .spec-row p{font-size:0.86rem;color:var(--ink-soft);text-align:right;max-width:22ch;}
  @media (max-width:760px){ .spec-list{grid-template-columns:1fr;} .spec-row{flex-direction:column;align-items:flex-start;} .spec-row p{text-align:left;} .spec-row .leader{display:none;} }

  /* Treatments band */
  .treatments-section{background:var(--maroon-deep);color:#F1E4CC;}
  .treatments-section .eyebrow{color:var(--gold-soft);}
  .treatments-section .section-head h2{color:#F8EEDA;}
  .treatments-section .section-head .desc{color:#D9C6A6;}
  .treat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:rgba(241,228,204,0.18);}
  .treat-card{background:var(--maroon-deep);padding:2.2rem 1.6rem;display:flex;flex-direction:column;gap:1rem;text-decoration:none;transition:background 0.2s ease;}
  .treat-card:hover{background:var(--maroon);}
  .treat-card .idx{font-size:0.72rem;letter-spacing:0.2em;color:var(--gold-soft);text-transform:uppercase;}
  .treat-card h3{color:#F8EEDA;font-size:1.2rem;}
  .treat-card p{color:#D9C6A6;font-size:0.86rem;line-height:1.6;}
  @media (max-width:900px){ .treat-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .treat-grid{grid-template-columns:1fr;} }
  .treat-images{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-top:2px;background:rgba(241,228,204,0.18);}
  .treat-images img{width:100%;height:260px;object-fit:cover;}

  /* Chiropractic feature */
  .chiro-section{background:var(--ivory-raised);}
  .chiro-grid{display:grid;grid-template-columns:1.15fr 0.85fr;gap:clamp(2rem,5vw,4rem);align-items:center;}
  .chiro-copy h2{font-size:clamp(1.8rem,3vw,2.4rem);margin-top:0.9rem;}
  .chiro-copy .desc{margin-top:1.1rem;color:var(--ink-soft);font-size:0.98rem;line-height:1.75;max-width:46ch;}
  .chiro-copy .fac-cta{margin-top:1.4rem;}
  .chiro-suited{list-style:none;margin:1.3rem 0 0;padding:0;display:flex;flex-direction:column;gap:0.55rem;font-size:0.9rem;color:var(--ink-soft);}
  .chiro-suited li{padding-left:1.1rem;position:relative;}
  .chiro-suited li::before{content:"";position:absolute;left:0;top:0.5em;width:6px;height:6px;background:var(--gold);transform:rotate(45deg);}
  .chiro-photo{border:1px solid var(--gold);background:var(--ivory);}
  .chiro-photo-frame{aspect-ratio:4/5;background:#EFDDBE;display:flex;align-items:center;justify-content:center;position:relative;}
  .chiro-photo-frame svg{width:34%;height:34%;color:var(--maroon);opacity:0.45;}
  .chiro-photo-frame img{width:100%;height:100%;object-fit:cover;object-position:top center;}
  .chiro-photo-frame .frame-label{position:absolute;bottom:1rem;left:0;right:0;text-align:center;font-size:0.7rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--maroon);opacity:0.75;}
  .chiro-photo-caption{padding:1.2rem 1.4rem;border-top:1px solid var(--line);}
  .chiro-photo-caption .name{font-size:1.02rem;font-weight:700;}
  .chiro-photo-caption .role{font-size:0.83rem;color:var(--ink-soft);margin-top:0.2rem;}
  .chiro-grid.reverse{grid-template-columns:0.85fr 1.15fr;}
  .physician-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;}
  .physician-bio{margin-top:1.3rem;}
  .physician-bio p{color:var(--ink-soft);line-height:1.7;font-size:0.94rem;}
  .physician-bio .chiro-suited{margin-top:1rem;}
  @media (max-width:700px){ .physician-grid{grid-template-columns:1fr;} }

  /* Long-form content pages (About, Specialties, Treatments) */
  section.page-content{padding:3rem 0 5rem;}
  .page-lede{font-size:1.1rem;color:var(--ink-soft);line-height:1.7;max-width:70ch;}
  /* On the Blog page, .page-content is a real Gutenberg group block with
     layout:constrained, so WP core auto-centers any direct child narrower
     than the container (margin-left/right:auto !important). .page-lede's
     own max-width:70ch made it narrower than the H1 above it, so core
     centered the paragraph while the full-width H1 stayed flush left —
     pulling the two out of alignment. Force it back to flush left. */
  .page-content .page-lede{margin-left:0 !important;margin-right:0 !important;}

  /* Contact Us page: spacing between the phone-number paragraph and the
     next location heading, since this content is hand-authored raw HTML
     with no automatic block spacing between elements. */
  .contact-heading{margin-top:2rem;margin-bottom:0.5rem;}
  .map-embed{aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);margin-top:1rem;}
  .map-embed iframe{width:100%;height:100%;border:0;display:block;}
  .entry-section{padding:2.2rem 0;border-top:1px solid var(--line);}
  .entry-section:first-of-type{border-top:none;}
  .entry-section h2{font-size:1.4rem;margin-bottom:0.7rem;}
  .entry-section p{line-height:1.75;color:var(--ink-soft);max-width:70ch;}
  .entry-section.with-photo{display:grid;grid-template-columns:0.85fr 1.15fr;gap:2rem;align-items:center;}
  .entry-section.with-photo.reverse{grid-template-columns:1.15fr 0.85fr;}
  .entry-section.with-photo.reverse .entry-photo{order:2;}
  .entry-photo{aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);}
  .entry-photo img{width:100%;height:100%;object-fit:cover;}
  @media (max-width:760px){
    .entry-section.with-photo,.entry-section.with-photo.reverse{grid-template-columns:1fr;}
    .entry-section.with-photo.reverse .entry-photo{order:0;}
  }
  @media (max-width:800px){ .chiro-grid, .chiro-grid.reverse{grid-template-columns:1fr;} }

  /* Facilities alternating bands */
  .fac-band{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;}
  .fac-band.reverse .fac-media{order:2;}
  .fac-media{min-height:420px;overflow:hidden;}
  .fac-media img{width:100%;height:100%;object-fit:cover;}
  .fac-text{display:flex;flex-direction:column;justify-content:center;padding:clamp(2rem,5vw,4rem);gap:1rem;background:var(--ivory-raised);}
  .fac-loc{font-size:0.72rem;letter-spacing:0.24em;text-transform:uppercase;color:var(--gold);}
  .fac-text h3{font-size:clamp(1.6rem,2.6vw,2.1rem);}
  .fac-text p.copy{color:var(--ink-soft);font-size:0.96rem;line-height:1.7;max-width:38ch;}
  .fac-facts{list-style:none;margin:0.3rem 0 0;padding:0;display:flex;flex-direction:column;gap:0.5rem;font-size:0.88rem;color:var(--ink-soft);}
  .fac-facts li{padding-left:1.1rem;position:relative;}
  .fac-facts li::before{content:"";position:absolute;left:0;top:0.5em;width:6px;height:6px;background:var(--gold);transform:rotate(45deg);}
  .fac-cta{margin-top:0.6rem;}
  .fac-cta a{font-size:0.88rem;font-weight:700;color:var(--maroon);text-decoration:none;border-bottom:1px solid var(--maroon);padding-bottom:2px;}
  @media (max-width:800px){ .fac-band, .fac-band.reverse{grid-template-columns:1fr;} .fac-band.reverse .fac-media{order:0;} .fac-media{min-height:280px;} }

  /* Testimonials */
  .section-note{max-width:640px;margin:0.8rem auto 0;font-size:0.82rem;font-style:italic;color:var(--ink-soft);text-align:center;}
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;align-items:stretch;}
  .testi-card{background:var(--ivory-raised);border:1px solid var(--line);padding:2rem;display:flex;flex-direction:column;gap:1.1rem;}
  .testi-card.no-avatar{justify-content:center;background:transparent;border:none;padding:1.5rem 1rem;}
  .testi-quote{font-size:1.02rem;line-height:1.65;color:var(--ink);}
  .testi-card.no-avatar .testi-quote{font-size:1.25rem;line-height:1.55;text-align:center;}
  .testi-who{display:flex;align-items:center;gap:0.8rem;margin-top:auto;}
  .testi-avatar{width:3.6rem;height:3.6rem;border-radius:50%;background:#EFDDBE;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden;}
  .testi-avatar svg{width:68%;height:68%;color:var(--maroon);opacity:0.55;}
  .testi-name{font-size:0.9rem;font-weight:700;}
  .testi-loc{font-size:0.8rem;color:var(--ink-soft);}
  .testi-card.no-avatar .testi-who{justify-content:center;margin-top:0;}
  @media (max-width:900px){ .testi-grid{grid-template-columns:1fr;} }

  /* Google reviews */
  /* The Trustindex shortcode doesn't render inline where it's placed — its
     own output lands as a standalone element after whatever block calls it,
     not nested inside a wrapping div (confirmed both by inspecting the live
     page's actual HTML and by Trustindex's own support threads: the widget
     needs to be "a separate block", not nested in other markup). So this
     section only holds the heading band; the widget itself is styled
     directly via its own top-level class (.ti-goog) below, wherever it
     actually lands in the DOM. */
  .reviews-section{background:var(--maroon-deep);color:#F1E4CC;}
  .reviews-section .eyebrow{color:var(--gold-soft);}
  .reviews-section .section-head h2{color:#F8EEDA;}
  /* Override the generic .section-head bottom margin (3.2rem, used
     site-wide) just for this section — the widget card supplies its own
     top margin right after, so the default stacked up to a lot of empty
     space between the heading and the card. */
  .reviews-section .section-head{margin-bottom:1.25rem;}
  /* max-width matches .wrap (1180px, used everywhere else on the site) for
     consistency. Padding trimmed from clamp(1.25rem,3vw,2.5rem) so inner
     width clears ~1100px: Trustindex's slider targets ~275px per card and
     wants 4 across (data-layout-id ti-col-4) — the old 1000px card wasn't
     quite enough room, so it rendered 3 full cards plus one awkwardly cut
     off at the edge instead of fitting whole cards cleanly. */
  .ti-goog{background:#ffffff;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,0.08),0 8px 28px -12px rgba(0,0,0,0.4);padding:2rem clamp(1rem,2.5vw,2rem) 2.25rem;max-width:1180px;margin:1.5rem auto 2rem;overflow:hidden !important;}

  /* Blog */
  .blog-section{background:var(--ivory);}
  .blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;}
  .blog-card{background:var(--ivory-raised);border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;}
  .blog-media{height:200px;overflow:hidden;}
  .blog-media img{width:100%;height:100%;object-fit:cover;}
  .blog-body{padding:1.6rem 1.6rem 1.9rem;display:flex;flex-direction:column;gap:0.7rem;flex:1;}
  .blog-card > *,.blog-body > *{margin-top:0;margin-bottom:0;}
  .blog-date{font-size:0.74rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);}
  .blog-body h3{font-size:1.15rem;line-height:1.35;}
  .blog-body .wp-block-post-title{padding:0;margin:0;max-width:none;font-size:1.15rem;line-height:1.35;}
  .blog-body p{font-size:0.88rem;color:var(--ink-soft);line-height:1.6;}
  .blog-more{margin-top:auto;padding-top:0.4rem;font-size:0.86rem;font-weight:700;color:var(--maroon);text-decoration:none;border-bottom:1px solid var(--maroon);align-self:flex-start;}
  @media (max-width:900px){ .blog-grid{grid-template-columns:1fr;} }

  /* Inquiry */
  .inquiry{background:var(--ivory-raised);}
  .section-beige{background:var(--ivory-raised);}
  .inquiry-inner{max-width:760px;margin:0 auto;text-align:center;}
  .inquiry h2{font-size:clamp(1.9rem,3.2vw,2.5rem);}
  .inquiry .desc{margin:1rem auto 0;color:var(--ink-soft);max-width:52ch;font-size:0.98rem;line-height:1.7;}
  .wpcf7-form{
    margin-top:2.6rem;text-align:left;background:var(--ivory-raised);border:1px solid var(--line);
    padding:2.2rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:1.1rem;
  }
  .field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;}
  label{font-size:0.78rem;letter-spacing:0.04em;color:var(--ink-soft);display:block;margin-bottom:0.4rem;}
  input:not([type="radio"]):not([type="checkbox"]),select,textarea{
    width:100%;border:1px solid var(--line);background:transparent;
    padding:0.7rem 0.8rem;font-size:0.92rem;color:var(--ink);font-family:inherit;
  }
  input:focus,select:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:1px;}
  textarea{resize:vertical;min-height:90px;}
  input[type="radio"],input[type="checkbox"]{width:16px;height:16px;flex:none;margin:0;accent-color:var(--maroon);}
  .wpcf7-list-item{display:flex;align-items:center;gap:0.6rem;margin:0 0 0.7rem;}
  .wpcf7-list-item:last-child{margin-bottom:0;}
  .wpcf7-submit{align-self:flex-start;background:var(--maroon);color:var(--ivory-raised);border:none;padding:0.85rem 1.7rem;font-size:0.92rem;font-family:inherit;font-weight:700;cursor:pointer;}
  .wpcf7-submit:hover{background:#712030;}
  @media (max-width:760px){ .field-row{grid-template-columns:1fr;} }

  footer{background:var(--maroon-deep);color:#E9DCC5;padding:3.6rem 0 2rem;}
  .foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;}
  .foot-brand img{height:8.4rem;width:auto;display:block;margin:0 auto;}
  .foot-brand p{margin-top:1.1rem;color:#CBB694;font-size:0.88rem;line-height:1.65;max-width:32ch;}
  .foot-col h4{font-size:0.72rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--gold-soft);margin:0 0 1rem;font-weight:700;}
  .foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.55rem;font-size:0.9rem;color:#CBB694;}
  .foot-col a{text-decoration:none;color:inherit;}
  .foot-col a:hover{color:var(--gold-soft);}
  .foot-bottom{margin-top:3rem;padding-top:1.6rem;border-top:1px solid rgba(233,220,197,0.2);display:flex;justify-content:space-between;flex-wrap:wrap;gap:0.8rem;font-size:0.8rem;color:#B79E7B;}
  @media (max-width:800px){ .foot-grid{grid-template-columns:1fr 1fr;} }

/* Blog archive query loop (templates/home.html) */
.wp-block-post-template{list-style:none;margin:0;padding:0;}
.wp-block-post-template > li{list-style:none;margin:0;padding:0;}
.blog-archive-query{padding-bottom:4rem;}

/* Single blog post (templates/single.html) */
.blog-post-article{padding:clamp(2.5rem,6vw,4rem) 0 4rem;}
.blog-post-article .wp-block-post-title{max-width:720px;margin:0.5rem auto 1.5rem;padding:0;}
.blog-post-hero img{width:100%;max-height:420px;object-fit:cover;}
.blog-meta{display:flex;align-items:center;gap:0.5rem;font-size:0.85rem;color:var(--ink-soft);max-width:720px;margin:1.5rem auto 0;}
.blog-meta > *{margin-top:0 !important;margin-bottom:0 !important;}
.blog-meta .wp-block-post-author-name::before{content:"By ";}
.blog-meta > *:nth-child(2)::before{content:"\00B7";margin-right:0.5rem;}
.blog-post-body p{line-height:1.75;color:var(--ink-soft);margin-bottom:1.1rem;}
.blog-post-body h2{font-size:1.4rem;margin-top:2rem;margin-bottom:0.8rem;color:var(--ink);}
.blog-share{display:flex;align-items:center;gap:0.9rem;max-width:720px;margin:2.5rem auto 0;padding-top:1.5rem;border-top:1px solid var(--line);}
.blog-share-label{font-size:0.78rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-soft);}
.blog-share-link{font-size:0.85rem;font-weight:700;color:var(--maroon);text-decoration:none;border-bottom:1px solid var(--maroon);padding-bottom:1px;}
.blog-share-link:hover{opacity:0.75;}
.blog-post-body h3{font-size:1.15rem;margin-top:1.5rem;margin-bottom:0.6rem;color:var(--ink);}
