/* Runway Council */
.site-header--runway {
  background: rgba(10, 37, 64, 0.96);
  color: #f8fafc;
  border-bottom: 0;
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.16);
}

.site-header--runway .runway-utility-bar {
  background: rgba(8, 29, 51, 0.96);
}

.site-header--runway .site-logo-shell {
  min-height: 4rem;
  padding: 0.25rem 0.42rem;
}

.site-header--runway .site-logo-shell--reversed {
  min-height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.site-header--runway .site-logo-image {
  max-height: 3.45rem;
  max-width: 15rem;
}

.site-header--runway .site-nav-link,
.site-header--runway .site-nav-menu-trigger {
  padding: 0.55rem 0.72rem;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header--runway .site-nav-submenu {
  min-width: 14rem;
  background: #102b48;
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header--runway .site-nav-submenu .site-nav-submenu-link {
  color: rgba(248, 250, 252, 0.92);
}

.site-header--runway .site-nav-submenu-link:hover,
.site-header--runway .site-nav-submenu-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .site-header--runway .site-logo-shell {
    min-height: 4.5rem;
    padding: 0.3rem 0.52rem;
  }

  .site-header--runway .site-logo-shell--reversed {
    min-height: auto;
    padding: 0;
  }

  .site-header--runway .site-logo-image {
    max-height: 4rem;
    max-width: 18rem;
  }
}

.runway-hero-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.98) 0%, rgba(15, 42, 74, 0.92) 48%, rgba(200, 16, 46, 0.82) 100%);
}

.runway-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 100%);
  background-size: 96px 96px, 96px 96px;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8) 18%, rgba(0, 0, 0, 0.8) 82%, transparent);
  opacity: 0.5;
}

.runway-logo-marquee .site-logo-marquee-track {
  animation-duration: 42s;
}

.runway-hero-band-backdrop {
  position: absolute;
  inset: -2rem;
  z-index: 0;
  width: calc(100% + 4rem);
  height: calc(100% + 4rem);
  object-fit: cover;
  transform: scale(1.08);
  filter: blur(24px) saturate(1.06);
  opacity: 0.72;
  pointer-events: none;
}

.runway-hero-band-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.runway-hero-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.14), rgba(12, 18, 28, 0.56)),
    linear-gradient(90deg, rgba(12, 18, 28, 0.62) 0%, rgba(12, 18, 28, 0.28) 14%, rgba(12, 18, 28, 0.14) 48%, rgba(12, 18, 28, 0.24) 82%, rgba(12, 18, 28, 0.58) 100%);
}

.runway-hero-band .site-container {
  z-index: 4;
}

.runway-hero-text-shadow {
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.86),
    0 12px 28px rgba(0, 0, 0, 0.40);
}

.runway-card {
  border: 1px solid rgba(10, 37, 64, 0.10);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.06);
}

.runway-card-muted {
  background: #eef1f6;
}

.runway-footer {
  background: linear-gradient(180deg, #081d33 0%, #0a2540 45%, #071725 100%);
}

.runway-prose {
  font-size: 17px;
  line-height: 1.72;
}

.runway-fallback-gradient {
  background: linear-gradient(135deg, #081d33 0%, #0f2a4a 58%, #0f2a4a 72%, #c8102e 100%);
}

.runway-prose h1,
.runway-prose h2,
.runway-prose h3,
.runway-prose h4,
.runway-prose h5,
.runway-prose h6 {
  font-family: var(--font-heading);
  color: #0a2540;
}

.runway-prose h4,
.runway-prose h5,
.runway-prose h6 {
  margin-top: 1.4rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.runway-prose blockquote {
  margin: 1.5rem 0;
  border-left: 3px solid #c8102e;
  background: #f3f5f9;
  padding: 1rem 1.25rem;
  color: #0f2a4a;
  font-style: italic;
}

.runway-prose hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(10, 37, 64, 0.12);
}

.runway-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.10);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.05);
}

.runway-prose thead th {
  background: #0f2a4a;
  color: #f8fafc;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.runway-prose th,
.runway-prose td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.runway-prose tbody tr:nth-child(even) {
  background: #f8fafc;
}

.runway-prose tbody tr:last-child td {
  border-bottom: 0;
}

.runway-prose .runway-table-year {
  white-space: nowrap;
  font-weight: 700;
  color: #0a2540;
}

.runway-directory-search input::placeholder {
  color: #8b96a4;
}

@media (max-width: 639px) {
  .runway-prose {
    font-size: 16px;
    line-height: 1.66;
  }

  .runway-prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
