/* ═══════════════════════════════════════════════
   EsportsNext Theme — Main Layout & Components
   White body · Large type · Full-width · Angled headers
   ═══════════════════════════════════════════════ */

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-total-height, 106px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body-color, #1a1a2e);
  background: var(--body-bg, #ffffff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Sticky footer — push footer to bottom on short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-footer {
  margin-top: auto;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-bright, #2655c0);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--blue, #1c3a8a); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  color: var(--body-color, #1a1a2e);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.15rem; font-weight: 700; }
h6 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin: 0 0 1.25em; }

ul, ol { padding-left: 1.5em; margin: 0 0 1.25em; }

blockquote {
  border-left: 3px solid var(--gold);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--body-muted, #5a5a72);
  background: var(--card-bg, #f7f7fa);
  border-radius: 0 4px 4px 0;
}

hr {
  border: none;
  border-top: 1px solid var(--body-border, #e2e2ea);
  margin: 2em 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
th, td {
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--body-border, #e2e2ea);
  text-align: left;
}
th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--gold);
}

code, pre {
  font-family: 'Courier New', monospace;
  background: var(--card-bg, #f7f7fa);
  border-radius: 3px;
}
code { padding: 0.15em 0.4em; font-size: 0.9em; }
pre {
  padding: 1.25em;
  overflow-x: auto;
  margin: 1.5em 0;
  border: 1px solid var(--body-border, #e2e2ea);
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ─────────────────────────────────────
   LAYOUT
───────────────────────────────────── */
.site-content {
  /* min-height removed — modules render outside this wrapper,
     so forcing viewport height created a large gap before the footer.
     Footer push-down is handled by flexbox on the body/page wrapper instead. */
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }
}

/* ─────────────────────────────────────
   MAIN CONTENT AREA
───────────────────────────────────── */
.content-area {
  padding: 0;
}

.content-area.has-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
}

@media (max-width: 900px) {
  .content-area.has-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .content-area { padding: 0; }
}

/* ─────────────────────────────────────
   PAGE HEADER — Shared
───────────────────────────────────── */
.page-header-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white, #fff);
  margin: 0 0 12px;
}

.page-header-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-header-desc {
  font-size: 1.15rem;
  color: var(--off-white, rgba(255,255,255,0.82));
  max-width: 640px;
  line-height: 1.6;
}

/* ─────────────────────────────────────
   PAGE HEADER — Split (Pages)
───────────────────────────────────── */
.page-header--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  padding: 32px 40px;
  background: var(--body-bg, #ffffff);
}

.page-header-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--blue-bright, #2655c0);
  padding: 64px 60px;
  border-radius: 12px 0 0 12px;
}

.page-header-split-image {
  overflow: hidden;
  border-radius: 0 12px 12px 0;
}
.page-header-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Breadcrumb */
.page-header-breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}
.page-header-breadcrumb a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.page-header-breadcrumb a:hover {
  opacity: 1;
  color: var(--white);
}
.page-header-breadcrumb .current {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-header-breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .page-header--split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }
  .page-header-split-text {
    padding: 48px 24px;
  }
  .page-header-split-image {
    max-height: 300px;
  }
}

/* ─────────────────────────────────────
   PAGE HEADER — Angled (Posts, Archives)
───────────────────────────────────── */
.page-header--angled {
  position: relative;
  background: var(--navy, #080c18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  padding: 72px 40px 100px;
  overflow: hidden;
}

.page-header--angled::after {
  content: '';
  position: absolute;
  right: 8%;
  top: 15%;
  width: 3px;
  height: 70%;
  background: var(--gold);
  transform: rotate(-12deg);
  opacity: 0.25;
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-header--angled {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
    padding: 48px 20px 72px;
  }
}

/* ─────────────────────────────────────
   ARTICLES / POST CARDS
───────────────────────────────────── */
.post-card {
  background: var(--body-bg, #fff);
  border: 1px solid var(--card-border, #e2e2ea);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.post-card:hover .post-card-image img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 28px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--body-muted, #5a5a72);
  margin-bottom: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card-meta a {
  color: var(--gold);
}

.post-card-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.post-card-title a {
  color: var(--body-color, #1a1a2e);
}
.post-card-title a:hover {
  color: var(--gold);
}

.post-card-excerpt {
  font-size: 1rem;
  color: var(--body-muted, #5a5a72);
  line-height: 1.65;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: gap 0.2s;
}
.read-more:hover { gap: 10px; color: var(--gold-light); }

/* ─────────────────────────────────────
   PRESS RELEASES
───────────────────────────────────── */
.container--narrow {
  max-width: 860px;
}

.press-list {
  padding: 56px 0 24px;
}

.press-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--body-border, #e2e2ea);
}
.press-item:first-child {
  padding-top: 0;
}

.press-item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 64px;
  padding-top: 4px;
  flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1;
  text-align: center;
}

.press-item-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright, #2655c0);
}

.press-item-day {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy, #080c18);
  line-height: 1.15;
}

.press-item-year {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--body-muted, #5a5a72);
  letter-spacing: 0.05em;
}

.press-item-body {
  flex: 1;
  min-width: 0;
}

.press-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}
.press-item-title a {
  color: var(--navy, #080c18);
  text-decoration: none;
  transition: color 0.2s;
}
.press-item-title a:hover {
  color: var(--blue-bright, #2655c0);
}

.press-item-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body-muted, #5a5a72);
  margin-bottom: 12px;
}

.press-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright, #2655c0);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.press-item-link:hover {
  gap: 10px;
  color: var(--gold, #c5a44e);
}
.press-item-link i {
  font-size: 0.75em;
}

.press-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 56px;
}
.press-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--body-border, #e2e2ea);
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--body-muted, #5a5a72);
  transition: all 0.2s;
}
.press-pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--body-color, #1a1a2e);
}
.press-pagination .page-numbers.current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.press-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--body-muted, #5a5a72);
  font-size: 1.1rem;
}

@media (max-width: 580px) {
  .press-item {
    flex-direction: column;
    gap: 12px;
  }
  .press-item-date {
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
  }
  .press-item-day {
    font-size: 1.3rem;
  }
  .press-list {
    padding: 40px 0 16px;
  }
}

/* ─────────────────────────────────────
   SINGLE POST / PAGE
───────────────────────────────────── */
.single-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--body-border, #e2e2ea);
  margin-bottom: 40px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--body-muted, #5a5a72);
  margin-bottom: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.single-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.single-featured-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 36px;
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.entry-content h2 {
  margin-top: 2em;
}
.entry-content h3 {
  margin-top: 1.5em;
}

.entry-content img {
  border-radius: 6px;
  margin: 1.5em 0;
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────
   PAGINATION
───────────────────────────────────── */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--body-border, #e2e2ea);
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--body-muted, #5a5a72);
  transition: all 0.2s;
}
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  border-color: var(--gold);
  color: var(--body-color, #1a1a2e);
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ─────────────────────────────────────
   POST NAVIGATION (prev/next)
───────────────────────────────────── */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--body-border, #e2e2ea);
  margin-top: 40px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  padding: 24px;
  background: var(--card-bg, #f7f7fa);
  border: 1px solid var(--card-border, #e2e2ea);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.post-navigation .nav-next { text-align: right; }

.post-navigation .nav-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 6px;
}
.post-navigation .nav-title {
  font-weight: 600;
  color: var(--body-color, #1a1a2e);
}

@media (max-width: 600px) {
  .post-navigation { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────
   SIDEBAR
───────────────────────────────────── */
.sidebar .widget {
  background: var(--card-bg, #f7f7fa);
  border: 1px solid var(--card-border, #e2e2ea);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar .widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--body-border, #e2e2ea);
}

.sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar .widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--body-border, #e2e2ea);
}
.sidebar .widget li:last-child { border-bottom: none; }
.sidebar .widget li a {
  color: var(--body-color, #1a1a2e);
  font-size: 0.95rem;
}
.sidebar .widget li a:hover { color: var(--gold); }

/* ─────────────────────────────────────
   COMMENTS
───────────────────────────────────── */
.comments-area {
  padding: 40px 0;
  border-top: 1px solid var(--body-border, #e2e2ea);
  margin-top: 40px;
}

.comments-title {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

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

.comment {
  padding: 24px;
  margin-bottom: 16px;
  background: var(--card-bg, #f7f7fa);
  border: 1px solid var(--card-border, #e2e2ea);
  border-radius: 8px;
}

.comment .children {
  list-style: none;
  padding-left: 24px;
  margin-top: 16px;
}

.comment-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--body-color, #1a1a2e);
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--body-muted, #5a5a72);
  margin-bottom: 8px;
}

.comment-content { font-size: 1rem; }

.comment-respond {
  margin-top: 32px;
}

.comment-form label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--body-muted, #5a5a72);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--body-bg, #fff);
  border: 1px solid var(--body-border, #e2e2ea);
  border-radius: 6px;
  color: var(--body-color, #1a1a2e);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form .submit,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.comment-form .submit:hover,
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(240,165,0,0.3);
}

/* ─────────────────────────────────────
   SEARCH FORM
───────────────────────────────────── */
.search-form {
  display: flex;
  gap: 8px;
}
.search-form .search-field {
  flex: 1;
  padding: 12px 16px;
  background: var(--body-bg, #fff);
  border: 1px solid var(--body-border, #e2e2ea);
  border-radius: 6px;
  color: var(--body-color, #1a1a2e);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
}
.search-form .search-field:focus {
  outline: none;
  border-color: var(--gold);
}
.search-form .search-submit {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ─────────────────────────────────────
   404 PAGE
───────────────────────────────────── */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}
.error-404 .error-code {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--body-border, #e2e2ea);
  margin-bottom: 16px;
}
.error-404 h1 { margin-bottom: 12px; }
.error-404 p { color: var(--body-muted); max-width: 520px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  background: var(--navy-mid, #0d1326);
  color: var(--off-white);
  padding: 48px 0 0;
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .footer-logo .e { color: var(--blue-bright); }
.footer-brand .footer-logo-link { display: inline-block; margin-bottom: 12px; }
.footer-brand .footer-logo-img { max-height: 48px; width: auto; }

.footer-brand .footer-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-socials a:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(240,165,0,0.06);
}

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-legal a:hover { color: var(--white); }

/* ─────────────────────────────────────
   SKIP LINK (Accessibility)
───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ─────────────────────────────────────
   UTILITY CLASSES
───────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--body-muted); }
.text-center { text-align: center; }

/* ═════════════════════════════════════
   MODULES — Flexible Content Components
═════════════════════════════════════ */
.module {
  padding: 80px 0;
}
.module + .module {
  padding-top: 0;
}

/* Module Header (shared headline + subheadline) */
.module-header {
  margin-bottom: 48px;
}
.module-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.module-subheadline {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--body-muted, #5a5a72);
  margin: 0;
  max-width: 680px;
}
/* Override colors when inside dark CTA modules */
.module-cta--blue .module-headline,
.module-cta--navy .module-headline {
  color: #fff;
}
.module-cta--blue .module-subheadline,
.module-cta--navy .module-subheadline {
  color: rgba(255, 255, 255, 0.75);
}

/* ─────────────────────────────────────
   MODULE: Vertical Tabs
───────────────────────────────────── */
.vtabs-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.vtabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vtabs-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  border: none;
  border-left: 3px solid var(--body-border, #e2e2ea);
  background: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--body-color, #1a1a2e);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.vtabs-nav-item:hover {
  color: var(--blue-bright, #2655c0);
}
.vtabs-nav-item.is-active {
  border-left-color: var(--blue-bright, #2655c0);
  color: var(--blue-bright, #2655c0);
}
.vtabs-panel {
  display: none;
}
.vtabs-panel.is-active {
  display: block;
}
.vtabs-panel h2,
.vtabs-panel h3 {
  margin-top: 0;
}
.vtabs-panel {
  font-size: 1.1rem;
  line-height: 1.8;
}
.vtabs-panel p {
  margin-bottom: 1.25em;
}

@media (max-width: 768px) {
  .vtabs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vtabs-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
  }
  .vtabs-nav-item {
    border-left: none;
    border-bottom: 3px solid var(--body-border, #e2e2ea);
    white-space: nowrap;
    padding: 10px 16px;
  }
  .vtabs-nav-item.is-active {
    border-bottom-color: var(--blue-bright, #2655c0);
  }
}

/* ─────────────────────────────────────
   MODULE: Stats Row
───────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 24px;
  border-radius: 12px;
  background: var(--card-bg, #f7f7fa);
}
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--blue-bright, #2655c0);
}
.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--body-muted, #5a5a72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────
   MODULE: CTA Banner
───────────────────────────────────── */
.module-cta {
  border-radius: 12px;
  margin-left: 40px;
  margin-right: 40px;
}
/* CTA card spacing: move module padding outside the card as margin */
.module-spacing--compact  .module-cta { padding: 0; margin-top: 48px; margin-bottom: 48px; }
.module-spacing--default  .module-cta { padding: 0; margin-top: 80px; margin-bottom: 80px; }
.module-spacing--spacious .module-cta { padding: 0; margin-top: 120px; margin-bottom: 120px; }
.module-cta--blue {
  background: var(--blue-bright, #2655c0);
  color: #fff;
}
.module-cta--navy {
  background: var(--navy, #080c18);
  color: #fff;
}
.module-cta--white {
  background: var(--card-bg, #f7f7fa);
  color: var(--body-color, #1a1a2e);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 0;
}
.cta-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.module-cta--blue .cta-heading,
.module-cta--navy .cta-heading {
  color: #fff;
}
.cta-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}
.cta-button {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.module-cta--blue .cta-button,
.module-cta--navy .cta-button {
  background: #fff;
  color: var(--blue-bright, #2655c0);
}
.module-cta--blue .cta-button:hover,
.module-cta--navy .cta-button:hover {
  background: var(--gold, #c9a227);
  color: #fff;
}
.module-cta--white .cta-button {
  background: var(--blue-bright, #2655c0);
  color: #fff;
}
.module-cta--white .cta-button:hover {
  background: var(--navy, #080c18);
}
.cta-action {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cta-button--secondary {
  background: transparent;
  border: 2px solid currentColor;
}
.module-cta--blue .cta-button--secondary,
.module-cta--navy .cta-button--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.module-cta--blue .cta-button--secondary:hover,
.module-cta--navy .cta-button--secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.module-cta--white .cta-button--secondary {
  background: transparent;
  color: var(--blue-bright, #2655c0);
  border-color: var(--blue-bright, #2655c0);
}
.module-cta--white .cta-button--secondary:hover {
  background: var(--blue-bright, #2655c0);
  color: #fff;
}

@media (max-width: 768px) {
  .module-cta {
    margin-left: 16px;
    margin-right: 16px;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 0;
  }
  .cta-action {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ─────────────────────────────────────
   MODULE: Image + Text Split
───────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.module-split--img-right .split-image {
  order: 2;
}
.module-split--img-right .split-text {
  order: 1;
}
.split-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.split-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 20px;
}
.split-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--body-muted, #5a5a72);
}
.split-body p:first-child {
  margin-top: 0;
}
.split-body p:last-child {
  margin-bottom: 0;
}
.split-button {
  display: inline-block;
  margin-top: 28px;
  padding: 16px 36px;
  background: var(--blue-bright, #2655c0);
  color: #fff;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.split-button:hover {
  background: var(--navy, #080c18);
  color: #fff;
}

@media (max-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .module-split--img-right .split-image,
  .module-split--img-right .split-text {
    order: unset;
  }
}

/* ─────────────────────────────────────
   MODULE WRAPPER — Shared Settings
───────────────────────────────────── */
.module-wrap {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Colors */
.module-bg--white      { background-color: var(--body-bg, #ffffff); }
.module-bg--light-gray { background-color: var(--card-bg, #f7f7fa); }
.module-bg--navy       { background-color: var(--navy, #080c18); }
.module-bg--blue       { background-color: var(--blue-bright, #2655c0); }

/* Dark module text overrides */
.module-dark,
.module-dark .module-headline,
.module-dark .module-subheadline,
.module-dark h2, .module-dark h3, .module-dark h4,
.module-dark p, .module-dark li {
  color: #fff;
}
.module-dark .module-subheadline,
.module-dark .split-body,
.module-dark .stat-label,
.module-dark .accordion-content {
  color: rgba(255, 255, 255, 0.75);
}
.module-dark a:not(.cta-button):not(.split-button) {
  color: var(--gold, #c9a227);
}
/* Dark module stat cards */
.module-dark .stat-item {
  background: rgba(255, 255, 255, 0.1);
}
.module-dark .stat-number {
  color: var(--gold, #c9a227);
}
/* Dark module accordion */
.module-dark .accordion-trigger {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.module-dark .accordion-trigger:hover {
  color: var(--gold, #c9a227);
}
.module-dark .accordion-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.module-dark .accordion-item:first-child {
  border-top-color: rgba(255, 255, 255, 0.15);
}
/* Dark module vtabs */
.module-dark .vtabs-nav-item {
  color: rgba(255, 255, 255, 0.7);
  border-left-color: rgba(255, 255, 255, 0.15);
}
.module-dark .vtabs-nav-item.is-active {
  color: #fff;
  border-left-color: var(--gold, #c9a227);
}
/* Dark module logo grid */
.module-dark .logo-grid-item {
  background: rgba(255, 255, 255, 0.08);
}

/* Spacing */
.module-spacing--compact  .module { padding: 48px 0; }
.module-spacing--default  .module { padding: 80px 0; }
.module-spacing--spacious .module { padding: 120px 0; }

/* Full Width — remove container max-width/padding */
.module-full-width .container {
  max-width: none;
  padding: 0;
}

/* Background Image overlay for readability */
.module-has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.module-has-bg-image .module {
  position: relative;
  z-index: 1;
}
.module-bg--white.module-has-bg-image::before   { background: rgba(255,255,255,0.85); }
.module-bg--light-gray.module-has-bg-image::before { background: rgba(247,247,250,0.88); }
.module-bg--navy.module-has-bg-image::before    { background: rgba(8,12,24,0.8); }
.module-bg--blue.module-has-bg-image::before    { background: rgba(38,85,192,0.85); }

/* Parallax */
.module-parallax {
  background-image: none !important; /* image goes on child */
}
.module-parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

/* ─────────────────────────────────────
   MODULE: Accordion / FAQ
───────────────────────────────────── */
.accordion-list {
  max-width: 800px;
}
.accordion-item {
  border-bottom: 1px solid var(--body-border, #e2e2ea);
}
.accordion-item:first-child {
  border-top: 1px solid var(--body-border, #e2e2ea);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--body-color, #1a1a2e);
  transition: color 0.2s;
}
.accordion-trigger:hover {
  color: var(--blue-bright, #2655c0);
}
.accordion-icon {
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}
.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}
.accordion-panel {
  overflow: hidden;
}
.accordion-content {
  padding: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--body-muted, #5a5a72);
}
.accordion-content p:first-child { margin-top: 0; }
.accordion-content p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────
   MODULE: Shortcode
───────────────────────────────────── */
.shortcode--narrow  { max-width: 680px; }
.shortcode--default { max-width: 900px; }
.shortcode--wide    { max-width: none; }

/* Accordion layout: Full Width */
.module-accordion--full_width .accordion-list {
  max-width: none;
}

/* Accordion layout: With Image (split) */
.accordion-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.module-accordion--img-left .accordion-split {
  grid-template-columns: 1fr 1fr;
}
.module-accordion--img-left .accordion-split-image {
  order: -1;
}
.accordion-split-list .accordion-list {
  max-width: none;
}
.accordion-split-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .accordion-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .module-accordion--img-left .accordion-split-image {
    order: 0;
  }
}

/* ─────────────────────────────────────
   MODULE: Logo Grid / Partners
───────────────────────────────────── */
.logo-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.logo-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.logo-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.logo-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

.logo-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 8px;
  background: var(--card-bg, #f7f7fa);
  transition: box-shadow 0.2s, transform 0.2s;
}
.logo-grid-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.logo-grid-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
}
.logo-grid-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 768px) {
  .logo-grid--cols-5,
  .logo-grid--cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-grid--cols-3,
  .logo-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid-item {
    padding: 16px;
  }
}

/* ─────────────────────────────────────
   MODULE: Cards Grid
───────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.card-item {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 12px;
  background: var(--card-bg, #f7f7fa);
  border: 1px solid var(--card-border, #e2e2ea);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
a.card-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.card-icon {
  margin-bottom: 20px;
}
.card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}
/* Font Awesome icon in cards */
.card-icon--fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--card-bg, #f7f7fa);
  color: var(--blue-bright, #2655c0);
  font-size: 28px;
  flex-shrink: 0;
}
.module-dark .card-icon--fa {
  background: rgba(255,255,255,0.1);
  color: var(--gold, #c9a227);
}
.card-title {
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.card-text {
  font-size: 1.05rem;
  color: var(--body-muted, #5a5a72);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.card-link-label {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-bright, #2655c0);
}
/* Dark module card overrides */
.module-dark .card-item {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}
.module-dark .card-title { color: #fff; }
.module-dark .card-text { color: rgba(255,255,255,0.7); }
.module-dark .card-link-label { color: var(--gold, #c9a227); }

@media (max-width: 768px) {
  .cards-grid--cols-3,
  .cards-grid--cols-4 {
    grid-template-columns: 1fr;
  }
  .cards-grid--cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────
   MODULE: Testimonial Carousel
───────────────────────────────────── */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-track {
  position: relative;
  min-height: 0;
}
.testimonial-slide {
  margin: 0;
  padding: 0;
  border: none;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.testimonial-slide.is-active {
  display: block;
  opacity: 1;
}
/* Quote mark */
.testimonial-mark {
  color: var(--blue-bright, #2655c0);
  opacity: 0.12;
  margin: 0 auto 24px;
  display: block;
}
/* Quote text */
.testimonial-quote p {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: var(--body-color, #1a1a2e);
  font-style: italic;
}
/* Attribution */
.testimonial-attribution {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  text-align: left;
}
.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,0.06);
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.testimonial-name {
  font-style: normal;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.testimonial-meta {
  font-size: 0.92rem;
  color: var(--body-muted, #5a5a72);
}
/* Navigation */
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.testimonial-arrow {
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--body-color, #1a1a2e);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.testimonial-arrow:hover {
  background: var(--blue-bright, #2655c0);
  border-color: var(--blue-bright, #2655c0);
  color: #fff;
}
.testimonial-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.12);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}
.testimonial-dot:hover {
  background: rgba(0,0,0,0.3);
}
.testimonial-dot.is-active {
  background: var(--blue-bright, #2655c0);
  width: 24px;
  border-radius: 4px;
}
/* Dark overrides */
.module-dark .testimonial-mark { color: var(--gold, #c9a227); opacity: 0.25; }
.module-dark .testimonial-quote p { color: #fff; }
.module-dark .testimonial-name { color: #fff; }
.module-dark .testimonial-meta { color: rgba(255,255,255,0.6); }
.module-dark .testimonial-photo { border-color: rgba(255,255,255,0.15); }
.module-dark .testimonial-arrow {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.module-dark .testimonial-arrow:hover {
  background: var(--gold, #c9a227);
  border-color: var(--gold, #c9a227);
  color: #1a1a2e;
}
.module-dark .testimonial-dot { background: rgba(255,255,255,0.2); }
.module-dark .testimonial-dot:hover { background: rgba(255,255,255,0.45); }
.module-dark .testimonial-dot.is-active { background: var(--gold, #c9a227); }

/* ─────────────────────────────────────
   MODULE: Video Embed
───────────────────────────────────── */
.video-wrapper {
  margin: 0 auto;
}
.video-wrapper--full   { max-width: none; }
.video-wrapper--medium { max-width: 800px; }
.video-wrapper--small  { max-width: 640px; }

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  text-align: center;
  font-size: 1rem;
  color: var(--body-muted, #5a5a72);
  margin: 16px 0 0;
}
.module-dark .video-caption { color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────
   MODULE: Text Block
───────────────────────────────────── */
.text-block-content {
  line-height: 1.85;
  font-size: 1.15rem;
}
.text-block-content p {
  margin-bottom: 1.5em;
}
.text-block--narrow { max-width: 720px; }
.text-block--medium { max-width: 900px; }
.text-block--full   { max-width: none; }
.text-block--align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.text-block-content p:first-child { margin-top: 0; }
.text-block-content p:last-child { margin-bottom: 0; }
.text-block-content h2,
.text-block-content h3 {
  margin-top: 1.5em;
}

/* Podcast styles are in assets/css/podcast.css (conditionally enqueued) */
