:root {
  --brand-forest: #003366;
  --brand-forest-dark: #001f3f;
  --brand-forest-light: #edf4fb;
  --brand-navy: #00497e;
  --brand-navy-dark: #002b4d;
  --brand-navy-light: #e6f0f8;
  --brand-gold: #c8102e;
  --brand-gold-light: #fdf2f4;
  --surface-bg: #ffffff;
  --surface-card: #f8fafc;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #dbe3ee;
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.06);
  --shadow-md: 0 10px 28px rgba(0, 51, 102, 0.1);
  --shadow-lg: 0 20px 48px rgba(0, 51, 102, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: var(--surface-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-forest);
}

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

/* ==========================================================================
   Bootstrap 4 Compatibility Utilities for Legacy CMS HTML Content
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }

@media (min-width: 768px) {
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
}

/* Fix legacy CMS pages that used .col-6 without .col-12 on mobile */
@media (max-width: 767.98px) {
  .cms-content-body .col-6:not(.col-md-3):not(.col-md-4):not(.col-md-2) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.w-100 { width: 100% !important; }
.w-75 { width: 75% !important; }
.w-50 { width: 50% !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.text-decoration-none { text-decoration: none !important; }
.font-weight-bold, strong, b { font-weight: 700 !important; }
.font-italic, em { font-style: italic !important; }
.text-primary { color: var(--brand-navy) !important; }
.text-dark { color: var(--text-main) !important; }
.text-muted, .text-black-50 { color: var(--text-muted) !important; }
.cursor-pointer { cursor: pointer !important; }

.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.pl-0 { padding-left: 0 !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1.25rem !important; }
.pl-4 { padding-left: 1.75rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 1.75rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
  color: var(--text-main) !important;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

.btn-primary,
.btn-outline,
.btn-gold {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--text-main) !important;
  box-shadow: none;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-gold:hover {
  background: var(--brand-forest) !important;
  border-color: var(--brand-forest) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.22);
}

.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-gold:active {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  color: #ffffff !important;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.28);
}

/* ==========================================================================
   Standalone First-Page Intro Video
   ========================================================================== */
body.intro-active {
  overflow: hidden;
  background: #00152b;
}

body.intro-active .top-utility-bar,
body.intro-active .site-header,
body.intro-active #appMain,
body.intro-active .site-footer {
  display: none !important;
}

.intro-splash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #00152b;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
}

.intro-splash.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.intro-splash video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.intro-splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 50px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-logo-card {
  padding: 0;
  margin: 0;
  transition: transform 0.3s ease;
}

.intro-splash:hover .intro-logo-card {
  transform: scale(1.03);
}

.intro-logo-card img {
  width: 230px;
  max-width: 75vw;
  height: auto;
  display: block;
}

.intro-enter-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 51, 102, 0.85);
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.intro-splash:hover .intro-enter-hint {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Top Bar & Sticky Header Navigation
   ========================================================================== */
.top-utility-bar {
  background: var(--brand-forest-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.81rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--brand-gold);
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-utility-links a,
.top-utility-links button {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-utility-links a:hover,
.top-utility-links button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 68px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item-root {
  position: relative;
}

.nav-link-root {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link-root:hover,
.nav-item-root.active > .nav-link-root {
  color: var(--brand-gold);
  background: var(--brand-forest-light);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1010;
}

.nav-item-root:hover > .nav-dropdown,
.nav-item-root:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  gap: 10px;
}

.nav-dropdown-link:hover {
  background: var(--brand-forest-light);
  color: var(--brand-gold);
}

.nav-subdropdown {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 270px;
  max-height: 75vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: var(--transition);
}

.nav-dropdown-item:hover > .nav-subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-icon-btn,
.search-trigger-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.header-icon-btn:hover,
.header-icon-btn:focus,
.search-trigger-btn:hover,
.search-trigger-btn:focus {
  color: var(--brand-gold);
  outline: none;
}

.mobile-menu-btn {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-main);
}

@media (max-width: 1120px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px 24px;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: block;
}

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

.mobile-nav-item {
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.mobile-nav-children {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
}

/* ==========================================================================
   Hero Carousel & Home Sections
   ========================================================================== */
.hero-carousel {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
  animation: fadeSlide 0.5s ease;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.hero-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  width: 32px;
  background: var(--brand-gold);
}

/* Stats Strip */
.stats-strip {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-forest-light);
  color: var(--brand-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-forest);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Feature Cards */
.section-block {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px auto;
}

.section-eyebrow {
  display: inline-block;
  color: var(--brand-forest);
  background: var(--brand-forest-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  margin: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pillar-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.pillar-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-forest);
  margin-bottom: 8px;
}

.pillar-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.pillar-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 20px;
}

/* Certifications Showcase */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-card:hover {
  border-color: var(--brand-forest);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-card img {
  height: 88px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.cert-card h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.cert-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* NDPE 3-Column Modern Cards */
.ndpe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.ndpe-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-forest);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.ndpe-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ndpe-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-forest-light);
  color: var(--brand-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.ndpe-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.ndpe-card li {
  margin-bottom: 10px;
}

/* RSPO Page 3-Column NDPE Responsive Grid */
.rspo-ndpe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .rspo-ndpe-grid {
    grid-template-columns: 1fr;
  }
}

.rspo-ndpe-col {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.rspo-ndpe-title {
  background: var(--brand-forest-light);
  color: var(--brand-forest-dark);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
}

.rspo-ndpe-col ul {
  padding: 14px 14px 14px 30px;
  margin: 0;
  font-size: 0.9rem;
  text-align: left !important;
}

/* ==========================================================================
   Dynamic CMS Page Layout & Contextual Sidebar
   ========================================================================== */
.page-hero-banner {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.page-hero-banner img {
  width: 100%;
  aspect-ratio: 10 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 24px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-bar a {
  color: var(--brand-navy);
  font-weight: 600;
}

.breadcrumb-bar a:hover {
  color: var(--brand-gold);
}

.page-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  padding: 44px 0 68px;
  align-items: start;
}

@media (max-width: 960px) {
  .page-layout-grid {
    grid-template-columns: 1fr;
  }
}

.cms-content-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .cms-content-card {
    padding: 22px;
  }
}

/* Hide embedded Bootstrap 4 modal markup inside CMS content; we open them in our modern Lightbox */
.cms-content-body .modal {
  display: none !important;
}

.cms-content-body h3 {
  font-size: 1.5rem;
  color: var(--brand-navy) !important;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-forest-light);
}

.cms-content-body p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-align: justify;
}

.cms-content-body ul,
.cms-content-body ol {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.cms-content-body img {
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/* Uniform image sizing for Picture Bank & media cards inside CMS content */
.cms-content-body .d-flex.justify-content-between {
  align-items: flex-start;
  gap: 16px;
}

.cms-content-body .d-flex.justify-content-between > div:first-child {
  flex: 0 0 165px;
  width: 165px;
}

.cms-content-body .d-flex.justify-content-between > div:first-child img {
  width: 165px !important;
  height: 163px !important;
  object-fit: cover;
  display: block;
}

.cms-content-body .d-flex.justify-content-between > div.ml-3 {
  flex: 1 1 auto;
  margin-left: 0 !important;
}

.cms-content-body [data-toggle="modal"] {
  cursor: pointer;
}

.cms-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.cms-content-body th,
.cms-content-body td {
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}

.cms-content-body table p,
.cms-content-body table ul,
.cms-content-body table ol,
.cms-content-body table li {
  text-align: left !important;
}

.cms-content-body th {
  background: var(--brand-forest-light);
  color: var(--brand-forest-dark);
  font-weight: 700;
}

/* Sidebar Navigation Card */
.side-menu-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 22px 22px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 24px;
}

.side-menu-header {
  display: flex;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.08em;
  color: var(--brand-forest);
  padding: 0 8px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.side-menu-item {
  border-bottom: 1px solid var(--border-color);
}

.side-menu-item:last-child {
  border-bottom: none;
}

.side-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
}

.side-menu-row.active {
  background: var(--brand-forest-light);
  font-weight: 700;
}

.side-menu-row a {
  color: var(--text-main);
  font-size: 0.92rem;
  flex: 1;
}

.side-menu-row.active a {
  color: var(--brand-forest);
}

.side-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
  font-size: 0.85rem;
}

.side-submenu-list {
  list-style: none;
  padding: 0 0 10px 16px;
  margin: 0;
}

.side-submenu-list li a {
  display: block;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--border-color);
}

.side-submenu-list li a:hover,
.side-submenu-list li a.active {
  color: var(--brand-forest);
  border-left-color: var(--brand-forest);
  background: var(--surface-bg);
  font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion, News Cards & Modernized Forms
   ========================================================================== */
.faq-accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question-btn:hover,
.faq-accordion-item.open .faq-question-btn {
  background: var(--brand-forest-light);
  color: var(--brand-forest);
}

.faq-answer-body {
  display: none;
  padding: 18px 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.faq-accordion-item.open .faq-answer-body {
  display: block;
}

/* News & Press */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.news-filter-sep {
  color: var(--text-muted);
  font-size: 0.85rem;
  user-select: none;
}

.news-date-text {
  font-weight: 700;
  font-size: 0.92rem;
}

.filter-pill,
.news-meta-link,
.news-text-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted) !important;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: none;
}

.news-meta-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-pill:hover,
.filter-pill.active,
.filter-pill:active,
.news-meta-link:hover,
.news-text-link:hover {
  background: transparent;
  border: none;
  color: var(--brand-gold) !important;
  box-shadow: none;
}

.news-card-modern {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition);
}

.news-card-modern:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

@media (max-width: 680px) {
  .news-card-modern {
    grid-template-columns: 1fr;
  }
}

.news-card-thumb {
  height: 100%;
  min-height: 190px;
  background: var(--brand-forest-light);
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 22px 24px 22px 0;
}

@media (max-width: 680px) {
  .news-card-content {
    padding: 0 20px 20px 20px;
  }
}

/* Forms */
.modern-form-box {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.94rem;
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-forest);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.12);
}

/* ==========================================================================
   Modals (Lightbox & Search)
   ========================================================================== */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(0, 21, 43, 0.74);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop-custom.open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog-custom {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}

.modal-body-custom {
  padding: 22px;
  overflow-y: auto;
  text-align: center;
}

.modal-close-btn {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--brand-forest-light);
  color: var(--brand-forest);
}

/* Full Screen Certificate / Document View Mode */
.fullscreen-toolbar {
  display: none;
}

.modal-backdrop-custom.is-fullscreen {
  padding: 0;
  background: rgba(0, 15, 30, 0.96);
}

.modal-backdrop-custom.is-fullscreen .modal-dialog-custom {
  max-width: 100vw;
  width: 100vw;
  max-height: 100vh;
  height: 100vh;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.modal-backdrop-custom.is-fullscreen .modal-header-custom {
  display: none;
}

.modal-backdrop-custom.is-fullscreen .modal-body-custom {
  width: 100%;
  height: 100%;
  padding: 64px 24px 36px;
  display: flex;
  align-items: flex-start;
  justify-content: safe center;
  overflow: auto;
}

.modal-backdrop-custom.is-fullscreen #lightboxImage {
  max-height: none !important;
  max-width: none !important;
  width: 840px;
  height: auto !important;
  margin: 0 auto;
  border-radius: 4px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  cursor: zoom-in;
  transition: width 0.15s ease;
  user-select: none;
}

.modal-backdrop-custom.is-fullscreen #lightboxImage.zoomed-in {
  cursor: grab;
}

.modal-backdrop-custom.is-fullscreen #lightboxImage.zoomed-in:active {
  cursor: grabbing;
}

.modal-backdrop-custom.is-fullscreen .fullscreen-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 16px;
  right: 22px;
  z-index: 2100;
}

.fullscreen-zoom-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.82);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.fullscreen-tool-btn,
.fullscreen-zoom-label {
  height: 28px;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.fullscreen-tool-btn {
  width: 28px;
  font-size: 1.05rem;
}

.fullscreen-zoom-label {
  padding: 0 10px;
  font-size: 0.78rem;
  min-width: 54px;
}

.fullscreen-close-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.fullscreen-tool-btn:hover,
.fullscreen-zoom-label:hover,
.fullscreen-close-x:hover {
  background: var(--brand-forest);
  color: #ffffff;
  border-color: var(--brand-forest);
}

.fullscreen-tool-btn:active,
.fullscreen-zoom-label:active,
.fullscreen-close-x:active {
  background: var(--brand-gold);
  color: #ffffff;
  border-color: var(--brand-gold);
}

/* Footer */
.site-footer {
  background: #001f3f;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 0;
  border-top: 2px solid var(--brand-gold);
  font-size: 0.76rem;
}

.site-footer p {
  margin: 0 !important;
  line-height: 1.35;
  font-size: 0.76rem;
}

.site-footer small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
}

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