:root {
  --font-sans: "Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --bg-body: #f3f6fb;
  --bg-surface: #ffffff;
  --bg-soft: #f1f5ff;
  --bg-hero: linear-gradient(135deg, #c9f6ff 0%, #f0f6ff 45%, #fef1ff 100%);
  --bg-lime: linear-gradient(140deg, #e7ffe3 0%, #f8fff1 100%);
  --bg-lime-strong: linear-gradient(135deg, #dfffe2 0%, #f3ffe3 100%);
  --accent: #2bb673;
  --accent-dark: #1c7c4d;
  --accent-light: #e5fff3;
  --accent-blue: #5b8dff;
  --accent-blue-soft: #eff3ff;
  --accent-gold: #ffe07a;
  --gray-900: #1a1f2c;
  --gray-700: #475069;
  --gray-600: #5c647c;
  --gray-500: #6f7b94;
  --gray-400: #a2abbf;
  --gray-300: #c5ccda;
  --gray-200: #e5eaf1;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 8px 20px rgba(25, 55, 102, 0.08);
  --shadow-md: 0 16px 40px rgba(25, 55, 102, 0.12);
  --shadow-lg: 0 24px 60px rgba(25, 55, 102, 0.16);
  --transition: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body.app-body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--gray-900);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

.app-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding: 32px clamp(16px, 4vw, 48px) 48px;
}

@media (max-width: 920px) {
  .page-content {
    padding: 24px 16px 40px;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(149, 156, 178, 0.12);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.topbar-search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0 16px;
  min-width: clamp(200px, 28vw, 380px);
  border: 1px solid transparent;
  transition: border var(--transition), background var(--transition);
}

.topbar-search:focus-within {
  border-color: rgba(65, 141, 255, 0.4);
  background: #fff;
}

.topbar-search i {
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-right: 8px;
}

.topbar-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.95rem;
  width: 100%;
  padding: 10px 0;
  color: inherit;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(149, 156, 178, 0.16);
  color: var(--gray-700);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.icon-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--accent-dark);
}

.icon-button i {
  font-size: 1.1rem;
}

.icon-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ff5f7b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(43, 182, 115, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(43, 182, 115, 0.24);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.3rem;
}

.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border var(--transition), box-shadow var(--transition);
  background: rgba(43, 182, 115, 0.08);
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn.ghost {
  background: #fff;
  color: var(--gray-700);
  border-color: rgba(149, 156, 178, 0.26);
}

.btn.ghost:hover {
  color: var(--gray-900);
  border-color: rgba(149, 156, 178, 0.48);
}

.btn.small {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 999px;
}

.btn.danger {
  background: #ff6b6b;
  border-color: #ff6b6b;
  color: #fff;
}

.btn.danger:hover {
  background: #e45858;
  border-color: #e45858;
}

button {
  font-family: inherit;
}

.side-panel {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, 90vw);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateX(-100%);
  transition: transform var(--transition);
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(149, 156, 178, 0.16);
}

.side-panel-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.side-panel-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px 32px;
}

.side-section {
  margin-top: 20px;
}

.side-section:first-child {
  margin-top: 0;
}

.side-section-title {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.side-link {
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: var(--gray-700);
  border-bottom: 1px solid rgba(149, 156, 178, 0.14);
  transition: color var(--transition);
}

.side-link:last-child {
  border-bottom: 0;
}

.side-link:hover {
  color: var(--accent-dark);
}

.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 45;
}

.side-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.panel-open {
  overflow: hidden;
}

.surface {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(149, 156, 178, 0.08);
  padding: clamp(20px, 2.4vw, 32px);
}

.surface-soft {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: none;
}

.surface-hero {
  background: var(--bg-hero);
  border: 1px solid rgba(149, 156, 178, 0.1);
}

.tone-lime {
  background: var(--bg-lime);
  border: 1px solid rgba(66, 167, 87, 0.2);
}

.tone-green {
  background: rgba(43, 182, 115, 0.12);
  color: var(--accent-dark);
}

.tone-blue {
  background: var(--accent-blue-soft);
  color: #2b4cb3;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(149, 156, 178, 0.12);
  color: var(--gray-700);
}

.muted {
  color: var(--gray-500);
}

.empty-state {
  text-align: center;
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
  padding: 48px 24px;
}

.empty-state i {
  font-size: 2.4rem;
  color: var(--gray-300);
}

.flash {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
}

.flash-success {
  background: rgba(43, 182, 115, 0.15);
  border: 1px solid rgba(43, 182, 115, 0.22);
  color: var(--accent-dark);
}

.flash-error {
  background: rgba(255, 108, 108, 0.15);
  border: 1px solid rgba(255, 108, 108, 0.22);
  color: #b42318;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(249, 168, 37, 0.3);
  background: rgba(255, 238, 186, 0.6);
  color: #7a4b0f;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table th,
.table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(149, 156, 178, 0.12);
  text-align: left;
  font-size: 0.92rem;
}

.table th {
  background: rgba(149, 156, 178, 0.08);
  font-weight: 600;
  color: var(--gray-700);
}

.table tr:last-child td {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(149, 156, 178, 0.24);
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(65, 141, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(65, 141, 255, 0.12);
  outline: none;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--gray-500);
  max-width: 520px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.section-link i {
  font-size: 1rem;
}

.home-page {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
}

.hero-banner {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.hero-banner-content h1 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.hero-banner-content p {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 1rem;
}

.hero-kicker {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(91, 141, 255, 0.15);
  color: #2d4cb6;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-banner-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.hero-main-visual {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.hero-secondary-visual {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(43, 182, 115, 0.12);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-section,
.journey-section,
.spotlight-section,
.map-section,
.faq-section {
  display: grid;
  gap: clamp(18px, 2.2vw, 24px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
}

.feature-card {
  display: grid;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card img {
  width: 100%;
  min-height: 160px;
  object-fit: cover;
}

.feature-card-body {
  padding: 0 22px 24px;
  display: grid;
  gap: 12px;
}

.feature-card-body ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--gray-500);
  line-height: 1.5;
  font-size: 0.92rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.journey-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(149, 156, 178, 0.1);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
}

.journey-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(91, 141, 255, 0.18);
  color: #2d4cb6;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
}

.spotlight-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.12);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.spotlight-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.spotlight-card-header h3 {
  margin: 0;
  flex: 1 1 100%;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.spotlight-meta i {
  margin-right: 6px;
  color: var(--accent);
}

.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
}

.spotlight-card .badge {
  align-self: flex-start;
  white-space: nowrap;
  margin-top: 4px;
}

.map-section {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

.map-info {
  display: grid;
  gap: 12px;
}

.map-view {
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(149, 156, 178, 0.1);
  background: #e7efff;
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  position: relative;
}

.faq-card[open] {
  background: var(--bg-soft);
  border-color: rgba(91, 141, 255, 0.25);
}

.faq-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary i {
  font-size: 1.05rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-card[open] summary i {
  transform: rotate(45deg);
}

.faq-card p {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.profile-page,
.college-page {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
}

.profile-card {
  display: grid;
  gap: clamp(18px, 2.4vw, 24px);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
}

.profile-hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1;
}

.avatar-fallback {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: rgba(91, 141, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: #2d4cb6;
}

.profile-hero-top h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.profile-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(91, 141, 255, 0.16);
  color: #2d4cb6;
}

.profile-pill i {
  font-size: 1rem;
}

.profile-hero-meta {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--gray-500);
}

.profile-hero-meta i {
  margin-right: 6px;
  color: var(--accent);
}

.profile-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.profile-section-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.1);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  display: grid;
  gap: 12px;
}

.profile-section-card h2 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
}

.profile-section-wide {
  grid-column: 1 / -1;
}

.profile-contacts {
  display: grid;
  gap: 18px;
  border-radius: var(--radius-lg);
}

.profile-contacts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.profile-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.profile-contact-list i {
  font-size: 1.2rem;
  color: var(--accent);
}

.profile-contacts-locked {
  display: grid;
  gap: 10px;
  text-align: left;
  color: var(--gray-600);
  font-weight: 500;
}

.profile-contacts-locked i {
  font-size: 1.6rem;
  color: var(--gray-500);
}

.college-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
  align-items: center;
}

.college-hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.college-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 182, 115, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.college-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 20px 0;
}

.college-hero-meta i {
  margin-right: 6px;
  color: var(--accent);
}

.college-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.direction-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(91, 141, 255, 0.16);
  color: #2d4cb6;
  font-weight: 600;
  font-size: 0.85rem;
}

.college-hero-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.college-layout {
  display: grid;
  grid-template-columns: 2fr minmax(260px, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
}

@media (max-width: 1040px) {
  .college-layout {
    grid-template-columns: 1fr;
  }
}

.college-main {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.college-highlight {
  display: grid;
  gap: 16px;
  border-radius: var(--radius-lg);
}

.highlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.highlight-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.highlight-date {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 6px;
}

.college-about {
  display: grid;
  gap: 12px;
}

.college-news {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.news-form.visible {
  animation: fadeDown 0.24s ease forwards;
}

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

.bb-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  background: rgba(149, 156, 178, 0.1);
  padding: 10px 12px;
}

.bb-toolbar-group {
  display: flex;
  gap: 8px;
}

.bb-toolbar .btn.small {
  min-width: auto;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.preview-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px dashed rgba(149, 156, 178, 0.3);
}

.news-grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.news-card {
  display: grid;
  gap: 12px;
}

.news-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.news-meta i {
  color: var(--accent);
  margin-right: 6px;
}

.news-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.news-actions .btn.small {
  border-radius: 12px;
}

.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
}

.college-sidebar {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 6px;
  word-break: break-word;
}

.contact-card i {
  font-size: 1.3rem;
  color: var(--accent-dark);
}

.director-card {
  display: grid;
  gap: 16px;
}

.director-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.director-photo img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.director-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

.college-students {
  display: grid;
  gap: clamp(18px, 2.4vw, 24px);
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.student-teaser {
  display: grid;
  gap: 14px;
  align-content: start;
}

.student-teaser-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.student-teaser-body {
  display: grid;
  gap: 10px;
}

.student-teaser-body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.student-teaser-meta {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.student-teaser-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.student-teaser .btn {
  justify-self: flex-start;
}

.college-students .student-teaser {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.college-students .student-teaser-media {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(149, 156, 178, 0.14);
  display: grid;
  place-items: center;
  color: var(--gray-400);
  font-size: 1.4rem;
  overflow: hidden;
}

.college-students .student-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.college-students .student-teaser-body {
  gap: 8px;
}

.college-students .student-teaser .btn {
  justify-self: flex-start;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.12);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.col {
  flex: 1 1 260px;
}

.col-12 {
  flex: 0 0 100%;
  width: 100%;
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(149, 156, 178, 0.4);
  border-radius: 4px;
}

.site-footer {
  padding: 28px clamp(16px, 4vw, 48px) 36px;
  background: #fff;
  border-top: 1px solid rgba(149, 156, 178, 0.12);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-title {
  font-weight: 700;
  font-size: 1rem;
}

.footer-caption {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-meta a {
  color: inherit;
  font-weight: 600;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: var(--shadow-sm);
}

.student-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.student-card-photo-inner {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(149, 156, 178, 0.14);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--gray-400);
  font-size: 1.4rem;
}

.student-card-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-card-content {
  flex: 1;
  display: grid;
  gap: 8px;
}

.student-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.student-card-info i {
  margin-right: 4px;
  color: var(--accent);
}

.student-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  margin-left: auto;
}

.student-card-actions .btn {
  min-width: 160px;
  justify-content: center;
  padding: 8px 16px;
}

.bb-toolbar select,
.bb-toolbar input[type="color"] {
  border-radius: 10px;
  border: 1px solid rgba(149, 156, 178, 0.2);
  padding: 6px 10px;
  background: #fff;
  font-size: 0.85rem;
}

.news-form[hidden] {
  display: none;
}

.bb-toolbar button {
  background: #fff;
  border: 1px solid rgba(149, 156, 178, 0.3);
  color: var(--gray-700);
}

.bb-toolbar button:hover {
  border-color: rgba(149, 156, 178, 0.5);
}

.bb-toolbar .sep {
  width: 1px;
  height: 26px;
  background: rgba(149, 156, 178, 0.2);
}

.news-actions form {
  display: inline;
}

.news-actions .btn.ghost.danger,
.news-actions .btn.small.ghost.danger {
  color: #d1342f;
  border-color: rgba(209, 52, 47, 0.24);
}

.news-actions .btn.ghost.danger:hover {
  background: rgba(209, 52, 47, 0.12);
}

.pagination .btn i {
  font-size: 1rem;
}

.empty-news {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(149, 156, 178, 0.4);
  background: rgba(149, 156, 178, 0.08);
}

.college-about p,
.highlight-content p,
.news-content p,
.profile-section-card p {
  margin: 0;
  color: var(--gray-700);
}

.highlight-content ul,
.news-content ul,
.college-about ul,
.profile-section-card ul {
  margin: 12px 0;
  padding-left: 18px;
}

.highlight-content img,
.news-content img {
  border-radius: 12px;
  margin: 12px 0;
}

.news-content blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(43, 182, 115, 0.08);
  border-radius: 12px;
}

.table tbody tr:nth-child(odd) {
  background: rgba(149, 156, 178, 0.04);
}

.bb-spoiler {
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid rgba(149, 156, 178, 0.2);
  background: rgba(149, 156, 178, 0.08);
  overflow: hidden;
}

.bb-spoiler summary {
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}

.bb-spoiler div {
  padding: 12px 16px;
}

::-webkit-input-placeholder {
  color: var(--gray-400);
}

::placeholder {
  color: var(--gray-400);
}

@media (max-width: 840px) {
  .topbar {
    gap: 16px;
    padding: 16px;
  }
  .topbar-search {
    display: none;
  }
  .user-chip {
    display: none;
  }
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .college-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-secondary-visual {
    width: 100%;
    margin-left: 0;
    align-self: stretch;
    transform: none;
  }
  .stat-card {
    padding: 18px;
  }
  .spotlight-card {
    padding: 18px;
  }
  .side-panel {
    width: 86vw;
  }
}
.mentor-list {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}

.mentor-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 2.4vw, 26px);
}

.mentor-card-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(91, 141, 255, 0.15);
  display: grid;
  place-items: center;
}

.mentor-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .mentor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mentor-card-avatar {
    justify-self: center;
    width: 110px;
    height: 110px;
  }
  .mentor-card-header {
    justify-content: center;
  }
  .mentor-card-meta {
    justify-content: center;
  }
  .mentor-card-body {
    justify-items: center;
  }
  .mentor-card-body .btn {
    width: 100%;
  }
}

.mentor-card-body {
  display: grid;
  gap: 12px;
}

.mentor-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.mentor-card-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.mentor-card-subtitle {
  color: var(--gray-500);
  font-weight: 500;
}

.mentor-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.mentor-card-meta i {
  margin-right: 6px;
  color: var(--accent);
}

.mentor-card-desc {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.mentor-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mentor-quote {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  border-left: 4px solid rgba(91, 141, 255, 0.6);
}

.mentor-quote i {
  font-size: 2rem;
  color: rgba(91, 141, 255, 0.45);
}

.mentor-quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.6;
}

.posts-page {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
}

.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.posts-title-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(91, 141, 255, 0.18);
  color: #2b4cb3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.posts-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.posts-tabs {
  display: inline-flex;
  gap: 10px;
  background: rgba(149, 156, 178, 0.12);
  border-radius: 999px;
  padding: 6px;
}

.posts-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
}

.posts-tab.active {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

.posts-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.post-hero-card,
.post-hero-card .post-hero-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f2220;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.post-hero-link {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.post-hero-media {
  width: 100%;
  padding-top: 56%;
  background-size: cover;
  background-position: center;
}

.post-hero-body {
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  gap: 14px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-hero-body h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.post-hero-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta i {
  font-size: 1.05rem;
}

.post-meta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.post-hero-side {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.post-side-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: var(--shadow-sm);
}

.post-side-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-decoration: none;
  color: inherit;
}

.post-side-media {
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
}

.post-side-body {
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}

.post-side-date {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.post-side-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.post-side-body p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.post-side-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.posts-section {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.posts-preview {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
}

.posts-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(149, 156, 178, 0.12);
  box-shadow: var(--shadow-sm);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.post-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-body {
  flex: 1;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.post-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.post-card-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(43, 182, 115, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
}

.post-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.post-card-body p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.post-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
}

.post-view {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
}

.post-view-hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.post-view-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 18, 0.05) 0%, rgba(6, 20, 18, 0.85) 100%);
}

.post-view-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 4vw, 48px) 24px;
  display: grid;
  gap: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 22, 20, 0.65) 0%, rgba(10, 22, 20, 0.35) 60%, rgba(10, 22, 20, 0) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  backdrop-filter: blur(4px);
  max-width: 840px;
}

.post-view-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
}

.post-view-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.post-view-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.post-view-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-weight: 600;
}

.post-view-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-view-excerpt {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.post-view-body {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  gap: 18px;
}

.post-view-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.post-view-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 16px 0;
}

.post-view-content blockquote {
  margin: 18px 0;
  padding: 18px 22px;
  background: rgba(43, 182, 115, 0.12);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
}

.post-related {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.post-related .section-heading h2 {
  margin-bottom: 0;
}

.auth-page {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 156, 178, 0.12);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.auth-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.auth-card .field {
  display: grid;
  gap: 8px;
}

.auth-card label {
  font-weight: 600;
  color: var(--gray-700);
}

.auth-card input,
.auth-card select {
  width: 100%;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.consent-check input {
  margin-top: 4px;
}

.consent-check span {
  line-height: 1.5;
}

.consent-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: -6px;
}

.students-page .filter-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.filter-field,
.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-field label,
.filter-actions label {
  font-weight: 600;
  color: var(--gray-700);
}

.filter-field select,
.filter-field input {
  width: 100%;
}

.filter-actions {
  justify-content: flex-end;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

@media (max-width: 960px) {
  .posts-hero,
  .posts-preview {
    grid-template-columns: 1fr;
  }
  .post-hero-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .post-card-media img {
    height: 200px;
  }
  .post-view-hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .students-page .filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    align-items: stretch;
  }
  .filter-btn {
    width: 100%;
  }
  .student-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .student-card-actions {
    width: 100%;
    align-items: stretch;
    margin-left: 0;
  }
  .student-card-actions .btn {
    width: 100%;
  }
}
