/*
Theme Name: Aureon Partners
Theme URI: https://example.com/aureus-partners
Author: Aureus Partners
Author URI: https://example.com
Description: A luxury advisory & M&A theme for Aureus Partners — navy, gold and cream palette with Playfair Display and Montserrat typography. Includes a custom front page, services overview with five detail pages, partners, team and contact templates.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aureus-partners
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* ═══════════════════════════════════════════════════════
   AUREUS PARTNERS — SHARED STYLESHEET
   Used by every page of the site
═══════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: #1a1a1a; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ─── VARS ─── */
:root {
  /* --gold: #C9A96E;
  --gold-btn: #C9A040; */
  --gold: #8D6326;
  --gold-btn: #8D6326;
  --navy: #0E2036;
  --navy2: #0E2036;
  --cream: #EDE8DC;
  --text: #1a1a1a;
  --mid: #555;
  --light: #888;
  --right-w: 240px;
}

/* ═══════════════════════════════════════
   HERO WRAPPER (home page only)
═══════════════════════════════════════ */
.hero-lic-container { position: relative; width: 100%; }
.hero-wrap { 
  position: relative; 
  width: 100%; 
  min-height: 430px;
  overflow: hidden; /* Important for slider */
}

/* ─── HERO SLIDER ─── */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 1;
}

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

/* Fade transition */
.hero-slide.fade {
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* Slide from left */
.hero-slide.slide-left {
  transform: translateX(-100%);
}
.hero-slide.slide-left.active {
  transform: translateX(0);
}

/* Slide from right */
.hero-slide.slide-right {
  transform: translateX(100%);
}
.hero-slide.slide-right.active {
  transform: translateX(0);
}

/* Slide from top */
.hero-slide.slide-top {
  transform: translateY(-100%);
}
.hero-slide.slide-top.active {
  transform: translateY(0);
}

/* Slide from bottom */
.hero-slide.slide-bottom {
  transform: translateY(100%);
}
.hero-slide.slide-bottom.active {
  transform: translateY(0);
}

/* Zoom in/out */
.hero-slide.zoom-in {
  transform: scale(1.2);
}
.hero-slide.zoom-in.active {
  transform: scale(1);
}

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

/* ─── SLIDER CAPTIONS ─── */
.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 25, 41, 0.95) 0%, rgba(11, 25, 41, 0.4) 70%, transparent 100%);
  padding: 30px 20px 20px;
  z-index: 3;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

.hero-slide.active .hero-slide-caption {
  transform: translateY(0);
  opacity: 1;
}

.slide-tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.hero-slide-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ─── SLIDER NAVIGATION BUTTONS ─── */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 25, 41, 0.6);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-nav:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.05);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

/* ─── SLIDER DOTS ─── */
.slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

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

/* ─── PROGRESS BAR ─── */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
  width: 0%;
  transition: width 0.1s linear;
}

.hero-overlay {
  position: absolute; 
  inset: 0; 
  z-index: 2;
  background: linear-gradient(to right, rgba(8, 18, 30, 0.88) 0%, rgba(8, 18, 30, 0.75) 38%, rgba(8, 18, 30, 0.30) 62%, rgba(8, 18, 30, 0.10) 76%);
}

/* ═══════════════════════════════════════
   NAVBAR — shared across all pages
═══════════════════════════════════════ */
.navbar {
  position: absolute;
  top: 0; 
  left: 0;
  right: var(--right-w);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 28px;
  width: 100%
}

/* For home page: navbar takes full width, stats panel is on the right */
.navbar {
  right: var(--right-w); /* 240px space for stats panel */
}

/* For inner pages: navbar spans full width */
.navbar.full { 
  right: 0; 
}

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

.logo-box {
  width: 200px; 
  height: 130px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex-shrink: 0;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-box svg { width: 40px; height: 40px; }
.logo-txt { line-height: 1; }
.logo-brand {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.15em; color: #fff; display: block; line-height: 1.3;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 7px;
  letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase;
  display: block; margin-top: 2px;
}

.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  margin-left: auto;
  flex-shrink: 0; /* Prevents nav from shrinking */
}
.nav-links .menu-item-gtranslate {
  margin-left: 40px; /* ← Extra gap for the last item */
}
.nav-links a {
  font-family: 'Montserrat', sans-serif; 
  font-size: 10px; 
  font-weight: 600;
  letter-spacing: 0.13em; 
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase; 
  transition: color .2s;
  white-space: nowrap; /* Prevents menu items from wrapping */
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active {
  color: #fff;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* Dropdown */
.nav-links .menu-item-has-children { position: relative; }
.nav-links .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 8px;
}
.nav-links .sub-menu {
  display: none; 
  position: absolute; 
  background-color: var(--navy2);
  min-width: 220px; 
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 200; 
  border-top: 2px solid var(--gold); 
  top: 100%; 
  left: 0;
  padding: 0;
}
.nav-links .menu-item-has-children:hover > .sub-menu { 
  display: block; 
}
.nav-links .sub-menu li {
  list-style: none;
}
.nav-links .sub-menu a {
  color: rgba(255, 255, 255, 0.82) !important; 
  padding: 12px 16px !important;
  display: block; 
  font-size: 9px !important; 
  font-weight: 600; 
  letter-spacing: 0.1em;
  text-transform: uppercase; 
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  transition: background 0.2s, color 0.2s; 
  text-align: left;
  white-space: nowrap;
}
.nav-links .sub-menu li:last-child a { 
  border-bottom: none !important; 
}
.nav-links .sub-menu a:hover { 
  background-color: var(--navy); 
  color: var(--gold) !important; 
}
.nav-links .current-menu-item > a,
.nav-links .current-menu-parent > a,
.nav-links .current_page_item > a {
  color: #fff; 
  /* border-bottom: 2px solid var(--gold);  */
  padding-bottom: 2px;
}

.hamburger {
  display: none; 
  flex-direction: column; 
  gap: 5px;
  cursor: pointer; 
  padding: 4px; 
  margin-left: 15px;
  flex-shrink: 0; /* Prevents hamburger from shrinking */
}
.hamburger span { 
  display: block; 
  width: 22px; 
  height: 2px; 
  background: #fff; 
  transition: 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none; 
  position: fixed; 
  top: 68px; 
  left: 0; 
  right: 0; 
  z-index: 300;
  background: var(--navy); 
  padding: 18px 22px 26px; 
  max-height: calc(100vh - 68px); 
  overflow-y: auto;
  flex-direction: column; 
  gap: 0;
  border-top: 1px solid rgba(201, 169, 110, 0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif; 
  font-size: 12px; 
  font-weight: 600;
  letter-spacing: 0.14em; 
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase; 
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .sub-menu a { 
  padding-left: 20px; 
  font-size: 11px; 
  color: var(--gold); 
}

/* ═══════════════════════════════════════
   HERO LEFT CONTENT (home page)
═══════════════════════════════════════ */
.hero-content-wrapper {
  position: relative; z-index: 2; margin-right: var(--right-w);
  padding: 110px 40px 52px 40px; min-height: 430px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hero-left { position: relative; flex: 1.2; display: flex; flex-direction: column; justify-content: center; max-width: 550px; }

/* ═══════════════════════════════════════
   RIGHT PANEL (home page only)
═══════════════════════════════════════ */
.hero-right {
  position: absolute; top: 57px; right: 0; bottom: 168px; width: var(--right-w); z-index: 50;
  background: var(--navy); display: flex; flex-direction: column; backdrop-filter: blur(2px);
}
.stats-block {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding:  5px 20px; gap: 33px; border-left: 1px solid rgba(201, 169, 110, 0.18);
}
.stat-row { display: flex; align-items: flex-start; gap: 14px; }
.stat-icon { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.stat-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stat-label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.04em; display: block; line-height: 1.2; margin-bottom: 3px; }
.stat-desc { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 400; color: rgba(255, 255, 255, 0.52); letter-spacing: 0.04em; display: block; line-height: 1.55; }

.access-box { background: var(--navy); padding: 20px 22px 18px; flex-shrink: 0; }
.access-box div { border: 2px solid var(--gold); padding: 12px; }
.access-box h4 { font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; line-height: 1.5; margin-bottom: 10px; }
.access-box p { font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 400; color: rgba(255, 255, 255, 0.58); line-height: 1.7; margin-bottom: 14px; }
.btn-request {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 8px;
  background: var(--gold-btn); font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); border: none; cursor: pointer; transition: .2s;
}
.btn-request:hover { background: #d4b06a; }
.access-note { font-family: 'Montserrat', sans-serif; font-size: 8px; color: rgba(255, 255, 255, 0.32); text-align: center; margin-top: 9px; line-height: 1.6; }

.hero-tagline { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.80); line-height: 1.7; margin-bottom: 80px; letter-spacing: 0.02em; }
.hero-title { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 0.92; margin-bottom: 18px; }
.hero-title .t1 { display: block; font-size: clamp(48px, 5.5vw, 72px); color: var(--gold); }
.hero-title .t2 { display: block; font-size: clamp(48px, 5.5vw, 72px); color: var(--gold); }
.hero-services { font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.60); text-transform: uppercase; margin-bottom: 14px; }
.dot { color: var(--gold); margin: 0 7px; }
.hero-desc { font-family: 'Montserrat', sans-serif; font-size: 11.5px; font-weight: 400; color: rgba(255, 255, 255, 0.70); line-height: 1.8; margin-bottom: 20px; margin-top: 60px; max-width: 380px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-go {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 20px;
  font-family: 'Montserrat', sans-serif; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; transition: .2s; cursor: pointer; border: none;
}
.btn-go.gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-go.gold:hover { background: var(--gold); color: var(--navy); }
.btn-go.white { border: 1.5px solid rgba(255, 255, 255, 0.40); color: rgba(255, 255, 255, 0.82); background: transparent; }
.btn-go.white:hover { background: rgba(255, 255, 255, 0.10); }

/* ═══════════════════════════════════════
   LICENSING STRIP (home page)
═══════════════════════════════════════ */
.licensing { background: var(--cream); padding: 30px 40px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); position: relative; z-index: 10;}
.lic-head { display: flex; align-items: center; gap: 14px; font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: #666; margin-bottom: 26px; }
.lic-head::before, .lic-head::after { content: ''; flex: 1; height: 1px; background: rgba(0, 0, 0, 0.14);}
.lic-row { overflow: hidden; width: 100%; display: flex; }
.lic-track { display: flex; align-items: center; width: max-content; animation: marquee 25s linear infinite; }
.lic-track:hover { animation-play-state: paused; }
.lic-item { display: flex; align-items: center; gap: 30px; margin-right: 80px; flex-shrink: 0; }
.lic-brand { display: flex; flex-direction: column; align-items: center; padding: 0; }
.lic-brand img { max-height: 70px; max-width: 180px; object-fit: contain; }
.lic-brand-sub { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #777; margin-top: 5px; }
.lic-sep { width: 1px; background: rgba(0, 0, 0, 0.12); align-self: stretch; min-height: 70px; }
.lic-info { padding: 0; display: flex; flex-direction: column; justify-content: center; }
.lic-year { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.lic-role { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #1a1a1a; margin-bottom: 2px; }
.lic-region { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #777; margin-bottom: 3px; }
.lic-period { font-family: 'Montserrat', sans-serif; font-size: 8.5px; color: #999; letter-spacing: 0.04em; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   BOTTOM GRID (home page)
═══════════════════════════════════════ */
.bottom-grid { display: grid; grid-template-columns: 1fr 390px; min-height: 50vh; }
.opps { padding: 28px 34px; border-right: 1px solid rgba(0, 0, 0, 0.08); }
.sec-row { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px;}
.sec-title { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0. 1em; text-transform: uppercase; color: var(--gold); }
.view-link { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #666; display: flex; align-items: center; gap: 4px; transition: color .2s; }
.view-link:hover { color: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { border: 1px solid rgba(0, 0, 0, 0.09); overflow: hidden; background: #fff; }
.card-img { width: 100%; height: 240px; display: block; background: #ccc; }
.card-tag-wrap { padding: 0px 0px; }
 .card-tag { 
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: flex-start; /* Vertical top */
  background: var(--gold); 
  color: #fff; 
  font-family: 'Montserrat', sans-serif; 
  font-size: 12px; 
  font-weight: 700; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  padding: 3px 7px;
  margin: 0px auto 6px auto; /* Top margin and auto for horizontal centering */
  width: fit-content; /* Shrink to content width */
}
.card-body { padding: 3px 9px 11px; }
.card-name { font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
.card-country { font-family: 'Montserrat', sans-serif; font-size: 8.5px; color: #777; margin-bottom: 6px; }
.card-meta { font-family: 'Montserrat', sans-serif; font-size: 8px; color: #777; line-height: 1.9; }
.card-meta strong { color: #1a1a1a; font-weight: 600; }
.card-cta { display: flex; align-items: center; gap: 4px; margin-top: 9px; font-family: 'Montserrat', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); transition: color .2s; }
.card-cta:hover { color: #a07830; }

.track { padding: 28px 24px; }
.track-list {
  display: flex;
  flex-direction: column;
  height: 140vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 20px;
  align-items: center; /* Center all items horizontally */
}

.track-list::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.track-item {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  width: 100%;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

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

.tlogo img {
  max-width: 100%;
  max-height: 80px; /* Adjust as needed */
  width: auto;
  height: auto;
  object-fit: contain;
}
/* ═══════════════════════════════════════
   INNER PAGE HERO (all non-home pages)
═══════════════════════════════════════ */
.page-hero { position: relative; width: 100%; min-height: 300px; display: flex; align-items: center; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(8,18,30,0.92) 0%, rgba(8,18,30,0.80) 45%, rgba(8,18,30,0.55) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 130px 40px 100px; width: 100%; }
.page-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.page-eyebrow .crumb-sep { color: rgba(255,255,255,0.3); }
.page-eyebrow .crumb-current { color: rgba(255,255,255,0.55); }
.page-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4.6vw, 58px); color: var(--gold); line-height: 1.05; max-width: 760px; }
.page-title em { color: var(--gold); font-style: normal; }
.page-sub { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.8; max-width: 560px; margin-top: 16px; }

/* ═══════════════════════════════════════
   GENERIC SECTION HELPERS (inner pages)
═══════════════════════════════════════ */
.section { padding: 70px 40px; }
.section.tight { padding: 50px 40px; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: rgba(255,255,255,0.8); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.eyebrow-sub { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 18px; }
.h2 em {  font-style: normal; }
.lede { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--mid); line-height: 1.9; max-width: 680px; }
.navy .lede, .navy .h2 { color: #fff; }
.navy .lede { color: rgba(255,255,255,0.68); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.four-col { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }

.img-frame { border: 1.5px solid var(--gold); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feature-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.navy .feature-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.feature-num { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); flex-shrink: 0; width: 40px; }
.feature-text h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; }
.feature-text p { font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: var(--mid); line-height: 1.8; }
.navy .feature-text p { color: rgba(255,255,255,0.6); }

.stat-card { border: 1px solid rgba(0,0,0,0.08); padding: 26px 22px; text-align: center; }
.stat-card .num { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold); margin-bottom: 8px; }
.stat-card .lbl { font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #666; }

.process-step { position: relative; padding: 26px 22px; border: 1px solid rgba(0,0,0,0.08); background: #fff; }
.process-step .pnum { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); margin-bottom: 12px; }
.process-step h4 { font-family: 'Montserrat', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.process-step p { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--mid); line-height: 1.75; }

.cta-band { background: #fff; padding: 60px 40px; text-align: center; }
.cta-band .h2 { color: var(--navy); }
.cta-band .lede { color: var(--mid); margin: 0 auto 30px; }
.cta-band .hero-btns { justify-content: center; }

/* Services overview grid (services.html) */
.service-card { border: 1px solid rgba(0,0,0,0.09); background: #fff; display: flex; flex-direction: column; }
.service-card .simg { height: 170px; overflow: hidden; }
.service-card .simg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .simg img { transform: scale(1.06); }
.service-card .sbody { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .stag { font-family: 'Montserrat', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 14px; margin-bottom: 10px; }
.service-card p { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--mid); line-height: 1.8; margin-bottom: 16px; flex: 1; }
.service-card .card-cta { color: var(--navy); }
.service-card .card-cta:hover { color: var(--gold); }

/* Team grid (team.html) */
.team-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px; 
}

.team-card { 
  background: #fff; 
  border: 1px solid rgba(0,0,0,0.08); 
}

.team-card .timg { 
  height: 400px; 
  overflow: hidden; 
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .timg img { 
  max-width: 100%; 
  max-height: 100%; 
  width: auto;
  height: auto;
  object-fit: contain; /* Ensures the entire image is visible */
}

.team-card .tbody { 
  padding: 16px 18px 20px; 
}

.team-card h4 { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 12px; 
  font-weight: 700; 
  letter-spacing: 0.04em; 
  text-transform: uppercase; 
  margin-bottom: 3px; 
}

.team-card .role { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 9px; 
  color: var(--gold); 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  margin-bottom: 10px; 
}

.team-card .bio { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 10.5px; 
  color: var(--mid); 
  line-height: 1.75; 
}

/* Partners logos grid (partners.html) */
.partner-scroll-wrapper { overflow: hidden; width: 100%;  background: #ffffff;  padding: 20px 0;  border: 1px solid rgba(0,0,0,0.09); border-radius: 8px; }

  .partner-scroll-track { display: flex;  gap: 18px;  width: max-content; animation: scrollLeft 20s linear infinite; }

  .partner-scroll-track:hover { animation-play-state: paused; }

  .partner-logo-box { flex: 0 0 auto; width: 220px; height: 110px; background: #fff; border: 1px solid rgba(0,0,0,0.09); display: flex; align-items: center; justify-content: center; padding: 14px;}
  .partner-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain;}
  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
.partner-detail { display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.partner-detail:last-child { border-bottom: none; }
.partner-detail .plogo { display: flex; align-items: center; height: 50px; }
.partner-detail .plogo img { max-height: 44px; max-width: 100%; object-fit: contain; }
.partner-detail .pinfo h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 4px; }
.partner-detail .pinfo span { font-family: 'Montserrat', sans-serif; font-size: 10.5px; color: var(--mid); }
.partner-detail .pyear { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 17px; white-space: nowrap; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .cicon { width: 38px; height: 38px; border: 1.5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .cicon svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-info-item h4 { font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: var(--mid); line-height: 1.7; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1a1a1a; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(0,0,0,0.16); background: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: #1a1a1a;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 1.5px solid var(--gold); border-color: var(--gold); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  padding: 13px 30px; background: var(--gold-btn); border: none; color: var(--navy);
  font-family: 'Montserrat', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: pointer; transition: .2s;
}
.btn-submit:hover { background: #d4b06a; }

.office-card { border: 1px solid rgba(0,0,0,0.08); padding: 26px 24px; }
.office-card h4 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.office-card p { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--mid); line-height: 1.85; }
.office-card .otag { font-family: 'Montserrat', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; display: block; }

/* ═══════════════════════════════════════
   FOOTER — shared across all pages
═══════════════════════════════════════ */
footer { background: var(--navy); color: rgba(255, 255, 255, 0.5); padding: 42px 40px 26px; }
.ft-grid { display: grid; grid-template-columns: 300px 1fr 1fr   170px; gap: 28px; margin-bottom: 32px; }
.ft-logo-row { display: flex; align-items: center; gap: 10px;  }
.ft-logo-box { width: 200px; height: 100px; flex-shrink: 0; }
.ft-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.ft-brand-txt p { margin-left: 9px; font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.42); line-height: 1; text-align: justify; }
.ft-col h5 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 13px; }
.ft-col ul { display: flex; flex-direction: column; gap: 8px; }
.ft-col ul li a { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.42); transition: color .2s; }
.ft-col ul li a:hover { color: var(--gold); }
.ft-cities div { font-family: 'Montserrat', sans-serif; font-size: 9px; color: rgba(255, 255, 255, 0.42); line-height: 2.1; }
.btn-offices { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.2); font-family: 'Montserrat', sans-serif; font-size: 8px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); transition: .2s; }
.btn-offices:hover { border-color: var(--gold); color: var(--gold); }
.social-row { display: flex; gap: 9px; margin-bottom: 10px; }
.social-row a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.50); font-size: 12px; font-weight: 700; transition: .2s; }
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ft-bottom p { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.28); }
.ft-btm-links { display: flex; gap: 16px; align-items: center; }
.ft-btm-links a { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.28); transition: color .2s; }
.ft-btm-links a:hover { color: var(--gold); }
.ft-btm-links span { color: rgba(255, 255, 255, 0.14); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --right-w: 220px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand-col { grid-column: 1 / -1; }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --right-w: 200px; }
  .bottom-grid { grid-template-columns: 1fr; }
  .opps { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .lic-row { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .lic-sep { display: none; }
  .lic-info { text-align: center; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand-col { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-detail { grid-template-columns: 130px 1fr auto; }
}
@media (max-width: 768px) {
  :root { --right-w: 0px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-lic-container { display: flex; flex-direction: column; }
  /* .hero-wrap { order: 1; } */
  .hero-right { order: 2; position: static; width: 100%; display: flex; flex-direction: row; border-left: none; }
  .stats-block { flex-direction: row; flex-wrap: wrap; padding: 16px 16px; gap: 14px; border-left: none; border-top: 1px solid rgba(201, 169, 110, 0.18); }
  .stat-row { flex: 1 1 calc(50% - 7px); min-width: 130px; }
  .access-box { flex: 1; min-width: 200px; }
  .hero-content-wrapper { flex-direction: column; margin-right: 0; padding: 90px 20px 36px; gap: 24px; }
  .hero-left { width: 100%; }
  .licensing { order: 3; padding: 22px 16px; margin-right: 0; }
  .navbar { right: 0; padding: 0 16px; }
  .logo-box { width: 100px; height: 100px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .opps { padding: 22px 16px; }
  .track { padding: 22px 16px; }
  footer { padding: 32px 18px 22px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .page-hero-content { padding: 100px 20px 40px; }
  .section, .section.tight { padding: 44px 20px; }
  .cta-band { padding: 44px 20px; }
  .three-col { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .partner-detail { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .partner-detail .plogo { justify-content: center; }
  
  /* Slider responsive */
  .slider-nav {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }
  .slider-dots { bottom: 80px; }
  .slider-dot {
    width: 8px;
    height: 8px;
  }
  .hero-slide-caption h3 { font-size: 14px; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .stats-block { flex-direction: column; }
  .ft-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .lic-head { font-size: 7.5px; letter-spacing: 0.15em; }
  .track-item { grid-template-columns: 12px 70px 1fr auto; }
  .four-col { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .partner-logo-grid { grid-template-columns: 1fr 1fr; }
  .logo-box { width: 82px; height: 82px; }
}

/* ═══════════════════════════════════════
   WORDPRESS NAV MENU ADAPTATION
   (wp_nav_menu outputs <ul class="menu"><li><a>) instead of the
   flat markup used in the static prototype, so we adapt selectors here.
═══════════════════════════════════════ */
.nav-links.menu { display: flex; align-items: center; gap: 24px; }
.nav-links .menu-item { position: relative; }
.nav-links .menu-item-has-children > a::after { content: "\00a0\00a0▼"; font-size: 8px; }
.nav-links .sub-menu {
  display: none; position: absolute; background-color: var(--navy2);
  min-width: 230px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 200; border-top: 2px solid var(--gold); top: 100%; left: 0; list-style: none;
}
.nav-links .menu-item-has-children:hover > .sub-menu { display: block; }
.nav-links .sub-menu a {
  color: rgba(255, 255, 255, 0.82) !important; padding: 12px 16px !important;
  display: block; font-size: 9px !important; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  transition: background 0.2s, color 0.2s; text-align: left;
}
.nav-links .sub-menu li:last-child a { border-bottom: none !important; }
.nav-links .sub-menu a:hover { background-color: var(--navy); color: var(--gold) !important; }
.nav-links .menu-item.current-menu-item > a,
.nav-links .menu-item.current-menu-parent > a,
.nav-links .menu-item.current_page_item > a {
  color: #fff;  padding-bottom: 2px;
}

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu .menu-item { display: block; }
.mobile-menu .sub-menu .menu-item a { padding-left: 20px; font-size: 11px; color: var(--gold); }
.mobile-menu a { display: block; }
.mobile-menu .menu-item.current-menu-item > a,
.mobile-menu .menu-item.current_page_item > a { color: var(--gold); }

.ft-col .menu { display: flex; flex-direction: column; gap: 8px; margin-left: 10px }
.ft-col .menu a { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.42); transition: color .2s; }
.ft-col .menu a:hover { color: var(--gold); }

/* WordPress core alignment/media helpers used by page.php / index.php content */
.wp-content-area { max-width: 820px; margin: 0 auto; padding: 130px 40px 70px; font-family: 'Montserrat', sans-serif; }
.wp-content-area h1, .wp-content-area h2, .wp-content-area h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 16px; }
.wp-content-area p { font-size: 13px; line-height: 1.9; color: var(--mid); margin-bottom: 18px; }
.wp-content-area img { margin: 20px 0; }
.wp-content-area a { color: var(--gold-btn); text-decoration: underline; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: 100%; }

/* ═══════════════════════════════════════
   HERO "WHAT WE DO" INTRO PARAGRAPH
═══════════════════════════════════════ */
.hero-what-we-do {
  padding: 24px 0px;
  border-radius: 4px;
  margin-top: 10px;
}

.hero-what-we-do p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.9;
  margin: 0;
  text-align: justify;
}

.hero-what-we-do .icon {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

.hero-what-we-do strong {
  color: #fff;
  font-weight: 600;
}

/* ═══════════════════════════════════════
   CREAM SECTION WITH EXPANDABLE POINTS
═══════════════════════════════════════ */
.section-cream-expandable {
  padding: 50px 40px;
  background: var(--cream);
}

.expandable-points-container {
  max-width: 860px;
  margin: 0 auto;
}

.expandable-point {
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.expandable-point-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.expandable-point-header:hover {
  background: rgba(201, 169, 110, 0.06);
}

.expandable-point-header-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.expandable-point-arrow {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
}

.expandable-point-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}

.expandable-point-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.expandable-point-toggle.open {
  transform: rotate(45deg);
}

.expandable-point-detail {
  display: none;
  padding: 0 24px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fafafa;
}

.expandable-point-detail.open {
  display: block;
}

.expandable-point-detail p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.9;
  margin: 20px 0 0 0;
  padding-left: 44px;
}

/* ═══════════════════════════════════════
   STATS GRID SECTION - 4 Columns
═══════════════════════════════════════ */
.stats-grid-section {
  background: var(--navy);
  padding: 40px 40px;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.stats-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.stat-item .stat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.stat-item .stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.stat-content .stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-content .stat-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ─── RESPONSIVE: 4 → 2 columns ─── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stats-grid-section {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stats-grid-section {
    padding: 24px 16px;
  }
  
  .stat-item {
    padding: 6px 0;
  }
}

/* ═══════════════════════════════════════
   EXPANDABLE HERO POINTS (flyout card to the RIGHT)
   NOTE: This is the ONLY definition of .hero-point-* rules in the file.
   An earlier duplicate accordion-style version (display:none / display:block,
   expand-below layout) has been removed — it was conflicting with this
   flyout version and silently keeping the panel at display:none regardless
   of the "open" class, which is why clicking previously appeared to do nothing.
═══════════════════════════════════════ */
.hero-points-wrapper {
  margin-top: 30px;
  max-width: 760px;
  position: relative; /* establishes stacking context for flyouts */
}

.hero-point-item {
  position: relative;   /* anchor for the absolutely-positioned flyout */
  margin-bottom: 10px;
  border-left: 3px solid var(--gold);
  background: var(--navy);
  border-radius: 0 4px 4px 0;
  /* IMPORTANT: no overflow:hidden here — it would clip the flyout,
     which is position:absolute and intentionally extends outside this box */
}

.hero-point-item.is-open {
  z-index: 20; /* lift the open item + its flyout above siblings below it */
}

.hero-point-header {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.hero-point-header:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-point-header-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-point-index {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
  min-width: 22px;
}

.hero-point-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

.hero-point-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.hero-point-toggle.open {
  transform: rotate(45deg);
}

/* ─── FLYOUT PANEL: floats over the page, doesn't affect row height ─── */
.hero-point-detail {
  display: flex;               /* explicit — ensures no stray rule elsewhere can leave this display:none */
  align-items: flex-start;
  position: absolute;
  top: 0;
  left: calc(100% + 14px);
  width: calc(100vw - 110% - 30px);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-12px);
  background: var(--navy);
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.35s;
}

.hero-point-detail.open {
  max-height: 260px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  overflow-y: auto;
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

/* little pointer arrow connecting the flyout back to its header */
.hero-point-detail::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -7px;
  width: 12px;
  height: 12px;
  background: var(--navy);
  border-left: 1px solid rgba(201, 169, 110, 0.28);
  border-bottom: 1px solid rgba(201, 169, 110, 0.28);
  transform: rotate(45deg);
}

.hero-point-detail p {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  margin: 0;
  padding: 18px 20px;
  width: 100%;
  text-align: justify;
}

/* thin scrollbar for long entries */
.hero-point-detail::-webkit-scrollbar { width: 4px; }
.hero-point-detail::-webkit-scrollbar-track { background: transparent; }
.hero-point-detail::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* ─── SMALL/MEDIUM SCREEN FALLBACK: no reliable room for a side flyout, revert to stacked/expand-below ───
   NOTE: breakpoint is 1024px, not 768px. The flyout's "left: calc(100% + 14px)" is anchored to
   .hero-point-item, which spans the FULL WIDTH of the points wrapper (not just the header's own
   width) — so on any screen narrower than a wide desktop window, the 360px flyout tries to render
   past the right edge of the viewport and gets silently clipped by body{overflow-x:hidden}, i.e.
   it "expands" but is invisible off-canvas. Using 1024px here guarantees phones AND tablets/narrow
   windows get the safe, always-visible stacked layout instead. */
@media (max-width: 1024px) {
  .hero-point-item {
    overflow: visible; /* safety: ensure nothing clips the block-mode detail panel */
  }
  .hero-point-detail {
    display: block !important;
    position: static !important;
    left: auto;
    width: 100%;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    box-shadow: none;
    transition: max-height 0.35s ease;
  }
  .hero-point-detail::before {
    display: none;
  }
  .hero-point-detail.open {
    max-height: 500px;
    overflow-y: auto;
  }
  .hero-point-detail p {
    width: 100%;
    padding: 16px 18px 18px 38px;
  }
}
@media (min-width: 1440px) {
   .cards { grid-template-columns: repeat(3, 1fr); }
   .track-list{ height: 100vh;}
}