/* =========================
   Design tokens
   ========================= */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --primary: #0b3a82;
  --primary-2: #1d4ed8;
  --accent: #38bdf8;
  --soft: #f8fafc;
  --soft-blue: #eff6ff;
  --dark: #020817;
  --radius: 24px;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow.light {
  color: #93c5fd;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
}

.white {
  color: white;
}

.lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.75;
}

.text-muted {
  color: var(--muted);
}

.mt-16 {
  margin-top: 16px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-22 {
  margin-top: 22px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-30 {
  margin-top: 30px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 24px rgba(56, 189, 248, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================
   Header / navigation
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}



.brand small {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.brand strong {
  font-size: 1.25rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: 0.25s ease;
}

.nav-toggle span {
  margin: 6px auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #475569;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

/* =========================
   Hero sections
   ========================= */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.24), transparent 26%),
    radial-gradient(circle at left center, rgba(59, 130, 246, 0.18), transparent 20%),
    linear-gradient(135deg, #020817 0%, #0f172a 35%, #0b3a82 100%);
}

.hero-grid {
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}

.page-hero-inner {
  padding: 90px 0 72px;
  max-width: 900px;
  
}

.hero-card {
  border-radius: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.4);
  backdrop-filter: blur(8px);
}

.hero-card-inner {
  min-height: 520px;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
}

.hero-photo-home {
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.18)),
    url("images/Home/hero-home.jpg") center/cover;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.line-skeleton {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  margin-bottom: 12px;
}

.w120 {
  width: 120px;
}

.w150 {
  width: 150px;
}

.w200 {
  width: 200px;
}

.hero-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-mini-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px 14px;
}

.hero-mini-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
}

.hero-mini-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
}

.page-group .page-hero,
.page-research .page-hero,
.page-projects .page-hero,
.page-news .page-hero,
.page-results .page-hero,
.page-contact .page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-group .page-hero-inner,
.page-research .page-hero-inner,
.page-projects .page-hero-inner,
.page-news .page-hero-inner,
.page-results .page-hero-inner,
.page-contact .page-hero-inner {
  max-width: 760px;
  padding: 120px 0 90px;
  margin-bottom: 22px;
}

.page-group .page-hero h1,
.page-research .page-hero h1,
.page-projects .page-hero h1,
.page-news .page-hero h1,
.page-results .page-hero h1,
.page-contact .page-hero h1 {
  max-width: 700px;
}

.page-group .page-hero .lead,
.page-research .page-hero .lead,
.page-projects .page-hero .lead,
.page-news .page-hero .lead,
.page-results .page-hero .lead,
.page-contact .page-hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  line-height: 1.85;
}
/* ===== PAGE-SPECIFIC VISIBILITY ===== */
.page-projects .subnav {
  display: none;
}

.page-group .subnav {
  display: none;
}

.page-research .subnav {
  display: none;
}

.page-results .subnav {
  display: none;
}

.page-group .page-hero {
  background:
    linear-gradient(
      to right,
      rgba(2, 8, 23, 0.82) 0%,
      rgba(2, 8, 23, 0.55) 26%,
      rgba(2, 8, 23, 0.22) 42%,
      rgba(2, 8, 23, 0.06) 58%,
      rgba(2, 8, 23, 0) 72%
    ),
    url("images/the-group/hero-group.jpg") center/cover;
}

.page-research .page-hero {
  background:
    linear-gradient(
      to right,
      rgba(2, 8, 23, 0.82) 0%,
      rgba(2, 8, 23, 0.55) 20%,
      rgba(2, 8, 23, 0.22) 35%,
      rgba(2, 8, 23, 0.06) 62%,
      rgba(2, 8, 23, 0) 82%
    ),
    url("images/Research/hero-research.jpg") center/cover;
}

.page-projects .page-hero {
  background:
        linear-gradient(
      to right,
      rgba(2, 8, 23, 0.82) 0%,
      rgba(2, 8, 23, 0.55) 46%,
      rgba(2, 8, 23, 0.22) 68%,
      rgba(2, 8, 23, 0.06) 72%,
      rgba(2, 8, 23, 0) 72%
    ),
    url("images/Projects/hero-projects.jpg") center/cover;
}

.page-news .page-hero {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.78) 0%, rgba(2, 8, 23, 0.52) 42%, rgba(2, 8, 23, 0.18) 100%),
    url("images/News/hero-news.jpg") center/cover;
}

.page-results .page-hero {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.78) 0%, rgba(2, 8, 23, 0.52) 42%, rgba(2, 8, 23, 0.18) 100%),
    url("images/Results/hero-results.jpg") center/cover;
}

.page-contact .page-hero {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.78) 0%, rgba(2, 8, 23, 0.52) 42%, rgba(2, 8, 23, 0.18) 100%),
    url("images/Contact/hero-contact.jpg") center/cover;
}
/* =========================
   Homepage overview
   ========================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.visual-card {
  border-radius: 28px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.visual-card.tall {
  min-height: 300px;
}

.bg-1 {
  background-image: linear-gradient(rgba(11, 58, 130, 0.18), rgba(11, 58, 130, 0.18)), url("images/Home/overview-1.jpg");
}

.bg-2 {
  background-image: linear-gradient(rgba(2, 8, 23, 0.18), rgba(2, 8, 23, 0.18)), url("images/Home/overview-2.jpg");
}

.section-soft {
  background: var(--soft);
}

/* =========================
   Cards / grids
   ========================= */
.cards,
.projects,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.cards.four,
.projects.four {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.project,
.news-card,
.info-panel,
.anchor-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project,
.news-card {
  overflow: hidden;
  padding: 0;
}

.card:hover,
.project:hover,
.news-card:hover,
.anchor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  font-size: 1.5rem;
}

.card p,
.anchor-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* === Split section (text + image) === */
.split-section {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.split-text p {
  margin-top: 16px;
}

.split-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}




.stats {
  background: var(--soft-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #dbeafe;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 500;
}

.project-media,
.news-media {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.project-media.one {
  background-image: url("images/Projects/project-1.jpg");
}

.project-media.two {
  background-image: url("images/Projects/project-2.jpg");
}

.project-media.three {
  background-image: url("images/Projects/project-3.jpg");
}

.project-media.four {
  background-image: url("images/Projects/project-4.jpg");
}

.news-media.one {
  background-image: url("images/News/news-1.jpg");
}

.news-media.two {
  background-image: url("images/News/news-2.jpg");
}

.news-media.three {
  background-image: url("images/News/news-3.jpg");
}

.news-media.four {
  background-image: url("images/News/news-4.jpg");
}

.news-media.five {
  background-image: url("images/News/news-5.jpg");
}

.news-media.six {
  background-image: url("images/News/news-6.jpg");
}

.news-media.seven {
  background-image: url("images/News/news-7.jpg");
}

.news-media.eight {
  background-image: url("images/News/news-8.jpg");
}

.news-media.nine {
  background-image: url("images/News/news-9.jpg");
}
.news-media.ten {
  background-image: url("images/News/news-10.jpg");
}

.news-media.eleven {
  background-image: url("images/News/news-11.jpg");
}

.news-media.twelve {
  background-image: url("images/News/news-12.jpg");
}

.project-body,
.news-body {
  padding: 26px;
}

.news-expandable summary {
  list-style: none;
  cursor: pointer;
}

.news-expandable summary::-webkit-details-marker {
  display: none;
}

.news-expandable .news-body h3,
.news-expandable .news-body p {
  transition: 0.2s ease;
}

.news-expandable .news-detail {
  padding: 0 26px 26px;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.news-expandable .news-detail p {
  margin-top: 16px;
}

.news-expandable[open] {
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.news-expandable[open] .news-body h3 {
  color: var(--primary);
}

.project-body p,
.news-body p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.ghost-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
}

/* =========================
   Page sub-navigation
   ========================= */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.subnav a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
}

/* =========================
   Page layout / sidebar
   ========================= */
.page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 12px;
}

.sidebar-links {
  display: grid;
  gap: 10px;
}

.sidebar-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.sidebar-links a:hover {
  color: var(--primary);
}

.content-stack {
  display: grid;
  gap: 22px;
}

.content-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.content-section p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.8;
  font-size: 0.98rem;
}

.content-section ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

.info-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.anchor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.anchor-card {
  padding: 22px;
}

/* =========================
   STAFF & PHD GRID SECTION
   ========================= */

/* =========================
   Team / staff cards
   ========================= */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.staff-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.staff-photo {
  width: 160px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 16px;
}

.staff-card h4 {
  margin-top: 8px;
}

.staff-role {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.staff-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}



/* =========================
   Footer
   ========================= */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.footer-copy {
  margin-top: 18px;
  color: #94a3b8;
  max-width: 620px;
  line-height: 1.8;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-title {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer-list {
  display: grid;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Publications */

/* =========================
   Results / publications
   ========================= */
.publication-list {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}

.publication-year-group {
  display: grid;
  gap: 14px;
}

.publication-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.publication-year-items {
  display: grid;
  gap: 14px;
}

.publication-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: #fff;
}

.publication-empty {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  background: var(--soft);
}

.pub-title {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
}

.pub-journal {
  margin-top: 6px;
  color: #64748b;
  font-size: 0.94rem;
  font-style: italic;
}

.pub-doi {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.pub-doi a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
}

/* =========================
   Responsive rules
   ========================= */
@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .footer-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .projects,
  .news-grid,
  .stats-grid,
  .anchor-grid,
  .cards.four,
  .projects.four,
  .info-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .cards,
  .projects,
  .news-grid,
  .stats-grid,
  .visual-grid,
  .footer-columns,
  .hero-mini,
  .anchor-grid,
  .cards.four,
  .projects.four,
  .info-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-card-inner {
    min-height: 400px;
  }

  .subnav {
    display: none;
  }
}
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}


/* Group page text alignment */
.page-group .content-section p,
.page-group .info-panel p,
.page-group .staff-card p {
  margin-top: 16px;
  text-align: justify;
  text-justify: inter-word;
}

/* =========================
   RESEARCH BLOCK LAYOUT
   ========================= */

/* =========================
   Research page blocks / carousel
   ========================= */
.research-block {
  margin-top: 20px;
}

.research-header p {
  margin-top: 16px;
}

.research-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 28px;
  align-items: start;
}

.research-topics ul {
  margin-top: 14px;
}

.research-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.research-carousel {
  position: relative;
  width: 100%;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #020817, #0b3a82);
}

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  transform: scale(1.02);
}

.carousel-image.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--primary);
}


@media (max-width: 900px) {
  .research-bottom {
    grid-template-columns: 1fr;
  }
}

.research-topics a {
  color: var(--primary);
  font-weight: 500;
}

.research-topics a:hover {
  text-decoration: underline;
}

/* =========================
   Dynamic project cards
   ========================= */
.project-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.project-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-item h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.4;
}

.project-meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-meta strong {
  color: var(--text);
}

/* Page-specific hidden utility blocks */
#results-meta,
#projects-meta,
#projects-status {
  display: none;
}

/* Contact map */
.map-container {
  width: 100%;
  height: 220px;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}
