:root {
  --primary: #102e63;
  --primary-dark: #09234e;
  --primary-mid: #16447e;
  --accent: #e9ae32;
  --accent-hover: #d89b1e;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --text: #22324a;
  --muted: #64748b;
  --border: #e2e8f2;
  --card-shadow: 0 4px 20px rgba(16, 46, 99, 0.05);
  --hover-shadow: 0 10px 26px rgba(16, 46, 99, 0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body.ab-body {
  font-family: "Noto Sans Bengali", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ==========================================================================
   1. HEADER (Glassmorphic Sticky Navy + Gold Brand)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e1e8f3;
  position: sticky;
  top: 0;
  z-index: 120;
  box-shadow: 0 2px 14px rgba(9, 35, 78, 0.05);
}

.header-inner {
  max-width: 1220px;
  margin: auto;
  min-height: 70px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 46, 99, 0.22);
}

.brand span.brand-accent { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu > ul > li,
.nav-menu li.menu-item-has-children {
  position: relative;
}

.nav-menu > ul > li > a,
.nav-menu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1c3154;
  padding: 9px 13px;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.nav-menu > ul > li > a:hover,
.nav-menu > a:hover {
  background: #f2f6fd;
  color: var(--primary);
}

.nav-menu a.is-active,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-ancestor > a {
  background: #eff4fc;
  color: var(--primary);
  box-shadow: inset 0 -2.5px 0 var(--accent);
}

.nav-menu li.menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.65;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-menu li.menu-item-has-children:hover > a::after,
.nav-menu li.menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg) translateY(-1px);
  opacity: 1;
}

/* Desktop Dropdown Sub-Menu */
.nav-menu ul.sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 235px;
  background: #ffffff;
  border: 1px solid #d9e4f5;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  box-shadow: 0 16px 38px rgba(9, 35, 78, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 250;
}

.nav-menu ul.sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-menu li.menu-item-has-children:hover > ul.sub-menu,
.nav-menu li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu ul.sub-menu li a {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #263c61;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}

.nav-menu ul.sub-menu li a:hover {
  background: #f2f6fd;
  color: var(--primary);
  padding-left: 16px;
}

.nav-menu ul.sub-menu li.current-menu-item > a {
  background: #edf3fc;
  color: var(--primary);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--accent);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d5e1f2;
  border-radius: 9px;
  background: #f5f8fd;
  padding: 7px 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.menu-toggle span { font-size: 13px; }
.menu-toggle:hover { background: #eaf1fb; border-color: #b7cae6; }

/* ==========================================================================
   2. HERO (Deep Navy Spotlight + Slanted Gold Divider + Crest)
   ========================================================================== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(233, 174, 50, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    linear-gradient(125deg, #071d42 0%, #102e63 52%, #184b8c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -110px;
  top: -240px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(233,174,50,.18);
  border-radius: 50%;
  right: -20px;
  top: -150px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1220px;
  margin: auto;
  padding: 46px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  position: relative;
  z-index: 2;
}

.hero-content { flex: 1; min-width: 0; padding-bottom: 0; }
.hero-inner.is-no-tabs .hero-content { padding-bottom: 40px; }

.breadcrumb {
  font-size: 13px;
  color: #cbd8ec;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.session-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffd573;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
}

.ab-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 13px;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero h1 .hl-gold { color: var(--accent); }
.single-post .hero h1,
.hero.is-post-hero h1 {
  font-size: clamp(23px, 2.8vw, 33px);
  line-height: 1.28;
}

.hero-description {
  color: #dbe6f7;
  font-size: 15.5px;
  line-height: 1.78;
  margin-bottom: 20px;
}

.hero-description p { margin: 0 0 10px; color: #dbe6f7; }
.hero-description p:last-child { margin-bottom: 0; }

.hero-meta-line {
  font-size: 13px;
  color: #cbd8ec;
  font-weight: 600;
  margin-top: -6px;
  margin-bottom: 10px;
}

.hero-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 0;
  margin-top: 8px;
}

.hero-tabs a {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-bottom: 0;
  background: rgba(255,255,255,.06);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  transition: all .18s;
}

.hero-tabs a:hover {
  background: rgba(255,255,255,.16);
  color: #ffffff;
}
.hero-tabs a.active {
  background: var(--accent);
  color: #09234e;
  border-color: var(--accent);
}

/* CIRCULAR CREST */
.hero-logo {
  width: 205px;
  height: 205px;
  min-width: 205px;
  border-radius: 50%;
  background: #fff;
  border: 8px solid rgba(255,255,255,.22);
  box-shadow: 0 0 0 10px rgba(233, 174, 50, 0.12), 0 16px 38px rgba(0,0,0,.28);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 16px;
  margin-bottom: 36px;
  color: var(--primary);
  overflow: hidden;
}

.hero-logo img { max-width: 136px; max-height: 136px; object-fit: contain; }
.hero-logo.is-cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.hero-logo.is-rect {
  width: 268px;
  height: 175px;
  min-width: 268px;
  border-radius: 16px;
  border-width: 5px;
  margin-right: 8px;
  margin-bottom: 32px;
  box-shadow: 0 0 0 7px rgba(233, 174, 50, 0.14), 0 16px 36px rgba(0, 0, 0, .28);
}
.hero-logo.is-rect.is-cover {
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 290px;
  background: rgba(255, 255, 255, 0.08);
}
.hero-logo.is-rect.is-cover img {
  width: auto;
  height: auto;
  max-width: 280px;
  max-height: 195px;
  object-fit: contain;
  display: block;
}

.logo-inner { width: 100%; padding: 14px; }
.logo-symbol { font-size: 42px; line-height: 1.2; }
.logo-inner strong { display: block; font-size: 17px; line-height: 1.3; margin-top: 2px; }
.logo-inner small { font-size: 10.5px; color: #64748b; font-weight: 800; display: block; margin-top: 4px; letter-spacing: .04em; }

.hero-bottom {
  height: 12px;
  background: linear-gradient(90deg, var(--accent) 0%, #f6c75c 50%, var(--accent) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%);
}

.hero-bottom.is-dock-bar {
  height: 6px;
  clip-path: none;
  position: relative;
  z-index: 4;
}

/* HANGING UNIVERSITY TABS PINNED UNDER HERO BOTTOM EDGE */
.ab-hanging-tabs-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.ab-hanging-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.ab-hanging-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -1px;
  padding: 10px 17px 11px;
  background: #ffffff;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid #d5e0ef;
  border-top: 3px solid transparent;
  border-radius: 0 0 11px 11px;
  box-shadow: 0 5px 14px rgba(16, 46, 99, 0.08);
  transition: background .15s, color .15s, padding-top .15s, border-color .15s, box-shadow .15s;
}

.ab-hanging-tabs a:hover {
  background: #f5f9ff;
  color: #09234e;
  border-color: #b7c9e2;
  border-top-color: var(--primary);
  padding-top: 13px;
  box-shadow: 0 8px 18px rgba(16, 46, 99, 0.13);
}

.ab-hanging-tabs a.active {
  background: linear-gradient(180deg, #102e63 0%, #09234e 100%);
  color: #ffffff;
  border-color: #09234e;
  border-top: 3px solid var(--accent);
  padding-top: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(9, 35, 78, 0.22);
}

.ab-hanging-tabs-wrap + .container {
  margin-top: 24px;
}

.ab-mobile-tabs-root {
  display: none;
}

@keyframes abTabFabPulse {
  0%, 100% {
    box-shadow: -4px 6px 18px rgba(9, 35, 78, 0.34), 0 0 0 0 rgba(233, 174, 50, 0.65);
    filter: brightness(1);
  }
  50% {
    box-shadow: -4px 6px 22px rgba(9, 35, 78, 0.44), 0 0 0 7px rgba(233, 174, 50, 0);
    filter: brightness(1.12);
  }
}

@keyframes abDotBlink {
  0%, 49% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 8px #fbbf24; }
  50%, 100% { opacity: 0.15; transform: scale(0.8); box-shadow: none; }
}

/* HERO SEARCH + QUICK CHIPS + STATS */
.ab-hero-search-wrap {
  position: relative;
  max-width: 620px;
  margin-bottom: 14px;
}

.ab-hero-search-form {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 14px 32px rgba(5, 19, 44, 0.32);
  gap: 6px;
}

.ab-hero-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--primary);
  background: transparent;
}

.ab-hero-search-btn {
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #09234e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 22px;
  cursor: pointer;
  transition: background .15s;
}
.ab-hero-search-btn:hover { background: var(--accent-hover); }

.ab-live-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(9,35,78,.24);
  overflow: hidden;
  z-index: 90;
}
.ab-live-dropdown.open { display: block; }
.ab-ld-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf0f5;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
}
.ab-ld-item:last-child { border-bottom: 0; }
.ab-ld-item:hover { background: #f2f6fd; }
.ab-ld-tag {
  font-size: 11px;
  font-weight: 700;
  background: #edf2fa;
  color: var(--primary);
  padding: 2px 9px;
  border-radius: 999px;
}

.ab-hero-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ab-hero-chips-lbl {
  font-size: 12px;
  color: #bfd0ea;
  font-weight: 700;
}
.ab-hchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  transition: all .15s;
}
.ab-hchip:hover {
  background: var(--accent);
  color: #09234e;
  border-color: var(--accent);
}

/* ==========================================================================
   3. TWO-COLUMN PORTAL LAYOUT
   ========================================================================== */
.container {
  max-width: 1220px;
  margin: 32px auto 68px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.container.is-no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.toc-title {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 14px 18px;
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding: 8px 15px;
  margin: 0;
}

.toc-list > li { border-bottom: 1px solid #eef2f8; }
.toc-list > li:last-child { border-bottom: 0; }

.toc-list li a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: #35455e;
  transition: color .18s;
}

.toc-list li a:hover,
.toc-list li a.active { color: #b77e12; font-weight: 700; }

.toc-number {
  width: 25px;
  height: 25px;
  min-width: 25px;
  border-radius: 50%;
  background: #edf2fa;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all .18s;
}

.toc-list li a.active .toc-number {
  background: var(--accent);
  color: #09234e;
}

/* Collapsible H3 Toggle inside TOC */
.toc-row { display: flex; align-items: center; gap: 6px; }
.toc-row > a { flex: 1; min-width: 0; }
.toc-toggle {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid #dbe3ef;
  background: #f5f8fd;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.toc-toggle:hover,
.toc-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #09234e;
  border-color: var(--accent);
}
.toc-sublist {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 0 0 0 10px;
  border-left: 2px solid #e2e8f2;
}
.toc-sublist[hidden] { display: none; }
.toc-sublist li a { padding: 6px 0; font-size: 12.5px; color: #53637a; }
.toc-sublist li a.active { color: #b77e12; font-weight: 700; }

/* Navy Sidebar Card (Countdown & Search) */
.sidebar-navy-card {
  background: linear-gradient(145deg, #071d42 0%, #143f7a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(9,35,78,.18);
  border: 1px solid rgba(255,255,255,.08);
}
.sidebar-navy-card h3 { font-size: 15.5px; font-weight: 800; color: #fff; margin: 0 0 5px; }
.sidebar-navy-card p { font-size: 12.5px; color: #d6e2f2; margin: 0 0 10px; }

.ab-cd-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 12px;
}
.ab-cd-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
}
.ab-cd-box span { display: block; font-size: 17px; font-weight: 800; color: #ffd573; line-height: 1.1; }
.ab-cd-box small { display: block; font-size: 10px; color: #cbd8ec; margin-top: 2px; }

.ab-cd-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
  margin: 10px 0;
}
.ab-cd-bar-fill { height: 100%; width: 74%; background: var(--accent); border-radius: 999px; }

.ab-navy-search-form { display: flex; gap: 6px; margin-top: 10px; }
.ab-navy-search-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.14);
  color: #fff;
  padding: 0 11px;
  font-family: inherit;
  font-size: 13px;
}
.ab-navy-search-input::placeholder { color: #cbd5e1; }
.ab-navy-search-input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.2); }
.ab-navy-search-btn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #09234e;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.sidebar-help {
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #edf4ff 0%, #e4eefc 100%);
  border: 1px solid #d5e2f6;
}
.sidebar-help strong { display: block; color: var(--primary); font-size: 14.5px; margin-bottom: 5px; }
.sidebar-help p { color: #4d6280; font-size: 12.5px; margin: 0; }

/* ==========================================================================
   4. ARTICLE & CONTENT CARDS
   ========================================================================== */
.article { min-width: 0; }

.article-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: var(--card-shadow);
}

.article-intro h2 { color: var(--primary); font-size: 21px; font-weight: 800; margin-bottom: 12px; }

.article-intro p,
.article-section p {
  font-size: 14.5px;
  color: #42536b;
  margin-bottom: 12px;
  line-height: 1.8;
}
.article-intro p:last-child,
.article-section p:last-child { margin-bottom: 0; }

.article-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 22px;
  scroll-margin-top: 95px;
  box-shadow: var(--card-shadow);
  transition: box-shadow .2s ease;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 18px;
}

.home .article-section .section-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-bottom: 18px;
}

.home .article-section .section-sub {
  max-width: 680px;
  margin: 5px auto 0;
}

.section-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #edf3fc 0%, #e1ebfa 100%);
  border: 1px solid #d7e3f7;
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.section-heading h2 { color: var(--primary); font-size: 20px; font-weight: 800; line-height: 1.35; margin: 0; }
.home .article-section .section-heading h2 {
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.3;
}
.section-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: #a16f0c;
  background: #fef6e4;
  border: 1px solid #f9e1ab;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.article-section h3,
.article-intro h3 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  margin: 18px 0 8px;
  padding-left: 11px;
  border-left: 3.5px solid var(--accent);
}

.article-section ul,
.article-section ol,
.article-intro ul,
.article-intro ol {
  padding-left: 22px;
  margin: 10px 0 15px;
  color: #42536b;
  font-size: 14.5px;
}
.article-section li,
.article-intro li { margin-bottom: 7px; }

/* TABLES */
.ab-table-scroll,
.tbl { width: 100%; overflow-x: auto; margin: 12px 0; }

.info-table,
.article-section table,
.article-intro table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 4px 0;
}

.info-table th,
.article-section table th,
.article-intro table th {
  background: #edf3fc;
  color: var(--primary);
  text-align: left;
  font-weight: 800;
}

.info-table th,
.info-table td,
.article-section table th,
.article-section table td,
.article-intro table th,
.article-intro table td {
  border: 1px solid #e1e7f0;
  padding: 11px 13px;
  vertical-align: middle;
}

.info-table tr:nth-child(even),
.article-section table tr:nth-child(even) { background: #fafcff; }
.info-table tbody tr:hover { background: #f3f7fe; }

/* INFO CALLOUTS */
.info-box,
.article-section .note,
.article-intro .note,
.article-section blockquote {
  padding: 15px 18px;
  border-radius: 9px;
  background: #fff9ec;
  border: 1px solid #f7e3b5;
  border-left: 4px solid var(--accent);
  font-size: 13.5px;
  color: #6b5322;
  margin: 14px 0;
}

.blue-box,
.article-section blockquote {
  background: #f0f6ff;
  border: 1px solid #d5e4fa;
  border-left: 4px solid var(--primary);
  color: #2f496e;
}

/* GRID ITEMS */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.info-item {
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 10px;
  background: #fcfdff;
  display: block;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
a.info-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--hover-shadow);
}
.info-item strong { display: block; color: var(--primary); font-size: 14px; margin-bottom: 3px; }
.info-item span { font-size: 13px; color: var(--muted); display: block; }

/* ACTION BUTTONS */
.action-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--primary);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  white-space: nowrap;
}
.action-button:hover { background: #16447e; color: #fff; }
.action-button.is-accent { background: var(--accent); border-color: var(--accent); color: #09234e; font-weight: 800; }
.action-button.is-accent:hover { background: var(--accent-hover); }
.action-button.is-admit {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  border-color: #0f766e;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.22);
}
.action-button.is-admit:hover { background: #0f766e; color: #ffffff; }
.action-button.is-outline { background: #ffffff; color: var(--primary); border-color: #d0dcee; }
.action-button.is-outline:hover { background: #eef4fd; border-color: var(--primary); }
.action-button.is-soft { background: #edf3fc; color: var(--primary); border-color: #dbe6f5; }
.action-button.is-soft:hover { background: #dce8fa; }

.ab-btn-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ab-btn-row.is-left { justify-content: flex-start; margin-top: 8px; }

/* FILTERS */
.ab-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  max-width: 100%;
  min-width: 0;
}
.ab-filter-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.ab-pills { display: flex; gap: 7px; flex-wrap: wrap; max-width: 100%; min-width: 0; }
.ab-fpill {
  border: 1px solid #d5e0ef;
  background: #f6f9fe;
  color: var(--primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.ab-fpill.active,
.ab-fpill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.ab-select {
  height: 38px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #d5e0ef;
  border-radius: 8px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--primary);
  background: #fff;
}

/* CONNECTED VERTICAL TIMELINE (#calendar) */
.ab-tl-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding: 4px 0;
}

.ab-tl-row {
  display: grid;
  grid-template-columns: 92px 24px 1fr;
  align-items: center;
  gap: 12px;
}

.ab-tl-row.is-multi {
  align-items: stretch;
}

.ab-tl-row.is-multi .ab-tl-date-box {
  align-self: start;
  position: sticky;
  top: 88px;
  z-index: 3;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease;
}

.ab-tl-row.is-multi.is-card-active .ab-tl-date-box {
  position: relative;
  top: auto;
  transform: translateY(var(--ab-date-y, 0px));
  box-shadow: 0 8px 20px rgba(16, 46, 99, 0.14);
}

.ab-tl-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ab-tl-date-box {
  background: #ffffff;
  border: 1px solid #d5e0ef;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(16, 46, 99, 0.06);
}

.ab-tl-row.is-today .ab-tl-date-box {
  border-color: #eab308;
  background: #fffdf4;
}

.ab-tl-row.is-tone-0 .ab-tl-date-box { border-color: #b8cef0; background: #fbfdff; }
.ab-tl-row.is-tone-1 .ab-tl-date-box { border-color: #99d5cf; background: #f8fdfc; }
.ab-tl-row.is-tone-2 .ab-tl-date-box { border-color: #c7d2fe; background: #fbfaff; }

.ab-tl-wk {
  display: block;
  background: #102e63;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 6px;
  letter-spacing: .02em;
}

.ab-tl-row.is-today .ab-tl-wk { background: #f59e0b; color: #09234e; }
.ab-tl-row.is-tone-0 .ab-tl-wk { background: #102e63; color: #ffffff; }
.ab-tl-row.is-tone-1 .ab-tl-wk { background: #0f766e; color: #ffffff; }
.ab-tl-row.is-tone-2 .ab-tl-wk { background: #4338ca; color: #ffffff; }

.ab-tl-date-box strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  padding: 5px 4px 1px;
  color: var(--primary);
}

.ab-tl-date-box span:last-child {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #536988;
  padding: 0 4px 6px;
}

.ab-tl-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.ab-tl-axis::before {
  content: "";
  position: absolute;
  top: -14px;
  bottom: -14px;
  width: 2px;
  background: #cbd9ea;
}

.ab-tl-row:first-child .ab-tl-axis::before {
  top: 50%;
}

.ab-tl-row:first-child.is-multi .ab-tl-axis::before {
  top: 34px;
}

.ab-tl-row:last-child .ab-tl-axis::before {
  bottom: 50%;
}

.ab-tl-row:last-child.is-multi .ab-tl-axis::before {
  bottom: 34px;
}

.ab-tl-row.is-multi .ab-tl-axis {
  justify-content: flex-start;
  padding: 28px 0;
}

.ab-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  position: relative;
  z-index: 2;
  transition: transform .15s, border-color .15s, background .15s;
}

.ab-tl-row.is-multi .ab-tl-dot {
  position: sticky;
  top: 118px;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), border-color .15s, background .15s;
}

.ab-tl-row.is-multi.is-card-active .ab-tl-dot {
  position: relative;
  top: auto;
  transform: translateY(var(--ab-dot-y, 0px)) scale(1.18);
}

.ab-tl-card.is-engaged {
  box-shadow: var(--hover-shadow);
}

.ab-tl-row.is-tone-0 .ab-tl-dot { border-color: #102e63; }
.ab-tl-row.is-tone-1 .ab-tl-dot { border-color: #0f766e; }
.ab-tl-row.is-tone-2 .ab-tl-dot { border-color: #4338ca; }

.ab-tl-dot.solid,
.ab-tl-row.is-today .ab-tl-dot {
  background: #f59e0b;
  border-color: #09234e;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.ab-tl-row:hover .ab-tl-dot {
  transform: scale(1.15);
}

.ab-tl-card {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid #dbe4f1;
  border-left: 4px solid var(--primary);
  border-radius: 11px;
  padding: 14px 18px;
  background: #f8fbff;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.ab-tl-row.is-tone-0 .ab-tl-card {
  border-color: #cbdcf4;
  border-left: 4px solid #102e63;
  background: #f6f9ff;
}

.ab-tl-row.is-tone-1 .ab-tl-card {
  border-color: #b7e2dc;
  border-left: 4px solid #0f766e;
  background: #f2fbf9;
}

.ab-tl-row.is-tone-2 .ab-tl-card {
  border-color: #cfd7fe;
  border-left: 4px solid #4338ca;
  background: #f7f6ff;
}

.ab-tl-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--hover-shadow);
}

.ab-tl-card.is-today,
.ab-tl-row.is-today .ab-tl-card {
  border-color: #f3c86a;
  border-left: 4px solid #d97706;
  background: #fffcf0;
}

.ab-tl-bg-logo {
  position: absolute;
  left: 56%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  object-fit: contain;
  opacity: 0.085;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ab-tl-card-main {
  position: relative;
  z-index: 1;
  flex: 1 1 360px;
  min-width: 0;
}

.ab-tl-actions {
  position: relative;
  z-index: 1;
}

.ab-tl-top-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.ab-tl-top-meta .ab-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.ab-tl-top-meta .ab-badge.amber { border-color: #f59e0b; background: #fef3c7; color: #92400e; }
.ab-tl-top-meta .ab-badge.green { border-color: #86efac; background: #dcfce7; color: #166534; }
.ab-tl-top-meta .ab-badge.muted { border-color: #cbd5e1; background: #f1f5f9; color: #475569; }

.ab-tl-uni-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e6effc;
  border: 1px solid #b8cef0;
  color: #09234e;
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.ab-tl-type-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #3b0764;
  background: #ede9fe;
  border: 1px solid #a78bfa;
  padding: 2.5px 10px;
  border-radius: 999px;
}

.ab-meta-tag { font-size: 11.5px; font-weight: 800; color: #b77e12; text-transform: uppercase; margin-bottom: 3px; }
.article-section h3.ab-tl-title,
.article-intro h3.ab-tl-title,
.ab-tl-title {
  margin: 0;
  padding: 0;
  border-left: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.48;
}
.ab-tl-sub { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); }
.ab-badge.muted { background: #f1f5f9; color: #64748b; }

/* UNIVERSITY EMBLEMS & GRID */
.ab-uni-cell { display: flex; align-items: center; gap: 11px; }
.ab-emblem-sm {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d8e2f0;
  box-shadow: 0 2px 6px rgba(16,46,99,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
}
.ab-emblem-sm img { max-width: 28px; max-height: 28px; object-fit: contain; }
.ab-emblem-sm span { font-size: 11px; font-weight: 800; color: var(--primary); }

.ab-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf3fc;
  color: var(--primary);
}
.ab-badge.green { background: #dcfce7; color: #166534; }
.ab-badge.amber { background: #fef3c7; color: #92400e; }

.ab-news-list { display: flex; flex-direction: column; gap: 12px; }
.ab-news-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  align-items: start;
  transition: transform .15s, box-shadow .15s;
}
.ab-news-card:hover { transform: translateY(-2px); box-shadow: var(--hover-shadow); }
.ab-news-card.is-urgent { border-left: 4px solid var(--accent); background: #fffdf4; }
.ab-nc-title { margin: 3px 0 6px; font-size: 16px; font-weight: 800; color: var(--primary); line-height: 1.4; }
.ab-nc-title a:hover { color: #b77e12; }
.ab-nc-excerpt { margin: 0; font-size: 13.5px; color: #4e5f78; }

.ab-uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}
.ab-uni-card {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: #fcfdff;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.ab-uni-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--hover-shadow);
  background: #ffffff;
}
.ab-uni-card strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--primary); line-height: 1.25; }
.ab-uni-card small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Accordion FAQ (Native HTML5 <details> + FAQPage Schema) */
.ab-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-faq-item {
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #f9fbfe;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ab-faq-item:hover {
  border-color: #b7cae6;
  background: #ffffff;
}

.ab-faq-item[open] {
  background: #ffffff;
  border-color: #bcd0ee;
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 22px rgba(16, 46, 99, 0.07);
}

.ab-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.48;
}
.ab-faq-q::-webkit-details-marker,
.ab-faq-q::marker {
  display: none;
  content: "";
}

.ab-faq-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 8px;
  background: #eaf1fb;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease;
}

.ab-faq-item[open] .ab-faq-num {
  background: var(--primary);
  color: var(--accent);
}

.ab-faq-q-text {
  flex: 1;
  min-width: 0;
}

.ab-faq-chev {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .18s ease, color .18s ease;
}

.ab-faq-item[open] .ab-faq-chev {
  background: var(--accent);
  color: #09234e;
  transform: rotate(45deg);
}

.ab-faq-a {
  padding: 12px 18px 15px 54px;
  border-top: 1px solid #eef2f8;
  color: #3d4d65;
  font-size: 14.2px;
  line-height: 1.72;
}
.ab-faq-a p { margin: 0 0 8px; }
.ab-faq-a p:last-child { margin-bottom: 0; }

.faq-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border: 0; }
.faq-item strong { display: block; color: var(--primary); font-size: 14.5px; margin-bottom: 5px; }

/* Circular Media Showcase: Cards Style & Gallery + Inline PDF Viewer */
.ab-media-showcase {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ab-media-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-media-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ab-media-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #edf3fc;
  color: var(--primary);
  border: 1px solid #d5e2f5;
}

.ab-media-pill.is-pdf {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.ab-media-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Style 1: Cards (Circular Images) */
.ab-img-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.ab-img-card {
  background: #ffffff;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 46, 99, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ab-img-card:hover {
  transform: translateY(-2px);
  border-color: #b6c9e8;
  box-shadow: 0 12px 26px rgba(16, 46, 99, 0.1);
}

.ab-img-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
}

.ab-img-card-ttl {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ab-img-card-acts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ab-img-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.ab-img-mini-btn:hover { background: rgba(255, 255, 255, 0.28); color: #ffffff; }
.ab-img-mini-btn.is-gold { background: var(--accent); color: #09234e; border-color: var(--accent); font-weight: 800; }
.ab-img-mini-btn.is-gold:hover { background: var(--accent-hover); color: #09234e; }

.ab-img-card-stage {
  display: block;
  position: relative;
  background: #f5f8fd;
  padding: 14px;
  text-align: center;
  cursor: zoom-in;
}

.ab-img-card-stage img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(16, 46, 99, 0.08);
  transition: transform .2s ease;
}

.ab-img-card-stage:hover img { transform: scale(1.015); }

.ab-img-stage-hint {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: rgba(9, 35, 78, 0.88);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.ab-img-card-cap {
  padding: 9px 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid #eef2f8;
  text-align: center;
}

/* Style 2: Gallery Grid (Circular Images) */
.ab-img-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.ab-gal-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(16, 46, 99, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ab-gal-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 26px rgba(16, 46, 99, 0.12);
}

.ab-gal-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #edf3fb;
  overflow: hidden;
  cursor: zoom-in;
}

.ab-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.ab-gal-card:hover .ab-gal-thumb img { transform: scale(1.05); }

.ab-gal-page-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 35, 78, 0.88);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}

.ab-gal-zoom-pill {
  position: absolute;
  inset: auto 10px 10px auto;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  opacity: 0.92;
  transition: opacity .15s ease, background .15s ease;
}

.ab-gal-card:hover .ab-gal-zoom-pill {
  background: var(--accent);
  color: #09234e;
  opacity: 1;
}

.ab-gal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #eef2f8;
}

.ab-gal-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ab-gal-dl {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: #f1f6fd;
  border: 1px solid #d7e3f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .15s ease;
}

.ab-gal-dl:hover { background: var(--accent); border-color: var(--accent); }

/* Style 1: Modern PDF Cards */
.ab-pdf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.ab-pdf-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid #dce5f2;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(16, 46, 99, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ab-pdf-card:hover {
  transform: translateY(-2px);
  border-color: #b7cae6;
  box-shadow: 0 12px 24px rgba(16, 46, 99, 0.1);
}

.ab-pdf-card.is-active {
  border-color: var(--primary);
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 24px rgba(16, 46, 99, 0.14);
}

.ab-pdf-card-actions .ab-pdf-gal-tab {
  cursor: pointer;
}

.ab-pdf-card-actions .ab-pdf-gal-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.ab-pdf-card-top {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.ab-pdf-icon-box {
  width: 44px;
  height: 50px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.25);
}

.ab-pdf-card-info strong {
  display: block;
  color: var(--primary);
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 2px;
}

.ab-pdf-card-info small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ab-pdf-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ab-pdf-chip {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #edf3fc;
  color: var(--primary);
}
.ab-pdf-chip.is-muted { background: #f1f5f9; color: #475569; }
.ab-pdf-chip.is-ok { background: #ecfdf5; color: #047857; }

.ab-pdf-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef2f8;
}

.ab-pdf-card-actions .action-button {
  justify-content: center;
  padding: 9px 10px;
}

/* Style 2: Gallery + Inline PDF Viewer */
.ab-pdf-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-pdf-gal-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.ab-pdf-gal-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9e3f2;
  background: #f8fafd;
  cursor: pointer;
  transition: all .18s ease;
}

.ab-pdf-gal-tab:hover {
  border-color: #9bb5de;
  background: #ffffff;
}

.ab-pdf-gal-tab.is-active {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 46, 99, 0.22);
}

.ab-pdf-badge-ico {
  width: 34px;
  height: 36px;
  min-width: 34px;
  border-radius: 8px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ab-pdf-gal-tab.is-active .ab-pdf-badge-ico {
  background: var(--accent);
  color: #09234e;
}

.ab-pdf-gal-meta { min-width: 0; flex: 1; }
.ab-pdf-gal-meta strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-pdf-gal-tab.is-active .ab-pdf-gal-meta strong { color: #ffffff; }
.ab-pdf-gal-meta small { display: block; font-size: 11px; color: var(--muted); }
.ab-pdf-gal-tab.is-active .ab-pdf-gal-meta small { color: #cbd8ec; }

.ab-pdf-viewer-box {
  border: 1px solid #d3dfef;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 46, 99, 0.08);
}

.ab-pdf-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: #f4f7fc;
  border-bottom: 1px solid #dce5f2;
}

.ab-pdf-viewer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.ab-pdf-frame-wrap {
  background: #e9eff8;
}

.ab-pdf-iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.ab-pdf-viewer-box.is-fullscreen {
  position: fixed;
  inset: 16px;
  z-index: 999990;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ab-pdf-viewer-box.is-fullscreen .ab-pdf-frame-wrap {
  flex: 1;
  min-height: 0;
}

.ab-pdf-viewer-box.is-fullscreen .ab-pdf-iframe {
  height: 100%;
}

/* Question Solutions Directory Grid */
.ab-qs-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.ab-qs-dir-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(16, 46, 99, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ab-qs-dir-card:hover {
  transform: translateY(-2px);
  border-color: #b7cae6;
  box-shadow: 0 10px 24px rgba(16, 46, 99, 0.1);
}

.ab-qs-dir-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ab-qs-dir-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--primary);
  color: var(--accent);
}

.ab-qs-dir-sess {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #edf3fc;
  color: var(--primary);
}

.ab-qs-dir-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #edf3fb;
}

.ab-qs-dir-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-qs-dir-card h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  flex: 1;
}

.ab-qs-dir-card h3 a { color: var(--primary); }
.ab-qs-dir-card h3 a:hover { color: #b77e12; }

.ab-qs-dir-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #eef2f8;
}

.ab-post-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ab-post-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.ab-comments-area label { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.ab-comments-area input[type="text"],
.ab-comments-area input[type="email"],
.ab-comments-area input[type="url"],
.ab-comments-area textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fcfdff;
}
.ab-comments-area .comment-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ab-comments-area .comment-form-comment,
.ab-comments-area .comment-form-url,
.ab-comments-area .comment-form-cookies-consent,
.ab-comments-area .form-submit,
.ab-comments-area .comment-notes,
.ab-comments-area .logged-in-as { grid-column: 1 / -1; }
.ab-comment-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.ab-comment-list .comment-body { background: #f8fafd; border: 1px solid var(--border); border-radius: 9px; padding: 14px; }

.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.nav-links .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(125deg, #071d42 0%, #09234e 100%);
  color: #dce6f5;
  padding: 34px 22px;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: 1220px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner strong { color: #fff; font-size: 17px; }
.footer-inner p { font-size: 13px; margin: 3px 0 0; color: #b8c7df; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: #dce6f5; }
.footer-links a:hover { color: var(--accent); }

.footer-button {
  background: var(--accent);
  color: #09234e;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  transition: background .15s;
}
.footer-button:hover { background: var(--accent-hover); color: #09234e; }

/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */
@media(max-width: 1080px) {
  .nav-menu { font-size: 13px; }
  .nav-menu ul { gap: 2px; }
  .nav-menu > ul > li > a,
  .nav-menu > a { padding: 8px 10px; }
}

@media(max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 16px;
    right: 16px;
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 18px 40px rgba(9, 35, 78, 0.16);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    z-index: 200;
    max-height: 75vh;
    overflow-y: auto;
  }
  .nav-menu.show { display: flex; }
  .nav-menu > ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-menu > ul > li > a,
  .nav-menu > a { width: 100%; justify-content: space-between; padding: 10px 14px; border-radius: 9px; }
  .nav-menu ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    background: #f8fafd;
    padding: 4px 0 4px 10px;
    margin: 4px 0 4px 14px;
    display: none;
    min-width: 0;
  }
  .nav-menu ul.sub-menu::before { display: none; }
  .nav-menu li.menu-item-has-children.is-dd-open > ul.sub-menu { display: flex; }
  .nav-menu li.menu-item-has-children.is-dd-open > a::after { transform: rotate(-135deg) translateY(-1px); }
}

@media(max-width: 850px) {
  .hero-inner { padding-top: 34px; gap: 18px; }
  .hero-logo { width: 145px; height: 145px; min-width: 145px; margin: 0 0 32px; }
  .hero-logo.is-rect { width: 185px; height: 132px; min-width: 185px; border-radius: 14px; }
  .hero-logo img { max-width: 100px; max-height: 100px; }
  .hero-logo.is-cover img { max-width: none; max-height: none; }
  .hero-logo.is-rect.is-cover { width: auto; height: auto; min-width: 0; max-width: 220px; }
  .hero-logo.is-rect.is-cover img { width: auto; height: auto; max-width: 210px; max-height: 150px; object-fit: contain; }
  .logo-symbol { font-size: 32px; }
  .logo-inner strong { font-size: 14px; }
  .container { grid-template-columns: 235px minmax(0, 1fr); gap: 18px; }
  .info-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 680px) {
  .header-inner { min-height: 62px; padding: 0 14px; gap: 10px; }
  .brand { font-size: 17.5px; gap: 8px; flex: 1 1 auto; min-width: 0; flex-shrink: 1; }
  .brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
  .brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-toggle { flex-shrink: 0; padding: 7px 10px; white-space: nowrap; }
  .nav-menu { left: 12px; right: 12px; }

  .hero-inner { flex-direction: column-reverse; align-items: flex-start; padding: 26px 18px 0; gap: 12px; }
  .hero-logo { width: 96px; height: 96px; min-width: 96px; border-width: 5px; margin: 0 0 4px; }
  .hero-logo.is-rect { width: 185px; height: 128px; min-width: 185px; border-radius: 12px; border-width: 4px; margin: 0 0 4px; }
  .hero-logo img { max-width: 68px; max-height: 68px; }
  .hero-logo.is-cover img { max-width: none; max-height: none; }
  .hero-logo.is-rect.is-cover { width: auto; height: auto; min-width: 0; max-width: 100%; margin: 0 0 4px; }
  .hero-logo.is-rect.is-cover img { width: auto; height: auto; max-width: 100%; max-height: 160px; object-fit: contain; }
  .logo-symbol { font-size: 22px; }
  .logo-inner strong { font-size: 11px; }
  .logo-inner small { font-size: 8px; }

  .hero h1 { font-size: 28px; }
  .single-post .hero h1,
  .hero.is-post-hero h1 { font-size: 22px; }
  .hero-description { font-size: 14px; }
  .hero-tabs { overflow-x: auto; flex-wrap: nowrap; width: calc(100vw - 24px); }
  .hero-tabs a { white-space: nowrap; font-size: 12px; padding: 9px 12px; }
  .ab-hanging-tabs-wrap { padding: 0 14px; }
  .ab-hanging-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .ab-hanging-tabs::-webkit-scrollbar { display: none; }
  .ab-hanging-tabs a { white-space: nowrap; flex: 0 0 auto; font-size: 12.5px; padding: 9px 13px 10px; }
  .ab-hanging-tabs a.active { padding-top: 11px; }

  .ab-mobile-tabs-root { display: block; }
  .ab-mobile-tabs-fab {
    position: fixed;
    right: 0;
    top: 52%;
    transform: translateY(-50%);
    z-index: 260;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 11px 8px 9px 10px;
    border: 1.5px solid var(--accent);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(160deg, #09234e 0%, #102e63 100%);
    color: #ffffff;
    cursor: pointer;
    animation: abTabFabPulse 1.5s ease-in-out infinite;
  }
  .ab-mobile-tabs-fab.is-open { animation: none; }
  .ab-fab-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    position: absolute;
    top: 5px;
    left: 5px;
    animation: abDotBlink 1s ease-in-out infinite;
  }
  .ab-fab-lbl { font-size: 10px; font-weight: 800; color: var(--accent); line-height: 1; }
  .ab-mobile-tabs-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 25, 64, 0.45);
    backdrop-filter: blur(2px);
    z-index: 270;
  }
  .ab-mobile-tabs-backdrop[hidden],
  .ab-mobile-tabs-drawer[hidden] { display: none; }
  .ab-mobile-tabs-drawer {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: min(295px, calc(100vw - 28px));
    max-height: 76vh;
    background: #ffffff;
    border: 1px solid #d5e0ef;
    border-top: 3px solid var(--accent);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(9, 35, 78, 0.3);
    z-index: 280;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .ab-mtd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #09234e 0%, #102e63 100%);
    color: #ffffff;
    font-size: 13.5px;
  }
  .ab-mtd-close {
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }
  .ab-mtd-links {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
  }
  .ab-mtd-links a {
    padding: 10px 13px;
    border-radius: 10px;
    border: 1px solid #dce5f2;
    background: #f8fafd;
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .ab-mtd-links a.active {
    background: linear-gradient(135deg, #09234e 0%, #102e63 100%);
    color: #ffffff;
    border-color: #09234e;
    border-left: 4px solid var(--accent);
  }

  .container { display: flex; flex-direction: column; margin-top: 20px; gap: 18px; padding: 0 14px; }
  .sidebar { position: static; width: 100%; order: 2; }
  .toc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .sidebar-help { display: none; }
  .article { width: 100%; order: 1; min-width: 0; }
  .article-section, .article-intro { padding: 18px 15px; }
  .ab-filter-bar { align-items: stretch; }
  .ab-filter-controls { width: 100%; gap: 8px; }
  .ab-select { width: 100%; max-width: 100%; min-width: 0; flex: 1 1 100%; }
  .section-heading h2 { font-size: 17px; }
  .home .article-section .section-heading h2 { font-size: 21px; }
  .info-grid, .info-grid.cols-3, .ab-post-nav, .ab-comments-area .comment-form { grid-template-columns: 1fr; }
  .ab-news-card { grid-template-columns: 1fr; }
  .ab-tl-row { grid-template-columns: 74px 18px 1fr; gap: 6px; }
  .ab-tl-row.is-multi .ab-tl-date-box { top: 72px; }
  .ab-tl-row.is-multi .ab-tl-axis { padding: 24px 0; }
  .ab-tl-row.is-multi .ab-tl-dot { top: 96px; }
  .ab-tl-date-box strong { font-size: 17px; }
  .ab-tl-card { padding: 12px 13px; }
  .ab-tl-card-main { flex: 1 1 100%; }
  .ab-tl-bg-logo { right: 10px; left: auto; transform: translateY(-50%); width: 58px; height: 58px; }
  .ab-tl-card .ab-btn-row { justify-content: flex-start; }
  .info-table { font-size: 12px; }
  .info-table th, .info-table td { padding: 9px 8px; }
  .ab-faq-q { padding: 12px 13px; gap: 10px; font-size: 14px; }
  .ab-faq-a { padding: 11px 14px 14px 14px; font-size: 13.5px; }
  .ab-img-cards-grid, .ab-pdf-cards-grid, .ab-pdf-card-actions { grid-template-columns: 1fr; }
  .ab-img-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ab-pdf-iframe { height: 400px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
