/* Polk Scholastic Chess — additions to the wireframe stylesheet (styles.css) for the live site. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;opacity:0}
.narrow{max-width:760px;margin-inline:auto}
.center-lead{text-align:center;max-width:720px;margin:0 auto 24px}
.prose{max-width:780px}.prose img{max-width:100%;height:auto;border-radius:16px}
.stack{display:flex;flex-direction:column;gap:10px}
.mt-14{margin-top:14px}.rounded{border-radius:20px}
.link{background:none;border:0;padding:0;color:var(--sky);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.inline{display:inline}
.label{display:block;font-weight:800;margin-bottom:6px}
.check{display:flex;gap:8px;align-items:flex-start;font-weight:600;margin:6px 0}
.check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 16px}
.sub-card{background:#f7f8ff;border-radius:16px;padding:14px}
.two-tight{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pill.gray{background:#eceef6;color:#4a4e6a}.pill.sky{background:var(--sky-l);color:#105b96}.pill.grape{background:var(--grape-l);color:#4b2fc2}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.card-icon{font-size:1.8rem}.card-navy{background:var(--navy);color:#fff}
.footer-strong{font-weight:900;margin:0 0 4px}.footer-muted,.footer-muted2{opacity:.8}
.nl-msg{display:block;font-size:.85rem;margin-top:6px}
.hint.warn{color:#7a5800}.hint.ok{color:#1f7a30}.hint.suggest button{font-weight:800}
/* type-ahead */
.typeahead{position:relative}
.ta-list{position:absolute;z-index:30;left:0;right:0;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:2px solid var(--line);border-radius:14px;box-shadow:0 12px 30px rgba(43,45,102,.15);max-height:280px;overflow:auto}
.ta-list li{padding:9px 10px;border-radius:10px;cursor:pointer}
.ta-list li.on,.ta-list li:hover{background:var(--sky-l)}
.ta-list li small{color:var(--muted)}.ta-list li.none{color:var(--muted);cursor:default}
/* registration */
.reg-header,.reg-footer{margin:12px 0}
.fee-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.review-grid dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0}.review-grid dt{font-weight:800;color:var(--muted)}
.pay-card{text-align:center}.pay-card #paypal-buttons{max-width:420px;margin:16px auto}
.steps{counter-reset:s;padding:0;list-style:none}
.stepper li[aria-current]{font-weight:900}
.field.err input,.field.err select,.field.err textarea{border-color:var(--rose)}
/* results / search / people / gallery */
.results-layout{display:grid;grid-template-columns:260px 1fr;gap:24px}
@media (max-width:900px){.results-layout{grid-template-columns:1fr}}
.result-set{margin-bottom:18px}.season-list{list-style:none;padding:0}
.player-search{display:flex;gap:8px;flex-wrap:wrap}
.search-inline{max-width:520px;margin:0 auto 18px}.search-inline input{width:100%}
.search-results{display:flex;flex-direction:column;gap:12px}
.search-results mark{background:var(--sun-l);border-radius:4px;padding:0 2px}
.pager{display:flex;gap:6px;justify-content:center;margin-top:18px}.pager a{padding:6px 12px;border-radius:10px;border:2px solid var(--line);text-decoration:none}.pager a.on,.pager a[aria-current]{background:var(--navy);color:#fff;border-color:var(--navy)}
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.profile img{width:96px;height:96px;border-radius:50%;object-fit:cover}
.initials{display:inline-grid;place-items:center;width:96px;height:96px;border-radius:50%;background:var(--sky-l);font:900 1.6rem/1 'Baloo 2',sans-serif;color:var(--navy)}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.photo-strip{display:flex;gap:10px;overflow-x:auto}.photo-strip img{height:150px;border-radius:12px}
dialog.lightbox{border:0;border-radius:18px;padding:12px;max-width:min(96vw,1200px)}
dialog.lightbox::backdrop{background:rgba(20,22,50,.8)}dialog.lightbox img{max-width:100%;max-height:80vh;display:block}
dialog.lightbox .close{position:absolute;right:10px;top:10px;border:0;border-radius:50%;width:36px;height:36px;font-size:1.1rem;cursor:pointer}
.video-wrap{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden}.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.file-list{list-style:none;padding:0}.file-list li{padding:6px 0;border-bottom:1px dashed var(--line)}
.ribbon-link{font-weight:900;text-decoration:underline;margin-left:8px}
.preview-banner{background:var(--navy);color:#fff;text-align:center;padding:8px;font-weight:800;position:sticky;top:0;z-index:50}
.cf-turnstile{min-height:0}
.big{font-size:1.25rem}.m{margin:0}.is{display:inline}
.split.wide-left{grid-template-columns:2fr 1fr}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
:focus-visible{outline:3px solid var(--sky);outline-offset:2px}

/* FAQ category chips + headings (2026-11-16) */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.chip{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--sky-l,#e8f4fb);color:var(--navy,#142c4b);font-weight:700;text-decoration:none}
.chip:hover,.chip:focus-visible{background:var(--sun,#ffd166)}
h3.faq-cat{margin:22px 0 4px;font-size:1.05rem}
/* site search box in the top line */
.topline-search{display:inline-flex;align-items:center;gap:4px}
.topline-search input{width:150px;padding:3px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:inherit;font:inherit;font-size:.85rem}
.topline-search input::placeholder{color:inherit;opacity:.8}
.topline-search button{background:none;border:0;color:inherit;cursor:pointer;padding:0 4px;font:inherit}
@media (max-width:700px){.topline-search input{width:110px}}
/* news cards with a photo */
.news-card img.news-photo{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px 12px 0 0}

/* Board Members page: the full bio is shown */
.board-copy>p+p{margin-top:.7em}
.board-copy>p{font-size:.9rem;line-height:1.6}

/* Home page --------------------------------------------------------------- */
/* tighter rhythm between blocks */
.home .section{padding:46px 0}
.home .section.tight{padding:20px 0}
.home .section-head{margin-bottom:22px}
.home .stats{padding:22px 0 16px}
.home .section-head h2,.home .section h2{margin-bottom:.35em}
.home .photo-row{margin-top:16px}
@media (max-width:600px){.home .section{padding:34px 0}}

/* 35+ years: gold olive (laurel) wreath badge */
.laurel-badge{position:absolute;z-index:1;right:max(24px,calc((100% - var(--max))/2));bottom:34px;width:230px;height:230px;
  display:grid;place-items:center;text-align:center;background:url("../assets/laurel-wreath.svg") center/100% no-repeat,radial-gradient(circle,rgba(10,26,44,.82) 52%,rgba(10,26,44,0) 70%);
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.45))}
.laurel-badge>div{display:grid;justify-items:center;line-height:1.1;margin-top:-6px}
.laurel-badge small{font:800 .62rem var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--gold2);opacity:.9}
.laurel-badge b{font:800 4.1rem/1 var(--serif);color:var(--gold2);letter-spacing:-.02em;
  background:linear-gradient(180deg,#fbe7ad 0%,#e7b858 55%,#b07a22 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
.laurel-badge span{font:800 .78rem/1.25 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#fff}
.laurel-inline{display:none}
@media (max-width:920px){
  .laurel-inline{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;padding:6px 16px 6px 8px;border-radius:999px;border:1px solid rgba(240,198,110,.6);
    background:rgba(10,26,44,.6) url("../assets/laurel-wreath.svg") 6px center/40px no-repeat;padding-left:54px;color:#fff;font:800 .72rem var(--sans);letter-spacing:.14em;text-transform:uppercase}
  .laurel-inline b{font:800 1.5rem/1 var(--serif);color:var(--gold2);letter-spacing:0}
}
/* the "35+ Years of service" figure in the stats band gets a small wreath too */
.stat-laurel b{background:url("../assets/laurel-wreath.svg") center 46%/auto 150% no-repeat;padding:0 26px}

/* Contact page ------------------------------------------------------------- */
.contact-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:28px;align-items:start}
.contact-aside{display:grid;gap:20px}
.contact-form-panel h2{margin-bottom:.25em}
.contact-form fieldset{margin-bottom:18px}
.contact-form legend{font-size:1.05rem}
.contact-form textarea{min-height:150px}
.field-foot{display:flex;justify-content:space-between;gap:12px;margin-top:4px;font-size:.8rem}
.field-foot .over{color:#b4232f;font-weight:700}
.human-check{margin:6px 0 14px;padding:14px 16px;border:1px dashed var(--gold);border-radius:14px;background:var(--gold-l,#fbf1dc)}
.human-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:700;color:var(--navy)}
.human-row .human-q{font-size:1.6rem;line-height:1;color:var(--gold-d,#986a1c)}
.human-row input{width:110px}
.contact-sent{text-align:center;padding:26px 10px}
.contact-sent-icon{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--navy,#142c4b);color:var(--gold2,#f0c66e);font:700 2.4rem/1 Georgia,serif;margin-bottom:10px}
.contact-sent .actions{justify-content:center}
@media (max-width:920px){.contact-layout{grid-template-columns:1fr}}
@media (max-width:600px){.contact-form .fields{grid-template-columns:1fr}}

/* ---------- Gallery: site-coloured photo frames, album cards, downloads ---------- */
.photo-frame{display:block;position:relative;background:#fff;padding:10px;border-radius:18px;border:4px solid var(--fc,var(--sun));box-shadow:0 8px 22px rgba(43,45,102,.12),inset 0 0 0 1px rgba(43,45,102,.06);transition:transform .18s ease,box-shadow .18s ease}
.photo-frame img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:10px;display:block}
.photo-frame::after{content:"♞";position:absolute;right:-10px;top:-12px;width:32px;height:32px;border-radius:50%;background:var(--fc,var(--sun));color:#fff;font-size:1.05rem;line-height:32px;text-align:center;box-shadow:0 3px 8px rgba(0,0,0,.15)}
.frame-sun{--fc:var(--sun)}.frame-sky{--fc:var(--sky)}.frame-leaf{--fc:var(--leaf)}.frame-grape{--fc:var(--grape)}.frame-rose{--fc:var(--rose)}.frame-teal{--fc:var(--teal)}
a.photo-frame:hover,a.album-card:hover .photo-frame,a.photo-frame:focus-visible{transform:translateY(-3px) rotate(-.4deg);box-shadow:0 14px 30px rgba(43,45,102,.2)}
.season-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.season-jump .pill{text-decoration:none;font-weight:800}
.season-head{display:flex;align-items:center;gap:10px;margin:34px 0 16px;padding-bottom:8px;border-bottom:3px dashed var(--line)}
.season-head span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--navy);color:var(--sun);font-size:1.3rem}
.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:26px}
.album-card{text-decoration:none;color:inherit}
.album-card h3{margin:14px 4px 2px;font-size:1.15rem}.album-card .small{margin:0 4px}
.album-empty{display:grid;place-items:center;aspect-ratio:5/4;font-size:3rem;color:var(--navy);background:var(--sun-l);border-radius:10px}
.gallery-grid.framed{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:26px}
.gallery-grid.framed img{aspect-ratio:5/4;border-radius:10px}
.photo-tile{margin:0}
.photo-tile figcaption{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin:10px 4px 0;font-size:.88rem;color:var(--muted)}
.photo-tile .dl{flex:none;font-weight:800;font-size:.8rem;color:var(--navy);background:var(--sun-l);border-radius:999px;padding:3px 10px;text-decoration:none}
.photo-tile .dl:hover{background:var(--sun)}
dialog.lightbox .lb-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:10px}
dialog.lightbox .cap{margin:0;color:var(--ink)}
dialog.lightbox .lb-dl{white-space:nowrap}

/* ---------- News: cards, archive, story page ---------- */
.news-card img.news-photo{aspect-ratio:5/4}
.news-card h3 a.story-link{color:inherit;text-decoration:none}.news-card h3 a.story-link:hover{text-decoration:underline}
.archive-year{margin:26px 0 10px;color:var(--rose)}
.archive-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.mini-story{display:flex;gap:14px;align-items:center;background:#fff;border-radius:16px;padding:10px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);border-left:5px solid var(--sun)}
.mini-story:hover{border-left-color:var(--sky)}
.mini-story img{width:96px;height:77px;object-fit:cover;border-radius:10px;flex:none}
.mini-story small{display:block;color:var(--muted);font-weight:700}.mini-story b{display:block;line-height:1.3;color:var(--navy)}
.article-title{font-size:clamp(2rem,4.2vw,3.2rem);max-width:900px}
.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.article-photo{margin:0 0 26px}.article-photo img{aspect-ratio:5/4}
.article-body{font-size:1.08rem}
.article-nav{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;border-top:2px dashed var(--line);padding-top:16px;margin:26px 0 16px}
.article-more{display:flex;flex-direction:column;gap:12px;position:sticky;top:120px}
@media (max-width:900px){.article-wrap{grid-template-columns:1fr}.article-more{position:static}}

/* ---------- Nov 2026 fixes ---------- */
/* 35+ wreath: smaller badge in the top-right corner on tablets/phones (it used to stay 230px and cover the text) */
@media (max-width:920px){
  .laurel-inline{display:none}
  .laurel-badge{width:120px;height:120px;top:14px;bottom:auto;right:14px;filter:drop-shadow(0 3px 8px rgba(0,0,0,.45))}
  .laurel-badge>div{margin-top:-3px}
  .laurel-badge small{font-size:.42rem;letter-spacing:.14em}
  .laurel-badge b{font-size:2.05rem}
  .laurel-badge span{font-size:.45rem;letter-spacing:.1em}
  .hero-content{padding-top:150px}
}
@media (max-width:600px){
  .laurel-badge{width:104px;height:104px;top:12px;right:12px}
  .laurel-badge b{font-size:1.75rem}
  .laurel-badge small{font-size:.38rem}.laurel-badge span{font-size:.4rem}
  .hero-content{padding-top:128px}
}
/* "Our Tournaments in Action": the panorama runs full width, uncropped, with the text beneath */
.photo-feature.wide{grid-template-columns:1fr}
.photo-feature.wide img{height:auto;aspect-ratio:auto}
.photo-feature.wide>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px;padding:22px 30px}
.photo-feature.wide>div h3{margin:0}.photo-feature.wide>div p{flex:1 1 320px;margin:0}
@media (max-width:600px){.photo-feature.wide img{height:auto}.photo-feature.wide>div{padding:18px 20px}}
/* News photos: never crop people. The width/height attributes were being used as a fixed CSS height,
   so on narrow columns the photo was squeezed sideways and trimmed. Keep the whole picture. */
.photo-frame img,.article-photo img{height:auto}
.article-photo img{object-fit:contain;background:#f4f1ea}
.news-card img,.news-card img.news-photo{height:auto;aspect-ratio:5/4;object-fit:contain;background:#f4f1ea}
.mini-story img{object-fit:contain;background:#f4f1ea}
.prose figure{margin:24px 0}.prose figure img{display:block;margin:0 auto;max-height:720px;width:auto;max-width:100%}
.prose figcaption{margin-top:8px;font-size:.9rem;color:var(--muted);text-align:center}

/* ---------- Page photos (Volunteer & Parents pages; photos come from "page-…" albums in Manage › Photo Gallery) ---------- */
.page-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:26px;margin:0}
.page-photos.count-1{grid-template-columns:minmax(0,760px);justify-content:center}
.page-photos .photo-tile{margin:0}
.page-photos .photo-frame img{aspect-ratio:4/3;object-position:center 35%}
.page-photos figcaption{margin:10px 6px 0;font-size:.9rem;font-weight:700;color:var(--muted);text-align:center}
.volunteer-invite .page-photos{grid-template-columns:1fr;gap:22px}
.volunteer-invite .page-photos .photo-tile:nth-child(odd) .photo-frame{transform:rotate(-.6deg)}
.volunteer-invite .page-photos .photo-tile:nth-child(even) .photo-frame{transform:rotate(.6deg)}
.tick-list{list-style:none;padding:0;margin:14px 0 0}
.tick-list li{position:relative;padding:4px 0 4px 30px;font-weight:600}
.tick-list li::before{content:"♞";position:absolute;left:0;top:3px;color:var(--gold-d,#986a1c)}
.radio-cards label{display:inline-flex;align-items:center;gap:8px}
.radio-cards label:has(input:checked){border-color:var(--navy);background:var(--sky-l)}
.radio-cards small{font-weight:600;color:var(--muted)}
.parent-invite .btn{margin-top:12px}
.parent-invite p{margin:0 0 10px}
[data-volunteer-form] [hidden],.parent-invite [hidden]{display:none!important}

/* ---------- Local businesses page ---------- */
.biz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.biz-grid .card h3{font-size:1.05rem;margin-bottom:4px}.biz-grid .card p{margin:0;font-size:.92rem;color:var(--muted)}
.steps-block ol,.steps-list{counter-reset:step;list-style:none;padding:0;margin:18px 0 0}
.steps-block li,.steps-list li{counter-increment:step;position:relative;padding:10px 0 10px 50px;border-bottom:1px dashed var(--line)}
.steps-block li::before,.steps-list li::before{content:counter(step);position:absolute;left:0;top:8px;width:34px;height:34px;border-radius:50%;background:var(--navy);color:var(--gold2,#f0c66e);font-weight:800;display:grid;place-items:center}
.card-navy ul{padding-left:18px}.card-navy li{margin:6px 0}
@media (max-width:600px){.biz-grid{grid-template-columns:1fr}}

/* ---------- Home: latest news strip above the hero (4 newest stories from Manage › News & Announcements) ---------- */
.news-strip{background:var(--soft,#f3f6f9);border-bottom:1px solid var(--line);padding:12px 0}
.news-strip-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.82rem;text-transform:uppercase;letter-spacing:.12em}
.news-strip-head b{color:var(--navy)}.news-strip-head a{font-weight:800;color:var(--gold-d,#986a1c);text-decoration:none}
.news-strip-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.news-strip-item{display:flex;gap:10px;align-items:center;background:#fff;border-radius:12px;padding:7px;text-decoration:none;color:var(--ink);box-shadow:0 2px 8px rgba(20,44,75,.08);border-left:4px solid var(--sun);transition:transform .15s}
.news-strip-item:hover{transform:translateY(-2px);border-left-color:var(--sky)}
.news-strip-item img,.news-strip-ph{width:72px;height:56px;border-radius:8px;object-fit:cover;flex:none;background:#f4f1ea}
.news-strip-ph{display:grid;place-items:center;font-size:1.6rem;color:var(--navy)}
.news-strip-item small{display:block;font-size:.72rem;font-weight:700;color:var(--muted)}
.news-strip-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.86rem;line-height:1.25;color:var(--navy)}
@media (max-width:1000px){.news-strip-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.news-strip-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.news-strip-item{flex:0 0 78%;scroll-snap-align:start}}

/* ===== Sponsors & partners cards (Shared/_Sponsors): logo or name, short description, "Visit website" ===== */
ul.sponsors{list-style:none;margin:0;padding:0}
ul.sponsors>li{display:flex;min-width:0}
ul.sponsors>li>.sponsor{flex:1;justify-content:flex-start}
.sponsor .sp-name{min-height:84px;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:1.2rem;color:var(--navy);line-height:1.2}
.sponsor .sp-desc{font-size:.9rem;line-height:1.4;color:var(--ink-2,#4a4e6a);overflow-wrap:anywhere}
.sponsor .sp-visit{margin-top:auto;padding-top:6px;font-size:.82rem;font-weight:700;color:var(--gold-d);opacity:.85}
a.sponsor:hover .sp-visit,a.sponsor:focus-visible .sp-visit{opacity:1;text-decoration:underline}
@media (max-width:640px){.sponsor .sp-name{min-height:56px;font-size:1rem}.sponsor .sp-desc{font-size:.78rem}.sponsor .sp-visit{font-size:.74rem}}
