/* =========================================================
   MARGINAL — INNER PAGES
   File: assets/css/style-inner.css
   Use together with: assets/css/style.css
   ========================================================= */

/* =========================================================
   SECONDARY PAGE BANNER — 1920 × 320
   Replace the page image through the specific page class.
   ========================================================= */

.page-banner {
  width: 100%;
  height: 320px;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(6,36,52,.58) 0%,
        rgba(6,36,52,.32) 35%,
        rgba(6,36,52,.08) 60%,
        rgba(6,36,52,0) 100%
    );
}

/* Race Expo banner image */
.page-banner-expo {
  background-image: url("../images/banners/race-expo-banner.jpg");
  background-position: center;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  padding: 34px 0 30px;
}

.page-banner h1 {
  max-width: 790px;
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(4, 25, 38, .32);
}

.page-title-line,
.page-title-accent {
  display: block;
}

.page-title-line {
  color: #fff;
}

.page-title-accent {
  margin-top: 6px;
  color: #44bdf7;
}

.page-banner-rule {
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 18px;
  background: #44bdf7;
}

.page-banner-text {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.94);
  font-size: 1rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(4, 25, 38, .34);
}

/* =========================================================
   INNER PAGE INTRO
   ========================================================= */

.inner-page-intro {
  padding: 82px 0 34px;
}

.inner-page-intro .section-eyebrow {
  margin-bottom: 14px;
}

.inner-page-intro h2 {
  max-width: 850px;
}

.inner-page-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* =========================================================
   RACE EXPO PAGE
   ========================================================= */

.menu-dropdown-toggle.active::after {
  transform: scaleX(1);
}

.menu-dropdown-panel a.active {
  color: #fff;
  background: var(--ocean);
}

.expo-page {
  padding-top: 82px;
}

.expo-head {
  align-items: flex-end;
}

.expo-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.expo-status-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23,63,87,.07);
}

.expo-status-label {
  display: block;
  margin-bottom: 14px;
  color: var(--ocean);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.expo-status-card strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.expo-status-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.expo-content-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
  margin-top: 24px;
}

.expo-main-card,
.expo-side-card {
  padding: 36px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.expo-main-card {
  background: linear-gradient(180deg, #eefaff, #fff);
}

.expo-side-card {
  color: #fff;
  background: var(--navy);
}

.expo-main-card h3,
.expo-side-card h3 {
  font-size: 2.8rem;
}

.expo-side-card .section-eyebrow {
  color: #bfefff;
}

.expo-checklist {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.expo-checklist div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.expo-checklist strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .96rem;
}

.expo-checklist span {
  color: var(--muted);
  font-size: .9rem;
}

.expo-side-card ul {
  margin: 28px 0 0;
  padding-left: 20px;
}

.expo-side-card li {
  margin-bottom: 13px;
  color: rgba(255,255,255,.84);
}

.expo-notice {
  margin-top: 24px;
  padding: 22px 26px;
  border-left: 5px solid var(--coral);
  border-radius: 14px;
  background: #fff8e8;
}

.expo-notice strong {
  display: block;
  color: var(--coral);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.expo-notice p {
  margin: 6px 0 0;
  color: #526371;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .expo-status-grid,
  .expo-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-banner {
    height: 300px;
    min-height: 300px;
    background-position: 62% center;
  }

  .page-banner::before {
    background: rgba(7,37,54,.72);
  }

  .page-banner-inner {
    padding: 28px 0;
  }

  .page-banner h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .page-banner-text {
    max-width: 100%;
    font-size: .9rem;
  }

  .expo-main-card,
  .expo-side-card {
    padding: 26px;
  }
}
