/*
Theme Name: UP Result Register
Theme URI: https://upresults.co.in/
Author: upresults.co.in
Author URI: https://upresults.co.in/
Description: A result portal for UP Board (UPMSP) High School and Intermediate students, laid out after the official UPMSP homepage — white name-plate masthead, maroon menu bar, notice board table and ruled result panels. Independent educational portal; not the official UPMSP website.
Version: 1.2.10
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: up-result-register
Tags: education, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ---------- Tokens — the official UPMSP palette: maroon + orange on cream ---------- */
:root{
  --paper:#F5EEE8;
  --paper-raised:#FFFFFF;
  --cream:#F7F3EE;
  --navy:#78170C;        /* official maroon — primary dark colour */
  --navy-deep:#0E1B4E;   /* restored to the v1.1.2 value in Fix Round 1 — the search panel hangs off this token */
  --saffron:#EC4E03;
  --saffron-deep:#BC3F00;
  --saffron-soft:#FFF1E4;
  --madder:#B3271E;
  --marigold:#D98E04;
  --amber:#FFB547;
  --ink:#191C26;
  --ink-soft:#454B5E;
  --green:#14663F;
  --rule:#D8CCBC;
  --rule-strong:#78170C;
  --font-display:"Rozha One",serif;
  --font-text:"Hind",sans-serif;
  --measure:72ch;
  --wrap:70rem;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-text);
  font-size:1rem;
  line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration-color:var(--saffron);text-underline-offset:.18em}
a:hover{color:var(--saffron-deep)}
:focus-visible{outline:3px solid var(--marigold);outline-offset:2px;border-radius:2px}
::selection{background:var(--navy);color:#fff}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:1.25rem}
.narrow{max-width:var(--measure)}

/* ---------- Accessibility helpers ---------- */
.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:.6rem 1rem;z-index:100;font-weight:600;
}
.skip-link:focus{left:.5rem;top:.5rem;color:#fff}
.screen-reader-text{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;
}

/* ---------- Masthead — one wide white name plate, as on upmsp.edu.in ---------- */
.masthead{background:#fff;border-bottom:3px solid var(--navy)}
.masthead__inner{
  position:relative;display:flex;align-items:center;justify-content:center;
  padding-top:1.1rem;padding-bottom:1.1rem;
}
.brand{
  display:flex;align-items:center;gap:1rem;color:var(--navy);
  text-decoration:none;text-align:center;
}
.brand:hover{color:var(--navy)}
.brand__seal{
  flex:none;width:4rem;height:4rem;border:2.5px solid var(--saffron);
  border-radius:50%;display:grid;place-items:center;
  font-family:var(--font-display);font-size:1.55rem;color:var(--navy);line-height:1;
  box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 5px var(--navy);
}
.brand__text{display:flex;flex-direction:column;align-items:center}
.brand__name{
  font-family:var(--font-display);font-weight:400;letter-spacing:.01em;
  font-size:clamp(1.9rem,4.6vw,2.7rem);line-height:1.1;color:var(--navy);
}
.brand__hindi{
  font-family:var(--font-display);color:var(--ink);
  font-size:clamp(1rem,2.4vw,1.3rem);line-height:1.35;margin-top:.15rem;
}
.brand__sub{font-size:.92rem;color:var(--ink-soft);line-height:1.3;margin-top:.1rem}

/* maroon menu bar */
.nav-bar{background:var(--navy);box-shadow:0 2px 5px rgba(0,0,0,.18)}
.main-nav{display:flex;align-items:center;gap:.4rem;max-width:var(--wrap);margin-inline:auto;padding-inline:1.25rem}
.main-nav ul{display:flex;gap:0;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.main-nav a{
  color:#fff;text-decoration:none;font-weight:600;font-size:1rem;
  padding:.62rem .85rem;display:block;border-left:1px solid rgba(255,255,255,.25);
}
.main-nav li:last-child a{border-right:1px solid rgba(255,255,255,.25)}
.main-nav a:hover{background:var(--saffron);color:#fff}
.main-nav .current-menu-item>a{background:#fff;color:var(--navy)}
.nav-toggle,.search-toggle{
  background:transparent;border:1.5px solid rgba(120,23,12,.55);color:var(--navy);
  border-radius:.35rem;padding:.42rem .7rem;font:inherit;font-size:.92rem;cursor:pointer;font-weight:600;
}
.search-toggle{position:absolute;right:1.25rem;top:1.1rem}
.nav-toggle{border-color:rgba(255,255,255,.7);color:#fff;margin:.35rem 0}
.nav-toggle:hover,.search-toggle:hover{background:rgba(0,0,0,.08)}
.search-toggle:hover{background:var(--saffron-soft)}
.nav-toggle{display:none}
.search-panel{background:var(--navy-deep);padding:.9rem 0 1.1rem}
.search-form{display:flex;gap:.5rem;max-width:34rem}
.search-form input[type="search"]{
  flex:1;font:inherit;padding:.55rem .8rem;border:2px solid #fff;border-radius:.35rem;
  background:#fff;color:var(--ink);min-width:0;
}
.search-form button{
  font:inherit;font-weight:600;background:var(--marigold);color:#221600;
  border:0;border-radius:.35rem;padding:.55rem 1.1rem;cursor:pointer;
}
.search-form button:hover{background:#C07E03}

/* ---------- Navigation dropdowns (2026-11-28 nav fix) ----------
   WordPress prints the full menu tree, parents and children
   together, and header.php sets no depth limit. Until now no rule
   hid the child lists, so every sub-menu rendered open inside the
   maroon bar on page load — and on mobile the generic list rule
   hid them with no way to ever open them. Child lists are now
   hidden by default at every width: on desktop they open as
   dropdown panels on hover or keyboard focus; on mobile they
   open indented on tap of the toggle button main.js adds. */
.main-nav .sub-menu{
  display:none;list-style:none;margin:0;padding:0;
}
.sub-menu-toggle{display:none}
@media (min-width:46.01rem){
  .main-nav>ul>li{position:relative}
  .main-nav .sub-menu{
    position:absolute;top:100%;left:0;min-width:12rem;
    flex-direction:column;background:var(--navy);z-index:60;
    padding:.4rem 0;box-shadow:0 10px 22px rgba(0,0,0,.28);
  }
  .main-nav .sub-menu .sub-menu{top:0;left:100%}
  .main-nav .sub-menu li{position:relative}
  .main-nav li:hover>.sub-menu,
  .main-nav li:focus-within>.sub-menu{display:flex}
  .main-nav .sub-menu a{border-left:0;border-right:0;white-space:nowrap}
  /* Keep the last dropdowns inside the viewport. */
  .main-nav>ul>li:nth-last-child(-n+2)>.sub-menu{left:auto;right:0}
}
@media (max-width:46rem){
  .main-nav .menu-item-has-children{position:relative}
  .main-nav .menu-item-has-children>a{padding-right:2.75rem}
  .sub-menu-toggle{
    display:block;position:absolute;top:0;right:0;
    width:2.75rem;height:2.9rem;padding:0;
    background:transparent;border:0;color:#fff;
    font:inherit;font-size:1rem;line-height:1;cursor:pointer;
  }
  .main-nav .sub-menu{
    position:static;padding-left:1.1rem;
    border-top:1px solid rgba(255,255,255,.2);
  }
  .main-nav li.is-sub-open>.sub-menu{display:flex;flex-direction:column}
}

/* tricolour rule */
.tricolour{height:5px;background:linear-gradient(to bottom,var(--saffron) 0 33%,#FFFFFF 33% 66%,var(--green) 66% 100%)}

/* independence strip (legacy placement, kept styled) */
.independence{
  background:#FFF7E0;border-bottom:1.5px solid var(--marigold);
  color:#5C4300;font-size:.9rem;text-align:center;padding:.4rem 1.25rem;
}

/* ---------- Notice ticker ---------- */
.ticker{
  display:flex;align-items:stretch;background:#fff;border-bottom:1px solid var(--rule);
  max-width:var(--wrap);margin-inline:auto;overflow:hidden;
}
.ticker__label{
  flex:none;background:var(--madder);color:#fff;font-weight:700;font-size:.9rem;
  display:flex;align-items:center;padding:.35rem .8rem;gap:.4rem;
}
.ticker__viewport{overflow:hidden;flex:1;display:flex;align-items:center}
.ticker__track{
  display:inline-block;white-space:nowrap;padding-left:1rem;
  font-size:.95rem;color:var(--ink);
  animation:ticker-scroll 30s linear infinite;
}
.ticker:hover .ticker__track{animation-play-state:paused}
@keyframes ticker-scroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* ---------- Banner — the hero slider's place ---------- */
.banner{
  background:linear-gradient(120deg,#571008 0%,var(--navy) 45%,#A52A12 78%,var(--saffron-deep) 100%); /* first stop pinned literally (maroon-deep) in Fix Round 1 — it previously read var(--navy-deep) */
  color:#fff;border-bottom:4px solid var(--amber);
  padding:2.4rem 0 2.2rem;margin-bottom:1.2rem;
}
.banner .wrap{position:relative} /* containing block for the stamp */
.banner h1{
  font-family:var(--font-display);font-weight:400;color:#fff;
  font-size:clamp(2.1rem,5.4vw,3.3rem);line-height:1.12;margin:0 0 .3rem;
}
.banner__hindi{
  font-family:var(--font-display);color:var(--amber);
  font-size:clamp(1.2rem,2.8vw,1.65rem);line-height:1.35;margin:0 0 .9rem;
}
.banner__lede{max-width:min(var(--measure),calc(100% - 10.5rem));color:#F7E8DC;font-size:1.08rem;margin:0} /* right-hand clearance so the text can never run under the stamp */

/* ---------- Facts strip — the officer strip's place ---------- */
.facts-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;
  margin:0 0 .4rem;padding:0;
}
.facts-strip>div{
  background:var(--paper-raised);border:1px solid var(--rule);
  border-top:4px solid var(--saffron);
  padding:.8rem 1rem;text-align:center;
  box-shadow:0 1px 3px rgba(0,0,0,.07);
}
.facts-strip dt{font-size:.85rem;font-weight:600;color:var(--ink-soft);margin:0}
.facts-strip dd{
  margin:.15rem 0 0;font-weight:700;color:var(--navy);
  font-size:clamp(1.02rem,2.2vw,1.3rem);line-height:1.3;
}

/* ---------- Hero + result panel ---------- */
.hero{padding:1.2rem 0 .4rem}
.hero h1{
  font-family:var(--font-display);font-weight:400;color:var(--navy);
  font-size:clamp(2rem,5vw,3rem);line-height:1.12;margin:0 0 .3rem;
}
.hero__hindi{
  font-family:var(--font-display);color:var(--ink);
  font-size:clamp(1.25rem,2.8vw,1.7rem);line-height:1.35;margin:0 0 1rem;
}
.hero__lede{max-width:var(--measure);color:var(--ink-soft);font-size:1.08rem;margin:0 0 1.6rem}

.register{
  position:relative;background:var(--paper-raised);
  border:1.5px solid var(--navy);
  box-shadow:4px 4px 0 rgba(120,23,12,.14);
  padding:0 1.4rem 1.1rem;margin-bottom:1rem;overflow:hidden;
}
.register__title{
  font-weight:700;color:#fff;font-size:1.05rem;margin:0 -1.4rem .2rem;
  background:var(--navy);
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:.65rem 1.4rem;
  min-height:3.2rem;align-items:center;
}
.register__title .session{color:#F3C9A8;font-weight:500;font-size:.92rem}
.register table{width:100%;border-collapse:collapse;margin-top:.7rem}
.register th,.register td{
  text-align:left;padding:.85rem .6rem;vertical-align:top;
  border-top:1px solid var(--rule);
}
.register thead th{
  border-top:0;border-bottom:2.5px solid var(--saffron);
  color:var(--navy);font-size:.92rem;font-weight:600;
}
.register .class-name{font-weight:700;font-size:1.12rem;color:var(--ink)}
.register .class-hindi{font-family:var(--font-display);font-weight:400;font-size:1rem;color:var(--ink-soft)}
.register .status{font-weight:700}
.register .status--pending{color:var(--madder)}
.register .status--live{color:var(--green)}
.register .check-link{font-weight:600;white-space:nowrap}
.register__note{font-size:.9rem;color:var(--ink-soft);margin:.8rem 0 0}

/* the stamp — the one orchestrated moment. It lives in the banner band,
   vertically centred at the right, clear of the banner text (whose width
   is capped) and of everything below it. It must never sit over the
   result register table — the v1.2.0 placement inside .register did. */
.stamp{
  position:absolute;top:50%;right:1.25rem;
  width:7.6rem;height:7.6rem;border-radius:50%;
  border:3px solid var(--madder);color:var(--madder);
  display:grid;place-items:center;text-align:center;
  transform:translateY(-50%) rotate(-9deg);
  background:rgba(255,255,255,.72);
  box-shadow:inset 0 0 0 2.5px #fff,inset 0 0 0 4.5px var(--madder);
  padding:.9rem;pointer-events:none;z-index:2;
}
.stamp__text{font-weight:700;font-size:.86rem;line-height:1.25;text-transform:none}
.stamp__sub{font-size:.68rem;font-weight:500;display:block;margin-top:.15rem}
.stamp--live{border-color:var(--green);color:var(--green);box-shadow:inset 0 0 0 2.5px #fff,inset 0 0 0 4.5px var(--green)}
@keyframes stamp-press{
  0%{transform:translateY(-50%) rotate(-9deg) scale(1.7);opacity:0}
  55%{transform:translateY(-50%) rotate(-9deg) scale(.94);opacity:1}
  75%{transform:translateY(-50%) rotate(-9deg) scale(1.03)}
  100%{transform:translateY(-50%) rotate(-9deg) scale(1);opacity:1}
}
.stamp{animation:stamp-press .45s ease-out .25s both}

/* ---------- Sections as portal panels ---------- */
.section{
  background:var(--paper-raised);border:1px solid var(--rule);
  box-shadow:0 1px 3px rgba(0,0,0,.07);
  max-width:calc(var(--wrap) + 2.5rem);margin:1.1rem auto;padding:0 0 1.7rem;
}
.section h2{
  font-family:var(--font-display);font-weight:400;color:#fff;background:var(--navy);
  font-size:clamp(1.25rem,3vw,1.55rem);line-height:1.25;margin:0 0 1rem;
  padding:.6rem 1.25rem;border-bottom:3px solid var(--saffron);
}
.section--notices h2{background:var(--saffron-deep);border-bottom-color:var(--navy)}
.section--noticeboard h2{border-bottom:3px solid var(--amber)}
.section h2 .hindi{font-size:.8em;color:#F3C9A8}
.section h3{color:var(--navy);font-size:1.12rem;margin:1.4rem 0 .4rem}
.section p{max-width:var(--measure)}
.section p,.section li{color:var(--ink)}
.panel-more{margin:.9rem 0 0;font-weight:600}

/* notice board list */
.notices{list-style:none;margin:.4rem 0 0;padding:0;max-width:none}
.notices li{
  display:flex;gap:1rem;padding:.65rem 0;border-top:1px dotted var(--rule);align-items:baseline;
}
.notices li:first-child{border-top:0}
.notices time{
  flex:none;min-width:8.6rem;color:var(--saffron-deep);font-weight:700;font-size:.9rem;
  background:var(--saffron-soft);border:1px solid #F0C9A8;border-radius:.25rem;
  padding:.08rem .5rem;text-align:center;
}
.notices li>span::before,.notices li>a::before{content:"» ";color:var(--saffron);font-weight:700}
.notices a{font-weight:500}
.new-tag{
  display:inline-block;background:var(--madder);color:#fff;font-size:.68rem;font-weight:700;
  border-radius:.2rem;padding:.05rem .4rem;margin-left:.5rem;vertical-align:.12em;letter-spacing:.04em;
  animation:new-blink 1.1s steps(2,start) infinite;
}
@keyframes new-blink{50%{opacity:.15}}

/* ---------- Panel boxes — the board's three-box panels ---------- */
.panel-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  gap:1rem;margin-top:1.1rem;
}
.box,.action-box{
  background:#fff;border:1px solid var(--rule);border-top:4px solid var(--saffron);
  padding:0 1.1rem 1.15rem;display:flex;flex-direction:column;
}
.box h3,.action-box h3{color:var(--navy);font-size:1.08rem;margin:.85rem 0 .35rem}
.box h3 .hindi,.action-box h3 .hindi{
  font-family:var(--font-display);font-weight:400;font-size:.85em;color:var(--ink-soft);
}
.box p,.action-box p{margin:0 0 .9rem;font-size:.96rem;flex:1}
.box__btn{
  display:inline-block;align-self:flex-start;background:var(--saffron);color:#fff;
  font-weight:700;text-decoration:none;border-radius:.3rem;padding:.52rem 1.05rem;
}
.box__btn:hover{background:var(--saffron-deep);color:#fff}

/* ---------- Study-material link tiles ---------- */
.tiles{
  list-style:none;margin:1.1rem 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;max-width:none;
}
.tiles li{margin:0}
.tiles a{
  display:block;background:var(--cream);border:1px solid var(--rule);
  border-left:4px solid var(--navy);padding:.75rem 1rem;
  font-weight:600;color:var(--navy);text-decoration:none;
}
.tiles a::before{content:"» ";color:var(--saffron);font-weight:700}
.tiles a:hover{background:var(--saffron-soft);color:var(--saffron-deep)}

/* ---------- The four action boxes under the tiles ---------- */
.action-row{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:1rem;margin-top:1.1rem;
}
.action-box{border-top-color:var(--navy)}

/* ---------- Notice board table — the centrepiece ---------- */
.notice-table{width:100%;border-collapse:collapse;margin:1rem 0;background:var(--paper-raised)}
.notice-table th,.notice-table td{border:1px solid var(--rule);padding:.6rem .75rem;text-align:left;vertical-align:top}
.notice-table thead th{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:600}
.notice-table tbody tr:nth-child(even){background:var(--cream)}
.notice-table .notice-date{white-space:nowrap;font-weight:600;color:var(--saffron-deep)}
.notice-table td a{font-weight:700;white-space:nowrap}

/* steps — a real sequence, so numbering is honest */
.steps{list-style:none;counter-reset:step;margin:1rem 0 0;padding:0;max-width:var(--measure)}
.steps li{
  counter-increment:step;display:flex;gap:1rem;padding:.75rem 0;
  border-top:1px dotted var(--rule);align-items:baseline;
}
.steps li:first-child{border-top:0}
.steps li::before{
  content:counter(step);flex:none;width:2rem;height:2rem;border-radius:50%;
  border:2px solid var(--saffron-deep);color:var(--saffron-deep);font-weight:700;
  display:grid;place-items:center;font-size:.95rem;transform:translateY(.35rem);
}
.steps strong{color:var(--navy)}

/* official sites — ruled list */
.official{list-style:none;margin:1rem 0 0;padding:0;max-width:var(--measure)}
.official li{padding:.8rem 0;border-top:1px dotted var(--rule)}
.official li:first-child{border-top:0}
.official .site-name{font-weight:700;color:var(--navy);font-size:1.05rem}
.official .site-name::before{content:"» ";color:var(--saffron);font-weight:700}
.official .site-url{font-weight:600}
.official p{margin:.15rem 0 0;color:var(--ink-soft);font-size:.95rem}

/* data tables */
.data-table{width:100%;border-collapse:collapse;margin:1rem 0;background:var(--paper-raised)}
.data-table caption{text-align:left;font-weight:600;color:var(--navy);padding-bottom:.5rem}
.data-table th,.data-table td{border:1px solid var(--rule);padding:.55rem .7rem;text-align:left}
.data-table thead th{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:600}
.data-table tbody th{font-weight:600;color:var(--navy)}
.data-table tbody tr:nth-child(even){background:#F7F6F2}
.table-scroll{overflow-x:auto}

/* safety callout */
.safety{
  border-left:4px solid var(--madder);background:#FDF0EF;
  padding:.9rem 1.1rem;max-width:var(--measure);margin:1.2rem 0;
}
.safety p{margin:0}
.safety strong{color:var(--madder)}

/* FAQ — native details, works without JS */
.faq{max-width:var(--measure);margin-top:.6rem}
.faq details{border-top:1px dotted var(--rule);padding:.35rem 0}
.faq details:last-child{border-bottom:1px dotted var(--rule)}
.faq summary{
  cursor:pointer;font-weight:600;color:var(--navy);padding:.55rem 0;list-style:none;
  display:flex;justify-content:space-between;gap:1rem;align-items:baseline;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-weight:700;color:var(--saffron-deep);font-size:1.2rem;line-height:1}
.faq details[open ] summary::after{content:"–"}
.faq details p{margin:.2rem 0 .8rem;color:var(--ink)}

/* ---------- Article / generic content ---------- */
.page-head{padding:2.2rem 0 0}
.page-head h1,.entry-title{
  font-family:var(--font-display);font-weight:400;color:var(--navy);
  font-size:clamp(1.8rem,4.4vw,2.5rem);line-height:1.18;margin:0 0 .5rem;
}
.page-panel{
  background:var(--paper-raised);border:1px solid var(--rule);
  box-shadow:0 1px 3px rgba(0,0,0,.07);
  margin:1.4rem 0 2.2rem;padding:.2rem 1.6rem .6rem;
}
.page-panel .page-head{padding-top:1.4rem}
.page-panel .entry-title{border-bottom:3px solid var(--saffron);padding-bottom:.55rem}
.entry-meta{color:var(--ink-soft);font-size:.92rem;margin-bottom:1.2rem}
.entry-content{max-width:var(--measure);padding-bottom:2.4rem}
.page-panel .entry-content{padding-bottom:1.2rem}
.entry-content h2{font-family:var(--font-display);font-weight:400;color:var(--navy);font-size:1.55rem;margin:1.8rem 0 .5rem}
.entry-content h3{color:var(--navy);margin:1.4rem 0 .4rem}
.entry-content table{width:100%;border-collapse:collapse;margin:1rem 0}
.entry-content th,.entry-content td{border:1px solid var(--rule);padding:.5rem .65rem;text-align:left}
.entry-content thead th{background:var(--navy);color:#fff}
blockquote{
  margin:1.2rem 0;padding:.4rem 0 .4rem 1.1rem;border-left:4px solid var(--saffron);
  color:var(--ink-soft);font-size:1.05rem;
}
.post-list{list-style:none;margin:0;padding:0}
.post-list li{padding:1.1rem 0;border-top:1px dotted var(--rule)}
.post-list li:first-child{border-top:0}
.post-list h3{margin:0 0 .25rem;font-size:1.2rem}
.post-list h3 a{text-decoration:none}
.post-list h3 a:hover{text-decoration:underline}
.post-list .entry-meta{margin-bottom:.3rem}
.pagination{padding:1.4rem 0 2.4rem;display:flex;gap:1rem;font-weight:600}
.no-results{padding:2rem 0 3rem;max-width:var(--measure)}

/* ---------- Footer (unchanged from v1.1.2 — pinned navy) ---------- */
.site-footer{background:#15266B;color:#DDE4FA;margin-top:1.6rem;border-top:5px solid var(--saffron)}
.site-footer a{color:#fff}
.footer-cols{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
  gap:1.8rem;padding:2.2rem 0 1.4rem;
}
.site-footer h2{font-size:1.02rem;color:#fff;margin:0 0 .6rem;font-weight:700}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:.35rem 0}
.site-footer p{font-size:.94rem;margin:.3rem 0}
.footer-links{padding:0 0 1.1rem;font-size:.94rem}
.footer-links a{font-weight:600}
.footer-disclaimer{
  border-top:1px solid rgba(255,255,255,.25);padding:1.1rem 0 1.4rem;
  font-size:.88rem;color:#B9C4EA;
}
.footer-disclaimer strong{color:#fff}

/* ---------- Responsive ---------- */
@media (max-width:46rem){
  .nav-toggle{display:block}
  .main-nav{position:relative}
  .main-nav ul{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--navy);flex-direction:column;padding:.4rem 0 .7rem;gap:0;z-index:50;
    box-shadow:0 6px 10px rgba(0,0,0,.25);
  }
  .main-nav ul.is-open{display:flex}
  .main-nav a{border-left:0;border-bottom:1px solid rgba(255,255,255,.2)}
  .brand__seal{width:3rem;height:3rem;font-size:1.15rem}
  .brand{gap:.6rem}
  .search-toggle{position:static;margin-top:.6rem}
  .masthead__inner{flex-direction:column;padding-bottom:.9rem}
  .facts-strip{grid-template-columns:repeat(2,1fr)}
  .tiles{grid-template-columns:repeat(2,1fr)}
  .action-row{grid-template-columns:repeat(2,1fr)}
  .stamp{position:static;width:6.2rem;height:6.2rem;margin:.9rem 0 0 auto;transform:rotate(-9deg);animation:none} /* in-flow below the banner text on phones — cannot overlap anything */
  .banner__lede{max-width:var(--measure)}
  .register__title{min-height:2.6rem;margin:0 -.9rem .2rem;padding-left:.9rem;padding-right:.9rem}
  .stamp__text{font-size:.74rem}
  .register{padding:0 .9rem .9rem}
  .register th,.register td{padding:.65rem .4rem}
  .notices li{flex-direction:column;gap:.25rem}
  .notices time{width:auto;align-self:flex-start}
  .hero{padding-top:1rem}
  .banner{padding:1.6rem 0 1.5rem}
  .page-panel{padding:.2rem 1rem .6rem}
  .ticker__track{animation-duration:20s}
}
@media (max-width:30rem){
  .tiles{grid-template-columns:1fr}
  .action-row{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .stamp{animation:none}
  .ticker__track{animation:none}
  .new-tag{animation:none}
  *,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
}
