/* =========================================================
   SLCP — inner-page components
   Builds on the tokens in style.css (colours, type, radii,
   shadows) so every inner page matches the approved homepage.
   ========================================================= */

/* ---------- Buttons ---------- */
.btn-slcp, .btn-slcp-outline, .btn-slcp-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn-slcp { background: var(--blue); color: #fff; }
.btn-slcp:hover, .btn-slcp:focus-visible { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }
.btn-slcp-accent { background: var(--accent); color: var(--navy-dark); }
.btn-slcp-accent:hover, .btn-slcp-accent:focus-visible { background: #fff; color: var(--navy-dark); }
.btn-slcp-outline { background: var(--paper); color: var(--blue); border-color: #c6dcef; }
.btn-slcp-outline:hover, .btn-slcp-outline:focus-visible { border-color: var(--blue); background: var(--blue-light); color: var(--navy); }
.btn-slcp-outline small { font-weight: 600; opacity: .75; }
.btn-slcp-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-slcp-ghost:hover, .btn-slcp-ghost:focus-visible { background: #fff; color: var(--navy-dark); border-color: #fff; }

/* ---------- Section headings ---------- */
.section-title { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--navy); margin: 0 0 1.5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head .section-title { margin: 0; }
.section-link { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.section-link i { transition: transform .2s var(--ease); }
.section-link:hover i { transform: translateX(3px); }
.section-count { color: var(--slate); font-size: .86rem; font-weight: 600; }
.pill-tag {
  display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .9rem; border-radius: 999px;
  background: var(--blue-light); color: var(--blue); font-family: var(--font-display);
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pill-tag i { color: var(--accent-dark); }
.pill-tag-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.pill-tag-light i { color: var(--accent); }
.empty-title { font-size: 1rem; margin: 0 0 .25rem; }
/* ---------- Home slider (Web Admin → Home slider) ---------- */
.hero-db .hs { position: relative; height: clamp(420px, 30vw, 560px); display: flex; align-items: center; overflow: hidden; background: var(--hs-bg, var(--navy-dark)); }
.hero-db .hs-media { position: absolute; inset: 0; display: block; }
.hero-db .hs-img { width: 100%; height: 100%; object-fit: var(--hs-fit, cover); object-position: var(--hs-focus, center) center; }
.hero-db .hs-overlay { position: absolute; inset: 0; opacity: var(--hs-ov, .45); background: linear-gradient(180deg, rgba(10,14,45,.55) 0%, rgba(10,14,45,1) 100%); }
.hero-db .hs-content { position: relative; z-index: 2; width: 100%; padding-block: 3rem 3.75rem; }
.hero-db .hs-inner { max-width: 780px; }
.hero-db .hs-align-left { margin-right: auto; text-align: left; }
.hero-db .hs-align-center { margin-inline: auto; text-align: center; }
.hero-db .hs-align-right { margin-left: auto; text-align: right; }
.hero-db .hs-heading { color: var(--hs-hc, #fff); font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.2; margin: 0; text-wrap: balance; }
.hero-db .hs-sub { color: var(--hs-sc, var(--accent)); font-family: var(--font-display); font-weight: 700; font-size: clamp(.98rem, 1.3vw, 1.1rem); letter-spacing: .03em; margin: 1rem 0 0; }
.hero-db .hs-desc { color: var(--hs-tc, rgba(255,255,255,.85)); font-size: .98rem; line-height: 1.7; margin: .85rem 0 0; max-width: 60ch; }
.hero-db .hs-align-center .hs-desc { margin-inline: auto; }
.hero-db .hs-align-right .hs-desc { margin-left: auto; }
.hero-db .hs-btn { display: inline-flex; align-items: center; gap: .55em; margin-top: 1.6rem; padding: .8em 1.75em; border-radius: 999px; font-weight: 700; line-height: 1.2; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .2s var(--ease), filter .2s var(--ease); }
.hero-db .hs-btn:hover, .hero-db .hs-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.06); }
@media (max-width: 991.98px) {
  .hero-db .hs { height: auto; }
  .hero-db .hs-has-text { min-height: 440px; }
  /* Image-only banners: show the whole picture (or the phone version) instead of cropping it. */
  .hero-db .hs-image-only { aspect-ratio: var(--hs-ratio, 16 / 9); }
  .hero-db .hs-image-only .hs-img { object-fit: contain; }
  .hero-db .hs-content { padding-block: 2.75rem 3.5rem; }
}
@media (max-width: 575.98px) { .hero-db .hs-desc { font-size: .93rem; } }

/* ---------- Home slider: text position + button ---------- */
.hero-db .carousel-indicators { left: auto; right: clamp(1rem, 3vw, 2.5rem); margin: 0; justify-content: flex-end; bottom: .85rem; }
.hero-db .hs-v-top { align-items: flex-start; }
.hero-db .hs-v-bottom { align-items: flex-end; }
.hero-db .hs-v-bottom .hs-content { padding-bottom: 3.25rem; }
.hero-db .hs-btn-only .hs-content { padding-block: 1.75rem 3rem; }
.hero-db .hs-btn { gap: .75em; padding: .55em .6em .55em 1.6em; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 12px 28px rgba(4,8,30,.35); backdrop-filter: blur(4px); }
.hero-db .hs-btn-arrow { width: 2.1em; height: 2.1em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.28); transition: transform .25s var(--ease); }
.hero-db .hs-btn:hover .hs-btn-arrow { transform: translateX(3px); }
@media (max-width: 991.98px) {
  .hero-db .hs-btn-only { aspect-ratio: auto; display: block; }
  .hero-db .hs-btn-only .hs-media { position: relative; display: block; aspect-ratio: var(--hs-ratio, 16 / 9); }
  .hero-db .hs-btn-only .hs-overlay { display: none; }
  .hero-db .hs-btn-only .hs-content { padding-block: 1rem 2.6rem; background: var(--hs-bg); }
  .hero-db .hs-btn-only .hs-inner { text-align: center; margin-inline: auto; }
}

/* ---------- About: "Current Status" text full width; 5th stat tile not alone on phones ---------- */
.content-block-full p { max-width: none; }
@media (max-width: 767.98px) { .stat-row .stat-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Home "About SLCP" card: wide President tile ---------- */
.dash-tile.dash-tile-wide { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; text-align: left; gap: .85rem; padding: .8rem 1rem; background: #fff4e0; border-color: #f6d9a6; color: var(--navy-dark); }
.dash-tile.dash-tile-wide .dash-tile-icon { width: 40px; height: 40px; background: var(--accent); color: var(--navy-dark); flex-shrink: 0; font-size: 1.05rem; }
.dash-tile-wide-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.dash-tile-wide-text strong { font-size: .95rem; font-weight: 700; color: var(--navy-dark); }
.dash-tile-wide-text small { font-weight: 600; color: #5b4a2e; font-size: .8rem; line-height: 1.35; }
.dash-tile.dash-tile-wide > .bi { margin-left: auto; color: var(--accent-dark); font-size: 1.05rem; transition: transform .2s var(--ease); }
.dash-tile.dash-tile-wide:hover, .dash-tile.dash-tile-wide:focus-visible { background: #ffeccc; border-color: var(--accent); color: var(--navy-dark); }
.dash-tile.dash-tile-wide:hover > .bi { transform: translateX(3px); }

/* ---------- President page ---------- */
.pres-page { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pres-page-side { position: sticky; top: 132px; }
.pres-page-id { margin-top: 2.25rem; }
.pres-page-id h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: .9rem 0 .3rem; }
.pres-page-title { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; color: var(--navy); margin: 0 0 1.25rem; }
.pres-page-title .bi { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.pres-message { max-width: 74ch; }
.pres-message p:first-child { border-left: 4px solid var(--accent); padding-left: 1.15rem; }
.pres-sign { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .15rem; color: var(--slate); font-size: .92rem; }
.pres-sign strong { color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; }
.pres-past-link { display: flex; align-items: center; gap: 1rem; margin-top: 3.5rem; padding: 1.2rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--mist); color: var(--ink); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.pres-past-link:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.pres-past-link strong { display: block; color: var(--navy); }
.pres-past-link small { color: var(--slate); }
.pres-past-link > .bi { margin-left: auto; color: var(--blue); }
.pres-past-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
@media (max-width: 991.98px) { .pres-page { grid-template-columns: 1fr; } .pres-page-side { position: static; max-width: 320px; } }

/* ---------- Annual Congress: current congress block ---------- */
.cg-feature { margin: 0 0 3.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy-dark); }
.cg-banner { margin: 0; }
.cg-banner img { display: block; width: 100%; height: auto; }
.cg-band { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.5rem 2.25rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.5rem); background: radial-gradient(60% 140% at 100% 0%, rgba(255,255,255,.08), transparent 60%), var(--cg-bg, var(--navy)); color: var(--cg-num, #fff); }
.cg-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-label, var(--accent)); margin-bottom: .45rem; }
.cg-title { color: var(--cg-num, #fff); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.25; margin: 0; }
.cg-title span { display: block; font-size: .62em; font-weight: 600; opacity: .85; margin-top: .25rem; }
.cg-theme { margin: .55rem 0 0; font-size: .88rem; font-style: italic; opacity: .78; max-width: 52ch; }
.cg-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: .8rem 0 0; font-size: .88rem; font-weight: 600; }
.cg-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.cg-meta .bi { color: var(--cg-label, var(--accent)); }
.cg-countdown { display: flex; gap: .65rem; }
.cg-unit { min-width: calc(var(--cg-size, 44px) * 1.75); padding: .7rem .5rem .6rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.cg-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--cg-size, 44px); line-height: 1; color: var(--cg-num, #fff); font-variant-numeric: tabular-nums; }
.cg-lab { display: block; margin-top: .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cg-label, var(--accent)); }
.cg-done { margin: 0; font-weight: 700; color: var(--cg-label, var(--accent)); display: flex; align-items: center; gap: .5rem; }
.cg-btn { display: inline-flex; align-items: center; gap: .75em; padding: .55em .6em .55em 1.5em; border-radius: 999px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 12px 26px rgba(0,0,0,.25); transition: transform .2s var(--ease), filter .2s var(--ease); }
.cg-btn:hover, .cg-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.06); }
.cg-btn-arrow { width: 2.1em; height: 2.1em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.35); }
.cg-list-title { margin-bottom: 1.5rem; }
.cg-done[hidden], .cg-unit[hidden] { display: none; }
@media (max-width: 1199.98px) {
  .cg-band { grid-template-columns: minmax(0, 1fr) auto; }
  .cg-info { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .cg-band { grid-template-columns: 1fr; text-align: center; }
  .cg-meta { justify-content: center; }
  .cg-theme { margin-inline: auto; }
  .cg-countdown { justify-content: center; gap: .45rem; }
  .cg-unit { flex: 1; min-width: 0; padding: .6rem .25rem .5rem; }
  .cg-num { font-size: min(var(--cg-size, 44px), 8.5vw); }
  .cg-lab { font-size: .6rem; letter-spacing: .08em; }
  .cg-action { display: flex; justify-content: center; }
}

/* ---------- Small fixes ---------- */
.page-banner { position: relative; height: 120px; }
.content-block.related-events { margin-top: 30px; }
.pres-current-link { margin: 0 0 3rem; }
@media (min-width: 576px) { .footer-inner .footer-contact { margin-left: auto; justify-content: flex-end; } }
@media (min-width: 1200px) {
  .main-nav .nav-link { text-transform: uppercase; font-size: .76rem; letter-spacing: .05em; padding: .6rem .62rem; }
  .main-nav .nav-link.active::after { left: .62rem; right: .62rem; }
}

/* ---------- Home: small congress box in the Academic Calendar card ---------- */
.cgm { margin-bottom: 1rem; border-radius: var(--radius-md); overflow: hidden; background: var(--cg-bg, var(--navy)); color: var(--cg-num, #fff); box-shadow: var(--shadow-sm); }
.cgm-banner { display: block; padding: .5rem .5rem 0; }
.cgm-banner img { display: block; width: 100%; height: auto; border-radius: 10px; }
.cgm-body { padding: .8rem .95rem 1rem; text-align: center; }
.cgm-eyebrow { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-label, var(--accent)); }
.cgm-title { color: var(--cg-num, #fff); font-size: 1rem; line-height: 1.3; margin: .3rem 0 0; }
.cgm-title span { display: block; font-size: .78rem; font-weight: 600; opacity: .85; }
.cgm-theme { margin: .4rem 0 0; font-size: .72rem; font-style: italic; line-height: 1.45; opacity: .78; }
.cgm-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .8rem; margin: .5rem 0 0; font-size: .74rem; font-weight: 600; }
.cgm-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.cgm-meta .bi { color: var(--cg-label, var(--accent)); }
.cgm-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; margin-top: .75rem; }
.cgm .cg-unit { padding: .45rem .15rem .4rem; border-radius: 10px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
.cgm .cg-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1; color: var(--cg-num, #fff); font-variant-numeric: tabular-nums; }
.cgm .cg-lab { display: block; margin-top: .25rem; font-size: .55rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cg-label, var(--accent)); }
.cgm .cg-done { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 700; color: var(--cg-label, var(--accent)); }
.cgm .cg-done[hidden], .cgm .cg-unit[hidden] { display: none; }
.cgm-btn { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; padding: .5rem 1.1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; transition: transform .2s var(--ease), filter .2s var(--ease); }
.cgm-btn:hover, .cgm-btn:focus-visible { transform: translateY(-1px); filter: brightness(1.06); }
@media (min-width: 992px) { .cgm-theme { display: none; } .cgm-body { padding: .7rem .85rem .85rem; } .cgm-countdown { margin-top: .6rem; } .cgm-btn { margin-top: .65rem; } }

/* ---------- Footer contact ---------- */
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; white-space: nowrap; transition: color .2s var(--ease); }
.footer-contact a:hover, .footer-contact a:focus-visible { color: var(--accent); }
.footer-contact-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.footer-social:empty { display: none; }

/* ---------- Icon tabs (News, About SLCP) — same look as homepage tiles ---------- */
.icon-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .7rem; margin: 0 0 3rem; padding: 4px 0 2rem; border-bottom: 1px solid var(--border); }
.icon-tab { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1rem .5rem .95rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--mist); color: var(--ink); font-size: .76rem; font-weight: 600; line-height: 1.25; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.icon-tab-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue-light); color: var(--blue); font-size: 1.02rem; transition: background .2s var(--ease), color .2s var(--ease); }
.icon-tab:hover, .icon-tab:focus-visible { background: #fff; border-color: var(--blue); color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.icon-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-sm); transform: none; }
.icon-tab.is-active .icon-tab-icon { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 767.98px) {
  .icon-tabs { grid-auto-columns: 108px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 1.5rem; margin-bottom: 2.25rem; }
  .icon-tabs::-webkit-scrollbar { display: none; }
  .icon-tab { scroll-snap-align: start; }
}
.icon-tabs + .content-block { margin-top: 0; padding-top: 0; border-top: 0; }
/* ---------- History journey map (about-slcp) ---------- */
.journey { --j-gap: .85rem; display: grid; grid-template-columns: 150px repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: var(--j-gap); margin-top: 2rem; }
.journey-labels, .journey-stage { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; gap: var(--j-gap); min-width: 0; }
.journey-labels > span { display: flex; align-items: center; justify-content: center; text-align: center; padding: .9rem .75rem; border-radius: var(--radius-sm); background: #fdf3e3; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.journey-labels > span:first-child { background: var(--navy-dark); color: #fff; border-radius: var(--radius-sm) 0 0 var(--radius-sm); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.journey-head { display: flex; align-items: center; gap: .65rem; min-height: 66px; padding: .7rem 1.7rem .7rem 1.55rem; background: var(--blue); color: #fff; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.journey-stage:nth-child(3) .journey-head { background: #1b5a9c; }
.journey-stage:nth-child(4) .journey-head { background: #23468e; }
.journey-stage:nth-child(5) .journey-head { background: var(--navy); }
.journey-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.journey-head-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.journey-num { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.journey-short { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.journey-milestone { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: .9rem 1.05rem; border-radius: var(--radius-sm); background: var(--blue-light); color: var(--navy); font-weight: 600; font-size: .86rem; line-height: 1.45; }
.journey-milestone .bi { color: var(--accent-dark); margin-right: .4rem; }
.journey-story { min-width: 0; padding: 1.15rem 1.15rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow-sm); }
.journey-story h3 { font-size: 1rem; line-height: 1.35; color: var(--navy); margin: 0 0 .65rem; }
.content-block .journey-text p { font-size: .88rem; line-height: 1.7; margin: 0 0 .75rem; max-width: none; }
.journey-text.prose-clamp { max-height: 14.5rem; }
.journey-story { display: flex; flex-direction: column; }
.journey .text-toggle { font-size: .84rem; margin-top: auto; padding-top: .45rem; align-self: flex-start; }
.journey-cell-label { display: none; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 991.98px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 1.25rem; }
  .journey-labels { display: none; }
  .journey-stage { grid-row: auto; display: flex; flex-direction: column; gap: .6rem; }
  .journey-cell-label { display: block; }
  .journey-story { flex: 1; }
}
@media (max-width: 575.98px) {
  .journey { grid-template-columns: 1fr; }
  .journey-head { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
}

.content-subnav + .content-block { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Rich text (content written in Web Admin) ---------- */
.prose { color: var(--slate); line-height: 1.8; font-size: 1rem; max-width: 76ch; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1rem; }
.prose h2 { font-size: 1.35rem; margin: 2.25rem 0 .9rem; color: var(--navy); }
.prose h3 { font-size: 1.1rem; margin: 1.75rem 0 .6rem; color: var(--navy); }
.prose h4 { font-size: 1rem; margin: 1.4rem 0 .5rem; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: rgba(20,109,172,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }
.prose img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; opacity: 1; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.75rem; font-size: .9rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .8rem; vertical-align: top; text-align: left; }
.prose tr:first-child td, .prose th { background: var(--mist); color: var(--navy); font-weight: 700; }
.prose td p { margin: 0; }
.prose-sm { font-size: .92rem; }
.prose-clamp { max-height: 15.5em; overflow: hidden; position: relative; transition: max-height .4s var(--ease); }
.prose-clamp::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5em; background: linear-gradient(180deg, rgba(255,255,255,0), var(--paper)); pointer-events: none; transition: opacity .3s; }
.prose-clamp.is-expanded { max-height: none; }
.prose-clamp.is-expanded::after { opacity: 0; }
.text-toggle { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 700; font-size: .92rem; }
.text-toggle i { transition: transform .25s var(--ease); }
.text-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* ---------- Presidents ---------- */
.president-feature {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start; padding: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 70%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.president-feature-photo { position: relative; }
.president-feature-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue), var(--navy)); }
.president-feature-photo img, .president-feature-placeholder { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--blue-light); }
.president-feature-placeholder { display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--blue); }
.president-feature-body h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin: 1rem 0 .35rem; }
.president-quals { color: var(--blue); font-weight: 600; font-size: .95rem; margin: 0 0 1.4rem; }
.president-msg-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin: 0 0 .75rem; font-family: var(--font-display); }
@media (max-width: 767.98px) {
  .president-feature { grid-template-columns: 1fr; }
  .president-feature-photo { max-width: 280px; }
}

/* ---------- Councils ---------- */
.council-feature { margin-bottom: 3.5rem; }
.council-feature-head { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-bottom: 1.4rem; }
.council-feature-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0; }
.council-photo-frame-lg { aspect-ratio: auto; }
.council-photo-frame-lg .council-photo-inner { height: auto; }
.council-photo-frame-lg .council-photo-inner img { height: auto; max-height: 640px; object-fit: contain; background: #0e1338; }
.council-members { max-width: none; margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.council-members h3 { grid-column: auto; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin: 0 0 .5rem; }
.council-members p { font-size: .95rem; }
@media (max-width: 767.98px) { .council-members { grid-template-columns: 1fr; } }
.council-details { margin-top: .6rem; text-align: left; }
.council-details summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: .88rem; text-align: center; list-style: none; }
.council-details summary::-webkit-details-marker { display: none; }
.council-details summary::after { content: " ▾"; }
.council-details[open] summary::after { content: " ▴"; }
.council-details .prose { font-size: .9rem; margin-top: .75rem; }

/* ---------- Event cards ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
@media (max-width: 991.98px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ev-grid { grid-template-columns: 1fr; gap: 1.4rem; } }
.ev-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.ev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.ev-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--navy-light); overflow: hidden; }
.ev-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ev-card:hover .ev-card-media img { transform: scale(1.04); }
.ev-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--navy); opacity: .35; background: linear-gradient(135deg, var(--blue-light), var(--navy-light)); }
.ev-date-chip { position: absolute; left: 1rem; top: 1rem; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: .45rem .5rem .4rem; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-sm); color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.ev-date-chip strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); letter-spacing: 0; }
.ev-date-chip small { font-size: .64rem; color: var(--slate); margin-top: .1rem; }
.ev-flag { position: absolute; right: 1rem; top: 1rem; background: var(--accent); color: var(--navy-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.ev-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ev-cat { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.ev-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 0; }
.ev-card h3 a { color: var(--navy); }
.ev-card h3 a:hover { color: var(--blue); }
.ev-card p { color: var(--slate); font-size: .88rem; margin: .1rem 0 0; }
.ev-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--slate); font-size: .8rem; font-weight: 500; }
.ev-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.ev-meta i { color: var(--blue); }

.type-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: -1.5rem 0 2rem; }
.section-head .type-filter { margin: 0; }
.type-filter-label { font-size: .8rem; font-weight: 700; color: var(--slate); margin-right: .2rem; }
.type-filter a { font-size: .8rem; font-weight: 600; color: var(--slate); padding: .3rem .75rem; border-radius: 999px; background: var(--mist); }
.type-filter a:hover { color: var(--navy); background: var(--blue-light); }
.type-filter a.is-active { background: var(--navy); color: #fff; }
@media (max-width: 991.98px) {
  .type-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 2.5rem 2px 0; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .type-filter::-webkit-scrollbar { display: none; }
  .type-filter a, .type-filter-label { flex-shrink: 0; white-space: nowrap; }
}

.type-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .type-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .type-tiles { grid-template-columns: 1fr; } }
.type-tile { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.type-tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--ink); }
.type-tile-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.type-tile strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: .96rem; }
.type-tile small { display: block; color: var(--slate); font-size: .8rem; line-height: 1.4; margin-top: .1rem; }
.type-tile-arrow { margin-left: auto; color: var(--slate-light); transition: transform .2s var(--ease), color .2s var(--ease); }
.type-tile:hover .type-tile-arrow { color: var(--blue); transform: translateX(3px); }

/* ---------- Detail pages (event, oration, news, content page) ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.detail-layout.is-single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991.98px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-main { min-width: 0; }
.detail-section + .detail-section, .detail-cover + .detail-section, .detail-section + .prose, .prose + .detail-section { margin-top: 3rem; }
.detail-cover { margin: 0 0 2.25rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.detail-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.detail-side { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 132px; }
@media (max-width: 991.98px) { .detail-side { position: static; } }
.info-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.info-card-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin: 0 0 1rem; }
.info-list { margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.info-list:last-child { margin-bottom: 0; }
.info-list dt { font-size: .76rem; font-weight: 700; color: var(--slate); display: flex; align-items: center; gap: .4rem; }
.info-list dt i { color: var(--blue); }
.info-list dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; font-size: .95rem; word-break: break-word; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; padding: .25rem 0; }
.article-date { color: var(--slate); font-size: .9rem; display: flex; align-items: center; gap: .45rem; margin: .9rem 0 0; }
.article-standfirst { font-size: 1.12rem; color: var(--ink); line-height: 1.7; font-weight: 500; margin-bottom: 1.5rem; max-width: 70ch; }
.side-list, .side-nav { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: .7rem 0; border-bottom: 1px solid var(--border); }
.side-list li:first-child { padding-top: 0; }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { color: var(--navy); font-weight: 600; font-size: .92rem; line-height: 1.4; display: block; }
.side-list a:hover { color: var(--blue); }
.side-list span { font-size: .78rem; color: var(--slate); }
.side-nav li + li { margin-top: .25rem; }
.side-nav a { display: flex; align-items: center; gap: .65rem; padding: .55rem .65rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .9rem; }
.side-nav a i { color: var(--blue); width: 1.1rem; text-align: center; }
.side-nav a:hover { background: var(--blue-light); color: var(--navy); }

/* ---------- Photo gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 767.98px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } }
.detail-layout.is-single .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .detail-layout.is-single .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--mist); }
.photo-grid > .photo-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 767.98px) { .photo-grid > .photo-tile:first-child { grid-row: span 1; aspect-ratio: 4 / 3; } }
.photo-grid > .photo-tile:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s var(--ease); }
.photo-tile:hover img { transform: scale(1.05); filter: brightness(.88); }
.photo-tile-zoom { position: absolute; right: .7rem; bottom: .7rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: .9rem; opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.photo-tile:hover .photo-tile-zoom, .photo-tile:focus-visible .photo-tile-zoom { opacity: 1; transform: scale(1); }

.gl-box { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 11, 36, .94); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4.5rem; opacity: 0; transition: opacity .2s ease; }
.gl-box.is-open { opacity: 1; }
.gl-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.gl-figure img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .2s ease; }
.gl-box.is-loading .gl-figure img { opacity: .35; }
.gl-figure figcaption { display: flex; gap: 1rem; justify-content: space-between; width: 100%; color: rgba(255,255,255,.85); font-size: .9rem; margin-top: .9rem; }
.gl-count { color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: auto; }
.gl-close, .gl-nav { position: absolute; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.gl-close:hover, .gl-nav:hover { background: rgba(255,255,255,.26); }
.gl-close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.1rem; }
.gl-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.3rem; }
.gl-prev { left: 1rem; } .gl-next { right: 1rem; }
body.gl-open { overflow: hidden; }
@media (max-width: 575.98px) {
  .gl-box { padding: 3.5rem .75rem 5rem; }
  .gl-nav { top: auto; bottom: 1rem; transform: none; width: 46px; height: 46px; }
  .gl-prev { left: calc(50% - 56px); } .gl-next { right: calc(50% - 56px); }
}

/* ---------- Files, links, video ---------- */
.file-list, .link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.file-list a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--ink); transition: border-color .2s var(--ease), background .2s var(--ease); }
.file-list a:hover { border-color: var(--blue); background: var(--blue-light); color: var(--ink); }
.file-icon { width: 40px; height: 40px; border-radius: 10px; background: #fdecea; color: #c0392b; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.file-text { flex: 1; min-width: 0; }
.file-text strong { display: block; font-size: .88rem; line-height: 1.35; color: var(--navy); }
.file-text small { color: var(--slate); font-size: .74rem; }
.file-action { color: var(--blue); font-size: 1.05rem; }
.link-list a { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: var(--radius-md); background: var(--mist); font-weight: 600; font-size: .9rem; color: var(--navy); }
.link-list a span { flex: 1; }
.link-list a:hover { background: var(--blue-light); }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Journals ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 991.98px) { .journal-grid { grid-template-columns: 1fr; } }
.journal-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.75rem; padding: 1.75rem; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (max-width: 479.98px) { .journal-card { grid-template-columns: 1fr; } .journal-cover { max-width: 210px; } }
.journal-cover { display: block; aspect-ratio: 3 / 4; border-radius: 6px 12px 12px 6px; overflow: hidden; box-shadow: -6px 0 0 var(--navy-dark) inset, var(--shadow-md); transition: transform .3s var(--ease); background: var(--navy); }
.journal-cover:hover { transform: translateY(-4px) rotate(-1deg); }
.journal-cover img { width: 100%; height: 100%; object-fit: cover; }
.journal-cover-placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 1.25rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem; background: linear-gradient(160deg, var(--blue), var(--navy-dark)); }
.journal-cover-placeholder i { font-size: 2rem; color: var(--accent); }
.journal-body { display: flex; flex-direction: column; }
.journal-issue { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.journal-body h2 { font-size: 1.25rem; margin: .45rem 0 .35rem; }
.journal-sub { color: var(--slate); font-size: .92rem; margin-bottom: 1rem; }
.journal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .75rem; }

/* ---------- Orations ---------- */
.oration-feature { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: radial-gradient(70% 120% at 100% 0%, rgba(248,174,66,.16), transparent 60%), linear-gradient(120deg, var(--navy-dark), #1d3f86 60%, var(--blue)); color: #fff; box-shadow: var(--shadow-lg); margin-bottom: 3.5rem; transition: transform .3s var(--ease); }
.oration-feature:hover { transform: translateY(-4px); color: #fff; }
.oration-feature-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,.5); }
.oration-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.oration-feature h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.35; margin: 1rem 0; text-wrap: balance; }
.oration-orator { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0 0 1.25rem; }
.oration-orator strong { color: #fff; font-size: 1.05rem; }
.oration-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--accent); }
@media (max-width: 767.98px) { .oration-feature { grid-template-columns: 1fr; } .oration-feature-photo { width: 160px; } }
/* Orations page: the namesake + this year's oration, side by side */
.oration-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; align-items: stretch; margin-bottom: 3.5rem; }
.oration-duo > :only-child { grid-column: 1 / -1; }
.oration-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.oration-card-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.35rem; align-items: center; padding: 1.6rem 1.6rem 1.5rem; }
.oration-card-head { background: radial-gradient(70% 120% at 100% 0%, rgba(248,174,66,.18), transparent 60%), linear-gradient(120deg, var(--navy-dark), #1d3f86 60%, var(--blue)); color: #fff; }
.oration-card-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,.5); border: 4px solid #fff; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--slate-light); }
.oration-card-head .oration-card-photo { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }
.oration-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.oration-card-head h2 { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.38; margin: .75rem 0 0; color: var(--navy); text-wrap: balance; }
.oration-card-head h2 { color: #fff; }
.oration-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.6rem 1.5rem; }
.oration-card-body .prose { max-width: none; }
.oration-card-body .prose-clamp { max-height: 13.5em; }
.oration-card-body .text-toggle, .oration-card-link { margin-top: auto; padding-top: .75rem; align-self: flex-start; }
.oration-card-orator { color: var(--slate); font-size: .92rem; margin: 0 0 .85rem; }
.oration-card-orator strong { color: var(--navy); font-size: 1rem; }
.oration-card-text { color: var(--slate); font-size: .92rem; line-height: 1.75; margin: 0; }
.oration-card-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; }
.oration-card-link i { transition: transform .2s var(--ease); }
.oration-card-link:hover i { transform: translateX(3px); }
@media (max-width: 991.98px) { .oration-duo { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .oration-card-head { grid-template-columns: 1fr; gap: 1rem; padding: 1.35rem 1.25rem; } .oration-card-photo { width: 108px; } .oration-card-body { padding: 1.2rem 1.25rem 1.3rem; } }
.oration-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.oration-list a { display: flex; align-items: center; gap: 1.25rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--border); color: var(--ink); }
.oration-list a:hover { background: var(--mist); }
.oration-year { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 1.2rem; min-width: 3.5rem; }
.oration-list-text { flex: 1; }
.oration-list-text strong { display: block; color: var(--navy); }
.oration-list-text small { color: var(--slate); }
.orator-card { text-align: center; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); }
.orator-photo { width: 150px; height: 150px; margin: 0 auto 1.1rem; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.orator-photo img, .orator-photo i { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--paper); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--blue); background: var(--blue-light); }
.orator-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.orator-card h2 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.orator-card p { color: var(--slate); font-size: .88rem; margin-bottom: .6rem; }
.orator-card a { font-size: .85rem; font-weight: 600; word-break: break-all; }
.legacy-block { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; padding: 2rem; background: var(--mist); border-radius: var(--radius-lg); }
.legacy-photo { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.legacy-title { font-size: 1.25rem; margin: .6rem 0 1rem; }
@media (max-width: 767.98px) { .legacy-block { grid-template-columns: 1fr; padding: 1.5rem; } .legacy-photo { max-width: 200px; } }

/* ---------- News ---------- */
.news-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 2.5rem; color: var(--ink); transition: box-shadow .3s var(--ease); }
.news-feature:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.news-feature-media { min-height: 280px; background: var(--navy-light); }
.news-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.news-feature-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.news-feature-body p { color: var(--slate); margin: 0; }
.read-more { font-weight: 700; color: var(--blue); display: inline-flex; gap: .4rem; align-items: center; }
@media (max-width: 767.98px) { .news-feature { grid-template-columns: 1fr; } .news-feature-media { min-height: 200px; } }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
@media (max-width: 991.98px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-media { display: block; aspect-ratio: 16 / 9; background: var(--navy-light); overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.news-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--navy); opacity: .3; background: linear-gradient(135deg, var(--blue-light), var(--navy-light)); }
.news-card-body { padding: 1.25rem 1.35rem 1.4rem; }
.news-card h3 { font-size: 1.04rem; line-height: 1.4; margin: .55rem 0 .5rem; }
.news-card h3 a { color: var(--navy); }
.news-card p { color: var(--slate); font-size: .88rem; margin: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .78rem; color: var(--slate); font-weight: 500; }
.news-cat { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: var(--blue); }

/* ---------- RESPIRE ---------- */
.respire-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-dark); box-shadow: var(--shadow-lg); margin-bottom: 1.5rem; }
.respire-hero-media { min-height: 320px; background: linear-gradient(135deg, var(--blue), var(--navy-dark)); }
.respire-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.respire-hero-body { padding: clamp(1.75rem, 4vw, 3rem); color: #fff; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(90% 90% at 100% 0%, rgba(248,174,66,.14), transparent 60%), linear-gradient(160deg, #1d2466, var(--navy-dark)); }
.respire-hero-body h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 1rem 0 1rem; text-wrap: balance; }
.respire-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; color: rgba(255,255,255,.85); }
.respire-facts li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.respire-facts i { color: var(--accent); }
.respire-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 991.98px) { .respire-hero { grid-template-columns: 1fr; } .respire-hero-media { min-height: 220px; max-height: 360px; } }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3.5rem; }
@media (max-width: 991.98px) { .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .quick-links { grid-template-columns: 1fr; } }
.quick-links a { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border-radius: var(--radius-md); background: var(--mist); border: 1px solid var(--border); color: var(--ink); transition: background .2s var(--ease), border-color .2s var(--ease); }
.quick-links a:hover { background: var(--paper); border-color: var(--blue); color: var(--ink); }
.quick-links i { font-size: 1.3rem; color: var(--blue); }
.quick-links strong { display: block; color: var(--navy); font-size: .92rem; font-family: var(--font-display); }
.quick-links small { display: block; color: var(--slate); font-size: .78rem; line-height: 1.35; }

.speaker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
@media (max-width: 1199.98px) { .speaker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; } }
.speaker-card { text-align: center; }
.speaker-photo { position: relative; width: min(100%, 168px); aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--blue); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--blue-light); transition: box-shadow .25s var(--ease); }
.speaker-card:hover .speaker-photo { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--accent); }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.speaker-flag { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--navy-dark); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; }
.speaker-card h3 { font-size: .98rem; margin: 0 0 .35rem; }
.speaker-card p { color: var(--slate); font-size: .82rem; line-height: 1.5; margin: 0; }

/* ---------- Downloads ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.doc-list li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.doc-list li:hover { border-color: #c6dcef; box-shadow: var(--shadow-sm); }
.doc-text { flex: 1; min-width: 0; }
.doc-text h3 { font-size: 1rem; margin: 0 0 .2rem; }
.doc-text p { color: var(--slate); font-size: .88rem; margin: 0 0 .2rem; }
.doc-text small { color: var(--slate-light); font-size: .76rem; font-weight: 600; }
@media (max-width: 575.98px) { .doc-list li { flex-wrap: wrap; } .doc-list .btn-slcp-outline { width: 100%; } }

/* ---------- Section hubs (Assemblies, World Days) ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-tile { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.6rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.hub-tile::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--navy)); transform: scaleX(.22); transform-origin: left; transition: transform .35s var(--ease); }
.hub-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-light); color: var(--ink); }
.hub-tile:hover::after { transform: scaleX(1); }
.hub-tile-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.1rem; box-shadow: 0 8px 20px rgba(20,109,172,.25); }
.hub-tile h2 { font-size: 1.08rem; margin: 0 0 .5rem; }
.hub-tile p { color: var(--slate); font-size: .88rem; margin: 0 0 1rem; }
.hub-tile-more { margin-top: auto; font-weight: 700; font-size: .86rem; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Pagination ---------- */
.pager { margin-top: 2.5rem; }
.pager ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.pager a, .pager span { display: inline-flex; min-width: 42px; height: 42px; padding: 0 .6rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; color: var(--ink); background: var(--paper); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager span[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Section titles inside content blocks reuse spacing */
.content-block > .section-title:first-child { margin-top: 0; }
.coming-soon-card { margin-top: 0; }
