/* Convocation website, Bikaner Technical University. Theme follows btu.ac.in. */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/merriweather-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/merriweather-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans Devanagari'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/noto-sans-devanagari-devanagari-400-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: 'Noto Sans Devanagari'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/noto-sans-devanagari-devanagari-700-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --saffron: #FF9933;
  --saffron-d: #E07A10;
  --saffron-l: #FFF3E6;
  --white: #FFFFFF;
  --green: #138808;
  --green-d: #0E6A06;
  --green-l: #EAF6E8;
  --navy: #000080;
  --navy-d: #00005C;
  --navy-l: #EEF0FA;
  --ink: #000080;
  --text: #1B1D3A;
  --muted: #5A5F7D;
  --line: #DADDEB;
  --bg-soft: #F7F8FC;
  --red: #B42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 60, .06), 0 4px 16px rgba(0, 0, 60, .06);
  --sans: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Merriweather', Georgia, 'Noto Sans Devanagari', serif;
  --hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;
  --fs: 15px;
}
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.ts-1 { --fs: 13.5px; }
html.ts1 { --fs: 17px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--saffron-d); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
[lang="hi"] { font-family: var(--hindi); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.25; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 460px; }
.narrow-wide { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.empty { color: var(--muted); padding: 12px 0; }

/* ---------- header ---------- */
.topbar { background: var(--saffron); color: var(--navy); font-size: .84rem; font-weight: 700; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a, .linkbtn { color: var(--navy); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--navy); }
.topbar .who { font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--navy); text-decoration: underline; }
.linkbtn.danger { color: var(--red); }
.inline { display: inline; margin: 0; }
.textsize { display: flex; gap: 4px; }
.textsize button { border: 1px solid var(--navy); background: #fff; color: var(--navy); font: 700 .74rem var(--sans); border-radius: 4px; padding: 2px 7px; cursor: pointer; }
.textsize button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.masthead { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 153, 51, .45); background: #fff; }
.mast-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.mast-row { position: relative; z-index: 1; min-height: clamp(96px, 11vw, 150px); display: flex; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.mast-home { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); text-decoration: none; min-width: 0; }
.mast-home img { width: clamp(58px, 7vw, 92px); height: auto; border-radius: 50%; flex: none; }
.mast-text { display: flex; flex-direction: column; min-width: 0; }
.mast-hi { font-family: var(--hindi); font-weight: 700; color: var(--navy); font-size: clamp(.9rem, 1.6vw, 1.2rem); }
.mast-en { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(1.15rem, 2.6vw, 2rem); line-height: 1.2; }
.mast-sub { color: var(--navy); font-size: clamp(.72rem, 1.1vw, .9rem); letter-spacing: .02em; margin-top: 2px; }
/* the name of the event, "Convocation" and its year. On a wide screen it stands on the horizon of the artwork, in
   front of the sun (the sun is 70% across, the horizon 4% of the width above the foot); on a narrow screen it is
   a line of its own under the name of the University. A light passes through the letters every few seconds. */
.mast-conv { position: relative; z-index: 1; display: flex; justify-content: center; align-items: baseline; gap: .45em; padding: 0 16px 10px; font-family: var(--serif); font-weight: 700; line-height: 1; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)) drop-shadow(0 0 5px rgba(255, 255, 255, .75)); }
.mast-conv-w, .mast-conv-y { color: var(--navy); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mast-conv-w, .mast-conv-y { background: linear-gradient(100deg, var(--navy) 0 40%, #FFB347 50%, var(--navy) 60% 100%) 100% 0 / 280% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mast-glint 6s ease-in-out infinite; }
}
.mast-conv-w { font-size: clamp(1.5rem, 7vw, 2rem); letter-spacing: .01em; }
.mast-conv-y { font-size: clamp(1.5rem, 7vw, 2rem); animation-delay: .35s; }
/* the cap and the rolled degree beside the name: the cap is tossed up now and then, its tassel swings */
.mast-cap { flex: none; align-self: center; height: clamp(34px, 10vw, 46px); width: auto; overflow: visible; }
.mc-cap, .mc-tassel { transform-box: fill-box; }
.mc-cap { transform-origin: 50% 60%; animation: mc-toss 5.5s ease-in-out infinite; }
.mc-tassel { transform-origin: 50% 0; animation: mc-swing 2.6s ease-in-out infinite; }
@keyframes mc-toss { 0%, 52%, 82%, 92%, 100% { transform: translateY(0) rotate(0); } 66% { transform: translateY(-20%) rotate(-11deg); } 87% { transform: translateY(-5%) rotate(3deg); } }
@keyframes mc-swing { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
@keyframes mast-glint { 0%, 55% { background-position: 100% 0; } 90%, 100% { background-position: 0 0; } }
@keyframes mast-rise { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes mast-glow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes mast-rays { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
body:not(.is-admin) .m-glow { animation: mast-glow 6s ease-in-out infinite; }
body:not(.is-admin) .m-rays { animation: mast-rays 6s ease-in-out infinite; }
@media (min-width: 900px) {
  .mast-conv { position: absolute; left: 70%; bottom: 0; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 0; --pb: max(.75vw, calc(4vw - 44px)); padding: 0 0 var(--pb); white-space: nowrap; animation: mast-rise .9s ease-out both; }
  .mast-conv.no-year { --pb: max(2.8vw, calc(4vw - 17px)); }
  .mast-cap { position: absolute; left: 100%; top: calc((100% - var(--pb)) / 2); transform: translateY(-50%); height: min(6.4vw, 88px); margin-left: min(.9vw, 12px); }
  .mast-conv-w { font-size: min(3.5vw, 48px); padding-bottom: .1em; }
  .mast-conv-y { font-size: min(2.3vw, 31px); letter-spacing: .34em; margin-right: -.34em; }
}

.mainnav { background: #fff; border-bottom: 3px solid var(--green); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 6px rgba(0, 0, 60, .05); }
.nav-row { display: flex; align-items: center; min-height: 48px; }
.navlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.navlist a { display: block; padding: 13px 12px; font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.navlist a:hover { color: var(--saffron-d); }
.navlist a[aria-current="page"] { border-bottom-color: var(--saffron); }
.navtoggle { display: none; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.navtoggle span:not(.sr) { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
@media (max-width: 960px) {
  .navtoggle { display: block; }
  .nav-row { flex-wrap: wrap; }
  .navlist { display: none; width: 100%; flex-direction: column; padding-bottom: 8px; }
  .navlist.open { display: flex; }
  .navlist a { border-bottom: 0; border-left: 3px solid transparent; margin: 0; padding: 10px 12px; }
  .navlist a[aria-current="page"] { border-left-color: var(--saffron); background: var(--saffron-l); }
}

/* ---------- page heading and sections ---------- */
.pagehead { background: var(--navy-l); border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
.pagehead h1 { margin: 4px 0 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.site-main { min-height: 50vh; padding-bottom: 40px; }
.site-main > .wrap, .site-main > section.wrap { padding-top: 24px; }
.sec-h { font-size: 1.3rem; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative; }
.sec-h::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--saffron); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--green); margin: 0 0 6px; }
.hindi-title { font-size: 1.15rem; color: var(--navy); font-weight: 700; margin: 0 0 4px; }
.twocol { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; gap: 0; } }
.band-light { background: var(--bg-soft); padding: 8px 0 28px; margin-top: 30px; border-top: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-d); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 70, .92) 0%, rgba(0, 0, 90, .78) 45%, rgba(0, 0, 90, .25) 100%); }
.hero-inner { position: relative; padding-top: clamp(40px, 7vw, 90px); padding-bottom: clamp(40px, 7vw, 90px); }
.hero-hi { font-family: var(--hindi); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.6rem); margin: 0; color: #FFD3A6; }
.hero-title { color: #fff; font-size: clamp(2rem, 5.4vw, 3.6rem); margin: 6px 0 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 0; }
.hero-facts div { border-left: 3px solid var(--saffron); padding-left: 12px; }
.hero-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #FFD3A6; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.06rem; }

/* ---------- feature tiles ---------- */
.features { margin-top: -28px; position: relative; z-index: 2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-n2 { grid-template-columns: repeat(2, 1fr); }
.feature-n1 { grid-template-columns: minmax(0, 420px); }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } .features { margin-top: 16px; } }
.feature { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; text-decoration: none; border-top: 5px solid; transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0, 0, 60, .14); }
.feature svg { grid-row: span 2; width: 48px; height: 48px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature svg .fill { fill: currentColor; stroke: none; }
.f-title { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--navy); }
.f-sub { font-size: .92rem; color: var(--muted); font-weight: 700; }
.f-saffron { border-color: var(--saffron); } .f-saffron svg { stroke: var(--saffron-d); color: var(--saffron-d); }
.f-navy { border-color: var(--navy); } .f-navy svg { stroke: var(--navy); }
.f-green { border-color: var(--green); } .f-green svg { stroke: var(--green); }

/* ---------- lists, tables, cards ---------- */
.noticelist { list-style: none; margin: 0 0 16px; padding: 0; }
.noticelist li { padding: 11px 0 11px 16px; border-bottom: 1px dashed var(--line); position: relative; }
.noticelist li::before { content: ''; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--saffron); border-radius: 50%; }
.noticelist a { font-weight: 600; text-decoration: none; }
.noticelist a:hover { text-decoration: underline; }
.noticelist .meta { display: block; font-size: .82rem; color: var(--muted); }
.badge-new { display: inline-block; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; vertical-align: middle; letter-spacing: .04em; }
.keydates { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--green); }
.keydates li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line); }
.kd-date { font-weight: 700; color: var(--navy); }
.kd-date small { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 480px) { .keydates li { grid-template-columns: 1fr; gap: 2px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 16px 0; }
.tablewrap { overflow-x: auto; margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; }
.table tbody tr:nth-child(even) { background: var(--bg-soft); }
.table.facts th { width: 34%; color: var(--navy); background: var(--navy-l); }
.table.facts tr:nth-child(even) { background: none; }
.dl { font-weight: 600; white-space: nowrap; }
/* the name of a document is its link; the size follows in small type */
.doc-name { font-weight: 600; overflow-wrap: anywhere; }
.doc-size { color: var(--muted); font-size: .84rem; font-weight: 400; white-space: nowrap; }
.reg-title .doc-name { font-weight: 700; }
.prose .doc-name { font-weight: 700; }
@media (max-width: 720px) {
  .table:not(.facts):not(.sheet-table) thead { display: none; }
  .table:not(.facts):not(.sheet-table) tr { display: block; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; background: #fff !important; }
  .table:not(.facts):not(.sheet-table) td { display: block; position: relative; padding-left: 122px; min-height: 2.4em; border-bottom: 1px solid var(--bg-soft); }
  .table:not(.facts):not(.sheet-table) td::before { content: attr(data-label); position: absolute; left: 12px; top: 10px; width: 100px; font-weight: 700; color: var(--navy); font-size: .82rem; }
  .table td.empty { padding-left: 12px; }
  .table td.empty::before { content: none; }
}
.photo { margin: 18px 0 0; }
.photo img { border-radius: var(--radius); display: block; }
.photo figcaption { font-size: .84rem; color: var(--muted); margin-top: 6px; }

.pastgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 18px; }
.pastcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.pastcard img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.pastnum { aspect-ratio: 3/2; display: grid; place-items: center; font: 700 4rem var(--serif); color: #fff; background: linear-gradient(135deg, var(--navy), #1a1aa8); }
.pc-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.pc-body strong { font-family: var(--serif); color: var(--navy); font-size: 1.08rem; }
.pc-hi { font-family: var(--hindi); color: var(--saffron-d); font-weight: 700; font-size: .9rem; }

/* ---------- forms and buttons ---------- */
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 14px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .filters input, .filters select {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: 400 1rem var(--sans); color: var(--text);
  border: 1.5px solid #C5C9DD; border-radius: 8px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus, .filters input:focus, .filters select:focus { border-color: var(--navy); outline: 3px solid rgba(255, 153, 51, .45); outline-offset: 0; }
.form input[disabled] { background: var(--bg-soft); }
.form .check, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--green); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; align-items: end; }
@media (max-width: 720px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filters label { flex: 1 1 180px; font-weight: 600; font-size: .86rem; color: var(--navy); }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form label { flex: 1 1 200px; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; font: 700 .95rem var(--sans); border-radius: 8px; border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-d); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy-l); color: var(--navy); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-small { padding: 6px 12px; font-size: .84rem; }
.btn-big { padding: 16px 26px; font-size: 1.15rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.counter { display: block; text-align: right; font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.counter.over { color: var(--red); }
.flash { padding: 12px 16px; border-radius: 8px; margin: 14px 0; border-left: 5px solid; font-weight: 500; }
.flash-ok { background: var(--green-l); border-color: var(--green); color: #0b4d05; }
.flash-error { background: #FDECEA; border-color: var(--red); color: #7a1a12; }
.flash-warn { background: var(--saffron-l); border-color: var(--saffron); color: #6b3a00; }
.flash code { font-size: 1.05rem; background: #fff; padding: 2px 6px; border-radius: 4px; }
.status-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.status-pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); margin: 4px 0; }
.st-received { background: var(--saffron-l); color: #7a4300; border-color: #F5C08A; }
.st-approved { background: var(--green-l); color: var(--green-d); border-color: #A6D9A0; }
.st-redo { background: #FDECEA; color: var(--red); border-color: #F2B8B2; }
.pager { display: flex; gap: 10px; margin-top: 16px; }
.danger-zone { margin-top: 26px; }
details.card > summary { cursor: pointer; font-weight: 700; color: var(--navy); }

/* ---------- Find My Moment / Record ---------- */
.moment-card .m-name, .m-name { margin: 0; font-size: 1.5rem; }
.m-hi { font-family: var(--hindi); color: var(--saffron-d); font-size: 1.1rem; }
.m-prog { color: var(--muted); margin: 4px 0 14px; }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.recorder { border: 1.5px dashed #C5C9DD; border-radius: var(--radius); padding: 16px; margin: 0 0 16px; }
.recorder legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.rec-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.rec-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.rec-controls.recording .rec-timer { color: var(--red); }
.recorder audio { width: 100%; margin: 6px 0 10px; }
.file-label { font-weight: 500 !important; }

/* ---------- live ---------- */
.live { background: var(--navy-d); color: #fff; padding: 6px 0 28px; }
.live .sec-h { color: #fff; border-color: rgba(255, 255, 255, .2); }
.live-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #FF3B30; margin-right: 10px; animation: pulse 1.4s infinite; vertical-align: middle; }
@keyframes pulse { 50% { opacity: .35; } }
.live-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: center; }
@media (max-width: 860px) { .live-grid { grid-template-columns: 1fr; } }
.nowstage { margin: 0; border-top: 5px solid var(--saffron); }
.ns-name { font: 700 1.6rem var(--serif); color: var(--navy); margin: 4px 0; }
.ns-prog { color: var(--muted); margin: 0; }

/* ---------- wall ---------- */
.wallform { border-top: 5px solid var(--green); }
.wallgrid { columns: 3 280px; column-gap: 16px; margin-top: 20px; }
.wallcard { break-inside: avoid; margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border-left: 5px solid var(--saffron); }
.wallcard:nth-child(3n+2) { border-left-color: var(--green); }
.wallcard:nth-child(3n) { border-left-color: var(--navy); }
.wallcard.featured { background: var(--saffron-l); }
.wallcard blockquote { margin: 0 0 12px; font-size: 1.04rem; overflow-wrap: anywhere; }
.wallcard figcaption { display: flex; flex-direction: column; font-size: .86rem; }
.wc-to { font-weight: 700; color: var(--navy); }
.wc-from { color: var(--muted); }

/* ---------- footer ---------- */
.foot-saffron { background: var(--saffron); height: 14px; }
.foot-h { font: 700 .95rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); display: inline-block; }
.foot-white { background: #fff; padding: 26px 0; }
.foot-white-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
@media (max-width: 720px) { .foot-white-row { grid-template-columns: 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 50%; }
.foot-brand strong { display: block; font: 700 1.2rem var(--serif); color: var(--navy); }
.foot-brand span { font-size: .86rem; color: var(--navy); }
.foot-contact p { margin: 0 0 6px; color: var(--navy); font-size: .92rem; }
.foot-contact a { font-weight: 700; }
.foot-green { background: var(--green); color: #fff; padding: 20px 0; font-size: .88rem; }
.foot-green p { margin: 0; }
.foot-quick { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-quick a { color: #fff; font-weight: 700; text-decoration: none; }
.foot-quick a:hover { text-decoration: underline; color: #fff; }
.totop { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--saffron); background: #fff; color: var(--navy); font-size: 1.3rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.totop.show { opacity: 1; pointer-events: auto; }

/* ---------- office panel ---------- */
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 10px 0 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; box-shadow: var(--shadow); border-top: 4px solid var(--saffron); }
.stat:nth-child(3n+2) { border-top-color: var(--green); }
.stat:nth-child(3n) { border-top-color: var(--navy); }
.stat-n { display: block; font: 700 1.7rem var(--serif); color: var(--navy); }
.stat-l { font-size: .86rem; color: var(--muted); }
.statgrid.small .stat-n { font-size: 1.3rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tiles a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; text-decoration: none; background: var(--bg-soft); }
.tiles a:hover { background: var(--navy-l); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; border-bottom: 2px solid var(--line); }
.tabs a { padding: 9px 14px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a[aria-current="page"] { border-bottom-color: var(--saffron); }
.modlist { display: flex; flex-direction: column; gap: 10px; }
.modrow { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; }
.modrow.featured { background: var(--saffron-l); }
.mod-msg { margin: 0 0 4px; font-size: 1rem; overflow-wrap: anywhere; }
.mod-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .modrow { grid-template-columns: 30px 1fr; } .mod-act { grid-column: 2; justify-content: flex-start; } }
.grads audio { display: block; width: 220px; max-width: 100%; height: 36px; margin-top: 6px; }
.review { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.review input { padding: 6px 8px; border: 1.5px solid #C5C9DD; border-radius: 6px; font: .85rem var(--sans); width: 170px; max-width: 100%; }

/* stage console */
.stage-top { display: grid; gap: 6px; }
.stage-top .form label { margin-bottom: 8px; }
.stream-clock p { margin: 6px 0; }
.calib { display: inline-flex; gap: 6px; align-items: center; }
.calib input { padding: 9px 10px; border: 1.5px solid #C5C9DD; border-radius: 8px; font: 1rem var(--sans); width: 110px; }
.stage-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
@media (max-width: 900px) { .stage-main { grid-template-columns: 1fr; } }
.stage-current { border-top: 6px solid var(--saffron); text-align: center; }
.sc-order { font-weight: 700; color: var(--muted); margin: 0; }
.sc-name { font: 700 clamp(1.6rem, 3.5vw, 2.4rem) var(--serif); color: var(--navy); margin: 6px 0; }
.sc-hi { font-family: var(--hindi); font-size: 1.4rem; font-weight: 700; color: var(--saffron-d); margin: 0; min-height: 1.4em; }
.sc-sound { font-style: italic; color: var(--green-d); margin: 4px 0; min-height: 1.2em; }
.sc-prog { color: var(--muted); }
.stage-current audio { width: 100%; max-width: 360px; }
.stage-current .actions { justify-content: center; }
.stage-list { max-height: 72vh; display: flex; flex-direction: column; }
.stage-list label { font-weight: 600; color: var(--navy); }
.stage-list input { width: 100%; padding: 9px 10px; border: 1.5px solid #C5C9DD; border-radius: 8px; font: 1rem var(--sans); margin: 4px 0 10px; }
.callist { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.callist li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); cursor: pointer; }
.callist li:hover { background: var(--bg-soft); }
.callist li.next { background: var(--saffron-l); outline: 2px solid var(--saffron); }
.callist li.done { color: var(--muted); }
.callist li.done .cl-name { text-decoration: line-through; }
.cl-o { font-weight: 700; color: var(--navy); }
.cl-name { font-weight: 600; }
.cl-meta { font-size: .78rem; color: var(--muted); display: block; }
.cl-t { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--green-d); font-weight: 700; }

/* announcer sheet */
body.sheet { padding: 20px; }
.sheet-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; color: var(--navy); }
.sheet-head .btn { margin-left: auto; }
.sheet-table td, .sheet-table th { font-size: .9rem; padding: 6px 8px; }
@media print {
  .noprint { display: none !important; }
  body.sheet { padding: 0; }
  .sheet-table thead th { background: #eee !important; color: #000 !important; }
  .sheet-table tr { break-inside: avoid; }
  .site-header, .site-footer, .totop { display: none !important; }
}

/* ---------- venue screen ---------- */
body.screen { background: radial-gradient(circle at 75% 20%, #12128f 0%, #00004d 60%, #00002e 100%); color: #fff; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto; }
.scr-head { display: flex; align-items: center; gap: 22px; padding: 2.2vh 4vw; }
.scr-head img { border-radius: 50%; width: 8vh; height: 8vh; }
.scr-head p { margin: 0; }
.scr-hi { font-family: var(--hindi); font-weight: 700; color: #FFD3A6; font-size: 2.4vh; }
.scr-en { font: 700 3.6vh var(--serif); }
.scr-ed { font-size: 2.2vh; color: #C9CCF5; letter-spacing: .04em; }
.scr-main { display: grid; place-items: center; padding: 0 8vw; }
.scr-card { margin: 0; max-width: 1500px; text-align: center; transition: opacity .8s ease, transform .8s ease; }
.scr-card.fade { opacity: 0; transform: translateY(14px); }
.scr-card blockquote { margin: 0 0 4vh; font: 400 clamp(28px, 5vh, 72px)/1.35 var(--serif); overflow-wrap: anywhere; }
.scr-card blockquote::before { content: '\201C'; color: var(--saffron); }
.scr-card blockquote::after { content: '\201D'; color: var(--saffron); }
.scr-card figcaption { display: flex; flex-direction: column; gap: 1vh; }
.scr-card figcaption span:first-child { font: 700 3.6vh var(--sans); color: #FFD3A6; }
.scr-card figcaption span:last-child { font-size: 2.6vh; color: #C9CCF5; }
.scr-foot { display: flex; gap: 2.4vw; align-items: baseline; padding: 2vh 4vw; background: rgba(255, 255, 255, .08); font-size: 3vh; }
.scr-label { text-transform: uppercase; letter-spacing: .1em; color: var(--saffron); font-weight: 700; font-size: 2.2vh; }
.scr-foot [data-scr-name] { font: 700 3.6vh var(--serif); }
.scr-foot [data-scr-prog] { color: #C9CCF5; font-size: 2.4vh; }
.scr-tricolour { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 1.2vh; }
.scr-tricolour span:nth-child(1) { background: var(--saffron); }
.scr-tricolour span:nth-child(2) { background: #fff; }
.scr-tricolour span:nth-child(3) { background: var(--green); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.stage-top .form { align-items: end; }
.stage-top .form .check { align-self: center; margin-bottom: 14px; }
.stage-top .form button { grid-column: 1; justify-self: start; }

/* ---------- version 2: dropdown menu, dignitaries, counters, programme, FAQs ---------- */
.navlist > li { position: relative; }
.subtoggle { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 13px 12px; font: 700 .92rem var(--sans); color: var(--navy); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.subtoggle:hover { color: var(--saffron-d); }
.has-sub.current > .subtoggle { border-bottom-color: var(--saffron); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--saffron); border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0, 0, 60, .14); display: none; z-index: 35; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { display: block; }
.submenu a { padding: 9px 16px; border: 0; margin: 0; font-weight: 600; white-space: nowrap; }
.submenu a:hover { background: var(--navy-l); color: var(--navy); }
.submenu a[aria-current="page"] { background: var(--saffron-l); border: 0; }
@media (max-width: 960px) {
  .subtoggle { width: 100%; justify-content: space-between; border-bottom: 0; border-left: 3px solid transparent; margin: 0; padding: 10px 12px; }
  .has-sub.current > .subtoggle { border-left-color: var(--saffron); }
  .submenu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 4px 14px; min-width: 0; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .submenu a { white-space: normal; }
}

.edtabs { margin-top: 0; }
.digrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin: 6px 0 10px; }
.digcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--saffron); border-radius: var(--radius); padding: 16px 14px 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
a.digcard:hover { box-shadow: 0 6px 22px rgba(0, 0, 60, .14); color: var(--text); }
.digcard img, .person-side img { width: 150px; height: 188px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: var(--bg-soft); }
.dig-mono { width: 150px; height: 188px; border-radius: 8px; margin-bottom: 8px; display: grid; place-items: center; font: 700 2.6rem var(--serif); color: #fff; background: linear-gradient(160deg, var(--navy), #2a2ab8); }
.dig-role { text-transform: uppercase; letter-spacing: .07em; font-size: .74rem; font-weight: 700; color: var(--green); }
.dig-name { font-family: var(--serif); color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.dig-des { font-size: .86rem; color: var(--muted); }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.person-side { text-align: center; }
.person-side p { margin: 4px 0; }
@media (max-width: 720px) { .person { grid-template-columns: 1fr; gap: 8px; } }
.prose { max-width: 78ch; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin-bottom: 5px; }

.band-navy { background: var(--navy); margin-top: 30px; padding: 26px 0; }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; text-align: center; }
.counter-item { border-left: 3px solid var(--saffron); padding: 4px 10px; }
.counter-n { display: block; font: 700 2.1rem var(--serif); color: #fff; }
.counter-l { font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; color: #FFD3A6; font-weight: 600; }
.counters-light .counter-n { color: var(--navy); }
.counters-light .counter-l { color: var(--green-d); }
.counters-light .counter-item { background: var(--bg-soft); border-radius: 0 8px 8px 0; padding: 12px 10px; }

.prog { list-style: none; margin: 0 0 12px; padding: 0; border-left: 3px solid var(--saffron); }
.prog li { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line); }
.prog-time { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .prog li { grid-template-columns: 1fr; gap: 2px; } }

.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 13px 34px 13px 4px; font-weight: 600; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 9px; font-size: 1.3rem; color: var(--saffron-d); font-weight: 700; }
.faq[open] summary::after { content: '\2212'; }
.faq .prose { padding: 0 4px 10px; }

.fset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px 2px; margin: 0 0 16px; }
.fset legend { font-weight: 700; color: var(--navy); padding: 0 6px; font-size: .9rem; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 14px; }
@media (max-width: 860px) { .grid5 { grid-template-columns: 1fr 1fr; } }
.form label.wide { display: block; }
.thumb { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; display: block; }
.sheet-session th { background: var(--navy-l); color: var(--navy); text-align: left; font-size: .95rem; }

.live + .features { margin-top: 22px; }
.digrid { justify-content: start; }

/* tiles carry the title only */
.feature { grid-template-rows: auto; }
.feature svg { grid-row: auto; }

/* ---------- invitation card ---------- */
.invite { container-type: inline-size; max-width: 820px; margin: 10px auto 30px; }
.inv-card { position: relative; color: #F6F0E0; background:
    radial-gradient(circle at 78% 22%, rgba(60, 60, 190, .55), transparent 46%),
    linear-gradient(180deg, #00004E 0%, #000066 55%, #00004A 100%);
  border-radius: 1.2cqw; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 60, .35); font-family: var(--sans);
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.inv-card::before { content: ''; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(#F3C567 1px, transparent 1.2px); background-size: 2.2cqw 2.2cqw; }
.inv-card > * { position: relative; }
.inv-top { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); grid-template-areas: 'brand brand' 'left art'; align-items: end; padding: 4.5cqw 5cqw 3.2cqw; column-gap: 1cqw; }
.inv-brand { grid-area: brand; display: flex; align-items: center; gap: 2cqw; }
.inv-left { grid-area: left; padding-bottom: 2cqw; }
.inv-art { grid-area: art; margin-top: -1.5cqw; }
.inv-brand img { width: 11cqw; height: 11cqw; border-radius: 50%; flex: none; border: .35cqw solid #F3C567; }
.inv-brand > div { display: flex; flex-direction: column; border-left: .25cqw solid #F3C567; padding-left: 2cqw; }
.inv-hi { font-family: var(--hindi); font-size: 2.7cqw; font-weight: 700; color: #F7E3B5; }
.inv-en { font-family: var(--serif); font-size: 3.5cqw; font-weight: 700; color: #fff; line-height: 1.25; }
.inv-num { line-height: .9; white-space: nowrap; }
.inv-n { font: 700 24cqw var(--serif); background: linear-gradient(180deg, #FFF1C2 0%, #F3C567 38%, #C98A1E 72%, #F6D488 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-num sup { font: italic 700 5.4cqw var(--serif); color: #F3C567; vertical-align: top; position: relative; top: 2.4cqw; margin-left: .6cqw; }
.inv-word { font: 700 5.1cqw var(--serif); letter-spacing: .05em; color: #F3C567; margin-top: 1.4cqw; }
.inv-date { font: 400 3.4cqw var(--serif); color: #fff; margin-top: .8cqw; }
.inv-artsvg { width: 100%; height: auto; display: block; }
.inv-band { height: 8.2cqw; background: rgba(0, 0, 40, .45); border-top: .2cqw solid rgba(243, 197, 103, .7); border-bottom: .2cqw solid rgba(243, 197, 103, .7); }
.inv-bandsvg { width: 100%; height: 100%; display: block; }
.inv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; padding: 4.5cqw 5cqw 2.5cqw; font-size: 1.95cqw; line-height: 1.55; }
.inv-body.single { grid-template-columns: 1fr; max-width: 78%; }
.inv-body h2 { font: 700 2.7cqw var(--serif); color: #F3C567; margin: 0 0 .6cqw; }
.inv-body h3 { font: 700 2.2cqw var(--serif); color: #F7E3B5; margin: 0 0 1.6cqw; }
.inv-body p { margin: 0 0 1.8cqw; text-align: justify; }
.inv-body dl { margin: 0; }
.inv-body dl div { display: grid; grid-template-columns: 13cqw 1fr; gap: 1cqw; margin-bottom: 1.1cqw; }
.inv-body dt { color: #F3C567; font-weight: 700; }
.inv-body dd { margin: 0; }
.inv-body ul { margin: 0; padding-left: 2.4cqw; }
.inv-body li { margin-bottom: .55cqw; }
.inv-body li::marker { color: #F3C567; }
.inv-rsvp { padding: 0 5cqw 3.5cqw; font-size: 1.75cqw; color: #E9DFC6; }
.inv-rsvp strong { color: #F3C567; margin-right: 1cqw; letter-spacing: .06em; }
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  .noprint, .site-header, .site-footer, .totop, .skip { display: none !important; }
  .site-main { padding: 0 !important; min-height: 0; }
  .invite { width: 178mm; max-width: none; margin: 0 auto; }
  .site-main > .wrap, .site-main > section.wrap { padding: 0 !important; }
  .inv-card { break-inside: avoid; }
  .inv-card { box-shadow: none; border-radius: 0; }
}

/* ---------- gallery, medals row, schedule card ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.gal-item { display: block; position: relative; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .2s ease; }
a.gal-item:hover img { transform: scale(1.04); }
.gal-admin .gal-item form { position: absolute; right: 6px; bottom: 6px; margin: 0; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 30, .93); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); width: 46px; height: 46px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--saffron); border-color: var(--saffron); color: var(--navy); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.medalrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 6px 0 14px; }
.medalcard { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.medalcard strong { font-family: var(--serif); color: var(--navy); font-size: 1.04rem; }
.medal-name { text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; font-weight: 700; color: var(--green); }
.schedule { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.schedule li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.schedule li:last-child { border-bottom: 0; }
.sch-when { font-weight: 700; color: var(--navy); }
.schedule small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.sch-what strong { color: var(--text); }

/* ---------- registration form and documents with a fixed place ---------- */
.reglist { list-style: none; margin: 4px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.reglist li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 18px; padding: 15px 18px; border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--navy-l, #E6E8F5); }
.reg-title { font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.reg-act { text-align: right; }
.reg-first { background: var(--saffron-l); box-shadow: inset 4px 0 0 var(--saffron); padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 640px) {
  .reglist li { grid-template-columns: 1fr; padding-right: 12px; }
  .reg-act { text-align: left; }
  .reg-act .dl { white-space: normal; overflow-wrap: anywhere; }
}
.hero-cta { margin: 22px 0 0; }
.btn-saffron { background: var(--saffron); color: var(--navy); }
.btn-saffron:hover { background: #fff; color: var(--navy); }

/* ---------- list of eligible students ---------- */
.elig-tiles { grid-template-columns: repeat(5, 1fr); margin: 6px 0 4px; }
.elig-tiles .stat { transition: transform .15s, box-shadow .15s; }
.elig-tiles .stat:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 60, .12); }
.elig-tiles .stat[aria-current="true"] { background: var(--navy); border-color: var(--navy); border-top-color: var(--saffron); }
.elig-tiles .stat[aria-current="true"] .stat-n, .elig-tiles .stat[aria-current="true"] .stat-l { color: #fff; }
.elig-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; margin: 4px 0 8px; }
.table.elig td:first-child { color: var(--muted); width: 1%; white-space: nowrap; }
.table.elig th { white-space: nowrap; }
@media (max-width: 640px) {
  .elig-tiles { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .elig-tiles .stat { grid-column: span 2; }
  .elig-tiles .stat:nth-child(n+4) { grid-column: span 3; }
  .elig-tiles .stat { padding: 9px 10px; }
  .elig-tiles .stat-n { font-size: 1.25rem; }
  .elig-tiles .stat-l { font-size: .74rem; }
}
.merit { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--navy-l); color: var(--navy); }
.m-medalist { background: var(--saffron); color: var(--navy); }
.m-meritorious { background: var(--green-l); color: var(--green-d); }
.m-phd { background: var(--navy); color: #fff; }

/* ---------- venue and how to reach ---------- */
.venue-card { background: var(--navy-l); border-left: 4px solid var(--saffron); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; margin: 6px 0 22px; }
.venue-name { font: 700 1.5rem var(--serif); color: var(--navy); margin: 0 0 4px; }
.venue-addr { margin: 0 0 14px; color: var(--navy); font-size: 1.02rem; }
.venue-card p:last-child { margin-bottom: 0; }
.reach-text { max-width: 900px; margin: 10px 0 26px; }
.reach-text p { margin: 0 0 14px; }
.reach-text ul { margin: -6px 0 14px; padding-left: 22px; }

/* ---------- student lists, last date, portal items ---------- */
.listtabs { margin-top: 4px; }
.list-note { margin: 18px 0 26px; padding: 12px 16px; background: var(--navy-l); border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy); font-size: .95rem; }
.reg-title small { display: block; font-weight: 600; font-size: .86rem; color: var(--saffron-d); margin-top: 3px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-note { color: #fff; font-weight: 700; font-size: .95rem; }
