/*
Theme Name: Plärrdeifl Fanclub
Theme URI: https://plaerrdeifl.de/
Author: Schweinfurter Plärrdeifl
Author URI: https://plaerrdeifl.de/
Description: Individuelles WordPress-Theme im blau-dunklen Fanclub-Design der Schweinfurter Plärrdeifl. Enthält eine im Customizer bearbeitbare Startseiten-Gestaltung inklusive responsiver Schriftgrößen, dynamische Spielberichte, normale WordPress-Seiten und eine mobile Seitennavigation.
Version: 1.4.8
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: plaerrdeifl-fanclub
Tags: custom-logo, custom-menu, featured-images, one-column, blog, accessibility-ready
License: Proprietary
*/

:root {
  --navy-top: #123f68;
  --navy-top-dark: #0c3458;
  --drawer-top: #08385f;
  --drawer-bottom: #001a2e;
  --nav-blue: #208df2;
  --nav-blue-light: #2b9bff;
  --drawer-text: #b9cee1;
  --blue-dark: #071426;
  --blue: #0b5fb3;
  --blue-soft: #1b3658;
  --accent: #208df2;
  --accent-light: #49adff;
  --white: #ffffff;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --surface: rgba(8, 48, 81, 0.72);
  --surface-strong: rgba(32, 141, 242, 0.17);
  --border: rgba(179, 217, 245, 0.20);
  --success: #86efac;
  --error: #fecaca;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --topbar-height: 84px;
  --site-content-max-width-desktop: 1480px;
  --site-content-side-gap-desktop: 32px;
  --site-content-side-gap-mobile: 9px;
  --site-content-max-width: var(--site-content-max-width-desktop);
  --site-content-side-gap: var(--site-content-side-gap-desktop);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #061120;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, rgba(32, 141, 242, 0.23), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(32, 141, 242, 0.34), transparent 38%),
    linear-gradient(145deg, #031426 0%, #073152 52%, #0b426d 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
  :root {
    --site-content-max-width: 100%;
    --site-content-side-gap: var(--site-content-side-gap-mobile);
  }
}

@media (min-width: 641px) {
  body.plaerrdeifl-layout-full-width-desktop {
    --site-content-max-width: 100vw;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.nav-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body:has(.nav-toggle:checked) {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

/* Public portal top bar */
.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height:
    calc(var(--topbar-height) + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding:
    calc(12px + env(safe-area-inset-top))
    clamp(18px, 4vw, 42px)
    12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  background:
    linear-gradient(100deg, var(--navy-top-dark), var(--navy-top));
  box-shadow: 0 12px 32px rgba(0, 10, 22, 0.24);
}

.topbar-left,
.topbar-brand {
  display: flex;
  align-items: center;
}

.topbar-left {
  min-width: 0;
  gap: 17px;
}


.menu-button {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(255,255,255,0.10);
  outline: none;
}

.menu-lines {
  width: 29px;
  display: grid;
  gap: 6px;
}

.menu-lines i {
  width: 100%;
  height: 4px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.topbar-brand {
  min-width: 0;
  gap: 13px;
  color: #ffffff;
  text-decoration: none;
}

.topbar-logo-shell {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 20%, rgba(33, 137, 232, 0.35), transparent 46%),
    linear-gradient(155deg, #124873, #052746);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    0 8px 18px rgba(0,0,0,0.18);
}

.topbar-logo-shell img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.topbar-brand strong {
  overflow: hidden;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 820;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}




/* Backdrop and public navigation drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  background: rgba(7, 20, 35, 0.56);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.public-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: min(79vw, 390px);
  min-width: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #ffffff;
  background:
    radial-gradient(circle at 13% 15%, rgba(28, 133, 222, 0.17), transparent 30%),
    linear-gradient(180deg, var(--drawer-top), var(--drawer-bottom) 70%);
  box-shadow: 22px 0 52px rgba(0, 8, 18, 0.34);
  transform: translateX(-104%);
  transition: transform 190ms ease;
}

.nav-toggle:checked ~ .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-toggle:checked ~ .public-drawer {
  transform: translateX(0);
}

.drawer-inner {
  min-height: 100%;
  padding:
    calc(25px + env(safe-area-inset-top))
    27px
    calc(30px + env(safe-area-inset-bottom));
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.drawer-header strong {
  color: #d7e7f5;
  font-size: 0.91rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-close {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,0.20);
  border-radius: 17px;
  color: #ffffff;
  background: rgba(255,255,255,0.09);
  cursor: pointer;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  background: rgba(255,255,255,0.16);
  outline: none;
}

.drawer-close svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
}

.drawer-brand {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 21px;
  align-items: center;
  margin: 25px 0 27px;
  padding: 0 8px;
}

.drawer-logo-shell {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}

.drawer-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-wordmark strong,
.drawer-wordmark span {
  display: block;
}

.drawer-wordmark strong {
  color: var(--nav-blue);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 820;
  line-height: 1;
}

.drawer-wordmark span {
  margin-top: 9px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-navigation {
  display: grid;
  gap: 7px;
}

.public-navigation a {
  min-height: 67px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 11px 17px;
  border-radius: 17px;
  color: var(--drawer-text);
  font-size: 1.08rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.public-navigation a:hover,
.public-navigation a:focus-visible {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  outline: none;
  transform: translateX(2px);
}

.public-navigation a.active {
  color: #ffffff;
  background: linear-gradient(100deg, var(--nav-blue), #2289e8);
  box-shadow: 0 10px 26px rgba(0, 120, 235, 0.20);
}

.public-navigation svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-navigation .nav-spacer {
  height: 6px;
}

/* Original homepage design */
.page-shell {
  position: relative;
  width: min(var(--site-content-max-width), calc(100% - var(--site-content-side-gap) - var(--site-content-side-gap)));
  margin: 0 auto;
  padding: 28px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero,
.form-card,
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 54px);
}

.hero::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -28%;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 141, 242, 0.25), transparent 68%);
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(100%, 390px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.hero-message {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #bfe2ff;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.hero-message h1,
.hero-message h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-message p {
  max-width: 610px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.info-chip {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(32,141,242,0.075);
}

.info-chip strong,
.info-chip span {
  display: block;
}

.info-chip strong {
  margin-bottom: 4px;
  font-size: 0.93rem;
}

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

.form-card {
  padding: clamp(24px, 4vw, 38px);
  scroll-margin-top:
    calc(var(--topbar-height) + env(safe-area-inset-top) + 18px);
}

.form-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.form-intro {
  margin: 12px 0 24px;
  color: var(--muted);
}

.event-note {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  padding: 15px;
  border: 1px solid rgba(32, 141, 242, 0.36);
  border-radius: 16px;
  background: rgba(32, 141, 242, 0.12);
}

.event-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  font-size: 1.3rem;
}

.event-note strong,
.event-note span {
  display: block;
}

.event-note span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(1, 24, 43, 0.76);
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

input::placeholder {
  color: #8fa0b6;
}

input:focus,
select:focus {
  border-color: rgba(32, 141, 242, 0.95);
  box-shadow: 0 0 0 4px rgba(32, 141, 242, 0.16);
  transform: translateY(-1px);
}

select option {
  color: #111827;
}

.privacy {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.82rem;
}

.privacy input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.submit-button {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0872cf, var(--accent-light));
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(32, 141, 242, 0.28);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(32, 141, 242, 0.38);
  filter: brightness(1.04);
  outline: none;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

.demo-tools {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.demo-tools p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.secondary-button {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(32,141,242,0.09);
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}

.legal-heading {
  margin-bottom: 20px;
}

.legal-heading .eyebrow {
  margin-bottom: 9px;
}

.legal-heading h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-heading p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-card {
  padding: clamp(25px, 5vw, 50px);
}

.legal-card section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.legal-card section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-card h2 {
  margin: 0 0 11px;
  font-size: 1.18rem;
}

.legal-card h3 {
  margin: 19px 0 8px;
  font-size: 1rem;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 8px;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 21px;
}

.legal-card li + li {
  margin-top: 5px;
}

.legal-card address {
  font-style: normal;
}

.legal-card a {
  color: #b9dcff;
}

.legal-muted {
  color: var(--muted);
}

.legal-warning {
  padding: 15px 16px;
  border: 1px solid rgba(32, 141, 242, 0.36);
  border-radius: 15px;
  color: #d8eeff;
  background: rgba(32, 141, 242, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 4px 4px;
  color: #9fb0c4;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

  .hero {
    min-height: auto;
  }

  .hero-logo {
    width: min(100%, 360px);
  }
}

@media (max-width: 640px) {
  :root {
    --topbar-height: 72px;
  }

  .portal-topbar {
    gap: 10px;
    padding:
      calc(9px + env(safe-area-inset-top))
      13px
      9px;
  }

  .topbar-left {
    gap: 8px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .menu-lines {
    width: 25px;
    gap: 5px;
  }

  .menu-lines i {
    height: 3px;
  }

  .topbar-logo-shell {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .topbar-logo-shell img {
    width: 37px;
    height: 37px;
  }

  .topbar-brand {
    gap: 9px;
  }

  .topbar-brand strong {
    max-width: 128px;
    font-size: 1rem;
  }

  .public-drawer {
    width: min(79vw, 360px);
    min-width: 286px;
  }

  .drawer-inner {
    padding:
      calc(22px + env(safe-area-inset-top))
      21px
      calc(28px + env(safe-area-inset-bottom));
  }

  .drawer-close {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .drawer-brand {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 17px;
    margin: 23px 0 25px;
    padding: 0 5px;
  }

  .drawer-logo-shell {
    width: 70px;
    height: 70px;
    border-radius: 21px;
  }

  .drawer-logo-shell img {
    width: 62px;
    height: 62px;
  }

  .drawer-wordmark strong {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .drawer-wordmark span {
    font-size: 0.81rem;
  }

  .public-navigation a {
    min-height: 61px;
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 11px;
    padding: 9px 14px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .public-navigation svg {
    width: 26px;
    height: 26px;
  }

  .page-shell {
    width: min(var(--site-content-max-width), calc(100% - var(--site-content-side-gap) - var(--site-content-side-gap)));
    padding-top: 18px;
  }

  .hero {
    padding: 24px 18px 22px;
  }

  .hero-logo {
    width: min(100%, 300px);
  }

  .hero-message {
    margin-top: 18px;
  }

  .hero-message h1,
  .hero-message h2 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .form-card,
  .legal-card {
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .topbar-brand strong {
    max-width: 102px;
  }
}

@supports not (overflow: clip) {
  @media (max-width: 720px) {
    html,
    body {
      overflow-x: hidden;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.sommerfest-page {
  width: min(680px, 100%);
  margin: 0 auto;
}

.sommerfest-page .form-card {
  width: 100%;
}



/* =========================================================
   Fanclub-Design 2026 – angelehnt an die neue Flyer-Sprache
   ========================================================= */
:root {
  --fc-ink: #001426;
  --fc-ink-2: #04243f;
  --fc-panel: rgba(3, 36, 65, 0.92);
  --fc-panel-2: rgba(2, 24, 45, 0.96);
  --fc-blue: #118eea;
  --fc-blue-bright: #29b6ff;
  --fc-blue-pale: #9bdcff;
  --fc-line: rgba(145, 211, 255, 0.54);
  --fc-line-soft: rgba(145, 211, 255, 0.19);
  --fc-signal: #ff315f;
}

html {
  background: var(--fc-ink);
}

body {
  color: #ffffff;
  background:
    linear-gradient(117deg, transparent 0 11%, rgba(18, 142, 234, 0.18) 11% 16%, transparent 16% 100%),
    linear-gradient(297deg, transparent 0 73%, rgba(18, 142, 234, 0.16) 73% 81%, transparent 81% 100%),
    radial-gradient(circle at 88% 11%, rgba(41, 182, 255, 0.17), transparent 34%),
    linear-gradient(150deg, #00101f 0%, #032642 47%, #064a78 100%);
}

body::before {
  opacity: 0.34;
  background-image:
    repeating-linear-gradient(
      104deg,
      rgba(129, 203, 250, 0.08) 0,
      rgba(129, 203, 250, 0.08) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(rgba(102, 183, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 183, 235, 0.04) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, black 0 86%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10vw -22vh auto;
  width: 58vw;
  height: 58vw;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(117, 204, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(117, 204, 255, 0.022),
    0 0 0 74px rgba(117, 204, 255, 0.018);
}

/* Kopfzeile */
.portal-topbar {
  min-height: calc(78px + env(safe-area-inset-top));
  padding:
    calc(11px + env(safe-area-inset-top))
    clamp(18px, 4vw, 44px)
    11px;
  border-bottom: 1px solid rgba(135, 209, 255, 0.28);
  background:
    linear-gradient(115deg, rgba(12, 129, 210, 0.52) 0 10%, transparent 10% 100%),
    linear-gradient(100deg, #02233f, #073f68 72%, #052b49);
  box-shadow:
    0 15px 42px rgba(0, 7, 17, 0.42),
    inset 0 -1px 0 rgba(130, 208, 255, 0.11);
}

.portal-topbar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(34vw, 360px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--fc-blue-bright));
}

.menu-button {
  border: 1px solid transparent;
  border-radius: 7px;
}

.menu-button:hover,
.menu-button:focus-visible {
  border-color: rgba(143, 214, 255, 0.31);
  background: rgba(32, 153, 232, 0.12);
}

.menu-lines {
  gap: 5px;
}

.menu-lines i {
  height: 3px;
  border-radius: 2px;
}

.menu-lines i:nth-child(1) { width: 100%; }
.menu-lines i:nth-child(2) { width: 78%; }
.menu-lines i:nth-child(3) { width: 90%; }

.topbar-logo-shell {
  border: 1px solid rgba(139, 211, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, #073d66, #031b31);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 10px 22px rgba(0,0,0,0.24);
}

.topbar-brand strong {
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* Seitennavigation */
.public-drawer {
  width: min(82vw, 390px);
  background:
    linear-gradient(153deg, rgba(18, 142, 234, 0.24) 0 14%, transparent 14% 100%),
    repeating-linear-gradient(
      104deg,
      rgba(125, 200, 247, 0.055) 0,
      rgba(125, 200, 247, 0.055) 1px,
      transparent 1px,
      transparent 17px
    ),
    linear-gradient(180deg, #04365c 0%, #001629 74%);
  border-right: 1px solid rgba(129, 205, 251, 0.28);
}

.drawer-header strong {
  font-size: 0.79rem;
  letter-spacing: 0.17em;
}

.drawer-close {
  border-radius: 7px;
  border-color: rgba(149, 215, 255, 0.31);
}

.drawer-brand {
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(139, 211, 255, 0.17);
}

.drawer-brand::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -2px;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--fc-blue-bright), transparent);
}

.drawer-logo-shell {
  border: 0;
  border-radius: 0;
}

.drawer-wordmark strong {
  color: var(--fc-blue-bright);
  font-weight: 920;
  text-transform: uppercase;
}

.drawer-wordmark span {
  color: #dcefff;
  letter-spacing: 0.16em;
}

.public-navigation {
  gap: 10px;
  margin-top: 22px;
}

.public-navigation a {
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #b7d1e5;
}

.public-navigation a:hover,
.public-navigation a:focus-visible {
  border-color: rgba(130, 205, 251, 0.20);
  background: rgba(25, 138, 213, 0.10);
}

.public-navigation a.active {
  position: relative;
  color: #fff;
  border-color: rgba(159, 224, 255, 0.52);
  background:
    linear-gradient(100deg, #075594 0%, #159ff4 86%, #26b8ff 100%);
  box-shadow:
    0 10px 28px rgba(0, 111, 188, 0.27),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.public-navigation a.active::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  border-top: 14px solid var(--fc-ink);
  border-left: 14px solid transparent;
}

/* Inhalt */
.page-shell {
  width: min(var(--site-content-max-width), calc(100% - var(--site-content-side-gap) - var(--site-content-side-gap)));
  padding-top: clamp(24px, 5vw, 52px);
}

.hero,
.form-card,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fc-line);
  border-radius: 8px;
  background:
    linear-gradient(168deg, rgba(14, 110, 177, 0.20) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(
      103deg,
      rgba(143, 211, 251, 0.052) 0,
      rgba(143, 211, 251, 0.052) 1px,
      transparent 1px,
      transparent 20px
    ),
    linear-gradient(148deg, var(--fc-panel), var(--fc-panel-2));
  box-shadow:
    0 26px 62px rgba(0, 6, 15, 0.42),
    inset 0 0 0 1px rgba(255,255,255,0.018);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero::before,
.form-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 38%;
  height: 7px;
  background: linear-gradient(90deg, var(--fc-blue-bright), #0661a8);
}

.hero::after,
.form-card::after,
.legal-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(126, 205, 255, 0.10);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(126, 205, 255, 0.028),
    0 0 0 62px rgba(126, 205, 255, 0.018);
}

.hero > *,
.form-card > *,
.legal-card > * {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: min(720px, calc(100dvh - 160px));
  padding: clamp(31px, 5vw, 58px);
}

.hero-logo-wrap {
  display: grid;
  align-content: start;
}

.hero-logo {
  width: min(42vw, 285px);
  margin: 0 auto clamp(26px, 5vw, 50px);
  filter:
    drop-shadow(0 20px 28px rgba(0,0,0,0.42))
    drop-shadow(0 0 23px rgba(24, 155, 239, 0.13));
}

.hero-message {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.hero-message::before {
  content: "01";
  display: block;
  margin-bottom: 8px;
  color: var(--fc-signal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: block;
  margin: 0 0 11px;
  color: var(--fc-blue-pale);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  display: none;
}

.hero-message h1,
.hero-message h2,
.legal-heading h1,
.form-card h2 {
  color: #ffffff;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.hero-message h1,
.hero-message h2 {
  max-width: 860px;
  font-size: clamp(2.5rem, 7.4vw, 6.4rem);
  line-height: 0.87;
  text-wrap: balance;
}

.hero-message p {
  max-width: 710px;
  margin: 24px 0 0;
  color: #c1d5e5;
  font-size: clamp(1rem, 2.1vw, 1.24rem);
}

.hero-message p::before {
  content: "";
  display: block;
  width: min(340px, 62vw);
  height: 4px;
  margin-bottom: 21px;
  background:
    linear-gradient(
      90deg,
      var(--fc-blue-bright) 0 61%,
      transparent 61% 64%,
      rgba(144, 211, 250, 0.52) 64% 100%
    );
}

.hero-bottom {
  gap: 14px;
  margin-top: clamp(42px, 7vw, 76px);
}

.info-chip {
  position: relative;
  min-height: 102px;
  padding: 19px 18px 17px;
  overflow: hidden;
  border: 1px solid rgba(145, 211, 255, 0.42);
  border-radius: 7px;
  background:
    linear-gradient(130deg, rgba(21, 139, 215, 0.13), transparent 55%),
    rgba(0, 20, 39, 0.69);
}

.info-chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 3px;
  background: var(--fc-blue-bright);
}

.info-chip:nth-child(2)::before {
  background: rgba(151, 216, 255, 0.72);
}

.info-chip:nth-child(3)::before {
  background: var(--fc-signal);
}

.info-chip strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.info-chip span {
  color: #a9c0d2;
  font-size: 0.82rem;
}

/* Sommerfest */
.sommerfest-page {
  width: min(760px, 100%);
}

.legal-heading {
  position: relative;
  margin-bottom: 25px;
  padding-left: 21px;
}

.legal-heading::before {
  content: "";
  position: absolute;
  inset: 4px auto 0 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--fc-blue-bright), transparent);
}

.legal-heading h1 {
  max-width: 960px;
  font-size: clamp(2.3rem, 7vw, 5.7rem);
  line-height: 0.88;
}

.legal-heading p {
  color: #b4cadb;
}

.form-card {
  padding: clamp(26px, 5vw, 46px);
}

.form-card::before {
  width: 54%;
}

.event-note {
  grid-template-columns: 54px 1fr;
  margin-bottom: 30px;
  border: 1px solid rgba(139, 211, 255, 0.42);
  border-radius: 7px;
  background:
    linear-gradient(110deg, rgba(20, 143, 225, 0.18), transparent 65%),
    rgba(0, 22, 42, 0.74);
}

.event-note::before {
  content: "01";
  position: absolute;
  right: 16px;
  top: 13px;
  color: var(--fc-signal);
  font-size: 0.72rem;
  font-weight: 950;
}

.event-icon {
  border: 1px solid rgba(147, 217, 255, 0.29);
  border-radius: 7px;
  background: rgba(21, 141, 218, 0.13);
}

.form-card h2 {
  font-size: clamp(1.8rem, 5vw, 3.3rem);
  line-height: 0.95;
}

.form-intro {
  color: #b8cddd;
}

label {
  color: #d8ebf8;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select {
  min-height: 52px;
  border: 1px solid rgba(147, 216, 255, 0.50);
  border-radius: 7px;
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(15, 111, 178, 0.13), transparent 44%),
    rgba(0, 18, 35, 0.82);
}

input:focus,
select:focus {
  border-color: var(--fc-blue-bright);
  box-shadow:
    0 0 0 3px rgba(41, 182, 255, 0.14),
    0 0 24px rgba(41, 182, 255, 0.10);
}

.privacy {
  color: #aebfce;
  text-transform: none;
  letter-spacing: 0;
}

.submit-button {
  min-height: 54px;
  border: 1px solid rgba(154, 221, 255, 0.48);
  border-radius: 0;
  background: linear-gradient(90deg, #064f8a, #149eea 64%, #27b6ff);
  clip-path: polygon(6% 0, 91% 0, 100% 50%, 91% 100%, 6% 100%, 0 50%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0, 116, 190, 0.31);
}

.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.10);
  transform: translateY(-2px);
}

.demo-tools {
  border-top-color: rgba(142, 211, 255, 0.18);
}

.secondary-button {
  border-radius: 6px;
  border-color: rgba(143, 212, 255, 0.32);
  background: rgba(10, 105, 169, 0.14);
}

/* Rechtliche Seiten */
.legal-card {
  padding: clamp(26px, 5vw, 50px);
}

.legal-card section {
  border-top-color: rgba(145, 211, 255, 0.16);
}

.legal-card h2 {
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.legal-card h2::before {
  content: none;
  display: none;
}
/* Gutenberg-Trennlinien an das Theme-Design anpassen. */
.legal-card hr,
.legal-card .wp-block-separator {
  width: 100%;
  height: 0;
  margin: 30px 0;
  border: 0;
  border-top: 1px solid rgba(145, 211, 255, 0.22);
  opacity: 1;
}
.legal-card a {
  color: var(--fc-blue-pale);
}

.legal-warning {
  border-color: rgba(142, 211, 255, 0.36);
  border-radius: 7px;
  color: #dcefff;
  background: rgba(12, 111, 175, 0.14);
}

/* Footer */
.site-footer {
  align-items: center;
  margin-top: 22px;
  padding-top: 25px;
  border-top: 1px solid rgba(139, 211, 255, 0.14);
  color: #8eabc1;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.site-footer a {
  color: #a8c9df;
}

/* Mobile */
@media (max-width: 640px) {
  .page-shell {
    width: min(var(--site-content-max-width), calc(100% - var(--site-content-side-gap) - var(--site-content-side-gap)));
  }

  .portal-topbar {
    min-height: calc(68px + env(safe-area-inset-top));
  }

  .hero {
    min-height: auto;
    padding: 29px 21px 24px;
  }

  .hero-logo {
    width: min(62vw, 235px);
    margin-bottom: 30px;
  }

  .hero-message h1,
  .hero-message h2 {
    font-size: clamp(2.25rem, 13vw, 3.75rem);
    line-height: 0.90;
  }

  .hero-message p {
    font-size: 0.97rem;
  }

  .hero-bottom {
    margin-top: 40px;
  }

  .info-chip {
    min-height: 92px;
  }

  .legal-heading {
    padding-left: 15px;
  }

  .legal-heading h1 {
    font-size: clamp(2.2rem, 12vw, 3.9rem);
  }

  .legal-card hr,
  .legal-card .wp-block-separator {
    margin: 24px 0;
  }

  .form-card,
  .legal-card {
    padding: 27px 20px;
  }

  .submit-button {
    clip-path: polygon(5% 0, 93% 0, 100% 50%, 93% 100%, 5% 100%, 0 50%);
  }
}

/* =========================================================
   WordPress integration
   ========================================================= */

body.admin-bar .portal-topbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .portal-topbar {
    top: 46px;
  }
}

.public-navigation a.current-menu-item,
.public-navigation a.current_page_item,
.public-navigation a[aria-current="page"] {
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(32, 141, 242, 0.31), rgba(32, 141, 242, 0.09));
  box-shadow:
    inset 4px 0 0 var(--nav-blue-light),
    inset 0 0 0 1px rgba(73, 173, 255, 0.12);
}

.public-navigation a .menu-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
}

.public-navigation a .menu-icon svg {
  width: 100%;
  height: 100%;
}

.wp-content,
.post-detail,
.post-card {
  overflow-wrap: anywhere;
}

.wp-content > :first-child,
.post-detail > :first-child {
  margin-top: 0;
}

.wp-content > :last-child,
.post-detail > :last-child {
  margin-bottom: 0;
}

.wp-content h2,
.wp-content h3,
.wp-content h4,
.post-detail h2,
.post-detail h3,
.post-detail h4 {
  color: #ffffff;
  line-height: 1.15;
}

.wp-content a,
.post-detail a {
  color: var(--accent-light);
}

.wp-content img,
.post-detail img {
  height: auto;
  border-radius: 18px;
}

.wp-content blockquote,
.post-detail blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: rgba(32, 141, 242, 0.10);
}

.wp-content table,
.post-detail table {
  width: 100%;
  border-collapse: collapse;
}

.wp-content th,
.wp-content td,
.post-detail th,
.post-detail td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.wp-content input:not([type="checkbox"]):not([type="radio"]),
.wp-content select,
.wp-content textarea,
.post-detail input:not([type="checkbox"]):not([type="radio"]),
.post-detail select,
.post-detail textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(179, 217, 245, 0.22);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(2, 26, 46, 0.78);
}

.wp-content textarea,
.post-detail textarea {
  min-height: 150px;
  resize: vertical;
}

.wp-content button,
.wp-content input[type="submit"],
.wp-content .wp-element-button,
.post-detail button,
.post-detail input[type="submit"],
.post-detail .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #0968bd);
  box-shadow: 0 12px 28px rgba(32, 141, 242, 0.22);
  cursor: pointer;
}

.content-card {
  width: min(980px, 100%);
  margin: 0 auto 28px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(8, 48, 81, 0.90), rgba(3, 25, 46, 0.86));
  box-shadow: var(--shadow);
}

.front-content {
  margin-top: 30px;
}

.posts-grid {
  width: 100%;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(8, 48, 81, 0.92), rgba(3, 24, 43, 0.88));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
  background: rgba(2, 22, 40, 0.7);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 30px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.post-card h2,
.post-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.post-card h2 a,
.post-card h3 a {
  color: #ffffff;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--accent-light);
}

.post-card p {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.read-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-weight: 780;
  text-decoration: none;
}

.read-more::after {
  content: "→";
  color: var(--accent-light);
  font-size: 1.25em;
}

.post-featured-image {
  width: 100%;
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.pagination,
.navigation.pagination {
  width: 100%;
  margin: 12px auto 30px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(8, 48, 81, 0.72);
}

.page-numbers.current,
.page-numbers:hover {
  border-color: rgba(73, 173, 255, 0.55);
  background: rgba(32, 141, 242, 0.28);
}

.post-navigation {
  width: min(980px, 100%);
  margin: 22px auto 30px;
}

.post-navigation .nav-links {
  justify-content: space-between;
}

.post-navigation a {
  color: var(--accent-light);
  text-decoration: none;
}

.empty-state {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  background: rgba(8, 48, 81, 0.70);
}

.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;
}

.alignwide {
  width: min(var(--site-content-max-width), calc(100vw - var(--site-content-side-gap) - var(--site-content-side-gap)));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

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

@media (max-width: 760px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    border-radius: 20px;
  }

  .post-navigation .nav-links {
    display: grid;
    gap: 14px;
  }
}

.site-footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-menu li {
  margin: 0;
}

/* Fully audited configurable unified footer (1.3.9) */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: clamp(72px, 10vw, 138px) 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #9db9cc;
  background: #020b14;
  font-size: 16px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: normal;
  --footer-total-min-height-desktop: 0px;
  --footer-total-min-height-mobile: 0px;
  --footer-meta-padding-y-desktop: 32px;
  --footer-meta-content-gap-desktop: 36px;
  --footer-meta-min-height-desktop: 32px;
  --footer-meta-align-desktop: center;
  --footer-meta-offset-y-desktop: 0px;
  --footer-meta-padding-y-mobile: 26px;
  --footer-meta-content-gap-mobile: 22px;
  --footer-meta-min-height-mobile: 68px;
  --footer-meta-align-mobile: center;
  --footer-meta-offset-y-mobile: 0px;
  min-height: var(--footer-total-min-height-desktop);
  box-shadow: 0 -26px 80px rgba(0, 8, 18, 0.28);
}

.footer-social {
  --footer-social-eyebrow-size-desktop: 14px;
  --footer-social-title-size-desktop: 82px;
  --footer-social-title-line-height-desktop: 0.98;
  --footer-social-text-size-desktop: 19px;
  --footer-social-button-text-size-desktop: 15px;
  --footer-social-button-height-desktop: 82px;
  --footer-social-icon-size-desktop: 48px;
  --footer-social-button-width-desktop: 230px;
  --footer-social-button-gap-desktop: 14px;
  --footer-social-buttons-per-row-desktop: 5;
  --footer-social-buttons-max-width-desktop: 1206px;
  --footer-social-eyebrow-size-mobile: 12px;
  --footer-social-title-size-mobile: 57px;
  --footer-social-title-line-height-mobile: 1.16;
  --footer-social-text-size-mobile: 16px;
  --footer-social-button-text-size-mobile: 15px;
  --footer-social-button-height-mobile: 76px;
  --footer-social-icon-size-mobile: 48px;
  --footer-social-buttons-width-mobile: 100%;
  --footer-social-title-width-mobile: 100%;
  --footer-social-button-gap-mobile: 12px;
  --footer-social-button-half-gap-mobile: 6px;
  --footer-social-icon-render-size-desktop: max(16px, min(var(--footer-social-icon-size-desktop), calc(var(--footer-social-button-height-desktop) - 16px)));
  --footer-social-icon-render-size-mobile: max(16px, min(var(--footer-social-icon-size-mobile), calc(var(--footer-social-button-height-mobile) - 16px)));
  --footer-letter-spacing-eyebrow: 3px;
  --footer-letter-spacing-title: 1px;
  --footer-letter-spacing-text: 0px;
  --footer-letter-spacing-button: 0.5px;
  --footer-letter-spacing-copyright: 1px;
  --footer-letter-spacing-links: 1px;
  --footer-gap-eyebrow-title-desktop: 16px;
  --footer-gap-title-text-desktop: 26px;
  --footer-gap-copy-buttons-desktop: 54px;
  --footer-social-padding-top-desktop: 104px;
  --footer-social-padding-bottom-desktop: 112px;
  --footer-gap-eyebrow-title-mobile: 16px;
  --footer-gap-title-text-mobile: 22px;
  --footer-gap-copy-buttons-mobile: 38px;
  --footer-social-padding-top-mobile: 68px;
  --footer-social-padding-bottom-mobile: 78px;
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding:
    var(--footer-social-padding-top-desktop)
    max(var(--site-content-side-gap), env(safe-area-inset-right))
    var(--footer-social-padding-bottom-desktop)
    max(var(--site-content-side-gap), env(safe-area-inset-left));
  overflow: hidden;
  border-top: 1px solid rgba(133, 211, 255, 0.18);
  border-bottom: 1px solid rgba(133, 211, 255, 0.14);
  background:
    radial-gradient(circle at 50% 12%, rgba(32, 141, 242, 0.34), transparent 34%),
    radial-gradient(circle at 5% 100%, rgba(21, 99, 166, 0.28), transparent 34%),
    radial-gradient(circle at 95% 100%, rgba(16, 116, 185, 0.20), transparent 30%),
    linear-gradient(145deg, #03101d 0%, #052742 52%, #03111f 100%);
}

.footer-social::before,
.footer-social::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.footer-social::before {
  width: min(880px, 88vw);
  aspect-ratio: 1;
  top: 3%;
  left: 50%;
  border: 1px solid rgba(115, 200, 255, 0.10);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  box-shadow:
    0 0 0 52px rgba(71, 169, 236, 0.025),
    0 0 0 112px rgba(71, 169, 236, 0.018);
}

.footer-social::after {
  width: min(820px, 80vw);
  height: 2px;
  bottom: 15%;
  left: 50%;
  opacity: 0.48;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(120, 207, 255, 0.55), transparent);
}

.footer-social__inner {
  width: min(var(--site-content-max-width), 100%);
  display: grid;
  gap: var(--footer-gap-copy-buttons-desktop);
}

.footer-social__copy {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-social__eyebrow {
  margin: 0 0 var(--footer-gap-eyebrow-title-desktop);
  font-family: var(--footer-font-eyebrow, inherit);
  color: #9fd4f4;
  font-size: var(--footer-social-eyebrow-size-desktop);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: var(--footer-letter-spacing-eyebrow, 3px);
  text-transform: uppercase;
}

.footer-social__title {
  margin: 0;
  font-family: var(--footer-font-title, inherit);
  color: #ffffff;
  font-size: var(--footer-social-title-size-desktop);
  font-weight: 900;
  line-height: var(--footer-social-title-line-height-desktop, 0.98);
  letter-spacing: var(--footer-letter-spacing-title, 1px);
  text-wrap: balance;
}

.footer-social__text {
  width: min(680px, 100%);
  font-family: var(--footer-font-text, inherit);
  margin: var(--footer-gap-title-text-desktop) auto 0;
  color: #b7d2e3;
  font-size: var(--footer-social-text-size-desktop);
  line-height: 1.65;
  letter-spacing: var(--footer-letter-spacing-text, 0px);
  text-wrap: balance;
}

.footer-social__buttons {
  width: min(100%, var(--footer-social-buttons-max-width-desktop));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--footer-social-button-gap-desktop);
  margin-inline: auto;
}

.footer-social__button {
  width: min(100%, var(--footer-social-button-width-desktop));
  height: var(--footer-social-button-height-desktop);
  min-height: 0;
  flex: 0 1 var(--footer-social-button-width-desktop);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(168, 220, 255, 0.17);
  border-radius: 18px;
  color: #f5fbff;
  background: rgba(2, 18, 32, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 20px 55px rgba(0, 8, 17, 0.20);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.footer-social__button:hover,
.footer-social__button:focus-visible {
  border-color: rgba(147, 215, 255, 0.42);
  color: #ffffff;
  background: rgba(6, 39, 66, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 62px rgba(0, 8, 17, 0.30);
  transform: translateY(-3px);
}

.footer-social__button:focus-visible {
  outline: 3px solid rgba(73, 173, 255, 0.72);
  outline-offset: 4px;
}

.footer-social__icon {
  width: var(--footer-social-icon-render-size-desktop);
  height: var(--footer-social-icon-render-size-desktop);
  flex: 0 0 var(--footer-social-icon-render-size-desktop);
  display: grid;
  place-items: center;
  border: 1px solid rgba(144, 210, 255, 0.18);
  border-radius: 14px;
  color: #bde4ff;
  background:
    linear-gradient(145deg, rgba(32, 141, 242, 0.30), rgba(18, 72, 112, 0.24));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.footer-social__icon svg {
  width: calc(var(--footer-social-icon-render-size-desktop) / 2);
  height: calc(var(--footer-social-icon-render-size-desktop) / 2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social__button--facebook .footer-social__icon svg,
.footer-social__button--tiktok .footer-social__icon svg,
.footer-social__button--twitter .footer-social__icon svg,
.footer-social__button--bluesky .footer-social__icon svg {
  fill: currentColor;
  stroke: none;
}

.footer-social__button-label {
  min-width: 0;
  font-family: var(--footer-font-button, inherit);
  color: inherit;
  font-size: var(--footer-social-button-text-size-desktop);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: var(--footer-letter-spacing-button, 0.5px);
  overflow-wrap: anywhere;
}

.footer-social__arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #75bff0;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-social__arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social__button:hover .footer-social__arrow,
.footer-social__button:focus-visible .footer-social__arrow {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-meta {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  min-height: calc(
    var(--footer-meta-min-height-desktop, 32px)
    + var(--footer-meta-padding-y-desktop, 32px)
    + var(--footer-meta-padding-y-desktop, 32px)
    + env(safe-area-inset-bottom)
  );
  display: flex;
  align-items: var(--footer-meta-align-desktop, center);
  padding:
    var(--footer-meta-padding-y-desktop, 32px)
    max(var(--site-content-side-gap), env(safe-area-inset-right))
    calc(var(--footer-meta-padding-y-desktop, 32px) + env(safe-area-inset-bottom))
    max(var(--site-content-side-gap), env(safe-area-inset-left));
  background: rgba(1, 10, 18, 0.96);
}

.footer-meta__inner {
  width: min(var(--site-content-max-width), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--footer-meta-content-gap-desktop);
  color: #86a4b9;
  font-size: var(--footer-meta-font-size-desktop, 13px);
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transform: translateY(var(--footer-meta-offset-y-desktop, 0px));
}

.footer-meta__copyright {
  font-family: var(--footer-font-copyright, inherit);
  letter-spacing: var(--footer-letter-spacing-copyright, 1px);
}

.site-footer--meta-desktop-center .footer-meta__inner {
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}

.site-footer.site-footer--meta-desktop-center .footer-menu {
  justify-content: center;
}

.site-footer--meta-desktop-stack .footer-meta__inner {
  width: fit-content;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer.site-footer--meta-desktop-stack .footer-menu {
  justify-content: center;
}


.footer-meta nav {
  display: flex;
  font-family: var(--footer-font-links, inherit);
  align-items: center;
  letter-spacing: var(--footer-letter-spacing-links, 1px);
}

.site-footer .footer-menu,
.footer-meta nav > div,
.footer-meta nav {
  flex-wrap: wrap;
}

.site-footer .footer-menu {
  justify-content: flex-end;
}

.site-footer a {
  color: #a9c9dd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 720px) {
  html,
  body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .portal-topbar,
  .site-footer,
  .footer-social,
  .footer-social__inner,
  .footer-social__copy,
  .footer-social__buttons,
  .footer-meta,
  .footer-meta__inner {
    min-width: 0;
    max-width: 100%;
  }

  .site-footer {
    min-height: var(--footer-total-min-height-mobile);
    margin-top: 76px;
  }

  .footer-social {
    min-height: 0;
    padding-top: var(--footer-social-padding-top-mobile);
    padding-bottom: var(--footer-social-padding-bottom-mobile);
  }

  .footer-social__inner {
    min-width: 0;
    gap: var(--footer-gap-copy-buttons-mobile);
  }

  .footer-social__copy {
    width: 100%;
    min-width: 0;
  }

  .footer-social__eyebrow {
    margin-bottom: var(--footer-gap-eyebrow-title-mobile);
  }

  .footer-social__text {
    margin-top: var(--footer-gap-title-text-mobile);
  }

  .footer-social__eyebrow {
    font-size: var(--footer-social-eyebrow-size-mobile);
  }

  .footer-social__title {
    width: min(100%, var(--footer-social-title-width-mobile));
    max-width: 100%;
    margin-inline: auto;
    font-size: var(--footer-social-title-size-mobile);
    line-height: var(--footer-social-title-line-height-mobile, 1.16);
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    text-wrap: balance;
  }

  .site-footer--mobile-title-fit .footer-social__title {
    /* The Customizer value remains the upper limit. The viewport cap is
       deliberately conservative for wide display fonts such as Komika Axis. */
    font-size: min(var(--footer-social-title-size-mobile), 9.5vw);
  }

  .footer-social__text {
    max-width: 100%;
    font-size: var(--footer-social-text-size-mobile);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .footer-social__buttons {
    width: min(100%, var(--footer-social-buttons-width-mobile));
    max-width: 100%;
    min-width: 0;
    gap: var(--footer-social-button-gap-mobile);
  }

  .footer-social__button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--footer-social-button-height-mobile);
    min-height: 0;
    flex: 0 1 100%;
    border-radius: 16px;
  }

  .footer-social--mobile-columns-2 .footer-social__button {
    width: calc(50% - var(--footer-social-button-half-gap-mobile));
    flex-basis: calc(50% - var(--footer-social-button-half-gap-mobile));
  }

  .footer-social--mobile-columns-3 .footer-social__button {
    width: calc((100% - (2 * var(--footer-social-button-gap-mobile))) / 3);
    flex-basis: calc((100% - (2 * var(--footer-social-button-gap-mobile))) / 3);
  }

  .footer-social__button-label {
    max-width: 100%;
    font-size: var(--footer-social-button-text-size-mobile);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .footer-social__icon {
    width: var(--footer-social-icon-render-size-mobile);
    height: var(--footer-social-icon-render-size-mobile);
    flex-basis: var(--footer-social-icon-render-size-mobile);
  }

  .footer-social__icon svg {
    width: calc(var(--footer-social-icon-render-size-mobile) / 2);
    height: calc(var(--footer-social-icon-render-size-mobile) / 2);
  }

  .footer-meta {
    min-height: calc(
      var(--footer-meta-min-height-mobile, 68px)
      + var(--footer-meta-padding-y-mobile, 26px)
      + var(--footer-meta-padding-y-mobile, 26px)
      + env(safe-area-inset-bottom)
    );
    align-items: var(--footer-meta-align-mobile, center);
    padding-top: var(--footer-meta-padding-y-mobile, 26px);
    padding-bottom: calc(var(--footer-meta-padding-y-mobile, 26px) + env(safe-area-inset-bottom));
  }

  .footer-meta__inner {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    gap: var(--footer-meta-content-gap-mobile);
    font-size: var(--footer-meta-font-size-mobile, 13px);
    flex-direction: column;
    transform: translateY(var(--footer-meta-offset-y-mobile, 0px));
  }

  .site-footer .footer-menu {
    justify-content: flex-start;
    gap: 11px 18px;
  }
  .site-footer--meta-mobile-center .footer-meta__inner {
    align-items: center;
    text-align: center;
  }

  .site-footer--meta-mobile-center .footer-menu {
    justify-content: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  .footer-social__button,
  .footer-social__arrow {
    transition: none;
  }
}


/* Navigation logo reset (1.4.5) */
.drawer-logo-shell{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;}
.drawer-logo-shell img{border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;}


.drawer-lockup {
  display: block;
  max-width: 100%;
}

.drawer-lockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* Image-only navigation branding (1.4.8). */
.drawer-header {
  justify-content: flex-end;
}

.drawer-header > strong,
.drawer-logo-shell,
.drawer-wordmark {
  display: none !important;
}

.drawer-brand--lockup {
  display: flex;
  min-width: 0;
}
