/*
Theme Name: Tankersley St Peter's
Theme URI: https://www.blueowl.eu/
Author: Blue Owl
Author URI: https://www.blueowl.eu/
Description: Demo theme for Tankersley St Peter's CofE (Aided) Primary School. Class blogs, Headteacher's letters, term dates and menus are all ordinary WordPress posts, so staff only ever write a post and press Publish. Includes four homepage designs (Classic, Welcoming, Fun and a hidden extra) and a one-click demo setup.
Version: 2.0.5
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: tankersley
*/

/* Tankersley St Peter's Primary School — demo site stylesheet
   Colours: school red on white, warm stone bands, ink text. */
:root{
  --red:#9b1016; --red-dark:#6e0a0f; --red-tint:#f6e3e3;
  --ink:#1f1f1f; --muted:#5b5550; --line:#e6e1d8;
  --stone:#f8f5ef; --stone-2:#efe9df; --white:#ffffff;
  --radius:16px; --radius-sm:10px;
  --font-display:'Fraunces',Georgia,'Times New Roman',serif;
  --font-body:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font-body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-dark);text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #1e3a5f;outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--font-display);font-weight:700;line-height:1.12;margin:0 0 .5em}
h1{font-size:clamp(2.2rem,5vw,3.4rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.3rem)}
h3{font-size:1.3rem;font-weight:600}
p{margin:0 0 1em}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.band{padding:56px 0}
.band--stone{background:var(--stone)}
.band--tight{padding:32px 0}
.lede{font-size:1.2rem;color:var(--muted);max-width:60ch}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:1rem;border:2px solid transparent;cursor:pointer;text-decoration:none}
.btn:hover{text-decoration:none}
.btn--primary{background:var(--red);color:#fff}
.btn--primary:hover{background:var(--red-dark);color:#fff}
.btn--outline{background:#fff;color:var(--ink);border-color:var(--ink)}
.btn--outline:hover{background:var(--ink);color:#fff}
.btn--small{min-height:40px;padding:0 16px;font-size:.95rem}

/* Top strip */
.topbar{background:var(--red);color:#fff;font-size:.9rem;font-weight:600}
.topbar .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding-top:6px;padding-bottom:6px}
.topbar a{color:#fff;display:inline-flex;align-items:center;gap:6px;min-height:28px}
.topbar .links{display:flex;flex-wrap:wrap;gap:18px}
.topbar .social{display:flex;gap:10px}
.topbar .social a{width:30px;height:30px;justify-content:center}

/* Header + nav */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:10}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:14px;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand img{height:64px;width:auto}
.brand .name{display:flex;flex-direction:column;line-height:1.1}
.brand .name strong{font-family:var(--font-display);font-size:1.4rem}
.brand .name span{font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nav-toggle{display:none;background:none;border:2px solid var(--ink);border-radius:10px;padding:8px 12px;font:inherit;font-weight:700;cursor:pointer;color:var(--ink)}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:2px}
.nav a{padding:12px 14px;border-radius:8px;color:var(--ink);font-weight:700}
.nav a:hover{background:var(--stone);text-decoration:none}
.nav a[aria-current="page"]{color:var(--red);box-shadow:inset 0 -3px 0 var(--red);border-radius:8px 8px 0 0}
.nav a.cta{margin-left:8px;background:var(--red);color:#fff;border-radius:999px;padding:12px 20px}
.nav a.cta:hover{background:var(--red-dark)}
@media (max-width:900px){
  .nav-toggle{display:inline-flex}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding:8px 0 12px}
  .nav.is-open{display:flex}
  .nav a.cta{margin:8px 0 0}
  .site-header .wrap{flex-wrap:wrap}
}

/* Page header */
.page-head{background:var(--stone);padding:44px 0 36px;border-bottom:1px solid var(--line)}
.page-head h1{margin-bottom:.3em}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:12px}
.crumbs a{color:var(--muted)}

/* Hero */
.hero{background:var(--stone)}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-top:56px;padding-bottom:56px}
.hero .copy{flex:1 1 420px;min-width:0}
.hero .copy p{font-size:1.2rem;color:var(--muted);max-width:52ch}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero .pill{display:inline-block;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.9rem;font-weight:700;color:var(--red);margin-bottom:18px}
.mosaic{flex:1 1 420px;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mosaic > *{border-radius:var(--radius);overflow:hidden;background:var(--stone-2)}
.mosaic > :first-child{grid-column:1/-1;height:280px}
.mosaic > :not(:first-child){height:160px}
.mosaic img{width:100%;height:100%;object-fit:cover}

/* Quick links */
.quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:14px}
.quick a{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 12px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:700;font-size:.95rem;text-align:center}
.quick a:hover{border-color:var(--red);text-decoration:none;color:var(--red)}
.quick svg{width:28px;height:28px;stroke:var(--red);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Two column panels */
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:28px}
.panel{padding:28px;border-radius:20px;border:1px solid var(--line);background:#fff}
.panel--stone{background:var(--stone);border-color:var(--stone-2)}
.panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.panel-head h2{margin:0;font-size:1.6rem}
.panel-head a{font-weight:700;font-size:.95rem}
.letter{display:flex;gap:16px;align-items:center;padding:16px;border-radius:14px;background:#fff;border:1px solid var(--line);color:var(--ink);margin-bottom:12px}
.letter:hover{border-color:var(--red);text-decoration:none}
.letter .thumb{width:72px;height:92px;flex-shrink:0;border-radius:8px;overflow:hidden;background:var(--red-tint)}
.letter .thumb img{width:100%;height:100%;object-fit:cover}
.letter strong{display:block;font-size:1.1rem;line-height:1.3}
.letter small{display:block;color:var(--muted)}
.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.list li a{display:flex;justify-content:space-between;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line);color:var(--ink);font-weight:600}
.list li a span:last-child{color:var(--muted);font-weight:400;white-space:nowrap}
.diary{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:12px}
.diary li{display:flex;gap:16px;align-items:center}
.diary .date{width:62px;flex-shrink:0;border-radius:12px;background:var(--red);color:#fff;text-align:center;padding:8px 0;line-height:1.1}
.diary .date b{display:block;font-size:1.3rem}
.diary .date small{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase}
.diary strong{display:block}
.diary span{color:var(--muted);font-size:.95rem}

/* Cards */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:26px}
.section-head h2{margin:0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink);font-weight:700;font-size:.9rem}
.chips a:hover{border-color:var(--red);color:var(--red);text-decoration:none}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:22px}
.card{display:flex;flex-direction:column;border-radius:18px;background:#fff;border:1px solid var(--line);overflow:hidden;color:var(--ink)}
.card:hover{text-decoration:none;border-color:var(--red)}
.card .photo{height:190px;background:var(--stone-2)}
.card .photo img{width:100%;height:100%;object-fit:cover}
.card .body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.card .tag{font-size:.85rem;font-weight:700;color:var(--red)}
.card h3{margin:0;font-size:1.3rem;line-height:1.25}
.card p{margin:0;color:var(--muted);font-size:.95rem}
.center{text-align:center}

/* Info grid */
.info{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:14px}
.info a{display:flex;flex-direction:column;gap:4px;padding:20px;border-radius:14px;background:var(--stone);border:1px solid var(--stone-2);color:var(--ink)}
.info a:hover{border-color:var(--red);text-decoration:none}
.info strong{font-size:1.05rem}
.info span{font-size:.9rem;color:var(--muted)}

/* Awards */
.awards{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px 40px;padding:28px 0}
.awards img{height:72px;width:auto}
.awards .label{font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* Prose pages */
.prose{max-width:72ch}
.prose h2{margin-top:1.6em}
.prose ul{padding-left:1.2em}
.prose li{margin-bottom:.4em}
.doc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px}
.doc-list a{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600}
.doc-list a:hover{border-color:var(--red);text-decoration:none}
.doc-list svg{width:22px;height:22px;flex-shrink:0;stroke:var(--red);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.doc-list small{display:block;color:var(--muted);font-weight:400;font-size:.85rem}
.staff{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:18px}
.staff .person{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:14px;border:1px solid var(--line);background:#fff}
.staff .avatar{width:64px;height:64px;border-radius:50%;background:var(--red-tint);display:flex;align-items:center;justify-content:center;color:var(--red);font-family:var(--font-display);font-weight:700;font-size:1.2rem}
.staff strong{display:block}
.staff span{color:var(--muted);font-size:.95rem}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
table{border-collapse:collapse;width:100%;min-width:520px;background:#fff}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}
th{background:var(--stone);font-weight:700}
tr:last-child td{border-bottom:0}
.notice{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border-radius:14px;background:var(--red-tint);border:1px solid #efc9c9}
.notice strong{display:block;color:var(--red-dark)}
.placeholder{display:flex;align-items:center;justify-content:center;background:var(--stone-2);color:var(--muted);font-weight:600;font-size:.9rem;text-align:center;padding:16px;min-height:200px;border-radius:var(--radius)}

/* Form */
.form{display:grid;gap:16px;max-width:560px}
.form label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.form input,.form textarea{font:inherit;padding:12px 14px;border:1px solid #bdb6ac;border-radius:10px;background:#fff}
.form textarea{min-height:140px;resize:vertical}

/* Footer */
.site-footer{background:var(--ink);color:#fff;margin-top:48px}
.site-footer .wrap{padding-top:56px;padding-bottom:32px}
.site-footer .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:32px;margin-bottom:40px}
.site-footer h3{font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#cfc9c2;font-family:var(--font-body);margin-bottom:12px}
.site-footer .brandline{font-family:var(--font-display);font-size:1.3rem;font-weight:700;margin-bottom:10px}
.site-footer p,.site-footer li{color:#cfc9c2;font-size:.95rem}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.site-footer a{color:#fff}
.site-footer .legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid #3a3734;font-size:.9rem;color:#cfc9c2}
.site-footer .legal a{color:#cfc9c2}
.site-footer .partners{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:12px}
.site-footer .partners img{height:40px;width:auto;border-radius:6px;background:#fff;padding:3px}

/* ---------- WordPress additions ---------- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 12px;z-index:1000;border-radius:8px}
.skip-link:focus{left:8px}
.brand .custom-logo{height:64px;width:auto}
.nav .menu{display:contents;list-style:none;margin:0;padding:0}
.nav .menu li{list-style:none}
.nav .menu .sub-menu{display:none}
.nav .current-menu-item > a,.nav .current_page_item > a{color:var(--red);box-shadow:inset 0 -3px 0 var(--red);border-radius:8px 8px 0 0}

/* Post content */
.entry{max-width:72ch}
.entry > * + *{margin-top:1em}
.entry h2{margin-top:1.4em}
.entry img{border-radius:12px}
.entry figure{margin:1.4em 0}
.entry figcaption{font-size:.9rem;color:var(--muted);margin-top:6px}
.entry ul,.entry ol{padding-left:1.3em}
.entry blockquote{margin:1.4em 0;padding:4px 0 4px 18px;border-left:4px solid var(--red);font-family:var(--font-display);font-size:1.2rem}
.entry .wp-block-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(180px,100%),1fr));gap:10px}
.entry .wp-block-gallery figure{margin:0}
.entry .wp-block-gallery img{width:100%;height:200px;object-fit:cover}
.entry .wp-block-file{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--stone)}
.entry .wp-block-file__button,.entry .wp-element-button{display:inline-flex;align-items:center;min-height:42px;padding:0 18px;border-radius:999px;background:var(--red);color:#fff!important;font-weight:700;text-decoration:none}
.entry .wp-block-file__embed{width:100%;min-height:520px;border:1px solid var(--line);border-radius:8px}
.entry .wp-block-embed iframe{max-width:100%;border-radius:12px}
.entry .wp-block-image.aligncenter,.entry .aligncenter{margin-left:auto;margin-right:auto;text-align:center}
.entry .alignwide,.entry .alignfull{max-width:none}
.post-meta{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:var(--muted);font-size:.95rem;margin-bottom:8px}
.post-hero{border-radius:20px;overflow:hidden;margin:0 0 28px;background:var(--stone-2);max-height:520px}
.post-hero img{width:100%;max-height:520px;object-fit:cover}
.pdf-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:18px 20px;border-radius:14px;background:var(--red-tint);border:1px solid #efc9c9;margin:0 0 24px}
.post-nav{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding-top:20px;border-top:1px solid var(--line)}
.post-nav a{font-weight:700;max-width:45%}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:32px;flex-wrap:wrap}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border-radius:999px;border:1px solid var(--line);color:var(--ink);font-weight:700}
.pagination .current{background:var(--red);border-color:var(--red);color:#fff}

/* Placeholder thumbnails when a post has no photo */
.thumb-fallback{width:100%;height:100%;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff;font-weight:700;text-align:center;padding:12px}
.thumb-fallback .emoji{font-size:2.6rem;line-height:1}
.letter .thumb .thumb-fallback{min-height:0;font-size:.75rem}
.letter .thumb .thumb-fallback .emoji{font-size:1.6rem}

/* Class header */
.class-head{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.class-badge{width:84px;height:84px;border-radius:24px;display:flex;align-items:center;justify-content:center;font-size:2.6rem;flex-shrink:0}

/* Document list (letters, term dates, menus archives) */
.doc-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.doc-rows li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px;border-bottom:1px solid var(--line)}
.doc-rows strong{font-size:1.05rem}
.doc-rows .date{color:var(--muted)}

/* Demo design switcher */
.demo-switcher{position:fixed;left:16px;bottom:16px;z-index:999;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:rgba(31,31,31,.92);color:#fff;font-size:.85rem;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.25);max-width:calc(100vw - 32px)}
.demo-switcher span{padding:0 6px;color:#cfc9c2}
.demo-switcher a{color:#fff;padding:6px 12px;border-radius:999px;text-decoration:none}
.demo-switcher a:hover{background:rgba(255,255,255,.15);text-decoration:none;color:#fff}
.demo-switcher a.is-current{background:var(--red)}
.demo-switcher button{background:none;border:0;color:#cfc9c2;font:inherit;cursor:pointer;padding:4px 8px}
.demo-switcher.is-hidden{display:none}
@media (max-width:600px){.demo-switcher{left:8px;right:8px;bottom:8px;border-radius:16px;justify-content:center}}

/* Welcoming homepage */
.w-hero{position:relative;min-height:540px;display:flex;align-items:flex-end;color:#fff;background:#3a2a28;overflow:hidden}
.w-hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.w-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(30,10,10,.78) 100%)}
.w-hero .wrap{position:relative;z-index:1;padding-top:80px;padding-bottom:56px;width:100%}
.w-hero h1{color:#fff;max-width:16ch}
.w-hero p{font-size:1.25rem;max-width:52ch;color:#f3eee8}
.w-hero .btn--outline{background:transparent;color:#fff;border-color:#fff}
.w-hero .btn--outline:hover{background:#fff;color:var(--ink)}
.w-strip{background:var(--red);color:#fff}
.w-strip .wrap{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;padding-top:14px;padding-bottom:14px;font-weight:700}
.w-strip a{color:#fff;display:inline-flex;align-items:center;gap:6px;padding:6px 0}
.w-strip .label{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;opacity:.85}
.doors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:22px}
.door{display:flex;flex-direction:column;gap:10px;padding:30px;border-radius:22px;background:#fff;border:1px solid var(--line);color:var(--ink);position:relative;overflow:hidden}
.door:hover{text-decoration:none;border-color:var(--red);transform:translateY(-2px)}
.door .num{font-family:var(--font-display);font-size:3rem;line-height:1;color:var(--red-tint)}
.door h3{margin:0;font-size:1.5rem}
.door p{margin:0;color:var(--muted)}
.door .go{margin-top:auto;font-weight:700;color:var(--red)}
.scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,320px);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}
.scroller > *{scroll-snap-align:start}
.head-quote{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:40px;align-items:center}
.head-quote blockquote{margin:0;font-family:var(--font-display);font-size:clamp(1.4rem,2.6vw,2rem);line-height:1.3}
.head-quote cite{display:block;margin-top:16px;font-style:normal;font-family:var(--font-body);font-size:1rem;color:var(--muted);font-weight:700}
@media (max-width:760px){.head-quote{grid-template-columns:1fr}}
.nav > li{list-style:none;display:block}
.nav > li > a{display:block}
@media (max-width:900px){.nav > li > a.cta{display:inline-flex}}
/* Tighter menu so it fits on one line at laptop widths */
.nav a{padding:10px 11px;font-size:.97rem}
.nav a.cta{padding:10px 18px}
@media (max-width:1180px){.brand .name strong{font-size:1.2rem}.brand img,.brand .custom-logo{height:54px}}
@media (min-width:901px) and (max-width:1100px){.nav a{padding:10px 8px;font-size:.92rem}}
@media (min-width:901px){.nav{flex-wrap:wrap;justify-content:flex-end;row-gap:4px}.site-header .wrap{flex-wrap:wrap}.brand .name strong{white-space:nowrap}}
@media (max-width:1240px) and (min-width:901px){.brand .name{display:none}}
@media (max-width:600px){.topbar .links a:nth-child(2){display:none}.topbar .wrap{flex-wrap:nowrap}.demo-switcher span{display:none}}
.nav a{white-space:nowrap}
.nav-toggle{margin-left:auto}
.brand img{width:64px;object-fit:contain}
@media (max-width:600px){.topbar{font-size:.8rem}.topbar .links{gap:12px}.brand .name strong{font-size:1.1rem}.brand img,.brand .custom-logo{height:48px;width:48px}}

/* ---------- Search ---------- */
.search-toggle{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;margin-left:6px;border-radius:999px;border:2px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-weight:700;cursor:pointer;flex-shrink:0}
.search-toggle:hover{border-color:var(--red);color:var(--red)}
.search-toggle svg{width:20px;height:20px}
@media (max-width:1240px){.search-toggle span{display:none}}
@media (max-width:900px){.search-toggle{margin-left:auto}.nav-toggle{margin-left:8px}}
.site-search{border-top:1px solid var(--line);background:var(--stone)}
.site-search .wrap{padding-top:14px;padding-bottom:14px}
.search-form{display:flex;gap:10px;max-width:640px}
.search-form input{flex:1;min-width:0;min-height:48px;padding:0 16px;border:2px solid #bdb6ac;border-radius:999px;font:inherit;background:#fff}
.search-form input:focus{border-color:var(--red);outline:none}
.search-form .btn svg{width:18px;height:18px}
.page-head .search-form{margin-top:16px}

/* ---------- Playful style (matches the Fun homepage) ---------- */
body.style-playful{background:#fffaf2}
.style-playful h1,.style-playful h2,.style-playful h3,.style-playful .brand .name strong,.style-playful .nav a{font-family:'Fredoka','Nunito Sans',system-ui,sans-serif}
.style-playful .page-head{position:relative;background:linear-gradient(120deg,#ff5f6d 0%,#ffc371 50%,#ff6fd8 100%);color:#fff;border:0;padding-bottom:70px}
.style-playful .page-head::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:44px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C240 70 480 0 720 30 C960 60 1200 5 1440 30 L1440 60 L0 60Z' fill='%23fffaf2'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.style-playful .page-head h1,.style-playful .page-head .lede,.style-playful .page-head .crumbs,.style-playful .page-head .crumbs a,.style-playful .page-head .post-meta{color:#fff}
.style-playful .page-head .class-badge{background:#fff!important;border:3px solid #1f1f1f}
.style-playful .band--stone,.style-playful .hero{background:#fff3e6}
.style-playful .card,.style-playful .panel,.style-playful .info a,.style-playful .quick a,.style-playful .doc-list a,.style-playful .letter{border:3px solid #1f1f1f;border-radius:22px;box-shadow:6px 6px 0 #1f1f1f;transition:transform .15s}
.style-playful .card:hover,.style-playful .info a:hover,.style-playful .quick a:hover{transform:translateY(-3px) rotate(-1deg);border-color:#1f1f1f}
.style-playful .card:nth-child(4n+1) .tag{color:#e8366a}.style-playful .card:nth-child(4n+2) .tag{color:#1c7ed6}.style-playful .card:nth-child(4n+3) .tag{color:#2b8a3e}.style-playful .card:nth-child(4n) .tag{color:#e67700}
.style-playful .info a:nth-child(4n+1),.style-playful .quick a:nth-child(4n+1){background:#ffe3e3}
.style-playful .info a:nth-child(4n+2),.style-playful .quick a:nth-child(4n+2){background:#d0ebff}
.style-playful .info a:nth-child(4n+3),.style-playful .quick a:nth-child(4n+3){background:#d3f9d8}
.style-playful .info a:nth-child(4n),.style-playful .quick a:nth-child(4n){background:#fff3bf}
.style-playful .btn{border:3px solid #1f1f1f;border-radius:16px;box-shadow:0 4px 0 #1f1f1f}
.style-playful .btn--outline{background:#ffe066}
.style-playful .chips a{border:2px solid #1f1f1f}
.style-playful .chips a:nth-child(4n+1){background:#ffe3e3}.style-playful .chips a:nth-child(4n+2){background:#d0ebff}.style-playful .chips a:nth-child(4n+3){background:#d3f9d8}.style-playful .chips a:nth-child(4n){background:#fff3bf}
.style-playful .entry img{border:3px solid #1f1f1f;box-shadow:6px 6px 0 #1f1f1f}
.style-playful .post-hero{border:3px solid #1f1f1f;box-shadow:8px 8px 0 #1f1f1f}

/* ---------- Explorer style (matches Adventure Island) ---------- */
body.style-explorer{background:#f0f9ff}
.style-explorer h1,.style-explorer h2,.style-explorer h3,.style-explorer .brand .name strong,.style-explorer .nav a{font-family:'Fredoka','Nunito Sans',system-ui,sans-serif}
.style-explorer .page-head{position:relative;border:0;padding-bottom:80px;background:radial-gradient(ellipse 120px 34px at 12% 30%,#fff 98%,transparent 100%),radial-gradient(ellipse 90px 26px at 80% 22%,#fff 98%,transparent 100%),linear-gradient(180deg,#7dd3fc,#e0f2fe)}
.style-explorer .page-head::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:50px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 25 q60 -18 120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 L1440 60 L0 60Z' fill='%2338bdf8'/%3E%3Cpath d='M0 40 q60 -14 120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 t120 0 L1440 60 L0 60Z' fill='%23f0f9ff'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.style-explorer .page-head .class-badge{background:#fff!important;border:3px solid #1f1f1f;border-radius:50%}
.style-explorer .band--stone,.style-explorer .hero{background:#e0f2fe}
.style-explorer .card,.style-explorer .panel,.style-explorer .info a,.style-explorer .quick a,.style-explorer .doc-list a,.style-explorer .letter{background:#fffbeb;border:3px solid #1f1f1f;border-radius:20px;box-shadow:5px 5px 0 #0369a1}
.style-explorer .card:hover,.style-explorer .info a:hover,.style-explorer .quick a:hover{transform:translateY(-3px);border-color:#1f1f1f;background:#fff}
.style-explorer .btn{border:3px solid #1f1f1f;border-radius:999px;box-shadow:0 4px 0 #1f1f1f}
.style-explorer .btn--outline{background:#fde047}
.style-explorer .chips a{background:#fff;border:2px solid #0369a1;color:#0c4a6e}
.style-explorer .entry img{border:3px solid #1f1f1f;border-radius:18px}
.style-explorer .post-hero{border:3px solid #1f1f1f;box-shadow:6px 6px 0 #0369a1}
@media (max-width:1420px) and (min-width:901px){.search-toggle span{display:none}.search-toggle{padding:0 10px}.nav a{padding:10px 8px}.nav a.cta{padding:10px 14px}}
@media (max-width:1300px) and (min-width:901px){.brand .name{display:none}}

/* ---------- Demo bar (dropdown version) ---------- */
.demo-switcher label{padding:0 4px 0 8px;color:#cfc9c2}
.demo-switcher select{font:inherit;font-weight:700;padding:6px 10px;border-radius:999px;border:0;background:#fff;color:var(--ink);max-width:210px}
.demo-switcher .sep{padding:0 2px 0 10px;color:#cfc9c2}
.demo-switcher .season-btn{padding:4px 8px;background:none;border:0;color:#fff;font:inherit;font-weight:700;border-radius:999px;cursor:pointer}.demo-switcher .season-btn.is-current{background:var(--red)}
@media (max-width:600px){.demo-switcher label,.demo-switcher .sep{display:none}.demo-switcher select{max-width:150px}}

/* ---------- Simple view toggle ---------- */
.topbar .simple-toggle{width:auto!important;padding:2px 12px;border:1px solid rgba(255,255,255,.6);border-radius:999px;margin-right:6px;font:inherit;font-size:.85rem;font-weight:700;white-space:nowrap;background:transparent;color:#fff;cursor:pointer;min-height:28px}
.topbar .simple-toggle:hover{background:#fff;color:var(--red);text-decoration:none}

/* ---------- Simple view (accessibility / low data) ---------- */
html.simple-view body,body.simple-view{font-size:19px;line-height:1.65;background:#fff}
.simple-view *,.simple-view *::before,.simple-view *::after{animation:none!important;transition:none!important}
.simple-view .photo,.simple-view .mosaic,.simple-view .pic,.simple-view .thumb,.simple-view .awards,.simple-view .badge-row,.simple-view .w-hero img.bg,.simple-view .church-hero img.bg,.simple-view .fam-hero-photo,.simple-view .post-hero,.simple-view .partners,.simple-view .blobs,.simple-view .adv-map,.simple-view .site-footer img,.simple-view .wave-edge{display:none!important}
.simple-view a{text-decoration:underline}
.simple-view .btn,.simple-view .chips a,.simple-view .nav a,.simple-view .card,.simple-view .quick a,.simple-view .info a,.simple-view .club,.simple-view .polaroid,.simple-view .bottle-card,.simple-view .letter,.simple-view .doc-list a{text-decoration:none}
.simple-view .card,.simple-view .panel,.simple-view .polaroid,.simple-view .bottle-card,.simple-view .fun-card,.simple-view .adv-card{transform:none!important;box-shadow:none!important;border:2px solid #1f1f1f!important;background:#fff!important}
.simple-view .fun-hero,.simple-view .w-hero,.simple-view .church-hero,.simple-view .page-head{background:#fff!important;color:#1f1f1f!important;min-height:0!important}
.simple-view .fun-hero h1,.simple-view .w-hero h1,.simple-view .w-hero p,.simple-view .church-hero *,.simple-view .page-head *{color:#1f1f1f!important;text-shadow:none!important}
.simple-view .w-hero::after,.simple-view .page-head::after{display:none}
.simple-view .site-header img{display:block}

/* ---------- Simple homepage ---------- */
.simple-home{padding:44px 0 56px}
.simple-home h1{font-size:clamp(2rem,4vw,2.8rem)}
.simple-lede{font-size:1.25rem;max-width:60ch}
.simple-note{padding:12px 16px;border-left:4px solid var(--red);background:var(--stone);max-width:60ch}
.simple-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:40px;margin:30px 0}
.simple-links{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.simple-links li a{display:block;padding:14px 4px;border-bottom:2px solid var(--line);font-size:1.2rem;font-weight:700;color:var(--ink)}
.simple-links li a::after{content:" →";color:var(--red)}
.simple-list{padding-left:1.2em}
.simple-list li{margin-bottom:8px}

/* ---------- This week ---------- */
.week-hero{background:linear-gradient(135deg,#1e3a5f,#2f5d8a);color:#fff;padding:44px 0 36px}
.week-hero h1{color:#fff;margin:.1em 0 .2em}
.week-hero .lede{color:#dbe7f3}
.week-greet{display:inline-block;margin:0;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.15);font-weight:700}
.band .wrap:has(> .week-grid){display:grid;grid-template-columns:minmax(0,3fr) minmax(min(240px,100%),1fr);gap:24px;align-items:start}
@media (max-width:960px){.band .wrap:has(> .week-grid){grid-template-columns:1fr}}
.week-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
@media (max-width:820px){.week-grid{grid-template-columns:1fr}}
.week-day{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff;min-height:170px}
.week-day.is-today{border:3px solid var(--red);background:var(--red-tint)}
.week-day-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin-bottom:10px}
.week-day-head strong{font-family:var(--font-display);font-size:1.2rem}
.week-day-head span{color:var(--muted);font-size:.9rem}
.week-day-head em{font-style:normal;margin-left:auto;background:var(--red);color:#fff;font-size:.75rem;font-weight:700;padding:2px 8px;border-radius:999px}
.week-event{padding:8px 10px;border-radius:10px;background:var(--stone);margin-bottom:8px}
.week-event b{display:block;font-size:.95rem}
.week-event span{font-size:.85rem;color:var(--muted)}
.week-none{color:var(--muted);font-size:.9rem;margin:0}
.week-side{display:flex;flex-direction:column;gap:12px}
.week-tile{display:flex;flex-direction:column;gap:2px;padding:16px;border-radius:16px;background:var(--stone);border:1px solid var(--stone-2);color:var(--ink)}
.week-tile:hover{text-decoration:none;border-color:var(--red)}
.week-tile span{font-size:1.6rem}
.week-tile em{font-style:normal;color:var(--muted);font-size:.92rem}

/* ---------- Church school ---------- */
.church-hero{position:relative;padding:70px 0;text-align:center;color:#fff;background:#3b1d1d;overflow:hidden}
.church-hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.church-hero .wrap{position:relative}
.church-kicker{text-transform:uppercase;letter-spacing:.1em;font-weight:700;font-size:.85rem;color:#f6d7a7}
.church-verse{margin:10px auto 18px;max-width:30ch;font-family:var(--font-display);font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1.25}
.church-verse cite{display:block;margin-top:12px;font-family:var(--font-body);font-style:normal;font-size:1rem;color:#f6d7a7;font-weight:700}
.church-vision{max-width:60ch;margin:0 auto 22px;color:#f3e9e1;font-size:1.1rem}
.church-hero .btn--outline{background:transparent;color:#fff;border-color:#fff}
.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:18px}
.value-card{text-align:center;padding:28px 20px;border-radius:20px;border:1px solid var(--line);background:#fff}
.value-ico{font-size:2.4rem}
.value-card h3{margin:.4em 0 .3em;color:var(--red)}
.value-card p{margin:0;color:var(--muted)}
.faith-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
.faith-card{padding:26px;border-radius:20px;background:#fff;border:1px solid var(--stone-2)}
.faith-card h2{font-size:1.4rem;margin-top:.3em}
.faith-ico{font-size:2rem}
.faith-card--prayer{background:#fff8ec;border-color:#f3dfbf}
.prayer{font-family:var(--font-display);font-size:1.2rem;line-height:1.5}

/* ---------- Pupil newsroom ---------- */
.newsroom{padding:56px 0;background:#f1ede4}
.paper{background:#fffdf7;border:1px solid #d9d2c3;box-shadow:0 12px 30px rgba(0,0,0,.08);padding:26px 28px;max-width:1000px;margin:0 auto;transform:rotate(-.4deg)}
.paper-head{text-align:center;border-bottom:3px double #1f1f1f;padding-bottom:10px;margin-bottom:18px}
.paper-title{font-family:'Old English Text MT','UnifrakturMaguntia',Georgia,serif;font-size:clamp(2rem,5vw,3.4rem);margin:4px 0}
.paper-edition{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#5b5550}
.paper-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px}
@media (max-width:760px){.paper-body{grid-template-columns:1fr}.paper{transform:none}}
.paper-lead{color:#1f1f1f}
.paper-lead:hover,.paper-side a:hover{text-decoration:none}
.paper-lead:hover h3,.paper-side a:hover h4{text-decoration:underline}
.paper-lead .pic{height:260px;overflow:hidden;filter:grayscale(.35) sepia(.15);border:1px solid #d9d2c3}
.paper-lead .pic img,.paper-lead .pic .thumb-fallback{width:100%;height:100%;object-fit:cover}
.paper-lead h3{font-family:Georgia,serif;font-size:1.7rem;margin:12px 0 6px}
.paper-lead p{font-family:Georgia,serif;color:#3d3833}
.paper-side{border-left:1px solid #d9d2c3;padding-left:20px;display:flex;flex-direction:column;gap:14px}
@media (max-width:760px){.paper-side{border-left:0;padding-left:0;border-top:1px solid #d9d2c3;padding-top:14px}}
.paper-side a{color:#1f1f1f;border-bottom:1px solid #e8e2d4;padding-bottom:12px}
.paper-side h4{font-family:Georgia,serif;font-size:1.15rem;margin:0 0 4px}
.paper-side p{margin:0;font-family:Georgia,serif;font-size:.95rem;color:#3d3833}
.paper-ad{border:2px dashed #1f1f1f;padding:12px;text-align:center;font-family:Georgia,serif}
.paper-ad b{display:block;letter-spacing:.06em}

/* ---------- Seasonal strip under the header ---------- */
.site-header{position:relative}
.season-strip{position:absolute;left:0;right:0;bottom:-18px;height:18px;pointer-events:none;z-index:5;background-repeat:repeat-x;background-size:60px 18px}
.season-strip--summer{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 0 Q30 6 60 0' stroke='%23555' fill='none'/%3E%3Cpath d='M4 1 L14 16 L24 3Z' fill='%23e03131'/%3E%3Cpath d='M34 3 L44 16 L54 1Z' fill='%231c7ed6'/%3E%3C/svg%3E")}
.season-strip--christmas{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 2 Q30 12 60 2' stroke='%232f6b3a' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='9' r='4' fill='%23e03131'/%3E%3Ccircle cx='30' cy='12' r='4' fill='%23fcc419'/%3E%3Ccircle cx='48' cy='9' r='4' fill='%231c7ed6'/%3E%3C/svg%3E")}
.season-strip--spring{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 2 Q30 10 60 2' stroke='%2366a80f' stroke-width='2' fill='none'/%3E%3Ccircle cx='15' cy='9' r='4' fill='%23f783ac'/%3E%3Ccircle cx='15' cy='9' r='1.6' fill='%23ffd43b'/%3E%3Ccircle cx='45' cy='9' r='4' fill='%23ffffff' stroke='%23f783ac'/%3E%3Ccircle cx='45' cy='9' r='1.6' fill='%23ffd43b'/%3E%3C/svg%3E")}
.season-strip--autumn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 2 Q30 10 60 2' stroke='%238a5a2b' stroke-width='2' fill='none'/%3E%3Cellipse cx='15' cy='10' rx='5' ry='3' fill='%23e8590c' transform='rotate(30 15 10)'/%3E%3Cellipse cx='45' cy='10' rx='5' ry='3' fill='%23f59f00' transform='rotate(-30 45 10)'/%3E%3C/svg%3E")}
.season-strip--winter{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Ctext x='10' y='14' font-size='12' fill='%2374c0fc'%3E%E2%9D%84%3C/text%3E%3Ctext x='40' y='14' font-size='12' fill='%23a5d8ff'%3E%E2%9D%85%3C/text%3E%3C/svg%3E")}
.simple-view .season-strip{display:none}
h1.church-kicker{font-family:var(--font-body);font-size:.85rem;line-height:1.4;margin:0 0 6px;color:#f6d7a7}

/* Accessibility: links inside text are underlined, not shown by colour alone */
main p a:not(.btn):not(.chunky),main li a:not(.btn):not(.chunky),.entry a:not(.btn):not(.wp-block-file__button),.fam-faq a,.simple-list a,.fam-steps a{text-decoration:underline;text-underline-offset:2px}
main .list a,main .doc-list a,main .doc-rows a,main .chips a,main .simple-links a,main .diary a,main .quick a,main .info a,main .stickers a,main .adv-list a,.site-footer a{text-decoration:none}
.nav ul.menu{display:contents;list-style:none;margin:0;padding:0}
.door .num::before{content:attr(data-n)}
/* Phone header: logo, search and Menu on one row */
@media (max-width:600px){
  .site-header .wrap{padding-left:16px;padding-right:16px;gap:8px;flex-wrap:wrap}
  .brand{gap:8px;min-width:0;flex:1 1 auto}
  .brand img,.brand .custom-logo{height:44px;width:44px}
  .brand .name strong{font-size:1rem;white-space:nowrap}
  .brand .name span{font-size:.7rem}
  .search-toggle{width:44px;height:44px;padding:0;justify-content:center;margin-left:0}
  .nav-toggle{padding:8px 12px;margin-left:0}
  .nav{order:5}
}
@media (max-width:360px){.brand .name span{display:none}}
/* Comfortable tap targets for small text links */
.panel-head a,.section-head > a{display:inline-flex;align-items:center;min-height:32px;padding:4px 0}

/* Future-proof: letter dates and list rows wrap on very narrow screens */
.list li a{flex-wrap:wrap}
.list li a span:last-child{white-space:normal}
@media (max-width:360px){.list li a span:last-child{white-space:nowrap}}
/* Phone-style menu also kicks in when visitors enlarge the text (em-based breakpoint) */
@media (max-width:56.25em){
  .nav-toggle{display:inline-flex}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding:8px 0 12px;order:5}
  .nav.is-open{display:flex}
  .nav a.cta{margin:8px 0 0;align-self:flex-start}
  .site-header .wrap{flex-wrap:wrap}
}
@media (max-width:380px){.topbar .wrap{flex-wrap:wrap;justify-content:center}.topbar .links{gap:10px}}

/* Menu button: icon + word; just the icon on narrow phones so the header stays on one row */
.nav-toggle{align-items:center;gap:6px}
.nav-toggle .nt-icon{display:block}
@media (max-width:480px){
  .nav-toggle{width:44px;height:44px;padding:0;justify-content:center}
  .nav-toggle .nt-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
  .brand .name strong{font-size:clamp(.88rem,4.2vw,1rem)}
  .site-header .wrap{flex-wrap:wrap}
  .brand{flex:1 1 0}
}
@media (max-width:400px){
  .brand{overflow:hidden}
  .brand .name{min-width:0}
  .brand .name strong{white-space:normal;line-height:1.15;font-size:.95rem}
  .brand .name span{font-size:.62rem}
}
/* ---------- Your mix: on-page section editor ---------- */
.mix-banner{background:#1e3a5f;color:#fff}
.mix-banner .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding-top:12px;padding-bottom:12px;font-weight:600}
.mix-banner a{color:#fff;text-decoration:underline}
.mix-fab-wrap{position:fixed;right:16px;bottom:84px;z-index:998}
.mix-fab{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:999px;border:0;background:#1e3a5f;color:#fff!important;font:inherit;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;text-decoration:none!important}
.mix-panel{position:fixed;right:16px;bottom:144px;z-index:999;width:min(420px,calc(100vw - 32px));max-height:min(70vh,640px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.3);padding:18px 18px 14px;border:1px solid var(--line)}
.mix-panel[hidden]{display:none}
.mix-panel-head{display:flex;justify-content:space-between;align-items:center}
.mix-panel h2{font-size:1.25rem;margin:0}
.mix-close{background:none;border:0;font-size:1.2rem;cursor:pointer;min-width:44px;min-height:44px}
.mix-help{font-size:.9rem;color:var(--muted)}
.mix-list{list-style:decimal;margin:0 0 12px;padding-left:1.6em}
.mix-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}
.mix-label{font-size:.92rem;font-weight:600}
.mix-btns{display:flex;gap:4px;flex-shrink:0}
.mix-btns button{min-width:36px;min-height:36px;border-radius:8px;border:1px solid var(--line);background:var(--stone);cursor:pointer;font-size:.8rem}
.mix-btns .mix-del{color:var(--red)}
.mix-add-label{display:block;font-weight:700;font-size:.9rem;margin-top:6px}
.mix-add-row{display:flex;gap:8px;margin:6px 0 14px}
.mix-add-row select{flex:1;min-width:0;min-height:40px;border-radius:10px;border:1px solid #bdb6ac;padding:0 8px;font:inherit;font-size:.9rem}
.mix-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mix-status{min-height:1.4em;font-weight:700;color:#1e3a5f;margin:8px 0 0}
@media (max-width:600px){.mix-fab-wrap{bottom:110px;right:8px}.mix-panel{right:8px;bottom:170px}}

/* ==========================================================================
   Balanced grids: column counts chosen to suit the number of items, so rows
   are always even (e.g. 8 items = 4+4 or 2+2+2+2, never 5+3).
   ========================================================================== */
/* 8 items: clubhouse, key information tiles, island places, class cards */
html body .clubhouse,html body .info,html body .adv-list,html body .cards--8{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:999px){html body .clubhouse,html body .info,html body .adv-list,html body .cards--8{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:519px){html body .cards--8{grid-template-columns:1fr}}
/* 6 small buttons: quick links and sticker buttons */
html body .quick,html body .stickers{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:999px){html body .quick,html body .stickers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:599px){html body .quick,html body .stickers{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 6 larger items, and news cards (6, 12 per page) */
html body .fam-reasons,html body .fam-day,html body .polaroids,html body .pr-stats,html body .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:899px){html body .fam-reasons,html body .fam-day,html body .polaroids,html body .pr-stats,html body .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){html body .fam-reasons,html body .fam-day,html body .polaroids,html body .cards{grid-template-columns:1fr}}
/* exactly 3 news cards: one row of 3, or one column */
@media (max-width:899px){html body .cards:has(> :nth-child(3):last-child){grid-template-columns:1fr}}
@media (min-width:600px) and (max-width:899px){html body .cards:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* 4 items: values, facts strip, quotes, bottles */
html body .values-grid,html body .fam-facts .wrap,html body .pr-quotes,html body .bottles{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:999px){html body .values-grid,html body .fam-facts .wrap,html body .pr-quotes,html body .bottles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:479px){html body .values-grid,html body .pr-quotes,html body .bottles{grid-template-columns:1fr}}
/* 3 items: doors, faith, fun trio, parent quotes, adventure trio */
html body .doors,html body .faith-grid,html body .fun-trio,html body .fam-quotes,html body .adv-trio{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:899px){html body .doors,html body .faith-grid,html body .fun-trio,html body .fam-quotes,html body .adv-trio{grid-template-columns:1fr}}
/* footer: 4 columns, 2 or 1 */
html body .site-footer .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:999px){html body .site-footer .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){html body .site-footer .grid{grid-template-columns:1fr}}
/* badges and logos already centre their last row */
.awards,.badge-row,.chips{justify-content:center}
.section-head .chips{justify-content:flex-start}

/* ---------- Calendar ---------- */
.cal-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(min(280px,100%),320px);gap:36px;align-items:start}
@media (max-width:56.25em){.cal-layout{grid-template-columns:1fr}.cal-side{order:-1}}
.cal-month{font-size:1.5rem;margin:28px 0 10px;padding-bottom:6px;border-bottom:2px solid var(--red)}
.cal-month:first-child{margin-top:0}
.cal-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cal-item{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:#fff}
.cal-item .date{width:62px;flex-shrink:0;border-radius:12px;background:var(--red);color:#fff;text-align:center;padding:8px 0;line-height:1.1}
.cal-item .date b{display:block;font-size:1.3rem}
.cal-item .date small{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase}
.cal-text{flex:1 1 200px;min-width:0}
.cal-text strong{display:block;font-size:1.05rem}
.cal-text span{color:var(--muted);font-size:.95rem}
.cal-item.is-today{border:3px solid var(--red);background:var(--red-tint)}
.cal-item.is-week{border-color:var(--red)}
.cal-item.is-past{opacity:.75}
.cal-item.is-past .date{background:#8a817a}
.cal-badge{display:inline-block;margin-top:4px;font-style:normal;font-size:.75rem;font-weight:700;background:var(--red);color:#fff;padding:2px 8px;border-radius:999px}
.cal-badge--week{background:#1e3a5f}
.cal-add{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;border:2px solid var(--line);color:var(--ink)!important;font-weight:700;font-size:.9rem;text-decoration:none!important;white-space:nowrap}
.cal-add:hover{border-color:var(--red);color:var(--red)!important}
.cal-past{margin-top:24px;padding:14px 16px;border-radius:14px;background:var(--stone)}
.cal-past summary{cursor:pointer;font-weight:700}
.cal-past .cal-list{margin-top:12px}
.cal-note{font-size:.9rem;color:var(--muted);margin-top:-6px}

/* ---------- Demo bar Reset ---------- */
.demo-switcher .demo-reset{background:none;border:1px solid rgba(255,255,255,.5);color:#fff;font:inherit;font-weight:700;border-radius:999px;padding:3px 10px;cursor:pointer;margin-left:4px}
.demo-switcher .demo-reset:hover{background:#fff;color:var(--ink)}

/* ---------- Desktop header: logo + search on top, full-width menu bar underneath ---------- */
@media (min-width:56.3125em){
  .site-header .wrap{flex-wrap:wrap;row-gap:0;padding-bottom:0}
  .site-header .brand{flex:1 1 auto}
  .site-header .brand .name{display:flex!important}
  .site-header .search-toggle span{display:inline!important}
  .site-header .search-toggle{padding:0 14px!important}
  .nav{order:5;flex:1 0 100%;display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px;margin-top:12px;padding:6px 0;border-top:1px solid var(--line)}
  .nav a{padding:12px 10px!important;font-size:1rem}
  .nav a.cta{padding:10px 20px!important;margin-left:6px}
}
/* Change sections panel on short screens (phones held sideways): use the full height */
@media (max-height:600px){.mix-panel{top:8px;bottom:8px;max-height:none}}

/* Change sections panel: always above the demo bar, positioned from the bar's real height */
.mix-fab-wrap{z-index:1001;bottom:calc(var(--demobar-h,16px) + 12px)}
.mix-panel{z-index:1002;bottom:calc(var(--demobar-h,16px) + 72px);max-height:calc(100vh - var(--demobar-h,16px) - 90px)}
@media (max-width:600px),(max-height:600px){
  .mix-fab-wrap{right:8px;bottom:calc(var(--demobar-h,16px) + 8px)}
  body.mix-is-open .demo-switcher{display:none}
  body.mix-is-open .mix-panel{top:8px;bottom:8px;right:8px;left:8px;width:auto;max-height:none}
  body.mix-is-open .mix-fab-wrap{display:none}
}

/* ------------------------------------------------------------------ v1.7: stained-glass side borders */
/* Bright colour down both sides of the page, drawn as church windows: cross, fish (St Peter the fisherman), keys and stars. */
body.has-glass{--glass:clamp(10px,2.4vw,40px);padding-left:var(--glass);padding-right:var(--glass)}
body.has-glass::before,body.has-glass::after{content:"";position:fixed;top:0;bottom:0;width:var(--glass);z-index:60;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%22192%22 viewBox=%220 0 48 192%22%3E %3Cg stroke=%22%232a2320%22 stroke-width=%222.5%22 stroke-linejoin=%22round%22%3E %3Cpolygon points=%220,0 48,0 48,26 0,42%22 fill=%22%23c8102e%22/%3E %3Cpolygon points=%220,42 48,26 48,72 0,80%22 fill=%22%23f2b705%22/%3E %3Cpolygon points=%220,80 48,72 48,116 0,110%22 fill=%22%231f5fa8%22/%3E %3Cpolygon points=%220,110 48,116 48,150 0,146%22 fill=%22%232e8b57%22/%3E %3Cpolygon points=%220,146 48,150 48,192 0,192%22 fill=%22%236b3fa0%22/%3E %3C/g%3E %3Cg fill=%22%23fff%22 opacity=%22.22%22%3E%3Cpolygon points=%224,6 20,4 8,26%22/%3E%3Cpolygon points=%226,86 18,84 8,100%22/%3E%3Cpolygon points=%2230,152 44,154 40,170%22/%3E%3C/g%3E %3Cpath d=%22M24 41v24M17 49h14%22 stroke=%22%23fff%22 stroke-width=%223.6%22 stroke-linecap=%22round%22/%3E %3Cpath d=%22M12 94q9-8 18 0q-9 8-18 0z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M30 94l6-5v10z%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2216%22 cy=%2293%22 r=%221.3%22 fill=%22%231f5fa8%22/%3E %3Cg stroke=%22%23fff%22 stroke-width=%222.4%22 fill=%22none%22 stroke-linecap=%22round%22%3E%3Ccircle cx=%2215%22 cy=%22131%22 r=%224.2%22/%3E%3Cpath d=%22M19 131h15M30 131v4M34 131v3%22/%3E%3C/g%3E %3Cpath d=%22M24 160l2.6 5.4 5.9.8-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8-4.3-4.1 5.9-.8z%22 fill=%22%23fff%22 opacity=%22.9%22/%3E %3Cpath d=%22M24 4l2 4 4 .6-3 2.8.8 4-3.8-2-3.8 2 .8-4-3-2.8 4-.6z%22 fill=%22%23fff%22 opacity=%22.55%22/%3E %3C/svg%3E");background-repeat:repeat-y;background-size:100% auto;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
body.has-glass::before{left:0}
body.has-glass::after{right:0;transform:scaleX(-1);background-position:0 96px}
body.has-glass .demo-switcher{left:calc(var(--glass) + 12px)}
@media (max-width:600px){body.has-glass{--glass:8px}body.has-glass .demo-switcher{left:12px}}
.simple-view body.has-glass,body.has-glass.simple-view{padding-left:0;padding-right:0}
.simple-view body.has-glass::before,.simple-view body.has-glass::after,body.has-glass.simple-view::before,body.has-glass.simple-view::after{display:none}
@media print{body.has-glass{padding:0}body.has-glass::before,body.has-glass::after{display:none}}

/* ------------------------------------------------------------------ v1.7: this term at a glance */
.term-glance-band{background:var(--stone)}
.term-glance{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr)) auto;gap:14px;align-items:stretch}
.tg-title{display:flex;align-items:center;gap:10px}
.tg-title h2{margin:0;font-size:1.35rem;line-height:1.15;max-width:9ch}
.tg-ico{font-size:2rem;line-height:1}
.tg-tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.tg-tile small{color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.72rem}
.tg-tile strong{font-family:var(--font-display);font-size:1.25rem;line-height:1.2}
.tg-tile span{color:var(--muted)}
.tg-tile--next{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
.tg-count{font-style:normal;align-self:flex-start;margin-top:6px;background:var(--red);color:#fff;border-radius:999px;padding:2px 12px;font-weight:700;font-size:.85rem}
.tg-actions{display:flex;flex-direction:column;gap:8px;justify-content:center}
.tg-note{margin:10px 0 0;color:var(--muted);font-size:.85rem}
@media (max-width:980px){.term-glance{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-title{grid-column:1/-1}.tg-title h2{max-width:none}.tg-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}}
@media (max-width:520px){.term-glance{grid-template-columns:1fr}}

/* ------------------------------------------------------------------ v1.7: class documents */
.class-docs-band{padding-bottom:0}
.class-docs{border:1px solid var(--line);border-left:8px solid var(--c,var(--red));border-radius:18px;padding:20px 22px;background:#fff}
.class-docs .panel-head{margin-bottom:10px}
.class-docs h2{margin:0;font-size:1.4rem}
.cd-sub{color:var(--muted)}
.cd-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:8px}
.cd-list a{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--stone)}
.cd-list a:hover{border-color:var(--c,var(--red));text-decoration:none;background:#fff}
.cd-type{flex:0 0 auto;min-width:46px;text-align:center;border-radius:8px;padding:3px 6px;font-size:.72rem;font-weight:800;color:#fff;background:#9b1016}
.cd-type--word{background:#1f5fa8}.cd-type--excel{background:#237a4b}.cd-type--powerpoint{background:#c0501f}
.cd-title{flex:1;font-weight:700;line-height:1.3}
.cd-date{color:var(--muted);font-size:.85rem;white-space:nowrap}
.cd-more{margin-top:8px}
.cd-more summary{cursor:pointer;font-weight:700;color:var(--red);margin-bottom:8px}
.class-news-h{margin:0 0 18px}

/* ---------- One font everywhere (School settings) ---------- */
body.one-font{--font-display:var(--font-body)}
body.one-font,body.one-font *:not(code):not(pre):not(kbd){font-family:var(--font-body)!important}
body.one-font h1,body.one-font h2{font-weight:700;letter-spacing:-.01em}
body.one-font .brand .name strong{font-weight:700;letter-spacing:-.01em}

/* ---------- v1.7.2: stained-glass sunset over the sea down the sides ----------
   St Peter, patron saint of fishermen: a warm sunset, the sea, a fishing boat and leaping fish.
   The panels stay in place as you scroll; the top bar is a strip of the same stained glass.
   Shows from laptop width upwards, never on tablets or phones. */
@media (min-width:1100px){
  body.has-scene{--box:min(1240px, calc(100vw - 240px));--gut:calc((100vw - var(--box)) / 2);background:#f6eee1}
  body.has-scene::before,body.has-scene::after{content:"";position:fixed;top:0;bottom:0;width:var(--gut);z-index:0;pointer-events:none;background-repeat:no-repeat;background-size:cover}
  body.has-scene::before{left:0;background-image:url(assets/sea-left.svg);background-position:right center}
  body.has-scene::after{right:0;background-image:url(assets/sea-right.svg);background-position:left center}
  body.has-scene .topbar,body.has-scene .site-header,body.has-scene #main,body.has-scene .site-footer{max-width:var(--box);margin-left:auto;margin-right:auto;z-index:1;box-sizing:border-box}
  body.has-scene .topbar,body.has-scene #main,body.has-scene .site-footer{position:relative}
  body.has-scene .site-header{background:#fff;border-bottom:3px solid #e8a33a}
  body.has-scene #main{background:#fff;box-shadow:0 10px 34px rgba(60,30,20,.22)}
}
/* The top bar becomes a strip of the same stained glass (all screen sizes) */
body.has-scene .topbar{background:#9b1d18 url(assets/glass-strip.svg) repeat-x center/320px 100%}
/* Tablets and phones: no room at the sides, so a slim stained-glass sunset band sits under the header,
   with a thinner one above the footer to bookend the page. */
@media (max-width:1099px){
  body.has-scene .site-header::after{content:"";display:block;height:clamp(64px, 11vw, 104px);background:url(assets/sea-band.svg) center/cover no-repeat;border-top:3px solid #e8a33a}
  body.has-scene .site-footer::before{content:"";display:block;height:clamp(30px, 5vw, 46px);background:url(assets/sea-band.svg) center 70%/cover no-repeat;margin:-1px 0 0}
}

/* ---------- v1.7.3: top of the homepage with the vision verse ---------- */
.hero .wrap{padding-top:40px;padding-bottom:44px;gap:40px}
.hero .pill{margin-bottom:12px}
.hero h1{font-size:clamp(2.1rem,4.2vw,3.4rem);margin-bottom:.35em}
.hero-verse{margin:0 0 16px;padding:10px 0 10px 16px;border-left:4px solid #e8a33a;max-width:52ch}
.hero-verse p{margin:0;font-size:1.08rem;line-height:1.5;font-style:italic;color:var(--ink)!important}
.hero-verse cite{display:block;margin-top:4px;font-style:normal;font-weight:700;font-size:.9rem;color:var(--red)}
.hero .copy > p{font-size:1.1rem;margin-top:0}

/* ---------- v1.7.3: five values sit evenly ---------- */
html body .values-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:18px}
html body .values-grid > *{flex:0 0 calc(20% - 15px);min-width:0;box-sizing:border-box}
@media (max-width:999px){html body .values-grid > *{flex-basis:calc(33.333% - 12px)}}
@media (max-width:599px){html body .values-grid > *{flex-basis:100%}}

/* ---------- v1.7.3: visitor seasonal button in the top bar ---------- */
.topbar .season-toggle{width:auto!important;padding:2px 12px;border:1px solid rgba(255,255,255,.6);border-radius:999px;margin-right:6px;font:inherit;font-size:.85rem;font-weight:700;white-space:nowrap;background:transparent;color:#fff;cursor:pointer;min-height:28px}
.topbar .season-toggle[aria-pressed="true"]{background:#fff;color:var(--red)}

/* ---------- v1.7.3: class pages – tabs, spellings, photos, fun corner ---------- */
.class-tabs{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .class-tabs{top:32px}
.class-tabs .wrap{display:flex;gap:6px;overflow-x:auto;padding-top:8px;padding-bottom:8px}
.class-tabs a{flex:0 0 auto;padding:8px 14px;border-radius:999px;border:2px solid var(--line);font-weight:700;text-decoration:none!important;color:var(--ink)!important;white-space:nowrap}
.class-tabs a:hover,.class-tabs a:focus-visible{border-color:var(--c,var(--red));color:var(--c,var(--red))!important}
.class-spell h2,.class-fun h2,#photos h2{font-size:1.6rem}
.spell-words{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.spell-words li{padding:8px 16px;border-radius:12px;background:#fff;border:2px solid var(--c,var(--red));font-weight:700;font-size:1.1rem}
.spell-from{font-size:.9rem;color:var(--muted)}
.lcwc{margin-top:18px;padding:20px;border-radius:18px;background:var(--stone);max-width:640px}
.lcwc h3{margin-top:0;font-size:1.2rem}
.lcwc-word{font-size:2.2rem;font-weight:700;letter-spacing:.04em;min-height:1.4em;margin:6px 0 10px}
.lcwc-word.is-right{color:#1b7a3a}
.lcwc-word.is-wrong{color:var(--red)}
.lcwc-label{display:block;margin-bottom:12px;font-weight:700}
.lcwc-input{display:block;margin-top:6px;font:inherit;font-size:1.4rem;padding:10px 12px;border-radius:12px;border:2px solid #bdb6ac;width:min(100%,360px)}
.lcwc-score{font-weight:700;margin:10px 0 0}
.class-photos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:12px}
.class-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}
.fun-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px}
.fun-box{padding:18px;border-radius:18px;background:#fff;border:2px solid var(--line)}
.fun-box h3{margin-top:0;font-size:1.15rem;color:var(--c,var(--red))}
.fun-box details summary{cursor:pointer;font-weight:700;color:var(--red)}
.fun-box .punch{font-weight:700}
.fun-mascot{text-align:center;background:color-mix(in srgb,var(--c,#9b1016) 10%,#fff)}
.fun-mascot .mascot{font-size:4rem;line-height:1}
.fun-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.fun-links a{font-weight:700}
.lcwc-label[hidden]{display:none}
@media (max-width:600px){
  .topbar .season-toggle{padding:2px 8px;margin-right:2px}
  .topbar .season-toggle .st-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
}

/* ---------- v1.7.5: Simple view – larger text, one column, no decoration or movement ---------- */
html.simple-view{font-size:125%}
html.simple-view body{background:#fff!important;color:#111!important;line-height:1.7}
html.simple-view *,html.simple-view *::before,html.simple-view *::after{animation:none!important;transition:none!important}
/* decoration and pictures that are only there to look nice */
html.simple-view body::before,html.simple-view body::after,html.simple-view .site-header::after,html.simple-view .site-footer::before,
html.simple-view .mosaic,html.simple-view .card .thumb,html.simple-view .card img,html.simple-view .thumb-fallback,html.simple-view .sc-slides,html.simple-view .sc-cross,
html.simple-view .season-strip,html.simple-view canvas,html.simple-view .awards,html.simple-view .badge-row,html.simple-view .class-photos,html.simple-view .hero-photo,
html.simple-view .sc-tile,html.simple-view .sc-card-img,html.simple-view .polaroid img,html.simple-view .fun-mascot .mascot,html.simple-view .adv-map,html.simple-view .island{display:none!important}
html.simple-view .topbar{background:#7f1416!important}
html.simple-view .site-header,html.simple-view #main,html.simple-view .topbar,html.simple-view .site-footer{max-width:none!important;box-shadow:none!important}
html.simple-view .hero,html.simple-view .band,html.simple-view .page-head,html.simple-view .band--stone,html.simple-view .fun-band,html.simple-view .sc-hero,html.simple-view .w-hero,html.simple-view .church-hero{background:#fff!important;color:#111!important;min-height:0!important}
html.simple-view .hero *,html.simple-view .page-head *,html.simple-view .sc-hero *,html.simple-view .w-hero *{color:#111!important;text-shadow:none!important}
/* one easy-to-read column */
html.simple-view main .wrap{max-width:46rem!important}
html.simple-view main .hero .wrap,html.simple-view main .cards,html.simple-view main .quick,html.simple-view main .values-grid,html.simple-view main .fun-grid,
html.simple-view main .info-grid,html.simple-view main .letters-diary,html.simple-view main .two-col,html.simple-view main .tg-grid,html.simple-view main .sc-tiles,
html.simple-view main .sc-welcome-grid,html.simple-view main .cal-layout,html.simple-view main .clubhouse,html.simple-view main .club-grid,html.simple-view main [class*="-grid"]{display:block!important}
html.simple-view main .cards > *,html.simple-view main .quick > *,html.simple-view main .values-grid > *,html.simple-view main .fun-grid > *,html.simple-view main [class*="-grid"] > *{display:block!important;width:auto!important;max-width:none!important;margin:0 0 14px!important;transform:none!important;box-shadow:none!important}
html.simple-view a{text-decoration:underline!important}
html.simple-view main a,html.simple-view main h1,html.simple-view main h2,html.simple-view main h3{color:#111!important}
html.simple-view .btn{background:#fff!important;color:#7f1416!important;border:2px solid #7f1416!important}
html.simple-view .simple-toggle{background:#fff!important;color:#7f1416!important}
html.simple-view .topbar .wrap,html.simple-view .topbar .links,html.simple-view .topbar .social{flex-wrap:wrap!important;row-gap:6px}
html.simple-view .brand .name strong{white-space:normal!important}
html.simple-view .key-info,html.simple-view .entry{font-size:1rem}
/* v1.7.5: Seasonal button – just the icon, grey when off, colour when on */
.topbar .season-toggle{width:36px!important;height:30px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.45)!important;border-radius:999px;background:transparent!important;font-size:1.05rem;line-height:1}
.topbar .season-toggle span{filter:grayscale(1) brightness(1.6);opacity:.75}
.topbar .season-toggle[aria-pressed="true"]{background:rgba(255,255,255,.18)!important;border-color:#ffd968!important}
.topbar .season-toggle[aria-pressed="true"] span{filter:none;opacity:1}
html.simple-view .brand,html.simple-view .brand *{text-decoration:none!important}
.fun-word .word{font-size:1.6rem;font-weight:700;margin:0 0 4px;color:var(--ink)}
.fun-word .meaning{margin:0 0 6px}
.fun-word .example{margin:0;color:var(--muted)}
.mascot-name{margin:8px 0 2px}
.mascot-msg{margin:0;font-weight:700}
/* Silly question of the week */
.fun-box.fun-silly{grid-column:1/-1;text-align:center;background:linear-gradient(135deg,#fff7e6,#fff)}
.silly-q{font-size:1.25rem;font-weight:700;margin:.2em 0 .6em}
.silly-arena{position:relative;height:110px;max-width:520px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:16px}
.silly-arena .silly-no.is-loose,.silly-arena .silly-run.is-loose{position:absolute;margin:0}
.silly-reply{min-height:1.5em;font-weight:700;color:var(--red);margin:.4em 0 0}
.fun-silly.is-answered .silly-q::after{content:" 😄"}
html.simple-view .silly-arena{height:auto}
/* Fun corner: five boxes sit evenly, the silly question underneath */
.fun-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:16px}
.fun-grid > .fun-box{flex:0 0 calc(20% - 13px);box-sizing:border-box;min-width:0}
.fun-grid > .fun-box.fun-silly{flex-basis:100%}
@media (max-width:999px){.fun-grid > .fun-box{flex-basis:calc(33.333% - 11px)}}
@media (max-width:599px){.fun-grid > .fun-box{flex-basis:100%}}

/* ---------- v1.7.7: header stays at the top when scrolling ---------- */
.masthead--sticky{position:sticky;top:0;z-index:40}
.admin-bar .masthead--sticky{top:32px}
@media (max-width:782px){.admin-bar .masthead--sticky{top:0}}
.masthead--sticky.is-scrolled{box-shadow:0 6px 18px rgba(40,20,10,.16)}
@media (max-width:1099px){
  .masthead--sticky .site-header .nav{max-height:calc(100vh - 90px);overflow-y:auto}
}
.class-tabs{top:var(--mast-h,0px)!important}
.admin-bar .class-tabs{top:calc(var(--mast-h,0px) + 32px)!important}
html{scroll-padding-top:calc(var(--mast-h,0px) + 24px)}
html:has(.class-tabs){scroll-padding-top:calc(var(--mast-h,0px) + 70px)}   /* class pages: room for the tabs bar too */
/* ---------- v1.7.7: Fun corner – today / this week, quiz, vote, guess who, calm minute ---------- */
.fun-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.fun-sub{font-size:1.05rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:18px 0 10px}
.fun-grid--week > .fun-box{flex-basis:calc(33.333% - 11px)}
@media (max-width:999px){.fun-grid--week > .fun-box{flex-basis:calc(50% - 8px)}}
@media (max-width:599px){.fun-grid--week > .fun-box{flex-basis:100%}}
.draw-it{font-size:1.15rem;font-weight:700}
.quiz-opts{display:flex;flex-direction:column;gap:8px;margin:8px 0}
.quiz-opt,.wyr-opt{font:inherit;font-weight:700;padding:10px 12px;border-radius:12px;border:2px solid var(--line);background:#fff;cursor:pointer;text-align:left;min-height:44px}
.quiz-opt:hover,.wyr-opt:hover{border-color:var(--c,var(--red))}
.quiz-opt.is-right{background:#e3f5e7;border-color:#1b7a3a;color:#14532d}
.quiz-opt.is-wrong{background:#fdecec;border-color:#c8102e}
.quiz-result,.wyr-result{font-weight:700;color:var(--red);margin:6px 0 0;min-height:1.4em}
.wyr-opts{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.wyr-or{text-align:center;font-weight:700;color:var(--muted)}
.wyr-opt{position:relative;overflow:hidden;text-align:center}
.has-voted .wyr-opt{background:linear-gradient(90deg,color-mix(in srgb,var(--c,#9b1016) 18%,#fff) var(--pc,0%),#fff var(--pc,0%));cursor:default;color:var(--ink)}
.has-voted .wyr-opt::after{content:"  " attr(data-pc);font-weight:700}
.wyr-opt.is-mine{border-color:var(--c,var(--red))}
.fun-guess .clues{margin:6px 0 8px;padding-left:1.3em}
.fun-guess .clues li{margin-bottom:4px}
.clue-next{font-size:.9rem;color:var(--muted);margin:0}
.calm{position:fixed;inset:0;z-index:100;background:rgba(20,30,40,.72);display:flex;align-items:center;justify-content:center;padding:20px}
.calm[hidden]{display:none}
.calm-box{background:#fff;border-radius:22px;padding:28px;text-align:center;max-width:380px;width:100%}
.calm-circle{width:150px;height:150px;margin:18px auto;border-radius:50%;background:radial-gradient(circle,#ffd968,#f4923a 60%,#c8102e);animation:calm-breathe 8s ease-in-out infinite}
@keyframes calm-breathe{0%,100%{transform:scale(.6)}50%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.calm-circle{animation:none}}
.calm-say{font-size:1.4rem;font-weight:700;min-height:1.6em}

/* ---------- v1.8.1: sticky header without flicker ----------
   The header never changes size while scrolling (changing size made the page jump and the header flicker).
   Phones and tablets: the red top bar scrolls away naturally; the logo and menu row stays pinned. */
html{overflow-anchor:none}
@media (max-width:1099px){
  .masthead--sticky{top:calc(-1 * var(--topbar-h, 0px))}
  .admin-bar .masthead--sticky{top:calc(-1 * var(--topbar-h, 0px))}
  body.has-scene.has-mast-sticky #main::before{content:"";display:block;height:clamp(64px, 11vw, 104px);background:url(assets/sea-band.svg) center/cover no-repeat;border-bottom:3px solid #e8a33a}
}
@media (max-width:1099px){.masthead--sticky .site-header::after{display:none!important}}

/* ---------- v1.8.4: seasonal stained glass with the ✨ button ----------
   When seasonal decorations are on (the visitor's ✨ button, or School settings), the page is marked
   season-autumn / -winter / -christmas / -spring / -summer and the stained glass changes to match. */
html.season-autumn body.has-scene::before{background-image:url(assets/seasons/left-autumn.svg)}
html.season-autumn body.has-scene::after{background-image:url(assets/seasons/right-autumn.svg)}
html.season-winter body.has-scene::before{background-image:url(assets/seasons/left-winter.svg)}
html.season-winter body.has-scene::after{background-image:url(assets/seasons/right-winter.svg)}
html.season-christmas body.has-scene::before{background-image:url(assets/seasons/left-christmas.svg)}
html.season-christmas body.has-scene::after{background-image:url(assets/seasons/right-christmas.svg)}
html.season-spring body.has-scene::before{background-image:url(assets/seasons/left-spring.svg)}
html.season-spring body.has-scene::after{background-image:url(assets/seasons/right-spring.svg)}
html.season-summer body.has-scene::before{background-image:url(assets/seasons/left-summer.svg)}
html.season-summer body.has-scene::after{background-image:url(assets/seasons/right-summer.svg)}
@media (max-width:1099px){
  html.season-autumn body.has-scene.has-mast-sticky #main::before,html.season-autumn body.has-scene .site-header::after{background-image:url(assets/seasons/band-autumn.svg)}
  html.season-winter body.has-scene.has-mast-sticky #main::before,html.season-winter body.has-scene .site-header::after{background-image:url(assets/seasons/band-winter.svg)}
  html.season-christmas body.has-scene.has-mast-sticky #main::before,html.season-christmas body.has-scene .site-header::after{background-image:url(assets/seasons/band-christmas.svg)}
  html.season-spring body.has-scene.has-mast-sticky #main::before,html.season-spring body.has-scene .site-header::after{background-image:url(assets/seasons/band-spring.svg)}
  html.season-summer body.has-scene.has-mast-sticky #main::before,html.season-summer body.has-scene .site-header::after{background-image:url(assets/seasons/band-summer.svg)}
}
html.simple-view #main::before{display:none!important}

/* v1.8.5: the stained-glass strip along the top changes with the season too (deep shades keep the white text easy to read) */
html.season-autumn body.has-scene .topbar{background:#5e2236 url(assets/seasons/strip-autumn.svg) repeat-x center/320px 100%}
html.season-autumn body.has-scene .site-header{border-bottom-color:#e6a63c}
html.season-winter body.has-scene .topbar{background:#24365e url(assets/seasons/strip-winter.svg) repeat-x center/320px 100%}
html.season-winter body.has-scene .site-header{border-bottom-color:#d3c8e3}
html.season-christmas body.has-scene .topbar{background:#13204f url(assets/seasons/strip-christmas.svg) repeat-x center/320px 100%}
html.season-christmas body.has-scene .site-header{border-bottom-color:#ffd34d}
html.season-spring body.has-scene .topbar{background:#2f5e3a url(assets/seasons/strip-spring.svg) repeat-x center/320px 100%}
html.season-spring body.has-scene .site-header{border-bottom-color:#f8d8cf}
html.season-summer body.has-scene .topbar{background:#1a5c94 url(assets/seasons/strip-summer.svg) repeat-x center/320px 100%}
html.season-summer body.has-scene .site-header{border-bottom-color:#ffd23f}
/* v1.8.6: the ✨ button does nothing in Simple view, so it is hidden there */
html.simple-view .season-toggle{display:none!important}
/* v1.9.10: the footer name logo shrinks to fit its column instead of spilling into the next one */
.site-footer .grid > *{min-width:0}
.site-footer .grid > :first-child img{max-width:100%!important;height:auto!important;box-sizing:border-box}

/* v1.9.11: jumping to a section (e.g. /parents/#uniform) keeps its heading clear of the sticky header */
/* (1.9.22: removed – it doubled up with html scroll-padding-top; masthead.js now re-jumps after measuring the header) */

/* v1.9.14: pictures brought across from the old pages – a tidy grid, click for full size */
.tsp-pics{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,190px));gap:12px;margin:16px 0}
.tsp-pics .tsp-pic{display:block;border-radius:10px;overflow:hidden;background:#fff;border:1px solid rgba(0,0,0,.1);transition:box-shadow .2s,transform .2s}
.tsp-pics .tsp-pic:hover,.tsp-pics .tsp-pic:focus-visible{box-shadow:0 6px 16px rgba(0,0,0,.15);transform:translateY(-2px)}
.tsp-pics img{display:block;width:100%;height:150px;object-fit:contain;padding:6px;box-sizing:border-box}
html.simple-view .tsp-pics{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.tsp-video{position:relative;aspect-ratio:16/9;max-width:720px;margin:18px 0;border-radius:10px;overflow:hidden;background:#000}
.tsp-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* v1.9.16: optional drop-down menus */
.tsp-dd{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px}
.tsp-dd > li{position:relative;display:flex;align-items:center}
.tsp-dd .dd-toggle{background:none;border:0;padding:6px;min-width:24px;min-height:24px;justify-content:center;margin-left:-6px;color:inherit;cursor:pointer;border-radius:6px;display:inline-flex;align-items:center}
.tsp-dd .dd-toggle:hover,.tsp-dd .dd-toggle:focus-visible{background:rgba(155,16,22,.08)}
.tsp-dd li.has-sub > .dd-toggle svg{transition:transform .2s}
.tsp-dd li.open > .dd-toggle svg{transform:rotate(180deg)}
.tsp-dd .sub{list-style:none;margin:0;padding:8px;display:none}
.tsp-dd .sub a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap;font-weight:500;text-decoration:none}
.tsp-dd .sub a:hover,.tsp-dd .sub a:focus-visible{background:#fbf0ea;color:#9b1016}
@media (min-width:1100px){
  .tsp-dd .sub{position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid rgba(0,0,0,.08);border-top:3px solid #e8a33a;border-radius:0 0 12px 12px;box-shadow:0 14px 30px rgba(0,0,0,.14);z-index:60}
  .tsp-dd li.has-sub:hover:not(.shut) > .sub,.tsp-dd li.open > .sub{display:block}
  .tsp-dd > li:nth-last-child(-n+3) .sub{left:auto;right:0}
  .tsp-dd .dd-cta{margin-left:auto}
}
@media (max-width:1099px){
  .tsp-dd{flex-direction:column;align-items:stretch}
  .tsp-dd > li{flex-wrap:wrap}
  .tsp-dd > li > a{flex:1}
  .tsp-dd .dd-toggle{padding:10px 14px;margin:0}
  .tsp-dd li.open > .sub{display:block;width:100%;padding:0 0 8px 18px;border-left:3px solid #e8a33a;margin-left:8px}
}

.tsp-viewer{border:0;padding:0;background:transparent;max-width:min(92vw,1100px);max-height:90vh;overflow:visible}
.tsp-viewer::backdrop{background:rgba(20,12,8,.82)}
.tsp-viewer img{display:block;max-width:min(92vw,1100px);max-height:86vh;width:auto;height:auto;border-radius:10px;background:#fff}
.tsp-viewer-close{position:absolute;top:-16px;right:-16px;width:40px;height:40px;border-radius:50%;border:2px solid #fff;background:#9b1016;color:#fff;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.4)}

/* v1.9.19: pictures sit beside the section's text, on the right (below the text on phones) */
.tsp-pics--side{float:right;width:min(300px,38%);grid-template-columns:1fr;margin:4px 0 16px 28px}
.tsp-pics--side img{height:auto;max-height:260px}
.tsp-clear{clear:both}
@media (max-width:700px){.tsp-pics--side{float:none;width:100%;margin:12px 0;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.tsp-pics--side img{height:150px}}
html.simple-view .tsp-pics--side{float:none;width:100%;margin:12px 0}
/* pages with side pictures: text keeps its reading width, pictures sit at the right-hand edge of the page */
@media (min-width:701px){
  .entry:has(.tsp-pics--side){max-width:none}
  .entry:has(.tsp-pics--side) > :not(.tsp-pics--side):not(.tsp-clear):not(.alignwide):not(.alignfull){max-width:72ch}
  .tsp-pics--side{width:min(300px,30%)}
}

/* v1.9.21: emergency closure banner */
.tsp-alert{background:#b00012;color:#fff;font-size:1.1rem;font-weight:600;padding:14px 0;text-align:center;border-bottom:3px solid #e8a33a;position:relative;z-index:5}
.tsp-alert strong{text-transform:uppercase;letter-spacing:.04em;margin-right:6px}
/* v1.9.24: long words with no spaces (e.g. document names like Working_together_to_safeguard_children_2026) wrap on phones instead of making the page scroll sideways */
.entry,.prose,.site-footer,.tsp-dd .sub{overflow-wrap:anywhere}
/* v1.9.25: bordered tables in page content keep the line under their last row (the general "no line under the last row" rule is for the site's own panels) */
.entry .wp-block-table tr:last-child td,.entry .wp-block-table tr:last-child th,.entry table tr:last-child td{border-bottom-width:1px;border-bottom-style:solid}

/* v1.9.26: videos wait for Play (nothing loads from Vimeo/YouTube until then) */
.tsp-video--wait{background:linear-gradient(135deg,#1f6f7a,#17606b)}
.tsp-video-play{position:absolute;inset:0;width:100%;border:0;background:transparent;color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font:inherit;padding:16px;text-align:center}
.tsp-video-icon{width:72px;height:72px;border-radius:50%;background:#9b1016;display:flex;align-items:center;justify-content:center;font-size:28px;padding-left:5px;box-shadow:0 6px 16px rgba(0,0,0,.35);transition:transform .2s}
.tsp-video-play:hover .tsp-video-icon,.tsp-video-play:focus-visible .tsp-video-icon{transform:scale(1.08)}
.tsp-video-label{font-weight:700;font-size:1.1rem}
.tsp-video-note{font-size:.85rem;opacity:.9;max-width:36ch}

/* v1.9.28: language lines on the Translate page */
.tsp-langs{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:8px 24px}
.tsp-langs li{padding:8px 12px;background:#fbf6ef;border-radius:8px}
@media (max-width:1399px){.topbar .tb-translate .tb-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width:1149px){.topbar .tb-translate{display:none}}   /* smaller screens: Translate is in the footer links instead, so the top bar doesn't get taller */
/* v1.9.29: a shorter homepage on phones (laptops and tablets unchanged) */
@media (max-width:700px){
  body.home .cards > .card:nth-child(n+4){display:none}            /* news: 3 stories, then “More news” */
  body.home .section-head .chips{display:none}                       /* class buttons: the clubhouse below does this */
  .values-grid{grid-template-columns:1fr 1fr;gap:10px}
  .values-grid .value-card{padding:14px 10px;text-align:center}
  .values-grid .value-card p{display:none}                           /* the Gospel links stay on About us and on laptops */
  .values-grid .value-card h3{font-size:1rem;margin:6px 0 0;line-height:1.25}
  .values-grid .value-ico{font-size:1.6rem}
  .clubhouse{grid-template-columns:1fr 1fr!important;gap:10px}
  .clubhouse .club{padding:12px 8px}
  .clubhouse .club em{display:none}
}
@media (max-width:700px){
  body.home .hero .mosaic{grid-template-columns:1fr!important;grid-template-rows:auto!important}
  body.home .hero .mosaic > *:not(:first-child){display:none}       /* one photo, not three */
  body.home .hero .mosaic > :first-child{width:100%!important;height:210px!important;aspect-ratio:auto!important;grid-row:auto!important;grid-column:auto!important}
  body.home .hero .mosaic > :first-child img{width:100%;height:100%;object-fit:cover}
  body.home .letter .thumb{display:none}                             /* the letter link stays; its big preview picture doesn't */
}
@media (max-width:700px){
  html body .values-grid{gap:10px!important}
  html body .values-grid > *{flex-basis:calc(50% - 5px)!important}   /* two values per row; the fifth sits centred */
}

/* v1.9.30: class document titles – at most three lines (full name on hover) */
.cd-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* post photo: the whole picture, nothing cut off */
.post-hero{max-height:none;display:flex;justify-content:center}
.post-hero img{width:auto;max-width:100%;height:auto;max-height:75vh;object-fit:contain}
/* v1.9.32: tiles in the same row are the same height */
.cd-list li{display:flex}
.cd-list li > a{flex:1}

/* v1.9.34: Term dates stands out in the top bar – a gold button */
.topbar a.tb-term{background:#f2b33d;color:#2a1508!important;font-weight:700;border-radius:999px;padding:5px 14px 5px 11px;box-shadow:0 2px 0 rgba(0,0,0,.18)}
.topbar a.tb-term svg{stroke:#2a1508}
.topbar a.tb-term:hover,.topbar a.tb-term:focus-visible{background:#ffd27a;text-decoration:none}
html.simple-view .topbar a.tb-term{background:#fff;color:#7f1416!important}
@media (max-width:600px){
  .topbar a,.topbar button{white-space:nowrap}      /* no words wrapping inside top-bar items on phones */
}
.entry .wp-block-table:focus-visible{outline:3px solid var(--red,#9b1016);outline-offset:3px}
@media (max-width:600px){
  .topbar .wrap{flex-wrap:wrap;min-width:0}
  .topbar .social{flex-wrap:wrap;max-width:100%;min-width:0;row-gap:6px}   /* the ✨ / Simple view / social group wraps rather than poking past the edge */
}

/* v1.9.43: pictures that are links show a small 'go' badge */
.tsp-pic--link{position:relative}
.tsp-pic--link::after{content:"↗";position:absolute;right:8px;bottom:8px;width:28px;height:28px;border-radius:50%;background:var(--red,#9b1016);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(0,0,0,.3);font-size:15px;line-height:1}
.tsp-pic--link:hover::after,.tsp-pic--link:focus-visible::after{background:#7f1416}
.tsp-doc-soon em{color:var(--muted,#6b5b52);font-size:.9em}

/* v1.9.49: preview banner and practice-post note */
.tsp-preview-banner{background:#1f4e5f;color:#fff;text-align:center;font-weight:600;padding:8px 16px;font-size:.95rem}
.tsp-practice-note{background:#fff3c4;border:2px dashed #c79a12;border-radius:10px;padding:10px 14px}

/* v1.9.50: class logo pictures in place of the emoji */
.class-logo{display:block;width:100%;height:100%;object-fit:contain}
.class-badge.has-logo{padding:6px;background:#fff!important;overflow:hidden}
.club .club-emoji{height:56px;display:flex;align-items:center;justify-content:center}
.club-emoji .class-logo{width:auto;max-width:72px;height:56px;margin:0 auto;border-radius:8px}
.thumb-fallback .emoji .class-logo{width:auto;max-width:70%;height:70%;margin:auto;border-radius:12px;background:#fff;padding:6px}

/* v1.9.51: galleries in posts – a tidy grid of good-sized photos (tap to enlarge) */
.entry .wp-block-gallery{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:12px;margin:20px 0;padding:0}
.entry .wp-block-gallery figure{margin:0!important;width:auto!important;max-width:none!important}
.entry .wp-block-gallery img{display:block;width:100%;height:210px;object-fit:cover;border-radius:12px}
.entry .wp-block-gallery figure > a{display:block;cursor:zoom-in}
.entry .wp-block-gallery figure > a:focus-visible{outline:3px solid var(--red,#9b1016);outline-offset:3px;border-radius:12px}

/* 1.9.85: class clubhouse tabs with Life at St Peter’s inside */
.club-tabs[role=tablist] .club{cursor:pointer}
.club-all-wrap{text-align:center;margin:0 0 18px}
.club-all{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:999px;border:3px solid #9b1016;background:#fff;color:#9b1016;font-size:1.05rem;text-decoration:none;cursor:pointer}
.club-all:hover,.club-all:focus-visible{background:#fbeeee}
.club-all.is-active{background:#9b1016;color:#fff}
.club-all.is-active strong::after{content:" ✓"}
.clubhouse .club.is-active{outline:4px solid var(--c);outline-offset:3px;transform:translateY(-3px)}
.clubhouse .club.is-active strong::after{content:" ✓";font-weight:700}
.club-panel{margin-top:30px}
.club-panel:focus-visible{outline:3px solid #1f5a96;outline-offset:6px;border-radius:12px}
.club-panel-title{font-size:1.25rem;margin:0 0 16px;text-align:center}
.club-panel .cards{margin-top:0}
