/* ==========================================================================
   NSU ANTHROPOLOGY - STYLESHEET
   North South University | Department of Political Science & Sociology
   Bachelor of Social Science (BSS) in Anthropology
   ========================================================================== */

/* ----- ROOT VARIABLES & DESIGN TOKENS ----- */
:root {
  --primary: #1F1F1F;           /* Deep Charcoal / Black */
  --primary-dark: #121212;
  --secondary: #A6192E;         /* NSU Crimson Red */
  --secondary-hover: #831222;   /* Darker Red */
  --secondary-light: #FDF1F2;   /* Light Red Tint */
  --gold: #C59B27;              /* Academic Gold Accent */
  --gold-light: #FFF9E6;
  --text-main: #2D3748;         /* High readability charcoal */
  --text-muted: #64748B;        /* Subdued text */
  --text-light: #FFFFFF;
  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;           /* Subtle cool gray section bg */
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', Times, serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --nav-height: 82px;
}

/* ----- BASE & RESET ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-hover);
}

/* ----- TYPOGRAPHY HELPERS ----- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background-color: var(--secondary-light);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(166, 25, 46, 0.15);
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  position: relative;
}

.section-desc {
  color: #4B5563;
  font-size: 1.25rem;
  line-height: 1.7;
}

/* ----- HEADER & NAVIGATION ----- */
.top-bar {
  background-color: var(--primary);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-links a {
  color: #E2E8F0;
  margin-left: 1.2rem;
  font-size: 0.82rem;
}

.top-bar-links a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  max-width: 1440px;
  width: 100%;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: nowrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease;
}

.brand-wrap:hover .brand-logo {
  transform: scale(1.03);
}

.brand-text {
  border-left: 2px solid var(--border-color);
  padding-left: 0.85rem;
  flex-shrink: 0;
}

.brand-text .title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.1;
  display: block;
}

.brand-text .sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.95rem;
  align-items: center;
  flex-wrap: nowrap;
}

/* HOME MENU ITEM (Hidden at top, appears when scrolled down) */
.nav-item-home {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, max-width 0.35s ease, transform 0.3s ease, visibility 0.3s ease;
  white-space: nowrap;
}

.nav-item-home.is-scrolled {
  opacity: 1;
  max-width: 90px;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

@supports (animation-timeline: scroll()) {
  @keyframes revealHomeNav {
    0%, 12% {
      opacity: 0;
      max-width: 0;
      visibility: hidden;
      transform: translateX(-10px);
    }
    25%, 100% {
      opacity: 1;
      max-width: 90px;
      visibility: visible;
      transform: translateX(0);
    }
  }

  .nav-item-home {
    animation: revealHomeNav linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 420px;
  }
}

.nav-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.4rem 0.25rem;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--secondary);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link:focus {
  color: var(--secondary);
}

.nav-link:hover::after {
  width: 100%;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-light) !important;
  box-shadow: 0 4px 12px rgba(166, 25, 46, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 25, 46, 0.4);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light) !important;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-primary:hover {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-sm {
  padding: 0.55rem 1.35rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

/* MOBILE NAV TOGGLE (Pure CSS with Checkbox) */
.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ----- HERO SECTION ----- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(23, 20, 21, 0.94) 0%, rgba(35, 31, 32, 0.88) 100%), 
              url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color: var(--text-light);
  padding: 6rem 0 5rem 0;
  border-bottom: 5px solid var(--secondary);
}

.hero-content {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(197, 155, 39, 0.2);
  color: #F8D882;
  border: 1px solid rgba(197, 155, 39, 0.5);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #FFFFFF;
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: #F37A8C;
  background: linear-gradient(90deg, #F98797, #FBD38D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #E2E8F0;
  margin-bottom: 2rem;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* HERO STATS BAR */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* ----- OVERVIEW & ABOUT SECTION ----- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.overview-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.overview-highlights {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.overview-highlights li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-main);
}

.overview-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
}

.chair-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.chair-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--secondary);
}

.chair-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.chair-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-light);
}

.chair-info h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.chair-info span {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  display: block;
}

.chair-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: #374151;
  line-height: 1.8;
}

/* FEATURE PILLARS GRID */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.pillar-card {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.pillar-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  color: #4B5563;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ----- CURRICULUM SECTION ----- */
.curriculum-summary-banner {
  background: linear-gradient(135deg, #231F20 0%, #382F32 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.curr-summary-box .val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.curr-summary-box .lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #E2E8F0;
  margin-top: 0.25rem;
}

.curriculum-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.table-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.table-header {
  background-color: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h3 {
  font-size: 1.15rem;
}

.table-header .tag {
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}

.custom-table th, .custom-table td {
  padding: 0.95rem 1.25rem;
  text-align: left;
}

.custom-table th {
  background-color: #F1F5F9;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-table tr:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.custom-table tr:hover {
  background-color: #F8FAFC;
}

.course-code {
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

/* THEMATIC STREAMS */
.streams-section {
  margin-top: 2.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stream-card {
  background-color: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
}

.stream-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.stream-card p {
  font-size: 1.02rem;
  line-height: 1.62;
  color: #4A5568;
  margin-bottom: 0;
}

/* ----- FACULTY DIRECTORY SECTION ----- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.faculty-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.faculty-card-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: #E2E8F0;
  overflow: hidden;
  position: relative;
}

.faculty-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-card-img-wrap img {
  transform: scale(1.03);
}

.faculty-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faculty-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.faculty-rank {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.faculty-degrees {
  font-size: 0.95rem;
  color: #334155;
  background-color: var(--bg-alt);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.faculty-degrees strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.2rem;
}

.faculty-bio {
  font-size: 1.02rem;
  color: #4B5563;
  line-height: 1.68;
  flex: 1;
  margin-bottom: 1.25rem;
}

.faculty-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.faculty-poster-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.faculty-poster-link:hover {
  text-decoration: underline;
}

/* ----- YUNNAN 2+1+1 INTERNATIONAL PROGRAM ----- */
.yunnan-feature-box {
  background: linear-gradient(135deg, #1C2331 0%, #29384D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--gold);
}

.yunnan-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.yunnan-content h3 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.yunnan-lead {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 1.75rem;
}

.program-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.p-step {
  text-align: center;
  flex: 1;
}

.p-step-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.p-step-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-top: 0.25rem;
}

.p-arrow {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 800;
}

.scholarship-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #F1F5F9;
}

.perk-item span {
  color: #4ADE80;
  font-weight: bold;
}

.yunnan-media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ----- EVENTS & NEWS SECTION ----- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}

.event-card-header {
  background-color: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-date-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.event-type-badge {
  background-color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.event-card-body {
  padding: 1.5rem;
  flex: 1;
}

.event-card-body h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.event-card-body p {
  color: #4B5563;
  font-size: 1.05rem;
  line-height: 1.65;
}

.event-meta {
  font-size: 0.92rem;
  color: #64748B;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

/* ----- PUBLICATIONS & RESEARCH SECTION ----- */
.pub-featured-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border-left: 8px solid var(--secondary);
}

.pub-featured-tag {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.pub-featured-title {
  font-size: 1.75rem;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
}

.pub-featured-subtitle {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pub-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  background-color: var(--bg-alt);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.pub-abstract {
  font-size: 1.12rem;
  color: var(--text-main);
  line-height: 1.78;
}

.concept-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.concept-chip {
  background-color: var(--secondary-light);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ----- ADMISSIONS & APPLY SECTION ----- */
.admissions-wrap {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.timeline-steps {
  list-style: none;
  position: relative;
  margin: 1.5rem 0;
}

.timeline-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.75rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  width: 2px;
  height: calc(100% + 5px);
  background-color: var(--border-color);
}

.timeline-step:last-child::before {
  display: none;
}

.step-num-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background-color: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.timeline-step p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.poster-preview-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.poster-preview-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* ----- CONTACT SECTION ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 0;
}

.contact-text a:hover {
  color: var(--secondary);
}

.quick-links-card {
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
}

.links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.links-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.links-list a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateX(4px);
}

/* ----- FOOTER ----- */
.site-footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  border-top: 6px solid var(--secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  color: #94A3B8;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ----- RESPONSIVE DESIGN (MEDIA QUERIES) ----- */
@media (max-width: 1320px) {
  .brand-text {
    display: none;
  }
}

@media (max-width: 1150px) {
  .top-bar {
    display: none;
  }
  
  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
  }

  .nav-toggle-input:checked ~ .main-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  /* In mobile drawer, Home is always accessible */
  .nav-item-home {
    opacity: 1 !important;
    max-width: 100% !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    animation: none !important;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .curriculum-summary-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .curriculum-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid, .yunnan-grid, .admissions-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .pillars-grid, .streams-grid, .events-grid, .faculty-grid {
    grid-template-columns: 1fr;
  }

  .yunnan-feature-box {
    padding: 2rem 1.5rem;
  }

  .program-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
