/* =====================================================
   IGU-GEOSUS Website Stylesheet — Modern Redesign
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

/* =====================================================
   CSS Custom Properties
   ===================================================== */
:root {
  --navy:       #0a2342;
  --navy-deep:  #061729;
  --navy-mid:   #0d3160;
  --teal:       #00b4d8;
  --teal-light: #48cae4;
  --teal-dark:  #0096b7;
  --gold:       #f0a500;
  --gold-dark:  #c98900;
  --white:      #ffffff;
  --off-white:  #f6f8fc;
  --gray-100:   #f1f4f9;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e0;
  --gray-500:   #718096;
  --gray-700:   #2d3748;
  --text-body:  #2d3748;
  --text-muted: #64748b;
  --shadow-sm:  0 1px 3px rgba(10,35,66,.08), 0 1px 2px rgba(10,35,66,.05);
  --shadow-md:  0 4px 16px rgba(10,35,66,.12), 0 2px 6px rgba(10,35,66,.07);
  --shadow-lg:  0 12px 40px rgba(10,35,66,.18), 0 4px 12px rgba(10,35,66,.10);
  --radius:     8px;
  --radius-lg:  14px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }
ul  { list-style: none; }

/* =====================================================
   Container
   ===================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   Top Bar
   ===================================================== */
.top-bar {
  background: var(--white);
  color: var(--text-muted);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 8px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gray-200);
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.top-bar a {
  color: var(--text-body);
  font-weight: 500;
  transition: color var(--transition);
}
.top-bar a:hover { color: var(--teal-dark); }

/* External link icon in top bar */
.external-link {
  display: inline-block;
  font-size: 10px;
  color: var(--teal-light);
  margin-left: 4px;
  font-style: normal;
}

/* =====================================================
   Sticky Navigation Bar
   ===================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(10,35,66,0.1);
  transition: box-shadow var(--transition), background var(--transition);
  will-change: auto;
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.99);
}

/* Nav layout */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 24px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Logo in nav */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 12px 0;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 100px;
  width: auto;
  background: transparent;
  border-radius: 6px;
  padding: 4px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.nav-logo-text .nav-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.8px;
}
.nav-logo-text .nav-sub {
  font-size: 11px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 18px 15px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px 2px 0 0;
  transition: width var(--transition);
}
.nav-links > li > a:hover {
  color: var(--teal-dark);
}
.nav-links > li > a:hover::after {
  width: calc(100% - 20px);
}

/* Dropdown arrow */
.nav-links > li > a .arrow {
  font-size: 9px;
  opacity: 0.7;
  transition: transform var(--transition);
  margin-left: 2px;
}
.nav-links > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav-links .dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  min-width: 210px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
  overflow: hidden;
}
.nav-links > li:hover .dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links .dropdown li a {
  display: block;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), color var(--transition);
}
.nav-links .dropdown li:last-child a { border-bottom: none; }
.nav-links .dropdown li a:hover {
  background: var(--off-white);
  color: var(--teal-dark);
}

/* =====================================================
   Hamburger (mobile pure-CSS checkbox toggle)
   ===================================================== */
.hamburger-toggle {
  display: none;
}
.hamburger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}
.hamburger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Hero overlay for better text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 23, 41, 0.75) 0%, rgba(10, 35, 66, 0.65) 45%, rgba(13, 59, 110, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 60px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #cfe4f5;
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,180,216,0.4);
}
.hero-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.55);
}
.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.hero-cta:hover svg { transform: translateX(4px); }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94b8d6;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  margin-left: 12px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: rgba(6,23,41,0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stats .container {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #6a8fb5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =====================================================
   Section Heading (gradient underline style)
   ===================================================== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
}
.section-title.centered {
  text-align: center;
}
.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* =====================================================
   Page Body
   ===================================================== */
.page-body {
  padding: 56px 0 72px;
  background: var(--white);
}

/* =====================================================
   Home Columns Layout
   ===================================================== */
.home-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 64px;
}

/* =====================================================
   News / Notices Cards
   ===================================================== */
.news-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.news-panel-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.news-panel-link {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.news-panel-link:hover { color: var(--gold); }

.news-panel-body {
  padding: 0;
}

.news-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  border-left: 3px solid transparent;
  transition: border-left-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.news-card:last-child { border-bottom: none; }
.news-card:hover {
  border-left-color: var(--teal);
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(10,35,66,0.07);
}

.news-card-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-top: 7px;
  transition: background var(--transition);
}
.news-card:hover .news-card-dot { background: var(--teal); }

.news-card-body {
  flex: 1;
  min-width: 0;
}

.news-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 5px;
  transition: color var(--transition);
  display: block;
}
.news-card:hover .news-card-title { color: var(--teal-dark); }

.news-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
}

/* =====================================================
   Links Section
   ===================================================== */
.links-section {
  margin-bottom: 0;
}

.links-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
}

.link-card-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.link-card-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.link-card-logo:nth-of-type(2) .link-card-logo-img {
  height: 70px;
}
.link-card-logo:nth-of-type(3) .link-card-logo-img {
  height: 75px;
}
.link-card-logo:nth-of-type(4) .link-card-logo-img {
  height: 55px;
}
.link-card-logo:nth-of-type(5) .link-card-logo-img {
  height: 80px;
}
.link-card-logo:hover {
  opacity: 0.8;
  transform: translateX(6px);
}

/* =====================================================
   Page Inner (sub-pages)
   ===================================================== */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep {
  margin: 0 8px;
  color: var(--gray-300);
  font-size: 13px;
}

.page-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
  border: 1px solid var(--gray-200);
}

.page-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 16px;
  position: relative;
}
.page-inner h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
}

.page-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}

.page-inner p {
  font-size: 15px;
  color: #3e5068;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-inner ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.page-inner ul li {
  font-size: 15px;
  color: #3e5068;
  line-height: 1.8;
  padding: 4px 0 4px 22px;
  position: relative;
}
.page-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.page-inner a {
  color: var(--teal-dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(0,150,183,0.25);
  transition: color var(--transition), border-color var(--transition);
}
.page-inner a:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

/* =====================================================
   Profile Photo
   ===================================================== */
.profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  margin: 0 auto 12px;
  border: 3px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* Journal image */
.journal-img {
  max-width: 220px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
}

/* Journal header layout */
.journal-header {
  margin-bottom: 32px;
}

.journal-header-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.journal-text {
  flex: 1;
  padding-top: 20px;
}

.journal-text h2 {
  margin-bottom: 4px;
}

.journal-text p:first-of-type {
  margin-top: 0;
}

.journal-cover {
  flex-shrink: 0;
  text-align: center;
}

.journal-cover img {
  max-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.journal-info {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Scope section */
.journal-header + h3 {
  margin-top: 0;
}

.scope-intro {
  margin-bottom: 16px;
  color: var(--text-body);
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.scope-list li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.scope-list li::before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 8px;
  font-size: 18px;
  line-height: 1;
}

.scope-list li strong {
  color: var(--navy);
}

/* Section headings */
.section-heading {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--navy);
}

/* =====================================================
   Home Page Sections
   ===================================================== */
.home-section {
  margin-bottom: 64px;
}

.home-section:last-child {
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 32px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--teal);
  display: inline-block;
}

/* News Grid */
.news-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.news-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc(25% - 16px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.news-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.date-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.date-day {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.date-month {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-year {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: auto;
}

.news-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Events Grid Home */
.events-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.event-card-home {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.event-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.event-card-home:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.event-card-home-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.event-card-home h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-home-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.event-meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
}

/* Section Link */
.section-link {
  text-align: right;
}

.section-link a {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.section-link a:hover {
  color: var(--navy);
}

/* Contact Section Home */
.contact-section-home {
  margin-top: 48px;
}

.contact-card-home {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  color: var(--white);
}

.contact-role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.contact-card-home h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px 0;
}

.contact-affiliation {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px 0;
}

.contact-address {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 12px 0;
}

.contact-email {
  font-size: 16px;
  color: var(--white);
  margin: 0;
}

.contact-email a {
  color: var(--teal-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-email a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
  .news-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .news-card {
    flex: 0 0 100%;
  }

  .contact-card-home {
    padding: 32px 24px;
  }

  .contact-card-home h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .news-grid,
  .events-grid-home {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}

/* =====================================================
   Tables
   ===================================================== */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.data-table thead th {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #c6ddf0;
  padding: 13px 16px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--teal-dark);
}

.data-table thead th small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.9;
  text-transform: none;
  letter-spacing: 0;
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  transition: background var(--transition);
}

.data-table tbody tr td {
  white-space: normal;
}

.data-table.past-workshops {
  font-size: 13px;
}

.data-table.past-workshops thead th {
  font-size: 11px;
  padding: 12px 14px;
}

.data-table.past-workshops tbody td {
  padding: 14px 14px;
  vertical-align: top;
}

.data-table.past-workshops tbody td:nth-child(2) {
  max-width: 250px;
  font-style: italic;
  color: var(--text-muted);
}

.data-table.past-workshops tbody td:nth-child(5) {
  white-space: normal;
  color: var(--text-muted);
  font-size: 12.5px;
}

.data-table.past-workshops tbody td:nth-child(6) {
  text-align: center;
  vertical-align: middle !important;
}

.workshop-thumb {
  max-width: 100px;
  max-height: 70px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.data-table tbody tr:nth-child(even) td {
  background: var(--off-white);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: #e8f4fa;
}

.data-table a {
  color: var(--teal-dark);
  font-weight: 600;
  border-bottom: 1px solid rgba(0,150,183,0.3);
  transition: color var(--transition), border-color var(--transition);
}
.data-table a:hover { color: var(--gold-dark); border-color: var(--gold); }

.text-muted {
  color: var(--text-muted);
  font-size: 12px;
}

/* =====================================================
   News list (used inside page-inner)
   ===================================================== */
.news-list {
  margin: 0;
  padding: 0;
}
.news-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  transition: background var(--transition);
}
.news-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { background: var(--off-white); }
.news-list li a {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: none;
  transition: color var(--transition);
}
.news-list li a:hover { color: var(--teal-dark); border-bottom: none; }
.news-list .date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 2px;
}

/* =====================================================
   Footer
   ===================================================== */
footer {
  background: linear-gradient(160deg, #06111e 0%, var(--navy-deep) 40%, #081829 100%);
  color: #7a9ec2;
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-brand .footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.8;
  color: #5a7fa5;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  margin-bottom: 24px;
}

footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94b8d6;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

footer ul {
  list-style: none;
}
footer ul li {
  margin-bottom: 2px;
}
footer ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #5a7fa5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color var(--transition), transform var(--transition);
}
footer ul li a::before {
  content: '→';
  font-size: 11px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
}
footer ul li a:hover {
  color: var(--teal-light);
  transform: translateX(4px);
}
footer ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

footer address {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #5a7fa5;
  line-height: 1.85;
}
footer address strong {
  color: #94b8d6;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
footer address a {
  color: var(--teal);
  transition: color var(--transition);
}
footer address a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #344e6e;
  text-align: center;
}

/* =====================================================
   Utility classes
   ===================================================== */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* =====================================================
   Responsive — Tablet
   ===================================================== */
@media (max-width: 900px) {
  .home-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats .container { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .page-inner { padding: 30px 28px; }
}

/* =====================================================
   Responsive — Mobile
   ===================================================== */
@media (max-width: 640px) {

  /* Nav */
  .hamburger-label { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6,23,41,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }

  .hamburger-toggle:checked ~ .nav-links {
    max-height: 600px;
  }

  .nav-links > li > a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
  }
  .nav-links > li > a::after { display: none; }

  .nav-links .dropdown {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.03);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }

  .nav-links > li:hover .dropdown {
    transform: none;
    max-height: 200px;
  }

  .nav-links .dropdown li a {
    color: #94b8d6;
    padding: 10px 36px;
    font-size: 13px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }
  .nav-links .dropdown li a:hover {
    background: rgba(0,180,216,0.08);
    color: var(--teal-light);
    padding-left: 44px;
  }

  /* Hamburger animation when checked */
  .hamburger-toggle:checked ~ .nav-inner .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-toggle:checked ~ .nav-inner .hamburger-label span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-toggle:checked ~ .nav-inner .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-content { padding: 48px 0 100px; }
  .hero-cta-secondary { display: none; }
  .hero-stats { position: static; }
  .stat-item { min-width: 50%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }

  /* Page inner */
  .page-inner { padding: 24px 20px; }
  .page-inner h2 { font-size: 22px; }

  /* Table overflow */
  .data-table { display: block; overflow-x: auto; }

  .top-bar { display: none; }
}

/* =====================================================
   Upcoming Events Page
   ===================================================== */
.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.event-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.event-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(0,180,216,0.15);
  transform: translateY(-6px);
}

.event-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.event-theme {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 20px 0;
  padding: 16px 18px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}

.event-theme strong {
  color: var(--navy);
}

.event-details {
  margin-bottom: 20px;
}

.event-details p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 10px 0;
}

.event-details p strong {
  color: var(--navy);
  min-width: 70px;
  display: inline-block;
}

.event-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.event-card-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid)) !important;
  color: var(--white) !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10,35,66,0.3);
  border: 2px solid transparent !important;
}

.event-card-btn:hover {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)) !important;
  border-color: var(--teal) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.45);
  color: var(--white) !important;
}

@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =====================================================
   News Article Page
   ===================================================== */
.news-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 56px;
  border: 1px solid var(--gray-200);
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
}

.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.article-date {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.article-body p {
  margin: 0 0 24px 0;
  text-align: justify;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-author {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.article-author strong {
  color: var(--navy);
  font-style: normal;
}

.thematic-list {
  list-style: none;
  padding: 0 0 24px 0;
  margin: 24px 0;
}

.thematic-list li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  text-align: justify;
}

.thematic-list li::before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 8px;
  font-size: 18px;
  line-height: 1;
}

.thematic-list li strong {
  color: var(--navy);
}

.thematic-numbered-list {
  list-style: none;
  padding: 0 0 24px 0;
  margin: 24px 0;
  counter-reset: thematic-counter;
}

.thematic-numbered-list li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 36px;
  position: relative;
  text-align: justify;
  counter-increment: thematic-counter;
}

.thematic-numbered-list li::before {
  content: counter(thematic-counter);
  color: var(--white);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  line-height: 1.6;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  text-align: center;
}

.thematic-numbered-list li strong {
  color: var(--navy);
}

.article-image {
  margin: 32px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.article-image img {
  max-width: 60%;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.image-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 12px;
  padding: 0 16px;
  max-width: 60%;
}

.article-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.article-back a {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  padding: 12px 24px;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
}

.article-back a:hover {
  background: var(--teal);
  color: var(--white);
}

@media (max-width: 768px) {
  .news-article {
    padding: 32px 24px;
  }

  .article-header h1 {
    font-size: 24px;
  }

  .article-body {
    font-size: 15px;
  }

  .article-body p {
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .article-image {
    margin: 24px 0;
  }

  .article-image img {
    max-width: 85%;
  }

  .image-caption {
    font-size: 12px;
  }
}

/* =====================================================
   Journal & Social Links
   ===================================================== */
.journal-link {
  display: inline-block;
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: var(--transition);
}
.journal-link:hover {
  background: var(--teal);
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--navy);
  color: var(--white);
}
.social-link:hover .social-icon {
  color: var(--teal-light);
}

.social-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

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

/* =====================================================
   Summer School Page Redesign
   ===================================================== */

/* Hero Section */
.summer-school-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.summer-school-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.summer-school-hero-content {
  position: relative;
  z-index: 1;
}

.summer-school-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.summer-school-hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-weight: 300;
}

/* Info Cards Grid */
.summer-school-info-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.summer-school-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.summer-school-info-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--teal);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 4px;
}

.info-list li strong {
  color: var(--navy);
  min-width: 140px;
  display: inline-block;
}

.info-list-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.summer-school-info-card.image-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.summer-school-info-card.image-card:hover {
  box-shadow: none;
  border-color: transparent;
}

.image-card img {
  max-width: 100%;
  max-height: 300px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Section Title */
.section-title-with-line {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--teal);
  display: inline-block;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.highlight-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.highlight-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px 0;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
  text-align: justify;
}

/* Past Schools Grid */
.past-schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.past-school-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  transition: var(--transition);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.past-school-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.past-school-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.past-school-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  align-self: flex-start;
}

.past-school-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 16px 0;
  min-height: 50px;
}

.past-school-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
  flex-shrink: 0;
}

.past-school-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.past-school-stats span {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: var(--radius);
}

.past-school-link {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.past-school-link:hover {
  color: var(--navy);
}

/* =====================================================
   Past Event Detail Pages
   ===================================================== */
.past-event-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 40px;
  text-align: center;
}

.past-event-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px 0;
}

.event-year {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.past-event-content {
  max-width: 900px;
  margin: 0 auto;
}

.event-section {
  margin-bottom: 40px;
}

.event-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.theme-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
  padding: 20px 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

.event-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0 0 16px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.stat-box {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-gallery {
  margin-top: 20px;
  text-align: center;
}

.event-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.gallery-image-main {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gallery-image-sub-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-image-sub {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gallery-image {
  max-width: 70%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

.gallery-image-row {
  display: flex;
  gap: 0;
  margin-top: 8px;
  justify-content: center;
}

.gallery-image-small {
  flex: 1;
  max-width: 45%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

.external-link-text {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.external-link-text:hover {
  color: var(--navy);
}

.back-to-summer-school {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.back-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  padding: 12px 24px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.back-link:hover {
  background: var(--navy);
  color: var(--white);
}

/* =====================================================
   International Workshop Page
   ===================================================== */
.workshop-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.workshop-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.workshop-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240,165,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.workshop-hero-content {
  position: relative;
  z-index: 1;
}

.workshop-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.workshop-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.workshop-intro {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
  text-align: justify;
}

.workshop-section {
  margin-bottom: 40px;
}

.workshops-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.workshop-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.workshop-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.workshop-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.workshop-year-badge {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  min-width: 80px;
  text-align: center;
}

.workshop-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.workshop-card-body {
  padding: 32px;
}

.workshop-detail {
  margin-bottom: 20px;
}

.workshop-detail:last-of-type {
  margin-bottom: 16px;
}

.detail-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.detail-value {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.workshop-stats {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
}

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

.stat-item .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-item .stat-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.workshop-gallery {
  margin-top: 24px;
}

.workshop-gallery-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

@media (max-width: 768px) {
  .workshop-hero {
    padding: 40px 24px;
  }

  .workshop-hero h1 {
    font-size: 28px;
  }

  .workshop-hero-subtitle {
    font-size: 16px;
  }

  .workshop-intro {
    padding: 24px;
  }

  .intro-text {
    font-size: 15px;
  }

  .workshop-card-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .workshop-card-body {
    padding: 24px;
  }

  .workshop-stats {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .past-event-hero {
    padding: 32px 24px;
  }

  .past-event-hero h1 {
    font-size: 32px;
  }

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

/* =====================================================
   International Workshop Page - New Design
   ===================================================== */
.workshop-hero-new {
  background: linear-gradient(135deg, #0a2342 0%, #0d3160 50%, #1a4a7a 100%);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.workshop-hero-new::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.workshop-hero-new::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, 20px) rotate(180deg); }
}

.workshop-hero-content-new {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.workshop-hero-new h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.workshop-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 300;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Intro Section */
.workshop-intro-new {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 56px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.intro-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.intro-text-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px 0;
}

.intro-text-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
  text-align: justify;
}

/* Workshop Section */
.workshop-section-new {
  margin-bottom: 40px;
}

.section-title-centered {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 0 0 48px 0;
  position: relative;
  display: block;
}

.section-title-centered::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  margin: 16px auto 0;
  border-radius: 2px;
}

.workshops-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.workshop-card-new {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.workshop-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.workshop-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.workshop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-card-new:hover .workshop-card-img {
  transform: scale(1.05);
}

.year-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.workshop-card-content {
  padding: 28px;
}

.workshop-card-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.workshop-theme {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.workshop-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
}

.workshop-stats-new {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.stat-box-new {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* Responsive */
@media (max-width: 1024px) {
  .workshops-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .workshop-hero-new {
    padding: 48px 24px;
  }

  .workshop-hero-new h1 {
    font-size: 32px;
  }

  .workshop-hero-subtitle {
    font-size: 16px;
  }

  .workshop-intro-new {
    flex-direction: column;
    padding: 32px 24px;
  }

  .intro-icon {
    width: 56px;
    height: 56px;
  }

  .intro-icon svg {
    width: 28px;
    height: 28px;
  }

  .workshops-grid-new {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title-centered {
    font-size: 28px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .summer-school-info-grid,
  .highlights-grid,
  .past-schools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .summer-school-hero {
    padding: 32px 24px;
  }

  .summer-school-hero h1 {
    font-size: 28px;
  }
}

.journal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 16px;
}

.summer-school-info {
  background: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.summer-school-info p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.summer-school-info p:first-child {
  margin-top: 0;
}

.summer-school-info p:last-child {
  margin-bottom: 0;
}

.summer-school-org {
  padding: 16px 0;
  margin-bottom: 24px;
}

.summer-school-org p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.summer-school-org p:first-child {
  margin-top: 0;
}

.summer-school-org p:last-child {
  margin-bottom: 0;
}

.event-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 24px;
}

.contact-box {
  background: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}

.contact-box h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--navy);
}

.contact-box p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

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

.content-section {
  margin-bottom: 32px;
}

.content-section h3 {
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal);
}

.content-section p {
  text-align: justify;
  line-height: 1.7;
}

.org-info {
  padding: 16px 0;
}

.org-info p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.org-info p:first-child {
  margin-top: 0;
}

.org-info p:last-child {
  margin-bottom: 0;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.topic-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}

.topic-list li::before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 8px;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.agenda-list li {
  padding: 12px 0;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.agenda-list li:last-child {
  margin-bottom: 0;
}

.agenda-list li strong {
  color: var(--navy);
}

.instructors-intro {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.instructors-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.instructor-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.instructor-photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 200px;
}

.instructor-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 12px;
}

.instructor-photo-wrapper h4 {
  color: var(--navy);
  font-size: 16px;
  text-align: center;
  margin: 0;
  font-weight: 600;
}

.instructor-info {
  flex: 1;
}

.instructor-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
  text-align: justify;
}

.registration-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.fee-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.fee-list li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.fee-list li:last-child {
  margin-bottom: 0;
}

.fee-list li strong {
  color: var(--navy);
}

.fee-note {
  font-size: 13px;
  color: var(--text-muted);
}

.registration-links {
  margin: 24px 0;
}

.reg-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

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

.reg-link-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  min-width: 160px;
  padding-top: 12px;
}

.reg-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  min-width: 200px;
  justify-content: center;
}

.reg-link-btn:hover {
  background: var(--teal);
  color: var(--white);
}

.reg-link-btn.primary {
  background: var(--teal);
  color: var(--white);
}

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

.link-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.note-box {
  background: var(--gray-100);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 20px;
}

.note-box h4 {
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
}

.note-box ol {
  margin: 0;
  padding-left: 20px;
}

.note-box li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text-body);
}

.note-box li:last-child {
  margin-bottom: 0;
}

.content-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.content-link:hover {
  color: var(--navy);
}

.deadline-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

.contact-simple {
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  max-width: 500px;
}

.contact-simple p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-simple p:first-child {
  margin-top: 0;
}

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

.contact-simple a {
  color: var(--teal);
  text-decoration: none;
}

.contact-simple a:hover {
  text-decoration: underline;
}

/* =====================================================
   Workshop Page Styles
   ===================================================== */
.workshop-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--teal);
}

.workshop-header h1 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.workshop-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.workshop-theme {
  font-size: 22px;
  color: var(--text-body);
}

.workshop-theme strong {
  color: var(--navy);
}

.workshop-info {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

.workshop-info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.workshop-info strong {
  color: var(--navy);
  margin-right: 8px;
}

.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.organizer-block {
  background: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

.organizer-block h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}

.org-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.org-list li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-200);
}

.org-list li:last-child {
  border-bottom: none;
}

/* =====================================================
   Organizers Clean Design
   ===================================================== */
.organizers-clean {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  padding: 28px 32px;
  margin: 20px 0;
}

.organizer-item {
  margin-bottom: 8px;
}

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

.organizer-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 6px 16px;
  border-radius: 16px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.organizer-label:first-letter {
  font-size: 14px;
}

.organizer-clean-list {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0;
}

.organizer-clean-list li {
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  position: relative;
  padding-left: 20px;
}

.organizer-clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.organizer-clean-list li em {
  color: var(--text-body);
  font-style: italic;
  font-weight: 500;
}

.organizer-divider {
  height: 1px;
  background: linear-gradient(to right, var(--gray-200), transparent);
  margin: 20px 0;
  border: none;
}

.committee-section {
  padding: 20px 0;
}

.committee-section:last-child {
  margin-bottom: 0;
}

.committee-section h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
}

.committee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.committee-list li {
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-200);
}

.committee-list li:last-child {
  border-bottom: none;
}

.committee-list li strong {
  color: var(--navy);
  font-weight: 600;
}

.committee-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* =====================================================
   Keynote Speakers
   ===================================================== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.speaker-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
  padding: 24px;
  text-align: center;
  transition: none;
}

.speaker-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.speaker-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.speaker-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.speaker-card h4 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-align: center;
}

.speaker-affiliation {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px 0;
  line-height: 1.5;
  text-align: center;
}

.speaker-honors {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.speaker-honors li {
  font-size: 12px;
  color: var(--text-body);
  padding: 6px 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}

.speaker-honors li:last-child {
  border-bottom: none;
}

.speaker-honors li::before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  display: inline-block;
  width: 12px;
  margin-left: -8px;
}

/* =====================================================
   Submission & Important Dates
   ===================================================== */
.email-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover {
  text-decoration: underline;
}

.submission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.submission-item {
  background: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

.submission-item h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
}

.submission-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.submission-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.dates-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.date-item:hover {
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.date-badge {
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 110px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

.date-badge.early {
  background: var(--teal);
}

.date-badge.standard {
  background: var(--gold);
  color: var(--navy);
}

.date-badge.workshop {
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.date-content {
  flex: 1;
}

.date-content strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.date-content span {
  font-size: 14px;
  color: var(--text-body);
}

/* =====================================================
   Contact Us Simple
   ===================================================== */
.contact-simple-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  padding: 24px 28px;
  margin-top: 20px;
}

.contact-simple-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-simple-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-simple-item:first-child {
  padding-top: 0;
}

.contact-simple-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-simple-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.contact-simple-content {
  flex: 1;
}

.contact-simple-content h4 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-simple-content a {
  color: var(--teal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  word-break: break-all;
}

.contact-simple-content a:hover {
  text-decoration: underline;
}

.contact-simple-content p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
}

.contact-simple-content p strong {
  color: var(--navy);
  font-weight: 600;
}

.contact-affiliation-small {
  font-size: 12px;
  color: var(--text-muted);
}

.data-table tbody td a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.data-table tbody td a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.summer-school-thumb {
  max-width: 120px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
}

.event-header {
  margin-bottom: 24px;
}

.event-header-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.event-header-text {
  flex: 1;
}

.event-header-text h2 {
  margin-bottom: 8px;
}

.event-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 24px;
}

.event-header-image {
  flex-shrink: 0;
}

.event-banner {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
  object-fit: cover;
}

/* =====================================================
   Thematic Areas List
   ===================================================== */
.thematic-areas {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  counter-reset: thematic-counter;
}

.thematic-areas li {
  counter-increment: thematic-counter;
  padding: 16px 20px 16px 60px;
  margin-bottom: 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
}

.thematic-areas li::before {
  content: counter(thematic-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.thematic-areas li strong {
  color: var(--navy);
  font-weight: 600;
}

.thematic-areas li:last-child {
  margin-bottom: 0;
}

/* =====================================================
   News Article Page
   ===================================================== */
.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--teal);
}

.news-header h1 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-date {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.news-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.news-content p {
  margin-bottom: 20px;
}

.news-content h2,
.news-content h3 {
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
}

.news-content ul,
.news-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.news-content li {
  margin-bottom: 8px;
}

.news-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.news-back a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.news-back a:hover {
  color: var(--teal-dark);
}

.waiting-updates {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* =====================================================
   Member Benefits List
   ===================================================== */
.benefits-list {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.benefit-item-simple {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}

.benefit-item-simple:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.benefit-text h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 8px;
}

.benefit-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

@media (min-width: 768px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   Team Carousel
   ===================================================== */
.team-carousel-section {
  margin: 40px 0;
}

.team-carousel-section .section-title {
  text-align: center;
  margin-bottom: 32px;
}

.team-carousel {
  overflow: hidden;
  position: relative;
}

.team-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.team-member-card {
  flex: 0 0 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-member-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.team-member-card h4 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.team-member-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--teal);
  color: var(--white);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .team-member-card {
    flex: 0 0 240px;
  }
}

/* =====================================================
   Footer
   ===================================================== */
footer {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a7a 100%);
  color: #d0e3f0;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand .footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white) !important;
  display: block;
  margin-bottom: 12px;
}

.footer-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  margin-bottom: 16px;
}

.footer-brand .footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white) !important;
  margin: 0;
}

.footer-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-top: 0;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 10px;
  padding-left: 0;
}

.footer-grid ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-grid ul li a:hover {
  color: var(--teal-light);
}

.footer-grid address {
  font-style: normal;
  line-height: 1.7;
  color: var(--white);
  font-size: 14px;
}

.footer-grid address strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-grid address a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-grid address a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--white);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
