/* Counseling 360 — design tokens.
   Mirrors design/_kit.mjs. Three tones were darkened from the live site's
   palette to clear WCAG AA for text; the hues are unchanged. */

/* ==================================================================== scale
   Fluid tokens. One arithmetic for all of them, anchored 360px -> 1280px:

     slope     = (max - min) / 920
     vw        = slope x 100
     intercept = min - slope x 360
     token     = clamp(min, intercept + vw x 1vw, max)

   Every max end is the value the site was already shipping, so desktop
   (>=1280px) is pixel-identical and only tablet/mobile move. Type is in rem so
   it respects the user's font-size preference; spacing and radius are in px
   because they are structural.

   T-shirt names, not tag names: a tag BINDS to a step, it does not own it.
   The Elementor Kit consumes these through the custom unit -
   {"unit":"custom","size":"var(--heading-l)"} - see wp/bootstrap/03-elementor-kit.php. */

:root {
  /* -- type: headings ---------------------------------------------------- */
  --heading-xl:   clamp(2.5000rem, 1.9130rem + 2.6087vw, 4.0000rem);         /*   40 ->   64px  Hero H1 - c360hero */
  --heading-l:    clamp(2.1250rem, 1.6359rem + 2.1739vw, 3.3750rem);         /*   34 ->   54px  H1 - c360h1 */
  --heading-m:    clamp(1.7500rem, 1.4565rem + 1.3043vw, 2.5000rem);         /*   28 ->   40px  H2 */
  --heading-s:    clamp(1.3125rem, 1.2391rem + 0.3261vw, 1.5000rem);         /*   21 ->   24px  H3 */
  --heading-xs:   clamp(1.1875rem, 1.1386rem + 0.2174vw, 1.3125rem);         /*   19 ->   21px  H4, card title - c360card */
  --heading-2xs:  clamp(1.0625rem, 1.0380rem + 0.1087vw, 1.1250rem);         /*   17 ->   18px  H5 */
  --heading-3xs:  1.0000rem;                                                 /*   16 ->   16px  H6 - flat */

  /* -- type: body -------------------------------------------------------
     The bottom of the scale is hand-flattened rather than derived. Pure
     geometry produces silly values at small sizes, and a static floor also
     protects the accessibility minimum. --body-field stays at 16px in both
     directions because below 16px iOS Safari zooms the page on focus. */
  --body-l:       clamp(1.1250rem, 1.0761rem + 0.2174vw, 1.2500rem);         /*   18 ->   20px  Lede - c360lede */
  --body-m:       clamp(1.0000rem, 0.9755rem + 0.1087vw, 1.0625rem);         /*   16 ->   17px  Body - site default */
  --body-field:   1.0000rem;                                                 /*   16 ->   16px  Form fields - flat */
  --body-s:       0.9375rem;                                                 /*   15 ->   15px  UI / Button - flat */
  --body-xs:      0.8750rem;                                                 /*   14 ->   14px  Small - c360small - flat */
  --body-2xs:     0.7500rem;                                                 /*   12 ->   12px  Eyebrow - c360eyeb - flat */

  /* -- spacing ----------------------------------------------------------
     Raw ranges under self-documenting names, t-shirt aliases on top. The
     indirection earns its keep: the raw name states the px range at a glance,
     and re-pointing --space-m at a different range is a one-line change.
     Maxes are harvested from the values actually in use, not invented. */
  --fluid-6-10:   clamp(6px, 4.4348px + 0.4348vw, 10px);                    /* label -> value */
  --fluid-10-14:  clamp(10px, 8.4348px + 0.4348vw, 14px);                   /* the commonest gap */
  --fluid-14-20:  clamp(14px, 11.6522px + 0.6522vw, 20px);
  --fluid-18-26:  clamp(18px, 14.8696px + 0.8696vw, 26px);
  --fluid-24-34:  clamp(24px, 20.0870px + 1.0870vw, 34px);
  --fluid-32-46:  clamp(32px, 26.5217px + 1.5217vw, 46px);
  --fluid-44-76:  clamp(44px, 31.4783px + 3.4783vw, 76px);                  /* the commonest section padding */
  --fluid-56-96:  clamp(56px, 40.3478px + 4.3478vw, 96px);

  /* Eight steps, not the seven the brief calls ideal. The extra one is at the
     bottom and it is evidence, not fudge: 20 gaps across 8 documents sit in the
     4-10px band - label above value, name above role, the crisis note - and
     forcing all of them up to 14 visibly loosens every detail block on the
     site. Two independent migrations flagged the same snap. */
  --space-3xs:  var(--fluid-6-10);
  --space-2xs:  var(--fluid-10-14);
  --space-xs:   var(--fluid-14-20);
  --space-s:    var(--fluid-18-26);
  --space-m:    var(--fluid-24-34);
  --space-l:    var(--fluid-32-46);
  --space-xl:   var(--fluid-44-76);
  --space-2xl:  var(--fluid-56-96);

  /* -- radius -----------------------------------------------------------
     Fluid, floored at ~67% of desktop: a 24px radius on a 360px screen reads
     as a blob, so scaling holds the PROPORTION of the corner constant rather
     than the measurement. Anchored on the three radii already shipping
     (card 14, input 8, pill 999). */
  --radius-2xs:   clamp(2.68px, 2.1635px + 0.1435vw, 4px);                 /*  2.68 ->  4px  tags, chips */
  --radius-xs:    clamp(5.36px, 4.3270px + 0.2870vw, 8px);                 /*  5.36 ->  8px  inputs, form fields */
  --radius-s:     clamp(9.38px, 7.5722px + 0.5022vw, 14px);                /*  9.38 -> 14px  cards - today's --c360-radius-card */
  --radius-m:     clamp(12.06px, 9.7357px + 0.6457vw, 18px);               /* 12.06 -> 18px  images, inset panels */
  --radius-l:     clamp(16.08px, 12.9809px + 0.8609vw, 24px);              /* 16.08 -> 24px  wide section blocks */
  --radius-pill:  999px;                                                   /* buttons, pills - unchanged */
  --radius-round: 50%;                                                     /* avatars, dots */

  /* -- shadow -----------------------------------------------------------
     Never black: tinted with --c360-teal-deep #355357 = rgb(53, 83, 87).
     DEFINED BUT NOT APPLIED. This design separates surfaces with hairlines,
     not elevation; the ramp exists so that a component which one day needs a
     shadow reaches for a step instead of inventing one. If you find yourself
     applying one of these site-wide, that is a design decision, not a tidy-up. */
  --shadow-1: 0 1px  2px  rgba(53, 83, 87, 0.10);   /* hairline rest */
  --shadow-2: 0 5px  15px rgba(53, 83, 87, 0.12);   /* cards */
  --shadow-3: 0 10px 24px rgba(53, 83, 87, 0.14);   /* raised / hover */
  --shadow-4: 0 15px 30px rgba(53, 83, 87, 0.18);   /* popovers, floats */
  --shadow-5: 0 30px 60px rgba(53, 83, 87, 0.22);   /* modals, high float */

  /* -- motion ------------------------------------------------------------
     The prefers-reduced-motion block further down already neutralises every
     duration site-wide; these name the curves so components stop inventing
     their own. */
  --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);      /* decelerate - the default */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.40, 0.64, 1);   /* faint overshoot */
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* -- focus -------------------------------------------------------------
     --c360-teal #456b71 = rgb(69, 107, 113). */
  --focus-ring-color:  var(--c360-teal);
  --focus-ring-width:  2px;
  --focus-ring-offset: 3px;
  --focus-ring:        0 0 0 3px rgba(69, 107, 113, 0.35);
}

:root {
  /* ink */
  --c360-ink:        #212121;  /* --dark / --base on the live site */
  --c360-ink-soft:   #535353;  /* --gray400 */
  --c360-ink-mute:   #6b6b6b;  /* was #858585 — failed AA at 3.69:1 */

  /* teal */
  --c360-teal:       #456b71;  /* was #628d93 — failed AA at 3.65:1 */
  --c360-teal-hover: #38585e;
  --c360-teal-deep:  #355357;  /* --primary700 */
  --c360-teal-light: #99b7bb;  /* --primary / --secondary */
  --c360-teal-pale:  #cbe9ed;  /* --primary400 */

  /* green */
  --c360-sage:       #8bac90;  /* --success */
  --c360-sage-deep:  #4a6d50;  /* was #709976 — failed AA at 3.23:1 */
  --c360-green-pale: #d8e8d2;  /* --lightgray */
  --c360-green-wash: #e5ede3;
  --c360-cream:      #f7f8f4;
  --c360-white:      #ffffff;

  /* lines */
  --c360-line:       #e4eae1;  /* decorative hairlines — exempt from 1.4.11 */
  --c360-line-soft:  #eef2ec;  /* design/_kit.mjs lineSoft — section dividers.
                                  Was never defined: .c360-locfoot below has been
                                  living off the var() fallback since it was written. */
  --c360-fact-rule:  #b4c8b7;  /* _builder.py FACT_RULE — the key-facts rule */
  --c360-border-ui:  #6b8079;  /* functional borders: inputs, filter chips */

  /* type */
  --c360-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --c360-sans:  'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* shape — aliases onto the fluid radius scale above. The names are kept
     because 534 lines of block CSS below reference them; the values now shrink
     on small screens and are unchanged at desktop. */
  --c360-radius-card:  var(--radius-s);   /* was 14px  — 14px at >=1280 */
  --c360-radius-input: var(--radius-xs);  /* was 8px   —  8px at >=1280 */
  --c360-radius-pill:  var(--radius-pill);/* 999px, flat */
}

/* Nothing above weight 500 anywhere — this is the client's central ask. */
body, p, li, td, th { font-family: var(--c360-sans); font-weight: 300; }
strong, b { font-weight: 500; }

/* Elementor emits `font-family: "Newsreader", Sans-serif` on bare h1–h6 — the
   wrong generic for a serif, so a slow font load reflows into Arial. Matching
   at (0,0,2) wins on specificity rather than load order, and stays overridable
   from the Elementor UI (widget rules use classes, which outrank this). */
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--c360-serif);
  font-weight: 500;
}

/* WCAG 2.2 SC 2.4.11 / 2.4.13 — Elementor's focus styles are inconsistent. */
/* :where() drops this to specificity 0, so any component can override the ring
   without a fight. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: 2px;
}

/* ...but the :where() rule above cannot be the whole story here.
   hello-elementor's assets/css/reset.css ships its own BLACK ring:

     a:focus-visible, button:focus-visible, input:focus-visible,
     select:focus-visible, textarea:focus-visible
       { box-shadow: 0 0 0 4px #fff; outline: 2px solid #000; outline-offset: 2px }

   That is (0,1,1). A :where() rule is (0,1,0), so it loses on specificity no
   matter that tokens.css loads twelve stylesheets later — every link, button
   and input on the site would quietly go back to a black ring. Before the
   :where() rewrap this file matched the reset's specificity exactly and won on
   source order, which is why the teal ring has been correct until now.

   So: re-assert the ring against precisely the reset's selector list, and only
   for the outline properties, so the reset's white 4px halo keeps rendering the
   way it always has. If hello-elementor ever drops that reset, delete this
   block and the :where() rule above stands on its own.

   Deliberately NOT included: [tabindex]. The reset matches it at
   [tabindex]:not([tabindex="-1"]):focus-visible, which is (0,2,1) and has been
   out-ranking this file since before the token work — so bare [tabindex]
   elements already render the black ring today. Fixing that is an
   accessibility change, not a structural one, and does not belong in this
   commit. Raised separately. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: 2px;
}

/* Functional borders must clear 3:1. */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea,
.gform_wrapper select,
.elementor-field-textual {
  border: 1px solid var(--c360-border-ui) !important;
  border-radius: var(--c360-radius-input) !important;
}

/* Desktop nav links need a 44px target, not a 26px one. */
.c360-nav .elementor-item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  header, footer, .c360-no-print { display: none !important; }
  body { color: #000; }
}

/* ---------------------------------------------------------- content card --
   The whole card is the click target, but the anchor lives on the heading so
   it has a real accessible name (the post title) rather than being an empty
   overlay. Elementor's own container link does not render reliably with
   e_optimized_markup active, so this is deliberate rather than a workaround. */
[data-c360="card"] { position: relative; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
[data-c360="card"]:hover { border-color: var(--c360-teal-light); box-shadow: 0 10px 30px -18px rgba(53, 83, 87, .4); transform: translateY(-2px); }
[data-c360="card"] .elementor-heading-title a { color: inherit; text-decoration: none; }
[data-c360="card"] .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
[data-c360="card"]:focus-within { outline: 2px solid var(--c360-teal); outline-offset: 3px; }
[data-c360="card"] .elementor-heading-title a:focus-visible { outline: none; }

/* ============================================================== blocks ====
   Styling for inc/blocks.php — the ACF repeater renderers. Values are lifted
   from the design canvas (design/_cpt.mjs), not re-invented here. */

/* -- breadcrumb ---------------------------------------------------------- */
.c360-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px; line-height: 1.6;
}
.c360-crumb a { color: var(--c360-ink-mute); text-decoration: none; }
.c360-crumb a:hover { color: var(--c360-teal); }
.c360-crumb [aria-current="page"] { color: var(--c360-teal-deep); }
.c360-crumb__sep { color: var(--c360-line); }

/* -- key facts ----------------------------------------------------------- */
.c360-facts { display: flex; flex-wrap: wrap; gap: 28px; }
.c360-fact {
  display: flex; flex-direction: column; gap: 5px;
  padding-left: 28px; border-left: 1px solid rgba(112, 153, 118, .28);
}
.c360-fact:first-child { padding-left: 0; border-left: 0; }
.c360-fact__label {
  font-family: var(--c360-sans); font-weight: 500; font-size: 11.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--c360-sage-deep);
}
.c360-fact__value {
  font-family: var(--c360-sans); font-weight: 400; font-size: 15px;
  line-height: 1.5; color: var(--c360-ink);
}

/* -- on this page -------------------------------------------------------- */
.c360-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.c360-toc__label {
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px;
  color: var(--c360-ink-mute); margin-right: 6px;
}
.c360-jump {
  display: inline-flex; align-items: center; min-height: 40px;
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px;
  color: var(--c360-teal-deep); background: var(--c360-white);
  border: 1px solid var(--c360-line); border-radius: var(--c360-radius-pill);
  padding: 9px 18px; text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.c360-jump:hover { border-color: var(--c360-teal-light); color: var(--c360-teal); }

/* -- icon cards ---------------------------------------------------------- */
.c360-cards { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c360-cards[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.c360-cards[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c360-cards[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c360-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 28px 30px; background: var(--c360-white);
  border: 1px solid var(--c360-line); border-radius: 16px;
}
.c360-card__title {
  font-family: var(--c360-serif); font-weight: 500; font-size: 21px;
  line-height: 1.3; color: var(--c360-ink); margin: 0;
}
.c360-card__body, .c360-card__body p {
  font-family: var(--c360-sans); font-weight: 300; font-size: 15.5px;
  line-height: 1.72; color: var(--c360-ink-soft); margin: 0;
}

/* -- numbered steps ------------------------------------------------------ */
.c360-steps {
  display: grid; gap: 22px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.c360-steps[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.c360-steps[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c360-steps[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c360-step {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px 30px; background: var(--c360-cream);
  border: 1px solid var(--c360-line); border-radius: 16px;
}
.c360-step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--c360-radius-pill);
  background: var(--c360-teal-deep); color: var(--c360-white);
  font-family: var(--c360-sans); font-weight: 500; font-size: 14px;
}
.c360-step__title {
  font-family: var(--c360-serif); font-weight: 500; font-size: 20px;
  line-height: 1.3; color: var(--c360-ink); margin: 0;
}
.c360-step__body, .c360-step__body p {
  font-family: var(--c360-sans); font-weight: 300; font-size: 15.5px;
  line-height: 1.72; color: var(--c360-ink-soft); margin: 0;
}

/* -- FAQ -----------------------------------------------------------------
   <details>/<summary> rather than scripted panels: keyboard-operable and
   screen-reader-correct with no JS, and the answers stay in the DOM whether
   open or shut, so they remain crawlable. */
.c360-faq { display: flex; flex-direction: column; border-top: 1px solid var(--c360-line); }
.c360-faq__item { border-bottom: 1px solid var(--c360-line); }
.c360-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 52px; padding: 22px 4px 22px 0; cursor: pointer; list-style: none;
  font-family: var(--c360-serif); font-weight: 500; font-size: 21px;
  line-height: 1.35; color: var(--c360-ink);
}
.c360-faq__q::-webkit-details-marker { display: none; }
.c360-faq__q:focus-visible { outline: 2px solid var(--c360-teal); outline-offset: 3px; border-radius: 2px; }
/* The +/− is a state indicator, so it carries a 4.5:1 colour, not a hairline. */
.c360-faq__mark { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.c360-faq__mark::before, .c360-faq__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--c360-teal); border-radius: 1px;
  transform: translate(-50%, -50%);
}
.c360-faq__mark::before { width: 14px; height: 1.3px; }
.c360-faq__mark::after  { width: 1.3px; height: 14px; transition: opacity .2s ease; }
.c360-faq__item[open] .c360-faq__mark::after { opacity: 0; }
.c360-faq__a { padding: 0 60px 26px 0; max-width: 860px; }
.c360-faq__a, .c360-faq__a p {
  font-family: var(--c360-sans); font-weight: 300; font-size: 17px;
  line-height: 1.72; color: var(--c360-ink-soft);
}
.c360-faq__a p { margin: 0 0 14px; }
.c360-faq__a p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .c360-cards, .c360-steps { grid-template-columns: minmax(0, 1fr) !important; }
  .c360-facts { gap: 18px; }
  .c360-fact { padding-left: 0; border-left: 0; }
  .c360-faq__a { padding-right: 0; }
}

/* -- plain lists --------------------------------------------------------- */
.c360-list { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; max-width: 760px; }
.c360-list li {
  position: relative; padding-left: 18px;
  font-family: var(--c360-sans); font-weight: 300; font-size: 17px;
  line-height: 1.72; color: var(--c360-ink-soft);
}
.c360-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 5px; height: 5px; border-radius: var(--c360-radius-pill); background: var(--c360-sage);
}

/* -- prose from a wysiwyg field ------------------------------------------ */
.c360-prose { max-width: 760px; }
.c360-prose p {
  font-family: var(--c360-sans); font-weight: 300; font-size: 17px;
  line-height: 1.72; color: var(--c360-ink-soft); margin: 0 0 16px;
}
.c360-prose p:last-child { margin-bottom: 0; }

/* -- image from an ACF field --------------------------------------------- */
.c360-image { margin: 0; }
.c360-image__img {
  display: block; width: 100%; height: auto;
  border-radius: var(--c360-image-radius, 18px);
}

/* -- optional sections ---------------------------------------------------
   Elementor cannot hide a container when a field is empty, and a heading
   standing over nothing is worse than no section. Every block renderer above
   returns an empty string when its field is empty and tags its root with
   .c360-block, so a section marked .c360-optional that contains no block
   collapses entirely. */
[data-c360="optional"]:not(:has(.c360-block)) { display: none !important; }

/* -- icon rows -----------------------------------------------------------
   An icon beside a run of copy. The row is align-items: flex-start so the glyph
   stays with the FIRST line when the text wraps — but flex-start aligns the
   icon's box to the top of the text block, and a 17px glyph in a ~26px line box
   then floats above the line it belongs to.

   Giving the icon a box one line high and centring the glyph inside it puts it
   on the first line's optical centre and keeps it there at any wrap. `1lh` is
   the row's own line box; the em fallback is the Kit's body line-height for
   anything that does not support the unit yet. */
.c360-iconrow > .elementor-widget-c360-icon {
  align-self: flex-start;
  display: flex;
  align-items: center;
  min-height: 1.72em;
  min-height: 1lh;
}

/* -- pills --------------------------------------------------------------- */
.c360-pills { display: flex; flex-direction: column; gap: 10px; }
.c360-pills__label {
  font-family: var(--c360-sans); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--c360-teal);
}
.c360-pills__row { display: flex; flex-wrap: wrap; gap: 8px; }
.c360-pill {
  display: inline-flex; align-items: center; min-height: 40px;
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px;
  color: var(--c360-teal-deep); background: var(--c360-white);
  border: 1px solid var(--c360-line); border-radius: var(--c360-radius-pill);
  padding: 9px 18px; text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.c360-pill:hover { border-color: var(--c360-teal-light); color: var(--c360-teal); }

/* -- availability -------------------------------------------------------- */
.c360-availability {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 24px; background: var(--c360-cream);
  border: 1px solid var(--c360-line); border-radius: var(--c360-radius-card);
}
.c360-availability__state {
  font-family: var(--c360-sans); font-weight: 500; font-size: 15px;
  line-height: 1.4; color: var(--c360-ink-mute);
}
.c360-availability.is-open .c360-availability__state { color: var(--c360-sage-deep); }
.c360-availability__note {
  font-family: var(--c360-sans); font-weight: 300; font-size: 15px;
  line-height: 1.6; color: var(--c360-ink-soft);
}

/* -- archive head -------------------------------------------------------- */
.c360-archive-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.c360-archive-head__title {
  font-family: var(--c360-serif); font-weight: 500; font-size: 54px;
  line-height: 1.14; letter-spacing: -.012em; color: var(--c360-ink);
  margin: 0; text-wrap: pretty;
}
.c360-archive-head__intro, .c360-archive-head__intro p {
  font-family: var(--c360-sans); font-weight: 300; font-size: 20px;
  line-height: 1.65; color: var(--c360-ink-soft); margin: 0;
}
@media (max-width: 767px) {
  .c360-archive-head__title { font-size: 36px; }
}

/* -- archive search ------------------------------------------------------ */
.c360-archsearch {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; width: 100%;
}
.c360-archsearch[hidden] { display: none; }
.c360-archsearch__field {
  display: flex; align-items: center; gap: 12px;
  width: 380px; max-width: 100%; height: 52px; padding: 0 18px;
  background: var(--c360-white); border: 1px solid var(--c360-border-ui);
  border-radius: var(--c360-radius-pill); color: var(--c360-teal);
}
.c360-archsearch__field:focus-within { outline: 2px solid var(--c360-teal); outline-offset: 2px; }
.c360-archsearch__field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  font-family: var(--c360-sans); font-weight: 300; font-size: 16px; color: var(--c360-ink);
}
.c360-archsearch__field input::placeholder { color: var(--c360-ink-mute); opacity: 1; }
.c360-archsearch__count {
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px; color: var(--c360-ink-mute);
}
.c360-archsearch__empty {
  font-family: var(--c360-sans); font-weight: 300; font-size: 17px;
  line-height: 1.72; color: var(--c360-ink-soft);
  padding: 40px 0 10px; text-align: center;
}

/* -- insurance carriers -------------------------------------------------- */
.c360-carriers {
  display: grid; gap: 16px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.c360-carriers[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c360-carriers[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c360-carrier {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; background: var(--c360-white);
  border: 1px solid var(--c360-line); border-radius: 12px;
  font-family: var(--c360-sans); font-weight: 400; font-size: 15.5px;
  line-height: 1.35; color: var(--c360-ink);
}
.c360-carrier svg { flex-shrink: 0; color: var(--c360-sage); }
@media (max-width: 1024px) { .c360-carriers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 767px)  { .c360-carriers { grid-template-columns: minmax(0, 1fr) !important; } }

/* -- text link with arrow ------------------------------------------------ */
.c360-textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font-family: var(--c360-sans); font-weight: 500; font-size: 15px;
  color: var(--c360-teal); text-decoration: none;
}
.c360-textlink + .c360-textlink { margin-left: 24px; }
.c360-textlink::after {
  content: ""; width: 15px; height: 15px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--c360-arrow) center / contain no-repeat;
  mask: var(--c360-arrow) center / contain no-repeat;
}
.c360-textlink:hover { color: var(--c360-teal-deep); }
:root {
  --c360-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* -- location cards ------------------------------------------------------ */
.c360-locnum {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--c360-serif); font-weight: 500; font-size: 25px;
  line-height: 1.25; color: var(--c360-ink);
}
.c360-locnum span {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--c360-radius-pill);
  background: var(--c360-teal-deep); color: var(--c360-white);
  font-family: var(--c360-sans); font-weight: 500; font-size: 13px;
}
.c360-locfoot {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--c360-line-soft, #eef2ec);
}
.c360-locfoot > span {
  font-family: var(--c360-sans); font-weight: 400; font-size: 14px;
  color: var(--c360-ink-mute);
}

/* -- copy placeholder ---------------------------------------------------- */
.c360-placeholder {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--c360-sans); font-weight: 400; font-size: 12.5px;
  letter-spacing: .06em; color: var(--c360-sage-deep);
  background: var(--c360-green-pale); border-radius: var(--c360-radius-pill);
  padding: 6px 14px;
}

/* -- article body -------------------------------------------------------
   Blog posts are written in the normal WordPress editor, so the styling has to
   come from here rather than from per-element settings in a builder. */
[data-c360="article"] p,
[data-c360="article"] li {
  font-family: var(--c360-sans); font-weight: 300; font-size: 17px;
  line-height: 1.72; color: var(--c360-ink-soft);
}
[data-c360="article"] p { margin: 0 0 20px; }
[data-c360="article"] h2 { font-size: 30px; margin: 40px 0 12px; }
[data-c360="article"] h3 { font-size: 23px; margin: 32px 0 10px; }
[data-c360="article"] ul,
[data-c360="article"] ol { margin: 0 0 20px; padding-left: 22px; }
[data-c360="article"] li { margin-bottom: 8px; }
[data-c360="article"] a { color: var(--c360-teal); text-decoration: underline; text-underline-offset: 2px; }
[data-c360="article"] a:hover { color: var(--c360-teal-deep); }
[data-c360="article"] img { max-width: 100%; height: auto; border-radius: var(--c360-radius-card); }
[data-c360="article"] blockquote {
  margin: 28px 0; padding: 4px 0 4px 24px;
  border-left: 2px solid var(--c360-sage);
  font-family: var(--c360-serif); font-size: 21px; line-height: 1.5; color: var(--c360-ink);
}


/* ============================================================ botanicals ==
   The drawn frond and sprig from design/_kit.mjs, as CSS masks so they can be
   coloured and placed without adding a widget to every section. Generated by
   design/_leafcss.mjs from the same geometry the canvas draws, so the two
   cannot drift.

   Purely decorative: pseudo-elements, so they are invisible to assistive tech
   by construction, and they carry no contrast requirement.

   Usage from a build script — one attribute on the section container:
     _attributes='data-c360-leaf|bottom-left'
     _attributes='data-c360-leaf|top-right bottom-left'
     _attributes='data-c360-leaf|top-right\ndata-c360-leaf-tone|pale'  */

:root {
  --c360-frond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='300' viewBox='0 0 220 300' fill='none' aria-hidden='true'%3E%3Cg transform='' %3E%3Cpath d='M110 300 C 110 240 108 176 100 118 C 96 90 90 66 82 44' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3C/path%3E%3Cg fill='%23000'%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(109.79 268) rotate(-0.78) translate(-3 0) scale(1 1)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(109.79 268) rotate(-0.78) translate(3 0) scale(-1 1)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(108.76 226) rotate(-2.11) translate(-4.6 0) scale(0.94 0.94)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(108.76 226) rotate(-2.11) translate(4.6 0) scale(-0.94 0.94)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(106.6 184) rotate(-3.86) translate(-6.2 0) scale(0.86 0.86)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(106.6 184) rotate(-3.86) translate(6.2 0) scale(-0.86 0.86)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(103.16 144) rotate(-6.06) translate(-7.8 0) scale(0.76 0.76)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(103.16 144) rotate(-6.06) translate(7.8 0) scale(-0.76 0.76)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(98.46 108) rotate(-9.41) translate(-9.4 0) scale(0.64 0.64)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(98.46 108) rotate(-9.41) translate(9.4 0) scale(-0.64 0.64)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(91.81 76) rotate(-14.22) translate(-11 0) scale(0.5 0.5)'%3E%3C/path%3E%3Cpath d='M0 0 C -20 -3 -32 -18 -30 -35 C -10 -32 2 -15 0 0 Z' transform='translate(91.81 76) rotate(-14.22) translate(11 0) scale(-0.5 0.5)'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --c360-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='18' viewBox='0 0 54 18' fill='none' aria-hidden='true'%3E%3Cpath d='M2 9h14M38 9h14' stroke='%23000' stroke-width='1' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M27 2 C 22 5 20 9 20 9 C 20 9 22 13 27 16 C 32 13 34 9 34 9 C 34 9 32 5 27 2 Z' stroke='%23000' stroke-width='1' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M27 2 V 16' stroke='%23000' stroke-width='0.8' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
}

/* .e-con is also (0,1,0) and sets overflow from a variable, so this selector is
   deliberately more specific — a frond escaping its section would give the whole
   page a horizontal scrollbar. */
[data-c360-leaf] { position: relative; overflow: hidden; }
.e-con[data-c360-leaf] { overflow: hidden; }
[data-c360-leaf]::before,
[data-c360-leaf]::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 340px;
  pointer-events: none;
  z-index: 0;
  background-color: var(--c360-sage-deep);
  opacity: .14;
  -webkit-mask: var(--c360-frond) center / contain no-repeat;
  mask: var(--c360-frond) center / contain no-repeat;
}

/* Anything the section puts inside itself sits above the leaves. */
[data-c360-leaf] > * { position: relative; z-index: 1; }

/* Off by default; each placement switches one on. */
[data-c360-leaf]::before,
[data-c360-leaf]::after { display: none; }

[data-c360-leaf~="top-left"]::before {
  display: block; left: -60px; top: -150px; transform: rotate(175deg);
}
[data-c360-leaf~="bottom-left"]::before {
  display: block; left: -56px; bottom: -140px;
}
[data-c360-leaf~="top-right"]::after {
  display: block; right: -40px; top: -160px; transform: rotate(168deg);
}
[data-c360-leaf~="bottom-right"]::after {
  display: block; right: -50px; bottom: -150px;
}

/* A lighter, larger frond for the dark footer. */
[data-c360-leaf-tone="pale"]::before,
[data-c360-leaf-tone="pale"]::after {
  background-color: var(--c360-teal-pale);
  opacity: .09;
  width: 300px;
  height: 410px;
}
/* Sage rather than sage-deep, for the cream bands. */
[data-c360-leaf-tone="light"]::before,
[data-c360-leaf-tone="light"]::after {
  background-color: var(--c360-sage);
  opacity: .18;
}
/* Smaller, for cards and inset panels rather than full sections. */
[data-c360-leaf-size="sm"]::before,
[data-c360-leaf-size="sm"]::after { width: 190px; height: 260px; }

@media (max-width: 767px) {
  /* Half the point of these is breathing room, which mobile does not have. */
  [data-c360-leaf]::before,
  [data-c360-leaf]::after { width: 170px; height: 230px; opacity: .1; }
}

/* -- the sprig, as a divider before an eyebrow --------------------------- */
/* align-items here is the *vertical* one — the sprig against the label. The
   horizontal side is align-self and justify-content, both pinned to the start:
   an eyebrow reads left, always. Worth stating rather than inheriting, because
   a grid section that centres its columns vertically writes --align-items, and
   custom properties inherit — so an eyebrow two levels down would quietly
   centre itself. */
[data-c360="eyebrow"] {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  text-align: left;
  gap: 12px;
}
[data-c360="eyebrow"]::before {
  content: "";
  flex-shrink: 0;
  width: 54px;
  height: 18px;
  background-color: var(--c360-sage);
  opacity: .65;
  -webkit-mask: var(--c360-sprig) center / contain no-repeat;
  mask: var(--c360-sprig) center / contain no-repeat;
}


/* ================================================================ utilities
   Applied through Elementor's CSS Classes control - key "css_classes" on
   containers, "_css_classes" on widgets. Generated mechanically from the
   tokens above, all !important so they reliably beat Elementor's per-widget
   inline-ish rules.

   Deliberately absent, and not to be added back:

     .fw-semibold / .fw-bold  - "nothing above weight 500" is the client's
       central ask. The utility layer must not hand anyone a way to break it.
     .text-{color} / .bg-{color} - colour goes through Elementor Global Colors
       (__globals__) so the Kit stays the single source of truth. A var() typed
       into a colour control bypasses that mapping and is a defect.

   Semantics stay on data-c360-* attributes (optional, leaf, leaf-tone,
   eyebrow, card, article); css_classes carries utilities only. Two different
   jobs - mixing them makes both harder to read. */

/* -- padding ------------------------------------------------------------ */
.p-3xs  { padding: var(--space-3xs) !important; }
.p-2xs  { padding: var(--space-2xs) !important; }
.p-xs   { padding: var(--space-xs) !important; }
.p-s    { padding: var(--space-s) !important; }
.p-m    { padding: var(--space-m) !important; }
.p-l    { padding: var(--space-l) !important; }
.p-xl   { padding: var(--space-xl) !important; }
.p-2xl  { padding: var(--space-2xl) !important; }

.px-3xs { padding-left: var(--space-3xs) !important; padding-right: var(--space-3xs) !important; }
.px-2xs { padding-left: var(--space-2xs) !important; padding-right: var(--space-2xs) !important; }
.px-xs  { padding-left: var(--space-xs) !important; padding-right: var(--space-xs) !important; }
.px-s   { padding-left: var(--space-s) !important; padding-right: var(--space-s) !important; }
.px-m   { padding-left: var(--space-m) !important; padding-right: var(--space-m) !important; }
.px-l   { padding-left: var(--space-l) !important; padding-right: var(--space-l) !important; }
.px-xl  { padding-left: var(--space-xl) !important; padding-right: var(--space-xl) !important; }
.px-2xl { padding-left: var(--space-2xl) !important; padding-right: var(--space-2xl) !important; }

.py-3xs { padding-top: var(--space-3xs) !important; padding-bottom: var(--space-3xs) !important; }
.py-2xs { padding-top: var(--space-2xs) !important; padding-bottom: var(--space-2xs) !important; }
.py-xs  { padding-top: var(--space-xs) !important; padding-bottom: var(--space-xs) !important; }
.py-s   { padding-top: var(--space-s) !important; padding-bottom: var(--space-s) !important; }
.py-m   { padding-top: var(--space-m) !important; padding-bottom: var(--space-m) !important; }
.py-l   { padding-top: var(--space-l) !important; padding-bottom: var(--space-l) !important; }
.py-xl  { padding-top: var(--space-xl) !important; padding-bottom: var(--space-xl) !important; }
.py-2xl { padding-top: var(--space-2xl) !important; padding-bottom: var(--space-2xl) !important; }

.pt-3xs { padding-top: var(--space-3xs) !important; }
.pt-2xs { padding-top: var(--space-2xs) !important; }
.pt-xs  { padding-top: var(--space-xs) !important; }
.pt-s   { padding-top: var(--space-s) !important; }
.pt-m   { padding-top: var(--space-m) !important; }
.pt-l   { padding-top: var(--space-l) !important; }
.pt-xl  { padding-top: var(--space-xl) !important; }
.pt-2xl { padding-top: var(--space-2xl) !important; }

.pb-3xs { padding-bottom: var(--space-3xs) !important; }
.pb-2xs { padding-bottom: var(--space-2xs) !important; }
.pb-xs  { padding-bottom: var(--space-xs) !important; }
.pb-s   { padding-bottom: var(--space-s) !important; }
.pb-m   { padding-bottom: var(--space-m) !important; }
.pb-l   { padding-bottom: var(--space-l) !important; }
.pb-xl  { padding-bottom: var(--space-xl) !important; }
.pb-2xl { padding-bottom: var(--space-2xl) !important; }

/* -- gap ----------------------------------------------------------------
   Must hit the element AND Elementor's inner wrapper: a boxed container puts
   its children inside .e-con-inner, so a gap on .e-con alone does nothing. */
.gap-3xs, .gap-3xs > .e-con-inner { gap: var(--space-3xs) !important; }
.gap-2xs, .gap-2xs > .e-con-inner { gap: var(--space-2xs) !important; }
.gap-xs, .gap-xs > .e-con-inner { gap: var(--space-xs) !important; }
.gap-s, .gap-s > .e-con-inner { gap: var(--space-s) !important; }
.gap-m, .gap-m > .e-con-inner { gap: var(--space-m) !important; }
.gap-l, .gap-l > .e-con-inner { gap: var(--space-l) !important; }
.gap-xl, .gap-xl > .e-con-inner { gap: var(--space-xl) !important; }
.gap-2xl, .gap-2xl > .e-con-inner { gap: var(--space-2xl) !important; }

/* -- radius --------------------------------------------------------------
   The image rules target the inner <img>: a radius on the wrapper does not
   clip the picture. */
.radius-2xs  { border-radius: var(--radius-2xs) !important; }
.radius-xs   { border-radius: var(--radius-xs) !important; }
.radius-s    { border-radius: var(--radius-s) !important; }
.radius-m    { border-radius: var(--radius-m) !important; }
.radius-l    { border-radius: var(--radius-l) !important; }
.radius-pill { border-radius: var(--radius-pill) !important; }
.radius-round { border-radius: var(--radius-round) !important; }

.elementor-widget-image.radius-2xs   img { border-radius: var(--radius-2xs) !important; }
.elementor-widget-image.radius-xs    img { border-radius: var(--radius-xs) !important; }
.elementor-widget-image.radius-s     img { border-radius: var(--radius-s) !important; }
.elementor-widget-image.radius-m     img { border-radius: var(--radius-m) !important; }
.elementor-widget-image.radius-l     img { border-radius: var(--radius-l) !important; }
.elementor-widget-image.radius-pill  img { border-radius: var(--radius-pill) !important; }

/* -- shadow --------------------------------------------------------------
   The ramp is available but nothing in this design applies it - see the note
   on --shadow-1..5 above. Same <img> reasoning as radius: a shadow on the
   wrapper traces the box, not the picture. */
.shadow-1 { box-shadow: var(--shadow-1) !important; }
.shadow-2 { box-shadow: var(--shadow-2) !important; }
.shadow-3 { box-shadow: var(--shadow-3) !important; }
.shadow-4 { box-shadow: var(--shadow-4) !important; }
.shadow-5 { box-shadow: var(--shadow-5) !important; }
.shadow-none { box-shadow: none !important; }

.elementor-widget-image[class*="shadow-"] { box-shadow: none !important; }
.elementor-widget-image.shadow-1 img { box-shadow: var(--shadow-1) !important; }
.elementor-widget-image.shadow-2 img { box-shadow: var(--shadow-2) !important; }
.elementor-widget-image.shadow-3 img { box-shadow: var(--shadow-3) !important; }
.elementor-widget-image.shadow-4 img { box-shadow: var(--shadow-4) !important; }
.elementor-widget-image.shadow-5 img { box-shadow: var(--shadow-5) !important; }
.elementor-widget-image.shadow-none img { box-shadow: none !important; }

/* -- type ----------------------------------------------------------------
   Must reach Elementor's inner nodes: a heading widget renders its text in
   .elementor-heading-title, so a font-size on the widget wrapper alone is
   inherited by neither that nor a text editor's <p>.

   .text-h-* deliberately targets HEADINGS ONLY — not `p`, and not the wrapper.
   It used to include both, which meant that on a Text Editor holding
   `<h2>…</h2><p>…</p>` (the §6.6 merge this whole methodology asks for) it sized
   the paragraph and left the heading at the Kit's step: exactly backwards. Two
   separate migrations hit that and had to leave the pair unmerged. The utility
   now means what its name says — "the heading in here is this step" — and a
   paragraph that genuinely needs a different size uses .text-body-*. */
.text-h-xl .elementor-heading-title,
.text-h-xl h1, .text-h-xl h2, .text-h-xl h3,
.text-h-xl h4, .text-h-xl h5, .text-h-xl h6 { font-size: var(--heading-xl) !important; }

.text-h-l .elementor-heading-title,
.text-h-l h1, .text-h-l h2, .text-h-l h3,
.text-h-l h4, .text-h-l h5, .text-h-l h6 { font-size: var(--heading-l) !important; }

.text-h-m .elementor-heading-title,
.text-h-m h1, .text-h-m h2, .text-h-m h3,
.text-h-m h4, .text-h-m h5, .text-h-m h6 { font-size: var(--heading-m) !important; }

.text-h-s .elementor-heading-title,
.text-h-s h1, .text-h-s h2, .text-h-s h3,
.text-h-s h4, .text-h-s h5, .text-h-s h6 { font-size: var(--heading-s) !important; }

.text-h-xs .elementor-heading-title,
.text-h-xs h1, .text-h-xs h2, .text-h-xs h3,
.text-h-xs h4, .text-h-xs h5, .text-h-xs h6 { font-size: var(--heading-xs) !important; }

.text-h-2xs .elementor-heading-title,
.text-h-2xs h1, .text-h-2xs h2, .text-h-2xs h3,
.text-h-2xs h4, .text-h-2xs h5, .text-h-2xs h6 { font-size: var(--heading-2xs) !important; }

.text-h-3xs .elementor-heading-title,
.text-h-3xs h1, .text-h-3xs h2, .text-h-3xs h3,
.text-h-3xs h4, .text-h-3xs h5, .text-h-3xs h6 { font-size: var(--heading-3xs) !important; }

.text-body-l,
.text-body-l .elementor-heading-title,
.text-body-l p { font-size: var(--body-l) !important; }

.text-body-m,
.text-body-m .elementor-heading-title,
.text-body-m p { font-size: var(--body-m) !important; }

.text-body-s,
.text-body-s .elementor-heading-title,
.text-body-s p { font-size: var(--body-s) !important; }

.text-body-xs,
.text-body-xs .elementor-heading-title,
.text-body-xs p { font-size: var(--body-xs) !important; }

.text-body-2xs,
.text-body-2xs .elementor-heading-title,
.text-body-2xs p { font-size: var(--body-2xs) !important; }

/* -- family and weight ---------------------------------------------------
   No .fw-semibold and no .fw-bold. See the header of this section. */
.font-serif, .font-serif .elementor-heading-title, .font-serif p { font-family: var(--c360-serif) !important; }
.font-sans,  .font-sans .elementor-heading-title,  .font-sans p  { font-family: var(--c360-sans) !important; }

.fw-light,   .fw-light .elementor-heading-title,   .fw-light p   { font-weight: 300 !important; }
.fw-regular, .fw-regular .elementor-heading-title, .fw-regular p { font-weight: 400 !important; }
.fw-medium,  .fw-medium .elementor-heading-title,  .fw-medium p  { font-weight: 500 !important; }

/* -- grid collapse guard -------------------------------------------------
   photo_slot() becomes a bare image widget bound to post-featured-image. With
   no featured image the widget renders no <img> at all, and a two-column grid
   is left holding an empty track. Dropping the grid to one column is the right
   failure mode; none of the six pages has a featured image today, so without
   this the refactor ships blank columns. */
/* Two things this selector has to get right, both of which failed silently in
   the first cut:

   1. On a BOXED grid the columns are not children of the element carrying the
      attribute — Elementor puts them inside .e-con-inner, which is also where
      the real track string lands (.e-con.e-grid > .e-con-inner). A plain
      `> .c360-media` can never match. On a FULL container there is no inner
      wrapper and the columns *are* direct children. Both shapes are needed.
   2. The generated per-element rule is
      `.elementor-29 .elementor-element.elementor-element-xxx` — three classes,
      (0,3,0). This guard does not out-rank that on its own, so the custom
      property is set !important. Without it the guard parses, matches, and
      still loses. */
[data-c360-grid]:has(> .e-con-inner > .c360-media:not(:has(img))),
[data-c360-grid]:has(> .c360-media:not(:has(img))) {
  --e-con-grid-template-columns: 1fr !important;
}
