/* Half Term Planner. Design system: docs/design/DESIGN.md. Two states drive everything: in school (green) and off (amber). */
@font-face{font-family:Figtree;src:url(/assets/fonts/figtree-latin-wght-normal.woff2) format("woff2");font-weight:300 900;font-style:normal;font-display:swap}
@font-face{font-family:Figtree;src:url(/assets/fonts/figtree-latin-wght-italic.woff2) format("woff2");font-weight:300 900;font-style:italic;font-display:swap}

:root{
  --bg:#F4F6F3;--surface:#FCFDFB;--ink:#13231C;--muted:#4A5B53;--line:#DCE3DE;--field:#7F8F87;
  --brand:#1E5A45;--on-brand:#F4F6F3;--brand-soft:#E3EEE8;
  --hol:#C97A0A;--on-hol:#13231C;--hol-soft:#FCEBC8;--weekend:#E3E9E5;
  --warn-bg:#FDF3DC;--warn-line:#E8C77D;--ok:#1E5A45;--ok-bg:#E3EEE8;--bad:#9B2C1F;--bad-bg:#FBE9E5;
  --radius:12px;--radius-sm:8px;
  --font:Figtree,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0D1814;--surface:#13221C;--ink:#E6EDE8;--muted:#A3B3AB;--line:#24372E;--field:#5E7268;
  --brand:#6CC7A0;--on-brand:#0D1814;--brand-soft:#173329;
  --hol:#E9A632;--on-hol:#0D1814;--hol-soft:#3A2E14;--weekend:#1A2C24;
  --warn-bg:#2E2511;--warn-line:#6B5420;--ok:#6CC7A0;--ok-bg:#173329;--bad:#F2A394;--bad-bg:#3A1C17;
  color-scheme:dark}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--font);font-variant-numeric:tabular-nums}
a{color:var(--brand);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
main{padding-bottom:24px}
h1,h2,h3{line-height:1.2;letter-spacing:-.015em;color:var(--ink)}
h1{font-size:clamp(1.9rem,4vw,2.75rem);font-weight:800;line-height:1.1;letter-spacing:-.025em;margin:8px 0 10px}
h2{font-size:1.45rem;font-weight:750;margin:44px 0 12px}
h3{font-size:1.1rem;font-weight:700;margin:24px 0 6px}
.lede{font-size:1.1rem;color:var(--muted);max-width:68ch;margin:0 0 6px}
.small{font-size:.875rem;color:var(--muted)}
.muted{color:var(--muted)}
.mt0{margin-top:4px}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}
main:focus{outline:none}
.skip{position:absolute;left:-9999px;top:0;background:var(--surface);color:var(--brand);padding:8px 14px;z-index:100;font-weight:700}.skip:focus{left:8px;top:8px}
[hidden]{display:none!important}

/* Header */
.site-header{background:var(--surface);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.12rem;letter-spacing:-.01em;color:var(--ink);text-decoration:none;white-space:nowrap}
.mark{display:grid;grid-template-columns:repeat(2,9px);gap:3px}
.mark i{width:9px;height:9px;border-radius:2px;background:var(--brand)}
.mark i:nth-child(2){background:var(--hol)}
.site-nav{display:flex;gap:4px}
.site-nav a{padding:8px 12px;border-radius:999px;color:var(--muted);font-weight:600;font-size:.95rem;text-decoration:none;white-space:nowrap}
.site-nav a:hover{color:var(--ink);background:var(--brand-soft)}
.site-nav a[aria-current=page]{color:var(--ink);background:var(--brand-soft)}
.shop-btn{position:relative;flex:0 0 auto;padding:9px 16px;border-radius:999px;border:1px solid var(--brand);background:var(--brand);color:var(--on-brand);font-weight:750;font-size:.92rem;line-height:1.2;text-decoration:none;white-space:nowrap}
.shop-btn:hover{text-decoration:underline;text-decoration-thickness:2px}

/* Shop card on council pages: one per page, after this year's dates */
.shop-card{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start;column-gap:24px;margin:28px 0 8px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.shop-card .shop-month{display:block;width:100%;max-width:360px;height:auto;border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:0 6px 16px rgb(19 35 28 / .16)}
.shop-card h2{margin:0 0 8px;font-size:1.25rem;line-height:1.3}
.shop-body p{margin:0 0 10px}
.shop-body p:last-child{margin-bottom:0}
.shop-body .btn{margin:2px 0 2px}

.crumbs{font-size:.85rem;color:var(--muted);margin:22px 0 6px}
.crumbs a{color:var(--muted)}

/* Buttons and fields */
button,.btn{font:700 .95rem/1.2 var(--font);padding:12px 18px;border-radius:var(--radius-sm);border:1px solid var(--brand);background:var(--brand);color:var(--on-brand);cursor:pointer;text-decoration:none;display:inline-block;white-space:nowrap;transition:transform .12s ease,background-color .12s ease}
button:active,.btn:active{transform:translateY(1px)}
button:disabled{opacity:.6;cursor:wait}
/* Long labels wrap on narrow phones instead of pushing past the edge. */
@media (max-width:480px){.btn{white-space:normal;max-width:100%;text-align:center}}
.btn.ghost{background:transparent;color:var(--brand)}
.btn.ghost:hover{background:var(--brand-soft)}
.linklike{background:none;border:0;padding:0;color:var(--brand);text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--field);border-radius:var(--radius-sm);padding:11px 13px;min-width:0}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
.row{display:flex;gap:8px}
.row input{flex:1}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 8px}
.text-link{font-weight:700;white-space:nowrap}
.lbl{font-weight:700;display:block;margin:8px 0 6px}

/* The answer: one sentence, plus a countdown */
.answer{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;margin:18px 0 18px;padding:22px 26px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.answer-text{margin:0;font-size:clamp(1.25rem,2.3vw,1.6rem);font-weight:500;color:var(--muted);line-height:1.35;letter-spacing:-.01em;text-wrap:balance}
.answer-text strong{font-weight:800;color:var(--ink)}
.answer-text a{font-weight:700}
.answer .countdown{margin:0;text-align:center;padding-left:28px;border-left:1px solid var(--line);max-width:190px;font-size:.85rem;color:var(--muted)}
.answer .countdown .big{display:block;font-size:3.2rem;font-weight:800;line-height:1;letter-spacing:-.03em;color:var(--ink);margin-bottom:4px}
.answer .countdown strong{font-weight:700;color:var(--ink)}
.countdown:empty{display:none}
.notice{background:var(--warn-bg);border:1px solid var(--warn-line);padding:12px 16px;border-radius:var(--radius)}

/* The school year at a glance */
.year{margin:34px 0 8px}
.year-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 20px;flex-wrap:wrap;margin-bottom:14px}
.year-head h2{margin:0}
.legend{margin:0;font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.legend .k{display:inline-block;width:12px;height:12px;border-radius:3px;margin-left:10px}
.legend .k:first-child{margin-left:0}
.legend .h{background:var(--hol)}.legend .w{background:var(--weekend)}.legend .t{box-shadow:inset 0 0 0 2px var(--ink)}
.months{display:grid;grid-template-columns:repeat(6,1fr);gap:18px 16px;margin-bottom:12px}
.month p{margin:0 0 6px;font-size:.85rem;font-weight:700}
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.days i{aspect-ratio:1;border-radius:3px;font:500 .66rem/1 var(--font);font-style:normal;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.days i.w{background:var(--weekend)}
.days i.h{background:var(--hol);color:var(--on-hol);font-weight:700}
.days i.t{box-shadow:inset 0 0 0 2px var(--ink);color:var(--ink);font-weight:800}
.days i.h.t{box-shadow:inset 0 0 0 2px var(--on-hol);color:var(--on-hol)}

/* Holiday table */
.hols-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:14px 0}
table.hols{width:100%;border-collapse:collapse;font-size:1rem}
table.hols th,table.hols td{text-align:left;padding:14px 20px;border-top:1px solid var(--line);border-bottom:0;vertical-align:top;font-weight:600}
table.hols thead th{border-top:0;background:var(--brand-soft);font-size:.8rem;font-weight:700;color:var(--muted);padding:10px 20px}
table.hols tbody th{font-weight:700}
table.hols span{display:block;font-size:.8rem;font-weight:400;color:var(--muted);margin-top:2px}
table.hols tr.next th{box-shadow:inset 4px 0 0 var(--hol)}

/* Generic tables */
.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:14px 0}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--line)}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
thead th{background:var(--brand-soft);font-size:.8rem;font-weight:700;color:var(--muted)}
details{margin:12px 0}
details summary{cursor:pointer;font-weight:700;color:var(--brand)}
details[open] summary{margin-bottom:8px}

/* Notices and pills */
.warn{background:var(--warn-bg);border:1px solid var(--warn-line);padding:14px 18px;border-radius:var(--radius)}
.pill{display:inline-block;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:1px 10px;font-size:.78rem;font-weight:600;color:var(--muted);vertical-align:middle;white-space:nowrap}
.pill.status-ok{background:var(--ok-bg);border-color:transparent;color:var(--ok)}
.pill.status-mid{background:var(--hol-soft);border-color:transparent;color:var(--ink)}
.pill.status-no{background:var(--bad-bg);border-color:transparent;color:var(--bad)}

/* Lists of links */
.cols{columns:3 200px;column-gap:28px;padding-left:0;list-style:none;margin:10px 0}
.cols li{break-inside:avoid;padding:3px 0}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);transition:border-color .12s ease}
.card:hover{border-color:var(--brand)}
.card strong{font-size:1.02rem}
.card .when{font-weight:600}
.pattern{padding:14px 0;border-top:1px solid var(--line)}
.pattern-councils{display:block;margin-top:4px;font-size:.85rem;color:var(--muted)}
.pattern-table td:last-child{min-width:7em}
.council-filter{margin:12px 0 4px;max-width:28rem}
.council-filter label{display:block;font-weight:700;margin-bottom:6px}
.council-filter input{width:100%;font:inherit;padding:10px 12px;border:1px solid var(--field);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink)}
.council-filter p{margin:6px 0 0}
.council-filter input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:14px;height:14px;cursor:pointer;background:var(--muted);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
table.council-dates tbody th{font-weight:600}
@media (max-width:640px){table.council-dates th,table.council-dates td,table.pattern-table th,table.pattern-table td{padding:8px 8px;font-size:.88rem}}
.pattern h3{margin:0 0 4px;font-size:1rem}
.pattern p{margin:0}

/* Homepage */
.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;padding:40px 0 24px}
.hero h1{font-size:clamp(2.1rem,4.6vw,3.1rem);margin-top:0}
.hero .lede{margin-bottom:22px;max-width:40ch}
.finder{margin-top:14px}
.finder label{font-weight:700;display:block;margin-bottom:8px}
.finder input{width:100%}
.finder .row input{width:auto}
#pc-msg{margin:8px 0 0;min-height:1.4em}
.next-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;color:var(--ink);text-decoration:none;display:block}
a.next-card:hover{border-color:var(--brand)}
.next-card .eyebrow{margin:0;font-size:.85rem;color:var(--muted)}
.next-card .big{margin:4px 0 2px;font-size:1.55rem;font-weight:800;letter-spacing:-.02em}
.next-card .dates{margin:0;color:var(--muted)}
.next-card .days-to{margin:12px 0 0;font-weight:700;color:var(--brand)}
.next-card .season-summary{margin:10px 0 0;font-size:.92rem;color:var(--ink)}
/* The extra link belongs to the hero card: the wrapper carries the card box, so both read as one card. */
.next-wrap.has-extra{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.next-wrap.has-extra:has(a.next-card:hover){border-color:var(--brand)}
.next-wrap.has-extra .next-card{border:0;background:none}
.next-extra{margin:0;padding:12px 24px 18px;border-top:1px solid var(--line);font-weight:700}
.next-extra a{display:inline-block;padding:4px 0}
.mini{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.mini .month p{font-size:.75rem;color:var(--muted)}
.mini .days i{font-size:0}
.mini .days i.d{background:var(--brand-soft)}
.band{margin:40px 0}
.band h2{margin-top:0}

/* Reminder sign-up: a solid band so it never reads as content */
.remind{display:grid;grid-template-columns:1fr 1.15fr;grid-template-rows:auto 1fr;column-gap:32px;margin:40px 0;padding:28px;border-radius:var(--radius);background:var(--brand);color:var(--on-brand)}
.remind h2{grid-column:1;margin:0 0 6px;font-size:1.4rem;color:inherit}
.remind>h2+p{grid-column:1;margin:0;opacity:.92}
.remind-form{grid-column:2;grid-row:1/span 2;display:grid;gap:8px;align-content:start}
.remind-form label{font-weight:700;font-size:.92rem}
.remind-form select{width:100%;margin-bottom:6px}
.remind-form input,.remind-form select{background:var(--bg);border-color:transparent;color:var(--ink)}
.remind-form .row button{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.remind a{color:inherit}
.remind .check{display:flex;gap:10px;align-items:flex-start;margin:4px 0}
.remind .check input{flex:0 0 auto;width:20px;height:20px;margin-top:3px;accent-color:var(--hol)}
.remind .check label{font-weight:400}
.remind .small{color:inherit;opacity:.85;margin:2px 0}
.remind-msg{margin:4px 0;font-weight:700}.remind-msg:empty{display:none}
.remind-msg.ok,.remind-msg.err{background:var(--bg);color:var(--ink);padding:8px 12px;border-radius:var(--radius-sm)}
.remind-msg.err{color:var(--bad)}
.remind.tight{margin:22px 0 10px}
.reassure{margin:0 0 4px;font-size:.88rem;font-weight:700}
/* No council known yet (homepage): a centred call to action instead of the form */
.remind-cta{display:block;text-align:center;padding:44px 28px}
.remind-cta h2{font-size:1.6rem;margin:0 0 10px}
.remind-cta>h2+p{max-width:46ch;margin:0 auto}
.remind-fallback{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 24px;margin-top:26px}
.remind-fallback .btn{background:var(--bg);color:var(--brand);border-color:var(--bg)}
.remind-fallback .btn:hover{background:var(--surface)}
.remind-fallback .text-link{color:inherit}
.year-more{margin:0 0 12px}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;min-width:0;padding:0;border:0;overflow:hidden}.hp input{width:1px;min-width:0;padding:0;border:0}

/* Planner */
#planner .row{max-width:560px}
.chips{list-style:none;padding:0;display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.chips li{border:2px solid var(--c);color:var(--ink);border-radius:999px;padding:4px 6px 4px 14px;font-weight:700;display:flex;align-items:center;gap:4px;background:var(--surface)}
.chips button{background:none;border:0;color:var(--muted);padding:0 8px;font-size:1.1rem}
.shared{background:var(--hol-soft);border-radius:var(--radius);padding:4px 22px 14px;margin:18px 0}
.shared h2{margin-top:16px}

/* Ads and affiliate links: labelled and visibly separate from content */
.affiliate{border:1px dashed var(--field);border-radius:var(--radius);padding:14px 20px;margin:32px 0}
.affiliate h3{margin:6px 0 0}
.affiliate ul{list-style:none;padding:0;margin:6px 0 0}
.affiliate li{margin:8px 0}
.affiliate li a{font-weight:700;margin-right:8px}
.affiliate li span{color:var(--muted)}
.aff-top{margin:0}
.ad-label{display:inline-block;border:1px solid var(--ink);color:var(--ink);font-weight:800;font-size:.72rem;letter-spacing:.03em;border-radius:4px;padding:0 6px;vertical-align:middle}
.ad-slot{margin:18px auto;max-width:1080px;min-height:90px}
.ad-slot.placeholder{display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(45deg,var(--weekend),var(--weekend) 10px,var(--line) 10px,var(--line) 20px);color:var(--muted);font-size:.8rem;border-radius:var(--radius-sm)}
.ad-caption{display:block;font-size:.7rem;color:var(--muted);letter-spacing:.04em}

/* Activity ideas */
.ideas-section{margin:40px 0}
.ideas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:16px}
.idea-card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:8px;background:var(--surface)}
.idea-photo{margin:-18px -18px 6px;border-bottom:1px solid var(--line)}
.idea-photo img,.hub-photo img{display:block;width:100%;height:auto;background:var(--weekend)}
.idea-photo img{aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius) var(--radius) 0 0}
.idea-photo figcaption,.hub-photo figcaption{font-size:.72rem;color:var(--muted);padding:6px 18px 0;line-height:1.4}
.idea-photo figcaption a,.hub-photo figcaption a{color:inherit}
.idea-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-sm);background:var(--brand-soft);color:var(--brand)}
.idea-icon svg{width:24px;height:24px}
.hub-photo{margin:14px 0 18px}
.hub-photo img{aspect-ratio:1200/630;object-fit:cover;border-radius:var(--radius)}
@media (min-width:760px){.hub-photo img{aspect-ratio:12/5}}
.hub-photo figcaption{padding:6px 0 0}
.idea-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.idea-header h3{margin:0;font-size:1.05rem;line-height:1.3;flex:1}
.idea-badges{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex-shrink:0}
.idea-category{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:600;color:var(--muted);white-space:nowrap}
.idea-cost{background:var(--ok-bg);border-radius:999px;padding:2px 10px;font-size:.72rem;font-weight:700;color:var(--ok);white-space:nowrap}
.idea-card p{margin:0;font-size:.95rem}
.idea-tips{list-style:none;padding:0;margin:4px 0 0;font-size:.85rem;color:var(--muted)}
.idea-tips li{padding-left:14px;position:relative;margin:4px 0}.idea-tips li::before{content:"";position:absolute;left:2px;top:.65em;width:5px;height:5px;border-radius:50%;background:var(--hol)}
.idea-cta{margin-top:auto;padding-top:6px}.idea-cta a{font-weight:700;font-size:.92rem}
.idea-list{line-height:1.7}.idea-list li{margin:12px 0}

/* Verified activity directory */
.activity-directory{margin:44px 0}
.directory-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}
.directory-heading h2,.directory-heading p{margin:0}.directory-heading>div p{margin-top:5px;color:var(--muted)}
.source-date{color:var(--muted);font-size:.84rem}
.activity-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.activity-filters fieldset{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;margin:0;padding:0;border:0}
.activity-filters legend{width:100%;margin-bottom:6px;padding:0;font-size:.82rem;font-weight:700;color:var(--muted)}
.activity-filters button{min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);color:var(--ink);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}
.activity-filters button:hover{border-color:var(--brand);color:var(--brand)}
.activity-filters button[aria-pressed="true"]{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}
.activity-count{margin:12px 0;color:var(--muted);font-size:.88rem;font-weight:700}
.activity-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.activity-listing{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.activity-listing[hidden]{display:none}
.activity-listing p,.activity-listing h3{margin:0}
.activity-listing-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.activity-listing-head h3{font-size:1.16rem;line-height:1.25}
.activity-place{margin-bottom:3px!important;color:var(--muted);font-size:.85rem;font-weight:700}
.activity-cost{flex:0 0 auto;padding:4px 8px;border-radius:var(--radius-sm);background:var(--ok-bg);color:var(--ok);font-size:.74rem;font-weight:800}
.activity-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0;padding-top:12px;border-top:1px solid var(--line)}
.activity-facts div{min-width:0}.activity-facts dt{color:var(--muted);font-size:.8rem;font-weight:700}.activity-facts dd{margin:2px 0 0;font-size:.88rem}
.activity-tags{display:flex;flex-wrap:wrap;gap:6px}.activity-tags span{padding:3px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);font-size:.74rem;font-weight:700;color:var(--muted)}
.activity-source{margin-top:auto!important;padding-top:4px;font-size:.82rem}.activity-source a{font-weight:800}.activity-source span{display:block;margin-top:3px;color:var(--muted)}
.activity-empty{padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}

/* Holiday clubs */
.source-quote{margin:14px 0;padding:14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.source-quote p{margin:0;font-style:italic}
.source-quote footer{margin-top:8px;font-size:.85rem;color:var(--muted)}
.cite{font-size:.85rem;white-space:nowrap}
table.clubs th[scope=row]{font-weight:700}
table.clubs td{white-space:nowrap}
table.clubs td a,table.clubs th[scope=row] a{display:inline-block;padding:4px 0}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* HAF status: amber for a dated holiday programme, green only when the source says booking is open */
.haf-status{display:inline-block;font-weight:700;font-size:.9rem;line-height:1.35;white-space:normal}
.haf-status-dates,.haf-status-booking,.haf-status-announced{padding:3px 9px;border-radius:var(--radius-sm)}
.haf-status-dates{background:var(--hol-soft);color:var(--ink)}
.haf-status-booking{background:var(--ok-bg);color:var(--ok)}
.haf-status-announced{border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.haf-status-none{font-weight:500;color:var(--muted)}
.club-summary{margin:0 0 8px;font-weight:600}
/* Council club page: the status panel is the answer block for this page type */
.club-status{margin:18px 0 8px;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.club-status p{margin:0;max-width:62ch}
.club-status-fact{margin-top:10px!important;font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:750;line-height:1.3;letter-spacing:-.01em;text-wrap:balance}
.club-status-meta{margin-top:6px!important;font-size:.88rem;color:var(--muted)}
.club-status-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px!important}
.club-status-school{max-width:none!important;margin-top:16px!important;padding-top:14px;border-top:1px solid var(--line);font-size:.95rem}
@media (max-width:640px){
  .club-status{padding:16px}
  .club-status-actions .btn{flex:1 1 100%;text-align:center}
  /* The 152-row table becomes one card per council, so nothing scrolls sideways */
  .table-wrap:has(table.clubs){overflow:visible}
  table.clubs,table.clubs tbody,table.clubs tr,table.clubs th,table.clubs td{display:block;width:100%}
  table.clubs thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  table.clubs tr{padding:12px 14px;border-bottom:1px solid var(--line)}
  table.clubs tr:last-child{border-bottom:0}
  table.clubs th[scope=row],table.clubs td{padding:2px 0;border:0;white-space:normal}
  table.clubs th[scope=row]{font-size:1.05rem;margin-bottom:4px}
  table.clubs td{display:flex;gap:12px;align-items:baseline}
  table.clubs td::before{content:attr(data-label);flex:0 0 8.5em;color:var(--muted);font-size:.85rem;font-weight:600}
  table.clubs td a,table.clubs th[scope=row] a{display:inline-block;padding:10px 0;min-height:44px}
}

/* Content sections */
.faq h3{margin-top:22px}
.faq p{margin:4px 0 0;max-width:72ch}
.source p{max-width:72ch}
.verification{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:4px 20px 16px;margin:16px 0}
/* Council source check, shown under the answer only when a real check exists */
.verify-note{margin:14px 0;padding:10px 14px;border-radius:var(--radius-sm);font-size:.92rem;max-width:72ch}
.verify-verified{background:var(--ok-bg);color:var(--ink)}
.verify-warning{background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--ink)}
.ideas-more{margin:14px 0 0;font-weight:700}
.nearby-councils a{display:inline-block;padding:4px 0}
/* Internal links added for crawl paths: comfortable tap targets without changing the layout */
table.hols th span a{display:inline-block;padding:5px 0}
.other-holidays a,.other-club-pages a{display:inline-block;padding:4px 0}
/* Homepage season: leads "Coming up" as one amber-tinted card. The title link covers the card; the extra link sits above it. */
.card-season{position:relative;background:var(--hol-soft);border-color:var(--warn-line)}
.card-season-title{color:var(--ink);text-decoration:none}
.card-season-title::after{content:"";position:absolute;inset:0;border-radius:inherit}
.card-season:hover{border-color:var(--hol)}
.card-season-link{position:relative;z-index:1;margin-top:6px;font-weight:700;align-self:flex-start;padding:4px 0}
.nation-table{table-layout:fixed}
.nation-table td,.nation-table th{white-space:normal;vertical-align:top}
@media (max-width:640px){.nation-table td,.nation-table th{padding:8px 6px;font-size:.88rem}}
.nearby-councils .cols li{margin:0}
.trust-cal{border-top:1px solid var(--line);margin-top:28px;padding-top:6px}
section>p,main>p{max-width:72ch}

/* Legal pages and forms */
.updated{color:var(--muted);font-size:.9rem;margin-top:0}
.summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:6px 20px 12px;margin:16px 0}.summary h2{margin-top:12px;font-size:1.1rem}
.toc{border-top:1px solid var(--line);padding-top:14px;margin:16px 0}.toc p{margin:0}.toc ol{margin:6px 0}
table.legal th[scope=row]{font-weight:600;min-width:200px}table.legal td,table.legal th{vertical-align:top}
address{font-style:normal;margin:8px 0}
.report{display:grid;gap:4px;max-width:560px}.report label{font-weight:700;margin-top:12px}.report button{justify-self:start;margin-top:14px}
.report-msg{font-weight:600}
.ph{background:var(--hol-soft);color:var(--ink);padding:0 3px;border-radius:3px;font-family:ui-monospace,monospace;font-size:.9em}
.preview-bar{background:var(--hol-soft);color:var(--ink);text-align:center;font-size:.85rem;padding:6px 12px}

/* Cookie banner */
.cc{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--surface);box-shadow:0 -8px 30px rgba(13,24,20,.18);border-top:1px solid var(--line);max-height:85vh;overflow:auto}
.cc .wrap{padding-top:16px;padding-bottom:18px}.cc h2{margin:0 0 6px;font-size:1.15rem}.cc p{margin:0 0 10px}
.cc fieldset{border:1px solid var(--line);border-radius:var(--radius-sm);margin:0 0 12px;padding:8px 14px}.cc legend{font-weight:700;padding:0 4px}
.cc-row{display:flex;gap:10px;align-items:flex-start;margin:8px 0}.cc-row input{flex:0 0 auto;width:20px;height:20px;margin-top:3px;accent-color:var(--brand)}
.cc-off{color:var(--muted);font-weight:400}
.cc-actions{display:flex;flex-wrap:wrap;gap:10px}.cc-btn{min-width:150px}.cc-ghost{background:transparent;color:var(--brand)}

/* Footer */
.site-footer{border-top:1px solid var(--line);margin-top:64px;padding:40px 0 28px;background:var(--surface);font-size:.88rem;color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:48px;align-items:start}
.footer-about .logo{margin-bottom:12px}
.footer-about p{margin:0 0 12px;max-width:66ch}
.footer-heading{margin:0 0 12px;color:var(--ink);font-weight:800}
.footer-links ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}
.footer-links a,.footer-links .linklike{color:var(--muted);font-weight:600;text-decoration:none}
.footer-links a:hover,.footer-links .linklike:hover{color:var(--ink);text-decoration:underline}
.footer-legal{border-top:1px solid var(--line);margin:28px 0 0;padding-top:18px}

@media (max-width:900px){
  .site-header .wrap{flex-wrap:wrap;gap:6px 12px;padding-top:12px;padding-bottom:8px}
  .site-nav{order:3;flex:1 0 100%;flex-wrap:wrap;gap:0;margin:0 -8px}
  .site-nav a{padding:6px 8px;font-size:.88rem}
  .months{grid-template-columns:repeat(4,1fr)}
  .hero{grid-template-columns:1fr;gap:24px;padding-top:28px}
  .remind{grid-template-columns:1fr;row-gap:6px}
  .remind-form{grid-column:1;grid-row:auto;margin-top:14px}
  .remind-cta{padding:32px 20px}
  .remind-cta h2{font-size:1.35rem}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .activity-filters{grid-template-columns:1fr}.activity-filters fieldset{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.activity-filters legend{grid-column:1/-1}.activity-filters button{width:100%}
}
@media (max-width:600px){
  body{font-size:16px}
  .site-nav a{padding:6px 6px;font-size:.84rem}
  .wrap{padding:0 16px}
  .answer{grid-template-columns:1fr;gap:12px;padding:18px}
  .answer .countdown{border-left:0;border-top:1px solid var(--line);padding:12px 0 0;text-align:left;max-width:none}
  .answer .countdown .big{display:inline;font-size:2.3rem;margin-right:6px}
  .months{grid-template-columns:repeat(2,1fr)}
  table.hols thead{display:none}
  table.hols tr{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
  table.hols tbody tr:first-child{border-top:0}
  table.hols th,table.hols td{border:0;padding:10px 16px}
  table.hols tbody th{grid-column:1/-1;padding-bottom:0}
  table.hols tr.next{box-shadow:inset 4px 0 0 var(--hol)}
  table.hols tr.next th{box-shadow:none}
  table.hols th span{display:inline;margin-left:10px}
  table.hols td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;font-weight:400;color:var(--muted);margin-bottom:2px}
  .row{flex-direction:column}
  .row button{width:100%}
  .remind{padding:22px 18px}
  .actions .btn{flex:1 1 auto;text-align:center}
  .cc-btn{flex:1 1 100%}
  .shop-card{grid-template-columns:minmax(0,1fr);row-gap:14px;padding:16px}
  .shop-card .shop-month{max-width:none}
  .shop-card h2{font-size:1.15rem}
  .directory-heading{display:block}.directory-heading>.source-date{margin-top:8px}.activity-listings{grid-template-columns:1fr}.activity-filters fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-facts{grid-template-columns:1fr}
}
@media (max-width:360px){
  .logo{font-size:1rem;gap:8px}
  .shop-btn{padding:7px 12px;font-size:.82rem}
  .site-nav{flex-wrap:nowrap;justify-content:space-between;width:calc(100% + 8px);margin:0 -4px}
  .site-nav a{padding:6px 4px;font-size:.76rem}
}
/* At 340px and below, "Shop calendars" and the logo do not fit on one line. Screen readers still hear "Shop calendars". */
@media (max-width:340px){
  .shop-btn-more{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{
  .site-header,.site-nav,.site-footer,.remind,.affiliate,.ad-slot,.actions,.cc,.skip,.shop-card{display:none!important}
  body{background:#fff;color:#111}
  .days i.h{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
