/* ═══════════════════════════════════════════════════════════
   University Management Theme — theme.css
   Brand: --color-primary #0B5ED7  --color-accent #0DC5F5
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  /* ── Brand colors: read from plugin via CSS custom properties.
     Fallback values apply when the university-system plugin is inactive. ── */
  --color-primary:      var(--univ-primary,      #0B5ED7);
  --color-primary-dark: var(--univ-primary-dark, #0a52c1);
  --color-accent:       var(--univ-accent,        #0DC5F5);
  --color-dark:      #212529;
  --color-white:     #ffffff;
  --color-light:     #f8f9fc;
  --color-muted:     #6c757d;
  --color-border:    #dee2e6;
  --color-success:   #198754;
  --color-warning:   #f59e0b;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.15);

  --header-h:   72px;
  --container:  1200px;
  --section-pad: 80px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-dark);
}

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padded { padding: var(--section-pad) 0; }
.bg-light       { background: var(--color-light); }

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skip-link { position: absolute; top: -40px; left: 0; background: var(--color-primary); color: white; padding: 8px 16px; z-index: 10000; }
.skip-link:focus { top: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

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

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

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

.btn-outline-white    { background: transparent; color: white; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }

/* ── Section header ──────────────────────────────────────── */
.section-header        { text-align: center; margin-bottom: 48px; }
.section-eyebrow       { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-accent); margin-bottom: 10px; }
.section-title         { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; color: var(--color-dark); }
.section-subtitle      { font-size: 17px; color: var(--color-muted); max-width: 580px; margin: 0 auto; line-height: 1.7; }
.section-cta           { text-align: center; margin-top: 40px; }

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background .3s, box-shadow .3s;
}

.header-solid { background: var(--color-white); box-shadow: var(--shadow-sm); }
.header-transparent { background: transparent; }
.site-header.scrolled { background: var(--color-white) !important; box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Branding */
.site-name-link  { text-decoration: none !important; }
.site-logo-link  { display: block; line-height: 0; text-decoration: none !important; }
.site-logo-img   { height: 60px; width: auto; max-width: 280px; object-fit: contain; display: block; transition: filter .3s; }
.site-logo-text  { display: flex; align-items: center; gap: 12px; }
.logo-icon       { font-size: 28px; flex-shrink: 0; }
.site-name       { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--color-dark); line-height: 1.2; }
.site-tagline    { font-size: 11px; color: var(--color-muted); letter-spacing: .5px; line-height: 1; }

/* Transparent header (front page over coloured hero): make logo white */
.header-transparent .site-logo-img,
.header-transparent .custom-logo img { filter: brightness(0) invert(1); }
.header-transparent .site-name,
.header-transparent .site-tagline    { color: white; }

/* White header on scroll: restore logo to original colours */
.site-header.scrolled .site-logo-img,
.site-header.scrolled .custom-logo img { filter: none; }

/* Nav menu */
.primary-navigation { flex: 1; display: flex; justify-content: flex-end; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-menu li a:hover { color: var(--color-primary); background: rgba(11,94,215,.06); }

.header-transparent .nav-menu li a { color: rgba(255,255,255,.9); }
.header-transparent .nav-menu li a:hover { color: white; background: rgba(255,255,255,.15); }
.site-header.scrolled .nav-menu li a { color: var(--color-dark); }
.site-header.scrolled .nav-menu li a:hover { color: var(--color-primary); }

/* Nav CTA buttons */
.nav-menu .menu-item-login a,
.nav-menu .menu-item-portal a {
  background: rgba(11,94,215,.1);
  color: var(--color-primary) !important;
  font-weight: 600;
}
.nav-menu .menu-item-register a,
.nav-register-btn {
  background: var(--color-primary) !important;
  color: white !important;
  font-weight: 600;
}
.nav-menu .menu-item-register a:hover,
.nav-register-btn:hover { background: var(--color-primary-dark) !important; }
.nav-menu .menu-item-logout a { color: #dc3545 !important; }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger-bar { display: block; width: 24px; height: 2px; background: var(--color-dark); border-radius: 2px; transition: all .3s; }
.header-transparent .hamburger-bar { background: white; }
.site-header.scrolled .hamburger-bar { background: var(--color-dark); }

/* Mobile drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: white;
  box-shadow: var(--shadow-md);
  padding: 16px 24px 24px;
  z-index: 999;
}
.mobile-nav-drawer .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
.mobile-nav-drawer .nav-menu li a { padding: 12px 16px; color: var(--color-dark) !important; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a3d8a 0%, #0B5ED7 50%, #0a4fb5 100%);
  background-size: cover;
  background-position: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(13,197,245,.15) 0%, transparent 60%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,45,100,.85) 0%, rgba(11,94,215,.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

.hero-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

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

/* Hero card */
.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card-header {
  background: var(--color-primary);
  padding: 16px 20px;
}
.hero-card-header h3 { color: white; font-size: 15px; font-family: var(--font-body); font-weight: 700; margin: 0; }
.hero-card-body { padding: 4px 0; }

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none !important;
  transition: background .15s;
  color: var(--color-dark);
}
.quick-link-item:hover { background: var(--color-light); }
.quick-link-item:last-of-type { border-bottom: none; }

.quick-icon { font-size: 20px; width: 32px; text-align: center; flex-shrink: 0; }
.quick-link-item div { flex: 1; line-height: 1.3; }
.quick-link-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--color-dark); }
.quick-link-item small  { font-size: 12px; color: var(--color-muted); }
.quick-arrow { color: var(--color-muted); font-size: 18px; font-weight: 300; }

.quick-user-footer {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--color-muted);
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  letter-spacing: 1px;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  margin: 8px auto 0;
  animation: bounce 1.5s infinite;
}
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ═══════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--color-primary);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-card:last-child { border-right: none; }
.stat-icon  { font-size: 28px; margin-bottom: 8px; }
.stat-value { font-size: 36px; font-weight: 800; color: white; font-family: var(--font-heading); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(11,94,215,.1), rgba(13,197,245,.1));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon  { font-size: 26px; }
.feature-title { font-size: 17px; font-weight: 700; font-family: var(--font-body); margin-bottom: 10px; }
.feature-desc  { font-size: 14px; color: var(--color-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   COURSES PREVIEW
   ═══════════════════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-preview-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.course-preview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.course-card-header {
  background: linear-gradient(135deg, var(--color-primary), #1a6dde);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-dept  { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .5px; }
.course-level { font-size: 11px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 10px; }

.course-card-body { padding: 18px; flex: 1; }
.course-code  { font-size: 12px; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; margin-bottom: 6px; font-family: monospace; }
.course-title { font-size: 15px; font-weight: 700; font-family: var(--font-body); margin-bottom: 8px; color: var(--color-dark); }
.course-desc  { font-size: 13px; color: var(--color-muted); line-height: 1.6; }

.course-card-footer {
  padding: 12px 18px;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-credits { font-size: 13px; color: var(--color-muted); font-weight: 600; }
.course-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.course-status.open   { background: #d1fae5; color: #065f46; }
.course-status.closed { background: #f1f3f5; color: var(--color-muted); }

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENTS
   ═══════════════════════════════════════════════════════════ */
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.announcement-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--color-primary);
  position: relative;
  transition: box-shadow .2s;
}
.announcement-card:hover { box-shadow: var(--shadow-sm); }
.announcement-card.pinned { border-left-color: var(--color-warning); }

.pinned-badge { font-size: 11px; font-weight: 700; color: var(--color-warning); display: inline-block; margin-bottom: 8px; }
.ann-title    { font-size: 16px; font-weight: 700; font-family: var(--font-body); margin-bottom: 8px; }
.ann-content  { font-size: 14px; color: var(--color-muted); line-height: 1.6; margin-bottom: 12px; }
.ann-meta     { display: flex; gap: 12px; font-size: 12px; color: var(--color-muted); }
.ann-audience { background: var(--color-light); padding: 2px 8px; border-radius: 10px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0a3d8a 0%, var(--color-primary) 60%, #0a6ede 100%);
  padding: 80px 0;
  overflow: hidden;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape.shape-1 { width: 400px; height: 400px; background: rgba(13,197,245,.1); top: -100px; right: -100px; }
.cta-shape.shape-2 { width: 250px; height: 250px; background: rgba(255,255,255,.05); bottom: -80px; left: 5%; }

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-heading { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; color: white; margin-bottom: 10px; }
.cta-subtext { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.6; max-width: 500px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO BAR
   ═══════════════════════════════════════════════════════════ */
.page-hero-bar {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1565c0 100%);
  padding: calc(var(--header-h) + 40px) 0 48px;
}
.page-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: white;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════ */
.univ-breadcrumbs {
  padding: calc(var(--header-h) + 12px) 0 0;
  background: var(--color-primary);
}
.univ-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.univ-breadcrumbs li + li::before { content: '›'; color: rgba(255,255,255,.5); margin-right: 6px; }
.univ-breadcrumbs li a { color: rgba(255,255,255,.8); }
.univ-breadcrumbs li.current { color: white; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   PAGE CONTENT
   ═══════════════════════════════════════════════════════════ */
.page-content-wrap { padding: 48px 24px; }
.page-article { max-width: 820px; }
.entry-content { font-size: 16px; line-height: 1.8; }
.entry-content h2 { margin: 32px 0 14px; font-size: 26px; }
.entry-content h3 { margin: 24px 0 10px; font-size: 20px; }
.entry-content p  { margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   PORTAL PAGE HEADER
   ═══════════════════════════════════════════════════════════ */
.portal-page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a4fb5 100%);
  padding: calc(var(--header-h) + 32px) 0 36px;
}
.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.portal-icon  { font-size: 32px; margin-bottom: 8px; display: block; }
.portal-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: white; margin: 0; }
.portal-subtitle { font-size: 15px; color: rgba(255,255,255,.8); margin: 6px 0 0; }

.portal-user-badge { display: flex; align-items: center; gap: 14px; }
.portal-avatar { width: 52px; height: 52px; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: white; flex-shrink: 0; }
.portal-user-name { font-size: 15px; font-weight: 700; color: white; }
.portal-user-role { font-size: 12px; color: rgba(255,255,255,.7); }

.portal-page-content { padding: 32px 0 60px; }

/* ═══════════════════════════════════════════════════════════
   POSTS / BLOG
   ═══════════════════════════════════════════════════════════ */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .2s; }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-meta { font-size: 12px; color: var(--color-muted); margin-bottom: 8px; }
.post-title { font-size: 17px; margin-bottom: 10px; }
.post-title a { color: var(--color-dark); text-decoration: none; }
.post-title a:hover { color: var(--color-primary); }
.post-excerpt { font-size: 14px; color: var(--color-muted); margin-bottom: 16px; line-height: 1.6; }
.pagination { margin-top: 40px; }
.page-numbers { display: inline-flex; align-items: center; gap: 6px; }
.page-numbers a, .page-numbers span { padding: 8px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; }
.page-numbers .current { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════════ */
.error-404-wrap   { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - var(--header-h) - 200px); padding: 80px 24px; }
.error-404-content{ text-align: center; }
.error-number     { font-size: 120px; font-weight: 900; font-family: var(--font-heading); color: var(--color-primary); line-height: 1; opacity: .15; }
.error-title      { font-size: 36px; font-weight: 800; margin-bottom: 14px; margin-top: -40px; }
.error-desc       { font-size: 16px; color: var(--color-muted); margin-bottom: 32px; }
.error-actions    { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer { background: #0d1b35; color: rgba(255,255,255,.8); margin-top: auto; }

.footer-widgets { padding: 60px 0 40px; }
.footer-widgets-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }

.footer-col-title { font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; font-family: var(--font-body); }

.footer-logo-link { display: block; line-height: 0; margin-bottom: 14px; text-decoration: none !important; }
.footer-logo-img  { height: 44px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.footer-logo-text { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: white; font-family: var(--font-heading); margin-bottom: 14px; }
.footer-icon { font-size: 24px; }
.footer-about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: 20px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.65); }
.footer-contact-item a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-nav-menu { list-style: none; }
.footer-nav-menu li { margin-bottom: 10px; }
.footer-nav-menu li a { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer-nav-menu li a:hover { color: var(--color-accent); }

.footer-portal-links { list-style: none; }
.footer-portal-links li { margin-bottom: 10px; }
.footer-portal-links li a { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer-portal-links li a:hover { color: var(--color-accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copyright, .footer-powered { font-size: 13px; color: rgba(255,255,255,.45); margin: 0; }
.footer-copyright a, .footer-powered a { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════════════════
   EMPTY STATES & MISC
   ═══════════════════════════════════════════════════════════ */
.empty-state { text-align: center; padding: 48px; background: var(--color-light); border-radius: var(--radius-md); border: 1px dashed var(--color-border); }
.empty-state a { color: var(--color-primary); }

/* Admin bar offset */
.admin-bar .site-header { top: 32px; }
.admin-bar.mobile-view .site-header { top: 46px; }

/* Site wrapper */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.front-page { padding-top: 0; } /* Hero handles its own top padding */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid, .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .footer-widgets-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-card:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --header-h: 64px; }

  .primary-navigation { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-nav-drawer.open { display: block; }

  .hero-content { grid-template-columns: 1fr; padding: 60px 24px; }
  .hero-heading { font-size: 32px; }
  .hero-subtext { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-card { display: none; } /* Hide on small mobile */

  .features-grid, .courses-grid, .announcements-grid, .posts-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { border-right: 1px solid rgba(255,255,255,.15); }
  .stat-card:nth-child(even) { border-right: none; }

  .footer-widgets-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .portal-header-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .error-number { font-size: 80px; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE HERO  (academic / faculty / about / admission)
   ═══════════════════════════════════════════════════════════ */
.inner-page-hero {
  position: relative;
  background: linear-gradient(135deg, #0a3d8a 0%, var(--color-primary) 60%, #0a6ede 100%);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 64px) 0 64px;
  overflow: hidden;
}
.inner-page-hero--about    { background-image: linear-gradient(135deg, #0d2e6b 0%, #1e40af 100%); }
.inner-page-hero--admission{ background-image: linear-gradient(135deg, #0a3d2e 0%, #065f46 60%, #047857 100%); }

.inner-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 100%);
  z-index: 1;
}
.inner-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.inner-hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin: 10px 0 14px;
}
.inner-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════
   MISSION & VISION  (home section)
   ═══════════════════════════════════════════════════════════ */
.mv-section { background: var(--color-light); }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow .2s, transform .2s;
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.mv-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.mv-mission .mv-card-accent { background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.mv-vision  .mv-card-accent { background: linear-gradient(90deg, #7c3aed, #c084fc); }

.mv-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mv-mission .mv-icon-wrap { background: rgba(11,94,215,.08); }
.mv-vision  .mv-icon-wrap { background: rgba(124,58,237,.08); }
.mv-icon { font-size: 28px; }

.mv-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}
.mv-card-body { font-size: 15px; color: var(--color-muted); line-height: 1.8; }
.mv-card-body p { margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════════
   PRINCIPAL SECTION  (home)
   ═══════════════════════════════════════════════════════════ */
.principal-section { background: white; }

.principal-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}
.principal-photo-col { position: relative; }

.principal-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 440px;
  box-shadow: var(--shadow-lg);
}
.principal-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.principal-photo-placeholder {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-icon { font-size: 80px; opacity: .5; }

.principal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.principal-badge-icon { font-size: 16px; }

.principal-quote-mark {
  position: absolute;
  top: -20px; right: -20px;
  font-size: 120px;
  line-height: 1;
  color: var(--color-primary);
  opacity: .08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.principal-excerpt {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: 28px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   DEPARTMENT FILTER TABS  (academic + faculty pages)
   ═══════════════════════════════════════════════════════════ */
.academic-filter-bar {
  background: white;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  padding: 12px 0;
}
.dept-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.dept-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.dept-tab:hover  { border-color: var(--color-primary); color: var(--color-primary); }
.dept-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: white; }

/* ═══════════════════════════════════════════════════════════
   ACADEMIC PAGE — Program blocks
   ═══════════════════════════════════════════════════════════ */
.program-block {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow .2s;
}
.program-block:hover { box-shadow: var(--shadow-md); }

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px 20px;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.program-header-left { flex: 1; }
.program-dept-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  background: rgba(11,94,215,.08);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.program-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-dark);
}
.program-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  font-family: monospace;
  letter-spacing: 1px;
}
.program-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.program-meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  background: white;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 20px;
}
.program-description {
  padding: 20px 32px;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.75;
  border-bottom: 1px solid var(--color-border);
}

/* Courses table inside program block */
.program-courses { padding: 24px 32px 28px; }
.program-courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.program-courses-title { font-size: 15px; font-weight: 700; margin: 0; font-family: var(--font-body); }
.program-courses-count { font-size: 13px; color: var(--color-muted); }

.courses-table-wrap { overflow-x: auto; }
.courses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.courses-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-muted);
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
}
.courses-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-dark);
}
.courses-table tr:last-child td { border-bottom: none; }
.courses-table tr:hover td { background: #f8fafc; }
.course-code-mono { font-family: monospace; font-size: 12px; color: var(--color-primary); font-weight: 700; background: rgba(11,94,215,.06); padding: 2px 6px; border-radius: 4px; }
.course-table-desc { font-size: 12px; color: var(--color-muted); margin: 4px 0 0; line-height: 1.5; }

.level-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 10px;
  white-space: nowrap;
}
.level-year_1, .level-year_2 { background: #dbeafe; color: #1d4ed8; }
.level-year_3, .level-year_4 { background: #d1fae5; color: #065f46; }
.level-masters               { background: #ede9fe; color: #5b21b6; }
.level-doctoral              { background: #fee2e2; color: #991b1b; }

/* ═══════════════════════════════════════════════════════════
   FACULTY PAGE — Professor grid
   ═══════════════════════════════════════════════════════════ */
.faculty-dept-group { margin-bottom: 56px; }

.faculty-dept-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-primary);
}
.faculty-dept-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faculty-dept-icon { font-size: 24px; }
.faculty-dept-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-light);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

.professor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.professor-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.professor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.prof-photo-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  overflow: hidden;
}
.prof-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.prof-photo-initials {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
  opacity: .6;
}
.prof-dept-ribbon {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,0,.65);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prof-info { padding: 20px; }
.prof-name {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  font-family: var(--font-heading);
  color: var(--color-dark);
}
.prof-degree {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 10px;
}
.prof-bio {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.prof-location {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.prof-edu-list { margin-bottom: 12px; }
.prof-edu-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
}
.edu-degree-badge {
  background: var(--color-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
}
.edu-field { font-weight: 600; color: var(--color-dark); }
.edu-inst   { color: var(--color-muted); }

.prof-contact-link {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
  text-decoration: none;
  border: 1px solid rgba(11,94,215,.2);
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.prof-contact-link:hover { background: rgba(11,94,215,.06); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.about-stats-bar {
  background: var(--color-primary);
  padding: 36px 0;
}
.about-stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.about-stat { text-align: center; }
.about-stat-value {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
  line-height: 1;
}
.about-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 6px;
  font-weight: 600;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.about-mv-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.about-mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.about-mission::before { background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.about-vision::before  { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.about-mv-icon { font-size: 36px; margin-bottom: 14px; }
.about-mv-card h3 { font-size: 22px; margin-bottom: 14px; }
.about-mv-body { font-size: 15px; color: var(--color-muted); line-height: 1.8; }
.about-mv-body p { margin-bottom: 10px; }

.about-principal-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: flex-start;
}
.about-principal-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.about-principal-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.about-principal-placeholder {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; opacity: .5;
}
.about-principal-body { font-size: 16px; color: var(--color-muted); line-height: 1.9; }
.about-principal-body p { margin-bottom: 16px; }

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-value-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.about-value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.about-value-icon { font-size: 36px; margin-bottom: 14px; }
.about-value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-body); }
.about-value-card p  { font-size: 14px; color: var(--color-muted); line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   ADMISSION PAGE
   ═══════════════════════════════════════════════════════════ */
.admission-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.admission-step {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-number {
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--color-primary);
  opacity: .12;
  position: absolute;
  top: 14px; right: 16px;
  line-height: 1;
}
.step-icon  { font-size: 32px; margin-bottom: 14px; }
.admission-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-body); }
.admission-step p  { font-size: 14px; color: var(--color-muted); line-height: 1.65; margin: 0; }

.admission-requirements-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}
.req-group { margin-bottom: 36px; }
.req-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: var(--font-body);
  color: var(--color-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.req-group-icon { font-size: 20px; }
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  padding: 8px 12px;
  background: var(--color-light);
  border-radius: var(--radius-sm);
}
.req-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field-item {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(11,94,215,.08);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--color-dark); }
.field-required {
  display: inline-block;
  font-size: 10px;
  color: #dc2626;
  font-weight: 700;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.field-desc { font-size: 12px; color: var(--color-muted); margin: 4px 0 0; }

/* Admission sidebar */
.admission-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.admission-sidebar-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}
.sidebar-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 14px;
  font-family: var(--font-body);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-programs-list { list-style: none; }
.sidebar-programs-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.sidebar-programs-list li:last-child { border-bottom: none; }
.sidebar-programs-list li strong { flex: 1 0 100%; font-weight: 700; }
.sidebar-programs-list li code { font-size: 11px; color: var(--color-primary); background: rgba(11,94,215,.06); padding: 1px 5px; border-radius: 3px; }
.sidebar-prog-dept { font-size: 11px; color: var(--color-muted); }
.sidebar-prog-dur  { font-size: 11px; color: white; background: var(--color-primary); padding: 2px 7px; border-radius: 8px; font-weight: 600; }

.sidebar-dates-list { list-style: none; }
.sidebar-dates-list li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.sidebar-dates-list li:last-child { border-bottom: none; }
.intake-name  { font-size: 14px; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.intake-dates { font-size: 13px; color: var(--color-muted); }

.admission-apply-card { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: rgba(11,94,215,.2); text-align: center; }
.apply-card-icon { font-size: 36px; margin-bottom: 10px; }
.admission-apply-card h3 { font-size: 17px; margin-bottom: 8px; }
.admission-apply-card p  { font-size: 13px; color: var(--color-muted); line-height: 1.6; margin: 0; }

/* Admission FAQ */
.admission-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.faq-q { font-size: 15px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-body); color: var(--color-dark); }
.faq-a { font-size: 14px; color: var(--color-muted); line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — new sections
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .professor-grid          { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid       { grid-template-columns: repeat(2, 1fr); }
  .admission-steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .admission-requirements-layout { grid-template-columns: 1fr; }
  .admission-sidebar       { position: static; }
  .about-mv-grid, .mv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .principal-inner         { grid-template-columns: 1fr; }
  .principal-photo-col     { max-width: 280px; }
  .professor-grid          { grid-template-columns: 1fr 1fr; }
  .about-mv-grid, .mv-grid { grid-template-columns: 1fr; }
  .about-values-grid       { grid-template-columns: 1fr 1fr; }
  .about-principal-inner   { grid-template-columns: 1fr; }
  .about-principal-photo-frame { max-height: 260px; aspect-ratio: auto; }
  .admission-faq-grid      { grid-template-columns: 1fr; }
  .form-fields-grid        { grid-template-columns: 1fr; }
  .program-header          { flex-direction: column; }
  .program-courses         { padding: 16px; }
  .dept-tabs               { gap: 4px; }
}

@media (max-width: 480px) {
  .professor-grid          { grid-template-columns: 1fr; }
  .about-values-grid       { grid-template-columns: 1fr; }
  .admission-steps-grid    { grid-template-columns: 1fr; }
  .inner-hero-title        { font-size: 28px; }
}
