/* ==========================================================================
   THE PALAEOBOTANICAL SOCIETY, LUCKNOW
   Official Academic Portal - Premium Light Soil & Sandstone Theme
   (Modeled after World-Class Academic & Royal Society Portals)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Lora:ital,wght@0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ========================================================================
     PREMIUM SCIENTIFIC & HISTORICAL ACADEMIC PALETTE
     Theme: Dark Forest Green (#143D32), Antique Gold (#B39555), Ivory White (#F7F6F0)
     Cards: #FFFFFF, Text: #24332D
     ======================================================================== */

  /* Core Base Colors (Direct Specification) */
  --primary: #143D32;
  /* Dark Forest Green */
  --primary-dark: #0D2821;
  --primary-hover: #1C5243;
  --primary-border: #A9D18E;

  --accent: #B39555;
  /* Antique Gold */
  --accent-dark: #8F743B;
  --accent-hover: #C7AA68;
  --accent-border: #DDCFA7;

  /* Theme Palette from Requested Swatch */
  --sage-theme: #A9D18E;
  --sage-theme-light: #F2F8ED;
  --sage-theme-subtle: #E3EFDA;
  --sage-theme-dark: #6E9B4F;

  /* Background Surfaces */
  --bg-page: #F7F6F0;
  /* Requested Ivory White */
  --bg-surface: #FFFFFF;
  /* Requested Pure White Card */
  --bg-subtle: #EDF4E8;
  /* Soft Sage-Tinted Cream for Alternating Sections */
  --bg-muted: #DEEAD5;
  /* Muted Sage Accent */
  --bg-warm-light: #F9FCF6;
  /* Softest Sage Ivory */
  --bg-terracotta-light: rgba(169, 209, 142, 0.22);
  /* Requested Sage Green Palette #A9D18E for Chips & Badges */
  --bg-gold-light: #F9F5EC;
  /* Pale Antique Gold Tint */

  /* Text & Contrast */
  --text-heading: #143D32;
  /* Dark Forest Green for Headings & Title */
  --text-body: #24332D;
  /* Requested Deep Botanical Charcoal */
  --text-muted: #4E6359;
  /* Muted Slate Green-Charcoal */
  --text-subtle: #7A9085;
  /* Weathered Slate Sage */

  /* Compatibility Mapping with stylesheet tokens */
  --terracotta-dark: #0D2821;
  --terracotta: #143D32;
  /* Primary Theme Color */
  --terracotta-hover: #1C5243;
  /* Vibrant Botanical Green */
  --terracotta-border: #A9D18E;
  /* Requested Sage Green Border */

  --ochre-dark: #8F743B;
  --ochre: #B39555;
  /* Antique Gold Accent */
  --ochre-hover: #C7AA68;
  /* Bright Antique Gold */
  --ochre-border: #DDCFA7;

  /* Structural Borders */
  --border-light: #E2DDD2;
  /* Gentle Ivory Sand Divider */
  --border-medium: #CDC7B9;
  /* Card & Container Border */
  --border-strong: #B39555;
  /* Antique Gold Accent Line */

  /* Typography */
  --font-serif: 'Cinzel', 'Lora', Georgia, 'Times New Roman', serif;
  --font-heading: 'Lora', 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* Radii & Natural Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-subtle: 0 2px 8px rgba(20, 61, 50, 0.04);
  --shadow-card: 0 4px 18px rgba(20, 61, 50, 0.07);
  --shadow-hover: 0 12px 32px rgba(20, 61, 50, 0.12);
  --shadow-dropdown: 0 16px 36px rgba(20, 61, 50, 0.16);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-body);
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}

body.paleo-body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.68;
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.paleo-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.paleo-container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .paleo-container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Typography Classes */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

.italic-species {
  font-style: italic;
  font-weight: 500;
}

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

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

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

/* Academic Badges */
.academic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-terracotta-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  font-weight: 600;
}

.academic-badge.ochre {
  color: var(--accent-dark);
  background: var(--bg-gold-light);
  border-color: var(--accent-border);
}

/* Section Headings */
.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.3vw, 2.125rem); /* 30-34px */
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.section-title span.accent {
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 12px;
}

/* Section Container Styling */
.academic-section {
  padding: 36px 0 !important;
  position: relative;
}

.academic-section.bg-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   1. INSTITUTIONAL TOP BAR & GOVERNMENT/SOCIETY NOTICE
   ========================================================================== */
.institutional-topbar {
  background: #0D261F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #B4CCC2;
  padding: 8px 0;
}

.institutional-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-society-reg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.topbar-society-reg strong {
  color: var(--accent);
}

.topbar-meta-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-meta-links a {
  color: #CDE0D8;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-meta-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   2. INSTITUTIONAL MASTHEAD & NAVIGATION BAR (UNIFIED STICKY & TRANSLUCENT)
   ========================================================================== */
.site-header-sticky-wrap {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.site-header-sticky-wrap.scrolled {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.20) !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.institutional-masthead {
  background: #A9D18E !important;
  /* Requested Sage Green Palette #A9D18E */
  border-bottom: 1px solid rgba(20, 61, 50, 0.18);
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(20, 61, 50, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.site-header-sticky-wrap.scrolled .institutional-masthead {
  background: rgba(169, 209, 142, 0.96) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(20, 61, 50, 0.22);
  pointer-events: auto !important;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: gap 0.3s ease;
}

.masthead-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.masthead-logo {
  height: 84px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: height 0.3s ease, transform 0.25s ease;
}

.masthead-branding:hover .masthead-logo {
  transform: scale(1.03);
}

.site-header-sticky-wrap.scrolled .masthead-logo {
  height: 48px;
  max-width: 65px;
}

.masthead-title-block {
  display: flex;
  flex-direction: column;
}

.masthead-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #0E2E24 !important;
  letter-spacing: 0.03em;
  line-height: 1.15;
  transition: font-size 0.3s ease;
}

.site-header-sticky-wrap.scrolled .masthead-title {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #0E2E24 !important;
}

.masthead-subtitle {
  font-size: 0.84rem;
  color: #143D32 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 3px;
  transition: all 0.3s ease;
}

.site-header-sticky-wrap.scrolled .masthead-subtitle {
  font-size: 0.74rem;
  color: #143D32 !important;
  margin-top: 1px;
}

.masthead-meta {
  display: block;
  font-size: 0.74rem;
  color: #1E4D3E !important;
  font-family: var(--font-sans);
  margin-top: 3px;
  letter-spacing: 0.01em;
  font-weight: 500;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}

.site-header-sticky-wrap.scrolled .masthead-meta {
  display: none;
}

.masthead-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.masthead-right-actions .btn-terracotta,
.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-terracotta {
  background: #143D32 !important;
  color: #ffffff !important;
  border-color: #143D32 !important;
}

.masthead-right-actions .btn-terracotta:hover,
.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-terracotta:hover {
  background: #0A221B !important;
  color: #ffffff !important;
}

.masthead-right-actions .btn-terracotta i,
.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-terracotta i {
  color: #A9D18E !important;
}

.masthead-right-actions .btn-outline-soil,
.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-outline-soil {
  background: rgba(255, 255, 255, 0.75) !important;
  color: #143D32 !important;
  border: 1.5px solid #143D32 !important;
  font-weight: 600 !important;
}

.masthead-right-actions .btn-outline-soil:hover,
.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-outline-soil:hover {
  background: #143D32 !important;
  color: #ffffff !important;
}

.site-header-sticky-wrap.scrolled .masthead-right-actions .btn-academic {
  padding: 6px 12px;
  font-size: 0.78rem;
}

/* Primary Academic Clean White Navigation Bar (Mockup Style) */
.academic-navbar {
  position: relative;
  z-index: 995;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(20, 61, 50, 0.06);
  border-bottom: 2px solid var(--border-light);
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header-sticky-wrap.scrolled .academic-navbar {
  background: rgba(16, 49, 40, 0.90) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16) !important;
  border-bottom: 1px solid rgba(179, 149, 85, 0.35) !important;
  pointer-events: auto !important;
}

.site-header-sticky-wrap.scrolled .academic-navbar .nav-menu,
.site-header-sticky-wrap.scrolled .academic-navbar .nav-item,
.site-header-sticky-wrap.scrolled .academic-navbar .nav-link {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.site-header-sticky-wrap.scrolled .nav-link:not(.highlight) {
  font-family: var(--font-sans);
  font-size: 0.9rem; /* ~14.5px */
  font-weight: 600;
  color: #FAF8F5 !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.site-header-sticky-wrap.scrolled .nav-link:not(.highlight):hover,
.site-header-sticky-wrap.scrolled .nav-link:not(.highlight).active {
  background: rgba(179, 149, 85, 0.22) !important;
  color: #B39555 !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(179, 149, 85, 0.10);
  color: var(--accent);
}

.nav-link.highlight,
.site-header-sticky-wrap.scrolled .nav-link.highlight {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-radius: var(--radius-xs);
  padding: 8px 14px !important;
  box-shadow: 0 2px 6px rgba(20, 61, 50, 0.25);
  font-weight: 700 !important;
}

.nav-link.highlight i,
.site-header-sticky-wrap.scrolled .nav-link.highlight i {
  color: #ffffff !important;
}

.nav-link.highlight:hover,
.site-header-sticky-wrap.scrolled .nav-link.highlight:hover {
  background: #0f2e26 !important;
  color: #B39555 !important;
}

.nav-link.highlight:hover i,
.site-header-sticky-wrap.scrolled .nav-link.highlight:hover i {
  color: #B39555 !important;
}

.nav-link i.arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.arrow {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menus */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 12px 30px rgba(45, 30, 20, 0.18);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Prevents hidden dropdown from blocking clicks on the hero slider */
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999999 !important;
  list-style: none;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.dropdown-open .nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  display: block !important;
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.86rem;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-dropdown li:last-child a {
  border-bottom: none;
}

.nav-dropdown li a:hover {
  background: var(--bg-warm-light);
  color: var(--terracotta);
  padding-left: 24px;
}

/* Mobile Toggler */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: #143D32 !important;
  border: 1px solid #143D32 !important;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(20, 61, 50, 0.25);
  z-index: 999999;
  pointer-events: auto;
}

.mobile-nav-toggle i {
  color: #B39555 !important;
  font-size: 1.05rem;
}

.mobile-nav-toggle span {
  color: #ffffff !important;
}

.site-header-sticky-wrap.scrolled .mobile-nav-toggle {
  background: #B39555 !important;
  border-color: #B39555 !important;
  color: #143D32 !important;
}

.site-header-sticky-wrap.scrolled .mobile-nav-toggle i,
.site-header-sticky-wrap.scrolled .mobile-nav-toggle span {
  color: #143D32 !important;
}

/* ==========================================================================
   OFF-CANVAS MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
.paleo-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 13, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.paleo-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.paleo-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 6px 0 28px rgba(45, 30, 20, 0.28);
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 24px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.paleo-mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Strictly hide mobile drawer on desktop */
@media (min-width: 901px) {

  .paleo-mobile-drawer,
  .paleo-drawer-backdrop {
    display: none !important;
  }
}

.paleo-mobile-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-medium);
  margin-bottom: 16px;
}

.paleo-mobile-drawer-close {
  background: var(--bg-warm-light);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-heading);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.paleo-mobile-drawer-close:hover {
  background: var(--terracotta);
  color: #ffffff;
  border-color: var(--terracotta);
}

.paleo-mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.paleo-mobile-nav>li {
  list-style: none;
}

.paleo-mobile-nav>li>a {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  min-height: 44px;
}

.paleo-mobile-nav>li>a:hover {
  background: var(--bg-warm-light);
  color: var(--terracotta);
}

/* Accordion Rows in Mobile Drawer */
.paleo-mobile-nav .has-submenu .drawer-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.paleo-mobile-nav .has-submenu .drawer-item-row a {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-heading);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  min-height: 44px;
}

.paleo-mobile-nav .has-submenu .drawer-item-row a:hover {
  background: var(--bg-warm-light);
  color: var(--terracotta);
}

.paleo-mobile-nav .has-submenu .drawer-submenu-toggle {
  background: var(--bg-warm-light);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 4px;
}

.paleo-mobile-nav .has-submenu.open .drawer-submenu-toggle {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.paleo-mobile-nav .has-submenu .drawer-submenu-toggle i {
  transition: transform 0.25s ease;
}

.paleo-mobile-nav .has-submenu.open .drawer-submenu-toggle i {
  transform: rotate(180deg);
}

.paleo-mobile-nav .sub-menu {
  display: none;
  list-style: none;
  padding-left: 14px;
  margin: 4px 0 8px 12px;
  border-left: 2px solid var(--terracotta-border);
  flex-direction: column;
  gap: 2px;
}

.paleo-mobile-nav .has-submenu.open .sub-menu {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.paleo-mobile-nav .sub-menu li {
  list-style: none;
}

.paleo-mobile-nav .sub-menu li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius-xs);
  min-height: 38px;
}

.paleo-mobile-nav .sub-menu li a:hover {
  color: var(--terracotta);
  background: var(--bg-warm-light);
  padding-left: 14px;
}

/* Buttons */
.btn-academic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-terracotta {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 3px 12px rgba(163, 62, 20, 0.25);
}

.btn-terracotta:hover {
  background: var(--terracotta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(163, 62, 20, 0.35);
}

/* Animated Blinking "NEW" Badge */
.badge-new-blink {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #E63946 !important;
  color: #FFFFFF !important;
  font-size: 0.60rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  margin-left: 6px !important;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.75) !important;
  animation: badgePulseBlink 1.2s infinite ease-in-out !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

@keyframes badgePulseBlink {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(230, 57, 70, 0.5);
  }
  50% {
    opacity: 0.2;
    transform: scale(0.90);
    box-shadow: 0 0 1px rgba(230, 57, 70, 0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.85);
  }
}

/* Full Button Blinking Animation */
.btn-workshop-blink,
.masthead-right-actions a.btn-academic.btn-workshop-blink {
  animation: fullWorkshopButtonBlink 1.1s infinite ease-in-out !important;
  position: relative !important;
  will-change: opacity, transform, box-shadow !important;
}

.btn-workshop-blink:hover,
.masthead-right-actions a.btn-academic.btn-workshop-blink:hover {
  opacity: 1 !important;
  transform: translateY(-2px) scale(1.02) !important;
  animation-play-state: paused !important;
}

@keyframes fullWorkshopButtonBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(20, 61, 50, 0.4), 0 0 0 0 rgba(230, 57, 70, 0.7);
  }
  50% {
    opacity: 0.22;
    transform: scale(0.95);
    box-shadow: 0 0 24px rgba(230, 57, 70, 0.95), 0 0 0 5px rgba(230, 57, 70, 0.4);
  }
}

.btn-ochre {
  background: var(--ochre);
  color: #fff;
  box-shadow: 0 3px 12px rgba(181, 116, 27, 0.25);
}

.btn-ochre:hover {
  background: var(--ochre-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-soil {
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
}

.btn-outline-soil:hover {
  background: var(--bg-warm-light);
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* ==========================================================================
   2b. LATEST NEWS & ANNOUNCEMENTS (CONTINUOUS ROLLING TICKER ABOVE HERO)
   ========================================================================== */
.news-ticker-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 25;
  overflow: hidden;
}

.news-ticker-inner {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 14px;
  padding: 0 16px;
}

.news-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #143D32;
  color: #B39555;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);
}

.news-ticker-badge i {
  color: #f7d287;
  font-size: 0.9rem;
}

.news-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent 0%, black 20px, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black 95%, transparent 100%);
}

.news-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
  will-change: transform;
}

.news-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #2b3b35;
}

.news-ticker-item .ticker-label {
  font-weight: 700;
  color: #143D32;
}

.news-ticker-item a {
  color: #2b3b35;
  text-decoration: none;
  transition: color 0.2s;
}

.news-ticker-item a:hover {
  color: var(--terracotta);
  text-decoration: underline;
}

.ticker-bullet {
  color: #B39555;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .news-ticker-inner {
    height: 40px;
    gap: 10px;
    padding: 0 10px;
  }
  .news-ticker-badge {
    padding: 4px 10px;
    font-size: 0.74rem;
    gap: 5px;
  }
  .news-ticker-item {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   3. EXECUTIVE HERO BANNER & CAROUSEL (REAL SOCIETY PHOTOGRAPHY)
   ========================================================================== */
.hero-slider-container {
  position: relative;
  clear: both;
  width: 100%;
  background: #0E2820;
  overflow: hidden;
  height: 520px;
  border-top: 1px solid var(--border-medium);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.96) contrast(1.04);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.20);
  /* Exactly 20% masking as requested */
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  color: #ffffff;
  padding: 0;
  margin-left: 0;
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 15, 10, 0.72);
  border: 1px solid rgba(235, 128, 72, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-headline {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 3.4vw, 3.125rem); /* 44-50px */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 14px 0;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-subheading {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem); /* 15-16px */
  color: #e5ece8;
  line-height: 1.55;
  margin: 0 0 22px 0;
  max-width: 820px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.slider-arrow-btn:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.slider-arrow-btn.prev {
  left: 24px;
}

.slider-arrow-btn.next {
  right: 24px;
}

.slider-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--terracotta);
  border-color: #fff;
  transform: scale(1.2);
}

/* Compact Bottom-Left Slide Overlay (Slide 3) */
.hero-slide-bottom-left {
  display: flex !important;
  align-items: flex-end !important;
}

.hero-container-bottom-left {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding-bottom: 40px !important;
}

.hero-content-compact-left {
  max-width: 580px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 8px !important;
}

.hero-actions-sm {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.hero-actions-sm .btn-academic {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

.hero-headline-sm {
  font-family: var(--font-hero) !important;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.22 !important;
  margin: 0 0 14px 0 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6) !important;
}

.hero-subheading-sm {
  font-family: var(--font-serif) !important;
  font-size: 0.85rem !important;
  line-height: 1.48 !important;
  margin: 0 0 14px 0 !important;
  color: #DDEBE5 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-badge-pill-sm {
  font-size: 0.64rem !important;
  padding: 3px 10px !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.08em !important;
  background: rgba(169, 209, 142, 0.22) !important;
  border: 1px solid #A9D18E !important;
  color: #A9D18E !important;
}

.hero-actions-sm {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.hero-actions-sm .btn-academic {
  padding: 7px 14px !important;
  font-size: 0.8rem !important;
}

/* ==========================================================================
   3. ACADEMIC CREDIBILITY STATISTICS BAND (DESKTOP & RESPONSIVE)
   ========================================================================== */
.academic-stats-band {
  background: #A9D18E !important;
  color: #143D32 !important;
  padding: 16px 0 !important; /* Sleek, compact height */
  border-top: 1px solid rgba(20, 61, 50, 0.22) !important;
  border-bottom: 1px solid rgba(20, 61, 50, 0.22) !important;
  position: relative;
  z-index: 5;
}

.academic-stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.academic-stats-band .stat-box {
  text-align: center;
  padding: 4px 18px;
  position: relative;
}

.academic-stats-band .stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(20, 61, 50, 0.22) !important;
}

.academic-stats-band .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: #143D32 !important; /* Deep Forest Green for clear contrast on Sage #A9D18E */
  line-height: 1.05;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.academic-stats-band .stat-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #1E4D3E !important;
  line-height: 1.25;
  font-weight: 600 !important;
}

.academic-stats-band .stat-label em {
  font-style: italic;
  color: #0D2821 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   3b. GEOPHYTOLOGY JOURNAL COMPACT HIGHLIGHT (DESKTOP & RESPONSIVE)
   ========================================================================== */
.geophytology-compact-frame {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  align-items: center;
  background: #A9D18E;
  border: 1px solid rgba(20, 61, 50, 0.28);
  border-radius: 10px;
  padding: 26px 30px;
  box-shadow: 0 8px 24px rgba(20, 61, 50, 0.12);
}

.geo-compact-cover {
  max-width: 175px;
  text-align: center;
}

.journal-cover-frame {
  position: relative;
  display: inline-block;
  background: #fcfbf9;
  border: 2px solid #143D32;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(20, 61, 50, 0.2);
}

.journal-cover-img {
  width: 100%;
  max-width: 154px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.journal-edition-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #143D32;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}

.geo-compact-content {
  flex: 1;
}

.geo-compact-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 16px !important;
  border-bottom: 1.5px solid rgba(20, 61, 50, 0.2);
  padding-bottom: 12px;
}

.geo-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  background: #143D32;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.geo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #0D2821;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.geo-meta-chips {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap;
}

.geo-chip {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 61, 50, 0.2);
  border-radius: 20px;
  font-size: 0.76rem;
  color: #143D32;
  padding: 4px 12px;
  font-weight: 600;
  white-space: nowrap;
}

.geo-papers-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.geo-paper-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 61, 50, 0.16);
  border-radius: 6px;
  padding: 10px 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(20, 61, 50, 0.04);
}

.geo-paper-row:hover {
  background: #ffffff;
  border-color: #143D32;
  box-shadow: 0 4px 12px rgba(20, 61, 50, 0.1);
  transform: translateY(-1px);
}

.geo-paper-info {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  flex: 1;
}

.geo-paper-icon {
  font-size: 1.15rem;
  color: #143D32;
  margin-top: 2px;
  flex-shrink: 0;
}

.geo-paper-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #0D2821;
  line-height: 1.35;
  margin: 0 0 2px 0;
}

.geo-paper-authors {
  font-size: 0.78rem;
  color: #1D5444;
  font-weight: 500;
  margin: 0;
}

.btn-paper-pdf {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  background: #143D32;
  border: 1px solid #143D32;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-paper-pdf:hover {
  background: #000000;
  color: #A9D18E;
  border-color: #000000;
}

.geo-compact-actions {
  display: flex !important;
  gap: 12px !important;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ==========================================================================
   4. FEATURED NATIONAL WORKSHOP 2026 CARD (CRITICAL NOTICE)
   ========================================================================== */
.workshop-banner-section {
  padding: 24px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.workshop-card-frame {
  background: linear-gradient(135deg, #FAFCF8 0%, #F1F7EC 100%);
  border: 2px solid #A9D18E;
  border-left: 6px solid #143D32;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: 0 8px 24px rgba(20, 61, 50, 0.08);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: center;
}

.workshop-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 6px;
}

.workshop-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.workshop-info-cell {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.workshop-info-cell i {
  color: var(--terracotta);
  font-size: 0.95rem;
}

.workshop-info-cell strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* Workshop Countdown Box (Compact Sandstone & Terracotta) */
.workshop-countdown-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.countdown-header-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.countdown-timer-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.countdown-timer-unit {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 6px 2px;
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 600;
}

/* ==========================================================================
   5. FOUNDER PROFILE & SOCIETY HERITAGE (PROF. BIRBAL SAHNI, F.R.S.) - COMPACT
   ========================================================================== */
.founder-section-compact {
  padding: 18px 0 !important;
}

/* ==========================================================================
   5. FOUNDER & SOCIETY HERITAGE (BALANCED ORIENTATION & ELEGANT ARCHIVAL FRAME)
   ========================================================================== */
.founder-section-compact {
  padding: 24px 0 !important;
}

.founder-heritage-grid {
  display: grid;
  grid-template-columns: 280px 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Unified Master Card for Society Heritage */
.founder-card-unified {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.founder-grid-balanced {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: stretch;
}

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

/* Archival Photo Card (Left Column) */
.founder-portrait-frame {
  background: #FAF8F5;
  border: 1px solid #EAE5DC;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.founder-carousel-container {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 4px;
  overflow: hidden;
  background: #14221C;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

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

.founder-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.founder-slide.active {
  opacity: 1;
  visibility: visible;
}

.founder-slide .founder-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  filter: contrast(1.05);
}

.founder-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 61, 50, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.founder-carousel-btn:hover {
  background: #143D32;
  border-color: #B39555;
  color: #B39555;
  transform: translateY(-50%) scale(1.1);
}

.founder-carousel-btn.prev {
  left: 8px;
}

.founder-carousel-btn.next {
  right: 8px;
}

.founder-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 9;
  background: rgba(14, 40, 32, 0.75);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.founder-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.founder-dot.active {
  background: #B39555;
  transform: scale(1.3);
}

.founder-counter-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(14, 40, 32, 0.85);
  color: #B39555;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  z-index: 10;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(179, 149, 85, 0.35);
}

.founder-meta-block {
  padding: 6px 0 0;
  text-align: center;
}

.founder-caption {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #143D32;
  line-height: 1.25;
  margin: 0 0 2px 0;
}

.founder-dates {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #7d6328;
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 8px;
  line-height: 1.45;
}

.founder-badges-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.founder-chip {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.founder-chip.gold {
  background: #fbf7ee;
  color: #7a5e18;
  border: 1px solid #dfc999;
}

.founder-chip.green {
  background: #edf5f1;
  color: #143D32;
  border: 1px solid #b7d6c6;
}

.founder-blurb {
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

/* Right Column: Tabbed Narrative */
.founder-right-col {
  display: flex;
  flex-direction: column;
}

.founder-narrative-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.society-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid #eae5dc;
  margin: 0 0 16px 0;
  flex-wrap: wrap;
}

.society-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: #666666;
  padding: 8px 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  border-radius: 4px 4px 0 0;
}

.society-tab-btn:hover {
  color: #143D32;
  background: rgba(20, 61, 50, 0.05);
}

.society-tab-btn.active {
  color: #143D32;
  font-weight: 700;
  background: rgba(20, 61, 50, 0.06);
}

.society-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #B39555;
  border-radius: 2px 2px 0 0;
}

.society-tab-pane {
  display: none;
}

.society-tab-pane.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.35s ease;
}

.society-pane-text {
  font-size: 0.92rem;
  color: #2b3b35;
  line-height: 1.65;
  margin: 0;
}

/* 4 Milestone Highlight Cards Grid */
.founder-milestones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 4px 0;
}

@media (max-width: 680px) {
  .founder-milestones-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.f-milestone-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FBF9F5;
  border: 1px solid #EDE8DE;
  border-radius: 6px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.f-milestone-box:hover {
  background: #ffffff;
  border-color: #B39555;
  box-shadow: 0 4px 14px rgba(20, 61, 50, 0.06);
  transform: translateY(-2px);
}

.f-milestone-icon {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(20, 61, 50, 0.08);
  color: #143D32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.f-milestone-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #143D32;
  line-height: 1.25;
}

.f-milestone-sub {
  display: block;
  font-size: 0.76rem;
  color: #666666;
  line-height: 1.35;
  margin-top: 3px;
}

.founder-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.founder-actions-row .btn-academic {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-academic.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}

.btn-academic.btn-primary:hover {
  background: #0f2e26;
  color: var(--accent);
}

.btn-academic.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-medium);
}

.btn-academic.btn-outline:hover {
  background: var(--sandstone-subtle);
  border-color: var(--primary);
}

/* Archival Video Box on Right */
.founder-video-box {
  background: #0d2821;
  border: 1px solid rgba(179, 149, 85, 0.35);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  background: #143d32;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-title-tag {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-badge-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #c9dbd4;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
}

.archival-video-element {
  width: 100%;
  height: 190px;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-footer-meta {
  padding: 8px 12px;
  background: #0d2821;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-desc {
  font-size: 0.74rem;
  color: #a2bbb2;
  line-height: 1.4;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   6. SCIENTIFIC PILLARS & RESEARCH DISCIPLINES
   ========================================================================== */
/* ==========================================================================
   10. RESEARCH DISCIPLINES / PILLARS (EXPANDED HEIGHT & HIGH-RES VISIBILITY)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.pillar-img-wrap {
  position: relative;
  width: 100%;
  height: 215px; /* Generous height for high-definition fossil visibility */
  overflow: hidden;
  background: #f4efe6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-img {
  transform: scale(1.06);
}

.pillar-img-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(20, 61, 50, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pillar-content {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pillar-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: rgba(20, 61, 50, 0.08);
  border: 1px solid rgba(20, 61, 50, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.28;
  margin: 0;
}

.pillar-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem; /* 15px for crisp, effortless readability */
  color: var(--text-body);
  line-height: 1.6;
  margin: 6px 0 0 0;
}

/* ==========================================================================
   10b. SOCIETY AWARDS & INTERNATIONAL MEDAL (DESKTOP & RESPONSIVE)
   ========================================================================== */
.medal-awards-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.medal-emblem-box {
  background: #faf8f4 !important;
  border: 1px solid #e7e2d8 !important;
  border-radius: 8px !important;
  padding: 24px 20px !important;
  text-align: center !important;
}

.medal-coin-visual {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(179, 149, 85, 0.35));
}

.medal-box-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #143D32;
  line-height: 1.3;
  margin-bottom: 6px;
}

.medal-box-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   11. INSTITUTIONAL SCIENTIFIC FOOTER
   ========================================================================== */
.institutional-footer {
  background: #A9D18E !important;
  /* Requested Sage Green Palette #A9D18E */
  color: #143D32 !important;
  padding: 56px 0 24px 0;
  border-top: 4px solid #143D32 !important;
}

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

.footer-branding-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 74px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.footer-brand-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: #0D261F !important;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.footer-brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #143D32 !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.footer-address-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 61, 50, 0.22);
  padding: 16px;
  border-radius: 6px;
}

.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #143D32 !important;
  line-height: 1.55;
}

.footer-address-item strong {
  color: #0D261F !important;
}

.footer-address-item i {
  color: #143D32 !important;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-link,
.footer-address-item a {
  color: #0D261F !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.footer-contact-link:hover,
.footer-address-item a:hover {
  color: #000000 !important;
}

.footer-reg-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #0D261F !important;
  background: rgba(20, 61, 50, 0.12) !important;
  border: 1px solid rgba(20, 61, 50, 0.30) !important;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 6px;
  line-height: 1.4;
  font-weight: 600;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0D261F !important;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #143D32 !important;
}

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

.footer-links-list li a {
  color: #18473B !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  color: #000000 !important;
  font-weight: 700;
  padding-left: 6px;
}

.footer-bottom-row {
  border-top: 1px solid rgba(20, 61, 50, 0.25) !important;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #1A473B !important;
  font-weight: 500;
}

/* Back-to-Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--terracotta);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 95;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.back-to-top-btn:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.academic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 13, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  padding: 20px;
}

.academic-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.academic-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.academic-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.academic-modal-close:hover {
  color: var(--terracotta);
}

.startup-workshop-card {
  max-width: 920px;
  padding: 16px;
  background: #0E2820;
  border: 2px solid #A9D18E;
  overflow: visible;
}

.startup-close-btn {
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #143D32;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.startup-close-btn:hover {
  background: #B84A27;
  color: #ffffff;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .startup-workshop-card {
    padding: 10px;
  }
  .startup-close-btn {
    top: -10px;
    right: -8px;
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (100% MOBILE FRIENDLY)
   Tested across 320px, 375px, 414px, 480px, 640px, 768px, 1024px & Desktop
   ========================================================================== */

/* Navbar Mobile Brand element (hidden on desktop) */
.navbar-mobile-brand {
  display: none;
}

@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-heritage-grid,
  .workshop-card-frame,
  .medal-awards-grid,
  .membership-callout-card {
    grid-template-columns: 1fr;
  }

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

/* Tablet & Mobile Navigation Breakpoint */
@media (max-width: 900px) {
  .institutional-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .topbar-meta-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .academic-navbar {
    padding: 8px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-medium) !important;
  }

  .navbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 16px !important;
  }

  .navbar-mobile-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: var(--font-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #143D32 !important;
    letter-spacing: 0.02em !important;
  }

  .navbar-mobile-brand i {
    color: #B39555 !important;
    font-size: 1.15rem !important;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: #143D32 !important;
    border: 1px solid #143D32 !important;
    border-radius: var(--radius-xs) !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(20, 61, 50, 0.25) !important;
    transition: var(--transition) !important;
  }

  .mobile-nav-toggle i {
    color: #B39555 !important;
    font-size: 1.05rem !important;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:active,
  .mobile-nav-toggle:focus {
    background: #0E2B23 !important;
    border-color: #B39555 !important;
    color: #ffffff !important;
  }

  .stats-grid,
  .academic-stats-band .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 8px !important;
  }

  .stat-box,
  .academic-stats-band .stat-box {
    padding: 6px 4px !important;
  }

  .stat-box:nth-child(2)::after,
  .stat-box::after,
  .academic-stats-band .stat-box::after {
    display: none !important;
  }
}

/* Standard Mobile & Phablet Breakpoint (<= 768px) */
@media (max-width: 768px) {
  .paleo-container {
    padding: 0 16px;
  }

  .paleo-container-fluid {
    padding: 0 16px;
  }

  /* Institutional Masthead */
  .institutional-masthead {
    padding: 12px 0;
  }

  .site-header-sticky-wrap.scrolled .institutional-masthead {
    padding: 6px 0;
  }

  .masthead-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .site-header-sticky-wrap.scrolled .masthead-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .masthead-branding {
    gap: 10px;
    align-items: center;
  }

  .masthead-logo {
    height: 74px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .site-header-sticky-wrap.scrolled .masthead-logo {
    height: 40px;
    max-width: 48px;
  }

  .masthead-title {
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
    line-height: 1.2;
  }

  .site-header-sticky-wrap.scrolled .masthead-title {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .masthead-subtitle {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .site-header-sticky-wrap.scrolled .masthead-subtitle {
    display: none;
  }

  .masthead-meta {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .site-header-sticky-wrap.scrolled .masthead-meta {
    display: none;
  }

  .masthead-right-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .site-header-sticky-wrap.scrolled .masthead-right-actions {
    display: none;
  }

  .masthead-right-actions .btn-academic {
    padding: 8px 8px;
    font-size: 0.76rem;
    justify-content: center;
    text-align: center;
  }

  /* Executive Hero Carousel */
  .hero-slider-container {
    height: 520px;
    border-top: none;
  }

  .hero-slide {
    padding: 24px 0 36px 0;
    align-items: center;
  }

  .hero-slide-content {
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-badge-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.06em;
  }

  .hero-headline {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .hero-subheading {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero-actions .btn-academic {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .slider-arrow-btn {
    display: none !important;
    /* Hide arrows on mobile to prevent blocking text */
  }

  .slider-indicators {
    bottom: 14px;
    gap: 8px;
  }

  .slider-dot {
    width: 14px;
    height: 14px;
  }

  /* Academic Sections Spacing */
  .academic-section {
    padding: 48px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem);
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-top: 8px;
  }

  .section-title-wrap {
    margin-bottom: 32px;
  }

  /* Workshop Banner */
  .workshop-banner-section {
    padding: 36px 0;
  }

  .workshop-card-frame {
    padding: 24px 18px;
    gap: 24px;
    border-radius: var(--radius-md);
  }

  .workshop-card-title {
    font-size: clamp(1.3rem, 4.8vw, 1.7rem);
    line-height: 1.25;
  }

  .workshop-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0;
  }

  .workshop-countdown-box {
    padding: 18px 14px;
  }

  .countdown-timer-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
  }

  .countdown-timer-unit {
    padding: 8px 2px;
  }

  .countdown-num {
    font-size: 1.35rem;
  }

  .countdown-lbl {
    font-size: 0.62rem;
  }

  .workshop-card-frame a.btn-academic {
    width: 100%;
    justify-content: center;
  }

  /* Founder Profile & Historical Heritage Section (100% Mobile Friendly) */
  .founder-card-unified {
    padding: 16px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .founder-grid-balanced,
  .founder-heritage-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 18px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  .founder-portrait-frame {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
  }

  .founder-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important;
    box-sizing: border-box !important;
  }

  .founder-slide .founder-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .founder-right-col {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .founder-narrative-card {
    padding: 4px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .society-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 12px 0 !important;
    border-bottom: 2px solid var(--border-light) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .society-tab-btn {
    flex: 1 1 calc(50% - 6px) !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    padding: 8px 6px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .society-tab-pane {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .society-pane-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
  }

  .founder-milestones-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .f-milestone-box {
    width: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  .founder-actions-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
  }

  .founder-actions-row .btn-academic {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
  }

  /* Scientific Pillars */
  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pillar-card {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pillar-img-wrap {
    height: 145px !important;
  }

  .pillar-title {
    font-size: 1.05rem !important;
  }

  .pillar-desc {
    font-size: 0.86rem !important;
  }

  /* Geophytology Compact Section Mobile (100% Mobile Friendly) */
  .geophytology-compact-frame {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 18px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .geo-compact-cover {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 12px auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .geo-compact-cover .journal-cover-frame {
    margin: 0 auto !important;
  }

  .geo-compact-content {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .geo-compact-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    border-bottom: 1px dashed #e2ded5 !important;
    padding-bottom: 12px !important;
    box-sizing: border-box !important;
  }

  .geo-meta-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .geo-paper-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
  }

  .geo-paper-link {
    width: 100% !important;
    word-break: break-word !important;
    font-size: 0.86rem !important;
    line-height: 1.4 !important;
  }

  .btn-paper-pdf {
    align-self: flex-start !important;
  }

  .geo-compact-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
  }

  .geo-compact-actions .btn-academic {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Awards & International Medal */
  .medal-awards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .medal-emblem-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 14px !important;
    box-sizing: border-box !important;
  }

  .medal-content-box {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .medal-coin-visual {
    width: 110px;
    height: 110px;
    font-size: 2.4rem;
  }

  #society-awards a.btn-academic {
    width: 100%;
    justify-content: center;
  }

  /* Photo Archives Gallery */
  .gallery-tab-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: none;
  }

  .gallery-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .gallery-nav-btn {
    display: none !important;
  }

  .gallery-card {
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
  }

  #society-gallery .btn-academic {
    width: 100%;
    justify-content: center;
  }

  /* Academic Statistics Band */
  .academic-stats-band {
    padding: 18px 0 !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 8px;
  }

  .stat-box {
    padding: 8px 4px;
  }

  .stat-box::after {
    display: none !important;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.76rem;
    margin-top: 4px;
  }

  /* Membership Callout */
  .membership-callout-card {
    padding: 24px 18px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: var(--radius-md);
  }

  .membership-callout-card h2 {
    font-size: 1.45rem;
  }

  .membership-callout-card a.btn-academic {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  /* Institutional Footer */
  .institutional-footer {
    padding: 44px 0 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-branding-wrap {
    gap: 12px;
  }

  .footer-logo-img {
    height: 64px;
  }

  .footer-brand-title {
    font-size: 1.05rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 0.76rem;
  }

  /* Modal Lightbox Mobile */
  .academic-modal-card {
    padding: 20px 16px;
    max-width: 95vw;
  }

  .academic-modal-close {
    top: 10px;
    right: 12px;
  }
}

/* Small Smart Phones (<= 640px) */
@media (max-width: 640px) {
  .institutional-topbar {
    display: none;
  }
}

/* Extra-Compact Smart Phones (<= 380px) */
@media (max-width: 380px) {
  .hero-slider-container {
    height: 560px;
  }

  .masthead-logo {
    height: 62px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .masthead-title {
    font-size: 0.95rem;
  }

  .countdown-num {
    font-size: 1.15rem;
  }

  .countdown-lbl {
    font-size: 0.55rem;
  }

  .stat-number {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   MOCKUP THEME SPECIFICATION STYLES (MATCHING USER PROTOTYPE)
   ========================================================================== */

/* Main Container for Mockup Flow */
.mockup-main-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 1. Mockup Hero Frame */
.mockup-hero-card {
  background: var(--primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 18px;
  margin-bottom: 18px;
}

.mockup-hero-photo-box {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #112620;
}

.mockup-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.mockup-hero-watermark {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(13, 38, 31, 0.65);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 3px;
}

.mockup-hero-meta-band {
  background: var(--primary);
  padding: 24px 28px;
  color: #ffffff;
}

.mockup-hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mockup-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.mockup-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mockup-btn-gold {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mockup-btn-gold:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.mockup-btn-outline {
  background: transparent;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mockup-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 2. Latest News & Announcements Bar */
.mockup-news-bar {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-subtle);
}

.mockup-news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-terracotta-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

.mockup-news-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.mockup-news-content::-webkit-scrollbar {
  display: none;
}

.mockup-news-content a {
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
}

.mockup-news-content a:hover {
  color: var(--accent);
}

.mockup-news-sep {
  color: var(--accent);
  opacity: 0.6;
}

/* 3. Four Minimal Stat Cards */
.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.mockup-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.mockup-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.mockup-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.mockup-stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 4. Dual Cards: Our Heritage & Official Research Journal */
.mockup-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.mockup-feature-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.mockup-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.mfc-thumb {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

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

.mfc-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mfc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 4px;
}

.mfc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.mfc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.mfc-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* 5. Research Areas (3 Cards) */
.mockup-section-wrap {
  margin-bottom: 24px;
}

.mockup-heading-centered {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.mockup-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mockup-area-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.mockup-area-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.mac-img-box {
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.mac-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mockup-area-card:hover .mac-img {
  transform: scale(1.06);
}

.mac-title {
  padding: 10px 8px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* 6. Accordion/Banner Highlight Bars */
.mockup-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.mockup-bar-item {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: var(--shadow-subtle);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.mockup-bar-item:hover {
  background: var(--bg-warm-light);
  border-left-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

.mockup-bar-item i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* 7. Become a Member Full-Width Banner */
.mockup-member-banner {
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
}

.mmb-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.mmb-sub {
  font-size: 0.9rem;
  color: #c9dbd4;
  margin-bottom: 16px;
}

.mmb-btn {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 24px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.mmb-btn:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive adjustments for Mockup */
@media (max-width: 900px) {
  .mockup-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mockup-dual-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mockup-areas-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mac-img-box {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .mockup-hero-photo-box {
    height: 240px;
  }

  .mockup-hero-meta-band {
    padding: 18px 16px;
  }

  .mockup-hero-heading {
    font-size: 1.25rem;
  }

  .mockup-news-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mockup-feature-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .mfc-thumb {
    width: 100%;
    height: 160px;
  }
}


/* 8. Continuous Past Event Scroll Section */
.mockup-activities-section {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 24px;
}

.mockup-section-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.mockup-activities-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-top: 2px;
}

.mockup-activities-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mockup-scroll-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-warm-light);
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mockup-scroll-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.mockup-view-all-pill {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-terracotta-light);
  border: 1px solid var(--primary-border);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mockup-view-all-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-slider-wrapper .gallery-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 12px;
  padding: 4px 2px 10px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-slider-wrapper .gallery-grid::-webkit-scrollbar {
  display: none;
}


/* 9. The Foundation & Legacy of Prof. Birbal Sahni (Section with Video) */
.mockup-heritage-section {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 24px;
}

.mockup-heritage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.mockup-heritage-content {
  display: flex;
  flex-direction: column;
}

.mockup-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-terracotta-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  align-self: flex-start;
}

.mockup-heritage-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.22;
  margin-bottom: 8px;
}

.mockup-heritage-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.mockup-founder-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg-warm-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.mockup-founder-img {
  width: 72px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  flex-shrink: 0;
}

.mockup-founder-meta {
  display: flex;
  flex-direction: column;
}

.mockup-founder-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}

.mockup-founder-dates {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin: 2px 0 4px;
}

.mockup-founder-bio {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
  margin: 0;
}

.mockup-heritage-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mockup-heritage-actions .btn-academic {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* Right Side Video Card */
.mockup-heritage-video-box {
  width: 100%;
}

.mockup-video-card {
  background: #0d2821;
  border: 1px solid rgba(179, 149, 85, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mockup-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #143d32;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-video-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mockup-video-runtime {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #c9dbd4;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
}

.mockup-video-player-wrap {
  position: relative;
  width: 100%;
  background: #000000;
  aspect-ratio: 4 / 3;
}

.mockup-video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.mockup-video-caption {
  padding: 12px 14px;
  background: #0d2821;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-video-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.mockup-video-desc {
  font-size: 0.76rem;
  color: #a2bbb2;
  line-height: 1.45;
  margin: 0;
}

/* Journal Spotlight below Heritage */
.mockup-journal-spotlight {
  margin-bottom: 24px;
}

.mockup-journal-spotlight .mockup-feature-card {
  width: 100%;
}

@media (max-width: 900px) {
  .mockup-heritage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* Compact Gallery Scroll Grid for Homepage */
.gallery-scroll-wrapper {
  position: relative;
  width: 100%;
}

.gallery-scroll-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 12px;
  padding: 4px 2px 10px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll-grid::-webkit-scrollbar {
  display: none;
}

.gallery-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.gallery-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.gallery-arrow-btn:hover {
  background: var(--terracotta);
  color: #ffffff;
  border-color: var(--terracotta);
}

/* ==========================================================================
   SOCIETY ACTIVITIES & CONFERENCES GALLERY (EXACT TO SCREENSHOT 3)
   ========================================================================== */
.gallery-category-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.gallery-cat-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #24332D;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-cat-btn:hover {
  background: var(--sandstone-subtle);
  border-color: var(--primary);
}

.gallery-cat-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-scroll-outer {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
  z-index: 10;
  transition: var(--transition);
}

.gallery-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-scroll-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 16px;
  padding: 6px 2px 14px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
}

.gallery-scroll-grid::-webkit-scrollbar {
  display: none;
}

.activity-card-exact {
  flex: 0 0 250px;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.activity-card-exact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.act-thumb-wrap {
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #f4efe6;
  position: relative;
}

.act-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  display: block;
  transition: transform 0.4s ease;
}

.activity-card-exact:hover .act-thumb-img {
  transform: scale(1.08);
}

.act-card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.act-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #7d6328;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.act-card-title {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.act-card-desc {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-scroll-track-line {
  width: 100%;
  height: 4px;
  background: #e2e0d8;
  border-radius: 2px;
  margin: 12px 0 22px;
  position: relative;
  overflow: hidden;
}

.gallery-scroll-thumb {
  height: 100%;
  width: 25%;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0;
  transition: left 0.1s ease;
}

.gallery-bottom-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.gallery-bottom-actions .btn-academic {
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
}


/* Membership Card Exact (Screenshot 4) */
.membership-callout-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .membership-callout-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
}

/* ==========================================================================
   INTERACTIVE PAGE ANIMATIONS & SCROLL REVEALS
   ========================================================================== */
.paleo-reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.paleo-reveal-item.paleo-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Floating animation on International Medal */
@keyframes medalFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.medal-coin-visual {
  animation: medalFloat 4.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.medal-coin-visual:hover {
  animation-play-state: paused;
  transform: scale(1.08) rotate(2deg);
}

/* Live Countdown Digit Pulse */
@keyframes countdownPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.countdown-num {
  animation: countdownPulse 2s ease-in-out infinite;
  display: inline-block;
}

/* Live workshop pulse dot */
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(184, 51, 42, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(184, 51, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 51, 42, 0); }
}

.academic-badge.live-pulse::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-right: 6px;
  animation: pulseDot 1.6s infinite ease-out;
}

/* Discipline Cards Lift and Zoom */
.pillar-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
}

.pillar-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 32px rgba(20, 61, 50, 0.12) !important;
  border-color: #B39555 !important;
}

.pillar-img-wrap {
  overflow: hidden;
}

.pillar-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pillar-card:hover .pillar-img {
  transform: scale(1.08) !important;
}

/* Journal Cover 3D Hover */
.journal-cover-frame {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
}

.journal-cover-frame:hover {
  transform: translateY(-8px) rotate(-1.5deg) scale(1.02) !important;
  box-shadow: 0 16px 32px rgba(20, 61, 50, 0.16) !important;
}

/* Geophytology Paper Rows Dynamic Hover */
.geo-paper-row {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.geo-paper-row:hover {
  transform: translateX(6px) !important;
  border-left: 3px solid #143D32 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

/* Shimmer Light Sweep on Primary Buttons */
.btn-academic.btn-primary,
.btn-academic.btn-terracotta {
  position: relative;
  overflow: hidden;
}

.btn-academic.btn-primary::after,
.btn-academic.btn-terracotta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.btn-academic.btn-primary:hover::after,
.btn-academic.btn-terracotta:hover::after {
  left: 140%;
}

/* Workshop Card Hover Glow */
.workshop-card-frame {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.workshop-card-frame:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(20, 61, 50, 0.08) !important;
  border-color: #B39555 !important;
}

/* Gallery Card Smooth Elevate */
.activity-card-exact {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.activity-card-exact:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
  border-color: #B39555 !important;
}

.act-thumb-wrap img {
  transition: transform 0.5s ease;
}

.activity-card-exact:hover .act-thumb-wrap img {
  transform: scale(1.06);
}

/* Smooth Hero Slide Zoom */
.hero-slide-bg {
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.05) !important;
}

/* Full Poster / Flyer Slide (No Cropping, Clean Dark Forest Backdrop) */
.hero-slide-banner .hero-slide-bg {
  object-fit: contain !important;
  background: #0E2820;
  filter: none !important;
  transition: none !important;
}

.hero-slide-banner.active .hero-slide-bg {
  transform: none !important;
}

.hero-slide-banner .hero-slide-overlay {
  background: transparent !important;
}

/* ==========================================================================
   ARCHIVAL FILM & VIDEO RECORDER THEATER
   ========================================================================== */
.founder-archival-video-card {
  background: #A9D18E !important;
  border: 1px solid rgba(20, 61, 50, 0.3) !important;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 61, 50, 0.12);
  margin-top: 24px;
}

.video-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #A9D18E !important;
  border-bottom: 1px solid rgba(20, 61, 50, 0.22) !important;
  gap: 12px;
  flex-wrap: wrap;
}

.video-card-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.video-rec-dot {
  width: 9px;
  height: 9px;
  background: #e74c3c;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #e74c3c;
  animation: pulseRecDot 1.8s infinite;
}

@keyframes pulseRecDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.video-badge-gold {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff !important;
  background: #143D32 !important;
  border: 1px solid #143D32 !important;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.video-title-main {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700 !important;
  color: #143D32 !important;
  letter-spacing: 0.01em;
}

.video-card-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-quality-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #143D32 !important;
  background: rgba(20, 61, 50, 0.12) !important;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid rgba(20, 61, 50, 0.22) !important;
  font-weight: 600 !important;
}

.archival-video-body-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  background: #A9D18E !important;
  min-height: 380px;
}

@media (max-width: 991px) {
  .archival-video-body-grid {
    grid-template-columns: 1fr;
  }
}

/* Left: Main Video Player */
.archival-player-main {
  display: flex;
  flex-direction: column;
  background: #000000;
}

.archival-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archival-video-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  display: block;
}

.archival-player-meta {
  padding: 12px 18px;
  background: #A9D18E !important;
  border-top: 1px solid rgba(20, 61, 50, 0.22) !important;
}

.archival-playing-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #143D32 !important;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.archival-playing-badge span {
  color: #0D2821 !important;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700 !important;
}

.archival-playing-desc {
  font-size: 0.78rem;
  color: #1E4D3E !important;
  line-height: 1.45;
  margin: 0;
  font-weight: 500 !important;
}

/* Right: Playlist */
.archival-playlist-col {
  background: #A9D18E !important;
  border-left: 1px solid rgba(20, 61, 50, 0.22) !important;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .archival-playlist-col {
    border-left: none;
    border-top: 1px solid rgba(20, 61, 50, 0.22) !important;
  }
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(20, 61, 50, 0.12) !important;
  border-bottom: 1px solid rgba(20, 61, 50, 0.22) !important;
}

.playlist-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800 !important;
  color: #143D32 !important;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.playlist-count {
  font-size: 0.72rem;
  color: #1E4D3E !important;
  font-weight: 600 !important;
}

.archival-playlist-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 8px;
  overflow-y: auto;
  max-height: 380px;
}

.archival-playlist-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(20, 61, 50, 0.2) !important;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.archival-playlist-item:hover {
  background: #ffffff !important;
  border-color: #143D32 !important;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(20, 61, 50, 0.1) !important;
}

.archival-playlist-item.active {
  background: #ffffff !important;
  border-color: #143D32 !important;
  box-shadow: inset 4px 0 0 #143D32, 0 4px 14px rgba(20, 61, 50, 0.12) !important;
}

.playlist-thumb-wrapper {
  position: relative;
  width: 94px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #000;
}

.playlist-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.archival-playlist-item:hover .playlist-thumb-img {
  transform: scale(1.08);
}

.playlist-duration-badge {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1.2;
}

.playlist-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.archival-playlist-item:hover .playlist-play-icon,
.archival-playlist-item.active .playlist-play-icon {
  opacity: 1;
}

.archival-playlist-item.active .playlist-play-icon {
  color: #143D32 !important;
}

.playlist-details {
  flex: 1;
  min-width: 0;
}

.playlist-item-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: #143D32 !important;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.playlist-item-name {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0D2821 !important;
  margin: 0 0 2px 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archival-playlist-item.active .playlist-item-name {
  color: #143D32 !important;
}

.playlist-item-sub {
  font-size: 0.72rem;
  color: #244E41 !important;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.playlist-footnote {
  padding: 8px 14px;
  font-size: 0.7rem;
  color: #1E4D3E !important;
  border-top: 1px solid rgba(20, 61, 50, 0.22) !important;
  background: rgba(20, 61, 50, 0.08) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 500 !important;
}

/* ==========================================================================
   HISTORIC ARCHIVAL MANUSCRIPT SPOTLIGHT CARD: PROF. BIRBAL SAHNI (1937)
   ========================================================================== */
.archival-manuscript-card {
  background: #ffffff;
  border: 1px solid #A9D18E;
  border-left: 6px solid #143D32;
  border-radius: var(--radius-md, 8px);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(20, 61, 50, 0.08);
  margin-top: 26px;
}

.archival-manuscript-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .archival-manuscript-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.manuscript-preview-wrap {
  display: flex;
  flex-direction: column;
}

.manuscript-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #d4cbb8;
  background: #faf8f5;
}

.manuscript-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(20, 61, 50, 0.90);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.manuscript-zoom-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.manuscript-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.manuscript-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 61, 50, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.manuscript-zoom-link:hover .manuscript-overlay {
  opacity: 1;
}

.manuscript-zoom-link:hover .manuscript-img {
  transform: scale(1.02);
}

.manuscript-zoom-btn {
  background: #143D32;
  color: #ffffff;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #A9D18E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.manuscript-caption {
  font-size: 0.76rem;
  color: var(--text-muted, #4E6359);
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}

.manuscript-details-wrap {
  display: flex;
  flex-direction: column;
}

.manuscript-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  color: var(--primary, #143D32);
  margin: 0 0 10px 0;
  line-height: 1.3;
  font-weight: 700;
}

.manuscript-intro {
  font-size: 0.88rem;
  color: var(--text-body, #24332D);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.manuscript-transcript-box {
  background: rgba(169, 209, 142, 0.16);
  border-left: 4px solid #A9D18E;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 0 0 16px 0;
}

.transcript-header {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: #143D32;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transcript-quote {
  font-family: var(--font-serif, Georgia, serif);
  font-style: italic;
  font-size: 0.94rem;
  color: #15382b;
  line-height: 1.65;
  margin: 0 0 10px 0;
  padding: 0;
  border: none;
}

.transcript-sign {
  font-size: 0.82rem;
  color: #143D32;
  text-align: right;
  font-weight: 600;
}

/* ==========================================================================
   NATIONAL WORKSHOP 2026 DETAILED PROGRAMME SCHEDULE (INDEX & WORKSHOP.PHP)
   ========================================================================== */
.ws-invitation-box {
  background: linear-gradient(135deg, #FAFCF8 0%, #F4F7F0 100%);
  border: 1px solid #C8DEC0;
  border-left: 4px solid #143D32;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 14px 0 18px 0;
}

.ws-highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px 0;
}

.ws-highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FAF8F5;
  border: 1px solid #DFD8C8;
  border-radius: 20px;
  padding: 6px 13px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #143D32;
}

.ws-highlight-chip i {
  color: #B39555;
}

.ws-home-programme-card {
  background: #ffffff;
  border: 1px solid #D5E2CD;
  border-radius: var(--radius-md, 8px);
  padding: 18px 22px;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(20, 61, 50, 0.05);
}

.ws-programme-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #EAE5DC;
}

.ws-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px 0;
  border-bottom: 2px solid #EAE5DC;
  padding-bottom: 12px;
}

.ws-tab-btn {
  background: #FAF8F5;
  border: 1px solid #DDD6C7;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #24332D;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ws-tab-btn:hover {
  border-color: #143D32;
  color: #143D32;
  background: #F1F7EC;
}

.ws-tab-btn.active {
  background: #143D32;
  border-color: #143D32;
  color: #ffffff;
}

.ws-tab-pane {
  display: none;
}

.ws-tab-pane.active {
  display: block;
}

.ws-day-banner {
  background: linear-gradient(135deg, #143D32 0%, #1F5748 100%);
  color: #ffffff;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.ws-day-banner h4 {
  margin: 0 0 4px 0;
  color: #ffffff !important;
  font-size: 1.08rem;
  font-family: var(--font-serif, Georgia, serif);
}

.ws-day-banner .ws-day-sub {
  font-size: 0.85rem;
  color: #E8DFC8;
}

.ws-chief-guest-card {
  background: #FAF8F5;
  border: 1px solid #DFD8C8;
  border-left: 4px solid #B39555;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ws-session-heading {
  font-size: 1.02rem;
  color: #143D32;
  margin: 18px 0 8px 0;
  padding-left: 10px;
  border-left: 4px solid #B39555;
  font-weight: 700;
}

.ws-table-wrap {
  overflow-x: auto;
}

.ws-table-wrap table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E2DDD2;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  margin: 8px 0 16px 0;
}

.ws-table-wrap table th,
.ws-table-wrap table thead th {
  background: #143D32;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 14px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
}

.ws-table-wrap table td {
  padding: 10px 14px;
  border-top: 1px solid #EAE5DC;
  color: #24332D;
  font-size: 0.88rem;
  vertical-align: middle;
  line-height: 1.5;
}

.ws-table-wrap table tr:nth-child(even) td {
  background: #FBF9F4;
}

.ws-table-wrap table tr:hover td {
  background: #F4EFE6;
}

.ws-time-col {
  white-space: nowrap;
  font-weight: 700;
  color: #143D32 !important;
  width: 155px;
}

.ws-break-row td {
  background: #F4EFE6 !important;
  font-weight: 700;
  color: #143D32 !important;
  text-align: center;
}

.ws-special-card {
  background: #FAF8F5;
  border: 1px solid #E2DDD2;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.ws-special-card h5 {
  margin: 0 0 6px 0;
  font-size: 0.98rem;
  color: #143D32;
}

.ws-experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px 16px;
  margin: 10px 0 0 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: #24332D;
}

.ws-experts-grid li {
  line-height: 1.45;
}

/* ==========================================================================
   FOOTER WEBSITE HIT COUNTER
   ========================================================================== */
.footer-hit-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  color: #0D261F;
}

.hit-counter-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #143D32;
}

.hit-counter-digits {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.hit-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 24px;
  padding: 0 4px;
  background: #143D32;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
