/* ==========================================================================
   GLC (Global Lead Consultants) Custom Design System Stylesheet
   Framework: Bootstrap 5 + Custom Design Tokens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR VARIABLES & BASE TOKENS
   -------------------------------------------------------------------------- */
:root {
  --navy: #2D2E83;
  --navy-dark: #1d1e56;
  --navy-light: #393bb3;
  --glc-green: #6DC040;
  --glc-green-hover: #699c4e;
  --glc-gold: #C9973A;
  --glc-gold-hover: #b3842c;
  --cream: #eaedf4;
  --paper: #FBFAF6;
  --charcoal: #2A2B3D;
  --charcoal-muted: #565872;
  --line: #E6E2D6;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-slab: 'Roboto Slab", serif';
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--glc-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. REPEATED UTILITY CLASSES (Colors, Fonts, Sizes)
   -------------------------------------------------------------------------- */

/* Brand Background Utilities */
.bg-paper {
  background-color: var(--paper) !important;
}

.bg-cream {
  background-color: var(--cream) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-navy-dark {
  background-color: var(--navy-dark) !important;
}

.bg-glc-gold {
  background-color: var(--glc-gold) !important;
}

.bg-glc-green {
  background-color: var(--glc-green) !important;
}

.bg-charcoal {
  background-color: var(--charcoal) !important;
}

.bg-line {
  background-color: var(--line) !important;
}

/* Brand Text Utilities */
.text-navy {
  color: var(--navy) !important;
}

.text-glc-gold {
  color: var(--glc-gold) !important;
}

.text-glc-green {
  color: var(--glc-green) !important;
}

.text-charcoal {
  color: var(--charcoal) !important;
}

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

.text-cream {
  color: var(--cream) !important;
}

.text-cream-muted {
  color: rgba(244, 241, 234, 0.8) !important;
}

/* Border Utilities */
.border-line {
  border-color: var(--line) !important;
}

.border-white-20 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Transparent White Backgrounds (used in hero) */
.bg-white-20 {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Define missing btn-glc-outline-white properly */
.btn-glc-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

/* Define missing btn-glc-outline-white properly */
.btn-glc-outline-white-2 {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  backdrop-filter: blur(8px);
}

.btn-glc-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #ffffff;
}

/* Font Family Utilities */
.font-display {
  font-family: var(--font-display) !important;
}

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

.font-slab {
  font-family: var(--font-slab) !important;
}

/* Repeated Text Size Utilities */
.text-size-11 {
  font-size: 11px !important;
}

.text-size-12 {
  font-size: 12px !important;
}

.text-size-13 {
  font-size: 13px !important;
}

.text-size-14 {
  font-size: 14px !important;
}

.text-size-16 {
  font-size: 16px !important;
}

.text-size-18 {
  font-size: 18px !important;
}

.text-size-20 {
  font-size: 20px !important;
}

.text-size-24 {
  font-size: 24px !important;
}

.text-size-28 {
  font-size: 28px !important;
}

.text-size-32 {
  font-size: 32px !important;
}

/* Section Headings */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--glc-gold);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.05;
}

/* --------------------------------------------------------------------------
   3. REPEATED COMPONENTS (Cards, Buttons, Badges)
   -------------------------------------------------------------------------- */

/* Border Radii */
.rounded-card {
  border-radius: 1.25rem !important;
}

.rounded-card-lg {
  border-radius: 1.5rem !important;
}

.rounded-pill-custom {
  border-radius: 9999px !important;
}

/* Cards */
.card-glc-navy {
  background-color: var(--navy);
  border-radius: 1.25rem;
  transition: all 0.3s ease;
}

.card-glc {
  background-color: var(--cream);
  border-radius: 1.25rem;
  transition: all 0.3s ease;
}

/* Practice Area Full-Width Rows */
.practice-card {
  background-color: var(--cream);
  border-color: var(--line);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.practice-card:hover {
  background-color: #ecf1f8;
}

.practice-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.practice-card:hover .practice-arrow-btn {
  background-color: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateX(4px);
}



/* Pill Buttons */
.btn-glc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-glc-navy {
  background-color: var(--navy);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-navy:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.btn-glc-gold {
  background-color: var(--glc-gold);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-gold:hover {
  background-color: var(--glc-gold-hover);
  color: #ffffff;
}

.btn-glc-green {
  background-color: var(--glc-green);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-green:hover {
  background-color: var(--glc-green-hover);
  color: #ffffff;
}

.btn-glc-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-lang-toggle {
  background-color: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-lang-toggle:hover {
  background-color: var(--cream);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-circle-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-glc-pill:hover .btn-circle-icon {
  transform: translateX(2px);
}

/* Badges */
.badge-glc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION & HEADER
   -------------------------------------------------------------------------- */
.header-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-pill-group {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
}

.nav-link-pill {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link-pill:hover {
  color: var(--navy);
  background-color: rgba(244, 241, 234, 0.7);
}

.nav-link-pill.active {
  background-color: var(--navy);
  color: #ffffff !important;
}

/* ── Services Dropdown (White Background & Black Text) ──────────────────── */
.glc-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.glc-nav-dropdown:hover .nav-link-pill:not(.active) {
  color: var(--navy);
  background-color: rgba(244, 241, 234, 0.7);
}

.glc-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: #ffffff !important;
  /* Pure White Background */
  min-width: 260px;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
  z-index: 1060;
}

/* Invisible hover bridge to prevent menu from closing when mouse travels between pill and menu */
.glc-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.glc-nav-dropdown:hover .glc-dropdown-menu,
.glc-nav-dropdown:focus-within .glc-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.glc-dropdown-item {
  display: block;
  padding: 0.6rem 0.95rem;
  border-radius: 0.625rem;
  color: #111111 !important;
  /* Crisp Black Text */
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
}

.glc-dropdown-item:hover {
  background-color: #f3f4f6;
  /* Light gray subtle hover */
  color: #000000 !important;
  /* Pure black on hover */
  padding-left: 1.15rem;
}

.glc-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.4rem 0.5rem;
}

.glc-dropdown-all {
  color: #111111 !important;
  background-color: #f9fafb;
  font-weight: 700;
}

.glc-dropdown-all:hover {
  background-color: #f0f2f5;
  color: var(--navy) !important;
}

/* Smooth Scroll Margins for Fixed Header */
section[id],
.practice-card[id] {
  scroll-margin-top: 85px;
}


/* --------------------------------------------------------------------------
   5. HERO BANNER & AUTO CAROUSEL (Full Width)
   -------------------------------------------------------------------------- */
.hero-wrapper-full {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: var(--navy);
  color: #ffffff;
  overflow: hidden;
  border-radius: 0;
}

@media (min-width: 992px) {
  .hero-banner-card {
    min-height: 600px;
  }
}

/* ── Dynamic Content Height via CSS Grid Stacking ────────────────────────── */
/* Track and slides fill the entire card so image covers everything including pagination */
.hero-slider-track,
#hero-slider-track {
  display: grid;
  grid-template-areas: "hero-slide-stack";
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {

  .hero-slider-track,
  #hero-slider-track {
    min-height: 600px;
  }
}

.hero-slide {
  grid-area: hero-slide-stack;
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Balanced responsive padding */
  padding: 2.5rem 2.75rem 4.5rem;
}

@media (min-width: 576px) {
  .hero-slide {
    padding: 2.75rem 3.5rem 4.5rem;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    padding: 3rem 4.5rem 4.5rem;
  }
}

@media (min-width: 992px) {
  .hero-slide {
    min-height: 700px;
    padding: 3.5rem 5.5rem 4.5rem;
  }
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.inactive {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Background image & overlay fill entire slide as full cover */
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.hero-slide::after,
.hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(14 21 58 / 39%) 0%, rgb(14 21 58 / 49%) 48%, rgb(14 21 58 / 0%) 100%), linear-gradient(0deg, rgb(14 21 58 / 53%) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .hero-slide-img {
    opacity: 0.75;
  }

  .hero-slide::after,
  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(14, 21, 58, 0.88) 0%,
        rgba(14, 21, 58, 0.75) 50%,
        rgba(14, 21, 58, 0.88) 100%);
  }
}

/* Slide text content sits above image and overlay */
.hero-slide-content {
  position: relative;
  z-index: 5;
  max-width: 830px;
  width: 100%;
}

.hero-slide-content h1 {
  font-size: clamp(1.85rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-slide-content p {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.6;
}

/* ── Hero Controls (Arrows & Dots) ─────────────────────────────────────── */
.hero-arrow-wrapper,
.hero-arrow-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.hero-arrow-prev {
  left: 0.5rem;
}

.hero-arrow-next {
  right: 0.5rem;
}

@media (min-width: 576px) {
  .hero-arrow-prev {
    left: 0.85rem;
  }

  .hero-arrow-next {
    right: 0.85rem;
  }
}

@media (min-width: 992px) {
  .hero-arrow-prev {
    left: 1.5rem;
  }

  .hero-arrow-next {
    right: 1.5rem;
  }
}

.hero-arrow-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-arrow-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.hero-arrow-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.06);
}

.hero-dots-wrapper,
.hero-dots-container {
  position: absolute;
  bottom: 1.5rem;
  left: 2.75rem;
  z-index: 25;
  pointer-events: auto;
}

@media (min-width: 576px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    left: 3.5rem;
  }
}

@media (min-width: 768px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    left: 4.5rem;
  }
}

@media (min-width: 992px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    bottom: 2rem;
    left: 5.5rem;
  }
}

.hero-dot {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-dot {
    height: 10px;
    width: 10px;
  }
}

.hero-dot.active {
  width: 28px;
  background-color: var(--glc-green);
}

.hero-dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   6. FAQ ACCORDION (Bootstrap Customization)
   -------------------------------------------------------------------------- */
.accordion-glc .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}

.accordion-glc .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  padding: 1.25rem 0;
}

.accordion-glc .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}

.accordion-glc .accordion-button::after {
  content: "add";
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--navy);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.accordion-glc .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background-color: var(--navy);
  color: #ffffff;
}

.accordion-glc .accordion-body {
  padding: 0 0 1.25rem 0;
  font-size: 0.875rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. FOOTER & WATERMARK
   -------------------------------------------------------------------------- */
.watermark-text {
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--glc-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. MOBILE DRAWER NAV (Right-side slide panel)
   -------------------------------------------------------------------------- */

/* Hamburger button */
.glc-burger-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.glc-burger-btn:hover {
  background-color: var(--cream);
  border-color: var(--glc-gold);
}

/* Backdrop */
.glc-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background-color: rgba(10, 11, 40, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.glc-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel slides in from the right */
.glc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  width: 300px;
  max-width: 85vw;
  background-color: #ffffff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.glc-drawer.open {
  transform: translateX(0);
}

/* Drawer header */
.glc-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

/* Close button */
.glc-drawer-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.glc-drawer-close:hover {
  background-color: var(--line);
}

/* Nav links */
.glc-drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
}

.glc-drawer-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.18s ease;
}

.glc-drawer-link:hover {
  color: var(--navy);
  background-color: var(--cream);
  border-left-color: var(--glc-gold);
}

.glc-drawer-link.active {
  color: var(--navy);
  background-color: var(--cream);
  border-left-color: var(--glc-gold);
  font-weight: 700;
}

/* Footer CTA buttons */
.glc-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background-color: var(--paper);
}

/* Outline navy button variant */
.btn-glc-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-glc-outline-navy:hover {
  background-color: var(--navy);
  color: #ffffff;
}

/* Lock body scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Training Academy Section Styles
   -------------------------------------------------------------------------- */
.training-focus-item {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}



/* --------------------------------------------------------------------------
   Testimonials Section Styles
   -------------------------------------------------------------------------- */
.testimonial-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--glc-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 46, 131, 0.08);
}

/* --------------------------------------------------------------------------
   Editorial Publication Masonry Grid Styles
   -------------------------------------------------------------------------- */
.editorial-masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem 2rem;
  align-items: start;
}

.editorial-post {
  display: flex;
  flex-direction: column;
}

.editorial-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.editorial-media {
  margin: 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background-color: var(--cream);
  position: relative;
}

.editorial-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-link:hover .editorial-img {
  transform: scale(1.04);
}

.editorial-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--glc-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color 0.25s ease;
}

.editorial-link:hover .editorial-title {
  color: var(--glc-gold);
}

.editorial-meta {
  font-size: 12px;
  color: var(--charcoal-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* Featured Article Specific Styling */
.editorial-featured .editorial-title {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* Image sizes: natural height, no fixed aspect ratio */
.editorial-media-landscape,
.editorial-media-portrait,
.editorial-media-square,
.editorial-media-big {
  aspect-ratio: unset;
  height: auto;
  min-height: unset;
}

/* --------------------------------------------------------------------------
   Editorial 3-Column Layout: Left Panel (header + 2 article cols) + Right Panel (featured)
   -------------------------------------------------------------------------- */

/* Outer wrapper: use Bootstrap row but with a left/right vertical divider on desktop */
.editorial-grid-wrap {
  --editorial-gap: 2.5rem;
}

/* Left panel takes 2/3 width; right panel takes 1/3 */
@media (min-width: 992px) {


  .editorial-right-panel {
    padding-left: calc(var(--editorial-gap) / 2);
  }

  /* Make right panel's featured article stretch to match the full left-panel height */


  .editorial-right-panel .editorial-post.editorial-featured .editorial-link {
    height: 100%;
  }

  .editorial-right-panel .editorial-media-big {
    height: auto;
  }
}

/* Section header row inside the left panel: title on left, button on right */


/* On mobile: stack everything, no side divider */
@media (max-width: 991.98px) {

  .editorial-left-panel,
  .editorial-right-panel {
    padding-right: 0;
    padding-left: 0;
    border-right: none;
  }

  .editorial-right-panel {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   Editorial Image Overlay: Title inside image box at the bottom
   -------------------------------------------------------------------------- */

/* The figure must be position:relative (already set via .editorial-media) */
.editorial-media {
  position: relative;
}

/* Overlay figcaption: sits at the bottom of the image */
.editorial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.82) 0%,
      rgba(10, 10, 20, 0.45) 55%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  border-radius: 0 0 4px 4px;
  transition: background 0.3s ease;
}

/* Slightly deepen gradient on hover for depth */
.editorial-link:hover .editorial-overlay {
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.92) 0%,
      rgba(10, 10, 20, 0.55) 60%,
      transparent 100%);
}

/* Override tag color to white-ish gold when on image */
.editorial-overlay .editorial-tag {
  color: var(--glc-gold);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Title override: white on image overlay */
.editorial-title-overlay {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.editorial-link:hover .editorial-title-overlay {
  color: #ffffff !important;
}

/* Featured article overlay: taller gradient, bigger title */
.editorial-overlay-featured {
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.88) 0%,
      rgba(10, 10, 20, 0.5) 50%,
      transparent 100%);
}

.editorial-title-featured {
  font-size: 1.35rem !important;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Editorial Newsletter Subscribe Box
   -------------------------------------------------------------------------- */
.editorial-newsletter {
  background-color: var(--navy);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.editorial-newsletter .section-eyebrow {
  color: var(--glc-gold);
}

.editorial-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.editorial-newsletter-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.editorial-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.editorial-newsletter-field {
  position: relative;
}

.editorial-newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.editorial-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.editorial-newsletter-input:focus {
  border-bottom-color: var(--glc-gold);
}

.editorial-newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--glc-gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}

.editorial-newsletter-btn:hover {
  background-color: #c9a84c;
  transform: translateY(-1px);
}