/* fraternitykerala.org — mobile-first. Brand: logo navy #1E3765, poster blue #0040C8. */
:root {
  --navy: #1e3765;
  --navy-d: #0f1d3d;
  --blue: #0040c8;
  --blue-l: #e8eeff;
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e3e8f2;
  --bg: #f5f7fc;
  --card: #fff;
  --radius: 20px;
  --font: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ml: "Noto Sans Malayalam", "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-family: var(--font-ml); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 28px 16px; }
.wrap.section { padding-left: 16px; padding-right: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: 0 6px 18px rgba(0, 64, 200, .28); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-soft { background: var(--blue-l); color: var(--navy); }
.btn-wa { background: #25d366; color: #fff; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand img { height: 40px; width: auto; }
.nav { display: none; margin-left: auto; gap: 4px; align-items: center; }
.dd { display: flex; align-items: center; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a.on { background: var(--blue-l); color: var(--navy); }
.topbar .btn-cta { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar .btn-cta { margin-left: 8px; }
  body { padding-bottom: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(70rem 40rem at 90% -10%, var(--blue) 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding: 44px 16px 52px; text-align: center; }
.hero-logo { width: min(86%, 520px); margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .25)); }
.hero-tag { font-size: clamp(18px, 4.6vw, 26px); font-weight: 800; margin: 18px 0 4px; }
.hero-sub { color: rgba(255, 255, 255, .78); font-weight: 600; letter-spacing: .04em; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Section headings */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 22px; margin: 0; }
.more { font-weight: 700; font-size: 14px; }
.page-title { font-size: clamp(26px, 6vw, 38px); margin: 6px 0 16px; color: var(--navy); }

/* Cards */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15, 29, 61, .10); }
.card-img { aspect-ratio: 16 / 9; background: var(--blue-l); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, var(--navy), var(--blue)); overflow: hidden; }
.card-ph::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); }
.card-ph img { width: 42%; max-width: 180px; height: auto; opacity: .95; align-self: flex-end; position: relative; z-index: 1; }
.ph-cat { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 5px 10px; border-radius: 999px; position: relative; z-index: 1; }
.ph-1 { background: linear-gradient(135deg, #0f1d3d, #6d28d9); }
.ph-2 { background: linear-gradient(135deg, #1e3765, #0e7490); }
.ph-3 { background: linear-gradient(135deg, #7f1d1d, #c2410c); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 { font-size: 17px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body time { color: var(--muted); font-size: 13px; margin-top: auto; }
.card-big { margin-bottom: 14px; }
@media (min-width: 760px) {
  .card-big { flex-direction: row; }
  .card-big .card-img { flex: 1.2; aspect-ratio: auto; min-height: 300px; }
  .card-big .card-body { flex: 1; padding: 26px; justify-content: center; }
  .card-big h3 { font-size: 24px; }
}
.excerpt { color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Chips & filters */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--blue-l); color: var(--navy); align-self: flex-start; }
.chip-on { background: var(--navy); color: #fff; }
.filter { margin: 0 0 14px; }
.filter summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 6px 0; }
.search { margin: 0 0 12px; }
.search input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--line); padding: 0 16px; font: inherit; background: #fff; }
.search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.empty { color: var(--muted); padding: 24px 0; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 700; }

/* Band */
.band { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; margin: 8px 0; }
.band-in { display: flex; flex-direction: column; gap: 16px; padding: 30px 16px; }
.band h2 { font-size: 24px; margin: 0 0 6px; }
.band p { margin: 0; color: rgba(255, 255, 255, .85); }
@media (min-width: 760px) { .band-in { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Strip of posters */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.strip-item { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--blue-l); }
.strip-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Article */
.article { max-width: 760px; }
.article-title { font-size: clamp(24px, 5.6vw, 36px); color: var(--navy); margin: 6px 0 6px; }
.article-date { color: var(--muted); font-size: 14px; display: block; margin-bottom: 16px; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 0 0 20px; }
.prose { font-family: var(--font-ml); font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose img { border-radius: 14px; margin: 14px 0; }
.prose h2, .prose h3 { color: var(--navy); margin-top: 1.4em; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--blue); background: var(--blue-l); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.share span { font-weight: 800; margin-right: 4px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin: 12px 0; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Gallery */
.masonry { columns: 2 160px; column-gap: 10px; }
.masonry-item { display: block; margin-bottom: 10px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--blue-l); }

/* Contact */
.contact-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: block; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; }
.contact-card h3 { font-size: 15px; color: var(--muted); margin: 0 0 4px; font-family: var(--font); }
.contact-card p { margin: 0; font-weight: 700; color: var(--navy); }

/* Footer */
.footer { background: var(--navy-d); color: rgba(255, 255, 255, .85); margin-top: 32px; }
.footer a { color: #fff; }
.footer-in { display: grid; gap: 26px; padding: 36px 16px 20px; }
.footer-logo { width: 220px; }
.muted-w { color: rgba(255, 255, 255, .7); margin: 10px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.copy .dh { margin-left: auto; }
@media (max-width: 520px) { .copy { flex-direction: column; align-items: flex-start; } .copy .dh { align-self: flex-end; } }
.copy a { color: #8fb0ff; font-weight: 700; }
.copy .dh { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .6); font-weight: 400; white-space: nowrap; }
.copy .dh img { height: 15px; width: auto; background: #fff; border-radius: 4px; padding: 2px 3px; box-sizing: content-box; }
.copy .dh b { color: #8fb0ff; }
@media (min-width: 760px) { .footer-in { grid-template-columns: 1fr 1.4fr; } }

/* Bottom tab bar (phones) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; align-items: center; justify-content: center; height: 60px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tabbar a.on { color: var(--navy); box-shadow: inset 0 3px 0 var(--blue); }
.tabbar .tab-cta { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); margin: 8px 6px; height: 44px; border-radius: 14px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* Leadership */
.muted-ink { color: var(--muted); margin: -8px 0 18px; }
.leader-group { margin: 0 0 26px; }
.leader-group h2 { font-size: 18px; color: var(--navy); margin: 0 0 12px; font-family: var(--font); }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .leaders { grid-template-columns: repeat(4, 1fr); } }
.leader { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.leader img, .leader-ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--blue-l); box-shadow: 0 0 0 4px var(--blue-l); margin-bottom: 8px; }
.leader b { font-size: 15px; line-height: 1.3; }
.leader span { font-size: 13px; color: var(--muted); }
.leaders-lead { grid-template-columns: 1fr; max-width: 320px; }
.leaders-lead .leader img { width: 140px; height: 140px; }
.leaders-lead .leader b { font-size: 19px; }
/* Bigger tap areas for small text links */
.more { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* Videos: thumbnail first, player on tap */
.vgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .vgrid { grid-template-columns: 1fr 1fr 1fr; } }
.vcard { margin: 0; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b1a33; }
.vthumb img, .vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vplay { position: absolute; left: 50%; top: 50%; width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; background: rgba(220, 0, 0, .92); }
.vplay::after { content: ""; position: absolute; left: 24px; top: 12px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vthumb:hover .vplay { background: #f00; }
.vcard figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink, #14213d); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-row { text-align: center; margin: 20px 0 0; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.pgrid-item { display: block; border-radius: 14px; overflow: hidden; background: var(--blue-l); }
.pgrid-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ── About section: side menu on desktop, sticky tabs on phones ── */
.about { display: grid; padding-top: 12px; padding-bottom: 40px; }
.about-nav { position: sticky; top: 64px; z-index: 30; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 10px 16px; background: rgba(245, 247, 252, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.about-nav::-webkit-scrollbar { display: none; }
.about-nav a { flex: 0 0 auto; white-space: nowrap; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--blue-l); color: var(--navy); }
.about-nav a.on { background: var(--navy); color: #fff; }
.about-nav-h { display: none; }
.about-main { min-width: 0; max-width: 760px; }
.about-wide { max-width: none; }
.about-head { margin: 12px 0 18px; }
.about-head h1 { font-size: 22px; color: var(--navy); margin: 4px 0 0; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
@media (min-width: 900px) {
  .about { grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 36px; }
  .about-nav { flex-direction: column; gap: 2px; top: 96px; margin: 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; overflow: visible; }
  .about-nav-h { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 14px 8px; }
  .about-nav a { background: none; border-radius: 10px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: normal; }
  .about-nav a:hover { background: var(--blue-l); color: var(--navy); }
  .about-nav a.on { background: var(--blue-l); color: var(--navy); font-weight: 800; box-shadow: inset 3px 0 0 var(--blue); }
  .about-head { margin-top: 0; }
}
.about .prose h2 { font-size: 22px; margin: 1.6em 0 .5em; padding-top: 4px; scroll-margin-top: 140px; }
.about .prose h3 { font-size: 18px; margin: 1.3em 0 .4em; }
.about .prose ol, .about .prose ul { padding-left: 1.5em; margin: 0 0 1em; }
.about .prose li { margin: .45em 0; }
.about .prose li::marker { color: var(--blue); font-weight: 700; }
.about .prose ol[type="a"] { list-style: lower-alpha; margin-top: .4em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; }
.pillars span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 8px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-family: var(--font-ml); font-weight: 700; font-size: 15px; line-height: 1.3; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; }
.toc summary { font-weight: 800; color: var(--navy); cursor: pointer; font-family: var(--font-ml); }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2 200px; column-gap: 24px; font-family: var(--font-ml); font-size: 15px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--navy); }
.prose ol.timeline { list-style: none; padding: 0; margin: 0 0 28px; }
.prose ol.timeline li { position: relative; padding: 0 0 18px 28px; margin: 0; }
.prose ol.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--bg); z-index: 1; }
.prose ol.timeline li::after { content: ""; position: absolute; left: 5px; top: 5px; bottom: -5px; width: 2px; background: var(--blue-l); }
.prose ol.timeline li:last-child::after { display: none; }
.prose ol.timeline b { display: block; color: var(--navy); font-size: 15px; line-height: 1.5; }
.prose ol.timeline span { display: block; color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.pn:hover { border-color: var(--blue); }
.pn small { color: var(--muted); font-size: 12px; }
.pn b { color: var(--navy); font-size: 15px; }
.pn-next { grid-column: 2; text-align: right; }

/* Desktop "About" dropdown */
.dd { position: relative; }
.dd-top::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; padding: 6px; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(14, 30, 70, .14); z-index: 50; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.nav .dd-menu a { display: block; border-radius: 10px; padding: 10px 12px; font-size: 14px; }

/* Contact form */
.contact-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.contact-form-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.contact-form-box h2 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.cform { display: grid; gap: 14px; }
.cform label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.cform input, .cform textarea { width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcff; color: var(--ink); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 64, 200, .12); background: #fff; }
.cform .bad input, .cform .bad textarea { border-color: #d33; }
.f-err { color: #c62828; font-size: 13px; font-weight: 600; }
.req { color: #c62828; }
.opt { color: var(--muted); font-weight: 400; }
.f-alert { background: #fff4e5; border: 1px solid #ffd59a; color: #8a4b00; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.f-ok { background: #ecf9f1; border: 1px solid #b7e4c7; color: #135c32; border-radius: 12px; padding: 14px; }
.f-ok p { margin: 8px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .btn { justify-self: start; }

/* Back-to-top button */
.to-top { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 45; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 8px 22px rgba(14, 30, 70, .28); opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top[hidden] { display: flex; }
@media (min-width: 900px) { .to-top { bottom: 24px; right: 24px; } }

/* ── About v2: banner header, single centred column, no side menu ── */
.page-hero { background: radial-gradient(120% 140% at 0% 0%, #2a57c9 0%, var(--navy) 55%, #0e1f45 100%); color: #fff; }
.page-hero-in { padding-top: 28px; padding-bottom: 30px; }
.page-hero .eyebrow { color: rgba(255, 255, 255, .7); }
.page-hero h1 { margin: 6px 0 0; font-size: 26px; line-height: 1.25; color: #fff; }
@media (min-width: 900px) { .page-hero-in { padding-top: 44px; padding-bottom: 46px; } .page-hero h1 { font-size: 30px; } }
.about { display: block; max-width: 860px; padding-top: 0; }
.about-main, .about-wide { max-width: none; padding-top: 20px; }
.about-head { display: none; }
@media (min-width: 900px) {
  .about { padding-top: 0; }
  .about-nav { display: none; }
  .about-main { padding-top: 36px; }
}
.about .about-wide { max-width: none; }
.about:has(.about-wide) { max-width: 1120px; }

/* Long pages: section headings and contents */
.about .prose h2 { position: relative; font-size: 21px; margin: 2em 0 .7em; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.about .prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; border-radius: 3px; background: var(--blue); }
.about .prose h3 { display: inline-block; font-size: 16px; margin: 1.4em 0 .5em; padding: 5px 12px; border-radius: 999px; background: var(--blue-l); color: var(--navy); }
.toc { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 24px; }
.toc-h { display: block; font-family: var(--font-ml); font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.toc-list { display: grid; gap: 6px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .toc-list { grid-template-columns: 1fr 1fr; } }
.toc-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-family: var(--font-ml); font-size: 15px; font-weight: 600; background: var(--bg); }
.toc-list a:hover { background: var(--blue-l); color: var(--navy); }
.toc-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-size: 12px; font-family: var(--font); }

/* Leadership: every group centred */
.leaders-sub { text-align: center; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.leader-group { margin: 0 0 30px; text-align: center; }
.leader-group h2 { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: 17px; margin: 0 0 14px; }
.leader-group h2::before, .leader-group h2::after { content: ""; flex: 1 1 0; max-width: 120px; height: 1px; background: var(--line); }
.leaders, .leaders-lead { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: none; }
.leaders .leader { flex: 0 0 calc(50% - 6px); max-width: 220px; }
@media (min-width: 640px) { .leaders .leader { flex-basis: 200px; } }
.leaders-lead .leader { flex: 0 0 260px; max-width: 100%; }
.page-hero-in { max-width: 860px; }

/* Contact v2: details list with icons; on phones the details come first */
.contact-hero { max-width: 1120px; }
.contact-layout { display: grid; gap: 18px; }
.cinfo { order: -1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 16px; }
.cinfo h2 { font-size: 18px; color: var(--navy); margin: 10px 0 4px; }
.ci { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.cinfo h2 + .ci { border-top: 0; }
a.ci:hover b { color: var(--blue); }
.ci-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-l); color: var(--navy); }
.ci-wa { background: #e7f8ee; color: #1a9e54; }
.ci-t { display: flex; flex-direction: column; min-width: 0; }
.ci-t small { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ci-t b { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.45; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .cinfo { order: 0; position: sticky; top: 88px; padding: 10px 20px; }
}

/* Social links */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.soc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; transition: background .15s, transform .15s; }
.soc:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.social-big { justify-content: center; gap: 12px; margin-top: 16px; }
.social-big .soc { width: auto; height: 48px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff; }
.social-big .soc-facebook { background: #1877f2; }
.social-big .soc-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.social-big .soc-youtube { background: #e62117; }
.social-big .soc-x { background: #111; }
.follow { text-align: center; }
.follow h2 { color: var(--navy); margin-bottom: 4px; }
.follow p { color: var(--muted); margin: 0; }

/* Home banners (single or slider). Desktop 12:5, phone image 4:5 when provided. */
.banner-wrap { padding-top: 14px; }
.banner { position: relative; border-radius: 18px; overflow: hidden; background: var(--blue-l); box-shadow: 0 10px 30px rgba(14, 30, 70, .12); }
.banner img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
@media (max-width: 700px) { .banner .has-m img { aspect-ratio: 4 / 5; } .banner { border-radius: 14px; } }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide a { display: block; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); cursor: pointer; transition: width .2s; }
.dot.on { width: 22px; background: #fff; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; display: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
@media (min-width: 900px) { .sl-btn { display: block; } }
