/* ============================================================================
   ElevenReady marketing site — brand layer (Academic Trust palette).
   Self-contained: loads on top of the template's Bootstrap grid + Font Awesome.
   Used by the rebranded ElevenReady pages (index, how-it-works, pricing,
   for-tutors, about, contact). Navy-forward, warm, trustworthy.
   ============================================================================ */

:root {
  --navy: #1E3A8A;
  --navy-dark: #15296B;
  --sky: #0EA5E9;
  --gold: #F59E0B;
  --ink: #0F172A;
  --slate: #475569;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --bg-soft: #EEF2FB;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body.er {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--slate);
  background: var(--white);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.er h1, .er h2, .er h3, .er h4 { font-family: 'Lexend', 'Poppins', sans-serif; color: var(--ink); font-weight: 700; line-height: 1.15; }
.er h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.er h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.er a { color: var(--navy); text-decoration: none; }
.er a:hover { color: var(--sky); }
.er-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.er-section { padding: 84px 0; }
.er-section--tight { padding: 56px 0; }
.er-bg-soft { background: var(--bg); }
.er-center { text-align: center; }
.er-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--sky); margin: 0 0 .6rem; }
.er-lead { font-size: 1.15rem; color: var(--slate); max-width: 60ch; }
.er-center .er-lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.er-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.er-btn:hover { transform: translateY(-2px); }
.er-btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.er-btn--primary:hover { color: var(--ink); box-shadow: 0 12px 26px rgba(245,158,11,.45); }
.er-btn--navy { background: var(--navy); color: #fff; }
.er-btn--navy:hover { background: var(--navy-dark); color: #fff; }
.er-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.er-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.er-btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.er-btn--outline:hover { border-color: var(--navy); color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .er-btn:hover { transform: none; } }

/* ---- Navbar ---- */
.er-nav { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.er-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.er-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: 'Lexend','Poppins',sans-serif;
  font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.er-brand:hover { color: var(--navy); }
.er-brand__bot { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--sky)); color: #fff; font-size: 1.2rem; }
.er-brand b { color: var(--gold); }
.er-nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.er-nav__links a { color: var(--ink); font-weight: 500; }
.er-nav__links a:hover { color: var(--navy); }
.er-nav__cta { display: flex; align-items: center; gap: .9rem; }
.er-nav__login { font-weight: 600; color: var(--navy); }
.er-nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); }
/* "More" dropdown — groups About / Blog / News / Contact to de-clutter the bar. */
.er-nav__item--menu { position: relative; }
.er-nav__more { display: inline-flex; align-items: center; gap: .35rem; padding: 0; background: none; border: 0;
  font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.er-nav__more:hover, .er-nav__item--menu:hover .er-nav__more,
.er-nav__more[aria-expanded="true"] { color: var(--navy); }
.er-nav__caret { font-size: .7rem; line-height: 1; transition: transform .18s ease; }
.er-nav__item--menu:hover .er-nav__caret,
.er-nav__more[aria-expanded="true"] .er-nav__caret { transform: rotate(180deg); }
.er-nav__menu { position: absolute; top: calc(100% + 16px); right: 0; min-width: 188px; list-style: none; margin: 0;
  padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.er-nav__menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; } /* hover bridge */
.er-nav__menu li { margin: 0; }
.er-nav__menu a { display: block; padding: .55rem .75rem; border-radius: 9px; font-weight: 500; color: var(--ink); }
.er-nav__menu a:hover { background: rgba(30,58,138,.06); color: var(--navy); }
.er-nav__item--menu:hover .er-nav__menu,
.er-nav__item--menu:focus-within .er-nav__menu,
.er-nav__more[aria-expanded="true"] + .er-nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 991px) {
  .er-nav__links, .er-nav__login { display: none; }
  .er-nav__toggle { display: block; }
  .er-nav--open .er-nav__links { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px; gap: 1rem; }
  /* On mobile the bar is already a vertical list — flatten the dropdown into it (no hover/click needed). */
  .er-nav--open .er-nav__more { display: none; }
  .er-nav--open .er-nav__menu { position: static; opacity: 1; visibility: visible; transform: none;
    display: flex; flex-direction: column; gap: 1rem; min-width: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .er-nav--open .er-nav__menu::before { display: none; }
  .er-nav--open .er-nav__menu a { padding: 0; border-radius: 0; }
}

/* ---- Hero ---- */
.er-hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(14,165,233,.35), transparent 60%),
  linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%); color: #fff; padding: 90px 0 100px; overflow: hidden; }
.er-hero h1 { color: #fff; }
.er-hero p { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 34ch; }
.er-hero__row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.er-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.er-hero__note { margin-top: 1.1rem; font-size: .92rem; color: rgba(255,255,255,.75); }
.er-hero__art { display: grid; place-items: center; }
.er-hero__card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 24px;
  padding: 28px; width: 100%; max-width: 380px; box-shadow: var(--shadow); }
.er-hero__bot { font-size: 4.5rem; text-align: center; }
.er-hero__bar { background: rgba(255,255,255,.16); border-radius: 999px; height: 12px; margin: 10px 0; overflow: hidden; }
.er-hero__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #fde68a); }
.er-pill { display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px; padding: .35rem .9rem;
  font-size: .85rem; font-weight: 600; margin: .2rem; }
@media (max-width: 860px) { .er-hero__row { grid-template-columns: 1fr; } .er-hero p { max-width: none; } }

/* ---- Trust bar ---- */
.er-trust { padding: 28px 0; border-bottom: 1px solid var(--line); }
.er-trust__label { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.er-trust__row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; }
.er-trust__row span { font-weight: 600; color: var(--ink); opacity: .8; }

/* ---- Feature / card grid ---- */
.er-grid { display: grid; gap: 24px; }
.er-grid--3 { grid-template-columns: repeat(3, 1fr); }
.er-grid--4 { grid-template-columns: repeat(4, 1fr); }
.er-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .er-grid--3, .er-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .er-grid--2, .er-grid--3, .er-grid--4 { grid-template-columns: 1fr; } }
.er-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); height: 100%; }
.er-card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--bg-soft); color: var(--navy); margin-bottom: 16px; }
.er-card h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.er-card p { margin: 0; color: var(--slate); }

/* ---- Steps ---- */
.er-steps { counter-reset: step; }
.er-step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid;
  place-items: center; font-weight: 700; font-family: 'Lexend',sans-serif; margin-bottom: 14px; }

/* ---- Split section ---- */
.er-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.er-split--rev .er-split__media { order: 2; }
.er-split__media { background: var(--bg-soft); border-radius: 24px; padding: 36px; text-align: center; font-size: 5rem; }
.er-split ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.er-split li { padding-left: 2rem; position: relative; margin-bottom: .7rem; }
.er-split li::before { content: "\2713"; position: absolute; left: 0; color: var(--sky); font-weight: 800; }
@media (max-width: 860px) { .er-split { grid-template-columns: 1fr; } .er-split--rev .er-split__media { order: 0; } }

/* ---- Pricing ---- */
.er-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .er-price { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.er-plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.er-plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow); position: relative; }
.er-plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: .8rem; padding: .25rem .9rem; border-radius: 999px; }
.er-plan h3 { font-size: 1.25rem; margin: 0 0 .3rem; }
.er-plan__price { font-family: 'Lexend',sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.er-plan__price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.er-plan ul { list-style: none; padding: 0; margin: 1.2rem 0; flex: 1; }
.er-plan li { padding-left: 1.8rem; position: relative; margin-bottom: .65rem; }
.er-plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--sky); font-weight: 800; }
.er-plan .er-btn { width: 100%; justify-content: center; }

/* ---- CTA band ---- */
.er-cta { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.er-cta h2 { color: #fff; }
.er-cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: .6rem auto 1.6rem; }

/* ---- FAQ ---- */
.er-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 14px; }
.er-faq__item h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.er-faq__item p { margin: 0; }

/* ---- Page banner (inner pages) ---- */
.er-banner { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; padding: 64px 0; text-align: center; }
.er-banner h1 { color: #fff; }
.er-banner p { color: rgba(255,255,255,.85); margin: .5rem auto 0; max-width: 60ch; }

/* ---- Forms ---- */
.er-field { display: block; margin-bottom: 16px; }
.er-field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.er-field input, .er-field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); }
.er-field input:focus, .er-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,138,.18); }

/* ---- Footer ---- */
.er-footer { background: var(--ink); color: #CBD5E1; padding: 64px 0 28px; }
.er-footer a { color: #CBD5E1; }
.er-footer a:hover { color: #fff; }
.er-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .er-footer__grid { grid-template-columns: 1fr 1fr; } }
.er-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.er-footer ul { list-style: none; padding: 0; margin: 0; }
.er-footer li { margin-bottom: .6rem; }
.er-footer__brand { font-family: 'Lexend',sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff; }
.er-footer__brand b { color: var(--gold); }
.er-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .9rem; color: #94A3B8; }
.er-mt-2 { margin-top: 2rem; }
.er-section-head { max-width: 640px; margin: 0 auto 48px; }

/* ---- Legal / prose pages ---- */
.er-legal { max-width: 820px; margin: 0 auto; }
.er-legal__updated { color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }
.er-legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.er-legal h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; color: var(--ink); }
.er-legal p { margin: 0 0 1rem; }
.er-legal ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.er-legal li { margin-bottom: .5rem; }
.er-legal a { color: var(--navy); text-decoration: underline; }
.er-legal a:hover { color: var(--sky); }
.er-legal hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.er-legal .er-legal__placeholder { background: #FEF3C7; border-radius: 4px; padding: 0 .25rem; }

/* ---- Product screenshot ---- */
.er-shot-frame { background: linear-gradient(135deg, var(--bg-soft), #ffffff); border: 1px solid var(--line);
  border-radius: 26px; padding: 18px; box-shadow: var(--shadow); max-width: 920px; margin: 0 auto; }
.er-shot-figure { margin: 0; }
.er-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.er-shot-cap { text-align: center; color: var(--muted); font-size: .9rem; margin: 14px 0 0; }

/* ---- Hero mascot ---- */
.er-hero__robbie { width: 150px; height: 150px; display: block; margin: 0 auto 8px; filter: drop-shadow(0 12px 26px rgba(0,0,0,.28)); }

/* ---- Stats band ---- */
.er-stats { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: 28px; padding: 44px; }
.er-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .er-stats__grid { grid-template-columns: repeat(2, 1fr); } }
.er-stats__num { font-family: 'Lexend', sans-serif; font-size: 2.3rem; font-weight: 800; color: #fff; }
.er-stats__label { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---- Comparison ---- */
.er-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .er-compare { grid-template-columns: 1fr; } }
.er-compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.er-compare__col--win { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.er-compare h3 { margin: 0 0 1rem; }
.er-compare ul { list-style: none; padding: 0; margin: 0; }
.er-compare li { padding-left: 1.9rem; position: relative; margin-bottom: .65rem; }
.er-compare__no li::before { content: "\2715"; position: absolute; left: 0; color: #94A3B8; font-weight: 800; }
.er-compare__yes li::before { content: "\2713"; position: absolute; left: 0; color: var(--sky); font-weight: 800; }

/* ---- FAQ accordion ---- */
.er-faq2 { max-width: 760px; margin: 0 auto; }
.er-faq2 details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 14px; }
.er-faq2 summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.er-faq2 summary::-webkit-details-marker { display: none; }
.er-faq2 summary::after { content: "+"; color: var(--navy); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.er-faq2 details[open] summary::after { content: "\2013"; }
.er-faq2 details p { margin: 0 0 18px; color: var(--slate); }

/* ---- Promise / trust cards (factual, not fabricated reviews) ---- */
.er-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .er-promise { grid-template-columns: 1fr; } }
.er-promise__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.er-promise__card .er-card__icon { margin-bottom: 14px; }
.er-promise__q { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin: 0 0 .5rem; }

/* ---- Review fixes ---- */
/* Critical: button text must beat the global `.er a` link colour (higher specificity, no !important). */
.er a.er-btn--navy, .er a.er-btn--ghost, .er a.er-btn--navy:hover, .er a.er-btn--ghost:hover { color: #fff; }
.er a.er-btn--primary, .er a.er-btn--primary:hover { color: var(--ink); }
.er a.er-btn--outline, .er a.er-btn--outline:hover { color: var(--navy); }

/* Skip-to-content link (visible on focus only). */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--navy); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

/* Footer column titles (non-heading, avoids the h2→h4 skip). */
.er-footer .er-foot-h { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }

/* Hero trust points wrap as two distinct items. */
.er-hero__note { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.er-hero__note span { display: inline-block; }

/* Comparison columns equal height. */
.er-compare { align-items: stretch; }
.er-compare__col { height: 100%; }

/* Pricing badge stays on one line, contained. */
.er-plan__tag { white-space: nowrap; }

/* FAQ: hide native disclosure marker across browsers (Safari/Firefox ::marker). */
.er-faq2 summary { list-style: none; }
.er-faq2 summary::marker { content: ""; }

/* ===== School finder + school pages ===== */
.er-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.er-crumbs a { color: var(--muted); text-decoration: none; }
.er-crumbs a:hover { text-decoration: underline; }

.er-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: end;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 6px 20px rgba(16,32,64,.05); margin-bottom: 18px; }
.er-filters__field { display: flex; flex-direction: column; gap: 5px; }
.er-filters__field--wide { grid-column: span 2; }
.er-filters__field label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.er-filters input, .er-filters select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink); width: 100%; }
.er-filters input:focus, .er-filters select:focus { outline: 3px solid rgba(56,132,255,.35); border-color: var(--sky); }
.er-filters__actions { display: flex; align-items: center; gap: 12px; }
.er-filters__clear { color: var(--muted); font-size: .9rem; text-decoration: none; }
.er-filters__clear:hover { text-decoration: underline; }
.er-results-count { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }

.er-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.er-chip { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.er-chip--primary { background: rgba(56,132,255,.12); border-color: rgba(56,132,255,.3); color: var(--navy); }
.er-chip--rating { background: rgba(16,160,90,.12); border-color: rgba(16,160,90,.3); color: #0a6b3e; }

.er-school-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.er-school-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,32,64,.1); }
.er-school-card h3 { margin: 0 0 .25rem; color: var(--navy); }
.er-school-card__loc { color: var(--muted); font-size: .88rem; margin: 0; }
.er-school-card__more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--sky); }

.er-school__loc { color: var(--muted); margin: .2rem 0 .6rem; }
.er-school__verified { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.er-school__grid { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.er-school__main h2 { margin: 1.6rem 0 .6rem; }
.er-school__main h2:first-child { margin-top: 0; }
.er-spec { width: 100%; border-collapse: collapse; }
.er-spec th, .er-spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.er-spec th { width: 38%; color: var(--muted); font-weight: 600; }
.er-note { background: var(--bg-soft); border-left: 3px solid var(--sky); padding: 12px 14px; border-radius: 8px; margin: 12px 0 0; font-size: .92rem; }
.er-muted { color: var(--muted); }
.er-card--sticky { position: sticky; top: 92px; }
.er-card--cta { margin-top: 18px; background: var(--navy); color: #fff; }
.er-card--cta h3, .er-card--cta p { color: #fff; }
.er-btn--block { display: block; width: 100%; text-align: center; margin-top: 10px; }

@media (max-width: 820px) {
  .er-school__grid { grid-template-columns: 1fr; }
  .er-card--sticky { position: static; }
  .er-filters__field--wide { grid-column: span 1; }
}
