/* ==========================================================================
   43rd Arab-ACRAO Conference — King Saud University, Riyadh 2026
   Design System: Saudi Institutional Luxury (Navy, Green, White, Subtle Gold)
   Font: Cairo | Direction: RTL
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-navy-950: #030d1c;
  --color-navy-900: #071F41;
  --color-navy-800: #0d2a54;
  --color-navy-700: #143b73;
  --color-green-700: #196d57;
  --color-green-600: #218C70;
  --color-green-500: #2aa383;
  --color-green-100: #e6f6f1;
  --color-gold-600: #a7884d;
  --color-gold-500: #C5A56A;
  --color-gold-400: #dfc593;
  --color-gold-100: #faf6ee;
  
  /* Neutrals */
  --color-bg-light: #F8FAFC;
  --color-card-bg: #FFFFFF;
  --color-text-main: #0B1727;
  --color-text-muted: #4B5E76;
  --color-text-light: #7E90A6;
  --color-border-subtle: #E2E8F0;
  --color-border-card: #CBD5E1;

  /* Typography */
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(7, 31, 65, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 31, 65, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 31, 65, 0.12);
  --shadow-gold: 0 8px 30px rgba(197, 165, 106, 0.2);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-bg-light);
  line-height: 1.7;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 31, 65, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 165, 106, 0.25);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.header-brand-sub {
  color: var(--color-gold-400);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-green-600), var(--color-green-700));
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(33, 140, 112, 0.3);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(33, 140, 112, 0.45);
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-navy-950);
  overflow: hidden;
  padding: 4rem 1.5rem 5rem;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(0.9);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 31, 65, 0.82) 0%,
    rgba(7, 31, 65, 0.72) 40%,
    rgba(3, 13, 28, 0.95) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
  max-width: 320px;
  width: 100%;
}

.hero-conference-logo {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

.hero-patronage-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0.9rem 2.5rem;
  background: rgba(7, 31, 65, 0.65);
  border: 1px solid rgba(197, 165, 106, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-patronage-intro {
  color: var(--color-gold-400);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero-patronage-name {
  color: #FFFFFF;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.4;
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-main-title {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.hero-sub-theme {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 820px;
}

.hero-sub-theme span {
  color: var(--color-gold-400);
  font-weight: 700;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  color: #E2E8F0;
  font-size: 1.05rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-divider {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold-500);
  opacity: 0.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-green-600), var(--color-green-700));
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(33, 140, 112, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(33, 140, 112, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 2: Conference Information Band
   ========================================================================== */
.info-band-section {
  position: relative;
  z-index: 10;
  margin-top: -2rem;
  padding-bottom: 2rem;
}

.info-band-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.info-band-theme {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-800));
  color: #FFFFFF;
  padding: 1.25rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--color-gold-500);
}

.info-band-theme-label {
  font-size: 0.85rem;
  color: var(--color-gold-400);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-band-theme-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.info-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem;
  gap: 1rem;
}

.info-band-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-left: 1px solid var(--color-border-subtle);
}

.info-band-item:last-child {
  border-left: none;
}

.info-band-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-green-100);
  color: var(--color-green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-band-details {
  display: flex;
  flex-direction: column;
}

.info-band-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.info-band-value {
  font-size: 1.05rem;
  color: var(--color-navy-900);
  font-weight: 700;
  line-height: 1.3;
}

.info-band-subvalue {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section 3: Countdown Timer
   ========================================================================== */
.countdown-section {
  padding: 2.5rem 0;
  background: var(--color-bg-light);
}

.countdown-wrapper {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-950));
  border-radius: 20px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(197, 165, 106, 0.35);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 165, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-header {
  margin-bottom: 1.5rem;
}

.countdown-title {
  color: var(--color-gold-400);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.countdown-target {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
}

.countdown-units {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.countdown-card {
  min-width: 110px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 165, 106, 0.3);
  border-radius: 14px;
  padding: 1.1rem 0.85rem;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.countdown-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold-400);
  box-shadow: 0 6px 20px rgba(197, 165, 106, 0.15);
}

.countdown-number {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--color-gold-400);
  font-weight: 600;
}

.countdown-completed {
  color: var(--color-gold-400);
  font-size: 1.75rem;
  font-weight: 800;
  padding: 1rem;
}

/* ==========================================================================
   Section 4: Direct Action Cards (3 Items)
   ========================================================================== */
.action-cards-section {
  padding: 2.5rem 0 3.5rem;
}

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

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition-smooth);
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-400);
}

.action-card:hover::before {
  background: linear-gradient(90deg, var(--color-green-600), var(--color-gold-500));
}

.action-card-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-800));
  color: var(--color-gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(197, 165, 106, 0.35);
  box-shadow: 0 8px 20px rgba(7, 31, 65, 0.15);
  transition: var(--transition-smooth);
}

.action-card:hover .action-card-icon-box {
  background: linear-gradient(135deg, var(--color-green-700), var(--color-green-600));
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.05);
}

.action-card-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.action-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-green-600);
  transition: var(--transition-fast);
}

.action-card:hover .action-card-arrow {
  color: var(--color-gold-600);
  transform: translateX(-4px);
}

/* ==========================================================================
   Section 5: Silent Landscape Image Slider (3 original banners)
   ========================================================================== */
.slider-section {
  padding: 1.5rem 0 3.5rem;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  background: #0B1727;
  /* Aspect ratio 1600 / 477 = ~3.354 */
  aspect-ratio: 1600 / 477;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease-in-out, visibility 0.75s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 31, 65, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(6px);
}

.slider-arrow-btn:hover {
  background: var(--color-navy-900);
  border-color: var(--color-gold-400);
  color: var(--color-gold-400);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-btn.prev {
  right: 1.25rem;
}

.slider-arrow-btn.next {
  left: 1.25rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(7, 31, 65, 0.65);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.slider-dot.active {
  width: 26px;
  border-radius: 9999px;
  background: var(--color-gold-400);
  box-shadow: 0 0 10px rgba(197, 165, 106, 0.5);
}

/* ==========================================================================
   Section 6: About Conference Excerpt
   ========================================================================== */
.about-section {
  padding: 3.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.about-card {
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  border: 1px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-label-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-green-600);
  background: var(--color-green-100);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
}

.about-lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-navy-900);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-expanded-content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--color-border-card);
  animation: fadeIn 0.4s ease;
}

.about-expanded-paragraph {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-green-600);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.btn-read-more:hover {
  color: var(--color-navy-900);
}

/* ==========================================================================
   Section 7: Golden Jubilee Section («خمسون عامًا من الريادة»)
   ========================================================================== */
.jubilee-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-navy-900) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.jubilee-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 165, 106, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.jubilee-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.jubilee-logo-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jubilee-emblem {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(197, 165, 106, 0.3));
  transition: var(--transition-smooth);
}

.jubilee-emblem:hover {
  transform: scale(1.03);
}

.jubilee-content {
  display: flex;
  flex-direction: column;
}

.jubilee-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.jubilee-heading span {
  color: var(--color-gold-400);
}

.jubilee-subtitle {
  font-size: 1.15rem;
  color: #E2E8F0;
  font-weight: 500;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

.jubilee-timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 165, 106, 0.3);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.jubilee-timeline-item:hover,
.jubilee-timeline-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(197, 165, 106, 0.18);
}

.jubilee-timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold-400);
  margin-bottom: 0.5rem;
}

.jubilee-timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.jubilee-timeline-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.5;
}

/* ==========================================================================
   Section 8: Dignified Messages Modules (Dean & Secretary General)
   ========================================================================== */
.messages-section {
  padding: 5rem 0;
  background: var(--color-bg-light);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.messages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.message-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.message-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-400);
}

.message-person-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.message-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gold-400);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: #E2E8F0;
}

.message-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.message-person-meta {
  display: flex;
  flex-direction: column;
}

.message-person-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy-900);
  line-height: 1.3;
}

.message-person-role {
  font-size: 0.88rem;
  color: var(--color-green-600);
  font-weight: 600;
  margin-top: 0.25rem;
}

.message-excerpt {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-open-speech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-bg-light);
  color: var(--color-navy-900);
  border: 1px solid var(--color-border-card);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.btn-open-speech:hover {
  background: var(--color-navy-900);
  color: #FFFFFF;
  border-color: var(--color-navy-900);
}

/* Modal for Complete Messages */
.speech-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 13, 28, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.speech-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.speech-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--color-navy-900);
  color: #FFFFFF;
  border-bottom: 3px solid var(--color-gold-500);
}

.speech-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.btn-close-modal {
  color: #CBD5E1;
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
  line-height: 1;
}

.btn-close-modal:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.speech-modal-body {
  padding: 2rem;
  overflow-y: auto;
  color: var(--color-text-main);
  font-size: 1.05rem;
  line-height: 1.9;
}

.speech-modal-body p {
  margin-bottom: 1.25rem;
}

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

/* ==========================================================================
   Section 9: Signature Vertical Accordion Gallery (Conferences 39–42)
   ========================================================================== */
.gallery-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.accordion-gallery {
  display: flex;
  height: 520px;
  gap: 1rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.accordion-panel {
  flex: 1;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  box-shadow: var(--shadow-sm);
  background: var(--color-navy-950);
}

.accordion-gallery:hover .accordion-panel {
  flex: 0.75;
}

.accordion-gallery .accordion-panel:hover,
.accordion-panel.active {
  flex: 3.5 !important;
  box-shadow: var(--shadow-lg);
}

.accordion-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.accordion-panel:hover .accordion-image,
.accordion-panel.active .accordion-image {
  filter: brightness(0.95);
  transform: scale(1.03);
}

.accordion-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(0deg, rgba(7, 31, 65, 0.95) 0%, rgba(7, 31, 65, 0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
}

.accordion-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--color-gold-500);
  color: var(--color-navy-950);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.accordion-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.gallery-conclusion {
  margin-top: 2.5rem;
  text-align: center;
}

.gallery-conclusion-lead {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 0.25rem;
}

.gallery-conclusion-edition {
  display: inline-block;
  font-size: 1.05rem;
  color: var(--color-gold-600);
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section 10: YouTube Video Previews (Optimized / click-to-play)
   ========================================================================== */
.videos-section {
  padding: 4.5rem 0;
  background: var(--color-bg-light);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.video-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B1727;
  overflow: hidden;
}

.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.video-facade:hover .video-thumb {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.btn-video-play {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: var(--color-navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.video-facade:hover .btn-video-play {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
  color: #FFFFFF;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info-bar {
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-900);
  text-align: center;
  line-height: 1.5;
  width: 100%;
}

/* ==========================================================================
   Section 11: Location & Map Module
   ========================================================================== */
.location-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border-subtle);
}

.location-card {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-950));
  border-radius: 20px;
  padding: 3rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 165, 106, 0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.location-details {
  display: flex;
  flex-direction: column;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold-400);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.location-main-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.location-english-title {
  font-size: 1.1rem;
  color: var(--color-gold-400);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.location-facts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.location-fact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #E2E8F0;
}

.location-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-map-external {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: var(--color-navy-950);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(197, 165, 106, 0.3);
}

.btn-map-external:hover {
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-500));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 165, 106, 0.45);
}

.location-interactive-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.map-pin-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(33, 140, 112, 0.25);
  border: 2px solid var(--color-green-500);
  color: var(--color-gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.map-card-address {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.map-card-city {
  font-size: 0.92rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Section 12: Simple Institutional Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-950);
  color: #FFFFFF;
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--color-gold-500);
}

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

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-gold-400);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

/* ==========================================================================
   Animations & Responsive Styles
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Media Queries: Tablet & Below */
@media (max-width: 1024px) {
  .info-band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-band-item:nth-child(2) {
    border-left: none;
  }
  
  .jubilee-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .jubilee-timeline {
    grid-template-columns: 1fr;
  }
  
  .messages-grid {
    grid-template-columns: 1fr;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .location-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Media Queries: Mobile */
@media (max-width: 768px) {
  .header-brand-title {
    font-size: 0.88rem;
  }
  
  .header-brand-sub {
    font-size: 0.7rem;
  }
  
  .btn-header-cta {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
  }

  .hero-section {
    min-height: 75vh;
    padding: 3rem 1rem 4rem;
  }

  .hero-patronage-block {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    width: auto;
    max-width: 95%;
  }

  .hero-patronage-intro {
    font-size: 0.88rem;
  }

  .hero-patronage-name {
    font-size: 1.22rem;
  }
  
  .info-band-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .info-band-item {
    border-left: none;
    border-bottom: 1px solid var(--color-border-subtle);
    padding-bottom: 0.75rem;
  }
  
  .info-band-item:last-child {
    border-bottom: none;
  }
  
  .countdown-units {
    gap: 0.6rem;
  }
  
  .countdown-card {
    min-width: 75px;
    padding: 0.85rem 0.5rem;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  .action-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .accordion-gallery {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }
  
  .accordion-panel {
    height: 140px;
    flex: none !important;
  }
  
  .accordion-panel.active {
    height: 300px;
  }
  
  .accordion-text {
    white-space: normal;
    font-size: 1rem;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logos {
    justify-content: center;
  }
  
  .footer-nav {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}



/* ========================================================================
   Approved Desktop / Mobile-Only Refinements, October 2026
   The rules below apply ONLY at 768px and below. Desktop remains unchanged.
   ======================================================================== */
@media screen and (max-width: 768px) {
  /* Give narrow iPhone viewports real space instead of shrinking the page. */
  .container, .container-narrow, .container-wide {
    padding-inline: 0.9rem;
    min-width: 0;
  }

  /* The fixed header remains compact; the call-to-action stays on ONE line. */
  .site-header { width: 100%; }
  .header-inner {
    height: auto;
    min-height: 64px;
    gap: 0.55rem;
    padding-block: 0.45rem;
  }
  .header-brand {
    flex: 1 1 0%;
    min-width: 0;
    gap: 0.5rem;
  }
  .header-logo { height: 34px; width: auto; max-width: 46px; flex-shrink: 0; }
  .header-brand-text { min-width: 0; flex: 1 1 auto; }
  .header-brand-title {
    font-size: 0.78rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .header-brand-sub {
    font-size: 0.66rem;
    line-height: 1.4;
  }
  .header-actions { flex: 0 0 auto; min-width: 0; gap: 0; }
  .btn-header-cta {
    flex: 0 0 auto;
    gap: 0.25rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
    min-width: 0;
    border-radius: 999px;
  }
  .btn-header-cta span { white-space: nowrap; }
  .btn-header-cta svg { width: 13px; height: 13px; flex-shrink: 0; }

  /* The hero is allowed to grow naturally. */
  .hero-section { min-height: 0; padding: 2.1rem 0.9rem 3rem; }
  .hero-content { min-width: 0; }
  .hero-logo-wrapper { width: 100%; max-width: 140px; margin-bottom: 1.15rem; }
  .hero-conference-logo { max-height: none; width: 100%; }
  .hero-patronage-block {
    max-width: 100%;
    width: auto;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
  }
  .hero-patronage-intro { font-size: 0.87rem; line-height: 1.7; }
  .hero-patronage-name { font-size: 1.25rem; line-height: 1.5; margin-top: 0.12rem; }
  .hero-main-title {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    line-height: 1.47;
    margin-bottom: 0.9rem;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-sub-theme {
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }
  .hero-meta-strip { gap: 0.6rem 0.95rem; font-size: 0.82rem; margin-bottom: 1.25rem; }
  .hero-meta-item { gap: 0.3rem; }
  .hero-meta-item svg { width: 16px; height: 16px; flex-shrink: 0; }
  .hero-meta-divider { display: none; }
  .hero-buttons { gap: 0.7rem; }
  .btn-primary, .btn-secondary { font-size: 0.86rem; padding: 0.65rem 1.1rem; }

  /* Reduce empty space and allow conference facts to fit naturally. */
  .info-band-section { margin-top: -1.2rem; padding-bottom: 0.5rem; }
  .info-band-card { border-radius: 14px; }
  .info-band-theme { padding: 0.85rem 0.9rem; }
  .info-band-theme-text { font-size: 0.95rem; }
  .info-band-grid { padding: 0.7rem 0.9rem; gap: 0.3rem; }
  .info-band-item { min-width: 0; gap: 0.7rem; padding: 0.65rem 0.25rem; }
  .info-band-icon-wrap { width: 40px; height: 40px; }
  .info-band-value { font-size: 0.96rem; }
  .info-band-details { min-width: 0; }

  /* IMPORTANT: all FOUR units share one row on every phone width. */
  .countdown-section { padding: 1.65rem 0; }
  .countdown-wrapper { padding: 1.3rem 0.65rem 1.45rem; border-radius: 16px; }
  .countdown-header { margin-bottom: 1rem; }
  .countdown-title { font-size: 0.93rem; }
  .countdown-target { font-size: 0.89rem; line-height: 1.7; }
  .countdown-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    align-items: stretch;
    justify-content: initial;
  }
  .countdown-card {
    min-width: 0;
    width: 100%;
    padding: 0.85rem 0.15rem;
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .countdown-number {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 0.28rem;
  }
  .countdown-label { font-size: 0.7rem; line-height: 1.3; white-space: nowrap; }

  /* Three icon-based quick links, without large single-column cards. */
  .action-cards-section { padding: 1.35rem 0 2rem; }
  .action-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .action-card {
    min-width: 0;
    padding: 0.85rem 0.2rem;
    min-height: 117px;
    border-radius: 13px;
  }
  .action-card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 0.6rem;
  }
  .action-card-icon-box svg { width: 24px; height: 24px; }
  .action-card-label { font-size: 0.78rem; line-height: 1.6; margin: 0; }
  .action-card-arrow { display: none; }

  /* IMPORTANT: poster navigation is BELOW the image, never on top of text. */
  .slider-section { padding: 0.8rem 0 2.1rem; }
  .slider-container {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.35rem 0.7rem;
    background: #FFFFFF;
    padding-bottom: 0.65rem;
    border-radius: 13px;
  }
  .slider-track {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 477;
    position: relative;
    min-width: 0;
    overflow: hidden;
  }
  .slider-slide { inset: 0; width: 100%; height: 100%; }
  .slider-image { width: 100%; height: 100%; object-fit: contain; object-position: center; }
  .slider-arrow-btn,
  .slider-arrow-btn:hover {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 36px;
    height: 36px;
    box-shadow: none;
    background: var(--color-navy-900);
    border: none;
    color: #FFFFFF;
  }
  .slider-arrow-btn svg { width: 17px; height: 17px; }
  .slider-arrow-btn.prev { grid-row: 2; grid-column: 1; justify-self: end; right: auto; }
  .slider-arrow-btn.next { grid-row: 2; grid-column: 3; justify-self: start; left: auto; }
  .slider-dots {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    grid-row: 2;
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0.15rem;
    box-shadow: none;
    backdrop-filter: none;
  }
  .slider-dot { width: 10px; height: 10px; background: #B8C7D8; }
  .slider-dot.active {
    width: 24px;
    background: var(--color-green-600);
    box-shadow: none;
  }

  /* Keep the rest of the mobile page comfortable, not overly padded. */
  .about-section, .gallery-section, .videos-section,
  .location-section, .messages-section { padding-block: 2.5rem; }
  .about-card { padding: 1.35rem 1.1rem; border-radius: 15px; }
  .about-lead-text, .about-expanded-paragraph { font-size: 0.95rem; }
  .jubilee-section { padding-block: 2.75rem; }
  .jubilee-container { gap: 1.45rem; }
  .jubilee-emblem { max-width: 175px; }
  .jubilee-heading { font-size: 1.65rem; }
  .jubilee-subtitle { font-size: 0.98rem; margin-bottom: 1.25rem; }
  .jubilee-timeline { gap: 0.75rem; }
  .jubilee-timeline-item { padding: 1rem; }
  .section-title-wrap { margin-bottom: 1.5rem; }
  .section-title { font-size: 1.55rem; }
  .section-subtitle { font-size: 0.88rem; }
  .messages-grid { gap: 1.1rem; }
  .message-card { padding: 1.15rem; border-radius: 15px; }
  .message-person-header { gap: 0.8rem; }
  .message-avatar-wrap { width: 72px; height: 72px; }
  .message-person-meta { min-width: 0; }
  .message-person-name { font-size: 1.08rem; }
  .message-person-role { font-size: 0.81rem; line-height: 1.6; }
  .message-excerpt { font-size: 0.9rem; }
  .speech-modal-backdrop { padding: 0.7rem; }
  .speech-modal-box { max-height: 88dvh; border-radius: 15px; }
  .speech-modal-header { padding: 0.9rem 1rem; gap: 0.6rem; }
  .speech-modal-title { font-size: 1rem; }
  .speech-modal-body { padding: 1.1rem; font-size: 0.94rem; }
  .accordion-gallery .accordion-panel,
  .accordion-gallery .accordion-panel:hover,
  .accordion-gallery .accordion-panel.active {
    flex: 0 0 auto !important;
    min-width: 0;
  }
  .accordion-gallery .accordion-panel { height: 132px; transition: height 0.42s ease; }
  .accordion-gallery .accordion-panel.active { height: 280px; }
  .accordion-overlay { padding: 1rem 0.85rem; }
  .accordion-text { font-size: 0.86rem; }
  .gallery-conclusion { margin-top: 1.6rem; }
  .gallery-conclusion-lead { font-size: 1.15rem; }
  .gallery-conclusion-edition { font-size: 0.95rem; }
  .videos-grid { gap: 1rem; }
  .video-info-bar { padding: 0.85rem; }
  .video-info-title { font-size: 0.92rem; }
  .location-card { padding: 1.4rem; gap: 1.3rem; }
  .location-main-title { font-size: 1.55rem; }
  .location-english-title { font-size: 0.94rem; }
  .location-interactive-card { padding: 1.15rem; }
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-top { padding-bottom: 1.5rem; }
  .footer-nav { gap: 0.8rem 1.25rem; }
}

@media screen and (max-width: 360px) {
  .container, .container-narrow, .container-wide { padding-inline: 0.7rem; }
  .header-inner { gap: 0.4rem; }
  .header-logo { height: 29px; max-width: 39px; }
  .header-brand { gap: 0.4rem; }
  .header-brand-title { font-size: 0.67rem; }
  .header-brand-sub { display: none; }
  .btn-header-cta { font-size: 0.7rem; padding: 0.42rem 0.55rem; }
  .hero-main-title { font-size: 1.4rem; }
  .countdown-wrapper { padding-inline: 0.45rem; }
  .countdown-units { gap: 0.25rem; }
  .countdown-card { padding-inline: 0.08rem; }
  .countdown-number { font-size: 1.32rem; }
  .countdown-label { font-size: 0.64rem; }
  .action-cards-grid { gap: 0.35rem; }
  .action-card-label { font-size: 0.74rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Approved centered institutional footer */
.footer-top{justify-content:center}.footer-logos{width:100%;justify-content:center;direction:rtl;gap:clamp(1rem,3vw,3rem)}.footer-logo{height:clamp(58px,6vw,84px);max-width:190px}.footer-logo-ksu{max-width:215px}@media(max-width:600px){.footer-logos{gap:1.1rem}.footer-logo{height:52px;max-width:38vw}}

/* Approved October 18: modest logos aligned right in footer */
.footer-top{justify-content:flex-start!important}
.footer-logos{width:auto!important;justify-content:flex-start!important;direction:rtl;gap:clamp(12px,2vw,24px)!important;margin-inline-start:0;margin-inline-end:auto}
.footer-logo{height:43px!important;max-width:125px!important}
.footer-logo-ksu{max-width:140px!important}
@media(max-width:600px){.footer-logos{gap:12px!important}.footer-logo{height:34px!important;max-width:21vw!important}}
