/*
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; }

/* ── 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: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; height: 195px; }
.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; }
.bn-filter-card { background: #fff; border-radius: var(--rlg); border: 1px solid var(--border); padding: 20px; position: sticky; top: 80px; }
.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; }

/* ── 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;
}

/* ── PAGE ASIDES (eligibility, reco) ── */
.bn-page-aside { flex-shrink: 0; }
.bn-admission-sidebar { flex-shrink: 0; }
.bn-mobile-toggle { display: none; }
.bn-mobile-menu { display: none; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--r); }
.entry-content p { margin-bottom: 16px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.wp-block-table { overflow-x: auto; display: block; }
.wp-block-table table { min-width: 500px; }
