/* ============================================
   URBX Lab — Urban + X
   Aesthetic: Urban-Architectural Editorial
   ============================================ */

:root {
  --color-bg-dark: #0b0f14;
  --color-bg-card: #111820;
  --color-bg: #fafaf8;
  --color-bg-alt: #f0efeb;
  --color-surface: #ffffff;
  --color-primary: #0b0f14;
  --color-accent: #c9953c;
  --color-accent-glow: rgba(201, 149, 60, 0.15);
  --color-text: #1a1a1a;
  --color-text-light: #5a5a58;
  --color-text-inv: #e8e6e1;
  --color-text-inv-muted: rgba(232, 230, 225, 0.5);
  --color-border: #ddd9d0;
  --color-border-light: #eae7e0;
  --color-link: #0b0f14;
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 6px;
  --radius-lg: 12px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ---- Navigation ---- */
.site-header {
  background: var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
}
.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}
.nav-logo:hover { text-decoration: none; opacity: 0.9; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}
.nav-links a {
  display: inline-block;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inv-muted);
  margin-top: auto;
  padding: 3rem 2rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer a { color: var(--color-text-inv); }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.page-content {
  padding: 3.5rem 0;
  flex: 1;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.section-subtitle {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}
.page-header .accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.75rem;
}

/* ---- Hero ---- */
.hero {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(201,149,60,0.03) 1px, transparent 1px),
    linear-gradient(rgba(201,149,60,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,149,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-carousel { display: none; }
@media (min-width: 1024px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
  }
  .hero-text { min-width: 0; }
  .hero-carousel {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(201,149,60,0.2);
  }
  .hero-carousel-track {
    position: absolute;
    inset: 0;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  .hero-slide.active { opacity: 1; }
  .hero-slide.contain { background-size: contain; }
  .hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
  }
  .hero-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
  }
  .hero-carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
  }
  .hero-carousel-dots button.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
  }
  .hero .subtitle { max-width: none; }
}
.hero-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  color: var(--color-accent);
}
.hero .subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-text-inv-muted);
  max-width: 560px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat {
  text-align: left;
}
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--color-text-inv-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

/* ---- Homepage Layout ---- */
.home-top-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.home-main-col { min-width: 0; }

.home-news-sidebar {
  background: var(--color-bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  border: 1px solid rgba(255,255,255,0.06);
}
.home-news-sidebar .home-section-header {
  margin-bottom: 0.75rem;
}
.home-news-sidebar .home-section-header h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.home-news-sidebar .home-section-header a {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.home-news-sidebar .news-item {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 0.35rem 0 0.35rem 0.75rem;
  margin-bottom: 0;
  transition: border-color 0.2s;
}
.home-news-sidebar .news-item:hover {
  border-left-color: var(--color-accent);
}
.home-news-sidebar .news-item .news-date {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.home-news-sidebar .news-item h3 {
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 500;
}
.home-news-sidebar .news-item h3 a { color: rgba(255,255,255,0.9); }
.home-news-sidebar .news-item h3 a:hover { color: var(--color-accent); text-decoration: none; }
.home-news-sidebar .news-item p { display: none; }
.home-news-sidebar .news-type-badge {
  font-size: 0.5rem;
  padding: 0.05rem 0.35rem;
  display: inline-block;
  margin-top: 0.15rem;
}

.home-section { margin-bottom: 2.5rem; }
.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.75rem;
}
.home-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}
.home-section-header a {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
  transition: color 0.2s;
}
.home-section-header a:hover { text-decoration: none; color: var(--color-primary); }

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: var(--color-accent);
  text-decoration: none;
  cursor: pointer;
}
.card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-light);
}
.card-body { padding: 1.25rem; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}
.card-body p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
}
.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  border-radius: 20px;
  margin-right: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---- People ---- */
.people-section { margin-bottom: 3rem; }
.people-section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.people-section h2::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.person-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
}
.person-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.person-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  background: var(--color-bg-alt);
  border: 3px solid var(--color-border-light);
  transition: border-color 0.3s;
}
.person-card:hover .person-photo {
  border-color: var(--color-accent);
}
.person-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}
.person-card .role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---- Person Modal ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--color-bg-dark);
  color: var(--color-text-inv);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.modal-photo {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
}
.modal-header-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  letter-spacing: -0.3px;
}
.modal-header-info .role {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
}
.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.modal-links a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  text-decoration: none;
}
.modal-bio {
  line-height: 1.75;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.modal-bio p { margin-bottom: 1rem; }

/* ---- Publication Cards ---- */
.pub-search-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background: var(--color-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}
.pub-search-bar select,
.pub-search-bar input {
  font-family: var(--font-body);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.pub-search-bar input { flex: 1; min-width: 200px; }
.pub-search-bar input:focus,
.pub-search-bar select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.pub-search-bar .match-count {
  font-size: 0.82rem;
  color: var(--color-text-light);
  white-space: nowrap;
}
.pub-year-group h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 3rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.5px;
}
.pub-year-group h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.pub-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all 0.25s ease;
}
.pub-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-color: var(--color-accent);
}
.pub-thumb {
  width: 150px;
  min-width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}
.pub-info { flex: 1; }
.pub-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.pub-info h3 a { color: var(--color-primary); }
.pub-info h3 a:hover { color: var(--color-accent); text-decoration: none; }
.pub-citation {
  font-size: 0.84rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
.pub-buttons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pub-btn {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  background: var(--color-bg);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pub-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.pagination button {
  font-family: var(--font-display);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.pagination button:hover { background: var(--color-bg-alt); }
.pagination button:disabled { opacity: 0.3; cursor: default; }
.pagination .page-info {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ---- Single Publication Detail ---- */
.pub-detail { max-width: 780px; margin: 0 auto; }
.pub-detail h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.pub-detail .authors {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.pub-detail .venue {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.75rem;
}
.pub-detail .pub-figure {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  background: var(--color-bg-alt);
}
.pub-detail .abstract { margin-bottom: 2rem; }
.pub-detail .abstract h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  letter-spacing: -0.2px;
}
.pub-detail .abstract p {
  line-height: 1.8;
  color: var(--color-text);
  font-size: 0.95rem;
}
.pub-detail .pub-buttons { margin-bottom: 2rem; }
.pub-detail .bibtex-block {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: none;
}
.pub-detail .bibtex-block.visible { display: block; }
.pub-detail .bibtex-block pre {
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--color-text);
}
.pub-detail .bibtex-block button {
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.pub-detail .bibtex-block button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---- News ---- */
.news-item {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.news-item:hover {
  border-left-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.news-item .news-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.news-item p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
}
.news-type-badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.news-type-badge.award { background: #fef3cd; color: #92710c; }
.news-type-badge.publication { background: #d4edda; color: #155724; }
.news-type-badge.general { background: #e2e3e5; color: #383d41; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-inner { animation: fadeUp 0.7s ease-out; }
.home-section { animation: fadeUp 0.6s ease-out both; }
.home-section:nth-child(1) { animation-delay: 0.1s; }
.home-section:nth-child(2) { animation-delay: 0.2s; }
.home-news-sidebar { animation: fadeIn 0.8s ease-out 0.3s both; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .home-top-row {
    grid-template-columns: 1fr;
  }
  .home-news-sidebar {
    position: static;
    order: -1;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    padding: 1rem 2rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .container { padding: 0 1.25rem; }
  .pub-card { flex-direction: column; }
  .pub-thumb { width: 100%; min-width: unset; height: 180px; }
  .pub-search-bar { flex-direction: column; align-items: stretch; }
  .people-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cards-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 1.75rem; margin: 1rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
