/* =============================================================
   XPERTSLEAGUE — Main Stylesheet
   Matches the approved design reference exactly.
   Dark navy (#080D18) · Gold (#D9A64F) · White (#EEF2FF)
   Montserrat (display) · DM Sans (body)
   ============================================================= */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--xl-white);
  background: var(--xl-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--xl-orange); text-decoration: none; transition: color var(--xl-transition); }
a:hover { color: var(--xl-orange-hover); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Skip Link ─────────────────────────────────────────────── */
.xl-skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--xl-orange);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--xl-radius);
  z-index: 9999;
}
.xl-skip-link:focus { top: 1rem; }

/* ── Container ─────────────────────────────────────────────── */
.xl-container {
  width: 100%;
  max-width: var(--xl-container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .xl-container { padding-inline: 2.5rem; } }

/* ── Utility ───────────────────────────────────────────────── */
.xl-highlight { color: var(--xl-orange); }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.xl-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--xl-bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--xl-border);
  transition: box-shadow var(--xl-transition);
}
.xl-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }

.xl-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

/* Logo */
.xl-header__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.xl-header__logo .custom-logo { height: 64px; width: auto; }
.xl-logo-img { display: flex; align-items: center; }
.xl-logo-img img { height: 60px; width: auto; }

/* Offset fixed header when the WP admin bar is shown */
body.admin-bar .xl-header { top: var(--wp-admin--admin-bar--height, 32px); }

.xl-logo-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--xl-white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.xl-logo-text__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--xl-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 4px;
  flex-shrink: 0;
}
.xl-header__tagline {
  font-size: 0.6rem;
  color: var(--xl-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-top: 0.1rem;
}

/* Primary nav */
.xl-header__nav { flex: 1; display: flex; justify-content: center; }

.xl-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}
/* Hide the header tagline when space is tight so the menu stays on one line */
@media (max-width: 1450px) {
  .xl-header__tagline { display: none; }
}
/* Tighten nav further on narrower desktops so all items fit on one line */
@media (max-width: 1360px) {
  .xl-nav__link { font-size: 0.64rem; padding: 0.5rem 0.3rem; letter-spacing: 0.04em; }
  .xl-header__inner { gap: 1rem; }
}
.xl-nav__item { position: relative; }
.xl-nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.45rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--xl-white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--xl-transition), border-color var(--xl-transition);
  white-space: nowrap;
}
.xl-nav__link:hover,
.xl-nav__item--active .xl-nav__link {
  color: var(--xl-orange);
  border-bottom-color: var(--xl-orange);
}
.xl-nav__caret { transition: transform var(--xl-transition); flex-shrink: 0; }
.xl-nav__item--has-dropdown:hover .xl-nav__caret { transform: rotate(180deg); }

/* Dropdown */
.xl-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--xl-transition);
  box-shadow: var(--xl-shadow-lg);
  z-index: 200;
}
.xl-nav__item--has-dropdown:not(.is-closed):hover > .xl-nav__dropdown,
.xl-nav__item--has-dropdown:not(.is-closed):focus-within > .xl-nav__dropdown,
.xl-nav__item--has-dropdown.is-open > .xl-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.xl-nav__dropdown .xl-nav__item { width: 100%; }
.xl-nav__dropdown .xl-nav__link {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  border-bottom: none;
  display: block;
}
.xl-nav__dropdown .xl-nav__link:hover { background: var(--xl-bg-elevated); }
.xl-nav__dropdown > .xl-course-menu-category > .xl-nav__link {
  color: var(--xl-orange);
  font-weight: 700;
}

/* Nested flyout (2nd level): align with the category row that opened it. */
.xl-nav__dropdown .xl-nav__item--has-dropdown { position: relative; }
.xl-nav__dropdown .xl-nav__item--has-dropdown > .xl-nav__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xl-nav__dropdown .xl-nav__item--has-dropdown > .xl-nav__link .xl-nav__caret { transform: rotate(-90deg); }
.xl-nav__dropdown--sub {
  /* Positioned against its category row. */
  top: 0;
  left: 100%;
  margin-left: 2px;
}
/* Flip the flyout to the left when it would leave the viewport */
.xl-nav__dropdown--sub.xl-nav__dropdown--sub-left {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 2px;
}
.xl-nav__dropdown .xl-nav__item--has-dropdown:not(.is-closed):hover > .xl-nav__dropdown--sub,
.xl-nav__dropdown .xl-nav__item--has-dropdown.is-open > .xl-nav__dropdown--sub,
.xl-nav__dropdown .xl-nav__item--has-dropdown:not(.is-closed):focus-within > .xl-nav__dropdown--sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Header actions */
.xl-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Search toggle */
.xl-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--xl-muted);
  border-radius: 50%;
  transition: color var(--xl-transition), background var(--xl-transition);
}
.xl-search-toggle:hover { color: var(--xl-white); background: var(--xl-bg-elevated); }

/* Search overlay */
.xl-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,13,24,0.95);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
}
.xl-search-overlay[hidden] { display: none; }
.xl-search-overlay__inner { position: relative; width: 100%; }
.xl-search-overlay .search-form { display: flex; gap: 0.75rem; }
.xl-search-overlay .search-field {
  flex: 1;
  background: var(--xl-bg-card);
  border: 2px solid var(--xl-border);
  color: var(--xl-white);
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-family: var(--font-body);
  border-radius: var(--xl-radius);
}
.xl-search-overlay .search-field:focus { outline: none; border-color: var(--xl-orange); }
.xl-search-overlay .search-submit { background: var(--xl-orange); color: #fff; padding: 1rem 2rem; border-radius: var(--xl-radius); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.xl-search-overlay__close {
  position: absolute;
  top: -3rem; right: 0;
  color: var(--xl-muted);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
}

/* Hamburger */
.xl-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
}
.xl-hamburger span {
  display: block;
  height: 2px;
  background: var(--xl-white);
  border-radius: 2px;
  transition: transform var(--xl-transition), opacity var(--xl-transition);
}
.xl-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.xl-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.xl-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.xl-mobile-drawer {
  position: fixed;
  top: 72px; right: 0;
  width: min(340px, 90vw);
  height: calc(100vh - 72px);
  background: var(--xl-bg-card);
  border-left: 1px solid var(--xl-border);
  transform: translateX(100%);
  transition: transform var(--xl-transition-lg);
  z-index: 999;
  overflow-y: auto;
}
.xl-mobile-drawer.open { transform: translateX(0); }
.xl-mobile-drawer__inner { padding: 1.5rem; }
.xl-mobile-nav { list-style: none; }
.xl-mobile-nav > li { border-bottom: 1px solid var(--xl-border); }
.xl-mobile-nav > li > a,
.xl-mobile-nav > li > .xl-mobile-nav__row > a {
  display: block;
  padding: 1rem 0;
  font-size: 0.95rem;
  color: var(--xl-white);
  text-decoration: none;
  border-bottom: none;
}
.xl-mobile-nav a:hover { color: var(--xl-orange); }
.xl-mobile-nav__row { display: flex; align-items: center; }
.xl-mobile-nav__row > a { flex: 1 1 auto; }
.xl-mobile-nav__toggle { flex: 0 0 auto; background: none; border: 0; color: var(--xl-muted); padding: 0.6rem 0.75rem; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.xl-mobile-nav__toggle svg { transition: transform var(--xl-transition); }
.xl-mobile-nav__toggle.is-open svg { transform: rotate(180deg); }
.xl-mobile-nav__toggle:hover, .xl-mobile-nav__toggle:focus-visible { color: var(--xl-orange); }
.xl-mobile-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0.6rem 1.1rem; }
.xl-mobile-nav .sub-menu[hidden], .xl-mobile-nav .xl-nav__dropdown[hidden] { display: none; }
.xl-mobile-nav .xl-nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; min-width: 0; padding: 0 0 0.6rem 1.1rem; list-style: none; }
.xl-mobile-nav .sub-menu a, .xl-mobile-nav .xl-nav__dropdown a { min-height: 44px; display: flex; align-items: center; }
.xl-mobile-nav .sub-menu li { border: 0; }
.xl-mobile-nav .sub-menu a { display: block; padding: 0.45rem 0; font-size: 0.9rem; color: var(--xl-muted); text-decoration: none; }
.xl-mobile-nav .sub-menu a:hover { color: var(--xl-orange); }
.xl-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998; }
.xl-mobile-overlay[hidden] { display: none; }
.xl-mobile-drawer__cta { margin-top: 2rem; }

/* Avatar button + account dropdown */
.xl-header__avatar-btn { display: flex; background: none; border: 0; padding: 0; cursor: pointer; }
.xl-header__avatar { border-radius: 50%; width: 36px; height: 36px; object-fit: cover; border: 2px solid var(--xl-orange); }
.xl-account-menu { position: relative; }
.xl-account-menu__dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; background: #0B1120; border: 1px solid var(--xl-border); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.45); padding: 0.5rem 0; z-index: 1001; }
.xl-account-menu__dropdown[hidden] { display: none; }
.xl-account-menu__name { padding: 0.5rem 1rem 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--xl-orange); border-bottom: 1px solid var(--xl-border); margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-account-menu__dropdown a { display: block; padding: 0.5rem 1rem; font-size: 0.9rem; color: #E2E8F0; text-decoration: none; }
.xl-account-menu__dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--xl-orange); }
.xl-account-menu__signout { border-top: 1px solid var(--xl-border); margin-top: 0.35rem; padding-top: 0.6rem !important; color: #F87171 !important; }

@media (max-width: 1279px) {
  .xl-header__nav { display: none; }
  .xl-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .xl-header__inner { height: 60px; }
  .xl-mobile-drawer { top: 60px; height: calc(100vh - 60px); }
}


/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.xl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--xl-radius);
  border: 2px solid transparent;
  background: var(--xl-orange);
  color: #fff;
  cursor: pointer;
  transition: background var(--xl-transition), color var(--xl-transition), border-color var(--xl-transition), box-shadow var(--xl-transition);
  white-space: nowrap;
}
.xl-btn:hover { background: var(--xl-orange-hover); color: #fff; box-shadow: var(--xl-shadow-orange); }
.xl-btn--orange { background: var(--xl-orange); color: #fff; }
.xl-btn--orange:hover { background: var(--xl-orange-hover); }
.xl-btn--outline { background: transparent; border-color: currentColor; color: var(--xl-white); }
.xl-btn--outline:hover { background: var(--xl-orange); border-color: var(--xl-orange); color: #fff; }
.xl-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.xl-btn--lg { padding: 0.9rem 2.25rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.xl-btn--full { width: 100%; justify-content: center; }

/* Tags / badges */
.xl-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xl-orange);
  text-decoration: none;
  transition: color var(--xl-transition);
}
.xl-tag:hover { color: var(--xl-orange-hover); }
.xl-tag--sm { font-size: 0.65rem; }

.xl-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--xl-radius-pill);
  background: var(--xl-orange-muted);
  color: var(--xl-orange);
  border: 1px solid var(--xl-orange);
}
.xl-badge--coming { background: rgba(148,163,184,0.1); color: var(--xl-muted); border-color: var(--xl-muted); }

/* View all link */
.xl-view-all {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--xl-orange);
  text-decoration: none;
  transition: color var(--xl-transition);
  white-space: nowrap;
}
.xl-view-all:hover { color: var(--xl-orange-hover); }


/* ══════════════════════════════════════════════════════════════
   SECTIONS (shared layout helpers)
══════════════════════════════════════════════════════════════ */
.xl-main { padding-top: 72px; }
@media (max-width: 640px) { .xl-main { padding-top: 60px; } }
/* Course pages use their own <main> class but still sit under the fixed header */
.xl-course { padding-top: 72px; }
@media (max-width: 640px) { .xl-course { padding-top: 60px; } }

.xl-section { padding-block: 5rem; }
.xl-section--light {
  background: var(--xl-bg);
  color: var(--xl-white);
}
.xl-section--light .xl-section-title { color: var(--xl-white); }
.xl-section--light .xl-view-all { color: var(--xl-orange); }
.xl-section--dark { background: var(--xl-bg); }

.xl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.xl-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--xl-white);
}
.xl-section-title--centered { text-align: center; margin-bottom: 3rem; }
.xl-section-title--sm { font-size: clamp(1rem, 2vw, 1.25rem); }


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.xl-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  background-color: var(--xl-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.xl-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8,13,24,0.88) 0%, rgba(8,13,24,0.35) 40%, rgba(8,13,24,0) 60%);
}
.xl-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 6rem 4rem;
  width: 100%;
}
.xl-hero__content { display: flex; flex-direction: column; gap: 1.75rem; }

.xl-hero__headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.xl-hero__line--white { color: var(--xl-white); }
.xl-hero__line--orange { color: var(--xl-orange); }

.xl-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--xl-muted);
  max-width: 520px;
  line-height: 1.8;
}

.xl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.xl-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.xl-hero__badge--forbes { display: inline-flex; align-items: center; gap: 0.9rem; font-size: 0.82rem; color: var(--xl-muted); }
.xl-hero__forbes-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--xl-white);
}
.xl-hero__forbes-divider { width: 1px; height: 22px; background: var(--xl-border); display: inline-block; }
.xl-hero__badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--xl-muted);
  font-family: var(--font-display);
}

/* Hero photo */
.xl-hero__photo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.xl-hero__photo img {
  max-height: 600px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 48px rgba(0,0,0,0.6));
  animation: xl-float 6s ease-in-out infinite;
}
@keyframes xl-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .xl-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding-block: 4rem 3rem; }
  .xl-hero__photo { justify-content: center; }
  .xl-hero__photo img { max-height: 360px; }
  .xl-hero__sub { margin-inline: auto; }
  .xl-hero__actions { justify-content: center; }
  .xl-hero__badges { justify-content: center; }
}


/* ══════════════════════════════════════════════════════════════
   EXPLORE XPERTSLEAGUE
══════════════════════════════════════════════════════════════ */
.xl-explore .xl-section-title--centered { color: var(--xl-white); }

.xl-explore__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .xl-explore__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .xl-explore__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .xl-explore__grid { grid-template-columns: 1fr; } }

.xl-explore__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  background: var(--xl-bg-card);
  transition: box-shadow var(--xl-transition), border-color var(--xl-transition), transform var(--xl-transition);
}
.xl-explore__card:hover {
  box-shadow: 0 8px 32px rgba(249,115,22,0.15);
  border-color: var(--xl-orange);
  transform: translateY(-4px);
}
.xl-explore__card--coming-soon { opacity: 0.7; }

.xl-explore__icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--xl-orange-muted);
  border-radius: 50%;
  color: var(--xl-orange);
  flex-shrink: 0;
}
.xl-explore__card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--xl-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.xl-explore__card p { font-size: 0.82rem; color: var(--xl-muted); line-height: 1.6; }
.xl-explore__link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--xl-orange);
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-top: auto;
}
.xl-explore__link--disabled { color: var(--xl-muted); cursor: default; }


/* ══════════════════════════════════════════════════════════════
   SIGNATURE SERIES
══════════════════════════════════════════════════════════════ */
.xl-signature__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .xl-signature__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .xl-signature__grid { grid-template-columns: 1fr; } }

.xl-signature__card {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: var(--xl-radius-lg);
  overflow: hidden;
  background: var(--xl-bg-elevated) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: var(--xl-white);
  border: 1px solid var(--xl-border);
  transition: transform var(--xl-transition), box-shadow var(--xl-transition);
}
.xl-signature__card:hover { transform: scale(1.02); box-shadow: var(--xl-shadow-lg); color: var(--xl-white); }
.xl-signature__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,13,24,0.95) 0%, rgba(8,13,24,0.3) 60%, transparent 100%);
}
.xl-signature__card-body {
  position: relative;
  padding: 1.5rem;
  z-index: 1;
}
.xl-signature__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.xl-signature__card-sub { font-size: 0.78rem; color: var(--xl-muted); }
.xl-signature__card-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 36px; height: 36px;
  background: var(--xl-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
  transition: background var(--xl-transition), transform var(--xl-transition);
}
.xl-signature__card:hover .xl-signature__card-arrow { background: var(--xl-orange-hover); transform: scale(1.1); }
.xl-signature__card--image-only { aspect-ratio: 3/4; }

/* Homepage Signature Series slider (4 visible, rest scroll) */
.xl-signature__slider { position: relative; }
.xl-signature__grid--slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 22px;
  scrollbar-width: none;
}
.xl-signature__grid--slider::-webkit-scrollbar { display: none; }
.xl-signature__grid--slider > * {
  flex: 0 0 calc((100% - 3 * 22px) / 4);
  scroll-snap-align: start;
}
@media (max-width: 1024px) { .xl-signature__grid--slider > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 540px)  { .xl-signature__grid--slider > * { flex-basis: 100%; } }
.xl-signature__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(217, 166, 79, 0.6);
  background: rgba(11, 17, 32, 0.85);
  color: #D9A64F;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--xl-transition), color var(--xl-transition);
}
.xl-signature__nav:hover { background: #D9A64F; color: #101a2e; }
.xl-signature__nav--prev { left: -14px; }
.xl-signature__nav--next { right: -14px; }
.xl-signature__nav[disabled] { opacity: 0.35; cursor: default; }


/* ══════════════════════════════════════════════════════════════
   ARTICLE CARDS
══════════════════════════════════════════════════════════════ */
.xl-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.xl-article-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .xl-article-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .xl-article-grid,
  .xl-article-grid--4 { grid-template-columns: 1fr; }
}

.xl-article-card {
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  overflow: hidden;
  transition: transform var(--xl-transition), border-color var(--xl-transition), box-shadow var(--xl-transition);
}
.xl-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--xl-border-hover);
  box-shadow: var(--xl-shadow-md);
}
/* Light section article cards */
.xl-section--light .xl-article-card {
  background: var(--xl-bg-card);
  border-color: var(--xl-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.xl-section--light .xl-article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.xl-section--light .xl-article-card__title a { color: var(--xl-white); }
.xl-section--light .xl-article-card__title a:hover { color: var(--xl-orange); }
.xl-section--light .xl-article-card__meta { color: var(--xl-muted); }

.xl-article-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--xl-bg-elevated);
}
.xl-article-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.xl-article-card:hover .xl-article-card__thumb img { transform: scale(1.04); }

/* Success Stories: gold hero banner */
.term-success-stories .xl-ld-hero {
  background: linear-gradient(135deg, #c8933f 0%, #D9A64F 45%, #bd8a38 100%);
}
.term-success-stories .xl-ld-hero h1,
.term-success-stories .xl-ld-hero .xl-ld-hero__sub { color: #101a2e; }
.term-success-stories .xl-ld-hero .xl-ld-hero__eyebrow,
.term-success-stories .xl-ld-hero .xl-ld-hero__eyebrow a { color: #3f2f04; }
.term-success-stories .xl-kl-search input {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(16, 26, 46, 0.25);
  color: #101a2e;
}
.term-success-stories .xl-kl-search input::placeholder { color: #5b5138; }
.term-success-stories .xl-kl-search .xl-spk-btn--gold {
  background: #101a2e;
  color: #f5d16a;
}

/* Success Stories: show the full banner image (no cropping) — anywhere the card appears */
.xl-article-card--contain .xl-article-card__thumb img,
.term-success-stories .xl-article-card__thumb img,
.xl-kl-author-page--success-stories .xl-article-card__thumb img {
  object-fit: contain;
  background: #0b1120;
}
.xl-article-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--xl-bg-elevated), var(--xl-bg-nav));
}

.xl-article-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.xl-article-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.xl-article-card__title a { color: var(--xl-white); text-decoration: none; }
.xl-article-card__title a:hover { color: var(--xl-orange); }
.xl-article-card__meta { font-size: 0.75rem; color: var(--xl-muted); display: flex; align-items: center; gap: 0.35rem; }
.xl-article-card__excerpt { font-size: 0.86rem; color: var(--xl-muted); line-height: 1.6; margin: 0; }
.xl-article-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .xl-article-grid--3 { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   SIGNATURE SERIES — Course Title splash cards
══════════════════════════════════════════════════════════════ */
.xl-series { background: #0d1a33; }
.xl-series__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.xl-series__eyebrow { color: #d9a350; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 8px; }
.xl-series .xl-section-title { color: #fff; margin: 0; }
.xl-series__intro { color: #aeb9cc; margin: 10px 0 0; max-width: 560px; }
.xl-series__viewall { color: #d9a350; font-weight: 600; text-decoration: none; white-space: nowrap; }
.xl-series__viewall:hover { color: #fff; }
.xl-series__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.xl-series-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--xl-hero-bg, #111A2E); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.xl-series-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.xl-series-card__img { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #14294d 0%, var(--xl-hero-bg, #0d1a33) 100%); background-size: cover; background-position: center; }
.xl-series-card__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent 0%, var(--xl-hero-bg, #111A2E) 100%); }
.xl-series-card__body { position: relative; padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.xl-series-card__title { color: #fff; font-size: 1.08rem; line-height: 1.35; margin: 0 0 8px; }
.xl-series-card:hover .xl-series-card__title { color: #d9a350; }
.xl-series-card__desc { color: rgba(230, 235, 244, 0.72); font-size: 0.88rem; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.xl-series-card__arrow { align-self: flex-end; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(217, 163, 80, 0.6); color: #d9a350; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: background 0.2s ease, color 0.2s ease; }
/* Poster-only series cards: whole image visible, no text, floating link button */
.xl-series-card--poster { position: relative; }
.xl-series-card__poster {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  background: var(--xl-hero-bg, #111A2E);
}
.xl-series-card__arrow--float { position: absolute; right: 14px; bottom: 14px; align-self: auto; background: rgba(11, 17, 32, 0.75); backdrop-filter: blur(2px); }
.xl-series-card--poster:hover .xl-series-card__arrow--float { background: var(--xl-orange, #d9a350); color: #101a2e; }
.xl-series-card:hover .xl-series-card__arrow { background: #d9a350; color: #0d1a33; }
@media (max-width: 1100px) { .xl-series__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .xl-series__grid { grid-template-columns: 1fr; } }

/* Course page — instructor block */
.xl-course-instructor { display: flex; gap: 18px; align-items: flex-start; background: #f6f7fa; border-radius: 12px; padding: 20px; }
.xl-course-instructor__avatar { border-radius: 50%; flex-shrink: 0; }
.xl-course-instructor p { margin: 6px 0 0; color: #5a6577; font-size: 0.92rem; line-height: 1.6; }


/* ══════════════════════════════════════════════════════════════
   MEDIA CAROUSEL
══════════════════════════════════════════════════════════════ */
.xl-media-carousel {
  position: relative;
  overflow: hidden;
}
.xl-media-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px; height: 56px;
  background: var(--xl-orange);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--xl-transition), border-color var(--xl-transition), color var(--xl-transition);
}
.xl-media-carousel__btn:hover { background: var(--xl-navy, #0a101f); border-color: var(--xl-navy, #0a101f); color: var(--xl-white); }
.xl-media-carousel__btn--prev { left: 0; }
.xl-media-carousel__btn--next { right: 0; }

.xl-media-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: 2.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.xl-media-carousel__track::-webkit-scrollbar { display: none; }

.xl-media-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--xl-white);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius);
  overflow: hidden;
  background: var(--xl-bg-card);
  transition: border-color var(--xl-transition), transform var(--xl-transition);
}
.xl-media-card:hover { border-color: var(--xl-orange); transform: translateY(-3px); color: var(--xl-white); }
.xl-media-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--xl-bg-elevated) center/cover no-repeat;
}
.xl-media-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(0,0,0,0.4);
  color: #fff;
  transition: background var(--xl-transition);
}
.xl-media-card:hover .xl-media-card__play { background: rgba(249,115,22,0.7); }
.xl-media-card__info {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem 0;
  font-size: 0.7rem;
  color: var(--xl-muted);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.xl-media-card__title { padding: 0.35rem 0.75rem 0.75rem; font-size: 0.78rem; font-weight: 600; font-family: var(--font-display); line-height: 1.4; }


/* ══════════════════════════════════════════════════════════════
   RECOGNITION
══════════════════════════════════════════════════════════════ */
/* (legacy recognition styles removed — see redesign at end of file) */


/* ══════════════════════════════════════════════════════════════
   THREE COLUMN (Spotlight / HoF / Event)
══════════════════════════════════════════════════════════════ */
.xl-three-col__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .xl-three-col__grid { grid-template-columns: 1fr; gap: 3rem; } }

.xl-three-col__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.5rem; }

/* Spotlight card */
.xl-spotlight-card { display: flex; flex-direction: column; gap: 0.75rem; }
.xl-spotlight-card__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--xl-orange); }
.xl-spotlight-card__info { display: flex; flex-direction: column; gap: 0.15rem; }
.xl-spotlight-card__info strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--xl-white); }
.xl-spotlight-card__info span { font-size: 0.78rem; color: var(--xl-muted); }
.xl-spotlight-card__excerpt { font-size: 0.85rem; color: #4b5563; line-height: 1.6; }

/* Hall of Fame list */
.xl-hof-list { display: flex; flex-direction: column; gap: 1rem; }
.xl-hof-item { display: flex; align-items: center; gap: 0.75rem; }
.xl-hof-item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--xl-border); flex-shrink: 0; }
.xl-hof-item div { display: flex; flex-direction: column; gap: 0.1rem; }
.xl-hof-item strong { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--xl-white); }
.xl-hof-item span { font-size: 0.72rem; color: var(--xl-muted); }

/* Event card */
.xl-event-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
}
.xl-section--light .xl-event-card { background: var(--xl-bg-card); border-color: var(--xl-border); }
.xl-event-card__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--xl-orange);
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: var(--xl-radius);
  color: #fff;
}
.xl-event-card__month { font-size: 0.7rem; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; }
.xl-event-card__day { font-size: 1.5rem; font-weight: 800; font-family: var(--font-display); line-height: 1; }
.xl-event-card__info { display: flex; flex-direction: column; gap: 0.25rem; }
.xl-event-card__info h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--xl-white); }
.xl-event-card__loc, .xl-event-card__time { font-size: 0.78rem; color: var(--xl-muted); }


/* ══════════════════════════════════════════════════════════════
   FOOTER CTA STRIP
══════════════════════════════════════════════════════════════ */
.xl-footer-cta {
  background: var(--xl-bg-card);
  border-top: 1px solid var(--xl-border);
  border-bottom: 1px solid var(--xl-border);
  padding-block: 2rem;
}
.xl-footer-cta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.xl-footer-cta__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-right: 1px solid var(--xl-border);
  transition: background var(--xl-transition);
}
.xl-footer-cta__item:last-child { border-right: none; }
.xl-footer-cta__item:hover { background: var(--xl-bg-elevated); }
.xl-footer-cta__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--xl-orange-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xl-orange);
}
.xl-footer-cta__text { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.xl-footer-cta__text strong { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--xl-white); }
.xl-footer-cta__text span { font-size: 0.75rem; color: var(--xl-muted); }
.xl-footer-cta__link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--xl-orange);
  white-space: nowrap;
}
.xl-footer-cta__link:hover { color: var(--xl-orange-hover); }
@media (max-width: 900px) {
  .xl-footer-cta__grid { grid-template-columns: 1fr; }
  .xl-footer-cta__item { border-right: none; border-bottom: 1px solid var(--xl-border); }
  .xl-footer-cta__item:last-child { border-bottom: none; }
}


/* ══════════════════════════════════════════════════════════════
   FOOTER MAIN
══════════════════════════════════════════════════════════════ */
.xl-footer { background: var(--xl-bg); }

.xl-footer__main { padding-block: 4rem; }
.xl-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.7fr;
  gap: 3rem;
}
@media (max-width: 1024px) { .xl-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 640px)  { .xl-footer__grid { grid-template-columns: 1fr; } }

.xl-footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.xl-footer__tagline { font-size: 0.78rem; color: var(--xl-muted); max-width: 260px; line-height: 1.6; }

.xl-footer__social { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.xl-footer__social-link {
  width: 36px; height: 36px;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xl-muted);
  transition: background var(--xl-transition), color var(--xl-transition), border-color var(--xl-transition);
}
.xl-footer__social-link:hover { background: var(--xl-orange); border-color: var(--xl-orange); color: #fff; }

.xl-footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xl-white);
  margin-bottom: 1rem;
}

.xl-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.xl-footer__links a { font-size: 0.83rem; color: var(--xl-muted); text-decoration: none; transition: color var(--xl-transition); }
.xl-footer__links a:hover { color: var(--xl-orange); }

.xl-footer__subscribe-text { font-size: 0.82rem; color: var(--xl-muted); margin-bottom: 0.75rem; line-height: 1.6; }
.xl-footer__subscribe-row { display: flex; gap: 0.5rem; }
.xl-footer__subscribe input {
  flex: 1;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  color: var(--xl-white);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  border-radius: var(--xl-radius);
  min-width: 0;
}
.xl-footer__subscribe input:focus { outline: none; border-color: var(--xl-orange); }
.xl-footer__subscribe input::placeholder { color: var(--xl-muted); }

.xl-footer__bottom {
  border-top: 1px solid var(--xl-border);
  padding-block: 1.25rem;
}
.xl-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.xl-footer__copy { font-size: 0.78rem; color: var(--xl-muted); }
.xl-footer__legal { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.xl-footer__legal a { font-size: 0.75rem; color: var(--xl-muted); text-decoration: none; transition: color var(--xl-transition); }
.xl-footer__legal a:hover { color: var(--xl-white); }


/* ══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════════ */
.xl-page-hero {
  background: var(--xl-bg);
  padding-block: 4rem;
  border-bottom: 1px solid var(--xl-border);
}
.xl-page-hero--slim { padding-block: 3rem 2.5rem; }
.xl-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--xl-white);
  margin-top: 0.75rem;
}
.xl-page-hero__desc { color: var(--xl-muted); margin-top: 0.75rem; max-width: 600px; }


/* ══════════════════════════════════════════════════════════════
   BREADCRUMBS
══════════════════════════════════════════════════════════════ */
.xl-breadcrumbs { margin-bottom: 0.5rem; }
.xl-breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--xl-muted);
}
.xl-breadcrumbs__list li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; }
.xl-breadcrumbs__list a { color: var(--xl-muted); text-decoration: none; }
.xl-breadcrumbs__list a:hover { color: var(--xl-orange); }


/* ══════════════════════════════════════════════════════════════
   CONTENT LAYOUT (article sidebar)
══════════════════════════════════════════════════════════════ */
.xl-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding-block: 3rem;
}
.xl-content-layout__sidebar { display: flex; flex-direction: column; gap: 2rem; }
@media (max-width: 1024px) { .xl-content-layout { grid-template-columns: 1fr; } .xl-content-layout__sidebar { display: none; } }


/* ══════════════════════════════════════════════════════════════
   ARTICLE SINGLE
══════════════════════════════════════════════════════════════ */
.xl-article-hero { position: relative; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; }
.xl-article-hero__img { position: absolute; inset: 0; }
.xl-article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.xl-article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,24,0.98) 0%, rgba(8,13,24,0.5) 60%, transparent 100%); }
.xl-article-hero__content { position: relative; z-index: 1; padding: 3rem 0 2.5rem; }
.xl-article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--xl-white);
  line-height: 1.2;
  margin-top: 0.75rem;
  max-width: 800px;
}
.xl-article-hero__meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.xl-article-hero__author { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--xl-muted); }
.xl-article-hero__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--xl-orange); }
.xl-article-hero__author a { color: var(--xl-white); font-weight: 600; }

.xl-article-layout { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; padding-block: 3rem; }
.xl-article-layout__sidebar { display: flex; flex-direction: column; gap: 2rem; }
@media (max-width: 1024px) { .xl-article-layout { grid-template-columns: 1fr; } .xl-article-layout__sidebar { display: none; } }

.xl-toc { position: sticky; top: 90px; background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius); padding: 1.25rem; }
.xl-toc__heading { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--xl-muted); margin-bottom: 0.75rem; }
.xl-toc__list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.xl-toc__list a { font-size: 0.8rem; color: var(--xl-muted); text-decoration: none; padding: 0.2rem 0.5rem; border-radius: 4px; display: block; transition: background var(--xl-transition), color var(--xl-transition); }
.xl-toc__list a:hover, .xl-toc__list a.active { background: var(--xl-orange-muted); color: var(--xl-orange); }


/* ══════════════════════════════════════════════════════════════
   PROSE (article body)
══════════════════════════════════════════════════════════════ */
.xl-prose { max-width: 760px; }
.xl-prose h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--xl-white); margin: 2.5rem 0 1rem; }
.xl-prose h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--xl-white); margin: 2rem 0 0.75rem; }
.xl-prose p { margin-bottom: 1.25rem; color: var(--xl-muted); font-size: 1.05rem; }
.xl-prose a { color: var(--xl-orange); text-decoration: underline; }
.xl-prose ul, .xl-prose ol { margin-left: 1.5rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.xl-prose li { color: var(--xl-muted); font-size: 1.05rem; }
.xl-prose blockquote {
  border-left: 4px solid var(--xl-orange);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--xl-bg-card);
  border-radius: 0 var(--xl-radius) var(--xl-radius) 0;
  font-style: italic;
  color: var(--xl-white);
}
.xl-prose img { border-radius: var(--xl-radius); margin-block: 2rem; }
.xl-prose code { background: var(--xl-bg-card); padding: 0.1em 0.4em; border-radius: 4px; font-family: var(--font-mono); font-size: 0.875em; color: var(--xl-orange); }
.xl-prose pre { background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius); padding: 1.5rem; overflow-x: auto; margin-block: 1.5rem; }
.xl-prose pre code { background: none; padding: 0; color: var(--xl-white); }
.xl-prose hr { border: none; border-top: 1px solid var(--xl-border); margin-block: 2.5rem; }
.xl-prose table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; }
.xl-prose th { background: var(--xl-bg-card); padding: 0.75rem 1rem; text-align: left; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--xl-muted); border-bottom: 2px solid var(--xl-border); }
.xl-prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--xl-border); color: var(--xl-muted); font-size: 0.9rem; }

/* Light section prose */
.xl-section--light .xl-prose h2,
.xl-section--light .xl-prose h3 { color: var(--xl-white); }
.xl-section--light .xl-prose p,
.xl-section--light .xl-prose li { color: #4b5563; }


/* ══════════════════════════════════════════════════════════════
   AUTHOR CARD
══════════════════════════════════════════════════════════════ */
.xl-author-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  margin-top: 3rem;
}
.xl-author-card__avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--xl-orange); flex-shrink: 0; }
.xl-author-card__info { display: flex; flex-direction: column; gap: 0.25rem; }
.xl-author-card__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--xl-muted); font-family: var(--font-display); }
.xl-author-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--xl-white); text-decoration: none; }
.xl-author-card__role { font-size: 0.82rem; color: #D9A64F; margin: 0.2rem 0 0; }
.xl-author-card__bio { font-size: 0.85rem; color: var(--xl-muted); margin-top: 0.25rem; }
.xl-author-card__website {
  align-self: flex-start;
  margin-top: 0.55rem;
  color: #d9a64f;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.xl-author-card__website:hover { color: #f0ca78; text-decoration: underline; }

/* Editorial hero banner: text left, featured image blended right */
.xl-insight-hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    margin: 0;
    overflow: hidden;
}
.xl-insight-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
/* A dedicated article banner spans the whole hero. The normal featured image
   remains available independently for cards and listings. */
.xl-insight-hero--separate-banner .xl-insight-hero__media {
    width: 100%;
}
/* These portraits sit close to the upper edge of their artwork.
   Anchor their banners at the top so the hero crop preserves each full head. */
body.postid-538 .xl-insight-hero--separate-banner .xl-insight-hero__media img,
body.postid-570 .xl-insight-hero--separate-banner .xl-insight-hero__media img,
body.postid-617 .xl-insight-hero--separate-banner .xl-insight-hero__media img {
    object-position: center top;
}
/* Wide black gradient so the image melts into the banner */
.xl-insight-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.85) 18%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}
.xl-insight-hero__content { position: relative; z-index: 2; max-width: 46%; }
.xl-insight-hero__rule {
    display: block;
    width: 46px;
    height: 3px;
    background: #d9a350;
    margin: 1.1rem 0 1.2rem;
}
@media (max-width: 1024px) {
    .xl-insight-hero__media::before {
        background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 100%);
    }
}
@media (max-width: 860px) {
    .xl-insight-hero__media {
        position: relative;
        width: 100%;
        order: 2;
    }
    .xl-insight-hero__media img { height: auto; }
    .xl-insight-hero__media::before { display: none; }
    .xl-insight-hero__content { max-width: none; }
    .xl-insight-hero--separate-banner .xl-insight-hero__media {
        position: relative;
        width: 100%;
        order: 0;
    }
    .xl-insight-hero--separate-banner .xl-insight-hero__media img {
        height: auto;
        object-fit: contain;
        object-position: center;
    }
    .xl-insight-hero--separate-banner .xl-insight-hero__media::before {
        display: none;
    }
}


/* ══════════════════════════════════════════════════════════════
   POST META
══════════════════════════════════════════════════════════════ */
.xl-post-meta { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--xl-muted); }
.xl-cat-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }

.xl-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--xl-border); }
.xl-article-tags__label { font-size: 0.78rem; font-weight: 700; color: var(--xl-muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }


/* ══════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════ */
.xl-pagination { margin-top: 3rem; }
.xl-pagination .page-numbers { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.xl-pagination .page-numbers li a,
.xl-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--xl-muted);
  text-decoration: none;
  transition: all var(--xl-transition);
}
.xl-pagination .page-numbers li a:hover { border-color: var(--xl-orange); color: var(--xl-orange); }
.xl-pagination .page-numbers li span.current { background: var(--xl-orange); border-color: var(--xl-orange); color: #fff; }
.xl-pagination .page-numbers li .prev,
.xl-pagination .page-numbers li .next { width: auto; padding-inline: 1rem; }


/* ══════════════════════════════════════════════════════════════
   COURSE CARDS
══════════════════════════════════════════════════════════════ */
.xl-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.xl-course-card { background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius-lg); overflow: hidden; transition: transform var(--xl-transition), border-color var(--xl-transition); }
.xl-course-card:hover { transform: translateY(-4px); border-color: var(--xl-border-hover); }
.xl-course-card__thumb { aspect-ratio: 16/9; background: var(--xl-bg-elevated); overflow: hidden; }
.xl-course-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.xl-course-card:hover .xl-course-card__thumb img { transform: scale(1.04); }
.xl-course-card__thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--xl-bg-elevated), #1a2540); }
.xl-course-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.xl-course-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--xl-muted); }
.xl-course-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--xl-white); }
.xl-course-card__title a { color: inherit; text-decoration: none; }
.xl-course-card__title a:hover { color: var(--xl-orange); }
.xl-course-card__excerpt { font-size: 0.83rem; color: var(--xl-muted); }
.xl-course-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.xl-course-card__enrolled { font-size: 0.75rem; color: var(--xl-muted); }


/* ══════════════════════════════════════════════════════════════
   RELATED ARTICLES
══════════════════════════════════════════════════════════════ */
.xl-related { padding-block: 4rem; }


/* ══════════════════════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════════════════════ */
.xl-404 { min-height: 60vh; display: flex; align-items: center; }
.xl-404__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding-block: 5rem; }
.xl-404__code { font-family: var(--font-display); font-size: clamp(6rem, 15vw, 10rem); font-weight: 900; color: var(--xl-orange); opacity: 0.4; line-height: 1; }
.xl-404__title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; color: var(--xl-white); }
.xl-404__text { color: var(--xl-muted); max-width: 480px; }
.xl-404__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.xl-404__search { width: min(480px, 100%); }


/* ══════════════════════════════════════════════════════════════
   SEARCH FORM
══════════════════════════════════════════════════════════════ */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  color: var(--xl-white);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--xl-radius);
}
.search-field:focus { outline: none; border-color: var(--xl-orange); }
.search-submit { background: var(--xl-orange); color: #fff; padding: 0.65rem 1.25rem; border-radius: var(--xl-radius); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; transition: background var(--xl-transition); }
.search-submit:hover { background: var(--xl-orange-hover); }


/* ══════════════════════════════════════════════════════════════
   NO RESULTS
══════════════════════════════════════════════════════════════ */
.xl-no-results { text-align: center; padding-block: 4rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.xl-no-results h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--xl-white); }
.xl-no-results p { color: var(--xl-muted); }


/* ══════════════════════════════════════════════════════════════
   DASHBOARD PAGES (student / contributor / instructor)
══════════════════════════════════════════════════════════════ */
.xl-dashboard { padding-block: 3rem; }
.xl-dashboard__header { margin-bottom: 2.5rem; }
.xl-dashboard__grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
@media (max-width: 900px) { .xl-dashboard__grid { grid-template-columns: 1fr; } }

.xl-dashboard__sidebar {
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.xl-dashboard__nav { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.xl-dashboard__nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--xl-radius);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--xl-muted);
  text-decoration: none;
  transition: background var(--xl-transition), color var(--xl-transition);
}
.xl-dashboard__nav a:hover,
.xl-dashboard__nav a.active { background: var(--xl-orange-muted); color: var(--xl-orange); }

.xl-dashboard__main { display: flex; flex-direction: column; gap: 2rem; }
.xl-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.xl-stat-card {
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.xl-stat-card__value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--xl-white); }
.xl-stat-card__label { font-size: 0.78rem; color: var(--xl-muted); font-family: var(--font-display); }
.xl-stat-card--orange .xl-stat-card__value { color: var(--xl-orange); }


/* ══════════════════════════════════════════════════════════════
   COMMENTS
══════════════════════════════════════════════════════════════ */
.comments-area { padding-block: 3rem; border-top: 1px solid var(--xl-border); }
.comments-title, .comment-reply-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--xl-white); margin-bottom: 1.5rem; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.comment-body { background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius-lg); padding: 1.25rem; }
.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-author img { border-radius: 50%; width: 40px; height: 40px; }
.comment-meta { font-size: 0.75rem; color: var(--xl-muted); }
.comment-content p { font-size: 0.9rem; color: var(--xl-muted); }
.comment-form label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--xl-muted); margin-bottom: 0.35rem; font-family: var(--font-display); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  color: var(--xl-white);
  padding: 0.65rem 1rem;
  border-radius: var(--xl-radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--xl-orange); }
.comment-form .submit { background: var(--xl-orange); color: #fff; padding: 0.75rem 2rem; border-radius: var(--xl-radius); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; transition: background var(--xl-transition); }
.comment-form .submit:hover { background: var(--xl-orange-hover); }


/* ══════════════════════════════════════════════════════════════
   WIDGETS
══════════════════════════════════════════════════════════════ */
.widget { background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius-lg); padding: 1.25rem; }
.widget-title { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--xl-muted); margin-bottom: 1rem; }
.widget ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.widget li a { font-size: 0.85rem; color: var(--xl-muted); text-decoration: none; transition: color var(--xl-transition); }
.widget li a:hover { color: var(--xl-orange); }


/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--xl-orange); outline-offset: 3px; }


/* ══════════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════════ */
@media print {
  .xl-header, .xl-footer, .xl-footer-cta, .xl-toc, .xl-article-layout__sidebar { display: none; }
  body { background: #fff; color: #000; }
  .xl-prose a::after { content: ' (' attr(href) ')'; font-size: 0.75em; }
}

/* ══════════════ PREVIEW PARITY (Recognition / 3-col cards / footer band) ══════════════ */
.xl-section-title--centered { text-align: center; text-transform: uppercase; letter-spacing: 0.05em; }
.xl-recognition__title-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 3.5rem; }
.xl-title-underline { width: 56px; height: 3px; background: var(--xl-orange); margin-top: 0.75rem; border-radius: 2px; }
/* (legacy recognition preview-parity styles removed — see redesign at end of file) */

/* 3-col card blocks */
.xl-card-block { background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: var(--xl-radius-lg); padding: 1.5rem; transition: border-color var(--xl-transition); }
.xl-card-block:hover { border-color: rgba(249,115,22,0.3); }
.xl-card-block__title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--xl-white); margin: 0; }
.xl-three-col__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.xl-view-all--sm { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }

.xl-spotlight-card { display: flex; gap: 1rem; align-items: flex-start; }
.xl-spotlight-card__avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #6366F1, #9333EA); display: block; }
.xl-spotlight-card__img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.xl-spotlight-card__body { display: flex; flex-direction: column; }
.xl-spotlight-card__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--xl-white); }
.xl-spotlight-card__role { font-size: 0.78rem; color: var(--xl-muted); margin-bottom: 0.15rem; }
.xl-spotlight-card__org { font-size: 0.78rem; font-weight: 700; color: var(--xl-orange); margin-bottom: 1rem; }
.xl-spotlight-card__body .xl-btn { align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.06em; }

.xl-hof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.xl-hof-grid .xl-hof-item { display: flex; flex-direction: column; align-items: center; }
.xl-hof-item__avatar { width: 56px; height: 56px; border-radius: 50%; background: #1E293B; border: 1px solid var(--xl-border); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.75rem; }
.xl-hof-grid img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 0.75rem; }
.xl-hof-grid strong { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--xl-white); line-height: 1.25; margin-bottom: 0.2rem; }
.xl-hof-grid span { font-size: 0.62rem; color: var(--xl-muted); line-height: 1.3; }

.xl-event-card { display: flex; gap: 1rem; align-items: flex-start; background: none; border: 0; padding: 0; }
.xl-event-card__date { width: 56px; height: 56px; background: var(--xl-bg); border: 1px solid var(--xl-border); border-radius: var(--xl-radius); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.xl-event-card__date .xl-event-card__month { color: var(--xl-orange); font-size: 0.62rem; letter-spacing: 0.1em; }
.xl-event-card__date .xl-event-card__day { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--xl-white); line-height: 1; }
.xl-event-card__info h3 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--xl-white); margin: 0 0 0.5rem; }
.xl-event-card__loc, .xl-event-card__time { display: block; font-size: 0.7rem; color: var(--xl-muted); margin-bottom: 0.2rem; }
.xl-event-card__register { display: block; width: 100%; margin-top: 1.1rem; padding: 0.6rem; text-align: center; background: var(--xl-bg); border: 1px solid var(--xl-border); border-radius: var(--xl-radius); color: var(--xl-white); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; transition: all var(--xl-transition); }
.xl-event-card__register:hover { border-color: var(--xl-orange); background: rgba(249,115,22,0.1); color: var(--xl-white); }

/* CTA banners */
.xl-cta-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 820px) { .xl-cta-banners { grid-template-columns: 1fr; } .xl-hof-grid { grid-template-columns: repeat(3, 1fr); } }
.xl-cta-banner { display: flex; align-items: center; gap: 1rem; background: var(--xl-bg-card); border: 1px solid var(--xl-border); border-radius: 12px; padding: 1.25rem; transition: all var(--xl-transition); }
.xl-cta-banner:hover { border-color: rgba(249,115,22,0.5); background: rgba(249,115,22,0.05); }
.xl-cta-banner__icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(249,115,22,0.1); color: var(--xl-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--xl-transition); }
.xl-cta-banner:hover .xl-cta-banner__icon { background: var(--xl-orange); color: #fff; }
.xl-cta-banner__text { flex-grow: 1; display: flex; flex-direction: column; }
.xl-cta-banner__text strong { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--xl-white); letter-spacing: 0.03em; }
.xl-cta-banner__text span { font-size: 0.78rem; color: var(--xl-muted); }
.xl-cta-banner__arrow { color: var(--xl-orange); font-size: 1.2rem; flex-shrink: 0; transition: transform var(--xl-transition); }
.xl-cta-banner:hover .xl-cta-banner__arrow { transform: translateX(4px); }

/* Footer orange band */
.xl-footer-band { background: var(--xl-orange); padding-block: 3rem; }
.xl-footer-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.xl-footer-band__title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; color: #fff; margin: 0; }
.xl-footer-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.xl-footer-band__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: var(--xl-radius); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; transition: all var(--xl-transition); }
.xl-footer-band__btn--white { background: #fff; color: var(--xl-orange); }
.xl-footer-band__btn--white:hover { background: #f3f4f6; color: var(--xl-orange); }
.xl-footer-band__btn--outline { border: 1px solid #fff; color: #fff; }
.xl-footer-band__btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT ALIA NOOR — white executive profile page
   ═══════════════════════════════════════════════════════════════ */
.xl-about-page { background: #ffffff; color: #1c2333; font-size: 1rem; }
.xl-about-page .xl-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.xl-about-hero { background: linear-gradient(135deg, #fdfbf7 0%, #ffffff 60%); border-bottom: 1px solid #eee6d8; padding: 72px 0 0; }
.xl-about-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.xl-about-eyebrow { display: inline-block; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; color: #c9862b; margin-bottom: 18px; }
.xl-about-eyebrow::after { content: ""; display: inline-block; width: 56px; height: 1px; background: #c9862b; margin-left: 12px; vertical-align: middle; }
.xl-about-quote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.22; color: #10203e; font-weight: 700; }
.xl-about-quote--accent { color: #d78a2e; }
.xl-about-signature { font-family: Georgia, serif; font-style: italic; font-size: 1.35rem; color: #c9862b; margin: 18px 0 26px; }
.xl-about-intro { max-width: 520px; color: #4a5468; line-height: 1.75; margin: 0 0 22px; }
.xl-about-roles { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; color: #10203e; margin: 0 0 14px; }
.xl-about-profile { max-width: 540px; color: #4a5468; line-height: 1.75; margin: 0 0 56px; }
.xl-about-hero__visual { position: relative; text-align: center; }
.xl-about-hero__photo { display: block; width: 100%; max-width: 430px; margin: 0 auto; }
.xl-about-hero__pills { position: absolute; right: 0; bottom: 42px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.xl-about-pill { background: #10203e; color: #f5f0e6; border-radius: 10px; padding: 12px 16px; font-size: 0.82rem; max-width: 250px; box-shadow: 0 10px 24px rgba(16, 32, 62, 0.25); }
.xl-about-pill__icon { margin-right: 8px; }

/* Sections */
.xl-about-section { padding: 72px 0; background: #ffffff; }
.xl-about-section--tint { background: #fbf8f2; border-top: 1px solid #f0e8d8; border-bottom: 1px solid #f0e8d8; }
.xl-about-title { text-align: center; margin: 0 0 48px; font-size: 1.15rem; letter-spacing: 0.2em; text-transform: uppercase; color: #10203e; font-weight: 700; }
.xl-about-title span { position: relative; padding: 0 26px; }
.xl-about-title span::before, .xl-about-title span::after { content: ""; position: absolute; top: 50%; width: 60px; height: 1px; background: #d9c9a3; }
.xl-about-title span::before { right: 100%; }
.xl-about-title span::after { left: 100%; }

/* Expertise columns */
.xl-about-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.xl-about-col h3 { font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; color: #10203e; margin: 16px 0 14px; }
.xl-about-col ul { list-style: none; margin: 0; padding: 0; }
.xl-about-col li { position: relative; padding: 4px 0 4px 16px; color: #4a5468; font-size: 0.92rem; line-height: 1.5; }
.xl-about-col li::before { content: "•"; position: absolute; left: 0; color: #c9862b; }
.xl-about-col__icon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.xl-about-col__icon--navy { background: #10203e; }
.xl-about-col__icon--gold { background: #d78a2e; }

/* Awards timeline */
.xl-about-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.xl-about-timeline::before { content: ""; position: absolute; top: 27px; left: 4%; right: 4%; height: 2px; background: #e6d9bd; }
.xl-about-timeline__item { text-align: center; position: relative; }
.xl-about-timeline__year { width: 54px; height: 54px; border-radius: 50%; background: #ffffff; border: 2px solid #d78a2e; color: #10203e; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 1; }
.xl-about-timeline__item ul { list-style: none; margin: 0; padding: 0; }
.xl-about-timeline__item li { font-size: 0.84rem; color: #4a5468; line-height: 1.45; padding: 4px 0; }

/* Forbes band */
.xl-about-forbes { background: #10203e; color: #f5f0e6; padding: 64px 0; }
.xl-about-forbes__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.xl-about-forbes__logo { font-family: Georgia, serif; font-weight: 700; font-size: 3.2rem; display: block; color: #ffffff; }
.xl-about-forbes__sub { color: #c8b98f; font-size: 0.95rem; }
.xl-about-forbes__body h2 { color: #e9a24b; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.xl-about-forbes__body p { color: #cfd6e4; line-height: 1.7; max-width: 640px; margin: 0 0 18px; }
.xl-about-forbes__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.xl-about-forbes__tags span { border: 1px solid rgba(233, 162, 75, 0.5); color: #e9c489; font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; }
.xl-about-forbes__btn { display: inline-block; border: 1.5px solid #e9a24b; color: #e9a24b; padding: 12px 26px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
.xl-about-forbes__btn:hover { background: #e9a24b; color: #10203e; }

/* Gallery */
.xl-about-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.xl-about-tab { background: #ffffff; border: 1px solid #ddd3bd; color: #10203e; font-size: 0.82rem; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.xl-about-tab--active, .xl-about-tab:hover { background: #10203e; border-color: #10203e; color: #ffffff; }
.xl-about-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.xl-about-gallery__item { margin: 0; border-radius: 10px; overflow: hidden; }
.xl-about-gallery__item img { width: 100%; height: 170px; object-fit: cover; display: block; }
.xl-about-gallery__empty { grid-column: 1 / -1; text-align: center; color: #8a93a6; padding: 36px 0; border: 1px dashed #ddd3bd; border-radius: 10px; }

/* Logos */
.xl-about-section--logos { border-top: 1px solid #eee6d8; padding: 56px 0 72px; }
.xl-about-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.xl-about-logo { color: #2c3547; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; opacity: 0.85; }
.xl-about-logo--serif { font-family: Georgia, serif; }
.xl-about-logo small { font-size: 0.62rem; font-weight: 500; color: #7a8398; letter-spacing: 0.06em; }
.xl-about-logo strong { color: #c9862b; }

/* Responsive */
@media (max-width: 980px) {
    .xl-about-hero__grid, .xl-about-forbes__grid { grid-template-columns: 1fr; }
    .xl-about-hero__pills { position: static; margin: 18px auto 32px; max-width: 320px; }
    .xl-about-cols { grid-template-columns: repeat(2, 1fr); }
    .xl-about-timeline { grid-template-columns: repeat(2, 1fr); }
    .xl-about-timeline::before { display: none; }
    .xl-about-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .xl-about-cols, .xl-about-timeline, .xl-about-gallery { grid-template-columns: 1fr; }
}

/* About logo strip — real logo images */
.xl-about-logo__img { height: 30px; width: auto; display: block; filter: grayscale(1) contrast(1.05); opacity: 0.85; }
.xl-about-logo__img--wide { height: 26px; }
.xl-about-logo__img--tall { height: 44px; }
.xl-about-logo small { margin-top: 5px; }
.xl-about-logo--text { font-size: 1.35rem; font-weight: 700; color: #2c3547; }

.xl-about-logo__img--tall { height: 56px; }
.xl-about-logo__img--wide { height: 32px; }

/* About hero — full-width banner photo */
.xl-about-hero { background-size: cover; background-position: right center; background-repeat: no-repeat; min-height: 640px; display: flex; align-items: center; padding: 72px 0; position: relative; }
.xl-about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 42%, rgba(255,255,255,0) 68%); }
.xl-about-hero__grid { position: relative; z-index: 1; align-items: center; width: 100%; }
.xl-about-hero__pills { position: static; margin-left: auto; max-width: 270px; }
.xl-about-profile { margin-bottom: 0; }
@media (max-width: 980px) {
    .xl-about-hero { background-position: 70% center; }
    .xl-about-hero::before { background: rgba(255,255,255,0.88); }
    .xl-about-hero__pills { margin: 18px auto 0; }
}

.xl-about-hero__text { max-width: 520px; }
.xl-about-quote { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.xl-about-hero::before { background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 36%, rgba(255,255,255,0) 60%); }

/* About hero refinements — match reference mockup */
.xl-about-signature { margin: 10px 0 22px; }
.xl-about-signature span { font-family: 'Great Vibes', 'Brush Script MT', 'Segoe Script', cursive; font-style: normal; font-size: 2rem; color: #c9862b; }
.xl-about-intro { margin-bottom: 0; font-size: 0.95rem; }
.xl-about-pill { display: flex; align-items: center; gap: 14px; background: #101c33; border: 1px solid rgba(201, 134, 43, 0.35); border-radius: 12px; padding: 14px 18px; font-size: 0.86rem; line-height: 1.45; max-width: 290px; color: #eef1f7; }
.xl-about-pill__icon { flex: 0 0 auto; width: 34px; height: 34px; color: #d78a2e; margin-right: 0; }
.xl-about-pill__icon svg { width: 100%; height: 100%; }
.xl-about-strip { background: #ffffff; border-bottom: 1px solid #f0e8d8; padding: 34px 0; text-align: center; }
.xl-about-strip .xl-about-roles { margin-bottom: 12px; }
.xl-about-strip .xl-about-profile { max-width: 820px; margin: 0 auto; }

/* Keep head visible — anchor banner to top */
.xl-about-hero { background-position: right top; }
@media (max-width: 980px) { .xl-about-hero { background-position: 70% top; } }
/* Mobile: solid overlay so the quote/intro stay readable over the photo.
   Must come after the unconditional ::before gradient above. */
@media (max-width: 760px) {
    .xl-about-hero::before { background: rgba(255, 255, 255, 0.93); }
    .xl-about-hero { min-height: 0; padding: 56px 0 48px; }
    .xl-about-hero__text { max-width: none; }
}

/* Expertise columns — centered icons/headings, long lists in 2 columns */
.xl-about-col { text-align: center; }
.xl-about-col__icon { margin: 0 auto; }
.xl-about-col ul { display: inline-block; text-align: left; }
.xl-about-col__two { column-count: 2; column-gap: 28px; }
.xl-about-col__two li { break-inside: avoid; }
@media (max-width: 560px) { .xl-about-col__two { column-count: 1; } }

/* Expertise section — outlined card with title on the border */
.xl-about-expertise-box { position: relative; border: 1px solid #ddd3bd; border-radius: 10px; padding: 48px 40px 40px; margin-top: 26px; }
.xl-about-expertise-box .xl-about-title { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; background: #ffffff; padding: 0 22px; white-space: nowrap; }
.xl-about-expertise-box .xl-about-title span::before, .xl-about-expertise-box .xl-about-title span::after { width: 40px; }
.xl-about-expertise-box .xl-about-cols { gap: 0; }
.xl-about-expertise-box .xl-about-col { text-align: left; padding: 0 28px; border-left: 1px solid #e8e0cf; }
.xl-about-expertise-box .xl-about-col:first-child { border-left: none; padding-left: 0; }
.xl-about-expertise-box .xl-about-col__icon { margin: 0 0 4px; background: transparent; border: 2px solid; width: 58px; height: 58px; }
.xl-about-expertise-box .xl-about-col__icon--navy { border-color: #10203e; color: #10203e; }
.xl-about-expertise-box .xl-about-col__icon--gold { border-color: #b9974a; color: #b9974a; }
.xl-about-expertise-box .xl-about-col ul { display: block; }
@media (max-width: 980px) {
    .xl-about-expertise-box { padding: 42px 22px 28px; }
    .xl-about-expertise-box .xl-about-col { border-left: none; padding: 0 0 22px; }
}
.xl-about-expertise-box .xl-about-col__icon svg { width: 30px; height: 30px; }

/* Awards & Recognition — outlined timeline card with icons */
.xl-about-awards-box { position: relative; border: 1px solid #ddd3bd; border-radius: 10px; background: #ffffff; padding: 52px 34px 40px; margin-top: 26px; }
.xl-about-awards-box .xl-about-title { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; background: #fbf8f2; padding: 0 22px; white-space: nowrap; }
.xl-about-awards-box .xl-about-title span::before, .xl-about-awards-box .xl-about-title span::after { width: 40px; }
.xl-about-awards { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr repeat(2, 1fr); align-items: start; }
.xl-about-awards-cta { text-align: right; margin: -18px 0 18px; }
@media (max-width: 900px) { .xl-about-awards-cta { text-align: center; margin: 0 0 22px; } }
.xl-about-award { text-align: center; padding: 0 14px; position: relative; }
.xl-about-award__year { font-weight: 700; color: #10203e; font-size: 1.02rem; margin-bottom: 8px; }
.xl-about-award__dot { position: relative; height: 14px; margin-bottom: 20px; }
.xl-about-award__dot::before { content: ""; position: absolute; left: -14px; right: -14px; top: 50%; height: 1px; background: #d9b97a; }
.xl-about-award:first-child .xl-about-award__dot::before { left: 30%; }
.xl-about-award__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #c9862b; transform: translate(-50%, -50%); }
.xl-about-award__icon { width: 46px; height: 46px; margin: 0 auto 14px; color: #b9974a; }
.xl-about-award__icon svg { width: 100%; height: 100%; }
.xl-about-award__name { font-size: 0.86rem; color: #33405a; line-height: 1.5; margin: 0; font-weight: 600; }
.xl-about-award__list { list-style: none; margin: 0; padding: 0; text-align: left; display: inline-block; }
.xl-about-award__list li { position: relative; padding: 3px 0 3px 14px; font-size: 0.84rem; color: #33405a; line-height: 1.45; }
.xl-about-award__list li::before { content: "•"; position: absolute; left: 0; color: #c9862b; }
.xl-about-award--wide { border-left: 1px solid #eee4cf; border-right: 1px solid #eee4cf; }
.xl-about-award--cta { align-self: center; }
.xl-about-award--cta .xl-about-award__btn { display: inline-block; background: #10203e; color: #ffffff; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 18px 22px; border-radius: 8px; text-decoration: none; line-height: 1.4; }
.xl-about-award--cta .xl-about-award__btn:hover { background: #1c3159; }
@media (max-width: 980px) {
    .xl-about-awards { grid-template-columns: 1fr 1fr; gap: 26px 0; }
    .xl-about-award__dot::before { display: none; }
    .xl-about-award--wide { border: none; }
}
@media (max-width: 560px) { .xl-about-awards { grid-template-columns: 1fr; } }

/* Forbes band — elegant rounded card */
.xl-about-forbes-wrap { background: #ffffff; padding: 0 0 72px; }
.xl-about-forbes { background: linear-gradient(120deg, #0d1a33 0%, #14264a 100%); border-radius: 16px; padding: 44px 46px; display: grid; grid-template-columns: 240px 1fr 300px; gap: 44px; align-items: center; color: #f5f0e6; box-shadow: 0 18px 44px rgba(13, 26, 51, 0.28); }
.xl-about-forbes__logo { font-family: Georgia, serif; font-weight: 700; font-size: 2.8rem; display: block; color: #ffffff; line-height: 1.1; }
.xl-about-forbes__sub { display: block; color: #c8b98f; font-size: 0.92rem; margin: 6px 0 20px; }
.xl-about-forbes__btn { display: inline-block; border: 1.5px solid #d9b97a; color: #e9c489; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
.xl-about-forbes__btn:hover { background: #d9b97a; color: #10203e; }
.xl-about-forbes__body h2 { color: #e9c489; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.xl-about-forbes__body p { color: #cfd6e4; line-height: 1.65; margin: 0 0 22px; font-size: 0.92rem; }
.xl-about-forbes__feats { display: flex; flex-wrap: wrap; gap: 26px; }
.xl-about-forbes__feat { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.78rem; color: #e6ddc8; text-align: center; max-width: 90px; line-height: 1.35; }
.xl-about-forbes__feat-icon { width: 34px; height: 34px; color: #d9b97a; }
.xl-about-forbes__feat-icon svg { width: 100%; height: 100%; }
.xl-about-forbes__article { background: #ffffff; border-radius: 12px; padding: 22px 24px; color: #1c2333; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.xl-about-forbes__date { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a93a6; font-weight: 700; }
.xl-about-forbes__article h3 { font-size: 0.98rem; line-height: 1.45; color: #10203e; margin: 8px 0 14px; }
.xl-about-forbes__article a { color: #c9862b; font-weight: 700; font-size: 0.84rem; text-decoration: none; }
.xl-about-forbes__article a:hover { text-decoration: underline; }
@media (max-width: 980px) {
    .xl-about-forbes { grid-template-columns: 1fr; padding: 32px 26px; text-align: center; }
    .xl-about-forbes__feats { justify-content: center; }
}
@media (min-width: 981px) { .xl-about-forbes__feats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 22px; } }

/* Elegant refinement pass — match reference density & filled icons */
.xl-about-expertise-box .xl-about-col__icon { border: none; width: 56px; height: 56px; color: #ffffff; }
.xl-about-expertise-box .xl-about-col__icon--navy { background: #10203e; }
.xl-about-expertise-box .xl-about-col__icon--gold { background: #b9974a; }
.xl-about-expertise-box .xl-about-col__icon svg { width: 28px; height: 28px; }
.xl-about-expertise-box .xl-about-col h3 { font-size: 0.86rem; letter-spacing: 0.06em; }
.xl-about-forbes { padding: 38px 40px; gap: 38px; grid-template-columns: 220px 1fr 320px; }
.xl-about-forbes__feats { position: relative; }
@media (min-width: 981px) {
    .xl-about-forbes__feats { gap: 0; grid-template-columns: repeat(4, 1fr); max-width: 480px; }
    .xl-about-forbes__feat { max-width: none; padding: 0 12px; border-left: 1px solid rgba(217, 185, 122, 0.28); }
    .xl-about-forbes__feat:first-child { border-left: none; padding-left: 0; }
}
.xl-about-forbes__feat-icon { width: 30px; height: 30px; }
.xl-about-forbes__article { display: flex; padding: 0; overflow: hidden; }
.xl-about-forbes__article-thumb { flex: 0 0 96px; background-size: cover; background-position: 70% 20%; }
.xl-about-forbes__article-body { padding: 18px 20px; }
.xl-about-forbes__article h3 { font-size: 0.9rem; }
.xl-about-forbes__dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.xl-about-forbes__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.xl-about-forbes__dots span.is-active { background: #ffffff; }
@media (max-width: 980px) {
    .xl-about-forbes { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; text-align: center; }
    .xl-about-forbes__feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: none; }
    .xl-about-forbes__feat { border-left: none; padding: 0; max-width: 90px; }
    .xl-about-forbes__article { flex-direction: column; }
    .xl-about-forbes__article-thumb { height: 120px; flex: none; }
}
/* Awards title straddles cream section (top half) and white card (bottom half) */
.xl-about-awards-box .xl-about-title { background: linear-gradient(#fbf8f2 50%, #ffffff 50%); line-height: 1; padding: 8px 22px; }

/* ═══ Speaking page ═══ */
.xl-spk { background: #ffffff; }
.xl-spk-btn { display: inline-block; padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }
.xl-spk-btn--gold { background: #d9a743; color: #10203e; }
.xl-spk-btn--gold:hover { background: #e9c489; }
.xl-spk-btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.65); color: #ffffff; }
.xl-spk-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.xl-spk-eyebrow { color: #c9862b; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 8px; }

/* Hero */
.xl-spk-hero { background: radial-gradient(ellipse at 75% 10%, #1d3358 0%, #0d1a33 55%, #0a1428 100%); color: #ffffff; padding: 72px 0 64px; }
.xl-spk-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.xl-spk-hero__eyebrow { color: #d9a743; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 14px; }
.xl-spk-hero__copy h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.15; margin: 0 0 18px; color: #ffffff; }
.xl-spk-hero__copy h1 em { color: #e9a13b; font-style: normal; }
.xl-spk-hero__sub { color: #c7d0e0; line-height: 1.7; max-width: 520px; margin: 0 0 26px; }
.xl-spk-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.xl-spk-hero__side { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.xl-spk-hero__photo { width: 100%; max-height: 380px; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.xl-spk-hero__tags { border: 1px solid rgba(217, 167, 67, 0.5); border-radius: 12px; padding: 20px 22px; min-width: 170px; background: rgba(13, 26, 51, 0.6); }
.xl-spk-hero__quote { color: #d9a743; font-family: Georgia, serif; font-size: 3rem; line-height: 0.6; display: block; margin-bottom: 10px; }
.xl-spk-hero__tags p { margin: 0; font-weight: 700; letter-spacing: 0.1em; font-size: 0.95rem; line-height: 1.9; color: #ffffff; }
.xl-spk-hero__tags strong { color: #e9a13b; }

/* Profile + credentials */
.xl-spk-section { padding: 64px 0; }
.xl-spk-profile { display: grid; grid-template-columns: 210px 1fr 1.35fr; gap: 32px; align-items: start; }
.xl-spk-profile__card { background: #10203e; border-radius: 12px; padding: 0; overflow: hidden; text-align: center; align-self: stretch; display: flex; flex-direction: column; }
.xl-spk-profile__card img { width: 100%; flex: 1; min-height: 0; border-radius: 12px; object-fit: cover; object-position: top; }
.xl-spk-profile__sig { font-family: "Great Vibes", cursive; color: #e9c489; font-size: 1.7rem; margin: 10px 0 0; }
.xl-spk-profile__name { font-family: "Playfair Display", Georgia, serif; font-size: 1.9rem; color: #10203e; margin: 0 0 8px; }
.xl-spk-profile__name em { color: #c9862b; font-style: normal; }
.xl-spk-profile__roles { color: #c9862b; font-size: 0.82rem; font-weight: 700; margin: 0 0 14px; }
.xl-spk-profile__body p { color: #4a5468; line-height: 1.7; font-size: 0.94rem; }
.xl-spk-creds { border-left: 1px solid #ddd3bd; padding: 0 0 0 32px; }
.xl-spk-creds__title { text-align: left; letter-spacing: 0.1em; text-transform: uppercase; color: #10203e; font-size: 1.05rem; font-family: "Playfair Display", Georgia, serif; margin: 0 0 20px; }
.xl-spk-creds__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; grid-auto-flow: column; gap: 26px 30px; }
.xl-spk-cred h4 { color: #10203e; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 9px; }
.xl-spk-cred__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #c9862b; flex-shrink: 0; }
.xl-spk-cred__icon svg { width: 26px; height: 26px; }
.xl-spk-cred ul { list-style: none; margin: 0; padding: 0; }
.xl-spk-cred li { color: #4a5468; font-size: 0.88rem; padding: 3px 0 3px 14px; position: relative; }
.xl-spk-cred li::before { content: "•"; color: #c9862b; position: absolute; left: 0; }
/* Keep award titles on a single line */
.xl-spk-cred li { white-space: nowrap; }
/* Long membership names may still wrap */
.xl-spk-cred--wrap li { white-space: normal; }

/* Engagements */
.xl-spk-section--engage { background: #fbf8f2; }
.xl-spk-engage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.xl-spk-engage__card { background: #ffffff; border: 1px solid #e8e0cf; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.xl-spk-engage__head { padding: 14px 14px 12px; color: #ffffff; display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 78px; text-align: left; border-radius: 10px; }
.xl-spk-engage__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(217, 167, 67, 0.9); border-radius: 8px; color: #e9c489; }
.xl-spk-engage__icon svg { width: 22px; height: 22px; }
.xl-spk-engage__head h3 { margin: 0; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.4; color: inherit; }
.xl-spk-engage__head--navy { background: #10203e; }
.xl-spk-engage__head--gold { background: #b9974a; }
.xl-spk-engage__head--wine { background: #6d1f3c; }
.xl-spk-engage__card ul { list-style: none; margin: 0; padding: 14px 16px 18px; }
.xl-spk-engage__card li { color: #4a5468; font-size: 0.82rem; line-height: 1.5; padding: 4px 0 4px 13px; position: relative; }
.xl-spk-engage__card li::before { content: "•"; color: #c9862b; position: absolute; left: 0; }

/* Signature presentations */
.xl-spk-sig { background: linear-gradient(150deg, #0d1a33 0%, #14264a 100%); padding: 64px 0 72px; }
@media (max-width: 560px) {
    .xl-about-expertise-box .xl-about-title, .xl-about-awards-box .xl-about-title { white-space: normal; width: calc(100% - 32px); font-size: 0.95rem; letter-spacing: 0.12em; }
    .xl-about-title span { padding: 0 12px; }
    .xl-about-title span::before, .xl-about-title span::after { display: none; }
}
.xl-about-title--light { color: #ffffff; }
.xl-about-title--light span::before, .xl-about-title--light span::after { background: rgba(217, 185, 122, 0.5); }
.xl-spk-sig__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.xl-spk-sig__item { text-align: center; }
.xl-spk-sig__icon { width: 76px; height: 76px; margin: 0 auto 16px; border: 1.5px solid #d9b97a; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(217, 185, 122, 0.06); }
.xl-spk-sig__icon img { width: 72%; height: 72%; object-fit: contain; display: block; }
.xl-spk-sig__item { position: relative; padding: 0 6px; }
.xl-spk-sig__item + .xl-spk-sig__item::before { content: ""; position: absolute; left: -9px; top: 8px; bottom: 8px; width: 1px; background: rgba(217, 185, 122, 0.25); }
@media (max-width: 1100px) { .xl-spk-sig__item + .xl-spk-sig__item::before { display: none; } }
.xl-spk-sig__item h3 { color: #ffffff; font-size: 0.82rem; line-height: 1.45; margin: 0 0 6px; }
.xl-spk-sig__item p { color: #c8b98f; font-size: 0.78rem; line-height: 1.45; margin: 0; }
@media (max-width: 1100px) { .xl-spk-sig__grid { grid-template-columns: repeat(4, 1fr); row-gap: 30px; } }

/* Media */
.xl-spk-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.xl-spk-media__card { border: 1px solid #e8e0cf; border-radius: 10px; padding: 0 16px 18px; background: #ffffff; }
.xl-spk-media__card--dark { background: #10203e; border-color: #10203e; }
.xl-spk-media__card--dark h3, .xl-spk-media__card--dark p { color: #ffffff; }
.xl-spk-media__thumb { height: 110px; margin: 0 -16px 14px; background: linear-gradient(135deg, #1d3358, #0d1a33); border-radius: 10px 10px 0 0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; text-decoration: none; }
a.xl-spk-media__thumb:hover .xl-spk-media__play { background: #d9a64f; color: #ffffff; }
/* Overlay-style media card: full 16:9 thumbnail with text over a gradient */
.xl-spk-media__card--overlay { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 0; background-size: cover; background-position: center; border: none; overflow: hidden; text-decoration: none; }
.xl-spk-media__card--overlay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 51, 0.1) 0%, rgba(13, 26, 51, 0.3) 40%, rgba(5, 10, 22, 0.97) 82%, #050a16 100%); }
.xl-spk-media__card--overlay .xl-spk-media__play { position: relative; z-index: 1; margin-top: -30px; }
.xl-spk-media__overlay { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px 16px 14px; text-align: left; }
a.xl-spk-media__card--overlay h3, .xl-spk-media__card--overlay h3 { color: #ffffff !important; margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; text-shadow: 0 1px 5px rgba(0, 0, 0, 1); }
a.xl-spk-media__card--overlay p, .xl-spk-media__card--overlay p { color: #ffffff !important; margin: 0 0 6px; font-size: 0.78rem; line-height: 1.45; text-shadow: 0 1px 5px rgba(0, 0, 0, 1); }
.xl-spk-media__card--overlay .xl-spk-media__link { color: #f2c576; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
.xl-spk-media__card--overlay:hover .xl-spk-media__play { background: #d9a64f; color: #ffffff; }
.xl-spk-media__play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #10203e; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; padding-left: 3px; }
.xl-spk-media__card h3 { font-size: 0.88rem; color: #10203e; margin: 0 0 6px; }
.xl-spk-media__card p { font-size: 0.8rem; color: #4a5468; line-height: 1.5; margin: 0 0 10px; }
.xl-spk-media__link { color: #c9862b; font-weight: 700; font-size: 0.8rem; text-decoration: none; }
.xl-spk-media__link small { color: #a3a9b6; font-weight: 400; }

/* Invite band */
.xl-spk-invite { background: linear-gradient(150deg, #0a1428 0%, #10203e 100%); padding: 64px 0 72px; color: #ffffff; }
.xl-spk-invite__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.xl-spk-invite h2 { color: #e9c489; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 22px; }
.xl-spk-invite blockquote { border-left: 2px solid #d9b97a; margin: 0 0 20px; padding: 4px 0 4px 18px; }
.xl-spk-invite blockquote p { color: #d4dbe8; font-size: 0.92rem; line-height: 1.65; margin: 0 0 8px; font-style: italic; }
.xl-spk-invite cite { color: #c8b98f; font-size: 0.8rem; font-style: normal; }
.xl-spk-invite__formats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xl-spk-invite__formats li { color: #d4dbe8; font-size: 0.88rem; }
.xl-spk-invite__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.xl-spk-invite__form input, .xl-spk-invite__form textarea { width: 100%; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; padding: 12px 14px; color: #ffffff; font-size: 0.9rem; font-family: inherit; }
.xl-spk-invite__form input::placeholder, .xl-spk-invite__form textarea::placeholder { color: #8d99b0; }
.xl-spk-invite__form input:focus, .xl-spk-invite__form textarea:focus { outline: none; border-color: #d9a743; }
.xl-spk-invite__form textarea { margin-bottom: 18px; resize: vertical; }
.xl-spk-invite__ok { background: rgba(46, 160, 90, 0.15); border: 1px solid rgba(46, 160, 90, 0.5); border-radius: 8px; padding: 16px 18px; color: #bfe8cf; }

@media (max-width: 1024px) {
    .xl-spk-hero__grid, .xl-spk-invite__grid { grid-template-columns: 1fr; }
    .xl-spk-engage, .xl-spk-media { grid-template-columns: repeat(2, 1fr); }
    .xl-spk-creds__grid { grid-template-columns: repeat(2, 1fr); }
    .xl-spk-cred li { white-space: normal; }
    .xl-spk-profile { grid-template-columns: 1fr; }
    .xl-spk-profile__card { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .xl-spk-engage, .xl-spk-media, .xl-spk-creds__grid, .xl-spk-invite__row, .xl-spk-sig__grid { grid-template-columns: 1fr; }
    .xl-spk-hero__side { grid-template-columns: 1fr; }
}
.xl-spk-invite__err { background: rgba(200, 70, 70, 0.15); border: 1px solid rgba(200, 70, 70, 0.5); border-radius: 8px; padding: 14px 18px; color: #f3c5c5; margin: 0 0 16px; }
.xl-spk-invite__hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
/* Speaking hero — full-width banner photo */
.xl-spk-hero { background: #050b18 url('../images/speaker-banner.jpg') no-repeat center right / cover; position: relative; padding: 96px 0 90px; }
.xl-spk-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 24, 0.92) 0%, rgba(5, 11, 24, 0.72) 38%, rgba(5, 11, 24, 0.15) 65%, rgba(5, 11, 24, 0) 100%); }
.xl-spk-hero .xl-container { position: relative; z-index: 1; }
.xl-spk-hero__grid { grid-template-columns: 1.15fr 1fr; align-items: center; }
.xl-spk-hero__side { display: flex; justify-content: flex-end; grid-template-columns: none; }
.xl-spk-hero__side .xl-spk-hero__photo { display: none; }
.xl-spk-hero__tags { background: transparent; border: none; padding: 0; min-width: 0; }
.xl-spk-hero__quote { font-size: 4.5rem; line-height: 0.8; margin-bottom: 16px; font-weight: 700; }
.xl-spk-hero__tags p { font-size: 1.05rem; letter-spacing: 0.12em; line-height: 2; }
.xl-spk-hero__copy { max-width: 560px; }
/* Mobile: stack the hero into one column (the banner overrides above re-set
   two columns after the earlier 1024px query, so this must come last). */
@media (max-width: 760px) {
    .xl-spk-hero { padding: 56px 0 48px; }
    .xl-spk-hero::before { background: linear-gradient(180deg, rgba(5, 11, 24, 0.92) 0%, rgba(5, 11, 24, 0.84) 100%); }
    .xl-spk-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .xl-spk-hero__copy { max-width: none; }
    .xl-spk-hero__side { justify-content: flex-start; }
    .xl-spk-hero__quote { font-size: 3rem; margin-bottom: 8px; }
    .xl-spk-hero__tags p { font-size: 0.95rem; line-height: 1.9; }
    .xl-spk-hero__btns { flex-direction: column; align-items: stretch; }
    .xl-spk-hero__btns .xl-spk-btn { width: 100%; justify-content: center; text-align: center; }
    /* Credentials: one real column — kill the column auto-flow and forced nowrap
       that made the grid wider than the screen (this also caused the profile
       photo to look pushed off the right edge). */
    .xl-spk-creds { border-left: 0; padding-left: 0; }
    .xl-spk-creds__grid { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
    .xl-spk-cred li { white-space: normal; }
}

/* YouTube lightbox modal */
.xl-yt-modal { position: fixed; inset: 0; z-index: 4000; display: none; }
.xl-yt-modal.is-open { display: block; }
.xl-yt-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 11, 24, 0.88); }
.xl-yt-modal__body { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(960px, 92vw); }
.xl-yt-modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6); }
.xl-yt-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.xl-yt-modal__close { position: absolute; top: -44px; right: 0; background: none; border: none; color: #ffffff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.xl-yt-modal__close:hover { color: #d9a64f; }
@media (max-width: 900px) {
    /* keep the close button on screen when the modal is used on small viewports */
    .xl-yt-modal__body { width: 94vw; }
    .xl-yt-modal__close { top: auto; bottom: 100%; right: 0; margin-bottom: 6px; }
}

/* ═══════════ Learning & Development ═══════════ */
.xl-ld-hero { background: radial-gradient(ellipse at 75% 10%, #1d3358 0%, #0d1a33 55%, #0a1428 100%); color: #fff; padding: 88px 0 72px; text-align: center; }
.xl-ld-hero__eyebrow { color: #d9a743; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 14px; }
.xl-ld-hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.15; margin: 0 0 18px; color: #fff; }
.xl-ld-hero h1 em, .xl-prog-hero h1 em { color: #e9a13b; font-style: normal; }
.xl-ld-hero__sub { color: #c7d0e0; line-height: 1.7; max-width: 640px; margin: 0 auto 28px; }
.xl-ld-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.xl-ld-section-title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #0d1a33; text-align: center; margin: 0 0 28px; }
.xl-ld-grid-section { padding: 64px 0; background: #f6f7fa; }
.xl-ld-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.xl-ld-filters input[type="search"], .xl-ld-filters select { padding: 10px 14px; border: 1px solid #d5dae3; border-radius: 8px; font-size: 0.92rem; background: #fff; min-width: 160px; }
.xl-ld-filters input[type="search"] { min-width: 220px; }
.xl-ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.xl-ld-empty { text-align: center; padding: 48px 0; color: #5a6577; }
.xl-ld-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 22px rgba(13, 26, 51, 0.08); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.xl-ld-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(13, 26, 51, 0.14); }
.xl-ld-card__imgwrap { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.xl-ld-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xl-ld-card__img--placeholder { background: linear-gradient(135deg, #14294d 0%, var(--xl-hero-bg, #0d1a33) 100%); }
/* Splash-card lower info area uses the programme's hero colour */
.xl-ld-card__imgwrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent 0%, var(--xl-hero-bg, #111A2E) 100%); pointer-events: none; }
.xl-ld-card__fee { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #d9a350; color: #0d1a33; }
.xl-ld-card__fee--free { background: #2e9e5b; color: #fff; }
.xl-ld-card__fee--tba { background: #5a6577; color: #fff; }
.xl-ld-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; background: var(--xl-hero-bg, #111A2E); color: #e6ebf4; }
.xl-ld-card__cat { color: #d9a350; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.xl-ld-card__title { font-size: 1.12rem; line-height: 1.35; margin: 0 0 10px; }
.xl-ld-card__title a { color: #ffffff; text-decoration: none; }
.xl-ld-card__title a:hover { color: #d9a350; }
.xl-ld-card__desc { color: rgba(230, 235, 244, 0.75); font-size: 0.92rem; line-height: 1.6; margin: 0 0 14px; }
.xl-ld-card__meta { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 5px; font-size: 0.86rem; color: rgba(230, 235, 244, 0.85); }
.xl-ld-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.xl-ld-card__reg { font-size: 0.8rem; font-weight: 600; }
.xl-ld-card__reg.is-open { color: #5bd18f; }
.xl-ld-card__reg.is-closed { color: #f0938e; }
.xl-ld-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.xl-ld-page { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid #d5dae3; background: #fff; color: #0d1a33; text-decoration: none; font-weight: 600; }
.xl-ld-page.is-current, .xl-ld-page:hover { background: #d9a350; border-color: #d9a350; color: #0d1a33; }
.xl-ld-cta { background: #0d1a33; color: #fff; text-align: center; padding: 64px 0; }
.xl-ld-cta h2 { font-family: "Playfair Display", Georgia, serif; color: #fff; margin: 0 0 12px; }
.xl-ld-cta p { color: #c7d0e0; max-width: 560px; margin: 0 auto 24px; }

/* ── Single programme (dynamic blended hero) ── */
.xl-prog-hero { position: relative; background-color: var(--xl-hero-bg, #111A2E); color: #fff; padding: 72px 0 64px; overflow: hidden; }
.xl-prog-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background-image: var(--xl-hero-image); background-size: cover; background-position: var(--xl-image-position, center center); background-repeat: no-repeat; }
.xl-prog-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--xl-hero-bg, #111A2E) 0%, var(--xl-hero-bg, #111A2E) 12%, transparent 62%); }
.xl-prog-hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, transparent 0%, var(--xl-hero-bg, #111A2E) 100%); opacity: 0.55; }
.xl-prog-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 44px; align-items: center; }
.xl-prog-hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.18; margin: 0 0 16px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35); }
.xl-prog-hero__sub { color: #d8dfeb; line-height: 1.7; margin: 0 0 20px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.xl-prog-hero__facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: #edf1f8; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }

/* Course Title pages: banner shown FULL at 100% opacity; copy sits on its own overlay panel */
.xl-course .xl-prog-hero--has-media { aspect-ratio: var(--xl-hero-ratio, 2.4); min-height: 0; padding: 0; display: flex; align-items: center; }
.xl-course .xl-prog-hero--has-media.xl-prog-hero--has-fees { aspect-ratio: auto; min-height: 700px; }
/* Course banner: always shrink-to-fit the uploaded image — never crop it.
   The hero matches the image's own proportions (via --xl-hero-ratio) and the
   image is shown whole, aligned right, with a fade so the title stays readable. */
.xl-course .xl-prog-hero--has-media .xl-prog-hero__media {
  width: 100%;
  background-size: contain;
  background-position: right center;
}
.postid-109.xl-course .xl-prog-hero--has-media .xl-prog-hero__media,
.postid-109 .xl-course .xl-prog-hero--has-media .xl-prog-hero__media,
.postid-1216.xl-course .xl-prog-hero--has-media .xl-prog-hero__media,
.postid-1216 .xl-course .xl-prog-hero--has-media .xl-prog-hero__media {
  background-size: cover;
}
.xl-course .xl-prog-hero--has-media .xl-prog-hero__grid { width: 100%; padding: 40px 0; }
.xl-course .xl-prog-hero__media { width: 100%; }
.xl-course .xl-prog-hero__media::before,
.xl-course .xl-prog-hero__media::after { display: none; }
.xl-course .xl-prog-hero__copy {
  background: color-mix(in srgb, var(--xl-hero-bg, #111A2E) 78%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .xl-course .xl-prog-hero__copy { background: rgba(10, 16, 30, 0.78); }
}
.xl-prog-body { padding: 56px 0; background: #f6f7fa; }
.xl-prog-body__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.xl-prog-main { min-width: 0; }
.xl-pubs { max-width: 100%; }
.xl-prog-main h2 { font-family: "Playfair Display", Georgia, serif; color: #0d1a33; margin: 34px 0 14px; font-size: 1.45rem; }
.xl-prog-main h2:first-child { margin-top: 0; }
.xl-prog-content { color: #3d4757; line-height: 1.75; }
.postid-1226 .xl-prog-content > h3:first-child { margin-top: 1.75rem; }
.postid-1226 .xl-prog-content > p + p { margin-top: 1rem; }
.xl-finance-course-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.25rem;
}
.xl-finance-course-switcher a {
  display: flex;
  min-height: 78px;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 1px solid #d6aa58;
  border-radius: 10px;
  background: #10172e;
  color: #fff;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}
.xl-finance-course-switcher a:hover {
  background: #192343;
  color: #efc268;
}
.xl-finance-course {
  scroll-margin-top: 110px;
}
.xl-finance-course + .xl-finance-course {
  margin-top: 3.25rem;
  padding-top: 3rem;
  border-top: 2px solid #d6aa58;
}
.xl-finance-course__header {
  margin-bottom: 1.5rem;
}
.xl-finance-course__number {
  margin: 0 0 0.35rem;
  color: #a97828;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.xl-finance-course__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}
.xl-finance-course__status {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #e6b64f;
  color: #172039;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.xl-finance-course__status--soon {
  background: #e9e2d4;
  color: #6b552d;
}
.xl-finance-course__register {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 6px;
  background: linear-gradient(90deg, #bd832a, #e9bf66);
  color: #191812;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .xl-finance-course-switcher { grid-template-columns: 1fr; }
}
.xl-prog-list { color: #3d4757; line-height: 1.8; padding-left: 20px; }
.xl-course-module[dir="rtl"] ul,
.xl-course-module[dir="rtl"] ol {
  direction: rtl;
  text-align: right;
  padding-left: 0;
  padding-right: 24px;
  margin-left: 0;
  margin-right: 0;
  list-style-position: outside;
}
.xl-course-module[dir="rtl"] li {
  direction: rtl;
  text-align: right;
}
.xl-course-module[dir="rtl"] ul li {
  padding: 0.3rem 1.2rem 0.3rem 0;
}
.xl-course-module[dir="rtl"] ul li::before {
  left: auto;
  right: 0;
}
.xl-prog-trainer { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 4px 16px rgba(13, 26, 51, 0.06); }
.xl-prog-trainer__photo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid #d9a350; flex-shrink: 0; }
.xl-prog-trainer__name { margin: 0 0 4px; color: #0d1a33; }
.xl-prog-trainer__extra { color: #5a6577; font-size: 0.9rem; margin: 0 0 8px; }
.xl-prog-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.xl-prog-gallery__img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; }
.xl-prog-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.xl-prog-card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 4px 16px rgba(13, 26, 51, 0.06); }
.xl-prog-card h3 { margin: 0 0 14px; color: #0d1a33; font-size: 1.05rem; border-bottom: 2px solid #d9a350; padding-bottom: 8px; }
.xl-prog-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.9rem; }
.xl-prog-card__list li { display: flex; justify-content: space-between; gap: 12px; }
.xl-prog-card__list span { color: #5a6577; }
.xl-prog-card__list strong { color: #0d1a33; text-align: right; }
.xl-prog-side__cta { text-align: center; }
.xl-prog-register { margin-top: 44px; background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 6px 22px rgba(13, 26, 51, 0.08); border-top: 4px solid #d9a350; }
.xl-prog-register__title { font-family: "Playfair Display", Georgia, serif; color: #0d1a33; margin: 0 0 8px; }
.xl-prog-register__seats { color: #2e9e5b; font-weight: 600; margin: 0 0 16px; }
.xl-prog-related { padding: 56px 0; background: #fff; }

/* ── Knowledge Library ── */
.xl-kl-search { display: flex; gap: 10px; max-width: 560px; margin: 22px auto 0; }
.xl-kl-search input { flex: 1; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.95rem; }
.xl-kl-search input::placeholder { color: #9aa5b8; }
.xl-kl-sections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.xl-kl-section-card { display: flex; flex-direction: column; gap: 10px; background: var(--xl-bg-elevated, #111a2e); border: 1px solid var(--xl-border, rgba(255,255,255,0.08)); border-radius: 14px; padding: 26px 22px; text-decoration: none; color: #fff; transition: transform var(--xl-transition), border-color var(--xl-transition); border-top: 3px solid #d9a350; }
.xl-kl-section-card:hover { transform: translateY(-4px); border-color: #d9a350; color: #fff; }
.xl-kl-section-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; }
.xl-kl-section-card p { margin: 0; color: var(--xl-muted, #9aa5b8); font-size: 0.88rem; line-height: 1.6; flex: 1; }
.xl-kl-section-card__count { color: #d9a350; font-size: 0.82rem; font-weight: 600; }
.xl-kl-section-card__cta { color: #e9a13b; font-size: 0.88rem; font-weight: 600; }
.xl-kl-two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.xl-kl-author-list { display: flex; flex-wrap: wrap; gap: 10px; }
.xl-kl-author-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--xl-bg-elevated, #111a2e); border: 1px solid var(--xl-border, rgba(255,255,255,0.08)); border-radius: 999px; padding: 6px 14px 6px 6px; color: #e8eaf0; text-decoration: none; font-size: 0.88rem; }
.xl-kl-author-chip:hover { border-color: #d9a350; color: #fff; }
.xl-kl-author-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.xl-kl-author-chip em { font-style: normal; color: #d9a350; font-weight: 700; }
.xl-kl-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.xl-kl-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.xl-kl-recent li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--xl-border, rgba(255,255,255,0.08)); padding-bottom: 10px; }
.xl-kl-recent a { color: #e8eaf0; text-decoration: none; font-size: 0.92rem; }
.xl-kl-recent a:hover { color: #e9a13b; }
.xl-kl-recent time { color: var(--xl-muted, #9aa5b8); font-size: 0.8rem; white-space: nowrap; }
.xl-kl-authors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.xl-kl-author-card { display: flex; flex-direction: column; background: var(--xl-bg-elevated, #111a2e); border: 1px solid var(--xl-border, rgba(255,255,255,0.08)); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform var(--xl-transition), border-color var(--xl-transition); }
.xl-kl-author-card:hover { transform: translateY(-4px); border-color: #d9a350; }
.xl-kl-author-card__photo { display: block; aspect-ratio: 5 / 6; background: #1a2540; overflow: hidden; }
.xl-kl-author-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.xl-kl-author-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.xl-kl-author-card h3 { margin: 0; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.xl-kl-author-card__desig { margin: 0; color: var(--xl-muted, #9aa5b8); font-size: 0.8rem; line-height: 1.45; }
.xl-kl-author-card__count { margin: 0; color: #d9a350; font-size: 0.78rem; font-weight: 600; }
.xl-kl-author-card__loc { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #e8eaf0; font-size: 0.8rem; }
.xl-kl-author-card__loc svg { color: #d9a350; flex-shrink: 0; }
.xl-kl-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #1a2540 0%, #24345c 100%); color: #d9a350; font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: 2px; }
.xl-kl-initials--sm { width: 32px; height: 32px; border-radius: 50%; font-size: 0.75rem; letter-spacing: 0; flex-shrink: 0; }
.xl-kl-initials--lg { width: 120px; height: 120px; border-radius: 50%; font-size: 2.2rem; border: 3px solid #d9a350; flex-shrink: 0; }
.xl-kl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.xl-kl-toolbar .xl-ld-section-title { margin: 0; }
.xl-kl-toolbar__controls { display: flex; gap: 10px; }
.xl-kl-toolbar__controls select { background: var(--xl-bg-elevated, #111a2e); color: #e8eaf0; border: 1px solid var(--xl-border, rgba(255,255,255,0.14)); border-radius: 8px; padding: 8px 12px; font-size: 0.88rem; }
.xl-kl-pagination { margin-top: 34px; text-align: center; }
.xl-kl-pagination .nav-links { display: inline-flex; gap: 8px; }
.xl-kl-pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--xl-border, rgba(255,255,255,0.14)); color: #e8eaf0; text-decoration: none; font-size: 0.9rem; }
.xl-kl-pagination .page-numbers.current, .xl-kl-pagination .page-numbers:hover { background: #d9a350; color: #0d1a33; border-color: #d9a350; }
.xl-kl-author-hero { display: flex; gap: 40px; align-items: flex-start; text-align: left; }
.xl-kl-author-hero h1 { margin-bottom: 0; }
.xl-kl-author-hero__photo,
.xl-kl-initials--hero {
    width: 260px;
    height: 260px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #d9a350;
    flex-shrink: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.xl-kl-initials--hero { font-size: 4rem; }
.xl-kl-author-hero .xl-ld-hero__sub { margin: 0; line-height: 1.25; }
.xl-kl-author-hero__bio { color: #d8dfeb; line-height: 1.7; max-width: 720px; margin-top: 10px; }
.xl-kl-author-hero__links { display: flex; gap: 16px; }
.xl-kl-author-hero__links a { color: #e9a13b; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.xl-kl-author-hero__count { color: #d9a350; font-weight: 700; font-size: 0.9rem; }
.xl-article-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.xl-reading-time { color: inherit; opacity: 0.85; font-size: 0.9rem; }
.xl-tag--kl { background: #d9a350; color: #0d1a33; }
@media (max-width: 1200px) {
  .xl-kl-authors { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .xl-kl-sections, .xl-kl-authors { grid-template-columns: repeat(2, 1fr); }
  .xl-kl-two-col { grid-template-columns: 1fr; }
  .xl-kl-author-hero { flex-direction: column; }
}
@media (max-width: 600px) {
  .xl-kl-sections, .xl-kl-authors { grid-template-columns: 1fr; }
}

/* ── Homepage three-col: compact article lists ── */
.xl-home-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.xl-home-list__item + .xl-home-list__item { border-top: 1px solid rgba(255,255,255,0.08); }
.xl-home-list__item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  color: #fff;
}
.xl-home-list__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid rgba(217, 166, 79, 0.25);
}
.xl-home-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--xl-transition); }
.xl-home-list__item a:hover .xl-home-list__thumb img { transform: scale(1.06); }
.xl-home-list__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.xl-home-list__text strong { font-size: 0.95rem; line-height: 1.4; font-weight: 600; transition: color var(--xl-transition); }
.xl-home-list__item a:hover .xl-home-list__text strong { color: #D9A64F; }
.xl-home-list__text span { color: #9aa5b8; font-size: 0.8rem; }

/* ── Insights single article: white page background ── */
body.xl-insight-single,
body.xl-insight-single .xl-article-page,
body.xl-insight-single main { background: #ffffff; }
body.xl-insight-single .xl-article-layout__content.xl-prose {
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(16, 26, 46, 0.08);
}
body.xl-insight-single .xl-section-title,
body.xl-insight-single .xl-related h2 { color: #101a2e; }
body.xl-insight-single .comments-area,
body.xl-insight-single .comments-area .comment-reply-title,
body.xl-insight-single .comments-area label,
body.xl-insight-single .comments-area p { color: #101a2e; }

/* ── Contact page ── */
.xl-contact .xl-ld-hero {
  background:
    linear-gradient(rgba(8, 13, 24, 0.55), rgba(8, 13, 24, 0.7)),
    url('../img/contact-hero-banner.jpg') center / cover no-repeat;
}
.xl-contact-section { padding: 64px 0 80px; }
.xl-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin-inline: auto;
}
.xl-contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 24px;
  border-radius: var(--xl-radius);
  background: var(--xl-bg-nav);
  border: 1px solid rgba(217, 166, 79, 0.25);
  color: #fff;
  transition: transform var(--xl-transition), border-color var(--xl-transition), box-shadow var(--xl-transition);
}
.xl-contact-card:hover {
  transform: translateY(-4px);
  border-color: #D9A64F;
  box-shadow: var(--xl-shadow-lg);
  color: #fff;
}
.xl-contact-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(217, 166, 79, 0.15);
  color: #D9A64F;
}
.xl-contact-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xl-contact-card__body strong { font-size: 1.05rem; }
.xl-contact-card__body span { color: #9aa5b8; font-size: 0.92rem; line-height: 1.5; }
.xl-contact-card__body em { font-style: normal; color: #D9A64F; font-size: 0.85rem; word-break: break-all; }
.xl-contact-extra { max-width: 760px; margin: 48px auto 0; }

/* ── Success Stories hero: text left, full featured image right ── */
.xl-article-hero--split { background: var(--xl-bg-nav); }
.xl-article-hero__splitwrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.xl-article-hero__content--split { flex: 1 1 55%; min-width: 0; }
.xl-article-hero__split-img {
  flex: 1 1 45%;
  max-width: 460px;
  padding: 2rem 0;
}
.xl-article-hero__split-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--xl-radius);
  box-shadow: var(--xl-shadow-lg);
}
@media (max-width: 860px) {
  .xl-article-hero__splitwrap { flex-direction: column-reverse; align-items: stretch; gap: 0.5rem; }
  .xl-article-hero__split-img { max-width: 340px; margin-inline: auto; padding-bottom: 0; }
}

/* ── Insights: clean white article header (Lexology-style) ── */
.xl-insight-topbar { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding-top: 1.25rem; }
.xl-insight-topbar .xl-breadcrumbs a { color: #64748b; }
.xl-insight-topbar .xl-breadcrumbs li { color: #94a3b8; }
.xl-insight-hero {
  position: relative;
  background: #000000;
  overflow: hidden;
}
.xl-insight-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 3rem 0;
}
.xl-insight-hero__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0 1.25rem;
}
@media (max-width: 860px) {
  .xl-insight-hero { display: flex; flex-direction: column; }
  .xl-insight-hero__inner { min-height: 0; padding: 2rem 0 1.5rem; order: 1; }
}
.xl-insight-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--xl-transition);
}
.xl-insight-action:hover { border-color: var(--xl-orange); color: var(--xl-orange); }
.xl-insight-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  max-width: 900px;
  margin-bottom: 0.75rem;
}
.xl-insight-hero__topic {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d9a350;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 0;
}
.xl-insight-hero__topic:hover { text-decoration: underline; }
.xl-insight-hero__byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0;
  border-top: none;
}
.xl-insight-hero__avatar { border-radius: 50%; width: 56px; height: 56px; }
.xl-insight-hero__author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
}
.xl-insight-hero__author:hover { color: var(--xl-orange); }
.xl-insight-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #9db0cc;
  margin-top: 2px;
}
.xl-insight-hero__meta strong { color: #d8dfeb; }
.xl-insight-hero__sep { width: 1px; height: 14px; background: #33415c; }

/* ── Article body: white reading panel ── */
.xl-article-layout__content.xl-prose {
  background: #ffffff;
  color: #1f2937;
  border-radius: var(--xl-radius);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--xl-shadow-lg);
}
.xl-article-layout__content.xl-prose h1,
.xl-article-layout__content.xl-prose h2,
.xl-article-layout__content.xl-prose h3,
.xl-article-layout__content.xl-prose h4 { color: #0f172a; }
.xl-article-layout__content.xl-prose p,
.xl-article-layout__content.xl-prose li,
.xl-article-layout__content.xl-prose td { color: #374151; }
.xl-article-layout__content.xl-prose blockquote { color: #374151; background: #f8fafc; border-left-color: var(--xl-orange); }
.xl-article-layout__content.xl-prose code { background: #f1f5f9; }
.xl-article-layout__content.xl-prose pre { background: #f8fafc; border-color: #e2e8f0; }
.xl-article-layout__content.xl-prose pre code { color: #0f172a; }
.xl-article-layout__content.xl-prose th { background: #f1f5f9; color: #475569; border-bottom-color: #e2e8f0; }
.xl-article-layout__content.xl-prose td { border-bottom-color: #e2e8f0; }
.xl-article-layout__content.xl-prose hr { border-top-color: #e2e8f0; }
.xl-article-layout__content.xl-prose a { color: #c2410c; }
@media (max-width: 640px) {
  .xl-insight-hero__inner { padding: 1.5rem 0 1.75rem; }
  .xl-insight-hero__title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
  .xl-insight-hero__meta { flex-wrap: wrap; gap: 0.4rem 0.55rem; }
  .xl-article-layout__content.xl-prose {
    min-width: 0;
    max-width: 100%;
    padding: 1.5rem 1.25rem;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .xl-article-layout__content.xl-prose :is(p, div, span, strong, a, h1, h2, h3, h4, h5, h6, li) {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }
  .xl-article-layout__content.xl-prose :is(img, iframe, video, table) {
    max-width: 100% !important;
  }
}

/* ── Legacy (imported) article content: neutralize old-site inline styles ── */
.xl-prose--legacy :is(p, span, strong, em, b, i, li, h1, h2, h3, h4, h5, h6, td, th, blockquote, div, font) {
  color: inherit !important;
  background-color: transparent !important;
  font-family: inherit !important;
}
.xl-prose--legacy :is(p, span, li, td, th, div, font) { font-size: inherit !important; }
.xl-prose--legacy :is(h1, h2, h3, h4, h5, h6) { font-size: revert !important; }
.xl-prose--legacy a { color: var(--xl-orange) !important; background-color: transparent !important; }

/* ── Submission form ── */
.xl-prog-fieldset { border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 12px; padding: 22px 24px 26px; margin: 0 0 26px; background: #0f1628; }
.xl-prog-fieldset legend { font-weight: 700; color: #e8eaf0; padding: 0 10px; font-size: 1.02rem; }
.xl-form__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xl-form__grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.xl-prog-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.xl-review-notes { background: rgba(217, 163, 80, 0.12); border-left: 3px solid #d9a350; padding: 8px 12px; margin-top: 8px; font-size: 0.86rem; color: #ecd9b0; border-radius: 0 6px 6px 0; }
.xl-dash-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.xl-dash-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.xl-dash-table th, .xl-dash-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6e9f0; vertical-align: top; }
.xl-alert--warning { background: #fff7e8; border: 1px solid #e6c98a; color: #5a4a24; }

@media (max-width: 980px) {
  .xl-ld-grid { grid-template-columns: repeat(2, 1fr); }
  .xl-prog-hero__grid, .xl-prog-body__grid { grid-template-columns: 1fr; }
  .xl-prog-side { position: static; }
  .xl-form__grid3 { grid-template-columns: 1fr; }
  /* Stack hero image above text on smaller screens with a vertical blend */
  .xl-prog-hero--has-media { padding-top: 0; }
  .xl-prog-hero__media { position: relative; width: 100%; height: 260px; margin-bottom: 28px; }
  .xl-prog-hero__media::before { background: linear-gradient(180deg, transparent 40%, var(--xl-hero-bg, #111A2E) 100%); }
  .xl-prog-hero__media::after { display: none; }
  /* Course Title pages: drop the fixed banner ratio and overlay — stack image
     on top, copy panel below, so nothing gets cut off on phones/tablets. */
  .xl-course .xl-prog-hero--has-media { aspect-ratio: auto; display: block; padding: 0 0 32px; }
  .xl-course .xl-prog-hero--has-media .xl-prog-hero__media {
    position: relative; height: auto; aspect-ratio: 2 / 1;
    min-height: 190px; max-height: 320px; background-size: cover; background-position: var(--xl-image-position, center center);
    margin-bottom: 24px;
  }
  .xl-course .xl-prog-hero--has-media .xl-prog-hero__grid { padding: 0; }
  .xl-course .xl-prog-hero__copy { padding: 22px 20px; }
}
@media (max-width: 640px) {
  .xl-ld-grid { grid-template-columns: 1fr; }
  .xl-form__grid2 { grid-template-columns: 1fr; }
  .xl-prog-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Registration form (light card context on single programme) ── */
.xl-prog-register .xl-form__field label { color: #2c3547; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; text-transform: none; }
.xl-prog-register .xl-form__field input[type="text"],
.xl-prog-register .xl-form__field input[type="email"],
.xl-prog-register .xl-form__field input[type="tel"],
.xl-prog-register .xl-form__field input[type="url"],
.xl-prog-register .xl-form__field select,
.xl-prog-register .xl-form__field textarea {
  width: 100%; background: #f8f9fc; border: 1px solid #d5dae3; border-radius: 8px;
  padding: 11px 14px; color: #0d1a33; font-size: 0.95rem;
}
.xl-prog-register .xl-form__field input:focus,
.xl-prog-register .xl-form__field select:focus,
.xl-prog-register .xl-form__field textarea:focus { outline: none; border-color: #d9a350; box-shadow: 0 0 0 3px rgba(217, 163, 80, 0.18); background: #fff; }
.xl-prog-register .xl-form__field select option { background: #fff; color: #0d1a33; }
.xl-prog-register .xl-form__field { margin-bottom: 16px; }
.xl-prog-register .xl-form__hint { color: #5a6577; font-size: 0.82rem; }
.xl-prog-register .xl-form__field--checkbox label { color: #2c3547; display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.xl-prog-register .xl-form__field--checkbox a { color: #b07d2f; }
.xl-prog-register .xl-alert--success { background: #eaf7ef; border-color: #2e9e5b; color: #1d6b3d; }
.xl-prog-register .xl-alert--error { background: #fdecec; border-color: #b3403a; color: #8f2f2a; }
.xl-prog-card .xl-form__hint { color: #5a6577; }

/* ── Single media page (YouTube playlist player) ── */
.xl-media-single { padding: 56px 0 80px; }
.xl-media-single__player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.5); background: #000; }
.xl-media-single__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.xl-media-single__ext { margin: 22px 0 0; }
.xl-media-single__poster img { border-radius: 14px; }

/* ── Author page sidebar profile card ── */
.xl-author-side { background: var(--xl-bg-card, #111a2e); border: 1px solid var(--xl-border, #1f2a44); border-radius: 16px; padding: 1.25rem 1.25rem 1.5rem; text-align: center; }
.xl-author-side__photo { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top center; border-radius: 12px; background: #fff; }
.xl-author-side__photo--placeholder { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.xl-author-side__photo--placeholder svg { width: 70%; height: auto; display: block; }
.xl-author-side__name { margin: 1rem 0 0.2rem; color: #fff; font-size: 1.05rem; }
.xl-author-side__title { margin: 0; color: var(--xl-muted, #9aa7c0); font-size: 0.85rem; }

/* ── Video lightbox ── */
.xl-lightbox[hidden] { display: none; }
.xl-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(4,8,18,0.88); display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; }
.xl-lightbox__box { position: relative; width: min(1100px, 100%); }
.xl-lightbox__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.xl-lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.xl-lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.xl-lightbox__close:hover { color: #d9a350; }

/* ── Author hero: bio left, photo right ── */
.xl-author-hero { display: flex; align-items: flex-start; gap: 48px; }
.xl-author-hero__text { flex: 1 1 auto; min-width: 0; }
.xl-author-hero__text .xl-page-hero__title { margin-bottom: 0; }
.xl-author-hero__designation { max-width: 760px; margin: 0 0 18px; color: #d9ad56; font-weight: 650; line-height: 1.6; }
.xl-author-hero__text .xl-page-hero__desc p { margin: 0 0 12px; }
.xl-author-hero__linkedin { display: inline-block; margin: 8px 18px 0 0; color: #d9ad56; font-weight: 700; text-decoration: none; }
.xl-author-hero__linkedin:hover { color: #f0ca78; text-decoration: underline; }
.xl-author-hero__media { flex: 0 0 260px; }
.xl-author-hero__photo { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top center; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,0.4); }
.xl-author-hero__photo--placeholder { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.xl-author-hero__photo--placeholder svg { width: 70%; height: auto; display: block; }

.xl-course-registration-page { padding: 72px 0 96px; }
.xl-course-registration-page__intro,
.xl-course-registration-picker,
.xl-course-registration-page .xl-prog-register { width: min(920px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.xl-course-registration-page__intro { margin-bottom: 30px; }
.xl-course-registration-page__intro h2 { margin: 4px 0 12px; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); }
.xl-course-registration-page__intro > p:last-child { max-width: 720px; color: #b7c0d2; }
.xl-course-registration-picker {
  width: min(1100px, calc(100vw - 40px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid rgba(201,154,67,.45);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(14,28,52,.08);
}
.xl-course-registration-page .xl-prog-register {
  width: min(1100px, calc(100vw - 40px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.xl-course-registration-picker .xl-form__field label { color: #14213b; }
.xl-course-registration-picker .req { color: #a97828; }
.xl-course-registration-picker select { width: 100%; max-width: 100%; min-width: 0; }
.xl-program-multi { display: grid; gap: 9px; }
.xl-program-multi[hidden] { display: none; }
.xl-registration-fields.is-multi { grid-template-columns: minmax(280px, 440px) 1fr; }
.xl-registration-fields.is-multi .xl-form__field:first-child { width: 100%; max-width: none; }
.xl-registration-fields.is-multi .xl-form__field:nth-child(2) { grid-column: 1 / -1; }
.xl-registration-fields.is-multi .xl-program-multi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xl-program-multi__option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: #f8f9fb;
  color: #14213b !important;
  cursor: pointer;
}
.xl-program-multi__option:has(input:checked) { border-color: #c8993f; background: #fbf4e6; }
.xl-program-multi__option input { width: 18px; height: 18px; accent-color: #b9852c; }
.xl-course-registration-page .xl-prog-register__title { color: #14213b; }
.xl-prog-hero__facts .xl-prog-hero__fee-options {
  flex-basis: 100%;
  display: grid;
  gap: 9px;
  margin-top: 8px;
}
.xl-prog-hero__fee-card {
  display: grid;
  grid-template-columns: 110px 1.15fr 1.15fr .8fr 105px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(218, 174, 83, .44);
  border-radius: 10px;
  background: linear-gradient(100deg, rgba(218, 174, 83, .14), rgba(255, 255, 255, .045));
  box-shadow: inset 3px 0 0 #d9ad52;
  color: #fff;
  text-shadow: none;
}
.xl-prog-hero__fee-card small {
  display: block;
  margin-bottom: 2px;
  color: #aeb8ca;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xl-prog-hero__fee-mode { color: #f2d18b; font-size: 1.08rem; }
.xl-prog-hero__fee-price { color: #f2d18b; font-size: 1.04rem; white-space: nowrap; }
.xl-vat-fees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 42px;
}
.xl-vat-fee {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(190, 143, 55, .35);
  border-radius: 14px;
  background: linear-gradient(145deg, #101d35, #1a2946);
  box-shadow: 0 12px 26px rgba(10, 23, 44, .13);
  color: #fff;
}
.xl-vat-fee span { color: #dcb45e; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.xl-vat-fee strong { margin: 8px 0; color: #fff; font-family: Georgia, serif; font-size: 1.65rem; }
.xl-vat-fee small { margin-top: auto; color: #c6cfdd; font-size: .78rem; line-height: 1.45; }
.xl-course-module__subtitle {
  margin: -6px 0 22px;
  color: #66758d;
  font-size: .92rem;
  font-weight: 600;
}
.xl-course-outline-heading {
  margin: 24px 0 9px;
  padding-top: 0;
  color: #26709f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}
.xl-course-outline-heading--detail::before {
  content: "◢";
  margin-right: 8px;
  color: #14213b;
  font-size: .82em;
}
.xl-course-outline-topic {
  margin: 0 0 18px;
  color: #182238;
  font-size: 1.03rem;
  font-weight: 600;
}
.xl-course-outline-note {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e0e5ec;
}
.xl-course-outline-note .xl-course-outline-heading { margin-top: 0; padding-top: 0; }
.xl-course-topic-block > .xl-course-outline-heading:first-child {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 760px) {
  .xl-course .xl-prog-hero--has-media.xl-prog-hero--has-fees { min-height: 0; }
  .xl-prog-hero__fee-card { grid-template-columns: 1fr 1fr; gap: 9px 14px; }
  .xl-prog-hero__fee-mode,
  .xl-prog-hero__fee-price { font-size: 1rem; }
  .xl-vat-fees { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) { .xl-vat-fees { grid-template-columns: 1fr; } }
.xl-registration-option-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.xl-registration-option-summary[hidden] { display: none; }
.xl-registration-option-summary > div { padding: 16px; border-radius: 10px; background: #f5f3ee; }
.xl-registration-option-summary span,
.xl-registration-option-summary strong { display: block; }
.xl-registration-option-summary span { margin-bottom: 4px; color: #6c7382; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.xl-registration-option-summary strong { color: #14213b; }
@media (max-width: 680px) {
  .xl-course-registration-page { padding: 44px 0 70px; }
  .xl-course-registration-picker { padding: 20px; }
  .xl-registration-option-summary { grid-template-columns: 1fr; }
  .xl-registration-fields.is-multi .xl-form__field:first-child { max-width: none; }
  .xl-registration-fields.is-multi .xl-program-multi { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .xl-registration-fields.is-multi .xl-program-multi { grid-template-columns: 1fr; }
}
.xl-content-layout--full { padding-block: 48px 72px; }
@media (max-width: 782px) {
  .xl-author-hero { flex-direction: column-reverse; gap: 24px; }
  .xl-author-hero__media { flex-basis: auto; width: 200px; }
}

/* ── Footer polish: heading icons + arrow links ── */
.xl-footer__heading { display: flex; align-items: center; gap: 8px; }
.xl-footer__heading-icon { color: var(--xl-orange); flex-shrink: 0; }
.xl-footer__links li { margin: 0; }
.xl-footer__links a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; transition: color .2s ease, transform .2s ease; }
.xl-footer__links a::before { content: "›"; color: var(--xl-orange); font-weight: 700; opacity: .75; transition: transform .2s ease; }
.xl-footer__links a:hover { color: var(--xl-orange); transform: translateX(3px); }
.xl-footer__links a:hover::before { transform: translateX(2px); }
.xl-footer__more { color: var(--xl-orange) !important; font-weight: 600; }

/* ===== Footer redesign (newsletter panel + labeled socials) ===== */
.xl-footer { padding-top: 3.5rem; }
.xl-footer-news {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  border: 1px solid var(--xl-border); border-radius: 16px;
  background: var(--xl-bg-elevated, rgba(255,255,255,0.02));
  padding: 2rem 2.5rem;
}
.xl-footer-news__icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--xl-orange); color: var(--xl-orange);
  display: flex; align-items: center; justify-content: center;
}
.xl-footer-news__text { flex: 1 1 280px; min-width: 240px; }
.xl-footer-news__title { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 700; color: var(--xl-white); margin: 0 0 0.35rem; }
.xl-footer-news__sub { font-size: 0.82rem; color: var(--xl-muted); margin: 0; line-height: 1.5; }
.xl-footer-news__form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: stretch; }
.xl-footer-news__form input {
  min-width: 220px; padding: 0.8rem 1rem; font-size: 0.85rem;
  background: transparent; border: 1px solid var(--xl-border); border-radius: 8px; color: var(--xl-white);
}
.xl-footer-news__form input:focus { outline: none; border-color: var(--xl-orange); }
.xl-footer-news__form input::placeholder { color: var(--xl-muted); }
.xl-footer-news__btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.4rem;
  background: var(--xl-orange); color: #1a1408; border: none; border-radius: 8px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all var(--xl-transition); white-space: nowrap;
}
.xl-footer-news__btn:hover { background: var(--xl-orange-hover, var(--xl-orange)); transform: translateY(-1px); }
@media (max-width: 640px) { .xl-footer-news { padding: 1.5rem; } .xl-footer-news__form input { flex: 1; min-width: 0; } }

.xl-footer__social { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.xl-footer__social-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.85rem; border: none; background: transparent;
  font-size: 0.8rem; color: var(--xl-muted); text-decoration: none;
  transition: color var(--xl-transition); width: auto; height: auto; border-radius: 8px;
}
.xl-footer__social-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
  border: 1px solid var(--xl-border); display: flex; align-items: center; justify-content: center;
  transition: all var(--xl-transition);
}
.xl-footer__social-link { padding-left: 0; }
.xl-footer__social-link:hover { background: transparent; color: var(--xl-orange); }
.xl-footer__social-link:hover .xl-footer__social-icon { border-color: var(--xl-orange); color: var(--xl-orange); }

/* ===== Footer exact-match tweaks ===== */
.xl-footer__brand .custom-logo-link { display: inline-block; }
.xl-footer__brand::before { content: none; }
.xl-footer__divider { width: 34px; height: 2px; background: var(--xl-orange); border: none; margin: 0.25rem 0 0; }
.xl-footer__social { gap: 0; align-items: center; }
.xl-footer__social-link { padding-right: 1rem; }
.xl-footer__social-link + .xl-footer__social-link { border-left: 1px solid var(--xl-border); padding-left: 1rem; border-radius: 0; }
.xl-footer__heading { white-space: nowrap; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.xl-footer__legal { gap: 0; }
.xl-footer__legal li { display: flex; align-items: center; }
.xl-footer__legal li + li::before { content: ""; width: 1px; height: 14px; background: var(--xl-border); margin: 0 1.25rem; }
.xl-footer__legal a { font-size: 0.82rem; }

/* Featured Programs: two columns */
.xl-footer__col--wide .xl-footer__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; row-gap: 0.35rem; }
.xl-footer__col--wide .xl-footer__links li:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .xl-footer__col--wide .xl-footer__links { grid-template-columns: 1fr; } }

/* Featured Programs: use full available width on medium screens */
@media (max-width: 1024px) {
  .xl-footer__col--wide { grid-column: 1 / -1; }
}
.xl-footer__col--wide .xl-footer__links a { white-space: normal; }
.xl-footer__links a { line-height: 1.5; }

/* ===== Recognition & Awards redesign ===== */
.xl-recognition { background: #080D18; }
.xl-recognition__inner { max-width: 1400px; }
.xl-recognition__eyebrow { display: block; text-align: center; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--xl-orange); margin-bottom: 0.6rem; }
.xl-recognition__intro { max-width: 620px; margin: 1rem auto 0; text-align: center; font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: #9EADC7; line-height: 1.6; }
.xl-recognition__featured {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: #101725; border: 1px solid rgba(217,173,88,0.55); border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4.5vw, 3.5rem); min-height: 240px; margin: 2.5rem 0 1.5rem;
}
.xl-recognition__featured-copy { position: relative; z-index: 1; max-width: 560px; }
.xl-recognition__year { font-family: var(--font-display); font-weight: 700; color: var(--xl-orange); font-size: 1.15rem; display: inline-block; }
.xl-recognition__year::after { content: ""; display: block; width: 26px; height: 2px; background: var(--xl-orange); margin-top: 0.35rem; }
.xl-recognition__year--lg { font-size: 1.3rem; margin-bottom: 1rem; }
.xl-recognition__flag { display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #9EADC7; margin-bottom: 0.5rem; }
.xl-recognition__featured-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; color: #F7F4ED; margin: 0 0 0.5rem; }
.xl-recognition__issuer { font-size: clamp(0.9rem, 1.3vw, 1.05rem); color: #9EADC7; margin: 0; }
.xl-recognition__featured-art { flex-shrink: 0; width: clamp(160px, 22vw, 260px); color: var(--xl-orange); opacity: 0.9; }
.xl-recognition__featured-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .xl-recognition__featured { display: block; }
  .xl-recognition__featured-art { position: absolute; right: -20px; bottom: -20px; opacity: 0.14; width: 220px; }
}
.xl-recognition__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .xl-recognition__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .xl-recognition__grid { grid-template-columns: 1fr; } }
.xl-recognition__card {
  position: relative; height: 100%; min-height: 160px; padding: 28px;
  background: #101725; border: 1px solid rgba(217,173,88,0.32); border-radius: 16px;
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.xl-recognition__item { display: flex; }
.xl-recognition__card:hover { transform: translateY(-4px); border-color: rgba(217,173,88,0.65); box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
@media (prefers-reduced-motion: reduce) { .xl-recognition__card, .xl-recognition__card:hover { transition: none; transform: none; } }
.xl-recognition__icon { position: absolute; top: 24px; right: 24px; color: var(--xl-orange); opacity: 0.85; }
.xl-recognition__name { font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; color: #F7F4ED; margin: 0; padding-right: 44px; }
.xl-recognition__sub { font-size: 0.85rem; color: #9EADC7; }
.xl-recognition__more-wrap { text-align: center; margin: 2rem 0 0; }
.xl-recognition__more { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--xl-orange); text-decoration: none; }
.xl-recognition__more span { transition: transform 220ms ease; }
.xl-recognition__more:hover { color: var(--xl-orange); text-decoration: underline; text-underline-offset: 4px; }
.xl-recognition__more:hover span { transform: translateX(4px); }
.xl-recognition__more:focus-visible, .xl-recognition__card a:focus-visible { outline: 2px solid var(--xl-orange); outline-offset: 3px; }

/* ===== Recognition: Awards by Year table ===== */
.xl-recognition__eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.xl-recognition__eyebrow-dash { width: 26px; height: 1px; background: var(--xl-orange); opacity: 0.8; }
.xl-recognition__title { font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: #F7F4ED; text-align: center; margin: 0.35rem 0 0.6rem; }
.xl-recognition__title-wrap { margin-bottom: 2.5rem; }
.xl-recognition__table { border: 1px solid rgba(217,173,88,0.35); border-radius: 14px; overflow: hidden; background: #0D1422; }
.xl-recognition__row { display: grid; grid-template-columns: 150px 1fr; }
.xl-recognition__row + .xl-recognition__row { border-top: 1px solid rgba(217,173,88,0.22); }
.xl-recognition__year-cell {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--xl-orange);
  border-right: 1px solid rgba(217,173,88,0.22); padding: 1.5rem 1rem;
}
.xl-recognition__awards-cell { padding: 1.4rem 2rem; background: #101725; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; }
.xl-recognition__award { position: relative; display: block; padding-right: 2rem; }
.xl-recognition__award-name { font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; color: #F7F4ED; margin: 0; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.xl-recognition__award-sub { display: block; font-size: 0.85rem; color: #9EADC7; margin-top: 0.25rem; }
.xl-recognition__badge-flag {
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--xl-orange); border: 1px solid rgba(217,173,88,0.6); border-radius: 6px; padding: 0.25rem 0.6rem;
}
.xl-recognition__award--featured .xl-recognition__award-name { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
/* Featured award with a badge/certificate image */
.xl-recognition__award--has-media { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.xl-recognition__award--has-media .xl-recognition__award-copy { flex: 1 1 300px; min-width: 0; }
.xl-recognition__award-media { margin: 0; flex: 0 0 auto; }
.xl-recognition__award-media img { display: block; width: 190px; height: auto; border-radius: 12px; border: 1px solid rgba(217, 163, 80, 0.45); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
@media (max-width: 640px) { .xl-recognition__award-media img { width: 100%; max-width: 260px; margin: 0 auto; } }

/* ── Awards & Recognition full-list page (/hall-of-fame/) ── */
.xl-awards-page { padding: 56px 0 72px; background: #f6f7fa; }
.xl-awards-page__year-block { margin-bottom: 44px; }
.xl-awards-page__year { font-family: var(--font-serif, Georgia, serif); font-size: 1.6rem; color: #111a2e; display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.xl-awards-page__year::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 163, 80, 0.65), transparent); }
.xl-awards-page__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.xl-awards-page__card { background: #fff; border: 1px solid #e4e7ee; border-radius: 14px; padding: 24px 26px; box-shadow: 0 6px 18px rgba(17, 26, 46, 0.06); }
.xl-awards-page__card--media { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; border-color: rgba(217, 163, 80, 0.55); }
.xl-awards-page__media-group { display: flex; gap: 16px; flex: 0 0 auto; flex-wrap: wrap; }
.xl-awards-page__media { margin: 0; flex: 0 0 auto; }
.xl-awards-page__media img { display: block; width: 220px; height: auto; border-radius: 12px; box-shadow: 0 10px 28px rgba(17, 26, 46, 0.18); transition: transform 0.2s ease; }
.xl-awards-page__media a:hover img { transform: scale(1.03); }
.xl-awards-page__card--media .xl-awards-page__body { flex: 1 1 300px; min-width: 0; }
.xl-awards-page__icon { font-size: 1.3rem; display: inline-block; margin-bottom: 6px; }
.xl-awards-page__name { font-family: var(--font-serif, Georgia, serif); font-size: 1.25rem; color: #111a2e; margin: 0 0 6px; }
.xl-awards-page__sub { color: #5a6478; font-size: 0.92rem; margin: 0; }
.xl-awards-page__desc { margin-top: 10px; color: #3c4658; font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 640px) { .xl-awards-page__media img { width: 100%; max-width: 300px; } }
.xl-recognition__chevron { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); color: var(--xl-orange); font-size: 1.3rem; line-height: 1; }
.xl-recognition__awards-cell--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; row-gap: 0.65rem; }
.xl-recognition__awards-cell--cols::before { content: ""; position: absolute; }
.xl-recognition__award--compact { display: flex; align-items: center; gap: 0.65rem; padding-right: 2rem; }
.xl-recognition__award-name--sm { font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; }
.xl-recognition__bullet { width: 4px; height: 4px; border-radius: 50%; background: var(--xl-orange); flex-shrink: 0; }
@media (min-width: 861px) {
  .xl-recognition__awards-cell--cols { position: relative; }
  .xl-recognition__awards-cell--cols > :nth-child(2n) { border-left: 1px solid rgba(217,173,88,0.18); padding-left: 2rem; }
}
@media (max-width: 860px) {
  .xl-recognition__row { grid-template-columns: 96px 1fr; }
  .xl-recognition__awards-cell { padding: 1.1rem 1.2rem; }
  .xl-recognition__awards-cell--cols { grid-template-columns: 1fr; }
}

/* Tighten spacing around Featured Media */
.xl-media-section { padding-block: 2.5rem; }
.xl-insights { padding-bottom: 3rem; }
.xl-recognition { padding-top: 3rem; }

/* Footer separation from page content */
.xl-footer { border-top: 1px solid rgba(217,173,88,0.3); background: #0A101C; margin-top: 4rem; }

/* Speaking page — photo gallery */
.xl-spk-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.xl-spk-gallery__item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(217,173,88,0.18); }
.xl-spk-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.xl-spk-gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 1024px) { .xl-spk-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .xl-spk-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
.xl-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(5,9,18,0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.xl-lightbox[hidden] { display: none; }
.xl-lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 8px; }
.xl-lightbox__caption { color: #e8e2d6; margin-top: 1rem; font-size: 0.95rem; text-align: center; }
.xl-lightbox__close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }

/* Lightbox prev/next buttons */
.xl-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(217,173,88,0.4); color: #d9ad58; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.xl-lightbox__nav:hover { background: rgba(217,173,88,0.25); }
.xl-lightbox__nav--prev { left: 1.25rem; }
.xl-lightbox__nav--next { right: 1.25rem; }
@media (max-width: 640px) { .xl-lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; } .xl-lightbox__nav--prev { left: .5rem; } .xl-lightbox__nav--next { right: .5rem; } }

/* Gallery show-more */
.xl-spk-gallery__item[hidden] { display: none; }
.xl-spk-gallery__more { text-align: center; margin-top: 2rem; }
.xl-spk-gallery__more-btn { background: none; border: 1px solid rgba(217,173,88,0.5); color: #d9ad58; padding: 0.75rem 2rem; border-radius: 999px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.xl-spk-gallery__more-btn:hover { background: #d9ad58; color: #0a101c; }

/* Course module cards (Game of Zones style) */
.xl-course-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.xl-course-module { background: var(--xl-mod-bg, #1d3557); border-radius: 10px; padding: 1.75rem 2rem 2rem; color: #f2ede2; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.xl-course-module__label { text-align: center; font-size: 0.8rem; letter-spacing: 0.2em; color: #d9ad58; font-weight: 700; }
.xl-course-module__title { text-align: center; font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; margin: 0.35rem 0 0.2rem; color: #f6d992; font-variant: small-caps; letter-spacing: 0.04em; }
.xl-course-module__subtitle { text-align: center; font-style: italic; color: #e9c877; font-size: 0.95rem; margin-bottom: 1.25rem; }
.xl-course-module ul { list-style: none; margin: 0; padding: 0; }
.xl-course-module ul li { position: relative; padding: 0.3rem 0 0.3rem 1.2rem; font-size: 0.92rem; line-height: 1.45; }
.xl-course-module ul li::before { content: "•"; position: absolute; left: 0; color: #d9ad58; }
.xl-course-module__cols { column-count: 2; column-gap: 2rem; }
.xl-course-module__cols li { break-inside: avoid; }
@media (max-width: 900px) { .xl-course-modules { grid-template-columns: 1fr; } .xl-course-module__cols { column-count: 1; } }

/* Course gain / attend / flexible band */
.xl-course-gain { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr; gap: 2rem; background: #16233c; border-radius: 10px; padding: 2rem 2.25rem; margin-top: 1.5rem; color: #e8e2d6; }
.xl-course-gain__col h3 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: #f6d992; margin: 0 0 0.75rem; }
.xl-course-gain__col p { font-size: 0.92rem; line-height: 1.55; margin: 0; }
.xl-course-gain ul { list-style: none; margin: 0; padding: 0; }
.xl-course-gain ul li { position: relative; padding: 0.25rem 0 0.25rem 1.4rem; font-size: 0.92rem; }
.xl-course-gain ul li::before { content: "✔"; position: absolute; left: 0; color: #d9ad58; font-size: 0.85rem; }
.xl-course-gain__note { color: #e9c877; font-style: italic; }
.xl-course-gain__badges { display: flex; gap: 0.75rem; margin-top: 1rem; }
.xl-course-gain__badge { padding: 0.5rem 1.25rem; border-radius: 6px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; }
.xl-course-gain__badge--green { background: #3f7d4e; color: #fff; }
.xl-course-gain__badge--gold { background: #d9ad58; color: #1a1408; }
/* Feature strip */
.xl-course-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.xl-course-strip__item { background: #fff; border: 1px solid #e5decf; border-radius: 8px; padding: 1rem 0.75rem; text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #2a2a2a; line-height: 1.5; }
/* CTA band */
.xl-course-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #101a2e; border-radius: 10px; padding: 1.5rem 2.25rem; margin-top: 1.5rem; flex-wrap: wrap; }
.xl-course-cta__text { font-family: "Playfair Display", Georgia, serif; font-variant: small-caps; font-size: 1.35rem; color: #f6d992; letter-spacing: 0.03em; }
.xl-course-cta__btn { background: #d9ad58; color: #1a1408 !important; font-weight: 700; padding: 0.8rem 1.8rem; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.xl-course-cta__btn:hover { background: #e9c877; }
@media (max-width: 900px) { .xl-course-gain { grid-template-columns: 1fr; } .xl-course-strip { grid-template-columns: repeat(2, 1fr); } .xl-course-cta { justify-content: center; text-align: center; } }

/* Full-width course lower band */
.xl-prog-wide { margin-top: 2.5rem; }

/* Art of War — editorial conference overview */
.postid-103 .xl-prog-body { padding-bottom: 0; }
.xl-aow-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.postid-103 .xl-prog-main > h2 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.08;
}
.postid-103 .xl-prog-main > h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 1rem;
  background: #d9ad58;
}
.xl-aow-overview__copy {
  color: #3d4757;
  font-size: 1rem;
  line-height: 1.75;
}
.xl-aow-overview__copy p { margin: 0; }
.xl-aow-facts {
  background: #fff;
  border: 1px solid #e5decf;
  border-radius: 8px;
  padding: 0.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(13, 26, 51, 0.1);
}
@media (min-width: 781px) {
  .postid-103 .xl-aow-facts { margin-top: -6.5rem; }
}
.xl-aow-fact {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ece7dd;
}
.xl-aow-fact:last-child { border-bottom: 0; }
.xl-aow-fact > div {
  flex: 1 1 auto;
  min-width: 0;
}
.xl-aow-fact__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101a2e;
  color: #d9ad58;
  border: 1px solid #d9ad58;
  font-size: 1.05rem;
}
.xl-aow-fact small {
  display: block;
  color: #697386;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.xl-aow-fact strong {
  display: block;
  color: #18233a;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  line-height: 1.4;
  white-space: normal;
}
.xl-course-gain.xl-aow-frontiers {
  display: block;
  margin: 1.75rem 0 0;
  padding: 2.2rem;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg, #0b1730, #13284c);
}
.xl-aow-frontiers__title {
  margin: 0 0 1.5rem;
  color: #f7e6b4;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  text-align: center;
}
.postid-103 .xl-aow-frontiers__title,
.postid-1250 .xl-aow-frontiers__title { color: #f7e6b4 !important; }
.xl-aow-frontiers__title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: #d9ad58;
}
.xl-aow-frontiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.xl-aow-frontier {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.75rem 1.25rem;
  border: 2px solid rgba(217, 173, 88, 0.72);
  border-radius: 8px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
}
.xl-aow-frontier__icon {
  position: relative;
  width: 88px;
  height: 88px;
  border: 2px solid #d9ad58;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d9ad58;
  font-size: 2.5rem;
}
.xl-aow-frontier__icon::after {
  display: none;
}
.xl-aow-frontier__icon--image {
  width: 126px;
  height: 126px;
  border: 0;
}
.xl-aow-frontier__icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xl-aow-frontier h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
@media (max-width: 780px) {
  .xl-aow-overview { grid-template-columns: 1fr; gap: 1.5rem; }
  .postid-103 .xl-prog-main > h2 { max-width: none; }
  .postid-103 .xl-aow-facts { margin-top: 0; }
  .xl-aow-frontiers__grid { grid-template-columns: 1fr; }
  .xl-aow-frontier { min-height: 155px; }
  .xl-course-gain.xl-aow-frontiers { padding: 1.5rem 1rem; }
}

/* Art of War — featured speakers */
.xl-aow-speakers {
  margin-top: 3rem;
  padding: 3rem 0;
  background: #fbfaf7;
  border-top: 1px solid #e8dfcf;
}
.xl-aow-speakers__eyebrow {
  margin: 0 0 0.45rem;
  color: #a97828;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}
.xl-aow-speakers h2 {
  margin: 0 0 2rem;
  color: #14213b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  text-align: center;
}
.xl-aow-speakers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.xl-aow-speakers__grid--two {
  max-width: 780px;
  margin-inline: auto;
  grid-template-columns: repeat(2, 1fr);
}
.xl-aow-speaker-card {
  min-height: 430px;
  padding: 1.5rem;
  border: 1px solid #e4ded3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(14, 28, 52, 0.06);
  text-align: center;
}
.xl-aow-speaker-card--confirmed { border: 2px solid rgba(189, 139, 53, 0.7); }
.xl-aow-speaker-card__photo,
.xl-aow-speaker-card__silhouette {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f2f1ed;
}
.xl-aow-speaker-card__photo { object-fit: cover; object-position: center top; }
.xl-aow-speaker-card__silhouette {
  display: grid;
  place-items: center;
}
.xl-aow-speaker-card__silhouette svg {
  width: 155px;
  height: 155px;
  fill: #13213b;
}
.xl-aow-speaker-card__status {
  margin: 1rem 0 0.45rem;
  color: #a97828;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.xl-aow-speaker-card h3 {
  margin: 0;
  color: #14213b;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.xl-aow-speaker-card__role {
  margin: 0.55rem 0 1rem;
  color: #4f596b;
  font-size: 0.9rem;
}
.xl-aow-speaker-card__topic {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid #e8dfcf;
  color: #4f596b;
  font-size: 0.88rem;
}
.xl-aow-speaker-card__link {
  display: block;
  margin-top: 0.25rem;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  background: linear-gradient(90deg, #be8730, #e5ba61);
  color: #1d1a13;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}
@media (max-width: 780px) {
  .xl-aow-speakers__grid,
  .xl-aow-speakers__grid--two { grid-template-columns: 1fr; }
  .xl-aow-speaker-card { min-height: 0; }
}

/* Art of War — expectations and conference programme */
.xl-aow-expect {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #09172f, #142a4d);
  color: #fff;
}
.xl-aow-expect h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  text-align: center;
}
.xl-aow-expect__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.xl-aow-expect__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(217, 173, 88, 0.75);
  text-align: center;
}
.xl-aow-expect__item:last-child { border-right: 0; }
.xl-aow-expect__icon {
  width: 78px;
  height: 78px;
  display: block;
}
.xl-aow-expect__icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xl-aow-expect__item strong {
  max-width: 135px;
  font-size: 0.92rem;
  line-height: 1.35;
}
.xl-aow-attendance {
  padding: 3.25rem 0;
  background: #fbfaf7;
}
.xl-aow-attendance__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
}
.xl-aow-attendance h2 {
  margin: 0 0 1.5rem;
  color: #14213b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}
.xl-aow-attendance h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 0.65rem;
  background: #d9ad58;
}
.xl-aow-attendance__audience ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.xl-aow-attendance__audience li {
  position: relative;
  padding-left: 2rem;
  color: #3e485b;
  font-size: 0.98rem;
}
.xl-aow-attendance__audience li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #d9ad58;
  border-radius: 50%;
  color: #a97828;
  font-size: 0.7rem;
  font-weight: 900;
}
.xl-aow-programme__items {
  overflow: hidden;
  border: 1px solid #e4ded3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(14, 28, 52, 0.06);
}
.xl-aow-programme details + details { border-top: 1px solid #e4ded3; }
.xl-aow-programme summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 1.25rem;
  color: #26344e;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.xl-aow-programme summary::-webkit-details-marker { display: none; }
.xl-aow-programme summary::after {
  content: "⌄";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-55%);
  color: #14213b;
  font-size: 1.5rem;
}
.xl-aow-programme details[open] summary::after { transform: translateY(-35%) rotate(180deg); }
.xl-aow-programme details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #687184;
  font-size: 0.9rem;
}
@media (max-width: 780px) {
  .xl-aow-expect__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .xl-aow-expect__item { border-right: 0; }
  .xl-aow-expect__item:last-child { grid-column: 1 / -1; }
  .xl-aow-attendance__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.xl-aow-interest {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 0;
  background: #09172f;
  text-align: center;
}
.xl-aow-interest::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 56%;
  background-image: var(--xl-aow-interest-image);
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  filter: grayscale(0.45);
}
.xl-aow-interest::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #09172f 0%, #09172f 48%, rgba(9, 23, 47, 0.9) 68%, rgba(9, 23, 47, 0.55) 100%);
}
.xl-aow-interest__inner { max-width: 720px; }
.xl-aow-interest h2 {
  margin: 0;
  color: #e6bd64;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}
.xl-aow-interest h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: #d9ad58;
}
.xl-aow-interest p {
  max-width: 560px;
  margin: 1rem auto 1.5rem;
  color: #f1f3f7;
  font-size: 1.05rem;
  line-height: 1.55;
}
.xl-aow-interest__button {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #bd832a, #e9bf66);
  color: #191812;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.xl-aow-interest__button:hover { background: #f0cb75; }
@media (max-width: 640px) {
  .xl-aow-interest { padding: 3rem 1rem; }
  .xl-aow-interest::before { inset: 0; opacity: 0.12; }
}

/* Course page: no sidebar, full-width main column */
.single-xl_course .xl-prog-body__grid { grid-template-columns: 1fr; }
.single-xl_course .xl-prog-body__grid:has(.xl-course-trainer-card) {
  grid-template-columns: minmax(0, 1fr) 350px;
}
.single-xl_course .xl-prog-body__grid--trainer-wide {
  grid-template-columns: 1fr !important;
  align-items: start;
}
/* Ajit's profile belongs beside the When CT Meets TP curriculum. */
.postid-109.single-xl_course .xl-prog-body__grid {
  grid-template-columns: minmax(0, 1fr) 350px !important;
}
.postid-1189.single-xl_course .xl-prog-body__grid {
  grid-template-columns: minmax(0, 1fr) 350px !important;
}
.postid-87.single-xl_course .xl-prog-body__grid,
.postid-107.single-xl_course .xl-prog-body__grid,
.postid-788.single-xl_course .xl-prog-body__grid,
.postid-968.single-xl_course .xl-prog-body__grid {
  grid-template-columns: minmax(0, 1fr) 350px !important;
}
.xl-course-trainer-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(201, 154, 67, 0.55);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(14, 28, 52, 0.1);
  text-align: center;
}
.xl-course-trainer-card--wide {
  position: static;
  align-self: start;
  width: 100%;
  height: auto;
  max-width: none;
  text-align: left;
}
.xl-course-trainer-card--wide .xl-course-trainer-panel {
  display: block;
}
.xl-course-trainer-card--wide .xl-course-trainer-panel::after {
  display: block;
  clear: both;
  content: "";
}
.xl-course-trainer-card--wide .xl-course-trainer-card__photo-frame {
  float: left;
  width: 320px;
  height: 480px !important;
  margin: 0 32px 20px 0;
  overflow: hidden;
}
.xl-course-trainer-card--wide .xl-course-trainer-card__photo {
  width: 320px;
  height: 480px !important;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}
.xl-course-trainer-card--wide .xl-course-trainer-card__details {
  display: block;
}
.xl-course-trainer-card--wide .xl-course-trainer-card__role {
  max-width: none;
  margin-left: 0;
}
.xl-course-trainer-card--wide .xl-course-trainer-card__facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.xl-course-trainer-card--wide .xl-course-trainer-card__bio {
  text-align: left;
}
.xl-course-trainer-card__eyebrow {
  margin: 0 0 16px;
  color: #a97828;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.xl-course-trainer-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}
.xl-course-trainer-tab {
  appearance: none;
  padding: 10px 8px;
  border: 1px solid rgba(169, 120, 40, 0.4);
  border-radius: 8px;
  background: #f7f4ed;
  color: #4d5668;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.xl-course-trainer-tab:hover,
.xl-course-trainer-tab:focus-visible,
.xl-course-trainer-tab.is-active {
  border-color: #bd8b35;
  background: #14213b;
  color: #f3d688;
}
.xl-course-trainer-panel[hidden] { display: none; }
.postid-109 #xl-trainer-panel-1 .xl-course-trainer-card__photo {
  object-position: 50% 20%;
}
.xl-course-trainer-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}
.postid-1189 .xl-course-trainer-card__photo {
  height: 380px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}
.postid-1196 .xl-course-trainer-card__photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 18%;
}
.postid-1216 .xl-course-trainer-card__photo {
  object-position: 50% 18%;
}
.postid-1324 .xl-course-trainer-card__photo,
.postid-1328 .xl-course-trainer-card__photo {
  object-position: center top;
}
.postid-1338 #xl-trainer-panel-0 .xl-course-trainer-card__photo {
  object-position: center top;
}
.postid-1338 #xl-trainer-panel-1 .xl-course-trainer-card__photo {
  object-position: center 15%;
}

/* Keep the long DMTT title compact so the hero artwork stays visible. */
@media (min-width: 901px) {
  .postid-1259 .xl-course .xl-prog-hero--has-media .xl-prog-hero__media {
    background-size: cover;
    background-position: center center;
  }
  .postid-1259 .xl-prog-hero__grid {
    grid-template-columns: minmax(0, 540px) 1fr;
  }
  .postid-1259 .xl-prog-hero h1 {
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    line-height: 1.12;
  }
  .postid-1259 .xl-prog-hero__copy {
    padding: 26px 28px;
  }
}
.postid-1226 .xl-course-trainer-card__photo {
  width: 320px;
  height: 300px !important;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 4%;
}
.postid-1226 .xl-course-trainer-card__photo-frame {
  width: 320px;
  height: 300px !important;
}
.postid-1226 .xl-prog-main {
  order: 2;
}
.postid-1226 .xl-course-trainer-card {
  order: 1;
}
.postid-1203 .xl-course-trainer-card__photo {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 18%;
  transform: none;
}
.postid-1203 .xl-course-trainer-card__photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
@media (max-width: 1000px) {
  .postid-1189 .xl-course-trainer-card__photo {
    height: auto;
    max-height: 560px;
  }
}
.xl-course-trainer-card__name {
  margin: 16px 0 5px !important;
  color: #14213b;
  font-size: 1.55rem !important;
}
.xl-course-trainer-card__role {
  margin: 0 auto 18px;
  max-width: 280px;
  color: #596274;
  font-size: 0.88rem;
  line-height: 1.5;
}
.xl-course-trainer-card__facts-heading {
  margin: 18px 0 8px !important;
  color: #14213b;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700;
}
.xl-course-trainer-card__facts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid #e8dfcf;
  border-bottom: 1px solid #e8dfcf;
  list-style: none;
  text-align: left;
}
.xl-course-trainer-card__facts li {
  position: relative;
  margin: 0;
  padding: 11px 12px 11px 38px;
  border: 1px solid rgba(189, 139, 53, 0.22);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(226, 189, 104, 0.13), rgba(255, 255, 255, 0.8));
  color: #26344e;
  font-size: 0.84rem;
  line-height: 1.4;
}
.xl-course-trainer-card__facts li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 12px;
  display: grid;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 50%;
  background: #bd8b35;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}
.xl-course-trainer-card__bio {
  margin-top: 18px;
  color: #4f596b;
  font-size: 0.84rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.xl-course-trainer-card__bio p {
  margin: 0 0 14px;
}
.xl-course-trainer-card__bio h3 {
  margin: 24px 0 10px !important;
  color: #14213b;
  font-family: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 700;
  line-height: 1.4;
}
.xl-course-trainer-card__bio strong {
  color: #14213b;
  font-weight: 700;
}
.xl-course-trainer-card__bio p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .single-xl_course .xl-prog-body__grid:has(.xl-course-trainer-card) { grid-template-columns: 1fr; }
  .postid-109.single-xl_course .xl-prog-body__grid { grid-template-columns: 1fr !important; }
  .postid-1189.single-xl_course .xl-prog-body__grid { grid-template-columns: 1fr !important; }
  .postid-87.single-xl_course .xl-prog-body__grid,
  .postid-107.single-xl_course .xl-prog-body__grid,
  .postid-788.single-xl_course .xl-prog-body__grid,
  .postid-968.single-xl_course .xl-prog-body__grid { grid-template-columns: 1fr !important; }
  .xl-course-trainer-card { position: static; max-width: 620px; margin: 0 auto; }
  .xl-course-trainer-card--wide { max-width: none; }
}
@media (max-width: 720px) {
  .xl-course-trainer-card--wide .xl-course-trainer-panel {
    grid-template-columns: 1fr;
  }
  .xl-course-trainer-card--wide .xl-course-trainer-card__photo-frame,
  .xl-course-trainer-card--wide .xl-course-trainer-card__details {
    grid-column: 1;
    grid-row: auto;
  }
  .xl-course-trainer-card--wide .xl-course-trainer-card__photo-frame {
    width: 100%;
    height: auto !important;
  }
  .xl-course-trainer-card--wide .xl-course-trainer-card__photo {
    width: 100%;
    height: auto !important;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .xl-course-trainer-card--wide .xl-course-trainer-card__facts {
    grid-template-columns: 1fr;
  }
}

/* Center CTA band content */
.xl-course-cta { flex-direction: column; justify-content: center; text-align: center; gap: 1rem; padding: 2rem 2.25rem; }

/* CTA band: text and button on one centered line */
.xl-course-cta { flex-direction: row; align-items: center; gap: 1.5rem; }
.xl-course-cta__text { margin: 0; }

/* Programme cards: show full poster like homepage cards (no crop) */
.xl-ld-card__imgwrap { aspect-ratio: 3 / 4; background: var(--xl-hero-bg, #111A2E); }
.xl-ld-card__img { object-fit: contain; }
.xl-ld-card__imgwrap::after { display: none; }

/* Programme format highlight chips */
.xl-prog-format { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; padding: 14px 18px; background: #fff; border-left: 3px solid #d9a350; border-radius: 10px; box-shadow: 0 4px 14px rgba(13,26,51,0.06); }
.xl-prog-format__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #d9a350; margin-right: 4px; }
.xl-prog-format__item { display: inline-flex; align-items: center; gap: 6px; background: #f4f6fa; border: 1px solid rgba(13,26,51,0.08); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; color: #14294d; }
.xl-prog-format__item strong { font-weight: 700; }

/* Course page: day headers + learning journey */
.xl-course-day { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #14294d; }
.xl-course-day::before { content: "📅"; font-size: 1.1rem; }
.xl-course-day span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #b98a3c; }
.xl-course-day + .xl-course-modules { margin-top: 0; }
.xl-course-journey { margin: 44px 0 10px; text-align: center; }
.xl-course-journey__title { font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; color: #14294d; margin: 0 0 22px; }
.xl-course-journey__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px; }
.xl-course-journey__step { flex: 1 1 140px; max-width: 170px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.xl-course-journey__icon { width: 52px; height: 52px; border-radius: 50%; background: #f4f6fa; border: 1px solid rgba(13,26,51,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.xl-course-journey__step strong { font-size: 0.86rem; color: #14294d; line-height: 1.3; }
.xl-course-journey__step small { font-size: 0.76rem; color: #5a6577; line-height: 1.4; }
.xl-course-journey__arrow { align-self: center; color: #d9a350; font-size: 1.2rem; }
@media (max-width: 760px) { .xl-course-journey__arrow { display: none; } }

/* When CT Meets TP — full-width, easier-to-read learning journey */
.postid-109 .xl-course-journey {
  width: 100%;
  margin: 54px 0 18px;
  padding: 34px 28px;
  background: #f7f8fb;
  border: 1px solid rgba(20, 41, 77, 0.08);
  border-radius: 14px;
}
.postid-109 .xl-course-journey__title {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 30px;
}
.postid-109 .xl-course-journey__row {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 18px;
}
.postid-109 .xl-course-journey__step {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
  gap: 9px;
}
.postid-109 .xl-course-journey__step strong {
  font-size: 1.05rem;
}
.postid-109 .xl-course-journey__step small {
  font-size: 0.92rem;
  line-height: 1.55;
}
.postid-109 .xl-course-journey__arrow {
  flex: 0 0 auto;
  font-size: 1.55rem;
}
@media (max-width: 760px) {
  .postid-109 .xl-course-journey { padding: 28px 20px; }
  .postid-109 .xl-course-journey__row { flex-wrap: wrap; gap: 26px 16px; }
  .postid-109 .xl-course-journey__step { flex-basis: calc(50% - 8px); }
}
@media (max-width: 480px) {
  .postid-109 .xl-course-journey__step { flex-basis: 100%; }
}

/* A Tale of Two Profits — full-width, easier-to-read learning journey */
.postid-1189 .xl-course-journey {
  width: 100%;
  margin: 54px 0 18px;
  padding: 36px 30px;
  background: #f7f8fb;
  border: 1px solid rgba(20, 41, 77, 0.08);
  border-radius: 14px;
}
.postid-1189 .xl-course-journey__title {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 30px;
}
.postid-1189 .xl-course-journey__row {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 18px;
}
.postid-1189 .xl-course-journey__step {
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
  gap: 9px;
}
.postid-1189 .xl-course-journey__step strong {
  font-size: 1.05rem;
}
.postid-1189 .xl-course-journey__step small {
  font-size: 0.92rem;
  line-height: 1.55;
}
.postid-1189 .xl-course-journey__arrow {
  flex: 0 0 auto;
  font-size: 1.55rem;
}
@media (max-width: 760px) {
  .postid-1189 .xl-course-journey { padding: 28px 20px; }
  .postid-1189 .xl-course-journey__row { flex-wrap: wrap; gap: 26px 16px; }
  .postid-1189 .xl-course-journey__step { flex-basis: calc(50% - 8px); }
}
@media (max-width: 480px) {
  .postid-1189 .xl-course-journey__step { flex-basis: 100%; }
}

/* Nicer day headers */
.xl-course-day { display: flex; align-items: center; gap: 14px; margin: 38px 0 18px; font-size: 1rem; white-space: nowrap; }
.xl-course-day::before { content: none; }
.xl-course-day { font-family: inherit; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.xl-course-day { position: relative; }
.xl-course-day { background: none; }
.xl-course-day > span { order: 2; }
.xl-course-day { color: #14294d; }
.xl-course-day::after { content: ""; order: 3; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217,163,80,0.55), rgba(217,163,80,0)); }
.xl-course-day span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(217,163,80,0.5); border-radius: 999px; padding: 6px 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: #8a6a2f; text-transform: uppercase; white-space: normal; }
.xl-course-day span::before { content: "⏱️"; font-size: 0.85rem; }
@media (max-width: 640px) {
  .xl-course-day { gap: 9px; letter-spacing: 0.09em; }
  .xl-course-day span { padding: 6px 10px; font-size: 0.7rem; letter-spacing: 0.07em; }
}

/* Signature question band */
.xl-course-question { margin: 40px auto 10px; max-width: 760px; text-align: center; padding: 30px 34px; background: #fff; border: 1px solid rgba(217,163,80,0.45); border-radius: 14px; box-shadow: 0 8px 26px rgba(13,26,51,0.08); position: relative; }
.xl-course-question::before { content: "👁️"; display: block; font-size: 1.5rem; margin-bottom: 10px; }
.xl-course-question__label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #b98a3c; margin-bottom: 10px; }
.xl-course-question__text { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; line-height: 1.5; color: #14294d; margin: 0; font-style: italic; }

/* ── Industry Journals & Publications ─────────────────────────────── */
.xl-pubs { margin: 3rem 0; }
.xl-pubs__heading { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; color: #131b2e; margin: 0 0 1.25rem; position: relative; padding-bottom: 0.6rem; }
.xl-pubs__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: linear-gradient(90deg, #c9a24b, #e6cf8f); border-radius: 2px; }
.xl-pubs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.xl-pubs__card { display: flex; flex-direction: column; gap: 0.45rem; background: #131b2e; border: 1px solid rgba(201,162,75,0.35); border-radius: 12px; padding: 1.25rem 1.25rem 1.1rem; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.xl-pubs__card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,13,18,0.25); border-color: #c9a24b; }
.xl-pubs__type { align-self: flex-start; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #0b0d12; background: linear-gradient(90deg, #c9a24b, #e6cf8f); padding: 0.2rem 0.6rem; border-radius: 999px; }
.xl-pubs__title { font-weight: 700; font-size: 1rem; line-height: 1.4; color: #ffffff; }
.xl-pubs__meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #c9a24b; }
.xl-pubs__desc { font-size: 0.85rem; line-height: 1.55; color: rgba(255,255,255,0.72); }
.xl-pubs__cta { margin-top: auto; padding-top: 0.5rem; font-size: 0.85rem; font-weight: 700; color: #e6cf8f; }
@media (max-width: 1024px) { .xl-pubs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .xl-pubs__grid { grid-template-columns: 1fr; } }

/* Publications card image */
.xl-pubs__imgwrap { display: block; margin: -1.25rem -1.25rem 0.6rem; border-radius: 12px 12px 0 0; overflow: hidden; background: #0b0d12; }
.xl-pubs__imgwrap img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: top; }

/* Modules: white cards with narrow border (overrides colorful backgrounds) */
.xl-course-module { background: #ffffff !important; border: 1px solid #e0d9c8; box-shadow: 0 3px 10px rgba(11,13,18,0.06); color: #2a2a2a; }
.xl-course-module__label { color: #a8842f; }
.xl-course-module__title { color: #131b2e; }
.xl-course-module__subtitle { color: #a8842f; }
.xl-course-module ul li { color: #3a3a3a; }
.xl-course-module ul li::before { color: #c9a24b; }

/* Module card yellow text -> navy */
.xl-course-module__label { color: #131b2e; }
.xl-course-module__subtitle { color: #131b2e; }

/* Module bullet dots -> navy */
.xl-course-module ul li::before { color: #131b2e; }

/* ── Course modules as accordion rows ─────────────────────────────── */
.xl-course-modules { display: block; margin-top: 1.5rem; }
.xl-course-module--acc { margin: 0 0 0.9rem; padding: 0; border: 1px solid #e0d9c8; border-radius: 8px; overflow: hidden; }
.xl-course-module__head { display: flex; align-items: center; gap: 0.9rem; width: 100%; background: none; border: 0; cursor: pointer; padding: 1.05rem 1.25rem; text-align: left; font: inherit; }
.xl-course-module__head .xl-course-module__label { text-align: left; font-size: 0.72rem; white-space: nowrap; }
.xl-course-module__head .xl-course-module__title { text-align: left; font-size: 1.15rem; margin: 0; flex: 0 1 auto; }
.xl-course-module__head .xl-course-module__subtitle { text-align: left; margin: 0; font-size: 0.85rem; flex: 1 1 auto; }
.xl-course-module__toggle { margin-left: auto; flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.xl-course-module__toggle::before, .xl-course-module__toggle::after { content: ""; position: absolute; background: #131b2e; top: 50%; left: 50%; }
.xl-course-module__toggle::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.xl-course-module__toggle::after { width: 2px; height: 14px; transform: translate(-50%,-50%); transition: opacity 0.15s ease; }
.xl-course-module--acc.is-open .xl-course-module__toggle::after { opacity: 0; }
.xl-course-module__body { display: none; padding: 0 1.25rem 1.25rem; }
.xl-course-module--acc.is-open .xl-course-module__body { display: block; }
@media (max-width: 700px) { .xl-course-module__head { flex-wrap: wrap; gap: 0.35rem 0.9rem; } }

/* Accordion module title: match site sans-serif headings */
.xl-course-module__head .xl-course-module__title { font-family: inherit; font-variant: normal; letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 1.05rem; }
.xl-course-module__head .xl-course-module__subtitle { font-style: normal; }

/* Accordion heading: one uniform bold size */
.xl-course-module__head .xl-course-module__label,
.xl-course-module__head .xl-course-module__title,
.xl-course-module__head .xl-course-module__subtitle { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #131b2e; }

/* GoldenEye: module title/subtitle shown inside the expanded module */
.xl-course-module__bodytitle { font-weight: 700; font-size: 1.05rem; color: #131b2e; margin: 0.35rem 0 0.15rem; }
.xl-course-module__bodysub { color: #6b6b6b; font-size: 0.9rem; margin: 0 0 0.75rem; }

/* Module subtitle now lives inside the expanded body */
.xl-course-module__body .xl-course-module__subtitle { text-align: left; font-size: 0.95rem; font-weight: 700; color: #131b2e; margin: 0.35rem 0 0.75rem; font-style: normal; }

/* Stack module details for courses with long labels and titles. */
.postid-1259 .xl-course-module__head,
.postid-1331 .xl-course-module__head,
.postid-1338 .xl-course-module__head,
.postid-1328 .xl-course-module__head,
.postid-1324 .xl-course-module__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 0.45rem 1rem;
  align-items: start;
}
.postid-1259 .xl-course-module__head .xl-course-module__label,
.postid-1259 .xl-course-module__head .xl-course-module__title,
.postid-1331 .xl-course-module__head .xl-course-module__label,
.postid-1331 .xl-course-module__head .xl-course-module__title,
.postid-1338 .xl-course-module__head .xl-course-module__label,
.postid-1338 .xl-course-module__head .xl-course-module__title,
.postid-1328 .xl-course-module__head .xl-course-module__label,
.postid-1328 .xl-course-module__head .xl-course-module__title,
.postid-1324 .xl-course-module__head .xl-course-module__label,
.postid-1324 .xl-course-module__head .xl-course-module__title {
  grid-column: 1;
  white-space: normal;
}
.postid-1259 .xl-course-module__head .xl-course-module__label,
.postid-1331 .xl-course-module__head .xl-course-module__label,
.postid-1338 .xl-course-module__head .xl-course-module__label,
.postid-1328 .xl-course-module__head .xl-course-module__label,
.postid-1324 .xl-course-module__head .xl-course-module__label {
  grid-row: 1;
  text-transform: uppercase;
}
.postid-1259 .xl-course-module__head .xl-course-module__title,
.postid-1331 .xl-course-module__head .xl-course-module__title,
.postid-1338 .xl-course-module__head .xl-course-module__title,
.postid-1328 .xl-course-module__head .xl-course-module__title,
.postid-1324 .xl-course-module__head .xl-course-module__title {
  grid-row: 2;
}
.postid-1259 .xl-course-module__head .xl-course-module__toggle,
.postid-1331 .xl-course-module__head .xl-course-module__toggle,
.postid-1338 .xl-course-module__head .xl-course-module__toggle,
.postid-1328 .xl-course-module__head .xl-course-module__toggle,
.postid-1324 .xl-course-module__head .xl-course-module__toggle {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-left: 0;
}
.postid-1331 .xl-course-session-topics {
  margin: 0.75rem 0 1rem;
  padding-left: 0;
  list-style: none;
}
.postid-1331 .xl-course-session-topics li {
  margin: 0.55rem 0;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.55;
}
.postid-1331 .xl-course-session-topics li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: #17233b;
  font-weight: 800;
}
.postid-1331 .xl-course-session-outcome {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid #d8a840;
  background: #faf6eb;
  color: #17233b;
  font-weight: 600;
}
.postid-1331 .xl-course-session-outcome strong {
  color: #a87818;
  text-transform: uppercase;
}
.postid-1331 .xl-course-day-session + .xl-course-day-session {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid #dfd4bc;
}
.postid-1331 .xl-course-day-session__meta {
  margin: 0 0 0.35rem;
  color: #17233b;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}
.postid-1331 .xl-course-day-session__title {
  margin: 0 0 1rem;
  color: #17233b;
  font-size: 1.08rem;
  line-height: 1.35;
}
.xl-course-topic-block { padding: 22px 0; border-top: 1px solid #e6dfd2; }
.xl-course-topic-block:first-child { padding-top: 2px; border-top: 0; }
.xl-course-topic-label { margin: 0 0 7px; color: #17233b; font-size: 0.94rem; font-weight: 800; }
.xl-course-topic-text + .xl-course-topic-label { margin-top: 18px; }
.xl-course-topic-text { margin: 0; color: #40495b; line-height: 1.65; text-align: justify; text-justify: inter-word; }

/* ── Relevant Articles slider (courses) ─────────────────────── */
.xl-insights__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.xl-insights__nav { display: flex; gap: .5rem; }
.xl-insights__btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #131b2e; background: transparent; color: #131b2e;
  font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s;
}
.xl-insights__btn:hover { background: #131b2e; color: #fff; }
.xl-insights__btn:disabled { opacity: .3; cursor: default; }
.xl-insights__btn:disabled:hover { background: transparent; color: #131b2e; }
/* Author pages: publications section sits on the dark body background */
.xl-pubs--author { margin: 2.5rem 0 1rem; }
.xl-pubs--author .xl-pubs__heading { color: #fff; }
.xl-kl .xl-pubs--author .xl-pubs__heading { color: #131b2e; }
/* Course pages render this section on a dark background — use light buttons */
.single-xl_course .xl-insights__btn { border-color: #e8b64c; color: #e8b64c; }
.single-xl_course .xl-insights__btn:hover { background: #e8b64c; color: #131b2e; }
.single-xl_course .xl-insights__btn:disabled:hover { background: transparent; color: #e8b64c; }
.xl-article-grid--slider {
  display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.xl-article-grid--slider::-webkit-scrollbar { display: none; }
.xl-article-grid--slider > .xl-article-card {
  flex: 0 0 calc((100% - 4rem) / 3); scroll-snap-align: start;
}
@media (max-width: 900px) {
  .xl-article-grid--slider > .xl-article-card { flex-basis: calc((100% - 2rem) / 2); }
}
@media (max-width: 600px) {
  .xl-article-grid--slider > .xl-article-card { flex-basis: 100%; }
}

/* ── Publications slider (more than 3 items) ─────────────────────── */
.xl-pubs__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.xl-pubs__nav { display: flex; gap: 0.5rem; }
.xl-pubs__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #c9a24b; background: transparent; color: #b98a3c; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }
.xl-pubs__btn:hover:not(:disabled) { background: #c9a24b; color: #0b0d12; }
.xl-pubs__btn:disabled { opacity: 0.35; cursor: default; }
.xl-pubs__grid--slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.xl-pubs__grid--slider::-webkit-scrollbar { display: none; }
.xl-pubs__grid--slider .xl-pubs__card { flex: 0 0 calc((100% - 2.5rem) / 3); scroll-snap-align: start; }
@media (max-width: 1024px) { .xl-pubs__grid--slider .xl-pubs__card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 640px) { .xl-pubs__grid--slider .xl-pubs__card { flex-basis: 100%; } }

/* Filtered author view (from Expert Network / Insights) */
.xl-author-filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
}
.xl-author-filter-bar__label { margin: 0; color: var(--xl-muted); font-size: 0.95rem; }
.xl-author-filter-bar__all { color: var(--xl-orange); font-weight: 600; text-decoration: none; white-space: nowrap; }
.xl-author-filter-bar__all:hover { text-decoration: underline; }
.xl-author-empty { text-align: center; padding: 3rem 1rem; color: var(--xl-muted); }
.xl-author-empty .xl-btn { margin-top: 1rem; }

/* Course publications (PDF library) */
.xl-course-pubs { padding: 56px 0; }
.xl-course-pubs__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.xl-course-pubs__nav { display: flex; gap: 0.5rem; }
.xl-course-pubs__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--xl-border); background: var(--xl-bg-elevated); color: var(--xl-white); font-size: 1.1rem; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.xl-course-pubs__arrow:hover:not(:disabled) { border-color: var(--xl-orange); color: var(--xl-orange); }
.xl-course-pubs__arrow:disabled { opacity: 0.35; cursor: default; }
.xl-course-pubs__track { display: flex; gap: 1.2rem; margin-top: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.xl-course-pubs__track::-webkit-scrollbar { display: none; }
.xl-course-pubs__track .xl-course-pubs__card { flex: 0 0 260px; scroll-snap-align: start; }
.xl-course-pubs__card {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: 1.3rem 1.4rem;
  background: var(--xl-bg-card);
  border: 1px solid var(--xl-border);
  border-radius: var(--xl-radius-lg);
  text-decoration: none; color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.xl-course-pubs__card:hover { transform: translateY(-3px); border-color: var(--xl-orange); }
.xl-course-pubs__icon { color: var(--xl-orange); }
.xl-course-pubs__title { font-weight: 700; line-height: 1.35; font-size: 0.95rem; }
.xl-course-pubs__cta { margin-top: auto; color: var(--xl-orange); font-weight: 600; font-size: 0.85rem; }

/* ── Latest Insights home carousel ── */
.xl-insights-carousel__track > article,
.xl-insights-carousel__track > .xl-article-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  .xl-insights-carousel__track > article,
  .xl-insights-carousel__track > .xl-article-card { flex-basis: 260px; }
}

/* ── About hero: keep pills off the portrait's face ── */
.xl-about-hero__visual { align-self: stretch; display: flex; }
.xl-about-hero__pills { margin-top: auto; margin-bottom: 8px; }
@media (min-width: 981px) and (max-width: 1280px) {
  .xl-about-pill { max-width: 240px; font-size: 0.8rem; padding: 11px 14px; }
}
@media (max-width: 980px) {
  .xl-about-hero__visual { display: block; }
  .xl-about-hero__pills { margin: 18px auto 0; }
}

/* When CT Meets TP — structure and delivery summary */
.postid-109 .xl-course-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 38px;
  overflow: hidden;
  border: 1px solid rgba(20, 41, 77, 0.1);
  border-radius: 12px;
  background: rgba(20, 41, 77, 0.1);
}
.postid-109 .xl-course-info-row__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #f7f8fb;
  color: #4f5969;
  line-height: 1.55;
}
.postid-109 .xl-course-info-row__item strong {
  flex: 0 0 auto;
  color: #14294d;
  font-size: 1.05rem;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .postid-109 .xl-course-info-row { grid-template-columns: 1fr; }
  .postid-109 .xl-course-info-row__item { flex-direction: column; gap: 5px; }
}

/* When CT Meets TP — Word curriculum summary at the bottom */
.postid-109 .xl-course-info-row--bottom {
  grid-template-columns: 1.15fr 0.9fr 1.25fr;
  margin: 42px 0 38px;
  gap: 28px;
  padding: 32px 34px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: #17213a;
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item {
  display: block;
  padding: 0;
  background: transparent;
  color: #eef1f7;
  font-size: 0.94rem;
  line-height: 1.65;
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item strong {
  display: block;
  margin-bottom: 12px;
  color: #e2bd68;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item span {
  display: block;
}
@media (max-width: 900px) {
  .postid-109 .xl-course-info-row--bottom { grid-template-columns: 1fr; }
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item ul {
  margin: 0;
  padding-left: 1.2rem;
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item li {
  margin: 0 0 5px;
  color: #eef1f7;
}
.postid-109 .xl-course-info-row--bottom .xl-course-info-row__item li::marker {
  color: #e2bd68;
}

/* Family Foundations: fit the single-fee panel to the landscape banner. */
@media (min-width: 981px) {
  .postid-1352 .xl-course .xl-prog-hero--has-media.xl-prog-hero--has-fees {
    min-height: 0;
    aspect-ratio: var(--xl-hero-ratio, 2.4);
  }
  .postid-1352 .xl-course .xl-prog-hero--has-media .xl-prog-hero__media {
    background-size: cover;
    background-position: right center;
  }
  .postid-1352 .xl-course .xl-prog-hero--has-media .xl-prog-hero__grid {
    grid-template-columns: minmax(0, 48%) 1fr;
    padding: 24px 0;
  }
  .postid-1352 .xl-prog-hero__copy { padding: 24px 28px; }
  .postid-1352 .xl-prog-hero h1 {
    font-size: clamp(1.8rem, 2.7vw, 2.35rem);
    line-height: 1.14;
    margin-bottom: 14px;
  }
  .postid-1352 .xl-prog-hero__sub { margin-bottom: 16px; }
  .postid-1352 .xl-prog-hero__facts { margin-bottom: 18px; }
}
