/* College2U premium Light Theme correction layer Version: 10.8.2.1 */
:root[data-theme="light"] body, body.light-theme { background: radial-gradient(circle at 15% 0%, rgba(45, 212, 191, 0.10), transparent 32rem), #f8fafc !important; color: #0f172a !important; }
:root[data-theme="light"] :is(.glass-card, .c2u-directory-panel, .college-card), body.light-theme :is(.glass-card, .c2u-directory-panel, .college-card) { background: rgba(255, 255, 255, 0.78) !important; border: 1px solid rgba(15, 23, 42, 0.10) !important; box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10) !important; backdrop-filter: blur(28px) saturate(180%) !important; color: #0f172a !important; }
:root[data-theme="light"] .text-white:not(.btn):not(.badge), body.light-theme .text-white:not(.btn):not(.badge),
:root[data-theme="light"] .text-white-50, body.light-theme .text-white-50,
:root[data-theme="light"] .quick-nav-list a, body.light-theme .quick-nav-list a,
:root[data-theme="light"] .c2u-stat-grid span, body.light-theme .c2u-stat-grid span,
:root[data-theme="light"] .c2u-stat-grid div, body.light-theme .c2u-stat-grid div,
:root[data-theme="light"] .c2u-stat-grid p, body.light-theme .c2u-stat-grid p,
:root[data-theme="light"] .key-highlights-grid span, body.light-theme .key-highlights-grid span,
:root[data-theme="light"] .stat-value, body.light-theme .stat-value { color: #0f172a !important; text-shadow: none !important; opacity: 1 !important; }
:root[data-theme="light"] .quick-nav-list a:hover, body.light-theme .quick-nav-list a:hover { color: #0d9488 !important; background: rgba(13, 148, 136, 0.10) !important; }
:root[data-theme="light"] .badge.text-white, body.light-theme .badge.text-white { color: #ffffff !important; }

/* v10.8.2.2 Quick Navigation correction */
:root[data-theme="light"] .nav-link-custom,
body.light-theme .nav-link-custom {
  color: #0f172a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .nav-link-custom:hover,
:root[data-theme="light"] .nav-link-custom:focus-visible,
body.light-theme .nav-link-custom:hover,
body.light-theme .nav-link-custom:focus-visible {
  color: #073e3b !important;
  background: rgba(13, 148, 136, 0.10) !important;
}

/* v10.8.2.3 Global Content Visibility Correction */
:root[data-theme="light"] h1, body.light-theme h1,
:root[data-theme="light"] h2, body.light-theme h2,
:root[data-theme="light"] h3, body.light-theme h3,
:root[data-theme="light"] h4, body.light-theme h4,
:root[data-theme="light"] h5, body.light-theme h5,
:root[data-theme="light"] p, body.light-theme p,
:root[data-theme="light"] .accordion-button, body.light-theme .accordion-button,
:root[data-theme="light"] .accordion-body, body.light-theme .accordion-body,
:root[data-theme="light"] .section-title, body.light-theme .section-title,
:root[data-theme="light"] .text-white, body.light-theme .text-white { color: #0f172a !important; text-shadow: none !important; opacity: 1 !important; }
/* Gate 09 Optics */
.c2u-glass, .c2u-glass-panel, [class*="glass"] { backdrop-filter: blur(28px) saturate(210%) !important; -webkit-backdrop-filter: blur(28px) saturate(210%) !important; }

/* Blue college detail: accessible glass, scoped to the existing page contract. */
body.c2u-glass-page {
  --ink-hi: #f8fafc;
  --ink-lo: #cbd5e1;
  --ink-faint: #b6c4d6;
  --glass-border: rgba(203, 213, 225, .24);
  --glass-bg: #172338;
  --glass-bg-hover: #24394c;
}
html[data-theme="light"] body.c2u-glass-page,
body.c2u-glass-page.light-theme {
  --ink-hi: #0f172a;
  --ink-lo: #334155;
  --ink-faint: #475569;
  --glass-border: rgba(15, 23, 42, .18);
  --glass-bg: #f8fafc;
  --glass-bg-hover: #dcefeb;
}
body.c2u-glass-page .sticky-sidebar .nav-link-custom {
  color: var(--ink-lo) !important;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 44px;
  box-sizing: border-box;
  line-height: 1.5;
  transition: color .18s ease, background-color .18s ease;
}
body.c2u-glass-page .sticky-sidebar .nav-link-custom:hover,
body.c2u-glass-page .sticky-sidebar .nav-link-custom:focus-visible {
  color: var(--ink-hi) !important;
  background-color: var(--glass-bg-hover) !important;
  border-left-color: #14b8a6;
}
body.c2u-glass-page .sticky-sidebar .nav-link-custom:focus-visible,
body.c2u-glass-page .faq-q:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: -3px;
}
body.c2u-glass-page .college-hero {
  background: linear-gradient(125deg, #111d30, #164843);
  color: var(--ink-hi) !important;
}
html[data-theme="light"] body.c2u-glass-page .college-hero,
body.c2u-glass-page.light-theme .college-hero {
  background: linear-gradient(125deg, #f1f5f9, #ccebe5);
}
body.c2u-glass-page .college-hero h1,
body.c2u-glass-page .section-title,
body.c2u-glass-page .faq-q {
  color: var(--ink-hi) !important;
  overflow-wrap: anywhere;
}
body.c2u-glass-page .college-hero .lead {
  color: var(--ink-lo) !important;
  opacity: 1 !important;
}
body.c2u-glass-page .college-hero .badge {
  color: #ffffff !important;
  background: #11635b !important;
}
body.c2u-glass-page .btn-unlock-fee {
  color: #ffffff !important;
  background: #11635b !important;
  white-space: normal;
  max-width: 100%;
}
body.c2u-glass-page .glass-card,
body.c2u-glass-page .content-card {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 32px rgba(0,0,0,.12) !important;
  color: var(--ink-lo);
  min-width: 0;
}
body.c2u-glass-page .logo-frame {
  background: #ffffff !important;
  border: 1px solid var(--glass-border) !important;
}
body.c2u-glass-page #location iframe {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}
@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  body.c2u-glass-page .glass-card,
  body.c2u-glass-page .content-card {
    background: linear-gradient(135deg, rgba(255,255,255,.055), transparent), var(--glass-bg) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  }
}
@media (max-width: 767px) {
  body.c2u-glass-page .college-hero { padding: 2rem 1rem; }
  body.c2u-glass-page .content-card { padding: 1.125rem; }
  body.c2u-glass-page .college-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  body.c2u-glass-page .nav-link-custom,
  body.c2u-glass-page .btn-unlock-fee { transition: none; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  body.c2u-glass-page .glass-card,
  body.c2u-glass-page .content-card {
    background: var(--glass-bg) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
