/**
 * Wikimedia Nigeria | Design System Tokens & Editorial Styles
 * Brand Colors:
 *   - Primary Blue: #006699 (Wikimedia Blue)
 *   - Primary Green: #00A550 (Wikimedia Green)
 *   - Primary Red: #990000 (Wikimedia Red)
 *   - Accent Slate: #1E293B
 *   - Neutral Light: #F8FAFC
 *   - Surface White: #FFFFFF
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700&display=swap');

:root {
  --wm-blue: #006699;
  --wm-blue-dark: #004d73;
  --wm-blue-light: #e6f0f7;
  --wm-green: #008751;
  --wm-green-light: #e6f5ee;
  --wm-red: #990000;
  --wm-red-light: #fae6e6;
  --wm-text: #1e293b;
  --wm-muted: #64748b;
  --wm-border: #e2e8f0;
  --wm-surface: #ffffff;
  --wm-bg: #f8fafc;
  --wm-bg-warm: #fcfbf9;
  --wm-radius: 8px;
  --wm-radius-lg: 14px;
  --wm-radius-xl: 20px;
  --wm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --wm-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --wm-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.08);
  --wm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wm-font-editorial: 'Lora', Georgia, 'Times New Roman', serif;
  --wm-font-display: var(--wm-font-editorial);
  --wm-font-serif: var(--wm-font-editorial);
}

/* Base Global Reset */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--wm-font-sans);
  color: var(--wm-text);
  background-color: var(--wm-bg);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--wm-blue);
  outline-offset: 2px;
}

/* Skip Navigation */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--wm-blue);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 10px;
}

/* Typography Hierarchy - Encyclopedic Gravitas */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--wm-font-editorial);
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.font-editorial,
.font-display,
.font-serif {
  font-family: var(--wm-font-editorial) !important;
}

.tracking-tight {
  letter-spacing: -0.01em !important;
}

.tracking-tighter {
  letter-spacing: -0.02em !important;
}

.max-w-65ch {
  max-width: 65ch !important;
}

.font-serif {
  font-family: var(--wm-font-serif);
}

@media (min-width: 992px) {
  .text-nowrap-lg {
    white-space: nowrap !important;
  }
}

/* Systemic Section Padding Utilities */
.py-section {
  padding-top: 4.75rem !important;
  padding-bottom: 5.25rem !important;
}

.py-section-sm {
  padding-top: 3.25rem !important;
  padding-bottom: 3.5rem !important;
}

.py-section-md {
  padding-top: 4.5rem !important;
  padding-bottom: 5rem !important;
}

.py-section-lg {
  padding-top: 5.5rem !important;
  padding-bottom: 6rem !important;
}

/* Top Bar Announcement */
.top-notice-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 7px 0;
}

.top-notice-bar a {
  color: #93c5fd;
  text-decoration: none;
}

.top-notice-bar a:hover {
  text-decoration: underline;
}

/* Navbar & Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background: #ffffff;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-navbar {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1030;
  padding: 0.65rem 0;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-header.is-scrolled .site-navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(203, 213, 225, 0.7);
}

.site-navbar .container-fluid {
  display: flex;
  align-items: center;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.navbar-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.navbar-nav {
  gap: 0.2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--wm-font-sans);
  font-weight: 500;
  color: #334155 !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.925rem;
  border-radius: 6px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
  transition: all 0.18s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--wm-blue) !important;
  background-color: rgba(0, 102, 153, 0.06);
}

.nav-link.dropdown-toggle::after {
  vertical-align: 0.12em;
  margin-left: 0.35rem;
}

/* Navbar Action Group */
.navbar-action-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.navbar-action-btn {
  height: 40px !important;
  min-height: 40px !important;
  line-height: 1 !important;
  padding: 0 1.25rem !important;
  font-size: 0.885rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}

.navbar-action-search {
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
  background: transparent !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.navbar-action-search:hover,
.navbar-action-search:focus {
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Responsive Navbar Adjustments */
@media (min-width: 992px) and (max-width: 1250px) {
  .navbar-nav {
    gap: 0.05rem;
  }

  .nav-link {
    font-size: 0.86rem;
    padding: 0.4rem 0.5rem !important;
  }

  .navbar-brand img {
    height: 38px !important;
  }

  .navbar-action-btn {
    padding: 0 0.95rem !important;
    font-size: 0.84rem !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .navbar-action-search {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
}

.dropdown-menu {
  border: 1px solid var(--wm-border);
  box-shadow: var(--wm-shadow-lg);
  border-radius: var(--wm-radius);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #334155;
}

.dropdown-item:hover {
  background: var(--wm-blue-light);
  color: var(--wm-blue);
}

/* Buttons - WikimediaUI 4px Architectural Standard */
.btn-wm-primary {
  background-color: var(--wm-blue);
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--wm-blue);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-wm-primary:hover,
.btn-wm-primary:focus {
  background-color: var(--wm-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.2);
}

.btn-wm-primary:active {
  transform: scale(0.98) translateY(0);
}

.btn-wm-outline {
  border: 1.5px solid var(--wm-blue);
  color: var(--wm-blue);
  background: transparent;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.55rem 1.3rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-wm-outline:hover,
.btn-wm-outline:focus {
  background-color: var(--wm-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-wm-outline:active {
  transform: scale(0.98) translateY(0);
}

.btn-wm-green {
  background-color: var(--wm-green);
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--wm-green);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-wm-green:hover {
  background-color: #006633;
  color: #ffffff;
}

.btn-wm-green:active {
  transform: scale(0.98);
}

.btn-wm-outline-green {
  --bs-btn-color: var(--wm-green, #008751);
  --bs-btn-border-color: var(--wm-green, #008751);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--wm-green, #008751);
  --bs-btn-hover-border-color: var(--wm-green, #008751);
  --bs-btn-focus-shadow-rgb: 0, 135, 81;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #007043;
  --bs-btn-active-border-color: #007043;
  color: var(--bs-btn-color);
  border-color: var(--bs-btn-border-color);
}

.btn-wm-outline-green:hover,
.btn-wm-outline-green:focus {
  color: #ffffff !important;
  background-color: var(--wm-green, #008751) !important;
  border-color: var(--wm-green, #008751) !important;
}

.btn-wm-outline-green:active {
  transform: scale(0.98);
}

/* General Button Physical Push Polish */
.btn:active {
  transform: scale(0.98);
}

/* Hero Section - Daylight Editorial Knowledge Canvas */
.hero-section {
  background-color: #fdfbf7;
  color: #0f172a;
  padding: 70px 0 28px;
  position: relative;
  border-bottom: 1px solid #eaedf0;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 90% 10%, rgba(0, 135, 81, 0.05), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0, 102, 153, 0.04), transparent 45%);
  pointer-events: none;
}

/* Institutional Masthead (Replaces AI Floating Pill Badge) */
.hero-masthead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wm-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--wm-blue);
  margin-bottom: 24px;
}

/* Archival Documentary Plate Framing */
.archival-plate-wrap {
  position: relative;
}

.archival-plate-border {
  border: 1px solid #cbd5e1;
  padding: 6px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.archival-caption {
  font-size: 0.78rem;
}

.hero-title {
  font-family: var(--wm-font-editorial);
  font-size: clamp(3rem, 3.15vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  line-height: 1.16;
  color: #0f172a;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: #475569;
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 65ch;
  line-height: 1.6;
}

/* Nigerian Languages & Knowledge Commons Strip */
.language-commons-strip {
  background: transparent;
  margin-top: 3.5rem;
  padding: 2rem 0 0;
}

.badge-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.badge-lang-link:hover {
  border-color: var(--wm-blue);
  color: var(--wm-blue);
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 102, 153, 0.1);
}

/* Impact Section Cards */
.impact-card {
  background: #ffffff;
  border-radius: var(--wm-radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--wm-border);
  box-shadow: var(--wm-shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-lg);
  border-color: #cbd5e1;
}

.impact-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--wm-blue);
  line-height: 1;
  margin-bottom: 10px;
}

.impact-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.impact-desc {
  font-size: 0.88rem;
  color: var(--wm-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Work Area Cards */
.work-card {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  border-color: var(--wm-blue);
  transform: translateY(-3px);
  box-shadow: var(--wm-shadow);
}

.work-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--wm-blue-light);
  color: var(--wm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* News & Event Cards */
.editorial-card {
  background: #ffffff;
  border-radius: var(--wm-radius);
  border: 1px solid var(--wm-border);
  overflow: hidden;
  box-shadow: var(--wm-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow);
}

.editorial-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.editorial-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.editorial-card-meta {
  font-size: 0.8rem;
  color: var(--wm-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.editorial-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.editorial-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.editorial-card-title a:hover {
  color: var(--wm-blue);
}

/* Event Badges */
.event-date-box {
  width: 60px;
  height: 60px;
  background: var(--wm-blue-light);
  border-radius: 10px;
  text-align: center;
  padding: 6px;
  color: var(--wm-blue);
  flex-shrink: 0;
}

.event-date-day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Enhanced Modern Footer Styling */
.site-footer {
  background: linear-gradient(180deg, #07172e 0%, #050f1f 100%);
  color: #94a3b8;
  padding: 65px 0 28px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.site-footer .footer-heading {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.site-footer .footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 2.5px;
  background: #008744;
  border-radius: 2px;
}

.site-footer .footer-links {
  margin: 0;
  padding: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.55rem;
}

.site-footer .footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2px 0;
  line-height: 1.35;
}

.site-footer .footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-brand-desc {
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: #006699;
  border-color: #006699;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 102, 153, 0.35);
}

.footer-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.footer-newsletter-input {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 0.86rem;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #006699 !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.3) !important;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 42px 0 24px;
  }
  .site-footer .footer-heading {
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }
  .site-footer .footer-links a {
    font-size: 0.82rem;
    padding: 3px 0;
  }
  .footer-brand-desc {
    font-size: 0.82rem;
  }
  .footer-card {
    padding: 1.15rem !important;
    margin-top: 0.5rem;
  }
  .footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .footer-bottom-links a {
    margin: 0 !important;
  }
}

/* Attribution Pill */
.attribution-pill {
  font-size: 0.75rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-block;
  margin-top: 6px;
}

/* Hallmark Interactive Tactile Feedback & Elevation */
button:active,
.btn:active,
.btn-wm-primary:active,
.btn-wm-outline:active,
.btn-wm-green:active {
  transform: scale(0.98) !important;
}

.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-lift:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--wm-shadow-lg) !important;
}

/* Accessible Form Input Focus States */
.form-control:focus,
.form-select:focus {
  border-color: var(--wm-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.25) !important;
  outline: none !important;
}

/* Touch Target Minimum (44px) */
.btn-sm {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lg,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger {
  min-height: 44px;
}

/* Smooth Image Loading */
img {
  content-visibility: auto;
}


/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Taste Skill Modern Layout Components & Design Patterns
   ========================================================================== */

/* Dynamic Section Spacing Scale */
.py-section-lg {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.py-section-md {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.py-section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* 1. Curated Cultural Knowledge Exhibition Grid */
.exhibition-card {
  background: #ffffff;
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-border);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.exhibition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-lg);
  border-color: #cbd5e1;
  color: inherit;
}

.exhibition-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.exhibition-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.exhibition-card:hover .exhibition-img {
  transform: scale(1.03);
}

.exhibition-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.exhibition-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wm-blue);
  margin-bottom: 0.6rem;
}

.exhibition-title {
  font-family: var(--wm-font-editorial);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.exhibition-summary {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.exhibition-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: auto;
}

/* 2. Editorial Newsroom Layout */
.editorial-lead-story {
  background: #ffffff;
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-border);
  overflow: hidden;
  box-shadow: var(--wm-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.editorial-lead-story:hover {
  transform: translateY(-3px);
  box-shadow: var(--wm-shadow);
}

.editorial-lead-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.editorial-lead-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.editorial-dispatch-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.editorial-dispatch-item {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--wm-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.editorial-dispatch-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--wm-shadow);
  border-color: var(--wm-blue);
  color: inherit;
}

/* 3. Calendar Agenda Layout */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-item {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--wm-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.agenda-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--wm-shadow);
  border-color: #cbd5e1;
}

.agenda-date-badge {
  background: var(--wm-blue-light);
  color: var(--wm-blue);
  min-width: 68px;
  height: 68px;
  border-radius: var(--wm-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1.1;
  flex-shrink: 0;
  border: 1px solid rgba(0, 102, 153, 0.15);
}

.agenda-date-day {
  font-size: 1.5rem;
  font-family: var(--wm-font-display);
}

.agenda-date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 4. Monumental Impact Stats Strip */
.stat-strip-container {
  background: #ffffff;
  border-top: 1px solid var(--wm-border);
  border-bottom: 1px solid var(--wm-border);
}

.stat-strip-item {
  padding: 2.5rem 1.5rem;
  position: relative;
}

.stat-strip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  right: 0;
  width: 1px;
  background-color: var(--wm-border);
}

.stat-strip-number {
  font-family: var(--wm-font-display);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--wm-blue);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.stat-strip-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.stat-strip-desc {
  font-size: 0.85rem;
  color: var(--wm-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* 5. Native Scroll-Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.06s;
}

.stagger-2 {
  transition-delay: 0.12s;
}

.stagger-3 {
  transition-delay: 0.18s;
}

.stagger-4 {
  transition-delay: 0.24s;
}

/* 6. Mobile Horizontal Scroll-Snap (Prevents 9-Card Vertical Scroll Fatigue) */
@media (max-width: 767px) {
  .mobile-scroll-snap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    margin-right: -0.75rem !important;
    margin-left: -0.75rem !important;
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-scroll-snap::-webkit-scrollbar {
    display: none;
  }

  .mobile-scroll-snap>* {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    scroll-snap-align: start !important;
  }

  .agenda-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .agenda-item .btn {
    width: 100%;
  }

  .stat-strip-item:not(:last-child)::after {
    display: none;
  }

  .stat-strip-item {
    border-bottom: 1px solid var(--wm-border);
    padding: 1.75rem 1rem;
  }
}

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

/* Contact Hub Sidebar Component */
.wm-contact-hub-card {
  background: linear-gradient(160deg, #091c33 0%, #0d2847 50%, #071626 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--wm-radius-xl, 20px);
  box-shadow: 0 16px 36px -10px rgba(5, 18, 38, 0.45);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.wm-contact-hub-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 102, 153, 0.35) 0%, rgba(0, 102, 153, 0) 70%);
  pointer-events: none;
}

.wm-contact-hub-title {
  color: #ffffff !important;
  font-family: var(--wm-font-editorial, 'Lora', serif);
  letter-spacing: -0.01em;
}

.wm-contact-hub-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.wm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.wm-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wm-contact-item:hover .wm-contact-icon {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.wm-contact-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.wm-contact-value {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wm-contact-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.wm-contact-link:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

.wm-social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.wm-social-pill:hover {
  background: #006699;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.4);
}

/* ==========================================================================
   History & Decade Milestones Component Styles
   ========================================================================== */

.wm-history-hero {
  background: linear-gradient(170deg, #091c33 0%, #0d2a4a 60%, #071626 100%);
  position: relative;
  overflow: hidden;
}

.wm-history-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, var(--wm-bg, #f8fafc), transparent);
  pointer-events: none;
}

/* Interactive Era Filter Navigation */
.wm-era-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wm-border, #e2e8f0);
}

.wm-era-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--wm-muted, #64748b);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wm-era-btn:hover {
  color: var(--wm-blue, #006699);
  background: rgba(0, 102, 153, 0.06);
}

.wm-era-btn.active {
  background: var(--wm-blue, #006699);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.25);
}

/* Alternating History Timeline */
.wm-timeline-container {
  position: relative;
  padding: 2.5rem 0;
}

/* Central vertical spine on desktop */
.wm-timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, #006699 0%, #008751 50%, #990000 100%);
  transform: translateX(-50%);
  border-radius: 3px;
}

.wm-timeline-item {
  position: relative;
  margin-bottom: 4rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wm-timeline-item.fade-out {
  display: none !important;
}

/* Timeline Center Pin / Icon */
.wm-timeline-pin {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--wm-blue, #006699);
  color: var(--wm-blue, #006699);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
  transition: all 0.25s ease;
}

.wm-timeline-item:hover .wm-timeline-pin {
  background: var(--wm-blue, #006699);
  color: #ffffff;
  transform: translateX(-50%) scale(1.12);
}

/* Card Content Positioning */
.wm-timeline-card-wrap {
  width: 44%;
}

.wm-timeline-left .wm-timeline-card-wrap {
  margin-right: auto;
  text-align: left;
}

.wm-timeline-right .wm-timeline-card-wrap {
  margin-left: auto;
  text-align: left;
}

/* Timeline Card */
.wm-timeline-card {
  background: #ffffff;
  border-radius: var(--wm-radius-xl, 20px);
  border: 1px solid var(--wm-border, #e2e8f0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.wm-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 102, 153, 0.3);
}

.wm-timeline-year-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wm-blue, #006699);
  background: rgba(0, 102, 153, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* Milestone Image Framing */
.wm-timeline-img-wrap {
  border-radius: var(--wm-radius-lg, 14px);
  overflow: hidden;
  height: 210px;
  margin-bottom: 1.25rem;
  position: relative;
}

.wm-timeline-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wm-timeline-card:hover .wm-timeline-img-wrap img {
  transform: scale(1.05);
}

/* Movement Highlights Bento */
.wm-movement-card {
  background: #ffffff;
  border-radius: var(--wm-radius-xl, 20px);
  border: 1px solid var(--wm-border, #e2e8f0);
  padding: 2.25rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.wm-movement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 102, 153, 0.25);
}

/* Mobile Responsiveness for Timeline */
@media (max-width: 991.98px) {
  .wm-timeline-container::before {
    left: 24px;
    transform: none;
  }

  .wm-timeline-pin {
    left: 24px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .wm-timeline-item:hover .wm-timeline-pin {
    transform: scale(1.1);
  }

  .wm-timeline-card-wrap {
    width: calc(100% - 64px) !important;
    margin-left: 64px !important;
    margin-right: 0 !important;
  }
}

/* ========================================================
   Strategic Thematic Pillars Carousel
   ======================================================== */
.thematic-carousel-section {
  position: relative;
  overflow: hidden;
}

.thematic-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.thematic-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.thematic-carousel-counter {
  font-family: monospace, SFMono-Regular, Consolas, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wm-blue, #006699);
  background: var(--wm-blue-light, #e6f0f7);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 102, 153, 0.15);
  letter-spacing: 0.05em;
}

.thematic-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.thematic-nav-btn:hover:not(:disabled) {
  background: var(--wm-blue, #006699);
  color: #ffffff;
  border-color: var(--wm-blue, #006699);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.25);
}

.thematic-nav-btn:active:not(:disabled) {
  transform: translateY(0);
}

.thematic-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.thematic-carousel-track-container {
  position: relative;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}

.thematic-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding-bottom: 0.5rem;
}

.thematic-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.thematic-carousel-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.thematic-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 102, 153, 0.08);
  border-color: #94a3b8;
}

.thematic-pillar-badge {
  font-family: monospace, SFMono-Regular, Consolas, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.thematic-category-tag {
  font-family: monospace, SFMono-Regular, Consolas, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  text-transform: uppercase;
}

.thematic-initiatives-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.thematic-initiative-pill {
  font-size: 0.76rem;
  font-family: monospace, SFMono-Regular, Consolas, sans-serif;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s ease;
}

.thematic-carousel-card:hover .thematic-initiative-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.thematic-carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.thematic-dot-btn {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.thematic-dot-btn:hover {
  background: #94a3b8;
}

.thematic-dot-btn.active {
  width: 28px;
  background: var(--wm-blue, #006699);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .thematic-carousel-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 767.98px) {
  .thematic-carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .thematic-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }
  .thematic-carousel-card {
    flex: 0 0 calc(100% - 1.5rem);
    padding: 1.35rem;
  }
}

/* ==========================================================================
   Membership Tiers 3-per-row Carousel
   ========================================================================== */
.membership-carousel-container {
  position: relative;
  width: 100%;
}

.membership-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 18px;
}

.membership-carousel-track::-webkit-scrollbar {
  display: none;
}

.membership-card-col {
  flex: 0 0 calc((100% - 3rem) / 3);
  width: calc((100% - 3rem) / 3);
  min-width: calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
}

@media (max-width: 1199.98px) {
  .membership-card-col {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    width: calc((100% - 1.5rem) / 2);
    min-width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 767.98px) {
  .membership-card-col {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.membership-nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.membership-nav-arrow:hover:not(:disabled) {
  background-color: var(--wm-blue, #006699);
  border-color: var(--wm-blue, #006699);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 102, 153, 0.28);
}

.membership-nav-arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.membership-nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.membership-prev-btn {
  left: -22px;
}

.membership-next-btn {
  right: -22px;
}

@media (max-width: 1320px) {
  .membership-prev-btn {
    left: -10px;
  }
  .membership-next-btn {
    right: -10px;
  }
}

@media (max-width: 767.98px) {
  .membership-prev-btn {
    left: 2px;
  }
  .membership-next-btn {
    right: 2px;
  }
}

.membership-carousel-dot {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.membership-carousel-dot .dot-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.membership-carousel-dot:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.membership-carousel-dot.active {
  background: var(--wm-blue, #006699);
  border-color: var(--wm-blue, #006699);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 102, 153, 0.25);
}

.membership-carousel-dot.active .dot-indicator {
  background: #ffffff;
}

/* Navigation Submenu & Dropdown Enhancements */
.our-work-dropdown-menu {
  min-width: 330px;
  border-radius: 12px;
  padding: 0.6rem 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.our-work-dropdown-menu .dropdown-item {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  color: #1e293b;
  border-radius: 6px;
  margin: 1px 6px;
  transition: all 0.15s ease;
}

.our-work-dropdown-menu .dropdown-item:hover,
.our-work-dropdown-menu .dropdown-item:focus {
  background-color: #f1f5f9;
  color: var(--wm-blue, #006699);
}

.dropdown-submenu {
  position: relative;
}

@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-submenu-menu {
    position: absolute !important;
    top: 0;
    left: calc(100% - 2px);
    margin-top: -6px;
    display: none;
    min-width: 270px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    background: #ffffff;
    z-index: 1060 !important;
  }

  /* Hover bridge so moving mouse to submenu never flickers */
  .dropdown-submenu > .dropdown-submenu-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    width: 14px;
    height: 100%;
  }

  .dropdown-submenu:hover > .dropdown-submenu-menu,
  .dropdown-submenu:focus-within > .dropdown-submenu-menu,
  .dropdown-submenu > .dropdown-submenu-menu.show {
    display: block !important;
    animation: subMenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes subMenuFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-submenu-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(0, 102, 153, 0.03);
    border: none;
    border-left: 2px solid var(--wm-blue, #006699);
    margin-left: 1.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
  }
  .dropdown-sub-arrow {
    transform: rotate(90deg);
  }
}