/*
 * Shyampur theme.
 * Layout: institutional editorial. Full-bleed photo slideshow, hairline-ruled lists
 * instead of cards, one serif voice for headings, white ground with a single navy
 * institution colour and the logo's red for small labels. Light by design.
 */
:root {
	color-scheme: light;
	--navy: #0a2850;
	--navy-2: #123a6e;
	--navy-ink: #061a36;
	--blue: #1a5fbf;
	--red: #c4222b;
	--ink: #121b2c;
	--ink-2: #4a556b;
	--ink-3: #6c768a;
	--line: #dde2ea;
	--tint: #f2f4f8;
	--paper: #ffffff;
	--on-navy: #ffffff;
	--on-navy-2: #b9c6dc;
	--f-serif: "Noto Serif Bengali", "Tiro Bangla", Georgia, serif;
	--f-sans: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
	--wrap: 1240px;
	--bar-top: 0px;
}
.admin-bar { --bar-top: 32px; }
@media (max-width: 782px) { .admin-bar { --bar-top: 46px; } }
@media (max-width: 600px) { .admin-bar { --bar-top: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.3; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(var(--bar-top) + 8px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.label { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--red); letter-spacing: .01em; }
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }
.more { margin-top: 24px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; border-radius: 2px; }
.btn::after { content: "→"; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn.line { background: transparent; color: var(--navy); }
.btn.line:hover { background: var(--tint); color: var(--navy); }

/* ---------- notice ticker ---------- */
.util { background: var(--navy-ink); color: var(--on-navy); font-size: .9rem; }
.util .wrap { display: flex; min-height: 46px; align-items: stretch; }
.ticker { flex: 1; min-width: 0; display: flex; align-items: stretch; }
.tk-label { flex: none; display: flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-weight: 600; padding: 0 16px; font-size: .88rem; text-decoration: none; }
.tk-label:hover { color: #fff; }
.tk-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tk-view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 40px), transparent 100%); }
.tk-track { display: flex; width: max-content; animation: tick var(--tk, 60s) linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track, .ticker.paused .tk-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk-track a { display: flex; align-items: center; gap: 10px; padding: 0 28px; color: #fff; text-decoration: none; white-space: nowrap; position: relative; }
.tk-track a::after { content: ""; position: absolute; right: -3px; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); }
.tk-track a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.tk-track time { color: #ffb9bd; font-size: .82rem; font-variant-numeric: tabular-nums; }
.tk-btn { flex: none; align-self: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; margin-left: 10px; }
.tk-btn:hover { border-color: #fff; }
.tk-btn svg { width: 11px; height: 11px; }
@media (max-width: 600px) { .util .wrap { padding-left: 0; } .tk-label { padding: 0 12px; } }

/* ---------- masthead ---------- */
.mast { position: sticky; top: var(--bar-top); z-index: 80; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.mast.scrolled { box-shadow: 0 6px 24px rgb(6 26 54 / .08); }
.mast .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { width: 58px; height: 58px; flex: none; }
.brand .bn { font-family: var(--f-serif); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.25; display: block; max-width: 14em; text-wrap: balance; }
.brand .en { font-size: .74rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: 2px; }
.nav { margin-left: auto; display: flex; align-items: stretch; align-self: stretch; }
.nav .item { position: relative; display: flex; }
.nav .top { display: flex; align-items: center; padding: 0 15px; font-weight: 500; color: var(--ink); text-decoration: none; font-size: .98rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.nav .top:hover, .nav .item:focus-within .top { color: var(--navy); }
.nav .is-active .top { border-bottom-color: var(--red); color: var(--navy); }
.nav .drop { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 8px 0; display: none; box-shadow: 0 14px 30px rgb(6 26 54 / .10); }
.nav .item:hover .drop, .nav .item:focus-within .drop { display: block; }
.nav .drop a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav .drop a:hover, .nav .drop a[aria-current] { background: var(--tint); color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; padding: 8px 16px; cursor: pointer; border-radius: 2px; }
@media (max-width: 1100px) { .nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 480px) { .brand .bn { font-size: .98rem; } .brand img { width: 46px; height: 46px; } .brand .en { display: none; } }

.overlay { position: fixed; inset: 0; z-index: 100; background: var(--navy); color: #fff; overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + var(--bar-top) + 20px) max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); }
.overlay .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; font-family: var(--f-serif); font-size: 1.1rem; }
.overlay button { background: none; border: 1.5px solid #fff; color: #fff; font-weight: 600; padding: 8px 16px; cursor: pointer; }
.overlay h4 { color: var(--on-navy-2); font-family: var(--f-sans); font-weight: 500; font-size: .85rem; margin: 22px 0 6px; }
.overlay a { display: block; color: #fff; text-decoration: none; font-family: var(--f-serif); font-size: 1.45rem; padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.overlay a[aria-current] { color: #ffd2d4; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; height: clamp(420px, 74vh, 780px); background: var(--navy-ink); overflow: hidden; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); overflow: hidden; }
.slide.on { opacity: 1; z-index: 1; }
.slide.off { opacity: 0; z-index: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: var(--from); will-change: transform; }
.slide.on img, .slide.off img { animation: kenburns 9.5s linear forwards; }
@keyframes kenburns { from { transform: var(--from); } to { transform: var(--to); } }
.hero.paused .slide img, .hero.paused .bar i { animation-play-state: paused; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgb(6 26 54 / .55), rgb(6 26 54 / 0)); }
.hero-ui { position: absolute; inset: auto 0 0; z-index: 3; }
.hero-ui .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding-bottom: 26px; }
.count { color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; min-width: 4.5em; text-align: right; }
.count b { font-weight: 600; }
.count span { opacity: .6; }
.bars { display: flex; gap: 8px; }
.bar { position: relative; width: 56px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.bar::before { content: ""; display: block; width: 100%; height: 2px; background: rgb(255 255 255 / .35); }
.bar i { position: absolute; left: 0; top: 9px; height: 2px; width: 0; background: #fff; }
.bar.done i { width: 100%; }
.bar.now i { animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.pause { width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / .55); background: rgb(6 26 54 / .25); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; padding: 0; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pause:hover { background: rgb(6 26 54 / .5); }
.pause svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .bar { width: 34px; } .count { display: none; } }

/* ---------- sections ---------- */
section.s { padding-block: clamp(72px, 9vw, 120px); }
section.s.tint { background: var(--tint); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head h2, .campus h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 14px; }

.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 88px); }
.intro h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.22; margin-top: 18px; color: var(--navy); }
.intro p { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.intro p + p { margin-top: 22px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; align-items: start; } }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.figures div { padding: 28px 24px 0 0; }
.figures div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 800px) { .figures { grid-template-columns: 1fr 1fr; } .figures div:nth-child(3) { border-left: 0; padding-left: 0; } .figures div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; } }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); }
.split .side { position: sticky; top: calc(var(--bar-top) + 120px); align-self: start; }
.split .side h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 12px 0 14px; }
.split .side p { color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .side { position: static; } }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 26px 0 0; }
.tabs button { background: none; border: 0; font-weight: 600; color: var(--ink-3); padding: 0 0 10px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--red); }

/* notice list */
.nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist a { display: grid; grid-template-columns: 86px minmax(0, 1fr) 24px; gap: 24px; align-items: center; padding: 22px 0; text-decoration: none; color: inherit; }
.nlist a:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.nlist .d { font-variant-numeric: tabular-nums; line-height: 1.15; }
.nlist .d b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 2rem; color: var(--navy); }
.nlist .d span { font-size: .82rem; color: var(--ink-3); }
.nlist .k { font-size: .8rem; font-weight: 600; color: var(--red); margin-bottom: 4px; display: block; }
.nlist .k.new::after { content: "নতুন"; margin-left: 10px; color: #fff; background: var(--red); padding: 1px 8px; border-radius: 2px; font-size: .72rem; }
.nlist h3 { font-size: 1.14rem; font-weight: 500; line-height: 1.5; }
.nlist .go { color: var(--ink-3); font-size: 1.2rem; }
.nlist .empty { padding: 22px 0; color: var(--ink-2); }
@media (max-width: 560px) { .nlist a { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; } .nlist .go { display: none; } .nlist .d b { font-size: 1.6rem; } }

/* levels index */
.index { border-top: 1px solid var(--ink); }
.index a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr) 30px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s, padding .2s; }
.index a:hover { background: var(--tint); padding-left: 16px; padding-right: 16px; }
.index h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; color: var(--navy); }
.index p { color: var(--ink-2); }
.index .n { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem; }
.index .n b { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); display: block; }
.index .go { font-size: 1.3rem; color: var(--navy); }
@media (max-width: 800px) { .index a { grid-template-columns: 1fr auto; } .index p { grid-column: 1 / -1; grid-row: 2; } .index .go { display: none; } }

/* principal */
.principal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.principal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; mix-blend-mode: multiply; }
.principal blockquote { margin: 18px 0 22px; font-family: var(--f-serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 500; line-height: 1.6; color: var(--navy); }
.principal .body { color: var(--ink-2); max-width: 38em; }
.principal .who { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.principal .who b { font-family: var(--f-serif); font-weight: 600; display: block; font-size: 1.1rem; }
.principal .who span { color: var(--ink-3); font-size: .92rem; }
@media (max-width: 800px) { .principal { grid-template-columns: 1fr; } .principal figure { max-width: 340px; } }

/* campus */
.campus { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.campus img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.campus figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 10px; }
.rows { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows b { font-family: var(--f-serif); font-weight: 600; color: var(--navy); }
.rows span { color: var(--ink-2); }
@media (max-width: 800px) { .campus { grid-template-columns: 1fr; } .rows li { grid-template-columns: 1fr; gap: 2px; } }

/* government links */
.gov { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.gov a { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.gov a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.gov a::after { content: "↗"; color: var(--ink-3); }
.gov a:hover { color: var(--blue); }
@media (max-width: 900px) { .gov { grid-template-columns: 1fr 1fr; } .gov a:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .gov { grid-template-columns: 1fr; } .gov a + a { border-left: 0; padding-left: 0; } }

/* ---------- inner pages ---------- */
.ph { border-bottom: 1px solid var(--line); }
.ph .wrap { padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px); }
.crumb { font-size: .88rem; color: var(--ink-3); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.ph h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); margin: 14px 0; color: var(--navy); }
.ph p { color: var(--ink-2); max-width: 40em; font-size: 1.1rem; }
.inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-block: clamp(48px, 7vw, 88px); }
.inner.no-sub { grid-template-columns: minmax(0, 1fr); }
.subnav { position: sticky; top: calc(var(--bar-top) + 120px); align-self: start; }
.subnav h4 { font-family: var(--f-sans); font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.subnav a { display: block; padding: 10px 0 10px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .96rem; }
.subnav a:hover { color: var(--navy); border-left-color: var(--ink-3); }
.subnav a[aria-current="page"] { border-left-color: var(--red); color: var(--navy); font-weight: 600; }
@media (max-width: 900px) {
	.inner { grid-template-columns: minmax(0, 1fr); }
	.subnav { position: static; display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line); }
	.subnav h4 { display: none; }
	.subnav a { border-left: 0; border-bottom: 3px solid transparent; padding: 0 0 10px; white-space: nowrap; }
	.subnav a[aria-current="page"] { border-bottom-color: var(--red); }
}
.col { min-width: 0; }
.block + .block, .note + .block, .block-gap { margin-top: clamp(48px, 7vw, 80px); }
.block-gap { margin-top: 0; margin-bottom: clamp(40px, 6vw, 64px); }
.block > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 18px; }
.block > .label + h2 { margin-top: 10px; }
.lede { color: var(--ink-2); max-width: 40em; margin-bottom: 24px; }
.prose { max-width: 44em; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }

/* block editor content */
.entry h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 1.6em 0 .6em; }
.entry h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry img { margin-block: 1.5em; }
.entry blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--red); font-family: var(--f-serif); color: var(--navy); }
.entry table { border-collapse: collapse; width: 100%; margin: 1.5em 0; }
.entry td, .entry th { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.entry > :first-child { margin-top: 0; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--f-serif); font-weight: 500; font-size: 1.7rem; color: var(--navy); line-height: 1.2; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 2px; }
.timeline p { color: var(--ink-2); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.msg { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
.msg.no-photo { grid-template-columns: minmax(0, 1fr); }
.msg img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.msg .who { margin-bottom: 14px; }
.msg .who b { font-family: var(--f-serif); display: block; font-size: 1.15rem; }
.msg .who span { color: var(--ink-3); font-size: .92rem; }
@media (max-width: 640px) { .msg { grid-template-columns: 1fr; } .msg img { max-width: 220px; } }

.tbl { overflow-x: auto; border-top: 1px solid var(--ink); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 15px 16px 15px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: .86rem; font-weight: 600; color: var(--ink-3); }
.tbl .num { text-align: right; padding-right: 0; padding-left: 16px; }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tfoot th, .tbl tfoot td { font-weight: 600; border-bottom: 0; border-top: 1px solid var(--ink); }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--ink); padding-top: 26px; }
.cols3 h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy); }
.cols3 ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.cols3 li { padding: 4px 0; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.cols2 > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.cols2 h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.cols2 p { color: var(--ink-2); }
.cols2 .more { margin-top: 12px; }
@media (max-width: 760px) { .cols3, .cols2 { grid-template-columns: 1fr; } }

/* forms and search */
.search { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.search input, .search select, .form input, .form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #c6cdd9; border-radius: 2px; padding: 12px 14px; width: 100%; }
.search input { flex: 1 1 260px; width: auto; }
.search select { width: auto; }
.search input:focus, .search select:focus, .form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.search .btn::after { content: none; }
.form { display: grid; gap: 18px; max-width: 640px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .94rem; }
.form .hint { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.done { border-left: 3px solid var(--navy); background: var(--tint); padding: 14px 18px; font-size: .95rem; margin-bottom: 24px; max-width: 640px; }
.done.is-error { border-left-color: var(--red); }

/* faculty */
.dir section + section { margin-top: 36px; }
.dir h3 { font-size: 1.1rem; color: var(--ink-3); font-family: var(--f-sans); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.dir h3 span { font-weight: 400; }
.dir ul { list-style: none; margin: 0; padding: 0; }
.dir li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dir li b { font-family: var(--f-serif); font-weight: 600; font-size: 1.04rem; }
.dir li span { color: var(--ink-2); }
.dir .tel { font-variant-numeric: tabular-nums; text-align: right; }
.dir .empty { color: var(--ink-2); }
@media (max-width: 640px) { .dir li { grid-template-columns: 1fr auto; } .dir li .sub { grid-column: 1; grid-row: 2; } .dir li .tel { grid-row: 1 / 3; grid-column: 2; align-self: center; } }
.lead-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 28px; margin-bottom: 8px; }
.lead-card img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.lead-card b { font-family: var(--f-serif); font-size: 1.4rem; display: block; color: var(--navy); }
.lead-card span { display: block; color: var(--ink-2); }
.lead-card .tel { font-variant-numeric: tabular-nums; }

.note { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; color: var(--ink-2); font-size: .95rem; max-width: 44em; }
.honors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.honors div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.honors i { display: block; font-style: normal; font-size: .82rem; color: var(--red); font-weight: 600; margin-bottom: 4px; }
.honors b { font-family: var(--f-serif); font-weight: 600; color: var(--ink); display: block; }
.honors span { color: var(--ink-3); font-size: .92rem; }
@media (max-width: 760px) { .honors { grid-template-columns: 1fr; } }

/* gallery */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photos figure.wide { grid-column: span 2; grid-row: span 2; }
.photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr; } .photos figure.wide { grid-column: auto; grid-row: auto; } }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--navy-ink); cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; background: var(--red); display: grid; place-items: center; border-radius: 4px; }
.yt .play::after { content: ""; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video figcaption { padding: 10px 0; font-family: var(--f-serif); font-weight: 600; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .videos { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 20px; padding: 22px 0; font-family: var(--f-serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-sans); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--navy); text-align: right; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 44em; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.contact dl { margin: 0; border-top: 1px solid var(--ink); }
.contact dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact dt { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.contact dd { margin: 2px 0 0; font-family: var(--f-serif); font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.map { margin-top: clamp(48px, 7vw, 80px); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }
.map p { margin-top: 14px; }

/* single notice */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 28px; }
.pdf { border: 1px solid var(--line); background: var(--tint); }
.pdf object { display: block; width: 100%; height: min(80vh, 1000px); }
.pdf p { padding: 24px; color: var(--ink-2); }

.pager { margin-top: 32px; display: flex; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--navy-ink); color: var(--on-navy-2); font-size: .94rem; }
.foot .wrap { padding-block: 72px 32px; }
.foot .grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; }
.foot .who { display: flex; gap: 16px; align-items: flex-start; }
.foot .who img { width: 64px; height: 64px; flex: none; background: #fff; border-radius: 50%; }
.foot .who b { font-family: var(--f-serif); color: #fff; font-size: 1.15rem; font-weight: 600; display: block; line-height: 1.4; }
.foot .addr { margin-top: 22px; }
.foot .social { margin-top: 14px; display: flex; gap: 18px; }
.foot h4 { font-family: var(--f-sans); color: #fff; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-navy-2); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.foot .legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .foot .grid { grid-template-columns: 1fr 1fr; } .foot .grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot .grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.index a, .arrow::after { transition: none; }
	.slide { transition: none; }
	.slide.on img, .slide.off img { animation: none; transform: none; }
	.bar.now i { animation: none; width: 100%; }
	.tk-track { animation: none; }
	.tk-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.tk-label::before { animation: none; }
}
