/*
Theme Name: Roadrunner Runaways
Theme URI: https://run.waveminer.de/
Author: Roadrunner Runaways [RUN]
Author URI: https://run.waveminer.de/
Description: Eigenständiges, responsives WordPress-Theme für die Roadrunner Runaways im kosmischen Schwarz-Orange-Gold-Stil. Optimiert für Community-Inhalte, Ultimate Member und AudioIgniter.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: roadrunner-runaways
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --run-black: #060301;
  --run-ink: #0d0804;
  --run-panel: #171008;
  --run-panel-2: #23150a;
  --run-border: rgba(236, 155, 30, 0.24);
  --run-gold: #ec9b1e;
  --run-gold-bright: #f8cd68;
  --run-gold-dark: #9e5a18;
  --run-orange: #d8670c;
  --run-orange-hot: #ff7818;
  --run-white: #fff7e2;
  --run-muted: #cdbb9e;
  --run-danger: #ed6666;
  --run-success: #75d5a4;
  --run-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --run-radius: 18px;
  --run-radius-sm: 10px;
  --run-content: 1180px;
  --run-reading: 820px;
  --run-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --run-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --run-fleet-image: url("assets/images/run-space-fleet.webp");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% -8%, rgba(216, 103, 12, .15), transparent 30rem),
    radial-gradient(circle at 88% 38%, rgba(236, 155, 30, .075), transparent 34rem),
    linear-gradient(180deg, #060301, #0d0804 46%, #040201);
  color: var(--run-white);
  font-family: var(--run-font);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(248,205,104,.38) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,255,255,.18) 0 1px, transparent 1.3px),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-position: 11px 17px, 43px 37px, 0 0, 0 0;
  background-size: 73px 73px, 127px 127px, 48px 48px, 48px 48px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 2rem 0;
}

a {
  color: var(--run-gold-bright);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

a:hover {
  color: #fff1c6;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--run-gold-bright);
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 40px), var(--run-content));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--run-gold-bright);
  color: var(--run-black);
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--run-border);
  background: rgba(6, 3, 1, 0.92);
  backdrop-filter: blur(16px);
}

.site-header::after {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--run-orange), var(--run-gold-bright), var(--run-orange), transparent);
  content: "";
  opacity: .8;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 88px;
  gap: 32px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: max-content;
  gap: 13px;
}

.site-branding .custom-logo-link,
.fallback-logo-link,
.brand-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  text-decoration: none;
}

.site-branding .custom-logo,
.fallback-logo,
.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(236, 155, 30, .16));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.site-title {
  color: var(--run-white);
  font-family: var(--run-display);
  font-size: clamp(1.05rem, 1vw + .7rem, 1.4rem);
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-tagline {
  margin-top: 6px;
  color: var(--run-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation li {
  position: relative;
  margin: 0;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #f4eadb;
  font-family: var(--run-display);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .065em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: rgba(236, 155, 30, .1);
  color: var(--run-gold-bright);
}

.primary-navigation .menu-cta > a {
  padding-inline: 17px;
  border: 1px solid var(--run-gold);
  background: linear-gradient(135deg, var(--run-gold-bright), var(--run-gold) 55%, var(--run-orange));
  color: var(--run-black);
  box-shadow: 0 8px 26px rgba(236, 155, 30, .16);
}

.primary-navigation .menu-cta > a:hover {
  background: #ffe2a0;
  color: #050608;
  transform: translateY(-1px);
}

.primary-navigation .sub-menu {
  position: absolute;
  z-index: 1100;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--run-border);
  border-radius: var(--run-radius-sm);
  background: var(--run-panel);
  box-shadow: var(--run-shadow);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  display: block;
}

.primary-navigation .menu-item-has-children > a::after {
  margin-left: 7px;
  color: var(--run-gold);
  content: "▾";
  font-size: .72em;
  line-height: 1;
}

.primary-navigation > ul > li:nth-last-child(-n+2) > .sub-menu {
  right: 0;
  left: auto;
}

.primary-navigation .sub-menu a {
  width: 100%;
  border-radius: 7px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--run-border);
  border-radius: 12px;
  background: var(--run-panel);
  color: var(--run-gold-bright);
  cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before {
  position: absolute;
  top: -7px;
}

.menu-toggle__lines::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Front page */
.run-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 76vh, 840px);
  overflow: hidden;
  border-bottom: 1px solid var(--run-border);
  background:
    radial-gradient(circle at 79% 46%, rgba(236, 155, 30, .22), transparent 24rem),
    radial-gradient(circle at 83% 52%, rgba(216, 103, 12, .16), transparent 36rem),
    linear-gradient(135deg, #050201 0%, #130a04 52%, #050201 100%);
}

.run-hero::before {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -20%;
  width: 64vw;
  height: 120%;
  border-left: 1px solid rgba(248, 205, 104, .2);
  background:
    linear-gradient(150deg, transparent 0 34%, rgba(216,103,12,.05) 34.2% 35%, transparent 35.2% 46%, rgba(236,155,30,.06) 46.2% 47%, transparent 47.2%),
    linear-gradient(135deg, transparent 20%, rgba(236, 155, 30, .045));
  content: "";
  transform: skewX(-18deg);
}

.run-hero::after {
  position: absolute;
  z-index: 2;
  right: -4%;
  bottom: -1px;
  left: -4%;
  height: 42px;
  background: var(--run-black);
  clip-path: polygon(0 100%, 50% 30%, 100% 100%);
  content: "";
}

.run-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  min-height: inherit;
  padding-block: clamp(84px, 12vw, 150px);
  gap: clamp(50px, 7vw, 110px);
}

.run-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--run-gold-bright);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.run-eyebrow::before {
  width: 36px;
  height: 2px;
  margin-right: 12px;
  background: var(--run-gold);
  content: "";
}

.run-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--run-white);
  font-family: var(--run-display);
  font-size: clamp(3.15rem, 6.4vw, 6.9rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .93;
  text-transform: uppercase;
  text-shadow: 0 20px 48px rgba(0, 0, 0, .36);
}

.run-hero h1 .gold {
  display: block;
  background: linear-gradient(120deg, var(--run-gold-dark), var(--run-gold-bright) 46%, #fff1c1 60%, var(--run-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.run-hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d8c6ab;
  font-size: clamp(1rem, .6vw + .9rem, 1.24rem);
}

.run-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.run-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--run-gold-bright), var(--run-gold) 56%, var(--run-orange));
  color: var(--run-black);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 13px 34px rgba(236, 155, 30, .17);
}

.run-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #ffe2a0;
  color: var(--run-black);
  transform: translateY(-2px);
}

.run-button--ghost {
  border-color: rgba(236, 155, 30, .48);
  background: rgba(255,255,255,.02);
  color: var(--run-gold-bright);
  box-shadow: none;
}

.run-button--ghost:hover {
  border-color: var(--run-gold-bright);
  background: rgba(236, 155, 30, .09);
  color: #fff1c6;
}

.run-hero__areas {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 34px 0 0;
  gap: 8px;
  list-style: none;
}

.run-hero__areas li {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #ad9476;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.run-hero__emblem {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 450px;
}

.run-hero__emblem::before,
.run-hero__emblem::after {
  position: absolute;
  border: 1px solid rgba(248, 205, 104, .26);
  border-radius: 50%;
  content: "";
}

.run-hero__emblem::before {
  width: min(37vw, 480px);
  aspect-ratio: 1;
}

.run-hero__emblem::after {
  width: min(30vw, 390px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: run-orbit 26s linear infinite;
}

.run-hero__emblem img {
  position: relative;
  z-index: 1;
  width: min(42vw, 590px);
  max-height: 500px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(248,205,104,.16), 0 0 70px rgba(216,103,12,.2);
  filter: drop-shadow(0 26px 42px rgba(0,0,0,.55));
}

@keyframes run-orbit {
  to { transform: rotate(360deg); }
}

.run-section {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
}

.run-section--content {
  background: linear-gradient(180deg, rgba(255,255,255,.01), transparent 18rem);
}

.home-content-wrap {
  width: min(100%, var(--run-reading));
  margin-inline: auto;
}

/* Page and post layout */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 120px);
  border-bottom: 1px solid var(--run-border);
  background:
    radial-gradient(circle at 82% 20%, rgba(216,103,12,.15), transparent 24rem),
    linear-gradient(115deg, rgba(236, 155, 30, .09), transparent 38%),
    var(--run-ink);
}

.page-hero::after {
  position: absolute;
  right: -6%;
  bottom: -50%;
  width: 48%;
  height: 140%;
  border-left: 1px solid rgba(236,155,30,.16);
  background: rgba(236,155,30,.025);
  content: "";
  transform: skewX(-18deg);
}

.page-hero .site-shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--run-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.page-hero__meta {
  margin: 20px 0 0;
  color: var(--run-muted);
  font-size: .88rem;
}

.site-main {
  min-height: 45vh;
}

.content-section {
  padding-block: clamp(55px, 7vw, 90px);
}

.entry-content,
.entry-summary {
  width: min(100%, var(--run-reading));
  margin-inline: auto;
  color: #eadfcf;
}

.entry-content > :first-child,
.entry-summary > :first-child {
  margin-top: 0;
}

.entry-content > :last-child,
.entry-summary > :last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 1.65em 0 .6em;
  color: var(--run-white);
  font-family: var(--run-display);
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: 1.15;
  text-wrap: balance;
}

.entry-content h1 { font-size: clamp(2.35rem, 4vw, 4.2rem); }
.entry-content h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.entry-content h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.entry-content h4 { font-size: 1.25rem; }

.entry-content h2::after {
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--run-orange), var(--run-gold-bright), transparent);
  content: "";
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table,
.entry-content blockquote {
  margin-block: 1.2em;
}

.entry-content strong {
  color: var(--run-white);
}

.entry-content hr {
  height: 1px;
  margin-block: 3rem;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--run-border), transparent);
}

.entry-content blockquote {
  padding: 22px 26px;
  border-left: 4px solid var(--run-gold);
  border-radius: 0 var(--run-radius-sm) var(--run-radius-sm) 0;
  background: rgba(236, 155, 30, .07);
  color: var(--run-white);
  font-size: 1.08rem;
}

.entry-content :where(ul, ol) {
  padding-left: 1.35rem;
}

.entry-content li + li {
  margin-top: .45rem;
}

.entry-content img {
  border-radius: var(--run-radius-sm);
}

.entry-content .alignwide {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-caption,
.gallery-caption {
  color: var(--run-muted);
  font-size: .82rem;
}

.sticky {
  border-color: var(--run-gold);
}

.bypostauthor {
  display: block;
}

/* Cards, archives and navigation */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--run-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--run-border);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.035);
}

.post-card__body {
  padding: 24px;
}

.post-card__title {
  margin: 0 0 12px;
  font-family: var(--run-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.post-card__title a {
  color: var(--run-white);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--run-gold-bright);
}

.post-card__meta {
  color: var(--run-gold);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.post-card__excerpt {
  margin-bottom: 0;
  color: var(--run-muted);
  font-size: .94rem;
}

.pagination,
.post-navigation,
.posts-navigation {
  margin-top: 45px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.nav-links .current {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid var(--run-border);
  border-radius: 999px;
  background: var(--run-panel);
  text-decoration: none;
}

.nav-links .current {
  background: var(--run-gold);
  color: var(--run-black);
  font-weight: 900;
}

/* Forms */
label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--run-white);
  font-weight: 750;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--run-radius-sm);
  background: #100a05;
  color: var(--run-white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7f8792;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form label {
  flex: 1;
  margin: 0;
}

.search-form .search-submit {
  flex: 0 0 auto;
}

/* Ultimate Member and audio plugin integration */
.um,
.um-page-user,
.um-page-account {
  color: #eadfcf !important;
}

.um .um-form,
.ai-wrap {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--run-border);
  border-radius: var(--run-radius);
  background: var(--run-panel);
  box-shadow: var(--run-shadow);
}

.um .um-field-label label,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i {
  color: var(--run-white) !important;
}

.um input[type=text],
.um input[type=password],
.um input[type=search],
.um input[type=tel],
.um input[type=number],
.um textarea,
.um select {
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: var(--run-radius-sm) !important;
  background: #100a05 !important;
  color: var(--run-white) !important;
}

.um .um-button,
.um input[type=submit].um-button {
  border-radius: 999px !important;
  background: var(--run-gold) !important;
  color: var(--run-black) !important;
  font-weight: 900 !important;
}

.um .um-button.um-alt {
  border: 1px solid var(--run-border) !important;
  background: transparent !important;
  color: var(--run-gold-bright) !important;
}

.um a.um-link,
.um a.um-link-alt,
.um a.um-link:hover,
.um a.um-link-alt:hover {
  color: var(--run-gold-bright) !important;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--run-border);
  border-radius: var(--run-radius-sm);
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

.entry-content th {
  background: rgba(236,155,30,.1);
  color: var(--run-gold-bright);
}

/* Comments */
.comments-area {
  width: min(100%, var(--run-reading));
  padding: 0 0 80px;
  margin-inline: auto;
}

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

.comment-body {
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--run-radius-sm);
  background: var(--run-panel);
}

/* Footer */
.site-footer {
  position: relative;
  padding: 80px 0 28px;
  border-top: 1px solid var(--run-border);
  background: #040201;
}

.site-footer::before {
  position: absolute;
  top: -22px;
  right: 0;
  left: 0;
  height: 22px;
  background: linear-gradient(100deg, transparent 48%, var(--run-orange) 48.1%, var(--run-gold-bright) 49.1%, var(--run-orange) 50%, transparent 50.1%);
  content: "";
  opacity: .75;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(200px, .8fr) minmax(200px, .8fr);
  gap: 50px;
}

.footer-grid--without-menu {
  grid-template-columns: minmax(240px, 1.4fr) minmax(220px, .6fr);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.footer-title {
  margin: 0;
  font-family: var(--run-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 450px;
  margin: 18px 0 0;
  color: var(--run-muted);
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--run-gold-bright);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.footer-menu,
.footer-menu-wrap ul,
.footer-legal {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu li + li,
.footer-menu-wrap li + li,
.footer-legal li + li {
  margin-top: 8px;
}

.footer-menu a,
.footer-menu-wrap a,
.footer-legal a {
  color: #d8dbe0;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu-wrap a:hover,
.footer-legal a:hover {
  color: var(--run-gold-bright);
}

.site-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 55px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #9f8d75;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.not-found {
  max-width: 700px;
  text-align: center;
}

.not-found .error-code {
  display: block;
  background: linear-gradient(120deg, var(--run-gold-dark), var(--run-gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--run-display);
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 950;
  line-height: .8;
}

/* WordPress helpers */
.wp-block-separator {
  border-color: var(--run-border);
}

.wp-block-cover,
.wp-block-group.has-background {
  border-radius: var(--run-radius);
}

.wp-block-code,
pre {
  overflow-x: auto;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--run-radius-sm);
  background: #040201;
  color: #f4eadb;
}

code,
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 2px);
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--run-border);
    border-radius: 0 0 var(--run-radius) var(--run-radius);
    background: rgba(13,17,23,.98);
    box-shadow: var(--run-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .primary-navigation a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .primary-navigation .sub-menu {
    position: static;
    display: grid;
    margin: 4px 0 8px 16px;
    box-shadow: none;
  }

  .primary-navigation .menu-item-has-children > a::after {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .run-hero {
    min-height: auto;
  }

  .run-hero__grid {
    grid-template-columns: 1fr;
    padding-top: 90px;
    padding-bottom: 120px;
    text-align: center;
  }

  .run-eyebrow,
  .run-hero__actions,
  .run-hero__areas {
    justify-content: center;
  }

  .run-hero__lead {
    margin-inline: auto;
  }

  .run-hero__emblem {
    order: -1;
    min-height: 300px;
  }

  .run-hero__emblem img {
    width: min(76vw, 460px);
    max-height: 340px;
  }

  .run-hero__emblem::before { width: min(70vw, 400px); }
  .run-hero__emblem::after { width: min(57vw, 330px); }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .footer-grid--without-menu {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--run-content));
  }

  .header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .site-branding .custom-logo-link,
  .fallback-logo-link,
  .brand-logo-link,
  .site-branding .custom-logo,
  .fallback-logo,
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .site-tagline {
    display: none;
  }

  .primary-navigation {
    right: 14px;
    left: 14px;
  }

  .run-hero__grid {
    padding-top: 66px;
    gap: 36px;
  }

  .run-hero__emblem {
    min-height: 230px;
  }

  .run-hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .run-hero__actions {
    display: grid;
  }

  .run-button {
    width: 100%;
  }

  .post-grid,
  .footer-grid,
  .footer-grid--without-menu {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .site-info {
    display: grid;
    gap: 8px;
  }

  .search-form {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* RUN Space identity – version 1.1 */
body {
  position: relative;
  isolation: isolate;
  background: #020305;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 3, 5, .89), rgba(2, 3, 5, .76) 42%, rgba(2, 3, 5, .92)),
    linear-gradient(90deg, rgba(2, 3, 5, .58), transparent 42%, rgba(2, 3, 5, .42)),
    var(--run-fleet-image) center top / cover no-repeat;
  content: "";
  pointer-events: none;
}

.site-header {
  border-bottom-color: rgba(248, 205, 104, .14);
  background: rgba(2, 3, 5, .8);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .2);
}

.site-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(216, 103, 12, .35), var(--run-gold-bright), rgba(216, 103, 12, .35), transparent 92%);
  opacity: .58;
}

.header-inner {
  min-height: 80px;
}

.site-branding .custom-logo,
.fallback-logo,
.brand-logo,
.footer-brand img {
  border-radius: 0;
  object-fit: contain;
}

.primary-navigation a {
  position: relative;
  border-radius: 2px;
}

.primary-navigation > ul > li:not(.menu-cta) > a::before {
  position: absolute;
  right: 50%;
  bottom: 4px;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--run-orange), var(--run-gold-bright));
  content: "";
  transition: right .2s ease, left .2s ease;
}

.primary-navigation > ul > li:not(.menu-cta) > a:hover::before,
.primary-navigation > ul > .current-menu-item:not(.menu-cta) > a::before,
.primary-navigation > ul > .current_page_item:not(.menu-cta) > a::before {
  right: 12px;
  left: 12px;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: transparent;
}

.primary-navigation .sub-menu {
  border-radius: 2px;
  background: rgba(5, 7, 10, .98);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.run-hero {
  display: flex;
  min-height: clamp(760px, calc(100svh - 80px), 980px);
  flex-direction: column;
  justify-content: center;
  border-bottom: 0;
  background: #020305;
}

.run-hero::before {
  z-index: 1;
  top: 11%;
  right: auto;
  bottom: auto;
  left: 5%;
  width: 1px;
  height: 62%;
  border: 0;
  background: linear-gradient(transparent, rgba(248, 205, 104, .7), transparent);
  opacity: .5;
  transform: none;
}

.run-hero::after {
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--run-orange), var(--run-gold-bright), transparent);
  clip-path: none;
  opacity: .5;
}

.run-hero__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 5, .97) 0%, rgba(2, 3, 5, .83) 38%, rgba(2, 3, 5, .28) 72%, rgba(2, 3, 5, .7) 100%),
    linear-gradient(180deg, rgba(2, 3, 5, .34), transparent 44%, rgba(2, 3, 5, .88)),
    var(--run-fleet-image) center / cover no-repeat;
  opacity: .92;
}

.run-hero__constellation {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 247, 226, .58) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(248, 205, 104, .65) 0 1px, transparent 1.5px);
  background-position: 19px 31px, 71px 13px;
  background-size: 143px 143px, 227px 227px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 48%, #000);
  opacity: .26;
  pointer-events: none;
}

.run-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 620px;
  flex: 1;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  padding-block: clamp(76px, 9vw, 128px) clamp(48px, 6vw, 78px);
  gap: 22px;
}

.run-hero__copy {
  grid-column: 1 / span 7;
  padding-left: clamp(0px, 2vw, 28px);
}

.run-eyebrow {
  color: var(--run-orange-hot);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .22em;
}

.run-eyebrow::before {
  width: 9px;
  height: 9px;
  border: 1px solid var(--run-gold-bright);
  background: var(--run-orange);
  box-shadow: 0 0 16px rgba(255, 120, 24, .75);
  transform: rotate(45deg);
}

.run-hero h1 {
  max-width: 850px;
  font-size: clamp(3.4rem, 6.6vw, 7.4rem);
  letter-spacing: -.055em;
  line-height: .91;
  text-wrap: balance;
}

.run-hero__lead {
  max-width: 650px;
  color: #e0d3c2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}

.run-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.run-hero__emblem {
  position: relative;
  grid-column: 8 / -1;
  min-height: 560px;
}

.run-hero__logo-frame {
  position: relative;
  z-index: 3;
  width: min(38vw, 520px);
}

.run-hero__emblem img {
  display: block;
  width: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, .72)) drop-shadow(0 0 24px rgba(216, 103, 12, .24));
}

.run-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(248, 205, 104, .2);
  border-radius: 50%;
  pointer-events: none;
}

.run-orbit::before {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--run-orange-hot);
  box-shadow: 0 0 15px var(--run-orange-hot);
  content: "";
}

.run-orbit--outer {
  width: min(48vw, 650px);
  aspect-ratio: 1;
  border-color: rgba(248, 205, 104, .16);
  animation: run-orbit 42s linear infinite;
}

.run-orbit--middle {
  width: min(41vw, 555px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: run-orbit-reverse 31s linear infinite;
}

.run-orbit--inner {
  width: min(34vw, 465px);
  aspect-ratio: 1;
  border-color: rgba(216, 103, 12, .3);
  animation: run-orbit 24s linear infinite;
}

.run-hero__emblem::before,
.run-hero__emblem::after {
  display: none;
}

.run-hero__status {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(248, 205, 104, .26);
  background: rgba(2, 3, 5, .74);
  color: var(--run-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  letter-spacing: .15em;
}

.run-hero__status i {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #84e6af;
  box-shadow: 0 0 13px rgba(132, 230, 175, .8);
}

@keyframes run-orbit-reverse {
  to { transform: rotate(-360deg); }
}

.run-flightpath {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 82px;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(248, 205, 104, .22);
  border-bottom: 1px solid rgba(248, 205, 104, .13);
  background: linear-gradient(90deg, rgba(3, 5, 8, .92), rgba(9, 8, 7, .66), rgba(3, 5, 8, .84));
  backdrop-filter: blur(12px);
}

.run-flightpath__label {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  margin: 0;
  color: var(--run-orange-hot);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.run-flightpath ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.run-flightpath li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-left: 1px solid rgba(248, 205, 104, .11);
  color: #f0e6d7;
  font-family: var(--run-display);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.run-flightpath li span {
  margin-bottom: 5px;
  color: var(--run-gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .6rem;
  letter-spacing: .16em;
}

.run-section--content {
  border-top: 1px solid rgba(255, 255, 255, .04);
  background: linear-gradient(180deg, rgba(2, 3, 5, .92), rgba(5, 6, 8, .76) 50%, rgba(2, 3, 5, .93));
  backdrop-filter: blur(5px);
}

.run-logbook {
  display: grid;
  grid-template-columns: 150px minmax(0, 920px);
  justify-content: center;
  gap: clamp(42px, 7vw, 94px);
}

.run-logbook__rail {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-start;
  color: var(--run-gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .67rem;
  letter-spacing: .15em;
}

.run-logbook__rail i {
  width: 1px;
  min-height: 160px;
  flex: 1;
  margin: 18px 0;
  background: linear-gradient(var(--run-orange), rgba(248, 205, 104, .22), transparent);
}

.run-logbook__rail small {
  color: #8f806d;
  font-size: .58rem;
  letter-spacing: .13em;
  writing-mode: vertical-rl;
}

.home-content-wrap {
  width: 100%;
  margin: 0;
}

.run-logbook .entry-content {
  width: 100%;
}

.page-hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2, 3, 5, .95), rgba(2, 3, 5, .68) 56%, rgba(2, 3, 5, .88)),
    linear-gradient(180deg, transparent 35%, rgba(2, 3, 5, .92)),
    var(--run-fleet-image) center / cover no-repeat;
}

.page-hero::after {
  right: 6%;
  bottom: 14%;
  width: 28%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--run-gold-bright));
  transform: none;
}

.content-section {
  background: rgba(2, 3, 5, .82);
  backdrop-filter: blur(5px);
}

.post-card {
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(12, 13, 16, .93), rgba(4, 5, 7, .86));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.site-footer {
  border-top-color: rgba(248, 205, 104, .16);
  background:
    linear-gradient(180deg, rgba(2, 3, 5, .96), #010203),
    var(--run-fleet-image) center bottom / cover no-repeat;
}

.site-footer::before {
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--run-orange), var(--run-gold-bright), transparent);
}

@media (max-width: 1100px) {
  .primary-navigation {
    background: rgba(3, 5, 8, .98);
  }
}

@media (max-width: 940px) {
  .run-hero {
    min-height: auto;
  }

  .run-hero__backdrop {
    background:
      linear-gradient(180deg, rgba(2, 3, 5, .66), rgba(2, 3, 5, .9) 54%, #020305),
      var(--run-fleet-image) center top / cover no-repeat;
    opacity: .88;
  }

  .run-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 82px;
    padding-bottom: 44px;
    text-align: left;
  }

  .run-hero__copy,
  .run-hero__emblem {
    grid-column: 1;
  }

  .run-hero__copy {
    padding-left: 0;
  }

  .run-eyebrow,
  .run-hero__actions {
    justify-content: flex-start;
  }

  .run-hero__lead {
    margin-inline: 0;
  }

  .run-hero__emblem {
    order: 0;
    min-height: 440px;
  }

  .run-hero__logo-frame {
    width: min(62vw, 430px);
  }

  .run-orbit--outer { width: min(76vw, 520px); }
  .run-orbit--middle { width: min(65vw, 445px); }
  .run-orbit--inner { width: min(55vw, 375px); }

  .run-hero__status {
    right: 14%;
    bottom: 4%;
  }

  .run-flightpath {
    grid-template-columns: 1fr;
  }

  .run-flightpath__label {
    border-bottom: 1px solid rgba(248, 205, 104, .11);
  }

  .run-flightpath ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .run-logbook {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .run-logbook__rail {
    min-height: 0;
    flex-direction: row;
    align-items: center;
  }

  .run-logbook__rail i {
    width: auto;
    min-width: 70px;
    min-height: 1px;
    margin: 0 16px;
  }

  .run-logbook__rail small {
    writing-mode: initial;
  }
}

@media (max-width: 640px) {
  body::after {
    background-attachment: scroll;
    background-position: 58% top;
  }

  .run-hero__grid {
    padding-top: 58px;
    gap: 12px;
  }

  .run-hero h1 {
    font-size: clamp(2.6rem, 13.5vw, 4.1rem);
  }

  .run-hero__emblem {
    min-height: 330px;
  }

  .run-hero__logo-frame {
    width: min(74vw, 330px);
  }

  .run-orbit--outer { width: min(88vw, 390px); }
  .run-orbit--middle { width: min(76vw, 335px); }
  .run-orbit--inner { width: min(64vw, 285px); }

  .run-hero__status {
    right: 3%;
    bottom: 1%;
  }

  .run-flightpath ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .run-flightpath li:last-child {
    grid-column: 1 / -1;
  }

  .run-logbook__rail small {
    display: none;
  }

  .page-hero {
    min-height: 310px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .run-hero__actions,
  .menu-toggle {
    display: none !important;
  }

  body::before,
  body::after,
  .run-hero__backdrop,
  .run-hero__constellation,
  .run-orbit {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .entry-content,
  .entry-summary {
    color: #000;
  }
}
