:root {
  --bg-0: #07141d;
  --bg-1: #0d2431;
  --panel: rgba(12, 22, 29, 0.84);
  --border: rgba(167, 214, 232, 0.16);
  --text: #eaf4f8;
  --muted: #b5cad3;
  --accent: #6ae1ff;
  --accent-2: #ff9f5a;
  --shadow: 0 18px 40px rgba(2, 8, 12, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --content-max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(106, 225, 255, 0.22), transparent 60%),
    radial-gradient(950px 620px at 92% 4%, rgba(255, 159, 90, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 58%, #061118);
  line-height: 1.55;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, #000, transparent 85%);
}

a {
  color: var(--accent);
  text-decoration-color: rgba(106, 225, 255, 0.45);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #b4efff;
}

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

iframe,
embed,
object {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  background: #fff;
  color: #111;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: relative;
  padding: 1rem 1rem 0;
}

.site-header__bar {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(6, 12, 17, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand__badge {
  /* Header logo slot (wider image-style logo, no badge background) */
  width: clamp(7.4rem, 14vw, 10.5rem);
  min-width: 7.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #041118;
  background: transparent;
  box-shadow: none;
}

.brand__badge > img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  display: block;
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand__tag {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
  min-width: 0;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.82rem;
  line-height: 1.15;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-nav__link[aria-current="page"] {
  color: #08141b;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #94fff5);
}

.site-nav__link--new {
  color: #08141b;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-2), #ffd0a8);
}

.site-nav__menu {
  position: relative;
}

.site-nav__menu > summary {
  list-style: none;
  cursor: pointer;
}

.site-nav__menu > summary::-webkit-details-marker {
  display: none;
}

.site-nav__menu > summary::after {
  content: "▾";
  margin-left: 0.45rem;
  font-size: 0.72rem;
  opacity: 0.85;
}

.site-nav__menu[open] > summary::after {
  content: "▴";
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 0.25rem;
  min-width: 16rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 15, 20, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.site-nav__sublink {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-shell {
  max-width: var(--content-max);
  margin: 0.9rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 18, 24, 0.84), rgba(10, 16, 21, 0.9));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.eyebrow__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(106, 225, 255, 0.3);
  color: #d9faff;
  background: rgba(106, 225, 255, 0.08);
  padding: 0.22rem 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow__date {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-title {
  margin: 0.7rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-summary {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 65ch;
}

.hero-panel {
  padding: 0.95rem;
}

body.is-home .hero-shell {
  grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 0.95fr);
  align-items: stretch;
}

body.is-home .hero-copy {
  height: 100%;
}

.hero-panel--ebay {
  padding: 0;
  overflow: hidden;
}

.hero-ebay {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 210, 89, 0.14), transparent 56%),
    radial-gradient(circle at 10% 90%, rgba(255, 89, 179, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.hero-ebay__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  min-width: 0;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 22, 0.72);
}

.hero-ebay__logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: Arial, sans-serif;
}

.hero-ebay__logo-e {
  color: #e53238;
}

.hero-ebay__logo-b {
  color: #0064d2;
}

.hero-ebay__logo-a {
  color: #f5af02;
}

.hero-ebay__logo-y {
  color: #86b817;
}

.hero-ebay__badge-text {
  color: #c6d7de;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-ebay__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.hero-ebay__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.hero-ebay__list {
  margin: 0;
  padding-left: 1rem;
  color: #d8e6ed;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.hero-ebay__list li::marker {
  color: #6ae1ff;
}

.hero-ebay__cta {
  margin-top: 0.15rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #09131b;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd15e, #ff9962);
  box-shadow: 0 8px 26px rgba(255, 153, 98, 0.2);
}

.hero-ebay__cta:hover,
.hero-ebay__cta:focus-visible {
  background: linear-gradient(135deg, #ffe283, #ffb17f);
  transform: translateY(-1px);
}

.hero-ebay__note {
  margin: -0.2rem 0 0;
  font-size: 0.78rem;
  color: #97b2be;
}

.section-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.section-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.section-name {
  color: var(--muted);
}

.section-count {
  min-width: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 159, 90, 0.12);
  border: 1px solid rgba(255, 159, 90, 0.24);
  color: #ffd4b3;
  font-weight: 700;
}

.page-shell {
  padding: 1rem;
}

.content-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 0.9rem;
  align-items: start;
}

.content-card,
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.9), rgba(8, 13, 18, 0.95));
  box-shadow: var(--shadow);
}

.content-card {
  padding: clamp(0.9rem, 2vw, 1.4rem);
  overflow: hidden;
}

.sidebar-card {
  position: sticky;
  top: 0.9rem;
  padding: 0.8rem;
}

.sidebar-card--page-scroll {
  position: static;
  max-height: none;
  overflow: visible;
}

.sidebar-block + .sidebar-block {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-block h2 {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.sidebar-block--support {
  border: 1px solid rgba(106, 225, 255, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(106, 225, 255, 0.1), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  padding: 0.65rem;
}

.sidebar-donate-frame {
  width: 100%;
  max-width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  background: #0c1720;
  overflow: hidden;
}

.sidebar-donate-card {
  border: 1px solid rgba(106, 225, 255, 0.18);
  border-radius: 12px;
  background: rgba(3, 11, 18, 0.65);
  padding: 0.8rem;
}

.sidebar-donate-text {
  margin: 0 0 0.75rem;
  color: #d8edf6;
  line-height: 1.45;
  font-size: 0.95rem;
}

.sidebar-donate-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: #04172a;
  background: linear-gradient(180deg, #66e1ff, #3cccf3);
  border: 1px solid rgba(106, 225, 255, 0.65);
  border-radius: 999px;
  padding: 0.62rem 0.8rem;
  box-shadow: 0 8px 18px rgba(0, 213, 255, 0.2);
}

.sidebar-donate-button:hover,
.sidebar-donate-button:focus-visible {
  background: linear-gradient(180deg, #86ebff, #53d6f8);
  border-color: rgba(150, 240, 255, 0.9);
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.meta-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.meta-list code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  color: #d8fbff;
}

.pill-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pill-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.65rem;
  line-height: 1.25;
}

.pill-link:hover,
.pill-link:focus-visible {
  border-color: rgba(106, 225, 255, 0.25);
  background: rgba(106, 225, 255, 0.06);
}

.all-pages summary {
  cursor: pointer;
  color: var(--muted);
}

.all-pages[open] summary {
  margin-bottom: 0.55rem;
}

.legacy-menu-panels {
  display: grid;
  gap: 0.5rem;
}

.legacy-menu-panel,
.legacy-addons {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.45rem 0.55rem;
}

.legacy-menu-panel summary,
.legacy-addons summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.legacy-menu-panel[open] summary,
.legacy-addons[open] summary {
  margin-bottom: 0.45rem;
}

.sidebar-nav-list {
  display: grid;
  gap: 0.32rem;
}

.sidebar-nav-link {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  color: #dff7ff;
  text-decoration: none;
  line-height: 1.2;
  font-size: 0.86rem;
}

.sidebar-nav-link:hover,
.sidebar-nav-link:focus-visible {
  border-color: rgba(106, 225, 255, 0.22);
  background: rgba(106, 225, 255, 0.07);
}

.legacy-menu-tree ul,
.legacy-menu-tree ol {
  list-style: none;
  padding-left: 0.85rem;
  margin: 0.25rem 0;
}

.legacy-menu-tree > ul {
  padding-left: 0;
}

.legacy-menu-tree li {
  margin: 0.2rem 0;
}

.legacy-menu-tree a {
  color: #dff7ff;
  text-decoration: none;
}

.legacy-menu-tree > ul > li {
  margin: 0.35rem 0;
}

.legacy-menu-tree > ul > li > a {
  /* Tidy archived menu dump into clearer top-level nav cards */
  display: block;
  padding: 0.45rem 0.55rem;
  line-height: 1.2;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.legacy-menu-tree > ul > li > a:hover,
.legacy-menu-tree > ul > li > a:focus-visible {
  border-color: rgba(106, 225, 255, 0.22);
  background: rgba(106, 225, 255, 0.07);
}

.legacy-menu-tree ul ul {
  margin: 0.3rem 0 0.45rem 0.25rem;
  padding: 0.15rem 0 0.15rem 0.6rem;
  border-left: 1px solid rgba(106, 225, 255, 0.16);
}

.legacy-menu-tree ul ul li {
  margin: 0.15rem 0;
}

.legacy-menu-tree ul ul a {
  display: block;
  padding: 0.3rem 0.45rem;
  line-height: 1.2;
  font-size: 0.82rem;
  color: #bfe8f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid transparent;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.legacy-menu-tree ul ul a:hover,
.legacy-menu-tree ul ul a:focus-visible {
  color: #ebfbff;
  border-color: rgba(106, 225, 255, 0.14);
  background: rgba(106, 225, 255, 0.05);
}

.legacy-menu-tree .sub-menu {
  margin-top: 0.25rem;
}

.legacy-menu-tree .menu-item-has-children > a {
  position: relative;
  padding-right: 1.5rem;
}

.legacy-menu-tree .menu-item-has-children > a::after {
  content: "+";
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: #89d8ea;
  font-weight: 700;
  opacity: 0.75;
}

.legacy-menu-tree > ul > li > ul > li > a {
  font-weight: 600;
}

.legacy-menu-tree .menu-item > a[title] {
  cursor: pointer;
}

.legacy-sidebar-widgets > section {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legacy-sidebar-widgets > section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legacy-sidebar-widgets .widget-title {
  margin: 0 0 0.45rem;
}

.legacy-sidebar-widgets iframe {
  background: rgba(255, 255, 255, 0.02);
}

.all-pages__list {
  display: grid;
  gap: 0.35rem;
  max-height: min(60vh, 34rem);
  overflow: auto;
  padding-right: 0.15rem;
}

.all-pages__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
}

.all-pages__item:hover,
.all-pages__item:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
}

.all-pages__item.is-current {
  border-color: rgba(106, 225, 255, 0.25);
  background: rgba(106, 225, 255, 0.08);
}

.all-pages__label {
  font-size: 0.9rem;
  line-height: 1.2;
}

.all-pages__section {
  color: var(--muted);
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.4rem;
}

.legacy-content {
  font-size: 1.02rem;
}

.legacy-content > :first-child {
  margin-top: 0;
}

.legacy-content :where(h1, h2, h3, h4, h5, h6) {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  margin: 1.15em 0 0.5em;
  text-wrap: balance;
}

.legacy-content h1 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.legacy-content h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.legacy-content h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.legacy-content p,
.legacy-content li,
.legacy-content blockquote {
  max-width: 72ch;
  overflow-wrap: anywhere;
}

.legacy-content ul,
.legacy-content ol {
  padding-left: 1.15rem;
}

.legacy-content hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.2rem 0;
}

.legacy-content figure {
  margin: 1rem 0;
}

.legacy-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.legacy-content table th,
.legacy-content table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.55rem;
  vertical-align: top;
}

.legacy-content table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.legacy-content iframe {
  width: 100%;
  max-width: 100% !important;
  min-height: 20rem;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

/* ARVE (video embed plugin) fallback styles for exported WP content */
.legacy-content [id^="arve-iframe"] {
  margin: 1rem 0;
}

.legacy-content [id^="arve-iframe"] .arve-inner {
  width: 100%;
}

.legacy-content [id^="arve-iframe"] .arve-embed {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #05090d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.legacy-content [id^="arve-iframe"] .arve-ar {
  display: block;
  width: 100%;
}

.legacy-content [id^="arve-iframe"] .arve-embed > iframe,
.legacy-content [id^="arve-iframe"] .arve-embed > .arve-iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #05090d;
}

.legacy-content center {
  display: block;
  text-align: center;
}

.legacy-content pre,
.legacy-content code {
  overflow-wrap: anywhere;
}

.legacy-content pre {
  overflow: auto;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.legacy-content [style*="width"] {
  max-width: 100% !important;
}

.legacy-content [style*="position:fixed"] {
  position: static !important;
}

.legacy-content .alignright,
.legacy-content .alignleft {
  float: none !important;
  margin: 1rem 0 !important;
}

.legacy-content .wp-block-image img,
.legacy-content .wp-caption,
.legacy-content .wp-caption img {
  max-width: 100% !important;
}

/* Homepage content cards: keep text readable and images smaller on the right */
body.is-home .legacy-content .wp-block-media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 31%, 320px) !important;
  grid-template-areas: "content media";
  gap: 0.9rem 1rem;
  align-items: start;
  margin: 0.75rem 0 1rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
}

body.is-home .legacy-content .wp-block-media-text__media {
  grid-area: media;
  margin: 0;
  align-self: start;
}

body.is-home .legacy-content .wp-block-media-text__media > a {
  display: block;
}

body.is-home .legacy-content .wp-block-media-text__content {
  grid-area: content;
  min-width: 0;
  padding: 0 !important;
}

body.is-home .legacy-content .wp-block-media-text__content > :first-child,
body.is-home .legacy-content .wp-block-media-text__content .wp-block-heading {
  margin-top: 0;
}

body.is-home .legacy-content .wp-block-media-text__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 17, 0.9);
}

body.is-home .legacy-content .home-live-dashboard {
  border-color: rgba(248, 189, 63, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(248, 189, 63, 0.05));
}

body.is-home .legacy-content .home-live-dashboard .wp-block-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.legacy-content .home-live-dashboard__badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 189, 63, 0.45);
  background: rgba(248, 189, 63, 0.12);
  color: #f6d98d;
  font-size: 0.64em;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.legacy-content .home-live-dashboard__summary {
  color: rgba(255, 255, 255, 0.82);
}

.legacy-content .home-live-dashboard__button {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 189, 63, 0.42);
  background: rgba(248, 189, 63, 0.1);
  color: #fff3cf !important;
  font-weight: 700;
  text-decoration: none;
}

.legacy-content .home-live-dashboard__button:hover,
.legacy-content .home-live-dashboard__button:focus-visible {
  background: rgba(248, 189, 63, 0.18);
  color: #ffffff !important;
}

body.is-home .legacy-content hr.wp-block-separator {
  margin: 0.8rem 0;
}

.legacy-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.85rem 0 1.25rem;
  max-width: 100%;
}

.legacy-content .wp-block-button {
  margin: 0;
}

.legacy-content .wp-block-button__link,
.legacy-content a.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(106, 225, 255, 0.22);
  background: linear-gradient(180deg, rgba(106, 225, 255, 0.12), rgba(106, 225, 255, 0.06));
  color: #e8fbff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 22px rgba(2, 10, 15, 0.22);
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.legacy-content .wp-block-button__link:hover,
.legacy-content .wp-block-button__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(106, 225, 255, 0.42);
  background: linear-gradient(180deg, rgba(106, 225, 255, 0.2), rgba(106, 225, 255, 0.09));
  box-shadow: 0 12px 28px rgba(2, 10, 15, 0.28);
}

.legacy-content .wp-block-button__link:active {
  transform: translateY(0);
}

.legacy-content .social-button--facebook {
  border-color: rgba(24, 119, 242, 0.48);
  background: linear-gradient(180deg, rgba(24, 119, 242, 0.92), rgba(24, 119, 242, 0.76));
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.22);
}

.legacy-content .social-button--facebook::before {
  content: "f";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.legacy-content .social-button--facebook:hover,
.legacy-content .social-button--facebook:focus-visible {
  border-color: rgba(125, 182, 255, 0.75);
  background: linear-gradient(180deg, rgba(40, 129, 243, 0.98), rgba(24, 119, 242, 0.84));
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.28);
}

.legacy-content .info-links-panel {
  margin: 0.4rem 0 1rem;
  padding: 1rem 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
}

.legacy-content .info-links-panel > .wp-block-heading {
  margin-bottom: 0.8rem;
}

.legacy-content .info-links-panel__intro {
  margin: 0 0 0.95rem;
  text-align: center;
  color: rgba(234, 244, 248, 0.82);
}

.legacy-content .info-links-panel__buttons {
  justify-content: center;
  gap: 0.7rem;
  margin: 0;
}

.legacy-content .info-links-panel__buttons .wp-block-button {
  flex: 1 1 16rem;
}

.legacy-content .info-links-panel__buttons .wp-block-button__link {
  width: 100%;
}

.legacy-content form[action*="paypal.com/donate"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.legacy-content form[action*="paypal.com/donate"] input[type="image"] {
  display: block;
  max-width: min(100%, 17rem);
  height: auto;
  border-radius: 999px;
}

.legacy-content .embed-placeholder {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed rgba(106, 225, 255, 0.28);
  border-radius: 12px;
  background: rgba(106, 225, 255, 0.05);
  color: var(--muted);
}

.legacy-content .network-map-card {
  margin: 0.5rem 0 1rem;
  border: 1px solid rgba(106, 225, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.legacy-content .network-map-card--interactive {
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.95), rgba(6, 12, 18, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.legacy-content .repeater-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.legacy-content .repeater-map-filters__title {
  margin-right: 0.2rem;
  color: #b7d6e3;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legacy-content .repeater-map-filters__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 18, 0.72);
  color: #eaf7fb;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.legacy-content .repeater-map-filters__item input {
  margin: 0;
  accent-color: #00d5ff;
}

.legacy-content .repeater-map-filters__action {
  margin-left: auto;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 213, 255, 0.28);
  background: rgba(0, 213, 255, 0.1);
  color: #dffbff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.legacy-content .repeater-map-filters__action:hover {
  background: rgba(0, 213, 255, 0.16);
  border-color: rgba(0, 213, 255, 0.42);
}

.legacy-content .repeater-map-filters__action[aria-pressed="true"] {
  background: rgba(255, 179, 107, 0.12);
  border-color: rgba(255, 179, 107, 0.35);
  color: #ffe6c9;
}

.legacy-content .repeater-map-filters__swatch {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.legacy-content .repeater-map-filters__swatch--repeaters {
  background: #ffb36b;
}

.legacy-content .repeater-map-filters__swatch--simplex {
  background: #67f3ff;
}

.legacy-content .repeater-map-filters__swatch--aprs {
  background: #8df76f;
}

.legacy-content .repeater-map-filters__swatch--packet {
  background: #d09bff;
}

.legacy-content .network-map-leaflet,
.legacy-content .network-map-leaflet.leaflet-container {
  width: 100%;
  height: clamp(360px, 58vw, 620px);
  background: #071018;
}

.legacy-content .network-map-leaflet .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: "Source Sans 3", sans-serif;
  background: #071018;
}

.legacy-content .network-map-leaflet.leaflet-container {
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  background: #071018;
}

.legacy-content .network-map-leaflet .leaflet-control-zoom a {
  background: rgba(8, 14, 20, 0.92);
  color: #d9faff;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.legacy-content .network-map-leaflet .leaflet-control-zoom a:hover {
  background: rgba(12, 20, 28, 0.96);
  color: #ffffff;
}

.legacy-content .network-map-leaflet .leaflet-control-attribution {
  background: rgba(6, 10, 14, 0.82);
  color: #a9c3cf;
}

.legacy-content .network-map-leaflet .leaflet-control-attribution a {
  color: #8feeff;
}

.legacy-content .network-map-leaflet .repeater-map-tooltip {
  background: rgba(7, 12, 18, 0.94);
  color: #eefaff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.15rem 0.45rem;
}

.legacy-content .network-map-leaflet .repeater-map-tooltip:before {
  border-top-color: rgba(7, 12, 18, 0.94);
}

.legacy-content .network-map-leaflet .leaflet-popup-content-wrapper,
.legacy-content .network-map-leaflet .leaflet-popup-tip {
  background: rgba(7, 12, 18, 0.96);
  color: #ecf7fb;
}

.legacy-content .network-map-leaflet .leaflet-popup-content-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.legacy-content .network-map-leaflet .leaflet-popup-content {
  margin: 0.6rem 0.7rem;
  line-height: 1.25;
}

.legacy-content .network-map-leaflet .leaflet-popup-close-button {
  color: #cceef7;
}

.legacy-content .repeater-map-popup__title {
  font-weight: 700;
  color: #ffffff;
}

.legacy-content .repeater-map-popup__label {
  margin-top: 0.2rem;
  color: #bfe5f1;
  font-weight: 600;
}

.legacy-content .repeater-map-popup__coords {
  margin-top: 0.25rem;
  color: #93b7c5;
  font-size: 0.78rem;
}

.legacy-content .network-map-fallback-note {
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.legacy-content .network-map-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #061219;
}

.legacy-content .network-map-card figcaption {
  padding: 0.65rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
}

.legacy-content .custom-info-card {
  margin: 0.8rem 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(106, 225, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.legacy-content .custom-info-card h2,
.legacy-content .custom-info-card h3 {
  margin-top: 0;
}

.legacy-content .custom-info-card blockquote {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid rgba(0, 213, 255, 0.45);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
}

.legacy-content .custom-info-card blockquote p:last-child {
  margin-bottom: 0;
}

body.is-home .legacy-content .home-support-section {
  margin: 0.8rem 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(106, 225, 255, 0.18);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 159, 90, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

body.is-home .legacy-content .home-support-section > p {
  margin-top: 0.6rem;
}

body.is-home .legacy-content .home-support-section > p:first-child,
body.is-home .legacy-content .home-support-section > p > strong:first-child {
  margin-top: 0;
}

body.is-home .legacy-content .home-support-section > p strong {
  color: #f2fbff;
}

body.is-home .legacy-content .home-support-section ul {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1rem;
}

body.is-home .legacy-content .home-support-section li {
  margin: 0.2rem 0;
}

body.is-home .legacy-content .home-support-section a {
  color: #8feeff;
}

body.is-home .legacy-content .home-support-section {
  display: grid;
  gap: 0.9rem;
}

body.is-home .legacy-content .home-support-block {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

body.is-home .legacy-content .home-support-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.2;
  color: #f4fbff;
}

body.is-home .legacy-content .home-support-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

body.is-home .legacy-content .home-support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(106, 225, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(106, 225, 255, 0.12), rgba(106, 225, 255, 0.06)),
    rgba(5, 12, 17, 0.5);
  color: #e9fbff;
  font-size: 0.9rem;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}

body.is-home .legacy-content .home-support-chip--primary {
  border-color: rgba(255, 180, 110, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 180, 110, 0.16), rgba(255, 180, 110, 0.08)),
    rgba(20, 12, 7, 0.44);
  color: #fff2e1;
  font-weight: 600;
}

body.is-home .legacy-content .home-support-chip:not(span):hover {
  border-color: rgba(106, 225, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(106, 225, 255, 0.18), rgba(106, 225, 255, 0.08)),
    rgba(5, 12, 17, 0.56);
}

body.is-home .legacy-content .home-community-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

body.is-home .legacy-content .home-community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(106, 225, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(106, 225, 255, 0.12), rgba(106, 225, 255, 0.06)),
    rgba(5, 12, 17, 0.5);
  color: #e9fbff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.15;
}

body.is-home .legacy-content .home-community-button:hover {
  border-color: rgba(106, 225, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(106, 225, 255, 0.18), rgba(106, 225, 255, 0.08)),
    rgba(5, 12, 17, 0.56);
}

body.is-home .legacy-content .home-community-button:focus-visible {
  outline: 2px solid rgba(106, 225, 255, 0.75);
  outline-offset: 2px;
}

body.is-home .legacy-content .home-support-note {
  margin: 0;
  color: rgba(236, 246, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  body.is-home .legacy-content .home-support-chips,
  body.is-home .legacy-content .home-community-buttons {
    grid-template-columns: 1fr;
  }
}

.legacy-content .network-map-card figcaption strong {
  color: var(--text);
}

.legacy-content .embed-placeholder strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.legacy-content .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.legacy-content .table-scroll table {
  min-width: 34rem;
}

.legacy-content .embed-frame {
  position: relative;
  margin: 0.75rem 0;
}

.legacy-content .embed-frame > iframe {
  display: block;
}

.legacy-content .embed-frame--map {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(5, 9, 13, 0.9);
}

.legacy-content .embed-frame--map > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.allstar-live-widget {
  margin: 1rem 0 1.2rem;
  padding: 0.85rem;
  border: 1px solid rgba(106, 225, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(420px 180px at 15% -10%, rgba(106, 225, 255, 0.12), transparent 70%),
    rgba(5, 10, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.allstar-live-widget__header {
  margin: 0 0 0.7rem;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.allstar-live-widget__big-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.allstar-live-widget__big-item {
  text-align: center;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  min-height: 4.9rem;
  display: grid;
  align-content: center;
  justify-items: center;
}

.allstar-live-widget__value {
  font-size: 1.1rem;
  line-height: 1.1;
  color: #36d866;
  font-weight: 700;
}

.allstar-live-widget__label {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.allstar-live-widget__big-item.is-active {
  background: rgba(220, 53, 69, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  animation: allstar-live-widget-pulse 1s infinite;
}

.allstar-live-widget__big-item.is-active .allstar-live-widget__value,
.allstar-live-widget__big-item.is-active .allstar-live-widget__label {
  color: #fff;
}

.allstar-live-widget__on-air {
  display: none;
  margin-top: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.allstar-live-widget__big-item.is-active .allstar-live-widget__on-air {
  display: block;
}

.allstar-live-widget__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.allstar-live-widget__col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.45rem;
}

.allstar-live-widget__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.allstar-live-widget__table td {
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  vertical-align: top;
}

.allstar-live-widget__table td:first-child {
  width: 45%;
  font-weight: 700;
}

.allstar-live-widget__table td:last-child {
  width: 55%;
}

.allstar-live-widget__status {
  margin-top: 0.7rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.allstar-live-widget__status.is-ok {
  background: #28a745;
}

.allstar-live-widget__status.is-bad {
  background: #dc3545;
}

.allstar-live-widget__status.is-warn {
  background: #946200;
}

.allstar-live-widget__error {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
  color: #ffd6d6;
  text-align: center;
}

@keyframes allstar-live-widget-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer a {
  color: #8feeff;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  body.is-home .hero-shell {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.75rem 0.75rem 0;
  }

  .site-header__bar {
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  body[data-nav-open="true"] .site-nav {
    display: flex;
  }

  .site-nav__link {
    min-height: 2rem;
    padding: 0 0.7rem;
  }

  .site-nav__menu {
    width: 100%;
  }

  .site-nav__menu > summary {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .hero-copy,
  .hero-panel,
  .content-card,
  .sidebar-card {
    border-radius: 16px;
  }

  .hero-ebay {
    padding: 0.85rem;
    gap: 0.65rem;
  }

  .hero-ebay__title {
    font-size: 1.08rem;
  }

  .hero-ebay__list {
    gap: 0.25rem;
    font-size: 0.86rem;
  }

  .page-shell {
    padding: 0.75rem;
  }

  .hero-summary {
    font-size: 0.97rem;
  }

  .legacy-content {
    font-size: 0.98rem;
  }

  .legacy-content iframe {
    min-height: 16rem;
  }

  body.is-home .legacy-content .wp-block-media-text {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "media"
      "content";
    gap: 0.7rem;
    padding: 0.75rem;
  }

  body.is-home .legacy-content .wp-block-media-text__media img {
    max-height: 240px;
  }

  .legacy-content .network-map-leaflet {
    height: 56vw;
    min-height: 300px;
    max-height: 430px;
  }

  .legacy-content .repeater-map-filters {
    gap: 0.45rem;
    padding: 0.55rem 0.6rem;
  }

  .legacy-content .repeater-map-filters__title {
    width: 100%;
    margin-right: 0;
  }

  .legacy-content .repeater-map-filters__item {
    font-size: 0.76rem;
    padding: 0.24rem 0.45rem;
  }

  .legacy-content .repeater-map-filters__action {
    margin-left: 0;
    font-size: 0.74rem;
    padding: 0.26rem 0.55rem;
  }

  .allstar-live-widget {
    padding: 0.75rem;
  }

  .allstar-live-widget__big-grid {
    grid-template-columns: 1fr;
  }

  .allstar-live-widget__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand__tag {
    display: none;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .all-pages__item {
    grid-template-columns: 1fr;
  }

  .all-pages__section {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .allstar-live-widget__big-item.is-active {
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}
