/* ==========================================================================
   YourCareHome reskin layer — ONE design system sitewide (locked rule 12).
   Spec: mockups/brand-guidelines.html v3 (2 Jul 2026) — home = v52-wayfinder-clearing,
   listings = v1h-spotlight pair. Mono is RETIRED: numerals = Figtree + tabular-nums.
   Loads after style.css + assets/dist/header.css. New components are .ych-* namespaced;
   the base retheme (fonts/palette) intentionally cascades over parent + legacy child CSS.
   ========================================================================== */

:root{
  --mint:#b8efd9;      --mint-pale:#eafaf2;  --mint-deep:#0e7a55;  --mint-glow:#17c285;
  --ink:#13231c;       --ink-soft:#43564c;   --line:#dcebe2;
  --sun:#f5dd6d;       --sun-deep:#caa713;   --warn:#d99a1b;       --warn-pale:#faf0d8;
  --cream:#fbfdfb;     --radius:16px;
  /* --ych-green-text (F-015, Stephen 2026-09-04): lightest tint of the brand
     green hue that still clears WCAG AA (4.5:1) for small text/links against
     BOTH #fff and #f4f4f4 — #2e8a5f only reaches 4.27:1 / 3.88:1. Use for any
     small-text, link, eyebrow/tag/chip use of brand green; never for fills/
     backgrounds (those keep --mint-deep/--mint-glow). Also safe as a button
     fill under white text (6.0:1) where a badge/button needed darkening. */
  --ych-green-text:#24704c;      --ych-green-text-hover:#1d593c;
  /* Regulator rating colours (2026-10-13), defined ONCE here: results cards
     (.ych-rating--*) and the listing page key-question pills (listing.css
     .dom-pills .dp) both use them. --rating-X is the dot (>= 3:1 on #fff and
     on --mint-pale), --rating-X-text the word (>= 4.5:1 on both). CQC
     Outstanding / Good / Requires improvement / Inadequate; CIS 6 = outstanding,
     5-4 = good, 3 = ri, 2-1 = inadequate; CIW, RQIA and unrated = none.
     The word is always printed beside the colour. Checked by
     mu-plugins/ych-regression-extra-rating-colours.php. */
  --rating-outstanding:#0b5e78;  --rating-outstanding-text:#0b5e78;
  --rating-good:#0e7a55;         --rating-good-text:#24704c;
  --rating-ri:#b7791f;           --rating-ri-text:#8a5a00;
  --rating-inadequate:#c4553d;   --rating-inadequate-text:#a63d28;
  --rating-none:#7d8a83;         --rating-none-text:#56655d;
  --serif:'Bricolage Grotesque',sans-serif;  /* display */
  --sans:'Figtree',sans-serif;               /* UI + body */
  --quote:'Newsreader',serif;                /* quotes + emotional accents */
}

/* --------------------------------------------------------------------------
   00 · Accessibility: skip link + global focus-visible (F-017/F-018)
   style.css (root child-theme stylesheet, out of scope for this fix) sets
   `button{outline:none!important}` sitewide — a plain, non-!important
   :focus-visible rule can never win against it, so this one needs a matching
   !important plus a higher-specificity (pseudo-class) selector to take over
   for keyboard focus only; plain mouse-click focus is untouched.
   Form fields (input/select/textarea) are excluded from the ring below —
   the mint outline read as a jarring green box around search fields
   (Stephen 2026-09-10) — and get a quieter border+outline:none treatment
   instead, one rule down.
   -------------------------------------------------------------------------- */
.ych-skip-link{position:fixed;top:0;left:0;z-index:2000;transform:translateY(-120%);background:var(--ink);color:#fff;padding:12px 22px;font-weight:700;font-size:14.5px;text-decoration:none;border-radius:0 0 10px 0;transition:transform .15s ease}
.ych-skip-link:focus{transform:translateY(0)}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--mint-deep) !important;outline-offset:2px !important}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none !important;border-color:var(--mint-deep) !important;box-shadow:none !important}

/* --------------------------------------------------------------------------
   01 · Base typography + palette bridge
   -------------------------------------------------------------------------- */
body{
  font-family:var(--sans);
  color:var(--ink);
  background:#fff;
  font-size:17px;
  line-height:1.6;
}
h1,h2,h3,h4,h5,h6{
  font-family:var(--serif);
  color:var(--ink);
  font-weight:700;
  letter-spacing:-.015em;
}
button,input,select,textarea{font-family:var(--sans)}
/* Material icon fonts must never inherit the site face */
.mi,.material-icons,[class^="mi "],i.mi{font-family:'Material Icons' !important}

/* Legacy components that hardcoded Poppins */
body .elementor-widget-container,
body .elementor-widget-text-editor{font-family:var(--sans)}

.ych-num{font-variant-numeric:tabular-nums;font-weight:700}

/* --------------------------------------------------------------------------
   02 · Layout primitives
   -------------------------------------------------------------------------- */
.ych-wrap{max-width:1280px;margin:0 auto;padding:0 36px}
.ych-section{padding:84px 0}
.ych-band--pale{background:var(--mint-pale);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ych-band--ink{background:var(--ink);color:#fff}
.ych-band--sun{background:var(--sun)}
@media(max-width:600px){
  .ych-wrap{padding-left:18px;padding-right:18px}
  .ych-section{padding:56px 0}
}

/* Section head (asymmetric: title left, standfirst right) */
.ych-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:42px}
.ych-sec-head .ych-eyebrow{margin-bottom:12px}
.ych-sec-head h2{font-size:42px;font-weight:700;letter-spacing:-.015em;line-height:1.04;margin:0}
.ych-sec-head h2 em{font-style:normal;color:var(--mint-deep)}
.ych-sec-head p{color:var(--ink-soft);max-width:44ch;font-size:15.5px;text-align:right;margin:0}
@media(max-width:1000px){
  .ych-sec-head{flex-direction:column;align-items:flex-start}
  .ych-sec-head p{text-align:left}
  .ych-sec-head h2{font-size:32px}
}

.ych-eyebrow{font-family:var(--sans);font-weight:700;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--mint-deep);display:block}

/* --------------------------------------------------------------------------
   03 · Component kit
   -------------------------------------------------------------------------- */
/* Buttons: yellow = the one primary action per view; ink pill for nav CTAs */
.ych-btn{display:inline-block;font-family:var(--sans);font-weight:800;font-size:15px;line-height:1.2;padding:13px 28px;border-radius:11px;border:none;cursor:pointer;background:var(--sun);color:var(--ink);text-decoration:none;text-align:center;transition:.2s}
.ych-btn:hover{filter:brightness(.96);color:var(--ink);text-decoration:none}
.ych-btn--dark{background:var(--ink);color:#fff;border-radius:999px;font-weight:700}
.ych-btn--dark:hover{background:#0a1a12;color:#fff;filter:none}
.ych-btn--ghost{background:none;border:1.5px solid var(--line);color:var(--ink);font-weight:700}
.ych-btn--ghost:hover{border-color:var(--mint-deep);background:var(--mint-pale);color:var(--ink);filter:none}
.ych-btn--text{background:none;color:var(--mint-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:13px 6px}
.ych-btn--text:hover{color:var(--mint-deep);filter:none}

/* Kicker pill + pulse dot */
.ych-kicker{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);padding:8px 16px;border-radius:999px;font-size:13px;font-weight:700;color:var(--mint-deep);box-shadow:0 8px 22px -14px rgba(14,82,57,.35)}
.ych-pulse{width:8px;height:8px;border-radius:50%;background:var(--mint-glow);box-shadow:0 0 0 0 rgba(23,194,133,.5);animation:ych-pulse 2.4s infinite;flex:none}
@keyframes ych-pulse{0%{box-shadow:0 0 0 0 rgba(23,194,133,.5)}70%{box-shadow:0 0 0 11px rgba(23,194,133,0)}100%{box-shadow:0 0 0 0 rgba(23,194,133,0)}}

/* Chips + status */
.ych-chip{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 17px;font-size:13px;font-weight:700;color:var(--mint-deep)}
.ych-status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 14px;font-size:12.5px;font-weight:700}
.ych-status--verified{background:rgba(23,194,133,.12);color:var(--mint-deep);border:1px solid rgba(23,194,133,.35)}
.ych-status--unclaimed{background:#f4f6f4;color:var(--ink-soft);border:1px solid var(--line)}
.ych-status--featured{background:var(--warn-pale);color:#8a6a10;border:1px solid #ecd9a3}
.ych-status--rating{background:rgba(23,194,133,.12);color:var(--mint-deep);border:1px solid rgba(23,194,133,.35)}

/* Cards */
.ych-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 28px;transition:.2s}
.ych-card:hover{border-color:var(--mint-deep);box-shadow:0 16px 34px -24px rgba(14,52,38,.4)}
.ych-card h3,.ych-card h4{font-family:var(--serif);font-weight:700}

/* Forms */
.ych-field{margin-top:10px}
.ych-field label{display:block;font-size:13.5px;font-weight:700;margin-bottom:6px}
.ych-field input,.ych-field select,.ych-field textarea{width:100%;font:inherit;font-size:15px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;outline-color:var(--mint-deep);background:#fff}
.ych-consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--ink-soft);max-width:52ch;margin-top:12px}
.ych-consent input{margin-top:3px;accent-color:var(--mint-deep);width:auto}

/* Search box */
.ych-searchbox{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:9px;box-shadow:0 26px 54px -24px rgba(14,52,38,.4)}
.ych-searchbox .ych-icon{width:20px;height:20px;color:var(--ink-soft);margin-left:14px;flex:none}
.ych-searchbox input{flex:1;border:none;outline:none;font:inherit;font-size:16.5px;padding:13px 6px;color:var(--ink);min-width:0;background:none;box-shadow:none}
.ych-searchbox .ych-go{background:var(--sun);border:none;font:inherit;font-weight:700;font-size:15.5px;padding:14px 32px;border-radius:11px;cursor:pointer;transition:.2s;white-space:nowrap}
.ych-searchbox .ych-go:hover{filter:brightness(.96)}
@media(max-width:600px){
  .ych-searchbox{flex-direction:column;align-items:stretch;gap:8px}
  .ych-searchbox .ych-icon{display:none}
  .ych-searchbox input{background:var(--mint-pale);border-radius:11px;padding:14px 16px;text-align:center}
  .ych-searchbox .ych-go{width:100%}
}

/* Feather-style inline icons */
.ych-icon{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Reveal motion — calm, once, meaningful */
.ych-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.2,.6,.2,1),transform .7s cubic-bezier(.2,.6,.2,1);transition-delay:var(--d,0s)}
.ych-reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .ych-reveal{opacity:1;transform:none;transition:none}
  .ych-pulse{animation:none}
  *{scroll-behavior:auto !important}
}

/* --------------------------------------------------------------------------
   04 · Header (v52: white glass, sticky, 72px, hairline bottom)
   -------------------------------------------------------------------------- */
.ych-header{background:rgba(255,255,255,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;z-index:1060;border-bottom:1px solid var(--line)}
.ych-nav{display:flex;align-items:center;gap:36px;height:72px}
.ych-logo img{height:38px;width:auto;display:block}
.ych-logo{display:block;font-family:var(--serif);font-weight:800;font-size:20px;color:var(--ink);text-decoration:none}
/* Landmark now lives on the wrapping <nav> (F-057/F-058, sections/header.php)
   instead of role="navigation" on this <ul> — the "push right" flex margin
   moves with it since .ych-nav-menu-wrap, not .ych-menu, is now the direct
   flex child of .ych-nav. */
.ych-nav-menu-wrap{margin:0 0 0 auto}
.ych-menu{display:flex;align-items:center;gap:28px;list-style:none;font-weight:600;font-size:15px;color:var(--ink-soft);padding:0;margin:0} /* margin:0 — the theme ul default (10px bottom) lifted the links 5px above the nav centre line (sheet 20, 2026-09-10) */
.ych-menu li{position:relative;margin:0}
.ych-menu a{color:inherit;text-decoration:none;display:block;padding:6px 0}
.ych-menu a:hover{color:var(--mint-deep)}
/* Persistent vertical indicator (ych-nav-active-state.php) — current page
   belongs to this nav item's vertical, not just an exact URL match. WP's own
   current-menu-item included so exact matches underline even without it.
   Gold + ink (Stephen 2026-07-06): the mint-on-mint underline read weak. */
.ych-menu li.ych-nav-current>a,.ych-menu li.current-menu-item>a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--sun);text-decoration-thickness:3px;text-underline-offset:7px}
.ych-menu li.ych-nav-current>a:hover,.ych-menu li.current-menu-item>a:hover{color:var(--mint-deep);text-decoration-color:var(--sun)}
/* Divider between the seeker items (Care Homes / Home Care) and the operator
   dropdown (ych-operator-nav.php) — decorative, not interactive */
.ych-menu li.ych-nav-sep{pointer-events:none;user-select:none;color:var(--line);font-weight:400}
.ych-menu li.ych-nav-sep span{display:block;padding:6px 0}
/* dropdown (e.g. For Care Providers) */
.ych-menu .sub-menu{display:none;position:absolute;top:100%;left:-18px;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 26px 44px -28px rgba(14,52,38,.4);padding:8px 0;list-style:none;z-index:1070}
.ych-menu li:hover>.sub-menu,.ych-menu li:focus-within>.sub-menu{display:block}
.ych-menu .sub-menu li{margin:0}
.ych-menu .sub-menu a{padding:10px 20px;font-size:14.5px;color:var(--ink)}
.ych-menu .sub-menu a:hover{background:var(--mint-pale);color:var(--mint-deep)}
.ych-nav-right{display:flex;align-items:center;gap:16px}
.ych-nav .ych-cta{background:var(--ink);color:#fff;padding:10px 22px;border-radius:999px;font-weight:700;font-size:14.5px;text-decoration:none;white-space:nowrap}
.ych-nav .ych-cta:hover{background:#0a1a12;color:#fff}
.ych-navtoggle{display:none;background:none;border:none;cursor:pointer;padding:6px;color:var(--ink);align-items:center;margin-left:auto}
.ych-navtoggle svg{width:26px;height:26px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
.ych-menu .ych-signin-mobile{display:none}

/* Old fixed-header spacer is dead under the sticky header */
.c27-top-content-margin{height:0 !important;min-height:0 !important}

/* Logged-in area: restyle the retained user dropdown to the new system */
.ych-nav-right .user-area{display:flex;align-items:center;gap:12px}
.ych-nav-right .user-profile-name{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;color:var(--ink);text-decoration:none}
.ych-nav-right .user-profile-name .avatar{width:34px;height:34px;min-width:34px;border-radius:50%;overflow:hidden;flex:0 0 34px}
.ych-nav-right .user-profile-name .avatar img{width:34px;height:34px;min-width:34px;min-height:34px;max-width:none;border-radius:50%;object-fit:cover;display:block}
.ych-nav-right .user-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Inspection-record caption (SAF vs full-inspection split, 2026-09-10) */
.ych-listing .ych-record-caption{margin:0;font-size:13px;line-height:1.4;color:var(--ink-soft)}
.ych-listing #inspection .ych-record-caption{padding:10px 28px 0}
.ych-listing .rating-centre .ych-record-caption{padding:8px 0 0;text-align:center}

@media (max-width:1000px){
  .ych-nav{gap:14px}
  .ych-navtoggle{display:flex}
  .ych-menu{display:none}
  .ych-menu.open{display:flex;flex-direction:column;position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:8px 24px 18px;gap:0;margin-left:0;box-shadow:0 26px 44px -28px rgba(14,52,38,.4);z-index:1055}
  .ych-menu.open li a{display:block;padding:13px 2px;font-size:16px;border-bottom:1px solid var(--line)}
  .ych-menu.open .sub-menu{display:block;position:static;border:none;box-shadow:none;padding:0 0 0 16px}
  .ych-menu.open .ych-signin-mobile{display:block}
  /* the "|" divider is a horizontal-nav device — meaningless in the stacked menu */
  .ych-menu li.ych-nav-sep{display:none}
}
@media (max-width:480px){
  .ych-nav .ych-cta{display:none}
  .ych-logo img{height:32px}
}

/* Site notice band under the header (newsletter signup feedback,
   ?nm=confirmed; server-rendered by mu-plugins/ych-newsletter-confirmed.php). */
.ych-site-notice{background:var(--mint-pale);border-bottom:1px solid var(--line)}
.ych-site-notice p{margin:0;padding:14px 0;font-size:15.5px;font-weight:700;line-height:1.4;color:var(--ink)}

/* --------------------------------------------------------------------------
   05 · Footer (v52: ink band, brand col + 3 link cols + base bar)
   -------------------------------------------------------------------------- */
.ych-footer{background:var(--ink);color:#9db5a8;padding:60px 0 28px;font-size:14.5px}
.ych-footer a{color:inherit;text-decoration:none}
.ych-footer a:hover{color:#fff}
.ych-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:46px}
.ych-foot-grid img{height:34px;width:auto;margin-bottom:14px}
.ych-foot-grid p{font-size:14px;color:#9db5a8;max-width:44ch}
.ych-foot-grid h4{color:#fff;font-family:var(--sans);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 15px}
.ych-foot-grid ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14.5px;margin:0;padding:0}
.ych-foot-grid ul li{margin:0}
.ych-foot-base{border-top:1px solid #2c4a3b;padding-top:24px;display:flex;justify-content:space-between;gap:18px;font-size:13px;flex-wrap:wrap}
.ych-foot-base ul{list-style:none;display:flex;gap:18px;margin:0;padding:0;flex-wrap:wrap}
@media(max-width:1000px){
  .ych-foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .ych-foot-grid{grid-template-columns:1fr;gap:28px}
  .ych-foot-base{flex-direction:column}
}

/* --------------------------------------------------------------------------
   06 · Hubs, archives & search results (§08: compact hero band → grid on
   white → tint interludes). Shared by taxonomy-region/provider/service-type/
   group, the /care-homes/ hub, providers/groups indexes and /search/.
   -------------------------------------------------------------------------- */
/* Hero band: the flat mint block becomes the system wash + seam rule */
.page-header{
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(184,239,217,.9), transparent 70%),
    linear-gradient(180deg,#f1fbf6, var(--mint-pale) 96%) !important;
  border-bottom:1px solid var(--line);
  position:relative;
}
.page-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:4px;background:linear-gradient(90deg,var(--mint-deep),var(--mint-glow) 55%,var(--sun))}
.page-header h1{font-family:var(--serif);font-weight:700;letter-spacing:-.018em}

/* Tier + section headings on archives: gold → ink */
.ych-list-tier-heading{color:var(--ink) !important;font-family:var(--serif) !important;font-weight:700 !important;letter-spacing:-.015em}
/* First tier heading sat right under the sort-by row with no breathing room —
   rule above + extra top space; style.css sets margin-top:0 on :first-child,
   hence !important. Bottom rule modernises the old gold #e1d9c8 line to the token. */
.list-card-wrapper > .ych-list-tier-heading:first-child{margin-top:26px !important;padding-top:22px;border-top:1px solid var(--line)}
.ych-list-tier-heading{border-bottom-color:var(--line) !important}

/* A-Z browse */
.loc-az__letter{color:var(--mint-deep);font-weight:700}
.loc-az__letter.is-disabled{color:#b9c6bf}
.loc-letter-block__heading{color:var(--mint-deep);font-family:var(--serif)}
.loc-town-link{color:var(--ink)}
.loc-town-link:hover{color:var(--mint-deep)}
.loc-card{border:1px solid var(--line);border-radius:var(--radius);transition:.2s}
.loc-card:hover{border-color:var(--mint-deep);box-shadow:0 16px 34px -24px rgba(14,52,38,.4)}

/* Result cards (shared partial) */
.list-card{border:1px solid var(--line) !important;border-radius:var(--radius) !important;box-shadow:none !important;transition:.2s}
.list-card:hover{border-color:var(--mint-deep) !important;box-shadow:0 16px 34px -24px rgba(14,52,38,.4) !important}
.list-card .title{font-family:var(--serif);font-weight:700;color:var(--ink)}
.list-card .title:hover{color:var(--mint-deep)}
/* status chips: describe the listing, never scare-style (no red) */
.list-card .listing-status{border-radius:999px;padding:5px 13px;font-size:12px;font-weight:700;line-height:1.2}
.list-card .listing-status.verified{background:rgba(23,194,133,.12) !important;color:var(--mint-deep) !important;border:1px solid rgba(23,194,133,.35) !important;padding-left:32px}/* room for the parent theme's absolutely-positioned tick — at 13px it overlapped the first letter ("✓laimed") */
.list-card .listing-status.not-verified{background:#f4f6f4 !important;color:var(--ink-soft) !important;border:1px solid var(--line) !important}
.list-card .listing-status.not-verified::before,.list-card .listing-status.not-verified img,
.list-card .listing-status.not-verified svg{display:none !important}
.list-card .listing-status.featured{background:var(--warn-pale) !important;color:#8a6a10 !important;border:1px solid #ecd9a3 !important;white-space:nowrap}
/* CQC dormant notice on a results card or table row (2026-10-14); the listing page has its own (.ych-listing .ych-dormant-note, listing.css). */
.ych-card-dormant-note{margin:8px 0 0;padding:6px 12px;border:1px solid var(--line);border-left:4px solid var(--warn);border-radius:8px;background:#fff;font-size:13px;font-weight:700;line-height:1.4;color:var(--ink)}
.list-card .list-action .btn.btn-dark{background:var(--ink);color:#fff;border-radius:999px;font-weight:700;border:none}
.list-card .list-action .btn.btn-dark:hover,.list-card .list-action .btn.btn-dark:focus{background:var(--mint-deep);color:#fff}
/* The View Details button sits in .ych-map-details on archive cards (not .list-action); Bootstrap's .btn:hover turns its text dark. Pin it white wherever it is in a card. */
.list-card .btn.btn-dark:hover,.list-card .btn.btn-dark:focus,.list-card .ych-map-details .btn-dark:hover,.list-card .ych-map-details .btn-dark:focus{background:var(--mint-deep) !important;color:#fff !important}
/* Rating colour per level (2026-10-13): dot and word take the level's
   --rating-* token; the heading stays ink. Tokens on :root above. */
.cqc-rating.ych-rating .heading,.cqc-rating.ych-rating .bold{color:var(--ink)}
.cqc-rating.ych-rating--outstanding .dot{background:var(--rating-outstanding)}
.cqc-rating.ych-rating--outstanding>span{color:var(--rating-outstanding-text)}
.cqc-rating.ych-rating--good .dot{background:var(--rating-good)}
.cqc-rating.ych-rating--good>span{color:var(--rating-good-text)}
.cqc-rating.ych-rating--ri .dot{background:var(--rating-ri)}
.cqc-rating.ych-rating--ri>span{color:var(--rating-ri-text)}
.cqc-rating.ych-rating--inadequate .dot{background:var(--rating-inadequate)}
.cqc-rating.ych-rating--inadequate>span{color:var(--rating-inadequate-text)}
.cqc-rating.ych-rating--none .dot{background:var(--rating-none)}
.cqc-rating.ych-rating--none>span{color:var(--rating-none-text)}

/* Town-hub featured band (fix-list 10.3 §2): the page's top paid listing,
   surfaced once above the standard grid. Reuses the shared card partial
   (and its existing "Featured" chip) — this only adds emphasis, it never
   duplicates the label. Labelled placement per policy 10.0(b), never silent. */
.ych-town-featured{margin:0 0 30px}
.ych-town-featured .list-card{border:1.5px solid #ecd9a3 !important;box-shadow:0 22px 48px -30px rgba(14,52,38,.4) !important}
.ych-town-featured .list-card .list-card-body{padding:28px 30px}
.ych-town-featured .list-card .title{font-size:1.12em}
.ych-town-featured .list-card .img-wrapper{min-height:230px}

/* Filters sidebar + sort bar */
.list-filter{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}
.top-filter select,.list-filter select,.list-filter input{border-radius:11px;border:1px solid var(--line);outline-color:var(--mint-deep)}

/* Fix-list defect 1 (2026-07-10): the sidebar on town/search results pages
   (rendered by template-parts/template-side-filters.php inside
   .list-wrapper > .list-main-container, shared by taxonomy-region/provider/
   service-type + carehomes-listing-shortcode) was reported ending ~y:1100px
   with a blank gutter beside 9,000px+ of results below it — i.e. not
   genuinely sticking as the page scrolls.
   style.css already declares `.list-wrapper .list-main-container .list-filter
   {position:sticky;top:20px;...}`, but written as native nested CSS
   (`.list-wrapper{ .list-main-container{ .list-filter{...} } }`, no `&`) —
   confirmed correct per the relaxed CSS Nesting spec, but reinforced here
   with flat, non-nested selectors + !important so the sticky behaviour does
   not depend on the audit tool's (or any browser's) nesting support.
   Two real bugs fixed regardless of the nesting question:
   1. top:20px sits UNDER .ych-header, which is ALSO position:sticky;top:0
      at 72px tall + 1px border (§04 above, z-index:1060) — the sidebar's
      top ~53px was sliding under the header instead of resting below it.
      top:92px (73px header + ~19px clearance) fixes the overlap.
   2. max-height wasn't capped to the viewport minus that offset, so a long
      filter list on a short viewport could itself run off-screen with no
      way to reach "Apply" — max-height + overflow-y:auto on .filter-body
      (already present in style.css) keeps header/footer pinned and scrolls
      only the middle.
   Scoped to min-width:1200px to match style.css's own breakpoint (it swaps
   .list-filter to a position:fixed off-canvas drawer at max-width:1199px —
   this must not fight that, hence the media guard rather than a bare rule). */
@media only screen and (min-width:1200px){
  .list-wrapper .list-main-container .list-filter{
    position:-webkit-sticky !important;
    position:sticky !important;
    top:92px !important;
    max-height:calc(100vh - 112px) !important;
    overflow:hidden !important;
    align-self:flex-start !important;
  }
  .list-wrapper .list-main-container .list-filter .filter-body{
    overflow-y:auto !important;
    min-height:0 !important;
  }
}

/* Pagination */
.ych-pagination a,.ych-pagination span{border:1px solid var(--line);border-radius:11px;color:var(--ink);font-weight:700}
.ych-pagination a:hover{border-color:var(--mint-deep);color:var(--mint-deep)}
.ych-pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* FAQ accordion — self-contained component (reused on region archives, the
   homepage and the partner pages; it previously had no padding/layout of its
   own and relied on per-template CSS, so it rendered cramped when reused). */
.ych-location-faq{background:var(--mint-pale);border-top:1px solid var(--line);padding:70px 0}
.ych-location-faq > .ych-wrap,.ych-location-faq > .wrap{max-width:840px}
.ych-faq-heading{font-family:var(--serif) !important;color:var(--ink) !important;font-size:clamp(25px,3.2vw,33px);font-weight:700;letter-spacing:-.02em;line-height:1.15;text-align:center;margin:0 0 8px}
/* Partner pages carry their own self-contained Poppins type — keep the reused
   FAQ heading in step with their other section headings, not the site serif. */
.ypp .ych-faq-heading{font-family:inherit !important}
.ych-faq-subheading{text-align:center;color:var(--ink-soft);font-size:16px;margin:0 0 32px}
.ych-faq-list{display:flex;flex-direction:column;gap:12px}
.ych-faq-item{background:#fff;border:1px solid var(--line) !important;border-radius:14px !important;box-shadow:none !important;overflow:hidden;transition:border-color .18s}
.ych-faq-question{font-weight:700;color:var(--ink);font-size:16.5px;line-height:1.45;padding:18px 22px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px}
.ych-faq-question::-webkit-details-marker{display:none}
.ych-faq-question::after{content:"";flex:none;width:10px;height:10px;margin-top:-3px;border-right:2px solid var(--mint-deep);border-bottom:2px solid var(--mint-deep);transform:rotate(45deg);transition:transform .18s}
.ych-faq-item[open] .ych-faq-question::after{transform:rotate(-135deg);margin-top:3px}
.ych-faq-answer{padding:0 22px 20px;color:var(--ink-soft);font-size:15.5px;line-height:1.62}
.ych-faq-answer p{margin:0}
/* FAQs page (/faqs/, sheet 47) — the DB content wraps each category in this
   same .ych-location-faq accordion component (class ych-page-faq added on
   the same element), which carries whole-SECTION chrome (mint band, top
   border, 70px vertical padding) meant for a standalone <section> on the
   homepage/region archives/partner pages. Repeated as nested content inside
   the narrow legal measure, that chrome painted an empty mint band above the
   H1 and a mint gap between every category. Strip the section chrome here;
   keep the accordion look. */
.ych-page-faq.ych-location-faq{background:none;border-top:0;padding:0}
/* .ych-legal-body prefixed on the h2 rule so it outranks .ych-legal-body h2
   (§08 below, later in the cascade with equal specificity otherwise, which
   would win by source order and silently drop this override). */
.ych-legal-body .ych-page-faq h2{margin:40px 0 14px}
.ych-legal-body > .ych-page-faq:first-child h2:first-of-type{margin-top:8px}
.ych-page-faq .ych-faq-list{gap:10px}
/* Intro paragraph + jump nav template-legal.php prints above the FAQ body. */
.ych-legal-body.ych-faq-intro p{margin-bottom:0}
.ych-faq-toc{margin:18px 0 30px}
.ych-faq-toc ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;column-gap:6px;row-gap:4px;font-size:14.5px}
.ych-faq-toc li{display:inline}
.ych-faq-toc a{color:var(--mint-deep);text-decoration:underline;text-underline-offset:3px}
.list-card .list-action{background:var(--mint-pale) !important;border-top:1px solid var(--line)}
/* Search page Elementor banner gets the same wash as .page-header */
.search-banner-section{
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(184,239,217,.9), transparent 70%),
    linear-gradient(180deg,#f1fbf6, var(--mint-pale) 96%) !important;
  border-bottom:1px solid var(--line);
  position:relative;
}
.search-banner-section::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:4px;background:linear-gradient(90deg,var(--mint-deep),var(--mint-glow) 55%,var(--sun));z-index:1}
/* Lift the search box off the banner wash — a plain white bar on the near-white
   mint gradient had no edges (Stephen 2026-07-07: "blends in with the rest").
   Scoped to the results/search context (.list-wrapper), so the homepage hero
   search — a different shared .ych-search-inp instance — is untouched. */
/* Match the search-results box to the homepage hero searchbox (.ych-searchbox)
   so it's true to the site: white rounded pill, soft elevation, light border,
   yellow rounded Search button — not a bolted-on hard-bordered bar. */
.list-wrapper .ych-search-inp{border:1px solid var(--line) !important;border-radius:16px !important;box-shadow:0 26px 54px -24px rgba(14,52,38,.4) !important}
.list-wrapper .ych-search-inp > button{border-radius:11px !important}
.list-wrapper .ych-search-inp > input{border:none !important;background:none !important}
/* stray empty dropdown box on page load (region archives) */
.suggestions-list:empty{display:none !important}
/* card overlay chip: no empty black dot when beds value is blank */
.list-card .overlay-chip .chip-icon:empty{display:none}
/* bed count was black-on-black (style.css .overlay-chip color !important) */
.list-card .overlay-chip .chip-icon{color:#fff;font-weight:700}
/* Advice/News cards: clamp long titles cleanly; meta text-only (avatars dropped) */
.data-card.blog .title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--serif);font-weight:700}
/* Fix-list defect 4 (2026-07-10): one card on /advice/ rendered its title
   underlined while its siblings (identical markup, identical .data-card.blog
   class — checked live, all 5 cards are byte-identical apart from href/text)
   didn't. No rule in this stylesheet or style.css ever set text-decoration
   on .data-card/.title explicitly for this card type — everywhere else on
   the site reads "not underlined" only because something else in the
   cascade (parent-theme reset, or a transient :visited/:hover state at
   audit time) happened to suppress the plain-anchor default. That's exactly
   the "stray global a-underline inheritance" failure mode: whichever card
   escapes that implicit suppression falls back to underlined. Make it
   explicit and link-state-proof here instead of relying on it. */
.data-card.blog,
.data-card.blog:link,
.data-card.blog:visited,
.data-card.blog:hover,
.data-card.blog:focus,
.data-card.blog:active,
.data-card.blog .title{text-decoration:none}
.data-card.blog{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;transition:.2s}
.data-card.blog:hover{border-color:var(--mint-deep);box-shadow:0 16px 34px -24px rgba(14,52,38,.4)}
.data-card.blog .blog-badge{background:var(--mint-pale);color:var(--mint-deep);border:1px solid var(--line);border-radius:999px;font-weight:700;text-transform:capitalize}

/* 404 — centred card on hero wash */
.ych-404{background:
  radial-gradient(900px 420px at 50% -12%, rgba(184,239,217,.9), transparent 70%),
  linear-gradient(180deg,#f1fbf6,var(--mint-pale) 96%);
  border-bottom:1px solid var(--line);padding:84px 0}
.ych-404-card{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:44px 46px;text-align:center;box-shadow:0 34px 64px -32px rgba(14,52,38,.35)}
.ych-404-card h1{font-size:38px;letter-spacing:-.018em;margin:18px 0 10px}
.ych-404-card>p{color:var(--ink-soft);max-width:44ch;margin:0 auto 24px}
.ych-404-card .ych-searchbox{text-align:left}
.ych-404-pop{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);margin:26px 0 10px !important}
.ych-404-towns{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ych-404-links{margin-top:26px !important;font-size:14.5px}
.ych-404-links a{color:var(--mint-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.ych-404-card{padding:32px 20px}.ych-404-card h1{font-size:30px}}
/* MyListing full-page logo preloader retired (motion: calm, once, meaningful) */
.main-loader.site-logo-loader{display:none !important}

/* Legal / narrow-measure pages */
.ych-legal{background:#fff;padding:64px 0 84px}
.ych-legal-inner{max-width:74ch;margin:0 auto;padding:0 36px}
.ych-legal h1{font-size:40px;letter-spacing:-.018em;margin-bottom:26px}
/* Elementor-built legal pages (accessibility, cookie-policy, terms,
   provider-terms, moderation-standards): heading WIDGETS pull the Elementor
   kit font (Figtree 600) — or per-widget Poppins where the old design set
   explicit typography (cookie/terms/moderation/provider-terms) — instead of
   the system display font. !important because Elementor's per-widget rules
   (.elementor-N .elementor-element-X .elementor-heading-title) outgun any
   sane selector (2026-07-06, Stephen flagged the mismatched H1s). */
.ych-legal .elementor-heading-title{font-family:var(--serif) !important;font-weight:700 !important;color:var(--ink) !important}
.ych-legal h1.elementor-heading-title{font-size:40px;letter-spacing:-.018em;margin-bottom:26px}
@media(max-width:600px){.ych-legal h1.elementor-heading-title{font-size:30px}}
.ych-legal-body h2{font-size:26px;margin:34px 0 12px}
.ych-legal-body h3{font-size:19px;margin:26px 0 10px}
.ych-legal-body p,.ych-legal-body li{color:#39483f;font-size:16.5px;line-height:1.65}
.ych-legal-body p{margin-bottom:14px}
.ych-legal-body ul,.ych-legal-body ol{margin:0 0 16px 22px}
.ych-legal-body li{margin-bottom:7px}
.ych-legal-body a{color:var(--mint-deep);text-decoration:underline;text-underline-offset:3px}
.ych-legal-body table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14.5px}
.ych-legal-body th,.ych-legal-body td{border:1px solid var(--line);padding:9px 12px;text-align:left}
.ych-legal-body th{background:var(--mint-pale)}
@media(max-width:600px){.ych-legal-inner{padding:0 18px}.ych-legal h1{font-size:30px}}

/* Add-listing package picker: off-palette peach/blue cards → system cards */
.c27-pick-package.pricing-item,.cts-pricing-item.pricing-item{background:#fff !important;border:1px solid var(--line) !important;border-radius:var(--radius) !important;box-shadow:none !important}
.cts-pricing-item.pricing-item.featured{border:2px solid var(--mint-deep) !important;position:relative}
.cts-pricing-item .featured-plan-badge{background:var(--ink) !important;border-radius:999px;padding:6px 14px;top:-14px;right:auto;left:50%;transform:translateX(-50%);width:auto;height:auto;display:inline-flex;align-items:center;gap:6px}
.cts-pricing-item .featured-plan-badge .icon-flash{display:none}
.cts-pricing-item .featured-plan-badge::after{content:"Recommended";color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.cts-pricing-item .plan-name{font-family:var(--serif);font-weight:700;color:var(--ink)}
.cts-pricing-item .plan-price{font-family:var(--serif) !important;font-weight:800;color:var(--ink) !important}
.cts-pricing-item .plan-desc{color:var(--ink-soft)}
.cts-pricing-item .select-plan.buttons{background:var(--sun) !important;color:#231d04 !important;border:none !important;border-radius:999px !important;font-weight:800 !important}
.cts-pricing-item:not(.featured) .select-plan.buttons{background:none !important;border:1.5px solid var(--line) !important;color:var(--ink) !important;font-weight:700 !important}
.cts-pricing-item:not(.featured) .select-plan.buttons:hover{border-color:var(--mint-deep) !important;color:var(--mint-deep) !important}
.cts-pricing-item .select-plan.purchase-disabled{opacity:.55}
.cts-pricing-item .featured-plan-badge{font-size:0;line-height:1;padding:5px 12px;top:-13px}
.cts-pricing-item .featured-plan-badge::before{display:none !important;content:none !important}
.cts-pricing-item .featured-plan-badge::after{font-size:10px}
.cts-pricing-item.featured{overflow:visible !important}
.cts-pricing-item .select-plan.buttons,.cts-pricing-item .select-plan.buttons span,.cts-pricing-item .select-plan.buttons i{color:#231d04 !important}
.cts-pricing-item:not(.featured) .select-plan.buttons,.cts-pricing-item:not(.featured) .select-plan.buttons span,.cts-pricing-item:not(.featured) .select-plan.buttons i{color:var(--ink) !important}
.cts-pricing-item .ych-plan-flash{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:999px;padding:6px 14px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;z-index:2}
.cts-pricing-item .ych-plan-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 20px;border-radius:999px;background:none;border:1.5px solid var(--line);color:var(--ink);font-weight:700;text-decoration:none;transition:.2s}
.cts-pricing-item .ych-plan-btn:hover{border-color:var(--mint-deep);color:var(--mint-deep)}
.cts-pricing-item.featured .ych-plan-btn{background:var(--sun);border:none;color:#231d04;font-weight:800}
.cts-pricing-item.featured .ych-plan-btn:hover{filter:brightness(.96);color:#231d04}
.cts-pricing-item .ych-plan-btn.purchase-disabled{opacity:.55;pointer-events:none}

/* My Listings stat boxes: parent's blue/orange/magenta → the dashboard green ramp
   (colours per status class below; the generic nth-of-type rules from the first
   pass clobbered the dashboard's Active Promotions card and were removed). */
.mlduo-stat-box{border-radius:var(--radius) !important}
.stat-card-status-publish .mlduo-stat-box{background:var(--ink) !important}
.stat-card[class*="pending"] .mlduo-stat-box{background:var(--mint-deep) !important}
.stat-card[class*="expired"] .mlduo-stat-box{background:var(--mint-glow) !important}
/* /listings/ bulk archive (fate = flagged decision 6): no face avatars on brand-authored cards */
.post-type-archive-job_listing img.avatar{display:none !important}

/* Newsletter (tnp) forms — system inputs (page form + any embedded) */
.tnp-field input[type=text],.tnp-field input[type=email]{width:100%;font:inherit;font-size:15px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;outline-color:var(--mint-deep);background:#fff}
.tnp-field label{display:block;font-size:13.5px;font-weight:700;margin-bottom:6px}
.tnp-submit input[type=submit],.tnp-field input[type=submit]{background:var(--sun);color:#231d04;border:none;border-radius:11px;font-weight:800;font-size:15px;padding:13px 28px;cursor:pointer}
.tnp-submit input[type=submit]:hover{filter:brightness(.96)}

/* Sitemap hub — plain register rows, feather icons */
.ych-sitemap-hub__lede{color:var(--ink-soft);margin:-14px 0 26px}
.ych-sitemap-hub__list{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.ych-sitemap-hub__row{display:flex;align-items:center;gap:18px;padding:18px 22px;border-top:1px solid var(--line);text-decoration:none;color:var(--ink);transition:.15s}
.ych-sitemap-hub__row:first-child{border-top:none}
.ych-sitemap-hub__row:hover{background:var(--mint-pale)}
.ych-sitemap-hub__ic{width:44px;height:44px;border-radius:13px;background:var(--mint-pale);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--mint-deep);flex:none}
.ych-sitemap-hub__ic svg{width:21px;height:21px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ych-sitemap-hub__body{display:flex;flex-direction:column;gap:2px;min-width:0}
.ych-sitemap-hub__body strong{font-family:var(--serif);font-weight:700;font-size:17px}
.ych-sitemap-hub__body span{font-size:13.5px;color:var(--ink-soft)}
.ych-sitemap-hub__arrow{margin-left:auto;width:17px;height:17px;stroke:var(--mint-deep);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Contact page */
.ych-contact__head{padding:56px 36px 48px;text-align:center}
.ych-contact__head h1{font-size:44px;letter-spacing:-.018em;margin:0 0 10px}
.ych-contact__head p{color:var(--ink-soft);max-width:54ch;margin:0 auto}
.ych-contact__grid{display:grid;grid-template-columns:minmax(0,1fr) 356px;gap:32px;padding-top:48px;padding-bottom:84px}
.ych-contact__form{padding:30px 34px}
.ych-contact__aside{display:flex;flex-direction:column;gap:16px}
.ych-contact__card{display:flex;gap:14px;align-items:flex-start;padding:20px 22px}
.ych-contact__card:hover{border-color:var(--line);box-shadow:none}
.ych-contact__ic{width:44px;height:44px;border-radius:13px;background:var(--mint-pale);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--mint-deep);flex:none}
.ych-contact__ic svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ych-contact__card strong{font-family:var(--serif);font-weight:700;font-size:16px;display:block;margin-bottom:3px}
.ych-contact__card p{font-size:14px;color:var(--ink-soft);margin:0}
.ych-contact__card a{color:var(--mint-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px;font-size:14.5px}
.ych-contact__notice{padding:28px 0 0}
.ych-contact__notice .ych-contact__card p{max-width:74ch}
/* Office map (restored 2026-07-06 — Leaflet+OSM, init in template-contact.php) */
.ych-contact__mapwrap{padding-bottom:84px;margin-top:-52px}
.ych-contact__map{padding:0;overflow:hidden}
.ych-contact__map:hover{border-color:var(--line);box-shadow:none}
#ych-contact-map{height:340px;width:100%}
.ych-contact__map-note{margin:0;padding:12px 18px;font-size:13.5px;color:var(--ink-soft);border-top:1px solid var(--line)}
@media(max-width:1000px){.ych-contact__grid{grid-template-columns:1fr}}
/* CF7 fields — system inputs */
.ych-contact .wpcf7 label{display:block;font-size:13.5px;font-weight:700;margin-bottom:6px;color:var(--ink)}
.ych-contact .wpcf7 input[type=text],.ych-contact .wpcf7 input[type=email],.ych-contact .wpcf7 input[type=tel],.ych-contact .wpcf7 select,.ych-contact .wpcf7 textarea{width:100%;font:inherit;font-size:15px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;outline-color:var(--mint-deep);background:#fff;margin-bottom:14px}
.ych-contact .wpcf7 textarea{min-height:140px;resize:vertical}
.ych-contact .wpcf7 input[type=submit]{background:var(--sun);color:#231d04;border:none;border-radius:11px;font-weight:800;font-size:15px;padding:13px 28px;cursor:pointer;width:auto}
.ych-contact .wpcf7 input[type=submit]:hover{filter:brightness(.96)}
.ych-contact .wpcf7-not-valid-tip{color:#c4553d;font-size:12.5px;margin:-10px 0 12px}
.ych-contact .wpcf7 form .wpcf7-response-output{border-radius:11px;border-color:var(--line);padding:12px 16px;margin:10px 0 0}

/* --------------------------------------------------------------------------
   Shortlist quiz — system treatment (Stephen post-reskin review, 2026-07-02)
   -------------------------------------------------------------------------- */
.step-form{
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(184,239,217,.9), transparent 70%),
    linear-gradient(180deg,#f1fbf6,var(--mint-pale) 96%) !important;
  border-bottom:1px solid var(--line);
  padding:56px 24px 84px;
}
.step-form-heading h1{font-size:40px;color:var(--ink);letter-spacing:-.018em}
.step-form-heading p{color:var(--ink-soft);font-size:16.5px}
.step-box{border:1px solid var(--line);border-radius:var(--radius) !important;box-shadow:0 26px 54px -34px rgba(14,52,38,.35) !important;padding:36px 40px}
/* the ten cramped "Step N" labels → clean segmented progress bar */
.steps{gap:6px;margin-bottom:36px}
.step-progress-box span{display:none}
.step-progress{height:6px;border-radius:3px;background:var(--mint-pale) !important}
.step-progress-box.active .step-progress{background:var(--mint-deep) !important}
.step h3{font-size:28px;letter-spacing:-.015em;margin-bottom:20px}
/* option cards */
.step input[type=radio]+label{border:1px solid var(--line) !important;border-radius:13px !important;transition:.15s;cursor:pointer}
.step input[type=radio]+label:hover{border-color:var(--mint-deep) !important;background:var(--mint-pale)}
.step input[type=radio]:checked+label{border-color:var(--mint-deep) !important;background:var(--mint-pale)}
.step input[type=radio]+label .radio-button{border:1.5px solid #9fb2a8 !important}
.step input[type=radio]+label .radio-button::before{background:var(--mint-deep) !important}
.step input[type=radio]+label h5{font-family:var(--serif);font-weight:700;font-size:16px}
.step input[type=radio]+label p{color:var(--ink-soft);font-size:14px}
/* free-text / select / textarea steps */
.step input[type=text],.step input[type=email],.step input[type=tel],.step input[type=number],.step select,.step textarea{font:inherit;font-size:15px;padding:12px 15px;border:1px solid var(--line);border-radius:11px;outline-color:var(--mint-deep);background:#fff}
/* footer buttons */
.step-footer .btn.btn-gold{background:var(--sun) !important;color:#231d04 !important;border:none !important;border-radius:999px !important;font-weight:800 !important;font-size:15px;padding:13px 30px;box-shadow:none !important}
.step-footer .btn.btn-gold:hover{filter:brightness(.96)}
/* Fix-list defect 6 (2026-07-10): opacity:.45 on the gold btn-gold Next
   button faded BOTH its background (--sun #f5dd6d) and text (#231d04)
   toward the page background at the same rate, which barely changes the
   background/text CONTRAST RATIO but crushes the button's contrast against
   the page itself — composited over a white page that's ~rgb(250,240,189)
   text-on-background at roughly 1.5:1, well under WCAG's 3:1 UI-component
   floor, i.e. "there but unreadable/invisible" exactly as reported. Swap to
   explicit disabled colours instead of fading the live ones: var(--line)
   background (#dcebe2) with var(--ink-soft) text (#43564c) computes to
   ~5.8:1, comfortably past WCAG AA (4.5:1) text contrast, while still
   reading as visibly "off" next to the saturated gold active state. */
.step-footer .btn[disabled],.step-footer .btn.disabled{background:var(--line) !important;color:var(--ink-soft) !important;opacity:1;cursor:default;box-shadow:none !important}
.step-footer .btn.back,.step-footer .prev{background:none !important;border:1.5px solid var(--line) !important;color:var(--ink) !important;border-radius:999px !important;font-weight:700 !important}
.step-footer .btn.back:hover,.step-footer .prev:hover{border-color:var(--mint-deep) !important;color:var(--mint-deep) !important}
/* progress bar: the bar is itself a <span> — hide only the label span */
.step-progress-box span{display:initial}
.step-progress-box > span:first-child{display:none}
.step-progress-box .step-progress{display:block}
.step-footer .btn.btn-gold:not([disabled]):not(.disabled){opacity:1 !important}

/* --------------------------------------------------------------------------
   /care-homes/ hub polish (Stephen review 2026-07-02: grey body + weak map/cards)
   -------------------------------------------------------------------------- */
body.page-template-page-locations,
body.page-template-page-templates-page-locations-php{background:#fff !important}
.locations-hub{background:#fff}
.locations-hub .page-header .inner-wrapper{padding-top:52px;padding-bottom:44px}
.locations-hub .loc-map-wrap{margin-top:34px}
.locations-hub #ych-locations-map{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.locations-hub .loc-map-help{color:var(--ink-soft);font-size:13.5px;margin-top:12px}
.locations-hub .loc-jump{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.locations-hub .loc-jump__btn{font:inherit;font-weight:700;font-size:14px;border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:9px 20px;cursor:pointer;transition:.15s;color:var(--ink)}
.locations-hub .loc-jump__btn:hover{border-color:var(--mint-deep);color:var(--mint-deep)}
.locations-hub .loc-tier{margin-top:0;margin-bottom:0;padding:56px 0 84px}
.locations-hub .loc-tier h2{font-size:34px;letter-spacing:-.015em;margin-bottom:24px}
.locations-hub .loc-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;display:flex;flex-direction:column;gap:4px}
.locations-hub .loc-card:hover{border-color:var(--mint-deep);box-shadow:0 16px 34px -24px rgba(14,52,38,.4);transform:translateY(-3px)}
.locations-hub .loc-card__name{font-family:var(--serif);font-weight:700;font-size:17px;color:var(--ink)}
.locations-hub .loc-card__count{font-size:13.5px;font-weight:700;color:var(--mint-deep);font-variant-numeric:tabular-nums}

/* legal pages that carry their own lead heading: style it as the page title */
.ych-legal-body.ych-own-title > h1:first-child,.ych-legal-body.ych-own-title > h2:first-child{font-size:40px;letter-spacing:-.018em;margin:0 0 26px}
/* map container: UK-shaped frame, centred — full-bleed width forced Europe into view */
.locations-hub .loc-map-wrap{max-width:1000px;margin-left:auto;margin-right:auto}
/* Nation/region/county pages (taxonomy-region.php) share the wrapper but not the .locations-hub body class -- centre it there too (sheet 18, 2026-09-10) */
section.loc-map-wrap.inner-wrapper{margin-left:auto;margin-right:auto}
.locations-hub #ych-locations-map{height:600px}

/* --- Care homes / Home care vertical toggle (search surfaces, 2026-07-05) --- */
.ych-modes{display:inline-flex;gap:4px;margin-bottom:14px;background:rgba(255,255,255,.72);border:1px solid var(--line,#e3e8e4);padding:5px;border-radius:12px}
.ych-mode{font-family:inherit;font-size:14px;font-weight:700;color:var(--ink-soft,#4a4a52);border:none;background:none;padding:10px 26px;border-radius:9px;cursor:pointer;transition:.2s;text-decoration:none;display:inline-block}
.ych-mode.active{background:var(--mint-deep,#0e7a55);color:#fff;box-shadow:0 4px 12px -4px rgba(14,122,85,.5)}
.ych-mode:hover:not(.active){color:var(--mint-deep,#0e7a55)}
@media(max-width:480px){.ych-mode{padding:9px 18px;font-size:13.5px}}

/* --- About page (template-about.php, 2026-07-05) --- */
.ych-about .ych-about__head{padding:44px 0 36px}
.ych-about .ych-about__head h1{margin:0 0 10px}
.ych-about .ych-about__head p{max-width:56ch;margin:0;color:var(--ink-soft,#4a4a52);font-size:17px}
.ych-about__body{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:48px;padding-top:40px;padding-bottom:64px}
.ych-about__prose h2{margin:28px 0 12px;font-size:24px}
.ych-about__prose h2:first-child{margin-top:0}
.ych-about__prose p,.ych-about__prose li{font-size:16.5px;line-height:1.6}
.ych-about__prose ul{padding-left:20px;margin:0 0 16px}
.ych-about__prose li{margin-bottom:10px}
.ych-about__company{margin-top:30px;padding-top:18px;border-top:1px solid var(--line,#e3e8e4);font-size:14px;color:var(--ink-soft,#4a4a52)}
.ych-about__facts h3{margin:0 0 14px;font-size:18px}
.ych-about__facts dl{margin:0}
.ych-about__facts dl > div{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line,#e3e8e4)}
.ych-about__facts dl > div:last-child{border-bottom:none}
.ych-about__facts dt{font-size:14.5px;color:var(--ink-soft,#4a4a52)}
.ych-about__facts dd{margin:0;font-weight:700;font-size:17px}
.ych-about__facts-note{margin:12px 0 0;font-size:12.5px;color:var(--ink-soft,#4a4a52)}
.ych-about__links{display:flex;flex-direction:column;gap:2px;margin-top:20px}
.ych-about__links a{display:block;padding:11px 4px;border-bottom:1px solid var(--line,#e3e8e4);font-weight:700;font-size:15px;text-decoration:none}
.ych-about__links a:last-child{border-bottom:none}
.ych-about__links a:hover{color:var(--mint-deep,#0e7a55)}
@media(max-width:900px){.ych-about__body{grid-template-columns:1fr;gap:28px}}

/* --- statutory trading disclosure line (footer, 2026-07-05) --- */
.ych-foot-company{display:block;margin-top:6px;font-size:11.5px;color:rgba(255,255,255,.55);font-weight:400;max-width:72ch}

/* --- HFE scroll-to-top "Up" button: not in the approved v52 system (decision
   2026-07-05). HFE renders it by default with no stored enable switch to flip,
   so it's suppressed here. Delete this block to restore it. --- */
.hfe-scroll-to-top-wrap{display:none !important}

/* --- floating helper (shortlist + care-sector jobs; successor to the old site's help box) --- */
/* bottom:92px clears the theme's scroll-to-top circle (fixed bottom-right) */
.ych-helper{position:fixed;right:26px;bottom:92px;z-index:99990;width:300px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 26px 54px -24px rgba(14,52,38,.45);padding:20px 20px 16px}
.ych-helper[hidden]{display:none}
.ych-helper-close{position:absolute;top:10px;right:10px;width:28px;height:28px;border:none;background:none;color:var(--ink-soft);cursor:pointer;padding:4px;border-radius:8px}
.ych-helper-close:hover{background:var(--mint-pale);color:var(--ink)}
.ych-helper-close svg{width:16px;height:16px}
.ych-helper-title{font-family:var(--serif);font-weight:700;font-size:17px;color:var(--ink);margin:0 24px 6px 0;line-height:1.3}
.ych-helper-sub{font-size:13px;color:var(--ink-soft);margin:0 0 12px;line-height:1.5}
.ych-helper-link{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:8px;text-decoration:none;color:var(--ink);transition:border-color .15s,background .15s}
.ych-helper-link:hover{border-color:var(--mint-deep);background:var(--mint-pale);color:var(--ink);text-decoration:none}
.ych-helper-ico{width:36px;height:36px;border-radius:10px;background:var(--mint-pale);color:var(--mint-deep);display:flex;align-items:center;justify-content:center;flex:none}
.ych-helper-ico svg{width:18px;height:18px}
.ych-helper-link strong{display:block;font-size:14px;line-height:1.25}
.ych-helper-link small{display:block;font-size:12px;color:var(--ink-soft)}
/* collapsed launcher (2026-07-12): the card no longer auto-opens; this bubble
   does. Same right offset as the card, same clearance over the scroll-to-top. */
.ych-helper-fab{position:fixed;right:26px;bottom:92px;z-index:99990;width:52px;height:52px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 18px 40px -18px rgba(14,52,38,.4);color:var(--mint-deep);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.ych-helper-fab[hidden]{display:none}
.ych-helper-fab svg{width:22px;height:22px}
.ych-helper-fab:hover{background:var(--mint-pale)}
@media(max-width:900px){.ych-helper{display:none}.ych-helper-fab{display:none}}

/* Special-offer chip on result cards (Stephen 2026-07-13): careful overlay on
   the image, amber family matching the single-page offer banner; tooltip
   carries the full offer + the home-is-responsible line. Overrides the legacy
   style.css .special-offer block (full-width, spinner icon). */
.list-card .img-wrapper{position:relative}
.list-card .special-offer{position:absolute;top:10px;left:10px;z-index:3;width:auto;max-width:calc(100% - 20px);background:#fdf3d7;border:1px solid #e8d49a;color:#5b4a1a;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600;gap:6px}
.list-card .special-offer svg{width:14px;height:14px;min-width:14px;min-height:14px}
.list-card .special-offer .spin-animation{animation:none}
.list-card .special-offer .offer-tooltip{left:0;right:auto;top:calc(100% + 6px);background:#fff;border:1px solid #e8d49a;color:#3d3312;border-radius:10px;padding:10px 12px;font-weight:500;white-space:normal;width:max-content;max-width:280px;box-shadow:0 14px 30px -16px rgba(14,52,38,.35)}
.list-card .special-offer .offer-tooltip small{display:block;margin-top:6px;color:#8a7a45;font-size:11px;line-height:1.45}
.ych-offer small{display:block;margin-top:4px;font-size:12px;font-weight:400;opacity:.75}

/* --- "As seen on" press-logo strip (sheet item 19, Stephen 2026-09-10):
   restores the Elementor .news-logos block prod carries — staging dropped it
   in the rebuild. New section sits between the trust pillars band and the
   featured homes strip; base .yh-section/.yh-pillars padding lives in
   home.css (untouched — out of scope here), this only adds the new
   .yh-press* rules. Trust band's own .ych-wrap padding-bottom is 32px
   (22px <1000px), so 28px top keeps this tight underneath it. --- */
.yh-press{padding:36px 0 28px}
.yh-press__label{margin:0 0 14px;text-align:center;font-size:13px;letter-spacing:.02em;color:var(--ink-soft)}
.yh-press__logos{list-style:none;margin:0;padding:0;display:flex;justify-content:center;align-items:center;gap:clamp(28px,5vw,72px);flex-wrap:wrap}
.yh-press__logos img{display:block;height:34px;width:auto;filter:grayscale(1);opacity:.85}
@media(max-width:640px){.yh-press__logos{gap:22px}.yh-press__logos img{height:26px}}

/* My Leads (my-account/my-leads, mu-plugins/ych-leads-console.php): the per-row
   "Show details" summary is a button-styled control with a visible chevron. */
.ych-leads-table .ych-lead-key{font-size:.92em;line-height:1.4}
.ych-leads-table summary.ych-lead-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;user-select:none}
.ych-leads-table summary.ych-lead-toggle::-webkit-details-marker{display:none}
.ych-leads-table summary.ych-lead-toggle::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.ych-leads-table details[open] > summary.ych-lead-toggle::after{transform:rotate(-135deg) translateY(-2px)}
.ych-leads-table details[open] > summary .ych-lead-toggle-show{display:none}
.ych-leads-table details[open] > summary .ych-lead-toggle-hide{display:inline}
.ych-leads-table details.ych-lead-more > summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.ych-leads-table details.ych-lead-more[open] > .ych-lead-details{margin-top:10px}

/* Home care information tile (2026-10-07, template-parts/content-carehomes-card.php):
   a home care card with no cover photo shows a mint tile (icon + category; the
   regulator rating is not repeated here since 2026-10-08) in place of the grey
   default thumbnail. The tile IS the .img-wrapper box, so the style.css
   .list-card .img-wrapper sizes (350x350 desktop, 350x300 at 991px, full width
   x 380px at 767px, 280px at 575px) applied until the compact home care card
   below (2026-10-08) shrank every home care box; aspect-ratio only fills in
   where no height is set. The ::before photo gradient is dropped. */
.list-card .img-wrapper.hc-tile{background:var(--mint-pale);color:var(--mint-deep);border:1px solid var(--line);aspect-ratio:1/1}
.list-card .img-wrapper.hc-tile::before{display:none !important}
.list-card .img-wrapper.hc-tile .hc-tile-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}
.list-card .img-wrapper.hc-tile .hc-tile-icon{width:40px;height:40px;flex:none;color:var(--mint-deep)}
.list-card .img-wrapper.hc-tile .hc-tile-category{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 8px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--mint-deep)}
.list-card .img-wrapper.hc-tile .hc-tile-category span+span::before{content:"\00B7";margin-right:8px}

/* Compact home care card (2026-10-08, template-parts/content-carehomes-card.php
   adds .list-card--hc to every home care card): the owner does not want a
   photo-sized slot on home care, so the .img-wrapper (mint tile OR office
   photo) is a 150px square left of the text at desktop and tablet and a 120px
   square, still left of the text, on phones (<=767px, where care home cards
   stack the photo full width). Every rule here is scoped to .list-card--hc;
   care home cards keep the style.css sizes. !important beats the nested
   .list-wrapper ... .list-card .img-wrapper sizes (0,5,0) and the
   .ych-town-featured min-height:230px. border-box keeps the bordered tile at
   the same outer size as a photo. The tile shows the icon centred with Home
   care (and Also supported living, stacked, no separator) under it. */
.list-card.list-card--hc .list-card-body{flex-direction:row !important;align-items:flex-start}
.list-card.list-card--hc .list-card-body > a{flex:0 0 auto}
.list-card.list-card--hc .list-content{min-width:0}
.list-card.list-card--hc .img-wrapper{box-sizing:border-box;width:150px !important;min-width:150px !important;height:150px !important;min-height:0 !important;flex:none}
.list-card.list-card--hc .img-wrapper::before{display:none !important}
.list-card.list-card--hc .img-wrapper img{object-fit:cover;width:100%;height:100%}
.list-card.list-card--hc .img-wrapper .img-overlay{padding:6px}
.list-card.list-card--hc .img-wrapper .overlay-chip{padding:2px;gap:0}
.list-card.list-card--hc .img-wrapper .overlay-chip > span{display:none}
.list-card.list-card--hc .img-wrapper .overlay-chip .chip-icon{width:24px;min-width:24px;height:24px;font-size:12px}
.list-card.list-card--hc .img-wrapper .img-count{padding:2px 8px;font-size:12px}
.list-card.list-card--hc .special-offer{top:4px;left:4px;max-width:calc(100% - 8px);padding:2px 6px;font-size:10px;gap:4px}
.list-card.list-card--hc .special-offer > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.list-card.list-card--hc .img-wrapper.hc-tile .hc-tile-inner{gap:8px;padding:10px;overflow:hidden}
.list-card.list-card--hc .img-wrapper.hc-tile .hc-tile-icon{width:32px;height:32px}
.list-card.list-card--hc .img-wrapper.hc-tile .hc-tile-category{flex-direction:column;align-items:center;gap:2px;font-size:11px;line-height:1.3;letter-spacing:.03em}
.list-card.list-card--hc .img-wrapper.hc-tile .hc-tile-category span+span::before{content:none}
@media(max-width:767px){
.list-card.list-card--hc .list-card-body{gap:12px !important}
.list-card.list-card--hc .img-wrapper{width:120px !important;min-width:120px !important;height:120px !important}
.list-card.list-card--hc .img-wrapper.hc-tile .hc-tile-inner{gap:6px;padding:6px}
}
/* end compact home care card (ych-regression-extra-hc-tile.php checks every selector above is scoped to .list-card--hc) */
