/*
Theme Name: Bodha Now
Theme URI: https://bodhanow.com
Author: Bodha Now
Description: Official theme for Bodha Now — India's trusted education discovery platform. Discover, Compare and Decide the right school for your child.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: bodhanow
Tags: education, school, discovery, modern, responsive
*/

/* ── DESIGN TOKENS ── */
:root {
  --navy: #0B2D6E;
  --navy2: #1a4199;
  --navy-lt: #eef1f9;
  --teal: #1A7A5E;
  --teal-lt: #e6f4ef;
  --white: #fff;
  --bg: #F5F7FA;
  --sl: #64748b;
  --border: #e2e8f0;
  --text: #1e293b;
  --sh: 0 2px 16px rgba(11,45,110,.08);
  --shlg: 0 8px 40px rgba(11,45,110,.13);
  --r: 12px;
  --rlg: 20px;
  --rxl: 28px;
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { color: var(--navy); line-height: 1.2; font-family: var(--font); }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── LAYOUT ── */
.bn-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.bn-section { padding: 64px 0; }
.bn-section-sm { padding: 40px 0; }
.bn-section-white { background: #fff; }
.bn-section-navy { background: var(--navy); }

/* ── TYPOGRAPHY ── */
.bn-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-lt); color: var(--teal);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.bn-section-title { font-size: 30px; margin-bottom: 8px; }
.bn-section-sub { color: var(--sl); font-size: 14px; }
.bn-section-header { margin-bottom: 32px; }
.bn-section-header-row { display: flex; align-items: flex-end; justify-content: space-between; }

/* ── NAV ── */
.bn-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(11,45,110,.06);
}
.bn-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.bn-logo { display: flex; flex-direction: column; line-height: 1; }
.bn-logo .b { font-size: 19px; font-weight: 800; letter-spacing: 3px; color: var(--navy); }
.bn-logo .n { font-size: 8px; font-weight: 400; letter-spacing: 8px; color: var(--teal); margin-top: 2px; }
.bn-nav-menu { display: flex; gap: 4px; align-items: center; }
.bn-nav-menu a, .bn-nav-menu .bn-nav-link {
  font-size: 13px; font-weight: 600; color: var(--sl);
  padding: 7px 14px; border-radius: 50px; transition: all .2s; display: block;
}
.bn-nav-menu a:hover, .bn-nav-menu .bn-nav-link:hover,
.bn-nav-menu a.current-menu-item { color: var(--navy); background: var(--navy-lt); }
.bn-nav-actions { display: flex; gap: 8px; }
.bn-mobile-toggle { display: none; }
.bn-mobile-menu { display: none; }

/* ── DROPDOWN ── */
.bn-dropdown { position: relative; }
.bn-dropdown-toggle {
  font-size: 13px; font-weight: 600; color: var(--sl);
  padding: 7px 14px; border-radius: 50px; transition: all .2s;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  background: none; border: none; font-family: var(--font);
}
.bn-dropdown-toggle:hover { color: var(--navy); background: var(--navy-lt); }
.bn-dropdown-arrow { font-size: 9px; transition: transform .2s; display: inline-block; }
.bn-dropdown:hover .bn-dropdown-arrow { transform: rotate(180deg); }
.bn-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: var(--rlg); border: 1px solid var(--border);
  box-shadow: var(--shlg); padding: 8px; min-width: 210px; z-index: 600;
  opacity: 0; visibility: hidden; transition: all .18s; pointer-events: none;
}
.bn-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.bn-dropdown:hover .bn-dropdown-menu { opacity: 1; visibility: visible; pointer-events: all; }
.bn-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r); cursor: pointer;
  transition: background .18s; font-size: 13px; font-weight: 600;
  color: var(--text); white-space: nowrap; text-decoration: none;
}
.bn-dropdown-item:hover { background: var(--navy-lt); color: var(--navy); }
.bn-dropdown-icon {
  font-size: 15px; width: 28px; height: 28px; background: var(--bg);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bn-dropdown-item:hover .bn-dropdown-icon { background: var(--navy-lt); }
.bn-dropdown-divider { height: 1px; background: var(--border); margin: 4px 8px; }
.bn-dropdown-label {
  font-size: 10px; font-weight: 700; color: var(--sl);
  letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px 2px;
}
.bn-dropdown-soon {
  font-size: 10px; font-weight: 700; color: var(--teal);
  background: var(--teal-lt); padding: 2px 7px; border-radius: 50px; margin-left: auto;
}
.bn-dropdown-item.disabled { opacity: .55; cursor: default; pointer-events: none; }

/* ── BUTTONS ── */
.bn-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 50px;
  font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all .2s; border: none;
  text-decoration: none; font-family: var(--font);
}
.bn-btn-navy { background: var(--navy); color: #fff; }
.bn-btn-navy:hover { background: var(--navy2); color: #fff; transform: translateY(-1px); box-shadow: var(--sh); }
.bn-btn-out { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.bn-btn-out:hover { background: var(--navy); color: #fff; }
.bn-btn-teal { background: var(--teal); color: #fff; }
.bn-btn-teal:hover { background: #155f49; color: #fff; transform: translateY(-1px); }
.bn-btn-sm { padding: 7px 16px; font-size: 12px; }
.bn-btn-xs { padding: 6px 12px; font-size: 11px; }

/* ── LOCATION BANNER ── */
.bn-location-banner {
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(11,45,110,.05);
}
.bn-location-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* ── HERO ── */
.bn-hero {
  padding: 72px 0 56px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef1f9 100%);
}
.bn-hero::before {
  content: ''; position: absolute; top: -80px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,122,94,.09) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.bn-hero-content { text-align: center; max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }
.bn-hero-title { font-size: clamp(36px, 5vw, 54px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.bn-hero-title em { color: var(--teal); font-style: normal; }
.bn-hero-sub { font-size: 16px; color: var(--sl); margin-bottom: 36px; line-height: 1.75; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── SEARCH BAR ── */
.bn-search-bar {
  background: #fff; border-radius: var(--rxl); padding: 8px;
  box-shadow: var(--shlg); border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 4px;
  max-width: 860px; margin: 0 auto;
}
.bn-sf { display: flex; flex-direction: column; padding: 10px 16px; border-radius: var(--rlg); transition: background .18s; }
.bn-sf:hover { background: var(--bg); }
.bn-sf label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sl); margin-bottom: 4px; }
.bn-sf input, .bn-sf select {
  border: none; background: transparent; font-family: var(--font);
  font-size: 13px; font-weight: 500; color: var(--text); outline: none; width: 100%;
}
.bn-search-btn {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--rlg); padding: 12px 24px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: all .2s; font-family: var(--font);
}
.bn-search-btn:hover { background: var(--teal); }

/* ── TRUST ROW ── */
.bn-trust-row { display: flex; justify-content: center; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.bn-trust-num { font-size: 26px; font-weight: 800; color: var(--navy); }
.bn-trust-lbl { font-size: 12px; color: var(--sl); margin-top: 2px; }

/* ── CITY CARDS ── */
.bn-city-card { position: relative; height: 190px; border-radius: var(--rlg); overflow: hidden; cursor: pointer; }
.bn-city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn-city-card:hover img { transform: scale(1.07); }
.bn-city-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,45,110,.82), transparent 60%); }
.bn-city-info { position: absolute; bottom: 14px; left: 14px; color: #fff; }
.bn-city-count { font-size: 11px; opacity: .8; }
.bn-city-name { font-size: 18px; font-weight: 700; }

/* ── SCHOOL CARD ── */
.bn-school-card {
  background: #fff; border-radius: var(--rxl); border: 1px solid var(--border);
  overflow: hidden; transition: all .3s; box-shadow: 0 1px 6px rgba(11,45,110,.04);
}
.bn-school-card:hover { transform: translateY(-3px); box-shadow: var(--shlg); }
.bn-card-img { position: relative; overflow: hidden; aspect-ratio: 16/9; height: auto; }
.bn-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn-school-card:hover .bn-card-img img { transform: scale(1.05); }
.bn-card-body { padding: 18px; }

/* ── BADGES ── */
.bn-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.bn-bdg-teal { background: var(--teal-lt); color: var(--teal); }
.bn-bdg-navy { background: var(--navy-lt); color: var(--navy); }
.bn-bdg-amber { background: #fef3c7; color: #92400e; }
.bn-bdg-green { background: #dcfce7; color: #166534; }
.bn-bdg-red { background: #fee2e2; color: #991b1b; }
.bn-bdg-orange { background: #ffedd5; color: #9a3412; }

/* ── CARD ACTION BUTTONS ── */
.bn-card-actions { display: flex; gap: 8px; margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.bn-action-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 10px; border-radius: 50px; font-size: 12px; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s; font-family: var(--font);
}
.bn-btn-save { background: var(--navy-lt); color: var(--navy); }
.bn-btn-save:hover { background: var(--navy); color: #fff; }
.bn-btn-save.saved { background: #fee2e2; color: #991b1b; }
.bn-btn-compare { background: var(--teal-lt); color: var(--teal); border: 1.5px solid var(--teal); }
.bn-btn-compare:hover { background: var(--teal); color: #fff; }
.bn-btn-compare.added { background: var(--teal); color: #fff; }

/* ── STEP CARDS ── */
.bn-step-card {
  background: #fff; border-radius: var(--rxl); border: 1px solid var(--border);
  padding: 32px 24px; text-align: center; transition: all .3s;
  position: relative; overflow: hidden;
}
.bn-step-card:hover { transform: translateY(-3px); box-shadow: var(--shlg); }
.bn-step-card::before {
  content: attr(data-n); position: absolute; top: -8px; right: 10px;
  font-size: 80px; font-weight: 800; color: var(--navy-lt); line-height: 1; pointer-events: none;
}
.bn-step-icon { font-size: 38px; margin-bottom: 14px; }
.bn-step-num { font-size: 10px; font-weight: 700; color: var(--teal); letter-spacing: 2px; margin-bottom: 6px; text-transform: uppercase; }

/* ── RATING ── */
.bn-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.bn-star { color: #f59e0b; }

/* ── GRIDS ── */
.bn-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── FILTERS SIDEBAR ── */
.bn-filters-layout { display: flex; gap: 24px; align-items: flex-start; }
.bn-filters-sidebar {
  width: 248px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.bn-filters-sidebar::-webkit-scrollbar {
  width: 4px;
}
.bn-filters-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.bn-filter-card { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); padding: 20px; }
.bn-filter-section { margin-bottom: 22px; }
.bn-filter-section h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text); margin-bottom: 10px; font-family: var(--font); }
.bn-filter-label { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 4px 0; font-size: 13px; color: var(--sl); transition: color .2s; }
.bn-filter-label:hover { color: var(--navy); }
.bn-filter-label input { accent-color: var(--navy); width: 14px; height: 14px; }
.bn-filter-select { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--r); font-family: var(--font); font-size: 13px; color: var(--text); background: #fff; cursor: pointer; outline: none; }
.bn-results-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ── SCHOOL PROFILE ── */
.bn-profile-hero { position: relative; height: 380px; border-radius: var(--rxl); overflow: hidden; margin-bottom: 22px; }
.bn-profile-hero img { width: 100%; height: 100%; object-fit: cover; }
.bn-profile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,45,110,.88) 0%, rgba(11,45,110,.2) 50%, transparent 100%); }
.bn-profile-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.bn-profile-hero-content h1 { color: #fff; font-size: 34px; margin-bottom: 6px; }
.bn-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.bn-stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--rlg); padding: 14px; display: flex; align-items: center; gap: 12px; }
.bn-stat-icon { width: 42px; height: 42px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.bn-si-navy { background: var(--navy-lt); }
.bn-si-teal { background: var(--teal-lt); }
.bn-si-amber { background: #fef3c7; }
.bn-si-purple { background: #f3e8ff; }
.bn-stat-label { font-size: 10px; color: var(--sl); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.bn-stat-value { font-size: 16px; font-weight: 700; color: var(--navy); }
.bn-profile-layout { display: flex; gap: 20px; align-items: flex-start; }
.bn-profile-main { flex: 1; }
.bn-profile-sidebar { width: 272px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }

/* ── TABS ── */
.bn-tabs { background: #fff; border-radius: var(--rxl); border: 1px solid var(--border); overflow: hidden; }
.bn-tabs-nav { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; }
.bn-tab-btn { padding: 14px 20px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--sl); background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; transition: all .2s; }
.bn-tab-btn:hover { color: var(--navy); }
.bn-tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.bn-tab-pane { padding: 24px; display: none; }
.bn-tab-pane.active { display: block; }
.bn-fee-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.bn-fee-row:last-child { border-bottom: none; }
.bn-facility-tag { background: var(--bg); border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ── SIDEBAR CARDS ── */
.bn-sidebar-card { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); padding: 18px; }
.bn-score-card { background: var(--navy); border-radius: var(--rlg); padding: 20px; color: #fff; text-align: center; }
.bn-score-num { font-size: 48px; font-weight: 800; line-height: 1; }

/* ── COMPARE ── */
.bn-compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--rxl); overflow: hidden; border: 1px solid var(--border); }
.bn-compare-table th, .bn-compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 13px; }
.bn-compare-table th { background: var(--bg); font-weight: 700; font-size: 11px; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; }
.bn-compare-table tr:last-child td, .bn-compare-table tr:last-child th { border-bottom: none; }
.bn-compare-col { min-width: 220px; border-left: 1px solid var(--border); }
.bn-compare-col img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; }
.bn-add-slot { min-width: 180px; border: 2px dashed var(--border); border-radius: var(--rlg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; cursor: pointer; transition: all .2s; background: #fff; }
.bn-add-slot:hover { border-color: var(--navy); background: var(--navy-lt); }
.bn-match-bar { background: #e0e7ff; border-radius: 50px; height: 6px; margin-top: 6px; }
.bn-match-fill { background: var(--navy); border-radius: 50px; height: 6px; }

/* ── ELIGIBILITY ── */
.bn-elig-result { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); padding: 16px; display: flex; gap: 14px; align-items: flex-start; transition: box-shadow .2s; margin-bottom: 10px; }
.bn-elig-result:hover { box-shadow: var(--sh); }
.bn-elig-result img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.bn-form-group { margin-bottom: 14px; }
.bn-form-label { font-size: 11px; font-weight: 700; color: var(--text); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.bn-input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r); font-family: var(--font); font-size: 13px; color: var(--text); outline: none; background: #fff; transition: border-color .2s; }
.bn-input:focus { border-color: var(--navy); }
.bn-select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r); font-family: var(--font); font-size: 13px; color: var(--text); background: #fff; cursor: pointer; outline: none; transition: border-color .2s; }
.bn-select:focus { border-color: var(--navy); }
.bn-board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bn-board-btn { padding: 10px; border: 2px solid var(--border); border-radius: var(--r); cursor: pointer; font-family: var(--font); font-size: 12px; font-weight: 600; background: #fff; text-align: center; transition: all .2s; }
.bn-board-btn:hover, .bn-board-btn.active { border-color: var(--navy); background: var(--navy-lt); color: var(--navy); }

/* ── ADMISSION TIMELINE ── */
.bn-timeline { position: relative; padding-left: 38px; }
.bn-timeline::before { content: ''; position: absolute; left: 13px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.bn-tl-item { position: relative; padding-bottom: 24px; }
.bn-tl-dot { position: absolute; left: -30px; top: 2px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; z-index: 1; font-weight: 700; }
.bn-tl-done { background: var(--teal); }
.bn-tl-current { background: var(--navy); }
.bn-tl-pending { background: #fff; border: 2px solid var(--border); }
.bn-doc-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); cursor: pointer; transition: all .2s; margin-bottom: 8px; }
.bn-doc-item:hover { border-color: var(--navy); background: var(--navy-lt); }
.bn-doc-item input { accent-color: var(--navy); margin-top: 2px; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }

/* ── DASHBOARD ── */
.bn-dash-card { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .2s; }
.bn-dash-card:hover { box-shadow: var(--sh); }
.bn-dash-img { height: 150px; overflow: hidden; position: relative; }
.bn-dash-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn-dash-card:hover .bn-dash-img img { transform: scale(1.04); }
.bn-dash-status { position: absolute; top: 10px; right: 10px; }

/* ── RECOMMENDATIONS ── */
.bn-rec-card { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); padding: 16px; display: flex; gap: 14px; align-items: flex-start; transition: all .2s; cursor: pointer; margin-bottom: 12px; }
.bn-rec-card:hover { box-shadow: var(--shlg); transform: translateY(-2px); }
.bn-rec-card.bn-top { border-left: 4px solid var(--teal); }
.bn-rec-img { width: 130px; height: 88px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.bn-match-score { font-size: 22px; font-weight: 800; color: var(--teal); white-space: nowrap; }
.bn-tag { background: var(--navy-lt); color: var(--navy); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }

/* ── BLOG ── */
.bn-blog-hero { background: linear-gradient(135deg, #071d4a 0%, var(--navy) 60%, #1a4199 100%); padding: 48px 0; margin-bottom: 40px; }
.bn-blog-card { background: #fff; border-radius: var(--rxl); border: 1px solid var(--border); overflow: hidden; transition: all .3s; cursor: pointer; }
.bn-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shlg); }
.bn-blog-card-img { overflow: hidden; height: 180px; }
.bn-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn-blog-card:hover .bn-blog-card-img img { transform: scale(1.05); }
.bn-blog-card-body { padding: 18px; }
.bn-category-sidebar { width: 260px; flex-shrink: 0; }

/* ── BLOG POST ── */
.bn-article h2 { font-size: 22px; color: var(--navy); margin: 24px 0 12px; }
.bn-article p { margin-bottom: 16px; color: var(--text); font-size: 15px; line-height: 1.85; }
.bn-highlight-box { padding: 16px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 20px; }
.bn-highlight-navy { background: var(--navy-lt); border-left: 4px solid var(--navy); }
.bn-highlight-teal { background: var(--teal-lt); border-left: 4px solid var(--teal); }
.bn-highlight-amber { background: #fef3c7; border-left: 4px solid #d97706; }
.bn-toc-link { font-size: 12px; color: var(--sl); cursor: pointer; padding: 4px 0; border-left: 2px solid var(--border); padding-left: 8px; transition: all .2s; display: block; }
.bn-toc-link:hover, .bn-toc-link.active { color: var(--navy); border-left-color: var(--navy); }

/* ── COMPARE BANNER ── */
.bn-compare-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: var(--navy); color: #fff; padding: 14px 28px; display: none;
}
.bn-compare-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bn-compare-chip { background: rgba(255,255,255,.15); border-radius: 50px; padding: 6px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.bn-compare-chip button { background: rgba(255,255,255,.2); border: none; border-radius: 50%; width: 18px; height: 18px; cursor: pointer; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.bn-mobile-results-cta { display: none !important; }

/* ── INFO BOXES ── */
.bn-info-box { background: var(--teal-lt); border-radius: var(--r); padding: 12px 14px; font-size: 12px; color: var(--teal); display: flex; gap: 8px; align-items: flex-start; }
.bn-warn-box { background: #fef3c7; border-radius: var(--r); padding: 12px 14px; font-size: 12px; color: #92400e; display: flex; gap: 8px; }

/* ── FOOTER ── */
.bn-footer { background: #071d4a; color: rgba(255,255,255,.75); padding: 48px 0 24px; }
.bn-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.bn-footer-logo-b { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: 3px; }
.bn-footer-logo-n { font-size: 8px; letter-spacing: 8px; color: var(--teal); font-weight: 400; margin-top: 2px; }
.bn-footer h4 { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.bn-footer ul li { margin-bottom: 10px; }
.bn-footer ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.bn-footer ul li a:hover { color: #fff; }
.bn-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.3); }
.bn-footer-bottom a { color: rgba(255,255,255,.3); }
.bn-footer-bottom a:hover { color: #fff; }

/* ── UTILITIES ── */
.bn-flex { display: flex; }
.bn-flex-c { display: flex; align-items: center; }
.bn-flex-b { display: flex; align-items: center; justify-content: space-between; }
.bn-gap-4 { gap: 4px; } .bn-gap-8 { gap: 8px; } .bn-gap-12 { gap: 12px; } .bn-gap-16 { gap: 16px; } .bn-gap-20 { gap: 20px; }
.bn-mt-8 { margin-top: 8px; } .bn-mt-12 { margin-top: 12px; } .bn-mt-16 { margin-top: 16px; } .bn-mt-20 { margin-top: 20px; } .bn-mt-24 { margin-top: 24px; }
.bn-mb-8 { margin-bottom: 8px; } .bn-mb-12 { margin-bottom: 12px; } .bn-mb-16 { margin-bottom: 16px; } .bn-mb-20 { margin-bottom: 20px; } .bn-mb-24 { margin-bottom: 24px; }
.bn-txt-sl { color: var(--sl); } .bn-txt-navy { color: var(--navy); } .bn-txt-teal { color: var(--teal); } .bn-txt-white { color: #fff; }
.bn-fw-6 { font-weight: 600; } .bn-fw-7 { font-weight: 700; } .bn-fw-8 { font-weight: 800; }
.bn-fs-11 { font-size: 11px; } .bn-fs-12 { font-size: 12px; } .bn-fs-13 { font-size: 13px; } .bn-fs-14 { font-size: 14px; }
.bn-fs-18 { font-size: 18px; } .bn-fs-20 { font-size: 20px; } .bn-fs-24 { font-size: 24px; } .bn-fs-28 { font-size: 28px; }
.bn-w-100 { width: 100%; }
.bn-tc { text-align: center; }
.bn-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.bn-breadcrumb { font-size: 12px; color: var(--sl); margin-bottom: 14px; }
.bn-breadcrumb a { cursor: pointer; } .bn-breadcrumb a:hover { color: var(--navy); }
.bn-slider-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.bn-slider-row label { font-weight: 600; color: var(--text); }
.bn-slider-row span { font-weight: 700; color: var(--navy); }
input[type=range] { width: 100%; accent-color: var(--navy); height: 4px; cursor: pointer; }

/* ── RESPONSIVE ── */
/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bn-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bn-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bn-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bn-stats-row { grid-template-columns: repeat(2, 1fr); }
  .bn-hero-title { font-size: 42px; }
  .bn-search-bar { grid-template-columns: 1fr 1fr auto; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  .bn-nav-menu { display: none; }
  .bn-nav-actions { display: none; }
  .bn-nav-inner { padding: 0 16px; }

  /* Show mobile hamburger */
  .bn-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 18px;
    color: var(--navy);
    margin-left: auto;
    font-family: var(--font);
  }

  /* Mobile menu drawer — shown via JS .open class */
  .bn-mobile-menu.open { display: flex; }
  .bn-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 500;
    overflow-y: auto;
    padding: 20px 20px 40px;
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 4px;
  }
  .bn-mobile-menu a {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--r);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .bn-mobile-menu a:hover { background: var(--navy-lt); color: var(--navy); }
  .bn-mobile-menu .bn-mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
  .bn-mobile-menu .bn-mobile-section { font-size: 10px; font-weight: 700; color: var(--sl); letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px 4px; }
  .bn-mobile-auth { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
  .bn-mobile-auth a { flex: 1; text-align: center; justify-content: center; border-bottom: none !important; }
  .bn-mobile-menu a {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--r);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .bn-mobile-menu a:hover { background: var(--navy-lt); color: var(--navy); }
  .bn-mobile-menu .bn-mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
  .bn-mobile-menu .bn-mobile-section { font-size: 10px; font-weight: 700; color: var(--sl); letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px 4px; }
  .bn-mobile-auth { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
  .bn-mobile-auth a { flex: 1; text-align: center; justify-content: center; border-bottom: none !important; }

  /* ── LAYOUT ── */
  .bn-container { padding: 0 16px; }
  .bn-section { padding: 40px 0; }

  /* ── HERO ── */
  .bn-hero { padding: 40px 0 36px; }
  .bn-hero-title { font-size: 28px; }
  .bn-hero-sub { font-size: 14px; }
  .bn-search-bar { grid-template-columns: 1fr; gap: 2px; border-radius: var(--rlg); padding: 6px; }
  .bn-sf { border-left: none !important; border-top: 1px solid var(--border); }
  .bn-sf:first-child { border-top: none; }
  .bn-search-btn { border-radius: var(--rlg); padding: 13px; }
  .bn-trust-row { gap: 20px; }
  .bn-trust-num { font-size: 22px; }

  /* ── GRIDS ── */
  .bn-grid-2, .bn-grid-3, .bn-grid-4 { grid-template-columns: 1fr; }
  .bn-results-grid { grid-template-columns: 1fr; }
  .bn-stats-row { grid-template-columns: repeat(2, 1fr); }

  /* ── FILTERS ── */
  .bn-filters-layout { flex-direction: column; }
  .bn-filters-sidebar { width: 100%; position: static; }
  .bn-filter-card { position: static; }

  /* ── SCHOOL PROFILE ── */
  .bn-profile-layout { flex-direction: column; }
  .bn-profile-sidebar { width: 100%; position: static; }
  .bn-profile-hero { height: 220px; border-radius: var(--rlg); }
  .bn-profile-hero-content h1 { font-size: 22px; }
  .bn-tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bn-tab-btn { white-space: nowrap; padding: 12px 14px; font-size: 12px; }

  /* ── COMPARE ── */
  #bn-cmp-slots { flex-direction: column; }
  .bn-cmp-slot { min-width: 100% !important; height: 70px !important; }
  .bn-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* ── BLOG POST ── */
  .bn-blog-post-layout { flex-direction: column !important; gap: 20px !important; }
  .bn-blog-sidebar {
    width: 100% !important;
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .bn-blog-sidebar > div {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
  /* Reading progress and TOC take full width on mobile */
  .bn-blog-sidebar > div:first-child,
  .bn-blog-sidebar > div:nth-child(3) { flex: 1 1 100%; }

  /* ── ELIGIBILITY / RECO / DASHBOARD ── */
  .bn-elig-form-layout { flex-direction: column !important; }
  .bn-elig-form-layout aside { width: 100% !important; }
  .bn-page-aside { width: 100% !important; position: static !important; }

  /* ── SCHOOL PROFILE SIDEBAR ── */
  .bn-profile-layout { flex-direction: column; }
  .bn-profile-sidebar { width: 100% !important; position: static !important; }

  /* ── ADMISSION ── */
  .bn-admission-layout { flex-direction: column !important; gap: 16px !important; }
  .bn-admission-sidebar { width: 100% !important; position: static !important; }

  /* ── COMPARE TABLE ── */
  #bn-cmp-table { font-size: 12px; }
  #bn-cmp-table th, #bn-cmp-table td { padding: 10px 12px; }

  /* ── AUTH PAGE ── */
  .bn-auth-card { margin: 0 !important; }

  /* ── FOOTER ── */
  .bn-footer-grid { grid-template-columns: 1fr; }
  .bn-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* ── COMPARE BANNER ── */
  .bn-compare-banner { padding: 10px 16px; }
  .bn-compare-banner-inner { flex-wrap: wrap; gap: 8px; }

  /* ── LOCATION BANNER ── */
  .bn-location-banner-inner { flex-wrap: wrap; gap: 10px; }

  /* ── MODAL ── */
  #bn-picker-modal > div,
  #bn-elig-modal > div { width: 96vw !important; padding: 20px; }

  /* ── MISC ── */
  .bn-section-header-row { flex-direction: column; gap: 12px; align-items: flex-start; }
  .bn-profile-hero-content { padding: 16px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .bn-hero-title { font-size: 24px; }
  .bn-stats-row { grid-template-columns: 1fr 1fr; }
  .bn-trust-row { gap: 14px; }
  .bn-trust-num { font-size: 20px; }
  .bn-section-title { font-size: 22px; }
  .bn-blog-card-img { height: 160px; }
  .bn-nav-inner { height: 56px; }
  .bn-compare-banner-inner { flex-direction: column; align-items: flex-start; }
  .bn-filter-card { padding: 14px; }
}

/* ── BLOG POST LAYOUT ── */
.bn-blog-post-layout { display: flex; gap: 32px; align-items: flex-start; }
.bn-blog-sidebar {
  width: 252px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ══════════════════════════════════════════
   PREMIUM EDITORIAL BLOG STYLES & SHIELDS
   ══════════════════════════════════════════ */

/* Background Glow Floating Animations */
@keyframes bnGlowFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  33% { transform: translate(15px, -20px) scale(1.08); opacity: 0.55; }
  66% { transform: translate(-10px, 15px) scale(0.95); opacity: 0.45; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
}
.bn-glow-ring-1 {
  animation: bnGlowFloat 10s ease-in-out infinite alternate;
}
.bn-glow-ring-2 {
  animation: bnGlowFloat 14s ease-in-out infinite alternate-reverse;
}

/* Horizontal Category Navigation Bar */
.bn-category-slider-wrapper {
  position: relative;
  width: 100%;
}
.bn-category-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 4px 0 12px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.bn-category-slider::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

/* Premium Tags */
.bn-blog-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bn-blog-tag:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}
.bn-blog-tag.active {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}

/* Premium Featured Card */
.bn-featured-hero-card {
  display: flex;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(11,45,110,0.05);
  box-shadow: 0 16px 40px rgba(11,45,110,0.04);
  overflow: hidden;
  margin-bottom: 40px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.bn-featured-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(11,45,110,0.08);
  border-color: rgba(13,148,136,0.2);
}
.bn-featured-hero-img-wrap {
  width: 50%;
  position: relative;
  overflow: hidden;
  height: 380px;
  flex-shrink: 0;
}
.bn-featured-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bn-featured-hero-card:hover .bn-featured-hero-img {
  transform: scale(1.03);
}
.bn-featured-hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #0d9488;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(13,148,136,0.25);
  z-index: 2;
}
.bn-featured-hero-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.bn-featured-hero-title {
  font-size: 26px;
  font-weight: 850;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
  transition: color 0.2s;
}
.bn-featured-hero-card:hover .bn-featured-hero-title {
  color: #0d9488;
}
.bn-featured-hero-excerpt {
  font-size: 14.5px;
  color: var(--sl);
  line-height: 1.75;
  margin: 0 0 24px;
}

/* Premium Blog Grid */
.bn-blog-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.bn-blog-premium-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(11,45,110,0.05);
  box-shadow: 0 10px 30px rgba(11,45,110,0.03);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.bn-blog-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(11,45,110,0.08);
  border-color: rgba(13,148,136,0.18);
}
.bn-blog-premium-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  width: 100%;
  flex-shrink: 0;
}
.bn-blog-premium-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bn-blog-premium-card:hover .bn-blog-premium-card-img {
  transform: scale(1.04);
}
.bn-blog-premium-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11,45,110,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
}
.bn-blog-premium-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bn-blog-premium-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin: 0 0 10px;
  letter-spacing: -0.1px;
  transition: color 0.2s;
}
.bn-blog-premium-card:hover .bn-blog-premium-card-title {
  color: #0d9488;
}
.bn-blog-premium-card-excerpt {
  font-size: 13.5px;
  color: var(--sl);
  line-height: 1.7;
  flex: 1;
  margin: 0 0 18px;
}
.bn-blog-premium-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--sl);
  border-top: 1px solid rgba(226,232,240,0.7);
  padding-top: 14px;
  font-weight: 600;
}

/* Pagination */
.bn-blog-pagination-container {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.bn-blog-pagination-container .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid rgba(11,45,110,0.06);
  text-decoration: none;
  transition: all 0.2s;
}
.bn-blog-pagination-container .page-numbers:hover {
  background: var(--navy-lt);
  border-color: var(--navy);
}
.bn-blog-pagination-container .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(11,45,110,0.15);
}

/* ── SINGLE ARTICLE DESIGN ── */
.bn-blog-post-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.bn-article-body {
  flex: 1;
  min-width: 0;
}
.bn-blog-post-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bn-sidebar-widget {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(11,45,110,0.06);
  box-shadow: 0 8px 24px rgba(11,45,110,0.02);
  padding: 20px;
}
.bn-sidebar-widget-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(11,45,110,0.05);
}
.bn-article-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  color: var(--navy);
}
.bn-article-meta-bar {
  border-bottom: 1.5px solid rgba(226,232,240,0.7);
  padding-bottom: 20px;
  align-items: center;
}
.bn-article-banner-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(11,45,110,0.08);
}
.bn-article-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Premium Typography for rich blog content */
.bn-article-rich-content {
  font-family: 'Plus Jakarta Sans', var(--font);
  font-size: 16px;
  line-height: 1.95;
  color: #334155;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.bn-article-rich-content p {
  margin-bottom: 24px;
  letter-spacing: -0.05px;
}
.bn-article-rich-content h2 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 850;
  color: var(--navy);
  line-height: 1.35;
  margin: 48px 0 18px;
  letter-spacing: -0.4px;
}
.bn-article-rich-content h3 {
  font-size: clamp(17px, 2.5vw, 19px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin: 36px 0 14px;
  letter-spacing: -0.2px;
}
.bn-article-rich-content blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-lt);
  padding: 24px;
  border-radius: 0 16px 16px 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 600;
}
.bn-article-rich-content ul, .bn-article-rich-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.bn-article-rich-content li {
  margin-bottom: 8px;
}

/* Anti-Overflow Shield for Custom Tables & Media */
.bn-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(11,45,110,0.02);
}
.bn-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 0 !important;
  min-width: 600px; /* Forces soft scroll on tiny mobile screens */
}
.bn-article-rich-content th {
  background: var(--navy-lt);
  color: var(--navy);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border);
}
.bn-article-rich-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #475569;
}
.bn-article-rich-content tr:last-child td {
  border-bottom: none;
}
.bn-article-rich-content img,
.bn-article-rich-content iframe,
.bn-article-rich-content pre,
.bn-article-rich-content video {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 16px;
  box-sizing: border-box !important;
}
.bn-article-rich-content pre {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: monospace;
  font-size: 13.5px;
  color: var(--navy);
}

/* CTA and Share widgets */
.bn-article-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #173d8a 100%);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  margin: 48px 0;
  box-shadow: 0 16px 40px rgba(11,45,110,0.15);
  position: relative;
  overflow: hidden;
}
.bn-article-cta-box::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.bn-article-tag {
  background: var(--navy-lt);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}
.bn-article-tag:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.bn-article-tags-row {
  align-items: center;
  border-top: 1.5px solid rgba(226,232,240,0.7);
  padding-top: 24px;
  margin-top: 36px;
}
.bn-author-bio-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(11,45,110,0.06);
  box-shadow: 0 8px 24px rgba(11,45,110,0.02);
  padding: 24px;
  margin-top: 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* Mobile Filter Collapsible Pill & Mobile CTA setup */
.bn-mobile-filter-bar,
.bn-mobile-results-cta {
  display: none !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE (max 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Core layout containment safeguards */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .site-header, .site-footer {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .bn-container { 
    width: 100% !important; 
    max-width: 100% !important; 
    margin-left: 0 !important; 
    margin-right: 0 !important; 
    padding-left: 20px !important; 
    padding-right: 20px !important; 
    box-sizing: border-box !important; 
    overflow-x: visible !important; 
  }

  /* Blog Premium Hero Centered */
  .bn-blog-hero { padding: 44px 0 36px !important; text-align: center !important; }
  .bn-blog-hero h1 { font-size: 26px !important; line-height: 1.25 !important; letter-spacing: -0.5px !important; margin-left: auto !important; margin-right: auto !important; }
  .bn-blog-hero p { font-size: 14px !important; line-height: 1.6 !important; margin-bottom: 24px !important; margin-left: auto !important; margin-right: auto !important; }
  .bn-blog-hero .bn-eyebrow { margin-left: auto !important; margin-right: auto !important; display: inline-flex !important; }
  
  /* Category Tags Wrap & Center (No scroll, zero clipping, fully responsive) */
  .bn-category-slider-wrapper .bn-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }
  .bn-category-slider {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow-x: visible !important;
  }
  .bn-blog-tag { font-size: 11.5px !important; padding: 6px 14px !important; }

  /* Grid System Collapse */
  .bn-blog-premium-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .bn-results-grid, .bn-grid-2, .bn-grid-3, .bn-grid-4 { grid-template-columns: 1fr !important; }
  
  /* Featured Card Centered on Mobile */
  .bn-featured-hero-card { flex-direction: column !important; height: auto !important; border-radius: 20px !important; }
  .bn-featured-hero-img-wrap { width: 100% !important; aspect-ratio: 16/10 !important; height: auto !important; }
  .bn-featured-hero-content { padding: 24px !important; text-align: center !important; align-items: center !important; }
  .bn-featured-hero-content .bn-flex { justify-content: center !important; }
  .bn-featured-hero-title { font-size: 19px !important; }
  .bn-featured-hero-content .bn-flex-b {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    width: 100% !important;
    border-top: 1px solid rgba(226,232,240,0.8) !important;
  }
  .bn-featured-hero-content .bn-flex-c { justify-content: center !important; width: 100% !important; }

  /* Latest Insights Header Centered */
  .bn-flex-b.bn-mb-32 {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    border-bottom: 2px solid rgba(11,45,110,0.05) !important;
    padding-bottom: 16px !important;
  }

  /* Single Blog Layout & Gutenberg Column Stacks (Solves all side scroll issues) */
  .bn-blog-post-layout {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .bn-blog-post-sidebar { display: none !important; }
  .bn-article-body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .bn-article-title { font-size: 24px !important; letter-spacing: -0.4px !important; line-height: 1.3 !important; }
  .bn-article-banner-wrap { width: 100% !important; aspect-ratio: 16/10 !important; height: auto !important; border-radius: 16px !important; }
  .bn-article-meta-bar { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .bn-author-bio-card { flex-direction: column !important; align-items: center !important; text-align: center !important; }

  /* Gutenberg Columns Stacking Fix */
  .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Horizontal Table scrolling safeguard */
  .wp-block-table,
  .bn-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 24px 0 !important;
  }
  .wp-block-table table,
  .bn-table-wrapper table {
    width: 100% !important;
    min-width: 500px !important;
    border-collapse: collapse !important;
    box-sizing: border-box !important;
  }

  /* Sidebars width & scrolling overrides (Resets desktop sticky/scroll constraints) */
  .bn-page-aside, .bn-admission-sidebar { 
    width: 100% !important; 
    position: static !important; 
  }

  /* Mobile Filters Sidebar default flow (scales naturally) */
  .bn-filters-sidebar {
    width: 100% !important;
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
    margin-bottom: 20px !important;
    background: transparent !important;
  }

  /* Lock mobile toggle to viewport when scrolled down */
  .bn-mobile-filter-bar.bn-fixed-sticky {
    position: fixed !important;
    top: 10px !important; /* Elegant thin gap at the top of viewport */
    left: 16px !important;
    right: 16px !important;
    z-index: 200 !important;
    margin-bottom: 0 !important;
    box-shadow: 0 8px 24px rgba(11,45,110,0.12) !important;
    animation: slideDownSticky 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes slideDownSticky {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Minimized Filter Action Bar (Stays pinned inside parent) */
  .bn-mobile-filter-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border) !important;
    border-radius: 50px !important;
    padding: 11px 18px !important;
    cursor: pointer !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 16px rgba(11,45,110,0.06) !important;
    transition: all 0.25s ease !important;
    margin-bottom: 0 !important;
  }
  .bn-mobile-filter-bar i { transition: transform .3s; }
  .bn-mobile-filter-bar.open i.bn-chevron { transform: rotate(180deg); }

  /* Mobile Full-Screen Premium Modal Overlay */
  .bn-filter-card.bn-filter-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important; /* Always sits on top */
    background: #fff !important;
    padding: 20px 20px 80px 20px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 -8px 32px rgba(11,45,110,0.15) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    animation: slideUpModal 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  /* Fixed Sticky Header for Filters Modal Drawer */
  .bn-filter-card.bn-filter-open h3 {
    font-size: 16px !important;
    border-bottom: 1.5px solid var(--border) !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
    position: sticky !important;
    top: -20px !important; /* Sticks to the absolute top of the scroll viewport */
    background: #fff !important;
    z-index: 100 !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
  }

  .bn-filter-card { display: none; }

  /* Clean Rounded Close Button for Mobile Menu Modal */
  .bn-mobile-filter-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--navy-lt) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    color: var(--navy) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
  }
  .bn-mobile-filter-close:hover {
    background: var(--navy) !important;
    color: #fff !important;
  }

  /* Sticky Apply Button for scrolling modal comfort */
  .bn-filter-card.bn-filter-open button[type="submit"] {
    position: sticky !important;
    bottom: -60px !important; /* Locks at the bottom of the drawer scroll viewport */
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background: var(--navy) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(11,45,110,0.2) !important;
    border-radius: 50px !important;
    padding: 12px !important;
    margin-top: 24px !important;
  }

  /* Enforce alignment stretching on filters layout on mobile */
  .bn-filters-layout {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  /* Stack card action buttons vertically on narrow viewports */
  .bn-card-actions {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .bn-action-btn {
    width: 100% !important;
  }

  /* Recommendations CTA split strategy */
  .bn-sidebar-cta {
    display: none !important;
  }
  .bn-mobile-results-cta {
    display: block !important;
    margin: 24px 0 12px !important;
  }
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Inline Icon Centering System */
.bn-icon-inline,
svg.lucide,
i.lucide,
[data-lucide] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin-top: -0.15em !important; /* Scale-relative top offset for baseline centering */
  flex-shrink: 0 !important;
}

/* Margin space for inline icons preceding text */
.bn-icon-inline {
  margin-right: 6px !important;
}
.bn-card-body i[data-lucide],
.bn-card-body .bn-icon-inline {
  margin-right: 6px !important;
}


