/* EKIN content layer: service pages, guides, trust strip. Builds on style-livefix.css tokens. */

.pageHero--content{ padding: 34px 0 8px; }
.pageHero--content .hTitle--page{ max-width: 22ch; }
.heroNote2{ margin-top: 14px; font-size: 14px; color: var(--muted2); max-width: 70ch; }

.crumbs{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:13px; color:var(--muted2); margin-bottom:14px; }
.crumbs a{ color: var(--accent); }
.crumbs a:hover{ text-decoration: underline; }
.crumbSep{ opacity:.5; }

/* ---------- article layout */
.section--content{ padding-top: 18px; }
.articleLayout{ display:grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items:start; }
.articleAside{ position: sticky; top: calc(var(--headerH, 112px) + 12px); display:grid; gap:14px; }
@media (max-width: 980px){
  .articleLayout{ grid-template-columns: 1fr; gap: 28px; }
  .articleAside{ position: static; }
  .asideToc{ display:none; }
}

.prose{ max-width: 70ch; font-size: 17px; line-height: 1.65; color: var(--text); }
.prose > *:first-child{ margin-top: 0; }
.prose h2{ font-size: clamp(22px, 2.4vw, 27px); line-height:1.2; margin: 44px 0 12px; letter-spacing:-.01em; scroll-margin-top: calc(var(--headerH, 112px) + 16px); }
.prose h3{ font-size: 19px; margin: 28px 0 8px; }
.prose p{ margin: 0 0 14px; }
.prose ul, .prose ol{ margin: 0 0 16px; padding-left: 22px; }
.prose li{ margin: 6px 0; }
.prose a{ color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover{ text-decoration-thickness: 2px; }
.prose strong{ font-weight: 700; }
.prose .lede{ font-size: 19px; line-height:1.55; color: var(--muted); }

/* short answer block at the top of a page: what the reader came for */
.answerBox{ border-left: 4px solid var(--accent); background: #fff; padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 28px; box-shadow: 0 6px 20px rgba(8,32,64,.05); }
.answerBox p{ margin: 0; }
.answerBox p + p{ margin-top: 8px; }
.answerBox .answerLabel{ font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 4px; }

.callout{ background: rgba(16,85,142,.06); border: 1px solid rgba(16,85,142,.18); padding: 14px 18px; border-radius: 12px; margin: 20px 0; font-size: 15.5px; }
.callout p:last-child{ margin-bottom:0; }
.callout--warn{ background: rgba(255,204,102,.16); border-color: rgba(200,140,20,.35); }

/* key facts table */
.factTable{ width:100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 15.5px; background:#fff; border-radius: 12px; overflow:hidden; box-shadow: 0 0 0 1px var(--line); }
.factTable th, .factTable td{ text-align:left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.factTable th{ width: 36%; font-weight: 600; color: var(--ink); background: rgba(8,32,64,.03); }
.factTable tr:last-child th, .factTable tr:last-child td{ border-bottom: 0; }
.tableScroll{ overflow-x:auto; }

/* genuine sequences only: Section 20 stages, handover, RTM process */
.stageList{ list-style:none; padding:0 !important; margin: 18px 0 24px; counter-reset: stage; }
.stageList > li{ position:relative; padding: 0 0 22px 56px; margin:0; counter-increment: stage; }
.stageList > li::before{ content: counter(stage); position:absolute; left:0; top:0; width:36px; height:36px; border-radius:50%; background: var(--accent); color:#fff; font-weight:700; display:grid; place-items:center; font-size:15px; }
.stageList > li::after{ content:""; position:absolute; left:17px; top:40px; bottom:4px; width:2px; background: rgba(16,85,142,.2); }
.stageList > li:last-child::after{ display:none; }
.stageList > li > strong{ display:block; font-size: 17.5px; margin-bottom: 2px; }
.stageList .stageMeta{ display:inline-block; font-size: 13px; color: var(--accent); font-weight:600; margin-bottom: 4px; }

/* ---------- aside */
.asideCard{ background:#fff; border:1px solid var(--line); border-radius: 16px; padding: 18px; }
.asideTitle{ font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.asideCard p{ font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.asideCard--cta{ background: var(--ink); border-color: var(--ink); }
.asideCard--cta .asideTitle, .asideCard--cta p{ color:#fff; }
.asideCard--cta p{ opacity:.85; }
.asideCard--cta .btn.primary{ width:100%; justify-content:center; background:#fff; color: var(--ink); }
.asidePhone{ display:block; text-align:center; color:#fff; opacity:.85; font-size: 14px; margin-top: 10px; }
.asidePhone:hover{ opacity:1; text-decoration: underline; }
.asideToc ol{ margin:0; padding-left: 18px; font-size: 14px; }
.asideToc li{ margin: 6px 0; }
.asideToc a{ color: var(--muted); }
.asideToc a:hover{ color: var(--accent); }
.trustRow{ display:flex; gap: 12px; align-items:center; padding: 10px 0; border-top: 1px solid var(--line); }
.trustRow:first-of-type{ border-top: 0; padding-top: 0; }
.trustRow img{ width: 42px; height: 42px; object-fit: contain; flex: none; }
.trustRow strong{ display:block; font-size: 14px; color: var(--ink); }
.trustRow span span{ display:block; font-size: 12.5px; color: var(--muted2); }
.trustRow:hover strong{ color: var(--accent); }

.updatedNote{ margin-top: 36px; font-size: 13px; color: var(--muted2); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- related links */
.relGrid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 14px; }
.relLink{ display:block; padding: 16px 18px 18px 0; border-bottom: 1px solid var(--line); }
.relLink strong{ display:block; color: var(--ink); font-size: 16.5px; margin-bottom: 4px; }
.relLink span{ display:block; font-size: 14px; color: var(--muted); line-height:1.45; }
.relLink:hover strong{ color: var(--accent); text-decoration: underline; }

/* ---------- services hub: grouped index, not a card wall */
.svcIndex{ display:grid; gap: 38px; margin-top: 8px; }
.svcGroup{ display:grid; grid-template-columns: 220px 1fr; gap: 24px; border-top: 2px solid var(--ink); padding-top: 16px; }
.svcGroup h2{ font-size: 21px; margin: 0; }
.svcGroup .svcGroupNote{ font-size: 14px; color: var(--muted2); margin-top: 6px; }
.svcList{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 28px; }
.svcItem{ display:block; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.svcItem strong{ display:block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.svcItem span{ display:block; color: var(--muted); font-size: 15px; line-height:1.45; }
.svcItem:hover strong{ color: var(--accent); text-decoration: underline; }
@media (max-width: 820px){
  .svcGroup{ grid-template-columns: 1fr; gap: 6px; }
  .svcList{ grid-template-columns: 1fr; }
}

/* ---------- home: trust strip */
.trustStrip{ display:grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 0; background:#fff; border:1px solid var(--line); border-radius: 18px; overflow:hidden; }
.trustStrip .trustLead{ padding: 20px 22px; background: var(--ink); color:#fff; }
.trustStrip .trustLead strong{ display:block; font-size: 18px; margin-bottom: 4px; }
.trustStrip .trustLead span{ font-size: 14px; opacity: .85; }
.trustStrip .trustItem{ display:flex; gap: 12px; align-items:center; padding: 18px 20px; border:0; border-left: 1px solid var(--line); border-radius:0; background:transparent; }
.trustItem img{ width: 46px; height: 46px; object-fit: contain; flex:none; }
.trustItem strong{ display:block; font-size: 14.5px; color: var(--ink); }
.trustItem span span{ display:block; font-size: 13px; color: var(--muted2); }
.trustItem:hover strong{ color: var(--accent); text-decoration: underline; }
@media (max-width: 900px){
  .trustStrip{ grid-template-columns: 1fr; }
  .trustStrip .trustItem{ border-left: 0; border-top: 1px solid var(--line); }
}

/* home: area links */
.areaLinks{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 14px; }
.areaLinks a{ padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background:#fff; font-size: 14px; color: var(--ink); }
.areaLinks a:hover{ border-color: var(--accent); color: var(--accent); }

/* guides hub */
.guideList{ display:grid; gap:0; border-top: 1px solid var(--line); }
.guideItem{ display:grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guideItem strong{ font-size: 19px; color: var(--ink); display:block; margin-bottom: 4px; }
.guideItem span{ color: var(--muted); font-size: 15px; }
.guideItem em{ font-style: normal; font-size: 13px; color: var(--muted2); white-space: nowrap; }
.guideItem:hover strong{ color: var(--accent); text-decoration: underline; }

/* portal: folder tree illustration */
.folderTree{ font-size: 15px; background:#fff; border:1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 16px 0 24px; line-height: 1.9; }
.folderTree ul{ list-style:none; margin:0; padding-left: 20px; border-left: 1px dashed rgba(8,32,64,.2); }
.folderTree > ul{ padding-left: 0; border-left: 0; }
.folderTree li::before{ content: ""; display:inline-block; width: 14px; height: 11px; margin-right: 8px; border-radius: 2px 2px 2px 2px; background: rgba(16,85,142,.25); vertical-align: -1px; }
.folderTree .live{ font-size: 12px; color: var(--ok); font-weight: 700; margin-left: 6px; }

/* footer: 4 columns */
.footerGrid.footerGrid--wide{ max-width: var(--max); grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 1000px){ .footerGrid.footerGrid--wide{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .footerGrid.footerGrid--wide{ grid-template-columns: 1fr; } }

a:focus-visible, .btn:focus-visible, summary:focus-visible{ outline: 3px solid rgba(16,85,142,.55); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

/* stop the page background gradients from tiling every viewport height on long pages */
body{ background-repeat: no-repeat; background-color: var(--bg); }

/* ---------- v4: home hero copy */
.heroTagline{ font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--accent); margin: 10px 0 6px; }
.heroCtaNote{ font-size: 14px; color: var(--muted2); margin: 10px 0 0; }

/* ---------- v4: reporting samples */
.sampleGrid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 12px; }
.sampleCard{ display:block; background:#fff; border:1px solid var(--line); border-radius: 14px; padding: 10px 10px 14px; }
.sampleCard img{ width:100%; height:auto; aspect-ratio: 640 / 452; object-fit: cover; border-radius: 8px; border:1px solid var(--line); display:block; margin-bottom: 10px; }
.sampleCard strong{ display:block; font-size: 16px; color: var(--ink); padding: 0 4px; }
.sampleCard span{ display:block; font-size: 14px; color: var(--muted); padding: 2px 4px 0; line-height: 1.45; }
.sampleCard:hover strong{ color: var(--accent); text-decoration: underline; }
.sampleNote{ font-size: 13px; color: var(--muted2); margin-top: 12px; }
@media (max-width: 860px){ .sampleGrid{ grid-template-columns: 1fr; } }

.worksBand{ display:flex; gap: 24px; align-items:center; justify-content:space-between; flex-wrap:wrap; background: var(--ink); color:#fff; border-radius: 20px; padding: 26px 28px; }
.worksBand .h2{ color:#fff; margin:0 0 8px; }
.worksBand p{ margin:0; max-width: 68ch; opacity:.88; }
.worksBand .btn.primary{ background:#fff; color: var(--ink); }
.worksBand .btn.ghost{ color:#fff; border-color: rgba(255,255,255,.4); background: transparent; }

/* ---------- v4: legal line & sources */
.footerLegal{ max-width: var(--max); margin: 18px auto 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted2); }
.sourcesNote{ font-size: 13px; color: var(--muted2); margin-top: 6px; }
.sourcesNote a{ color: var(--muted); }

/* ---------- v4: stable photo frames, whatever orientation the rotating image has */
.pageHeroMedia{ margin:0; position:relative; aspect-ratio: 4 / 3; min-height: 0 !important; max-height: 440px; width: 100%; }
.pageHeroMedia img{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; object-position: center 40%; }
.heroVisual{ margin:0; position:relative; aspect-ratio: 4 / 3.4; min-height: 0 !important; max-height: 520px; }
.heroVisual img{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; object-position: center 40%; }
@media (max-width: 940px){
  .pageHeroMedia{ aspect-ratio: 16 / 10; max-height: 300px; }
  .heroVisual{ aspect-ratio: 16 / 10; max-height: 340px; }
}
.headerCtas .btn{ white-space: nowrap; }

/* cookie consent banner */
.cookieBanner{ position:fixed; left:16px; right:16px; bottom:16px; z-index:1000; max-width:720px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 18px 50px rgba(8,32,64,.22); padding:16px 18px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; font-size:14.5px; }
.cookieBanner p{ margin:0; flex:1 1 320px; color:var(--text); }
.cookieBanner a{ color:var(--accent); text-decoration:underline; }
.cookieBtns{ display:flex; gap:8px; }

/* coverage map */
.ekinPin span{ display:block; width:22px; height:22px; border-radius:50%; background:#082040; border:3px solid #fff; box-shadow:0 0 0 3px rgba(16,85,142,.35), 0 4px 10px rgba(8,32,64,.35); }
.leaflet-popup-content a{ color: var(--accent); text-decoration: underline; }
.areasMapWrap{ height: 440px; }
.areasMapWrap .catchmentMap, .areasMapWrap .catchmentFallback{ height: 100%; }
.areaMapGrid{ display:grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: stretch; }
.areaMapGrid .card{ display:flex; flex-direction:column; gap: 8px; }
@media (max-width: 900px){ .areaMapGrid{ grid-template-columns: 1fr; } .areasMapWrap{ height: 340px; } }

/* header fit on laptop widths (prevents the proposal button being cut off) */
@media (max-width: 1480px){
  .headerNav{ gap: 14px !important; }
  .headerCtas{ gap: 10px !important; }
  .headerPortalLink{ font-size: 14px !important; }
}
@media (max-width: 1240px) and (min-width: 1025px){
  .headerNav{ gap: 4px !important; }
  .headerNav a{ padding: 8px 8px !important; }
  .headerPortalLink{ display: none !important; }
}
/* home: let the map fill its card */
#coverage .grid2 > .card:last-child{ display:flex; flex-direction:column; }
#coverage .grid2 > .card:last-child .mapWrap{ flex:1; height:auto; min-height:320px; }
#coverage .catchmentMap{ height:100%; min-height:320px; }
.linkButton{ background:none; border:0; padding:0; font:inherit; color: var(--accent); text-decoration: underline; cursor:pointer; }
.footerLinkButton{ color: inherit; text-decoration: none; }
.footerLinkButton:hover{ text-decoration: underline; }

/* ---------- v8: interactive tools */
.toolCard{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; margin:8px 0 24px; box-shadow:0 8px 24px rgba(8,32,64,.05); }
.toolRow{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin-bottom:14px; }
.toolField label{ display:block; font-size:14px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.toolField[hidden]{ display:none; }
.toolResult{ border-top:1px solid var(--line); padding-top:16px; margin-top:6px; font-size:16px; }
.toolResult p{ margin:0 0 10px; }
.toolHint{ color:var(--muted2); font-size:14px; }
.toolVerdict{ font-weight:700; font-size:18px; padding:10px 14px; border-radius:10px; }
.toolVerdict--yes{ background:#fde2e6; color:#8b1d31; }
.toolVerdict--mid{ background:#fff1d0; color:#7a5100; }
.toolVerdict--no{ background:#dff3e8; color:#16613a; }
.toolTimeline{ list-style:none; padding:0 !important; margin:10px 0 12px; border-left:2px solid rgba(16,85,142,.25); }
.toolTimeline li{ padding:4px 0 8px 16px; position:relative; margin:0; }
.toolTimeline li::before{ content:""; position:absolute; left:-6px; top:10px; width:10px; height:10px; border-radius:50%; background:var(--accent); }
.toolTimeline strong{ display:inline-block; min-width:118px; }
.hcQ{ border:0; border-bottom:1px solid var(--line); margin:0; padding:12px 0; }
.hcQ legend{ font-weight:600; color:var(--ink); padding:0; margin-bottom:8px; display:flex; gap:10px; align-items:flex-start; }
.hcN{ flex:none; width:24px; height:24px; border-radius:50%; background:rgba(16,85,142,.12); color:var(--accent); font-size:13px; display:grid; place-items:center; }
.hcQ label{ display:inline-flex; align-items:center; gap:6px; margin:0 18px 0 34px; font-size:15px; cursor:pointer; }
@media (max-width:640px){ .hcQ label{ display:flex; margin:6px 0 0 34px; } }

/* author box on guides */
.authorBox{ display:flex; gap:14px; align-items:center; margin-top:32px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.authorBox img{ width:56px; height:56px; border-radius:50%; object-fit:cover; flex:none; }
.authorBox strong{ display:block; color:var(--ink); }
.authorBox span{ font-size:14px; color:var(--muted); }

/* map inside area pages */
.areaPageMap{ height:340px; margin:20px 0 8px; }
.areaPageMap .catchmentMap{ height:100%; }

/* ---------- v9: area guide photos */
.areaPhoto{ margin: 18px 0 22px; }
.areaPhoto img{ width:100%; height:auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; display:block; }
.areaPhoto figcaption{ font-size: 13px; color: var(--muted2); margin-top: 6px; }

/* template letter */
.templateBox{ position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; margin: 12px 0 16px; }
.templateBox pre{ margin:0; padding: 18px 18px 18px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.55; color: var(--text); max-height: 420px; overflow:auto; }
.templateCopy{ position:absolute; top:10px; right:10px; padding: 6px 12px !important; font-size: 13px !important; }

/* mobile quick-contact bar */
.mobileActions{ display:none; }
@media (max-width: 720px){
  .mobileActions{ display:grid; grid-template-columns: 1fr 1fr 1.2fr; position:fixed; left:0; right:0; bottom:0; z-index:900; background:#fff; border-top:1px solid var(--line); box-shadow: 0 -6px 20px rgba(8,32,64,.10); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobileActions a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding: 9px 4px; font-size: 13px; font-weight:600; color: var(--ink); }
  .mobileActions a span{ font-size: 17px; line-height: 1; }
  .mobileActions__primary{ background: var(--ink); color:#fff !important; }
  body{ padding-bottom: 64px; }
  .cookieBanner{ bottom: 76px; }
}

/* ---------- v10: building review form */
.reviewForm legend{ font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; padding:0; }
.reviewForm fieldset{ border:0; padding:0; margin:0 0 8px; }
.reviewForm fieldset[hidden]{ display:none; }
.reviewForm .textarea, .reviewForm .input, .reviewForm .select{ width:100%; }
.fieldLabel{ font-size:14px; font-weight:600; color:var(--ink); margin: 6px 0 8px; }
.chipRow{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 16px; }
.chipCheck{ position:relative; cursor:pointer; }
.chipCheck input{ position:absolute; opacity:0; pointer-events:none; }
.chipCheck span{ display:inline-block; padding: 8px 12px; border:1px solid var(--line); border-radius:999px; font-size:14px; background:#fff; color: var(--ink); }
.chipCheck input:checked + span{ background: var(--ink); color:#fff; border-color: var(--ink); }
.chipCheck input:focus-visible + span{ outline: 3px solid rgba(16,85,142,.45); outline-offset: 2px; }
.stepNav{ display:flex; justify-content:space-between; gap:10px; margin-top: 14px; }
.stepDots{ display:none; list-style:none; padding:0 !important; margin: 0 0 18px; gap: 8px; }
.reviewForm.isStepped .stepDots{ display:flex; }
.stepDots li{ flex:1; font-size:12.5px; font-weight:600; color: var(--muted2); border-top: 4px solid var(--line); padding-top: 6px; margin:0; }
.stepDots li.on{ color: var(--accent); border-top-color: var(--accent); }
.reviewForm:not(.isStepped) .stepNav button[type="button"]{ display:none; }

/* switch guarantee */
.promiseGrid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 10px 0 20px; }
.promise{ background:#fff; border:1px solid var(--line); border-radius:14px; padding: 16px 16px 14px; position:relative; }
.promise h3{ margin: 6px 0 6px; font-size: 17px; }
.promise p{ margin:0; font-size: 15px; color: var(--muted); }
.promiseN{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background: var(--accent); color:#fff; font-weight:700; font-size:14px; }
.guaranteeBand{ display:flex; gap: 24px; align-items:center; justify-content:space-between; flex-wrap:wrap; background: linear-gradient(135deg, #0a2b4f, #10558e); color:#fff; border-radius: 20px; padding: 26px 28px; }
.guaranteeBand .h2{ color:#fff; margin: 0 0 10px; }
.gbKicker{ margin:0 0 4px; font-size: 13px; font-weight:700; letter-spacing:.06em; text-transform: uppercase; opacity:.8; }
.gbList{ list-style:none; padding:0 !important; margin:0; display:grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.gbList li{ padding-left: 22px; position:relative; margin:0; }
.gbList li::before{ content:"✓"; position:absolute; left:0; font-weight:700; color:#9fd3ff; }
.guaranteeBand .btn.primary{ background:#fff; color: var(--ink); }
.guaranteeBand .btn.ghost{ color:#fff; border-color: rgba(255,255,255,.45); background: transparent; }
@media (max-width: 640px){ .gbList{ grid-template-columns: 1fr; } }

/* reviews */
.reviewGrid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.reviewCard{ margin:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding: 16px; }
.reviewStars{ color:#e8a400; letter-spacing: 2px; }
.reviewCard blockquote{ margin: 8px 0 10px; font-size: 15.5px; color: var(--text); }
.reviewCard figcaption{ font-size: 14px; color: var(--muted); }
.reviewCard figcaption span{ display:block; font-size: 12.5px; color: var(--muted2); margin-top: 2px; }
.ratingBadge{ display:flex; align-items:baseline; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.ratingBadge strong{ font-size: 20px; color: var(--ink); }
.ratingStars{ color:#e8a400; letter-spacing: 1px; }

/* ---------- postcode checker */
.pcPanel{ margin-top: 14px; }
.pcPanel[hidden]{ display:none; }
.pcForm{ display:flex; gap: 8px; flex-wrap: wrap; }
.pcForm label{ flex: 0 0 100%; font-size: 14px; font-weight: 600; color: var(--ink); }
.pcForm input{ flex: 1 1 160px; min-width: 0; text-transform: uppercase; }
.pcOut:empty{ display:none; }
.pcResult{ margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background:#fff; }
.pcResult p{ margin: 0 0 10px; font-size: 15px; }
.pcTitle{ font-weight: 700; font-size: 17px !important; }
.pcResult--yes{ border-color: rgba(22,114,63,.35); background: #f1faf5; }
.pcResult--yes .pcTitle{ color: #16613a; }
.pcResult--no{ border-color: rgba(200,140,20,.35); background: #fffaf0; }
.pcResult--no .pcTitle{ color: #7a5100; }
.pcResult--err{ border-color: rgba(163,36,59,.3); background: #fff5f6; }
.pcResult .ctas{ margin-top: 4px; }
.pcMore{ font-size: 13.5px !important; margin: 10px 0 0 !important; }
.pcMore a{ color: var(--accent); text-decoration: underline; }
/* let the areas map grow with the card when the postcode checker opens */
.areasMapWrap{ height:auto; min-height:440px; align-self: stretch; }
.areasMapWrap .catchmentMap{ height:100%; min-height:440px; }
@media (max-width: 900px){ .areasMapWrap, .areasMapWrap .catchmentMap{ min-height:340px; } }
.hcCrit{ display:inline-block; margin-left:8px; padding:1px 8px; border-radius:999px; background:#fde2e6; color:#8b1d31; font-size:11.5px; font-weight:700; vertical-align:2px; }
.hcAlert{ border:1px solid rgba(163,36,59,.35); background:#fff5f6; border-radius:12px; padding:12px 14px; margin: 4px 0 12px; }
.hcAlert p{ margin:0 0 6px; }
.hcAlert ul{ margin:0; }
.scopeTable{ width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 0 0 1px var(--line); font-size:14.5px; margin: 12px 0 14px; min-width: 640px; }
.scopeTable th{ background: var(--ink); color:#fff; text-align:left; padding:10px 12px; font-weight:600; width:33.3%; }
.scopeTable td{ vertical-align:top; padding: 10px 12px; border-right:1px solid var(--line); }
.scopeTable td:last-child{ border-right:0; }
.scopeTable ul{ margin:0; padding-left:18px; }
.scopeTable li{ margin: 5px 0; }
@media (max-width: 980px){ .articleLayout{ grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px){
  .scopeTable{ min-width: 0; }
  .scopeTable thead{ display:none; }
  .scopeTable, .scopeTable tbody, .scopeTable tr, .scopeTable td{ display:block; width:100%; }
  .scopeTable td{ border-right:0; border-bottom:1px solid var(--line); }
  .scopeTable td::before{ display:block; font-weight:700; color: var(--ink); margin-bottom:4px; }
  .scopeTable td:nth-child(1)::before{ content:"Included in the management fee"; }
  .scopeTable td:nth-child(2)::before{ content:"Priced separately, agreed in advance"; }
  .scopeTable td:nth-child(3)::before{ content:"Separately appointed specialists"; }
}
.footerLegal a{ color: inherit; text-decoration: underline; }
.footerSocial{ display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.footerSocial a{ display:inline-block; padding:6px 12px; border:1px solid var(--line); border-radius:999px; font-size:13.5px; font-weight:600; color: var(--ink); background:#fff; }
.footerSocial a:hover{ border-color: var(--accent); color: var(--accent); }

/* Photo credits for Creative Commons images */
.photoCredit{ position:absolute; top:12px; right:12px; z-index:2; max-width:calc(100% - 24px); font-size:11.5px; line-height:1.25; color:#fff; background:rgba(8,32,64,.66); padding:5px 10px; border-radius:999px; text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.photoCredit:hover, .photoCredit:focus-visible{ text-decoration:underline; }
.areaPhoto--credited img{ aspect-ratio:auto; height:auto; object-fit:contain; }
.areaPhoto figcaption a{ color:inherit; text-decoration:underline; }
.svcItem--thumb{ display:grid; grid-template-columns:104px minmax(0,1fr); gap:14px; align-items:start; }
.svcThumb{ width:104px; height:78px; object-fit:cover; border-radius:10px; display:block; background:#dfe8f3; }
.photoNote{ font-size:13px; color:var(--muted2); margin-top:18px; }
.photoNote a{ color:inherit; text-decoration:underline; }
.mapPopupImg{ display:block; width:220px; height:146px; object-fit:cover; border-radius:8px; margin:0 0 8px; }
.mapPopupCredit{ font-size:11px; color:#5b6b7f !important; }
.creditList{ list-style:none; padding:0; margin:0 0 28px; display:grid; gap:14px; }
.creditItem{ display:grid; grid-template-columns:120px minmax(0,1fr); gap:16px; align-items:start; padding:14px 0; border-bottom:1px solid var(--line); scroll-margin-top:110px; }
.creditItem img{ width:120px; height:90px; object-fit:cover; border-radius:10px; display:block; }
.creditItem p{ margin:0 0 4px; font-size:15px; line-height:1.5; }
.creditItem:target{ background:rgba(16,85,142,.07); border-radius:12px; padding-left:10px; padding-right:10px; }
@media (max-width:560px){ .creditItem{ grid-template-columns:88px minmax(0,1fr); } .creditItem img{ width:88px; height:66px; } }
/* Legal pages: .section padding was overriding the container's side padding */
main.legalDoc{ padding-left:22px; padding-right:22px; }
.creditItem a{ color:var(--accent); text-decoration:underline; }

/* Cookie banner: compact on phones so it never covers the main buttons */
@media (max-width: 720px){
  .cookieBanner{ left:8px; right:8px; top:calc(8px + env(safe-area-inset-top, 0px)); bottom:auto; padding:10px 12px; gap:10px; flex-wrap:nowrap; align-items:center; font-size:13px; line-height:1.35; border-radius:12px; box-shadow:0 8px 28px rgba(8,32,64,.22); }
  .cookieBanner p{ flex:1 1 auto; min-width:0; }
  .cookieBtns{ flex:none; gap:6px; }
  .cookieBtns .btn{ padding:9px 14px; font-size:14px; min-height:42px; }
  .cookieBtnLong{ display:none; }
}
@media (max-width: 359px){
  .cookieBanner{ flex-wrap:wrap; }
  .cookieBtns{ width:100%; }
  .cookieBtns .btn{ flex:1 1 0; }
}
.cookieBanner{ z-index:10000; }

/* Form sending error */
.formStatus{ margin:14px 0; padding:14px 16px; border-radius:12px; background:#fdecec; border:1px solid #f1b5b5; color:#7a1c1c; font-size:15px; line-height:1.5; }
.formStatus a{ color:#7a1c1c; text-decoration:underline; font-weight:600; }
.formStatusDetail{ display:block; margin-top:6px; font-size:13px; opacity:.85; }

/* EKIN home: accessible, compact expansion for Google reviews (Oct 2026) */
.ratingBadge{ flex-wrap:wrap; }
.reviewMore{ margin-top:16px; }
.reviewMore summary{
  display:inline-flex; align-items:center; gap:12px; cursor:pointer;
  padding:10px 15px; border:1px solid var(--line); border-radius:11px;
  background:#fff; color:var(--accent); font-weight:700; font-size:14px;
  list-style:none; transition:background-color .15s ease, border-color .15s ease;
}
.reviewMore summary::-webkit-details-marker{ display:none; }
.reviewMore summary::after{ content:"+"; font-size:19px; font-weight:500; line-height:1; }
.reviewMore[open] summary::after{ content:"−"; }
.reviewMore summary:hover{ background:#f3f8fc; border-color:var(--accent); }
.reviewMore summary:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; }
.reviewGrid--more{ margin-top:14px; }
