/* ==========================================================================
   EXXONMOBIL CORPORATE DESIGN SYSTEM FOR VANGUARD OFFSHORE PETROLEUM
   Inspired by corporate.exxonmobil.com
   ========================================================================== */

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

:root {
  --em-red: #ED1B2D;
  --em-red-hover: #D51020;
  --em-red-light: #FFF0F1;
  --em-red-subtle: #FDE8EA;
  --em-black: #0F141C;
  --em-dark: #161C24;
  --em-dark-slate: #212936;
  --em-navy-dark: #0D131C;
  --em-body-bg: #FFFFFF;
  --em-surface-bg: #F7F9FB;
  --em-surface-alt: #F1F4F8;
  --em-border: #E2E6EC;
  --em-border-light: #EFF2F6;
  --em-text-primary: #141A24;
  --em-text-secondary: #4A5568;
  --em-text-muted: #718096;
  --em-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --em-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --em-shadow-sm: 0 2px 6px rgba(15, 20, 28, 0.04);
  --em-shadow-md: 0 6px 18px rgba(15, 20, 28, 0.08);
  --em-shadow-lg: 0 14px 34px rgba(15, 20, 28, 0.12);
  --em-radius: 4px;
  --em-radius-md: 8px;
  --em-radius-lg: 12px;
  --em-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base Typography */
html {
  font-family: var(--em-font-sans);
  color: var(--em-text-primary);
  background-color: var(--em-body-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--em-font-sans);
  color: var(--em-text-primary);
  background-color: var(--em-body-bg);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--em-text-primary);
  font-family: var(--em-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; line-height: 1.25; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.35rem; font-weight: 600; }
h5 { font-size: 1.15rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; }

p {
  color: var(--em-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

a {
  color: var(--em-text-primary);
  text-decoration: none;
  transition: var(--em-transition);
}

a:hover {
  color: var(--em-red);
}

.text-em-red { color: var(--em-red) !important; }
.bg-em-red { background-color: var(--em-red) !important; }
.bg-em-surface { background-color: var(--em-surface-bg) !important; }

/* Red emphasis phrase styling from Screenshot 3 */
.em-highlight-red {
  color: var(--em-red);
  font-weight: 700;
}

/* Category Eyebrow (Screenshots 2, 3, 5) */
.em-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--em-red);
  margin-bottom: 0.75rem;
}

.em-eyebrow-light {
  color: #FFFFFF;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   HEADER & MAIN NAVIGATION (Screenshots 2 & 3)
   -------------------------------------------------------------------------- */
.em-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1040;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--em-border);
  transition: var(--em-transition);
}

.em-header-wrapper.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 20, 28, 0.08);
}

.em-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
  padding: 0 1.25rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Brand Logo (Authoritative Corporate Exxon Style) */
.em-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--em-red);
  text-decoration: none;
  padding: 0.25rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.em-brand:hover {
  color: var(--em-red-hover);
}

.em-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--em-red);
  color: #fff;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.em-brand-text {
  font-family: var(--em-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--em-red);
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.em-brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--em-text-muted);
  margin-left: 0.5rem;
  border-left: 1px solid var(--em-border);
  padding-left: 0.5rem;
  display: none;
  white-space: nowrap;
}

@media (min-width: 1250px) {
  .em-brand-sub { display: inline-block; }
}

/* Nav Menu - Strictly One Row */
.em-nav-menu {
  display: none;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
}

@media (min-width: 1040px) {
  .em-nav-menu { display: flex; }
}

.em-nav-item {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.em-nav-item:hover > .em-nav-link {
  color: var(--em-red);
}

.em-nav-item:hover > .em-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.65rem;
  right: 0.65rem;
  height: 3px;
  background-color: var(--em-red);
}

.em-nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--em-text-primary);
  padding: 0 0.65rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: var(--em-transition);
  white-space: nowrap;
  line-height: 1;
}

@media (min-width: 1200px) {
  .em-nav-link {
    font-size: 0.9rem;
    padding: 0 0.85rem;
  }
}

.em-nav-link:hover,
.em-nav-link.active {
  color: var(--em-red);
}

.em-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.65rem;
  right: 0.65rem;
  height: 3px;
  background-color: var(--em-red);
}

/* Executive Leadership Image Styling - NO TOP CROPPING */
.em-executive-card {
  background: #FFFFFF;
  border: 1px solid var(--em-border-light);
  border-radius: var(--em-radius-md);
  overflow: hidden;
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
}

.em-executive-card:hover {
  box-shadow: var(--em-shadow-lg);
  transform: translateY(-4px);
}

.em-executive-img-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.em-executive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mega Menu Dropdown (Exxon Corporate Style) */
.em-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-width: 1120px;
  margin: 0 auto;
  width: calc(100% - 2.5rem);
  background-color: #FFFFFF;
  border: 1px solid var(--em-border);
  border-top: 3px solid var(--em-red);
  box-shadow: 0 20px 45px rgba(15, 20, 28, 0.15);
  padding: 2.25rem 2.5rem;
  display: none;
  z-index: 1050;
  grid-template-columns: 310px 1fr 1fr;
  gap: 2.5rem;
  border-radius: 0 0 10px 10px;
  white-space: normal; /* Critical: resets nowrap from .em-nav-item */
}

.em-nav-item:hover .em-megamenu {
  display: grid;
  animation: emMegaFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes emMegaFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.em-megamenu-lead {
  border-right: 1px solid var(--em-border);
  padding-right: 2.25rem;
  display: flex;
  flex-direction: column;
}

.em-megamenu-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--em-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.em-megamenu-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--em-text-secondary);
  margin-bottom: 1.5rem;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.em-megamenu-cta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--em-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.em-megamenu-cta:hover {
  color: var(--em-red-hover);
  transform: translateX(4px);
}

.em-megamenu-col {
  display: flex;
  flex-direction: column;
}

.em-megamenu-col h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--em-text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.em-megamenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.em-megamenu-list li {
  margin: 0;
}

.em-megamenu-list a {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--em-text-secondary);
  display: block;
  transition: var(--em-transition);
  white-space: normal;
  word-break: normal;
}

.em-megamenu-list a:hover {
  color: var(--em-red);
  padding-left: 4px;
}

@media (max-width: 1200px) and (min-width: 1040px) {
  .em-megamenu {
    padding: 1.75rem 2rem;
    gap: 1.75rem;
    grid-template-columns: 260px 1fr 1fr;
  }
  .em-megamenu-lead {
    padding-right: 1.5rem;
  }
}

/* Header Utilities */
.em-header-utilities {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: auto;
}

.em-util-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--em-text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  flex-shrink: 0;
}

.em-util-link:hover {
  color: var(--em-red);
}

.em-search-trigger {
  font-size: 1.15rem;
  color: var(--em-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.em-search-trigger:hover {
  background-color: var(--em-surface-bg);
  color: var(--em-red);
}

/* Mobile Toggle & Corporate 3-Bar Hamburger */
.em-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1.5px solid var(--em-border, #E2E6EC);
  border-radius: 6px;
  background-color: #FFFFFF;
  color: var(--em-text-primary, #141A24);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--em-transition);
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 20, 28, 0.05);
}

.em-mobile-toggle:hover {
  background-color: var(--em-surface-bg, #F7F9FB);
  border-color: var(--em-red, #ED1B2D);
  color: var(--em-red, #ED1B2D);
}

.em-mobile-toggle:focus {
  outline: 2px solid var(--em-red, #ED1B2D);
  outline-offset: 2px;
}

.em-mobile-toggle i {
  pointer-events: none;
}

.em-hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  pointer-events: none;
}

.em-hamburger-icon span {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (min-width: 1040px) {
  .em-mobile-toggle { 
    display: none !important; 
  }
}

@media (max-width: 1039.98px) {
  .em-mobile-toggle {
    display: inline-flex !important;
  }
}

/* Mobile Drawer Backdrop & Drawer Styles */
.em-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 20, 28, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.em-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.em-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(15, 20, 28, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.em-mobile-drawer.is-open {
  transform: translateX(0);
}

.em-mobile-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--em-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
}

.em-mobile-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--em-border);
  background: #FFFFFF;
  color: var(--em-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--em-transition);
}

.em-mobile-close-btn:hover {
  background-color: var(--em-red-light);
  color: var(--em-red);
  border-color: var(--em-red);
}

.em-mobile-close-btn i {
  pointer-events: none;
}

.em-mobile-drawer-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.em-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.em-mobile-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--em-text-primary);
  border-radius: 6px;
  transition: var(--em-transition);
  text-decoration: none;
}

.em-mobile-link:hover,
.em-mobile-link.active {
  background-color: var(--em-surface-bg);
  color: var(--em-red);
  padding-left: 1.25rem;
}

.em-mobile-drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--em-border);
}

/* --------------------------------------------------------------------------
   BUTTONS (Exxon Red Action Style)
   -------------------------------------------------------------------------- */
.em-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--em-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--em-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--em-transition);
  text-decoration: none;
  white-space: nowrap;
}

.em-btn-red {
  background-color: var(--em-red);
  color: #FFFFFF !important;
}

.em-btn-red:hover {
  background-color: var(--em-red-hover);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(237, 27, 45, 0.3);
  transform: translateY(-1px);
}

.em-btn-red-outline {
  background-color: transparent;
  border-color: var(--em-red);
  color: var(--em-red) !important;
}

.em-btn-red-outline:hover {
  background-color: var(--em-red);
  color: #FFFFFF !important;
}

.em-btn-dark {
  background-color: var(--em-dark);
  color: #FFFFFF !important;
}

.em-btn-dark:hover {
  background-color: var(--em-black);
  color: #FFFFFF !important;
}

.em-btn-outline {
  background-color: transparent;
  border-color: var(--em-border);
  color: var(--em-text-primary);
}

.em-btn-outline:hover {
  border-color: var(--em-text-primary);
  background-color: var(--em-surface-bg);
}

.em-btn-white {
  background-color: #FFFFFF;
  color: var(--em-text-primary) !important;
}

.em-btn-white:hover {
  background-color: var(--em-surface-bg);
  box-shadow: var(--em-shadow-md);
}

/* --------------------------------------------------------------------------
   HERO BANNER & CAROUSEL AUTO-SLIDER (Screenshots 2, 3, 5)
   -------------------------------------------------------------------------- */
.em-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  color: #FFFFFF;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
  background-color: #0F141C;
}

.em-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.em-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out, visibility 1.2s;
  will-change: opacity, transform;
}

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

.em-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.35) 0%, rgba(15, 20, 28, 0.72) 55%, rgba(15, 20, 28, 0.94) 100%);
  z-index: 2;
  pointer-events: none;
}

.em-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Carousel Controls & Indicators */
.em-hero-indicators {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.em-hero-indicator-btn {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.em-hero-indicator-btn:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.em-hero-indicator-btn.is-active {
  background-color: var(--em-red);
  width: 50px;
}

.em-hero-slider-nav {
  position: absolute;
  bottom: 1.15rem;
  right: calc(2rem + 150px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.em-hero-nav-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 20, 28, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.em-hero-nav-arrow:hover {
  background: var(--em-red);
  border-color: var(--em-red);
}

@media (max-width: 768px) {
  .em-hero-indicators {
    bottom: 0.85rem;
    right: 1rem;
  }
  .em-hero-indicator-btn {
    width: 20px;
  }
  .em-hero-indicator-btn.is-active {
    width: 34px;
  }
  .em-hero-slider-nav {
    display: none;
  }
}

.em-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.em-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.em-breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.em-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.em-hero-title {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.em-hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   STICKY UTILITY SUB-NAV (Screenshot 3 & 4)
   -------------------------------------------------------------------------- */
.em-subnav-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--em-border);
  box-shadow: 0 2px 8px rgba(15, 20, 28, 0.04);
  position: sticky;
  top: 76px;
  z-index: 1030;
}

.em-subnav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.em-subnav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.em-subnav-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--em-text-muted);
}

.em-subnav-select {
  display: none;
}

.em-subnav-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.em-subnav-pills::-webkit-scrollbar {
  display: none;
}

.em-subnav-pill {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--em-text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  transition: var(--em-transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.em-subnav-pill:hover,
.em-subnav-pill.active {
  background-color: var(--em-surface-bg);
  color: var(--em-red);
}

.em-subnav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.em-subnav-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--em-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
}

.em-subnav-action:hover {
  color: var(--em-red);
}

.em-btn-subscribe {
  background-color: var(--em-red);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--em-radius);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--em-transition);
}

.em-btn-subscribe:hover {
  background-color: var(--em-red-hover);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   EDITORIAL INTRO SECTION (Screenshot 3)
   -------------------------------------------------------------------------- */
.em-section {
  padding: 5rem 0;
}

.em-section-lg {
  padding: 6.5rem 0;
}

.em-intro-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--em-text-primary);
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.em-intro-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: var(--em-text-secondary);
  max-width: 980px;
  font-weight: 400;
}

/* Stat Counters */
.em-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--em-border);
}

.em-stat-item {
  border-left: 3px solid var(--em-red);
  padding-left: 1.25rem;
}

.em-stat-num {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--em-text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.em-stat-label {
  font-size: 0.95rem;
  color: var(--em-text-muted);
  font-weight: 500;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CORE VALUES SECTION (Screenshot 1)
   -------------------------------------------------------------------------- */
.em-values-wrapper {
  background-color: var(--em-surface-bg);
  padding: 6rem 0;
}

.em-values-card {
  background-color: #FFFFFF;
  border-radius: var(--em-radius-md);
  box-shadow: 0 4px 20px rgba(15, 20, 28, 0.05);
  border: 1px solid var(--em-border-light);
  overflow: hidden;
}

.em-value-item {
  border-bottom: 1px solid var(--em-border-light);
  transition: var(--em-transition);
}

.em-value-item:last-child {
  border-bottom: none;
}

.em-value-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background-color: #FFFFFF;
  transition: var(--em-transition);
}

.em-value-header:hover {
  background-color: #FAFBFD;
}

.em-value-title-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.em-value-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--em-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--em-red);
  font-size: 1.15rem;
  background-color: #FFFFFF;
  transition: var(--em-transition);
}

.em-value-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--em-text-primary);
  margin: 0;
  transition: var(--em-transition);
}

.em-value-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--em-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--em-text-secondary);
  font-size: 1.15rem;
  transition: var(--em-transition);
}

.em-value-item.is-open .em-value-toggle {
  transform: rotate(45deg);
  background-color: var(--em-red);
  color: #FFFFFF;
  border-color: var(--em-red);
}

.em-value-item.is-open .em-value-name {
  color: var(--em-red);
}

.em-value-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: #FCFDFE;
}

.em-value-body-inner {
  padding: 0 2rem 1.75rem 5rem;
  color: var(--em-text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   BUSINESS DIVISIONS BANNER (Screenshot 5)
   -------------------------------------------------------------------------- */
.em-divisions-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 6.5rem 0;
  overflow: hidden;
}

.em-divisions-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 28, 0.92) 0%, rgba(15, 20, 28, 0.75) 55%, rgba(15, 20, 28, 0.4) 100%);
  z-index: 1;
}

.em-divisions-content {
  position: relative;
  z-index: 2;
}

.em-division-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.em-division-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--em-radius-md);
  padding: 1.75rem;
  transition: var(--em-transition);
}

.em-division-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--em-red);
  transform: translateY(-4px);
}

.em-division-pill h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.em-division-pill p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.em-division-pill a {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.em-division-pill a:hover {
  color: var(--em-red);
}

/* --------------------------------------------------------------------------
   EXPLORE MORE / ARTICLE CARD GRID (Screenshot 4)
   -------------------------------------------------------------------------- */
.em-grid-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.em-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.em-card {
  background-color: #FFFFFF;
  border: 1px solid var(--em-border-light);
  border-radius: var(--em-radius-md);
  overflow: hidden;
  transition: var(--em-transition);
  display: flex;
  flex-direction: column;
}

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

.em-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--em-surface-bg);
}

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

.em-card:hover .em-card-image {
  transform: scale(1.05);
}

.em-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.em-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--em-text-primary);
  transition: var(--em-transition);
}

.em-card:hover .em-card-title {
  color: var(--em-red);
}

.em-card-tag-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--em-text-muted);
}

/* Badges from Screenshot 4 */
.em-badge-tag {
  background-color: #F1F3F5;
  color: var(--em-red);
  font-weight: 700;
  font-style: italic;
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  display: inline-block;
}

.em-tag-topic {
  color: var(--em-text-secondary);
  font-weight: 500;
}

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

/* --------------------------------------------------------------------------
   BENEFICIARY PORTAL CARD & SEARCH (Institutional Design)
   -------------------------------------------------------------------------- */
.em-portal-banner {
  background: linear-gradient(135deg, #0F141C 0%, #1A222F 100%);
  border-radius: var(--em-radius-lg);
  padding: 3.5rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--em-shadow-lg);
}

.em-portal-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(237, 27, 45, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.em-input-group {
  background: #FFFFFF;
  border-radius: var(--em-radius-md);
  padding: 0.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 0.5rem;
}

.em-input-field {
  border: none;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  outline: none;
  flex: 1;
  color: var(--em-text-primary);
  font-family: var(--em-font-sans);
}

.em-input-field::placeholder {
  color: var(--em-text-muted);
}

/* --------------------------------------------------------------------------
   FOOTER (Corporate ExxonMobil Style)
   -------------------------------------------------------------------------- */
.em-footer {
  background-color: #0F141C;
  color: #E2E8F0;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 3px solid var(--em-red);
}

.em-footer-brand-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .em-footer-brand-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.em-footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.em-footer-logo span {
  color: var(--em-red);
}

.em-footer-subscribe-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 420px;
  width: 100%;
}

.em-footer-input {
  background-color: #1A222F;
  border: 1px solid #2D3748;
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--em-radius);
  font-size: 0.92rem;
  flex: 1;
  outline: none;
}

.em-footer-input:focus {
  border-color: var(--em-red);
}

.em-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #212936;
}

.em-footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.em-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.em-footer-links li {
  margin-bottom: 0.65rem;
}

.em-footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--em-transition);
}

.em-footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.em-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #94A3B8;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.em-footer-contact-item i {
  color: var(--em-red);
  margin-top: 0.25rem;
}

.em-footer-bottom {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .em-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.em-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.em-footer-legal-links a {
  color: #64748B;
}

.em-footer-legal-links a:hover {
  color: #CBD5E1;
}

/* Animations */
@keyframes emFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Search Modal Overlay */
.em-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 20, 28, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.em-search-modal.is-active {
  display: flex;
  animation: emFadeIn 0.2s ease forwards;
}

.em-search-dialog {
  background: #FFFFFF;
  border-radius: var(--em-radius-lg);
  width: 90%;
  max-width: 680px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.em-search-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--em-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.em-search-body {
  padding: 1.75rem;
}

/* --------------------------------------------------------------------------
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Big Displays (1440px, 1600px, 1920px+), Medium Tablets & Laptops (768px - 1040px),
   and Mobile Devices (<= 767px, <= 576px, <= 480px, <= 360px)
   -------------------------------------------------------------------------- */

/* Prevent horizontal viewport overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 1. Large Displays (>= 1440px) */
@media (min-width: 1440px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1380px;
  }
  .em-header,
  .em-subnav-container {
    max-width: 1480px;
  }
  .em-megamenu {
    max-width: 1260px;
    grid-template-columns: 340px 1fr 1fr;
    gap: 3rem;
  }
  .em-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
  }
  .em-division-pill-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .em-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .em-hero {
    min-height: 620px;
    padding: 6.5rem 0 4.5rem;
  }
  .em-executive-img-wrap {
    height: 360px;
  }
}

/* 2. Ultra-Wide & 4K Displays (>= 1600px) */
@media (min-width: 1600px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1540px;
  }
  .em-header,
  .em-subnav-container {
    max-width: 1600px;
  }
  .em-megamenu {
    max-width: 1360px;
    grid-template-columns: 360px 1fr 1fr;
  }
  .em-hero {
    min-height: 680px;
  }
  .em-intro-lead {
    max-width: 1100px;
  }
}

@media (min-width: 1920px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1680px;
  }
  .em-header,
  .em-subnav-container {
    max-width: 1720px;
  }
}

/* 3. Laptops & Compact Desktops (1040px - 1240px) */
@media (max-width: 1240px) and (min-width: 1040px) {
  .em-brand-sub {
    display: none;
  }
  .em-nav-link {
    font-size: 0.84rem;
    padding: 0 0.55rem;
  }
  .em-megamenu {
    max-width: 1020px;
    padding: 2rem;
    gap: 1.75rem;
    grid-template-columns: 260px 1fr 1fr;
  }
  .em-megamenu-desc {
    font-size: 0.85rem;
  }
}

/* 4. Medium Screens & Tablets (768px - 1039px) */
@media (max-width: 1039px) {
  .em-section {
    padding: 4rem 0;
  }
  .em-section-lg {
    padding: 4.75rem 0;
  }
  .em-values-wrapper {
    padding: 4.25rem 0;
  }
  .em-divisions-section {
    padding: 4.75rem 0;
  }
  .em-grid-section {
    padding: 4.25rem 0;
  }
  .em-portal-banner {
    padding: 2.75rem 2.25rem;
  }
  .em-division-pill-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .em-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .em-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 2.75rem;
    padding-top: 2.25rem;
  }
  .em-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .em-value-body-inner {
    padding: 0 2rem 1.5rem 2.5rem;
  }
}

/* 5. Small Screens & Tablets Portrait (<= 768px) */
@media (max-width: 768px) {
  .em-hero {
    min-height: 440px;
    padding: 4rem 0 2.5rem;
  }
  .em-hero-title {
    font-size: clamp(2.1rem, 6.5vw, 2.85rem);
    line-height: 1.15;
  }
  .em-hero-desc {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .em-breadcrumb {
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }
  .em-subnav-bar {
    top: 64px;
  }
  .em-subnav-container {
    height: auto;
    min-height: 52px;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }
  .em-subnav-left {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .em-subnav-left::-webkit-scrollbar {
    display: none;
  }
  .em-subnav-label {
    display: none;
  }
  .em-subnav-pills {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    gap: 0.4rem;
  }
  .em-subnav-pills::-webkit-scrollbar {
    display: none;
  }
  .em-subnav-right {
    display: none;
  }
  .em-intro-title {
    font-size: clamp(1.8rem, 5vw, 2.45rem);
  }
  .em-intro-lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }
  .em-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .em-value-header {
    padding: 1.25rem 1.25rem;
  }
  .em-value-body-inner {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.98rem;
  }
  .em-value-name {
    font-size: 1.15rem;
  }
  .em-portal-banner {
    padding: 2rem 1.5rem;
  }
  .em-footer {
    padding-top: 3.5rem;
  }
  .em-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* 6. Mobile Devices (<= 576px) */
@media (max-width: 576px) {
  .em-header {
    height: 64px;
    padding: 0 0.85rem;
    gap: 0.5rem;
  }
  .em-brand {
    font-size: 1.25rem;
    gap: 0.5rem;
    min-width: 0;
  }
  .em-brand-mark {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.95rem;
  }
  .em-brand-text {
    font-size: 1.2rem;
  }
  .em-header-utilities {
    gap: 0.5rem;
  }
  .em-mobile-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .em-hero {
    min-height: 380px;
    padding: 3.25rem 0 2rem;
  }
  .em-hero-title {
    font-size: 1.95rem;
    line-height: 1.18;
  }
  .em-hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .em-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding-top: 1.5rem;
    margin-top: 1.75rem;
  }
  .em-stat-item {
    padding-left: 0.85rem;
    border-left-width: 2.5px;
  }
  .em-stat-num {
    font-size: 1.85rem;
  }
  .em-stat-label {
    font-size: 0.8rem;
  }
  .em-division-pill-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .em-division-pill {
    padding: 1.25rem;
  }
  .em-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .em-card-body {
    padding: 1.25rem;
  }
  .em-card-title {
    font-size: 1.2rem;
  }
  .em-executive-img-wrap {
    height: 280px;
  }
  .em-value-header {
    padding: 1rem 0.85rem;
  }
  .em-value-title-wrap {
    gap: 0.75rem;
  }
  .em-value-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  .em-value-name {
    font-size: 1.05rem;
  }
  .em-value-toggle {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
  .em-value-body-inner {
    padding: 0 0.85rem 1rem 0.85rem;
    font-size: 0.92rem;
  }
  .em-portal-banner {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }
  .em-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .em-footer-brand-row {
    margin-bottom: 2.25rem;
  }
  .em-footer-logo {
    font-size: 1.35rem;
  }
  .em-footer-subscribe-box {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .em-footer-input {
    width: 100%;
  }
  .em-footer-bottom {
    padding-top: 1.75rem;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .em-footer-legal-links {
    gap: 0.85rem;
  }
  .em-search-dialog {
    width: 95%;
  }
  .em-search-header,
  .em-search-body {
    padding: 1.25rem;
  }
}

/* 7. Extra-Small Mobile Devices (<= 400px) */
@media (max-width: 400px) {
  .em-header {
    padding: 0 0.65rem;
    height: 60px;
    gap: 0.35rem;
  }
  .em-brand {
    font-size: 1.15rem;
    gap: 0.4rem;
    min-width: 0;
  }
  .em-brand-mark {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.88rem;
  }
  .em-brand-text {
    font-size: 1.15rem;
  }
  .em-header-utilities {
    gap: 0.4rem;
  }
  .em-mobile-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .em-hamburger-icon {
    width: 18px;
    height: 12px;
  }
  .em-hero {
    min-height: 350px;
    padding: 2.75rem 0 1.5rem;
  }
  .em-hero-title {
    font-size: 1.75rem;
  }
  .em-hero-desc {
    font-size: 0.9rem;
  }
  .em-stat-num {
    font-size: 1.6rem;
  }
  .em-executive-img-wrap {
    height: 250px;
  }
}
