/* ==========================================================================
   Better Education — Coming Soon
   Design tokens
   Navy #152A4E / Sky #2B9BE0 sampled from the logo. The logo's cap-and-road
   mark is echoed as a thin curved divider between sections (.be-road) rather
   than a generic hairline rule.
   ========================================================================== */

.be-wrap {
	--be-navy: #152A4E;
	--be-navy-deep: #0D1D38;
	--be-sky: #2B9BE0;
	--be-ink: #1C2530;
	--be-muted: #64707F;
	--be-paper: #FBFAF6;
	--be-paper-dim: #F2F0E9;
	--be-line: #E4DFD1;
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--be-ink);
	background: var(--be-paper);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;

	/* Full-bleed edge-to-edge layout. This used to be done with
	   width:100vw + a negative margin to break out of whatever narrow
	   content column a theme might wrap pages in. That's no longer
	   needed — every page this plugin renders now goes through its own
	   template with <body> as .be-wrap's direct parent (see
	   templates/be-full-page.php and friends), and body.be-cs-fullpage
	   below is forced to zero margin/padding. So a plain 100% now
	   reaches the true edges on its own, with none of the viewport-unit
	   math. That math was also the likely cause of a real bug on iOS
	   Safari specifically: 100vw does not equal the visible viewport
	   width there (it includes space Safari reserves for its own UI),
	   so the old negative-margin calculation could push content
	   noticeably off-screen — invisible in Chrome-based testing, but
	   very possibly the exact cause of "blank on mobile" reports. */
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow-x: hidden;
}

/* Many themes print their own H1 ("Home", "Admission Inquiry", etc.) above
   the page content. Since every page this plugin creates is a full
   self-contained layout with its own header, that title just duplicates
   what's already on screen — hide it wherever it appears alongside .be-wrap. */
body:has(> .be-wrap),
body:has(.be-wrap) {
	overflow-x: hidden;
}
body:has(.be-wrap) .entry-title,
body:has(.be-wrap) .wp-block-post-title,
body:has(.be-wrap) .page-title,
body:has(.be-wrap) .entry-header,
body:has(.be-wrap) h1.page-header-title,
body:has(.be-wrap) .elementor-widget-theme-post-title {
	display: none !important;
}

.be-wrap * { box-sizing: border-box; }

.be-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 32px;
}

.be-narrow { max-width: 620px; }

/* :where() keeps these resets at zero specificity so a single utility
   class (.be-hero-h1, .be-h-light, .be-btn-ghost, etc.) always wins,
   instead of fighting a class+element selector for the cascade. */
:where(.be-wrap) :where(h1, h2, h3) {
	font-family: 'Fraunces', Georgia, serif;
	color: var(--be-navy);
	font-weight: 560;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
}

:where(.be-wrap) :where(a) { color: inherit; }

/* Eyebrow labels — mono, tracked out, used instead of emoji headers */
.be-eyebrow {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--be-sky);
	margin: 0 0 14px;
}
.be-eyebrow-light { color: #8FC7EE; }

/* Header ------------------------------------------------------------- */
.be-header {
	background: var(--be-paper);
	border-bottom: 1px solid var(--be-line);
	padding: 16px 0;
}
.be-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.be-logo { height: 34px; width: auto; display: block; }
.be-header-phone {
	text-decoration: none;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 14px;
	color: var(--be-navy);
	border-bottom: 1px solid var(--be-navy);
	padding-bottom: 2px;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.be-header-phone:hover { color: var(--be-sky); border-color: var(--be-sky); }

/* Hero ----------------------------------------------------------------- */
.be-hero {
	background: radial-gradient(120% 140% at 15% 0%, #1c3a68 0%, var(--be-navy) 45%, var(--be-navy-deep) 100%);
	padding: 28px 0 24px;
}
.be-hero .be-eyebrow { margin-bottom: 8px; }
.be-hero-h1 {
	color: #fff;
	font-size: clamp(22px, 3.2vw, 32px);
	max-width: 18ch;
	margin: 0 0 8px;
}
.be-hero-sub {
	color: #D7E1F1;
	font-size: 14px;
	max-width: 46ch;
	margin: 0 0 6px;
}
.be-hero-intro {
	color: #92A2BF;
	font-size: 12.5px;
	max-width: 52ch;
	margin: 0 0 14px;
}
.be-hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Buttons ---------------------------------------------------------------- */
.be-btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	border: 1.5px solid transparent;
	cursor: pointer;
}
.be-btn:hover { transform: translateY(-1px); }
.be-btn-primary {
	background: var(--be-sky);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(43,155,224,0.55);
}
.be-btn-primary:hover { background: #2489c9; color: #fff; }
.be-btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.4);
}
.be-btn-ghost:hover { border-color: #fff; }
.be-btn-block { display: block; width: 100%; text-align: center; }

/* Road motif divider — echoes the road inside the logo's lettermark ------ */
.be-road {
	width: 100%;
	line-height: 0;
	background: var(--be-navy-deep);
}
.be-road svg {
	width: 100%;
	height: 28px;
	display: block;
}
.be-road path {
	fill: none;
	stroke: var(--be-sky);
	stroke-width: 2;
	stroke-linecap: round;
	opacity: 0.55;
}
.be-road-flip { transform: scaleY(-1); }

/* Sections ---------------------------------------------------------------- */
.be-section { padding: 80px 0; background: var(--be-paper); }
.be-section-alt { background: var(--be-paper-dim); }
.be-back-to-city { padding: 36px 0; }
.be-section-navy {
	background: var(--be-navy);
}
.be-h-light { color: #fff; }
.be-h-light-sub { color: #B9C7DE; font-size: 16px; margin: 18px 0 28px; max-width: 46ch; }

.be-split {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 56px;
	align-items: start;
}
.be-split-label h2 {
	font-size: clamp(24px, 2.6vw, 30px);
	max-width: 16ch;
}
@media (max-width: 800px) {
	.be-split { grid-template-columns: 1fr; gap: 28px; }
	.be-split-label h2 { max-width: none; }
}

.be-row-list { list-style: none; margin: 0; padding: 0; }
.be-row-list li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--be-line);
	font-size: 16px;
	color: var(--be-ink);
}
.be-row-list li:first-child { padding-top: 0; }
.be-row-list li:last-child { border-bottom: none; }
.be-row-list-light li { border-bottom-color: rgba(255,255,255,0.14); color: #EAF0FA; }
.be-row-list-compact { max-width: 620px; margin: 28px auto 8px; }

.be-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--be-sky);
	flex: none;
	position: relative;
	top: -1px;
}

.be-inline-list {
	font-family: 'Fraunces', serif;
	font-size: clamp(19px, 2.4vw, 24px);
	color: var(--be-navy);
	line-height: 1.7;
	margin: 0;
}
.be-inline-list-muted { color: var(--be-muted); font-size: 17px; }

/* Contact ------------------------------------------------------------- */
.be-contact-section { background: var(--be-paper-dim); }
.be-centered-text { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.be-contact-section h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 34px; }
.be-contact-lines {
	display: flex;
	gap: 28px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.be-contact-lines a {
	font-family: 'Fraunces', serif;
	font-size: clamp(22px, 3vw, 28px);
	color: var(--be-navy);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.be-contact-lines a:hover { color: var(--be-sky); border-color: var(--be-sky); }
.be-address { color: var(--be-muted); font-size: 14.5px; }

.be-launching-section { padding-top: 72px; padding-bottom: 88px; }
.be-tagline-final {
	font-family: 'Fraunces', serif;
	color: var(--be-navy);
	font-size: 18px;
	margin: 34px 0 0;
}

/* Forms ------------------------------------------------------------------ */
.be-form-section { padding-top: 64px; padding-bottom: 96px; }
.be-page-title { font-size: clamp(30px, 4vw, 40px); text-align: center; margin: 0 0 14px; }
.be-form-section > .be-container > p.be-centered-text { color: var(--be-muted); margin-bottom: 8px; }

.be-policy-content { text-align: left; margin-top: 32px; color: var(--be-ink); }
.be-policy-content h1.be-page-title { text-align: left; margin-bottom: 32px; }
.be-policy-content h2 {
	font-size: 21px;
	margin: 40px 0 14px;
}
.be-policy-content p {
	color: var(--be-muted);
	font-size: 15.5px;
	margin: 0 0 16px;
}
.be-policy-content ul, .be-policy-content ol {
	color: var(--be-muted);
	font-size: 15.5px;
	padding-left: 22px;
	margin: 0 0 16px;
}
.be-policy-content li { margin-bottom: 8px; }
.be-policy-content strong { color: var(--be-ink); }
.be-policy-content em { color: var(--be-navy); }

.be-form {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
}
.be-form label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--be-navy);
	margin-top: 26px;
	margin-bottom: 8px;
}
.be-form input[type="text"],
.be-form input[type="tel"],
.be-form input[type="email"],
.be-form select,
.be-form textarea {
	border: none;
	border-bottom: 1.5px solid var(--be-line);
	border-radius: 0;
	padding: 10px 2px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 16px;
	color: var(--be-ink);
	background: transparent;
	transition: border-color 0.15s ease;
}
.be-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--be-muted) 50%), linear-gradient(135deg, var(--be-muted) 50%, transparent 50%); background-position: calc(100% - 6px) 55%, calc(100% - 1px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.be-form textarea { resize: vertical; }
.be-form input:focus,
.be-form select:focus,
.be-form textarea:focus {
	outline: none;
	border-color: var(--be-sky);
}
.be-form button.be-btn { margin-top: 34px; }
.be-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.be-alert {
	border-radius: 4px;
	padding: 15px 18px;
	margin: 24px 0 0;
	font-size: 14px;
}
.be-alert-success { background: #EAF6EE; color: #1E6B36; border: 1px solid #C4E7CE; }
.be-alert-error { background: #FBEBEB; color: #A32020; border: 1px solid #F0C1C1; }
.be-alert-error ul { margin: 0; padding-left: 18px; }

/* Footer ------------------------------------------------------------------ */
.be-footer { background: var(--be-navy-deep); color: #93A2BE; padding: 56px 0 28px; }
.be-footer-context {
	padding: 18px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	margin-bottom: 32px;
}
.be-footer-context a {
	color: var(--be-sky);
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 500;
}
.be-footer-context a:hover { text-decoration: underline; }
.be-footer-districts {
	padding-top: 22px;
	padding-bottom: 22px;
}
.be-footer-districts-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5D6C89;
	margin: 0 0 12px;
}
.be-footer-districts-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.be-footer-districts-nav a {
	color: #B7C3DA;
	text-decoration: none;
	font-size: 14px;
}
.be-footer-districts-nav a:hover { color: var(--be-sky); }
.be-footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	margin-bottom: 20px;
}
.be-footer-logo {
	height: 32px;
	margin-bottom: 14px;
	display: inline-block;
}
.be-footer-brand p { font-size: 13.5px; margin: 0; color: #7C8BA8; }
.be-footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.be-footer-nav a { color: #B7C3DA; text-decoration: none; font-size: 14px; }
.be-footer-nav a:hover { color: var(--be-sky); }
.be-footer-copy { font-size: 12.5px; color: #5D6C89; margin: 0; }

/* Scroll reveal — REMOVED.
   This section previously faded .be-reveal content in via JavaScript
   (IntersectionObserver) once it scrolled into view, with an
   opacity:1-by-default safety net in case the script never ran. That
   safety net covered "script fails to run" — but a real-world report
   showed content only appearing after the user manually scrolled, which
   points to a different failure mode: IntersectionObserver's callback
   itself being delayed on some mobile browsers/conditions, independent
   of whether the script loaded fine. Rather than keep chasing edge
   cases in a purely cosmetic fade-in animation, content is now simply
   always visible immediately, with zero JavaScript dependency of any
   kind for basic visibility. The .be-reveal class name is left in the
   markup (harmless, does nothing) rather than ripped out everywhere it's
   used, to keep this change small and easy to revert if ever wanted. */

/* Focus visibility ---------------------------------------------------------- */
.be-wrap a:focus-visible,
.be-wrap button:focus-visible,
.be-wrap input:focus-visible,
.be-wrap select:focus-visible,
.be-wrap textarea:focus-visible {
	outline: 2px solid var(--be-sky);
	outline-offset: 2px;
}

/* Mobile ---------------------------------------------------------------- */
@media (max-width: 640px) {
	.be-container { padding: 0 22px; }
	.be-hero { padding: 22px 0 20px; }
	.be-section { padding: 56px 0; }
	.be-contact-lines { flex-direction: column; gap: 14px; }
}

/* Safety net: the full-page template (templates/be-full-page.php) bypasses
   the theme's wrapper markup, but the theme's stylesheet is still enqueued
   via wp_head(), so its global `body { ... }` rules (max-width, padding,
   centering) can still apply. Reset those specifically for our pages. */
body.be-cs-fullpage {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: auto !important;
	overflow-x: hidden;
}

/* ==========================================================================
   Header nav (Colleges / Study Abroad / About)
   ========================================================================== */
.be-header-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.be-header-nav > a { text-decoration: none; font-size: 14.5px; color: var(--be-navy); }
.be-header-nav > a:hover { color: var(--be-sky); }
.be-header-nav .be-header-phone { margin-left: 4px; }
@media (max-width: 780px) {
	.be-header-nav a:not(.be-header-phone) { display: none; }
}

/* Secondary footer nav row */
.be-footer-nav-secondary { margin-top: 12px; opacity: 0.75; }
.be-footer-nav-secondary a { font-size: 13px; }

/* ==========================================================================
   Section header with trailing link (used above card grids)
   ========================================================================== */
.be-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.be-section-head h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: 26ch; }
.be-text-link {
	color: var(--be-sky);
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	white-space: nowrap;
}
.be-text-link:hover { text-decoration: underline; }
.be-empty-note {
	color: var(--be-muted);
	background: var(--be-paper-dim);
	border-radius: 4px;
	padding: 20px 24px;
	font-size: 15px;
}
.be-about-text { color: var(--be-muted); font-size: 16px; max-width: 60ch; }
.be-left-text { text-align: left; margin-left: 0; }
.be-left-title { text-align: left; }

/* ==========================================================================
   College cards / grid
   ========================================================================== */
.be-college-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 980px) { .be-college-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .be-college-grid { grid-template-columns: 1fr; } }

.be-college-card {
	display: block;
	background: var(--be-card, #fff);
	border: 1px solid var(--be-line);
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.be-college-card:hover {
	transform: translateY(-2px);
	border-color: var(--be-sky);
	box-shadow: 0 12px 28px -14px rgba(21,42,78,0.25);
}
.be-college-card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--be-paper-dim); }
.be-college-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.be-college-card-body { padding: 20px 22px 22px; }
.be-college-card-city {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--be-sky);
	margin: 0 0 8px;
}
.be-college-card h3 {
	font-size: 19px;
	margin: 0 0 8px;
	line-height: 1.3;
}
.be-college-card-desc { color: var(--be-muted); font-size: 14px; margin: 0 0 14px; line-height: 1.55; }

.be-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.be-chip-row-wrap { margin: 16px 0 32px; }
.be-chip {
	display: inline-block;
	font-size: 12.5px;
	font-family: 'IBM Plex Mono', monospace;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--be-paper-dim);
	color: var(--be-navy);
	border: 1px solid var(--be-line);
}
.be-chip-muted { color: var(--be-muted); }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.be-breadcrumbs {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12.5px;
	color: var(--be-muted);
	margin-bottom: 26px;
}
.be-breadcrumbs a { color: var(--be-muted); text-decoration: none; }
.be-breadcrumbs a:hover { color: var(--be-sky); }
.be-breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.be-breadcrumbs span[aria-current] { color: var(--be-navy); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.be-faq { max-width: 780px; margin: 0 auto; }
.be-faq h2 { text-align: center; font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 28px; }
.be-faq-list { display: flex; flex-direction: column; gap: 10px; }
.be-faq-item {
	background: var(--be-card, #fff);
	border: 1px solid var(--be-line);
	border-radius: 6px;
	padding: 4px 22px;
}
.be-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 26px 16px 0;
	font-weight: 600;
	color: var(--be-navy);
	position: relative;
	font-size: 15.5px;
}
.be-faq-item summary::-webkit-details-marker { display: none; }
.be-faq-item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 14px;
	font-size: 20px;
	color: var(--be-sky);
	font-weight: 400;
}
.be-faq-item[open] summary::after { content: '\2212'; }
.be-faq-answer { padding: 0 0 18px; }
.be-faq-answer p { margin: 0; color: var(--be-muted); font-size: 14.5px; line-height: 1.65; }

/* ==========================================================================
   Single college page
   ========================================================================== */
.be-college-hero { padding-top: 44px; padding-bottom: 40px; }
.be-section-tight-top { padding-top: 8px; }
.be-view-all-bottom { text-align: center; margin: 36px 0 0; }
.be-college-hero-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	align-items: center;
}
@media (max-width: 800px) { .be-college-hero-grid { grid-template-columns: 1fr; } }
.be-college-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 4px 0 14px; }
.be-college-address { color: var(--be-muted); font-size: 15px; margin: 0 0 26px; }
.be-college-hero-image { border-radius: 6px; overflow: hidden; }
.be-college-hero-image img { width: 100%; height: auto; display: block; }
.be-btn-outline-dark {
	background: transparent;
	color: var(--be-navy);
	border-color: var(--be-navy);
}
.be-btn-outline-dark:hover { background: var(--be-navy); color: #fff; }

.be-college-detail-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	align-items: start;
}
@media (max-width: 900px) { .be-college-detail-grid { grid-template-columns: 1fr; } }
.be-college-detail-main h2 { font-size: 21px; margin: 40px 0 14px; }
.be-college-detail-main h2:first-child { margin-top: 0; }
.be-college-detail-main .be-faq h2 { text-align: left; margin-top: 44px; }
.be-college-detail-main .be-faq { max-width: none; margin: 0; }

.be-info-card {
	background: var(--be-paper-dim);
	border-radius: 6px;
	padding: 24px;
	position: sticky;
	top: 24px;
}
.be-info-card h3 { font-size: 15px; margin: 0 0 16px; }
.be-info-list { list-style: none; margin: 0; padding: 0; }
.be-info-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--be-line);
	font-size: 14px;
}
.be-info-list li:last-child { border-bottom: none; }
.be-info-list li span { color: var(--be-muted); }
.be-info-list li strong { color: var(--be-navy); font-weight: 600; text-align: right; }
.be-info-list li a { color: var(--be-sky); text-decoration: none; }

/* ==========================================================================
   Study abroad country groups
   ========================================================================== */
.be-country-group { margin-bottom: 52px; }
.be-country-group:last-child { margin-bottom: 0; }
.be-country-group h2 {
	font-size: 22px;
	margin: 0 0 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--be-line);
}

/* ==========================================================================
   College directory city filter
   ========================================================================== */
.be-city-filter select {
	border: 1.5px solid var(--be-line);
	border-radius: 4px;
	padding: 9px 14px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 14px;
	color: var(--be-navy);
	background: #fff;
}

/* ==========================================================================
   Mobile: new-component adjustments
   ========================================================================== */
@media (max-width: 640px) {
	.be-college-grid { gap: 18px; }
	.be-faq-item summary { padding-right: 30px; }
}

/* ==========================================================================
   Star ratings (used on cards, single college hero, and the reviews block)
   ========================================================================== */
.be-stars {
	position: relative;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	white-space: nowrap;
}
.be-stars-bg { color: var(--be-line); }
.be-stars-fg {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #E8A93C;
}
.be-stars-sm { font-size: 12.5px; }
.be-stars-lg { font-size: 20px; }

.be-rating-summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}
.be-rating-number { font-weight: 600; color: var(--be-navy); font-size: 13.5px; }
.be-rating-count { color: var(--be-muted); font-size: 12.5px; }
.be-college-card-body .be-rating-summary { margin: 2px 0 10px; }
.be-college-hero .be-rating-summary { margin: 10px 0 0; }

/* ==========================================================================
   Ratings & Reviews section (single college page)
   ========================================================================== */
.be-reviews { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--be-line); }
.be-reviews-head {
	display: flex;
	align-items: baseline;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.be-reviews-head h2 { margin: 0; font-size: 21px; }

.be-review-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.be-review-item {
	background: var(--be-paper-dim);
	border-radius: 6px;
	padding: 16px 20px;
}
.be-review-item-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}
.be-review-item-head strong { color: var(--be-navy); font-size: 14.5px; }
.be-review-date { color: var(--be-muted); font-size: 12px; margin-left: auto; }
.be-review-text { margin: 0; color: var(--be-muted); font-size: 14px; line-height: 1.6; }

.be-review-form-toggle { margin-top: 8px; }
.be-review-form-toggle summary { list-style: none; cursor: pointer; }
.be-review-form-toggle summary::-webkit-details-marker { display: none; }
.be-review-form-btn { display: inline-block; }
.be-review-form { max-width: 480px; margin-top: 22px; }

.be-star-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
	font-size: 26px;
	margin-bottom: 6px;
}
.be-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.be-star-input label {
	cursor: pointer;
	color: var(--be-line);
	margin: 0;
	transition: color 0.1s ease;
}
.be-star-input input:checked ~ label,
.be-star-input label:hover,
.be-star-input label:hover ~ label {
	color: #E8A93C;
}

/* ==========================================================================
   Directory filters + pagination
   ========================================================================== */
.be-filter-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}
.be-filter-row select {
	border: 1.5px solid var(--be-line);
	border-radius: 4px;
	padding: 9px 14px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 14px;
	color: var(--be-navy);
	background: #fff;
}
.be-filter-row-full {
	margin: 28px 0 36px;
	padding: 18px;
	background: var(--be-paper-dim);
	border-radius: 6px;
}
.be-filter-search {
	border: 1.5px solid var(--be-line);
	border-radius: 4px;
	padding: 9px 14px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 14px;
	color: var(--be-navy);
	background: #fff;
	flex: 1 1 200px;
	min-width: 160px;
}
.be-filter-row-full select { flex: 0 1 auto; }
.be-filter-submit { padding: 9px 20px; font-size: 14px; }
.be-filter-clear {
	font-size: 13px;
	color: var(--be-muted);
	white-space: nowrap;
}
.be-filter-clear:hover { color: var(--be-sky); }

.be-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 44px;
}
.be-page-link a,
.be-page-link span.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'IBM Plex Mono', monospace;
	text-decoration: none;
	color: var(--be-navy);
	border: 1px solid var(--be-line);
}
.be-page-link a:hover { border-color: var(--be-sky); color: var(--be-sky); }
.be-page-link span.current { background: var(--be-navy); border-color: var(--be-navy); color: #fff; }
.be-page-link span.dots { border: none; color: var(--be-muted); }

@media (max-width: 640px) {
	.be-reviews-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.be-review-date { margin-left: 0; }
	.be-star-input { font-size: 30px; }
}
