/*
Theme Name: Northwood Wellness Collective
Theme URI: https://northwoodwellnesscollective.ca
Author: Level Up Enterprises
Author URI: https://levelupenterprises.ca
Description: Custom theme for Northwood Wellness Collective, a registered massage therapy clinic in downtown Kamloops, BC. Built by Level Up Enterprises.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: northwood
*/

/* ==========================================================================
   Design tokens — ported 1:1 from the approved design system
   ========================================================================== */
/* Fonts are enqueued from functions.php (with preconnect hints) rather than
   @import-ed here. An @import forces the browser to download and parse this
   stylesheet before it can even discover the font request, which serialises
   two round trips and delays first paint. */

:root {
  /* Core palette
     bg               #f7f3ea   page background
     text             #26352e   primary text
     surface          #dce4da   secondary section / card ground
     accent-700       #294c3a   primary button
     accent-800       #1e382b   button hover
     sand             #c8b99d   accent — the highlight on dark panels
     river            #78939a   small decorative accent
     The accent ramp is the primary green; accent-2 is the softer sage used
     for secondary sections and the dark footer/callout panels. */
  --color-bg: #f7f3ea;
  --color-surface: #dce4da;
  --color-text: #26352e;
  --color-accent: #294c3a;
  --color-accent-2: #78939a;
  --color-divider: color-mix(in srgb, #26352e 16%, transparent);

  --color-neutral-100: #f2efe6;
  --color-neutral-200: #e7e3d8;
  --color-neutral-300: #d5d3c6;
  --color-neutral-400: #b9b7a8;
  --color-neutral-500: #97998c;
  --color-neutral-600: #787c72;
  --color-neutral-700: #5c6159;
  --color-neutral-800: #434a43;
  --color-neutral-900: #2c352f;

  --color-accent-100: #eef3ee;
  --color-accent-200: #dbe6dd;
  --color-accent-300: #b9ccbe;
  --color-accent-400: #8faa96;
  --color-accent-500: #64876f;
  --color-accent-600: #416851;
  --color-accent-700: #294c3a;
  --color-accent-800: #1e382b;
  --color-accent-900: #16291f;

  --color-accent-2-100: #eef2ec;
  --color-accent-2-200: #dce4da;
  --color-accent-2-300: #c3d0c2;
  --color-accent-2-400: #a3b5a4;
  --color-accent-2-500: #849a87;
  --color-accent-2-600: #667d6c;
  --color-accent-2-700: #4c6152;
  --color-accent-2-800: #35473b;
  --color-accent-2-900: #223027;

  /* Accent — warm sand. Used where something needs to lift off a dark green
     panel (eyebrow headings, buttons on the callout/footer/aside boxes). */
  --color-sand: #c8b99d;
  --color-sand-light: #ded5c0;
  --color-sand-dark: #9c8a6b;

  /* Small decorative accent — muted river blue. Decorative use at any tone;
     -dark is the only one with enough contrast for small text on the page
     background, so use that when it carries words. */
  --color-river: #78939a;
  --color-river-light: #dae3e5;
  --color-river-dark: #4e6c73;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #26352e 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #26352e 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #26352e 22%, transparent);

  --container-max: 1180px;
  --header-h: 74px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  font-weight: 400; text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Small uppercase label. These read as headings visually but are not all
   document headings — nav group labels and kickers above a real heading use
   this class on a non-heading tag so the page's heading outline stays valid
   (an <h6> after an <h2> skips three levels and confuses screen readers). */
.eyebrow {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 13px; line-height: 1.12; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-3); }
ul { margin: 0 0 var(--space-3); padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--color-accent-700); text-decoration-color: currentColor; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, select, textarea { font-family: inherit; }
select.input { appearance: none; background-image: none; }
.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(18px, 3vw, 40px); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-accent-700); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 999px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent-700); color: #fff; }
.btn-primary:hover { background: var(--color-accent-800); color: #fff; }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* ==========================================================================
   Forms
   ========================================================================== */
.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input {
  width: 100%; min-height: 36px; padding: 6px 14px; font: inherit; font-size: 14px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 999px;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; border-radius: var(--radius-md); resize: vertical; padding: 12px 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--color-divider); border-radius: 999px; background: var(--color-surface);
}
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--color-accent-700); color: #fff; border-color: var(--color-accent-700); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ==========================================================================
   Cards / tags / tables
   ========================================================================== */
.card {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--space-3); border-radius: calc(var(--radius-lg) * 1.15); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-river-dark); }
.card-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; line-height: 1.2; }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-river-light); color: var(--color-river-dark); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); padding: var(--space-2); border-bottom: 1px solid var(--color-divider); }
.table td { padding: var(--space-2); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* ==========================================================================
   Site chrome — top strip, header, mega menus, mobile drawer
   ========================================================================== */
.top-strip {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 9px 16px; background: var(--color-accent-2-800); color: var(--color-accent-2-100);
  font-size: 14px; text-align: center;
}
.top-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-sand); display: inline-block; }
.top-strip .accepting { display: inline-flex; align-items: center; gap: 7px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); box-shadow: var(--shadow-sm); }
.header-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(10px, 1.5vw, 18px); max-width: var(--container-max); margin: 0 auto; padding: 12px clamp(16px, 3vw, 40px); }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--color-text); margin-right: auto; }
.brand-logo { height: clamp(46px, 5.2vw, 68px); width: auto; display: block; }

.desk-nav { display: none; align-items: center; gap: 16px; font-size: 15px; }
.desk-nav > a, .desk-nav > button.menu-toggle { color: var(--color-text); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.desk-only { display: none; }
.desk-call { display: none; align-items: center; gap: 7px; color: var(--color-text); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
button.menu-toggle { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--color-text); cursor: pointer; padding: 6px 0; white-space: nowrap; }
.caret { font-size: 9px; color: var(--color-neutral-600); }

.mobile-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--color-divider); color: var(--color-text); text-decoration: none; font-size: 18px; background: transparent; cursor: pointer; }

.mega { border-top: 1px solid var(--color-divider); background: var(--color-neutral-100); box-shadow: var(--shadow-md); }
.mega-inner { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: var(--container-max); margin: 0 auto; padding: 26px clamp(16px, 3vw, 40px) 30px; }
.mega h6, .mega .eyebrow { margin: 0 0 12px; color: var(--color-accent-700); }
.mega-links { display: flex; flex-direction: column; gap: 8px; }
.mega-links a { font-size: 15px; color: var(--color-text); text-decoration: none; }
.mega-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: var(--container-max); margin: 0 auto; padding: 26px clamp(16px, 3vw, 40px) 30px; }
.mega-areas { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: var(--container-max); margin: 0 auto; padding: 26px clamp(16px, 3vw, 40px) 30px; }
.mega-area-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--color-text); }
.mega-area-link .n { font-family: var(--font-heading); font-size: 17px; }
.mega-area-link .d { font-size: 13px; color: var(--color-neutral-700); }

.drawer { border-top: 1px solid var(--color-divider); background: var(--color-neutral-100); max-height: 80vh; overflow: auto; padding: 20px 22px 28px; }
.drawer a.main { display: block; padding: 13px 0; font-family: var(--font-heading); font-size: 19px; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-divider); }
.drawer h6, .drawer .eyebrow { margin: 22px 0 10px; color: var(--color-accent-700); }
.drawer-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.drawer-grid a, .drawer-list a { font-size: 15px; color: var(--color-text); text-decoration: none; }
.drawer-list { display: flex; flex-direction: column; gap: 10px; }
.drawer-list a { font-size: 17px; }

.mobile-bottom-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: flex; gap: 10px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--color-bg); border-top: 1px solid var(--color-divider); border-radius: 26px; box-shadow: 0 -6px 20px rgba(46,43,37,0.14); }
.mobile-bottom-bar .btn-secondary { flex: 0 0 auto; min-height: 52px; font-size: 16px; padding: 0 20px; }
.mobile-bottom-bar .btn-primary { flex: 1; min-height: 52px; font-size: 17px; }
body.has-mobile-bar { padding-bottom: 92px; }

/* The full nav is seven items plus a phone number and a button. Alongside a
   full-size logo that needs ~1200px to sit on one row — below this the
   header wrapped, so narrow-desktop and tablet get the drawer instead. */
@media (min-width: 1200px) {
  .desk-nav { display: flex; }
  .desk-only { display: inline-flex; }
  .desk-call { display: inline-flex; }
  .mobile-actions { display: none; }
  .mobile-bottom-bar { display: none; }
  body.has-mobile-bar { padding-bottom: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-accent-2-900); color: var(--color-neutral-300); padding: clamp(30px, 4vw, 54px) 0 clamp(24px, 3vw, 40px); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid h6, .footer-grid .eyebrow { margin: 0 0 12px; color: var(--color-sand); }
.footer-brand { margin-bottom: 14px; }
.footer-brand img { height: 58px; width: auto; display: block; max-width: 100%; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 15.5px; color: var(--color-neutral-300); text-decoration: none; }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.footer-hours span:last-child { color: #fff; }
.footer-hours-note { font-size: 14px; line-height: 1.5; color: var(--color-neutral-300); margin: 12px 0 0; }
.footer-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-pills span { font-size: 13.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--color-accent-2-700); }
.footer-areas { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-areas a { font-size: 14.5px; color: var(--color-neutral-300); text-decoration: none; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--color-accent-2-700); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--color-neutral-400); }
.footer-credit { display: flex; align-items: center; }
.footer-credit img { height: 30px; width: auto; opacity: 0.92; transition: opacity 0.15s; }
.footer-credit a { display: inline-flex; }
.footer-credit a:hover img { opacity: 1; }

/* ==========================================================================
   Shared content patterns
   ========================================================================== */
.hero-band { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 68px) 0 clamp(26px, 4vw, 54px); }
.hero-circle { position: absolute; right: -140px; top: -170px; width: 380px; height: 380px; border-radius: 50%; background: var(--color-accent-2-200); z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 52px); align-items: center; }
.hero-copy { flex: 1 1 400px; min-width: 280px; }
.hero-media { flex: 1 1 380px; min-width: 280px; }
.hero-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--color-neutral-800); }

.section { padding: clamp(30px, 4vw, 58px) 0; }
.section-surface { background: var(--color-surface); }
.section-tight-top { padding-top: 0; }
.section-tight-bottom { padding-bottom: 0; }

.page-lede { background: var(--color-surface); padding: clamp(24px, 3.5vw, 54px) 0 clamp(22px, 3vw, 44px); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--color-neutral-700); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--color-neutral-700); text-decoration: none; }
/* the "/" separators — decorative only, so the muted accent is fine here */
.crumbs > span:not(:last-child) { color: var(--color-river); }

.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid.tight { gap: 12px; }
.link-card { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-bg); text-decoration: none; color: var(--color-text); }
.link-card .n { font-family: var(--font-heading); font-size: 18px; }
.link-card .d { font-size: 14px; color: var(--color-neutral-700); }
.link-card.on-surface { background: var(--color-surface); }

.condition-card { text-decoration: none; color: var(--color-text); gap: 6px; }
.condition-card .n { font-size: 19px; }
.condition-card .d { font-size: 14.5px; line-height: 1.5; color: var(--color-neutral-800); }
.condition-card .more { font-size: 14px; color: var(--color-accent-700); font-weight: 600; margin-top: 4px; }

.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.team-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); text-decoration: none; color: var(--color-text); box-shadow: var(--shadow-sm); }
.team-card .photo { height: 230px; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.team-card .name { font-family: var(--font-heading); font-size: 21px; }
.team-card .years { font-size: 14px; color: var(--color-accent-700); font-weight: 600; }
.team-card .short { font-size: 15px; line-height: 1.5; color: var(--color-neutral-800); }
.team-card .more { font-size: 14.5px; color: var(--color-accent-700); font-weight: 600; margin-top: 4px; }

.icbc-callout { background: var(--color-accent-2-800); color: var(--color-accent-2-100); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); }
.icbc-callout h6, .icbc-callout .eyebrow { color: var(--color-sand); }
.icbc-callout h2 { color: #fff; }
.icbc-steps { flex: 1 1 260px; min-width: 240px; display: flex; flex-direction: column; gap: 12px; }
.icbc-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,0.09); }
.icbc-step .num { font-family: var(--font-heading); font-size: 19px; color: var(--color-sand); }

.service-row { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-bg); text-decoration: none; color: var(--color-text); }
.service-row .n { font-family: var(--font-heading); font-size: 18px; }
.service-row .d { font-size: 14px; color: var(--color-neutral-700); }

.blurb-box { padding: 22px; border-radius: var(--radius-lg); background: var(--color-surface); }
.blurb-box.accent2 { background: var(--color-accent-2-100); }
.blurb-box.accent2-dark { background: var(--color-accent-2-800); color: var(--color-accent-2-100); }
.blurb-box.accent-outline { border: 1px solid var(--color-sand); background: var(--color-accent-100); }
.blurb-box h6, .blurb-box .eyebrow { margin: 0 0 10px; }

.hours-row { display: flex; justify-content: space-between; gap: 14px; font-size: 15.5px; }

.post-card { text-decoration: none; color: var(--color-text); padding: 22px; }
.post-card .n { font-size: 19px; line-height: 1.25; }

.book-cta { margin: clamp(34px, 4vw, 64px) 0 0; padding: clamp(28px, 4vw, 56px) 0; background: var(--color-surface); }
.book-cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* Generic content page (services / conditions / insurance / neighbourhoods / pillar / about) */
.content-layout { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 54px); padding: clamp(26px, 3.5vw, 50px) 0 0; }
.content-main { flex: 1 1 460px; min-width: 280px; }
.content-aside { flex: 1 1 280px; min-width: 260px; display: flex; flex-direction: column; gap: 16px; }
.content-block { margin-bottom: 34px; }
.content-block h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; margin: 0 0 14px; }
.content-block p { font-size: 17.5px; line-height: 1.68; max-width: 66ch; margin: 0 0 16px; }
.content-block ul { max-width: 64ch; }
.content-block li { font-size: 17px; line-height: 1.6; }

/* Main prose lives in real post_content (block editor), styled to match
   the same rhythm as the structural .content-block sections above. */
.entry-content h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; margin: 34px 0 14px; }
.entry-content > h2:first-child, .entry-content > *:first-child h2 { margin-top: 0; }
.entry-content p { font-size: 17.5px; line-height: 1.68; max-width: 66ch; margin: 0 0 16px; }
.entry-content ul, .entry-content ol { max-width: 64ch; margin: 0 0 16px; }
.entry-content li { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.entry-content > *:last-child { margin-bottom: 0; }
.bio-content p { font-size: 17.5px; line-height: 1.68; max-width: 64ch; margin: 0 0 16px; }
.aside-rows { display: flex; flex-direction: column; gap: 12px; }
.aside-rows .k { font-size: 13.5px; letter-spacing: 0.02em; }
.aside-rows .v { font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq-item { padding: 18px 20px; border-radius: var(--radius-md); background: var(--color-surface); }
.faq-item .q { font-family: var(--font-heading); font-size: 18px; margin-bottom: 6px; }
.faq-item .a { font-size: 16.5px; line-height: 1.6; color: var(--color-neutral-800); }
.suits-list, .related-list { margin: 0; padding-left: 20px; }
.suits-list li::marker, .related-list li::marker { color: var(--color-river); }
.suits-list li { font-size: 16px; line-height: 1.5; }
.related-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related-list a { font-size: 16px; }

@media (max-width: 640px) {
  .content-layout { flex-direction: column; }
}

/* ==========================================================================
   Contact form (Contact Form 7), styled to match the design system
   ========================================================================== */
.wpcf7-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.wpcf7-form p { margin: 0; }
.wpcf7-form label { display: block; font-size: 13px; margin-bottom: 6px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea {
  width: 100%; min-height: 48px; padding: 10px 16px; font: inherit; font-size: 16px;
  color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-md); box-sizing: border-box;
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; padding-top: 12px; }
.wpcf7-form input:focus-visible, .wpcf7-form textarea:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 0; border-color: var(--color-accent); }
.wpcf7-list-item { display: block; margin: 0 0 4px; }
.wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--color-text); cursor: pointer; }
.wpcf7-list-item input[type="checkbox"] { margin-top: 4px; flex: none; width: 18px; height: 18px; accent-color: var(--color-accent-700); }
.wpcf7-form input.wpcf7-submit {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; border: 0; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; color: #fff; background: var(--color-accent-700); border-radius: 999px; padding: 14px 28px;
}
.wpcf7-form input.wpcf7-submit:hover { background: var(--color-accent-800); }
.wpcf7-form input.wpcf7-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.wpcf7-not-valid-tip { color: #b3261e; font-size: 13px; margin-top: 4px; }
.wpcf7-response-output { border-radius: var(--radius-md); padding: 12px 16px; font-size: 15px; border: 1px solid var(--color-divider); }
.wpcf7-mail-sent-ok { border-color: var(--color-accent-2-500); background: var(--color-accent-2-100); color: var(--color-accent-2-900); }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng, .wpcf7-aborted { border-color: #b3261e; background: #fdecea; color: #611a15; }
.wpcf7-spinner { display: none; }
