/*
Theme Name: PiratenzendersWP
Theme URI: https://piratenzenders.com/
Author: PiratenZenders.com
Description: Een WordPress-schil voor PiratenZenders.com met een nuchtere, redactionele homepage-variant.
Version: 1.1.45
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: piratenzenders
*/

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

.page-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-content a,
.article-content a {
  color: var(--blue-dark);
  font-weight: 800;
}

.article-content img,
.article-content video,
.article-content iframe {
  display: none;
}

.attachment-card {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.attachment-card img,
.attachment-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.attachment-caption {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 750;
  text-align: left;
}

.event-poster img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.event-poster-image {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.event-poster-image::before,
.event-poster-image::after {
  display: none;
}

.news-image img,
.video-preview video {
  display: block;
  width: 100%;
  object-fit: cover;
}

.news-image img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.video-preview video {
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.library-card-count {
  display: inline-flex;
  width: max-content;
  margin-top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(8, 142, 231, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.websdr-link[href=""] {
  pointer-events: none;
  opacity: 0.55;
}

.footer-links ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  display: contents;
}

.not-found-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
}

/* Algemene vormgeving en paginaonderdelen. */

:root {
  color-scheme: light;
  --blue: #078ce6;
  --blue-dark: #098ee7;
  --ink: #071d3c;
  --muted: #63718a;
  --line: #dbe6f2;
  --panel: #ffffff;
  --page: #f4f8fc;
  --shadow: 0 16px 36px rgba(10, 34, 65, 0.1);
  --soft-shadow: 0 10px 24px rgba(17, 54, 92, 0.08);
  --radius: 8px;
  --content: min(100% - 24px, 1280px);
}

html[data-pz-theme="night"] {
  color-scheme: dark;
  --blue: #4ab7ff;
  --blue-dark: #5cbcff;
  --ink: #edf5ff;
  --muted: #a7b8cf;
  --line: #25405f;
  --panel: #102033;
  --page: #06111f;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  --soft-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

html[data-pz-theme="night"] body {
  background: var(--page);
}

body.player-visible {
  padding-bottom: 112px;
}

body.lightbox-open {
  overflow: hidden;
}

body.search-open {
  overflow: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.brand-mark {
  position: relative;
  width: clamp(46px, 4.5vw, 66px);
  aspect-ratio: 1;
  border: 4px solid var(--blue);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 18%, var(--blue) 19% 25%, transparent 26%),
    radial-gradient(circle, transparent 0 44%, var(--blue) 45% 50%, transparent 51%);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}

.brand-mark::before {
  top: 18%;
  width: 8px;
  height: 66%;
  border-radius: 999px;
}

.brand-mark::after {
  top: 18%;
  width: 28px;
  height: 28px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--blue);
}

.brand-mark span {
  bottom: 13%;
  width: 36px;
  height: 5px;
  border-radius: 999px;
}

.section-heading a {
  color: var(--blue-dark);
}

.button,
.icon-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(8, 142, 231, 0.1);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 24px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 8px 18px rgba(4, 95, 172, 0.22);
  font-weight: 800;
  white-space: nowrap;
}

.button:disabled {
  cursor: default;
  opacity: 0.62;
}

.button-small {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 20px;
  font-size: 0.86rem;
}

.icon-button {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}

.icon-button svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.5;
}

main {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  min-height: clamp(420px, 42vw, 520px);
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(1, 10, 23, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(0, 0, 0, 0.34) 9.2% 10.5%);
  clip-path: polygon(0 65%, 10% 60%, 18% 68%, 30% 52%, 44% 61%, 58% 46%, 68% 56%, 82% 43%, 100% 58%, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 780px;
  padding: clamp(34px, 6vw, 72px) clamp(28px, 5vw, 56px);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 5.1vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.42);
}

.hero p {
  max-width: 720px;
  margin: 22px 0 28px;
  font-size: clamp(1.08rem, 1.9vw, 1.45rem);
  font-weight: 750;
  line-height: 1.35;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

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

.tower {
  position: absolute;
  bottom: 12%;
  width: 92px;
  height: 78%;
  opacity: 0.72;
  background:
    linear-gradient(74deg, transparent 47%, rgba(21, 46, 77, 0.95) 48% 52%, transparent 53%),
    linear-gradient(106deg, transparent 47%, rgba(21, 46, 77, 0.95) 48% 52%, transparent 53%),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(45, 80, 116, 0.9) 35px 39px, transparent 40px 74px);
  clip-path: polygon(48% 0, 56% 0, 100% 100%, 0 100%);
}

.tower-large {
  left: 14%;
}

.tower-small {
  right: 4%;
  height: 58%;
  opacity: 0.38;
  transform: scaleX(0.7);
}

.on-air {
  position: absolute;
  top: 13%;
  right: clamp(20px, 5vw, 70px);
  display: grid;
  place-items: center;
  width: clamp(176px, 24vw, 276px);
  aspect-ratio: 2.2;
  border: 10px solid #101929;
  border-radius: 8px;
  color: #ffd7c7;
  background:
    linear-gradient(180deg, #250307, #110205);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
  font-size: clamp(1.7rem, 4.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: none;
  transform: rotate(-5deg);
}

.section-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.section-panel {
  margin: 24px 0;
  padding: clamp(18px, 2.7vw, 28px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

html[data-pz-theme="night"] .section-panel,
html[data-pz-theme="night"] .empty-state {
  background: rgba(16, 32, 51, 0.82);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.section-heading a {
  font-weight: 850;
  white-space: nowrap;
}

.section-icon {
  width: 28px;
  aspect-ratio: 1;
  color: var(--blue);
}

.live-dot {
  color: #f20e22;
}

.live-dot::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0 0 5px rgba(242, 14, 34, 0.18),
    0 0 0 10px rgba(242, 14, 34, 0.16);
}

.mixer-icon,
.news-list-icon {
  border-top: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
}

.mixer-icon::before,
.news-list-icon::before,
.mixer-icon::after,
.news-list-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.mixer-icon::before,
.news-list-icon::before {
  top: 8px;
}

.mixer-icon::after,
.news-list-icon::after {
  bottom: 8px;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stream-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, max-content));
  gap: 12px;
  margin: 0 0 18px;
}

.stream-stat {
  display: grid;
  gap: 2px;
  min-width: 160px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

html[data-pz-theme="night"] .stream-stat {
  background: transparent;
}

.stream-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stream-stat strong {
  color: var(--blue-dark);
  font-size: 1.65rem;
  line-height: 1;
}

.stream-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 58px;
  gap: 12px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 5px 14px rgba(12, 44, 76, 0.04);
}

html[data-pz-theme="night"] .stream-card,
html[data-pz-theme="night"] .news-card {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.stream-main {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
}

.stream-main h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.13;
  color: var(--ink);
}

.stream-main p,
.stream-main small,
.stream-listeners,
.stream-phone {
  margin: 0;
  color: #334f6f;
  line-height: 1.2;
}

.stream-main p {
  color: #0876bf;
  font-weight: 850;
}

.stream-main small {
  color: #173c63;
  font-weight: 750;
}

.stream-main small,
.stream-listeners,
.stream-phone {
  font-size: 0.9rem;
}

.stream-listeners {
  color: #415a78;
  font-weight: 650;
}

.stream-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #526880;
  font-weight: 650;
}

.stream-phone-icon {
  display: inline-grid;
  width: 18px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

html[data-pz-theme="night"] .stream-main small,
html[data-pz-theme="night"] .stream-listeners,
html[data-pz-theme="night"] .stream-phone {
  color: #c1d0e2;
}

.stream-play {
  display: grid;
  width: 56px;
  aspect-ratio: 1;
  place-items: center;
  align-self: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 6px 14px rgba(9, 34, 67, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
}

.stream-card.is-active {
  border-color: rgba(8, 142, 231, 0.5);
  box-shadow: 0 8px 18px rgba(9, 34, 67, 0.1);
}

.stream-card.is-active .stream-play {
  background: #057fd0;
}

.player-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-left: 64px;
}

.stream-quality {
  color: #428bca;
  font-size: 0.78rem;
  font-weight: 850;
}

.player-icon {
  position: relative;
  display: grid;
  width: 28px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #c8d6e5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 43, 71, 0.06);
  cursor: pointer;
  font: inherit;
}

.player-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.player-icon-image {
  background: #fff;
}

.player-icon.winamp {
  color: #111827;
  background: #f7c844;
}

.player-icon.winamp span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 5px;
  background: #111827;
  color: #f7c844;
  font-size: 0.68rem;
  font-weight: 950;
}

.player-icon.wmp {
  background: #f5fbff;
}

.player-icon.wmp span {
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#e94b35 0 25%, #2d8fdd 0 50%, #f1c232 0 75%, #48a85f 0);
}

.player-icon.wmp::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  border-block: 5px solid transparent;
  border-left: 7px solid #fff;
}

.player-icon.vlc {
  background: #fff8ee;
}

.player-icon.vlc span {
  position: relative;
  width: 0;
  height: 0;
  border-right: 8px solid transparent;
  border-bottom: 21px solid #f47f20;
  border-left: 8px solid transparent;
}

.player-icon.vlc span::before,
.player-icon.vlc span::after {
  content: "";
  position: absolute;
  left: -9px;
  width: 18px;
  height: 3px;
  background: #fff;
}

.player-icon.vlc span::before {
  top: 7px;
}

.player-icon.vlc span::after {
  top: 14px;
}

.stream-player {
  position: fixed;
  right: max(12px, calc((100vw - 1280px) / 2 + 12px));
  bottom: 14px;
  left: max(12px, calc((100vw - 1280px) / 2 + 12px));
  z-index: 30;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 16px;
  align-items: center;
  max-width: 1280px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 142, 231, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(9, 34, 67, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 28px)) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(16px);
}

html[data-pz-theme="night"] .stream-player {
  border-color: var(--line);
  background: rgba(16, 32, 51, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.stream-player.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.player-state {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.player-kicker {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.player-state strong {
  overflow: hidden;
  font-size: 1.15rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#player-pirate {
  color: var(--blue-dark);
  font-weight: 850;
}

#player-meta {
  color: var(--muted);
  font-weight: 500;
}

#player-meta {
  font-size: 0.9rem;
}

.player-controls {
  display: grid;
  grid-template-columns: 48px minmax(180px, 260px);
  gap: 14px;
  align-items: center;
  justify-content: end;
}

.player-controls button {
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.player-controls button:disabled {
  cursor: default;
  opacity: 0.45;
}

.volume-control {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.volume-control input {
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.volume-control input::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--blue-dark) 0 var(--volume-percent, 75%),
    color-mix(in srgb, var(--line) 78%, var(--panel)) var(--volume-percent, 75%) 100%
  );
}

.volume-control input::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue-dark);
  box-shadow: none;
}

.volume-control input::-moz-range-track {
  height: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 78%, var(--panel));
}

.volume-control input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--blue-dark);
}

.volume-control input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue-dark);
  box-shadow: none;
}

.flag {
  display: block;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(6, 32, 62, 0.12);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
}

.player-flag {
  width: 52px;
}

.stream-image {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.flag-nl {
  background:
    linear-gradient(180deg, #d71920 0 33%, #fff 33% 66%, #174ea6 66%),
    radial-gradient(circle at 28% 50%, #071d3c 0 18%, transparent 19%);
}

.flag-de {
  background: linear-gradient(180deg, #111 0 33%, #d71920 33% 66%, #ffcf2f 66%);
}

.flag-region {
  background:
    linear-gradient(90deg, transparent 0 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(180deg, transparent 0 40%, #fff 40% 60%, transparent 60%),
    conic-gradient(#d71920 0 25%, #179f50 0 50%, #d71920 0 75%, #179f50 0);
}

.flag-dragon {
  background:
    radial-gradient(circle at 54% 48%, #fff 0 13%, transparent 14%),
    radial-gradient(circle at 35% 36%, #fff 0 5%, transparent 6%),
    #df1b2b;
}

.flag-hamburg {
  background:
    linear-gradient(90deg, transparent 0 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 0 42%, #fff 42% 58%, transparent 58%),
    conic-gradient(#15387f 0 25%, #118a55 0 50%, #15387f 0 75%, #118a55 0);
}

.flag-blue-yellow {
  background: conic-gradient(from 45deg, #1a53a5 0 45%, #ffd438 0 76%, #fff 0);
}

.empty-state {
  padding: 28px;
  border: 1px dashed #c8d6e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.stream-request-form {
  display: grid;
  gap: 22px;
  max-width: 820px;
}

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

.stream-request-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.stream-request-form label span {
  color: var(--blue-dark);
  font-size: 0.86rem;
}

.stream-request-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--page);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.stream-request-form input:focus {
  border-color: var(--blue-dark);
  outline: 3px solid rgba(8, 142, 231, 0.18);
}

/* Contact Form 7 sluit visueel aan op het streamverzoekformulier. */
.wpcf7 {
  width: 100%;
  max-width: 820px;
}

.wpcf7 form {
  display: grid;
  gap: 22px;
  margin: 0;
}

.wpcf7 form > p {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
}

.wpcf7 label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.wpcf7 label br {
  display: none;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--page);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.wpcf7 textarea {
  min-height: 180px;
  padding-block: 14px;
  resize: vertical;
}

.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--blue-dark);
  outline: 3px solid rgba(8, 142, 231, 0.18);
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  display: inline-flex;
  width: max-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 24px;
  padding: 0 28px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 8px 18px rgba(4, 95, 172, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 button[type="submit"]:disabled {
  cursor: default;
  opacity: 0.62;
}

.wpcf7 form > p:has(input[type="submit"], button[type="submit"]) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.wpcf7-spinner {
  margin: 0;
}

.wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #d63d4f;
  font-size: 0.82rem;
  font-weight: 750;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--page);
  font-weight: 700;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e9d68;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #d63d4f;
}

@media (max-width: 760px) {
  .wpcf7 input[type="submit"],
  .wpcf7 button[type="submit"] {
    width: 100%;
  }
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.news-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.18;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 6px 20px rgba(7, 40, 76, 0.05);
}

.news-card-link {
  display: grid;
  height: 100%;
  color: inherit;
}

.news-card-link:hover .read-more,
.news-card-link:focus-visible .read-more {
  color: #fff;
  background: var(--blue-dark);
}

.news-card-link:focus-visible {
  outline: 3px solid rgba(8, 142, 231, 0.28);
  outline-offset: 3px;
}

.news-image {
  position: relative;
  min-height: clamp(148px, 18vw, 210px);
  background-color: #d9e8f4;
  isolation: isolate;
}

.news-image time {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 7px 16px rgba(0, 94, 176, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mast-day {
  background:
    linear-gradient(88deg, transparent 49%, #283f53 49.4% 50.4%, transparent 50.8%),
    radial-gradient(circle at 20% 90%, #213d28 0 16%, transparent 17%),
    radial-gradient(circle at 90% 84%, #365c37 0 18%, transparent 19%),
    linear-gradient(180deg, #76bfff 0 72%, #e7f3fb 72%);
}

.mast-evening {
  background:
    linear-gradient(88deg, transparent 49%, #233444 49.5% 50.5%, transparent 51%),
    radial-gradient(circle at 83% 83%, #1f3c28 0 19%, transparent 20%),
    linear-gradient(180deg, #a8caf3 0, #f3b5a6 62%, #bfd9b8 63%);
}

.dab-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.66)),
    repeating-radial-gradient(circle at 48% 58%, transparent 0 30px, rgba(255, 30, 24, 0.42) 31px 34px),
    repeating-linear-gradient(90deg, transparent 0 10px, #ff1c18 11px 14px, transparent 15px 22px),
    #120509;
}

.dab-image::after {
  content: "DAB+";
  position: absolute;
  right: 28px;
  bottom: 36px;
  z-index: 1;
  padding: 18px 30px;
  border: 4px solid #252d38;
  border-radius: 8px;
  color: #fff;
  background: #14161b;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
  box-shadow: 0 13px 22px rgba(0, 0, 0, 0.45);
}

.people-image {
  background:
    radial-gradient(circle at 36% 70%, #24518d 0 7%, transparent 8%),
    radial-gradient(circle at 55% 72%, #1c3157 0 8%, transparent 9%),
    linear-gradient(88deg, transparent 0 44%, rgba(49, 64, 77, 0.78) 45% 48%, transparent 49%),
    linear-gradient(180deg, #7ba9d8 0 52%, #77a45c 53%);
  filter: saturate(0.95);
}

.road-image {
  background:
    radial-gradient(ellipse at 50% 105%, #786b5a 0 30%, transparent 31%),
    linear-gradient(115deg, transparent 0 43%, #151a1d 44% 52%, transparent 53%),
    radial-gradient(circle at 50% 55%, #0f1f2e 0 8%, transparent 9%),
    linear-gradient(180deg, #6fa75d 0 48%, #b4b18b 49%);
}

.garden-image {
  background:
    linear-gradient(110deg, transparent 0 58%, rgba(94, 58, 32, 0.75) 59% 62%, transparent 63%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(115, 78, 49, 0.58) 23px 28px),
    radial-gradient(circle at 28% 68%, #538942 0 24%, transparent 25%),
    linear-gradient(180deg, #9fd27e 0 58%, #d7ba7b 59%);
}

.news-body {
  padding: 18px 20px 16px;
}

.news-card h3 {
  min-height: 2.4em;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.news-card h2 {
  min-height: 2.4em;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.18;
}

.news-card p {
  margin: 12px 0 20px;
  min-height: 4.5em;
  color: #667286;
  font-size: clamp(0.94rem, 1.4vw, 1.05rem);
  line-height: 1.42;
}

html[data-pz-theme="night"] .news-card p,
html[data-pz-theme="night"] .stream-main small,
html[data-pz-theme="night"] .stream-listeners,
html[data-pz-theme="night"] .stream-phone {
  color: #c1d0e2;
}

.read-more {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-dark);
  background: #fff;
}

html[data-pz-theme="night"] .read-more {
  background: #0b1a2b;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-numbers {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  font-weight: 850;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  color: #fff;
  background: var(--blue-dark);
  outline: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: start center;
  padding: clamp(76px, 14vh, 150px) 18px 18px;
}

.search-overlay.is-open {
  display: grid;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 13, 26, 0.68);
  cursor: pointer;
}

.search-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.search-dialog label {
  display: block;
  margin: 0 44px 14px 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-row input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--page);
  font: inherit;
}

.search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 252px;
  overflow: hidden;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(1, 9, 21, 0.94), rgba(1, 9, 21, 0.6) 52%, rgba(1, 9, 21, 0.14));
}

.recordings::before {
  background:
    radial-gradient(circle at 78% 50%, #080808 0 9%, transparent 10%),
    linear-gradient(80deg, transparent 0 55%, #181818 56% 60%, transparent 61%),
    radial-gradient(circle at 84% 58%, transparent 0 28px, #1c1c1c 29px 34px, transparent 35px),
    linear-gradient(100deg, #05090f 0 45%, #2f3236 46%, #111 60%, #29241f 100%);
}

.events::before {
  background:
    linear-gradient(88deg, transparent 54%, #2e4b61 55% 57%, transparent 58%),
    radial-gradient(circle at 72% 74%, #ff572b 0 10%, transparent 11%),
    radial-gradient(circle at 60% 85%, #125d35 0 20%, transparent 21%),
    linear-gradient(180deg, #8ebee8 0 58%, #588742 59%);
}

.websdr::before {
  background:
    linear-gradient(88deg, transparent 48%, #20384d 49% 51%, transparent 52%),
    radial-gradient(circle at 28% 88%, #163926 0 20%, transparent 21%),
    linear-gradient(180deg, #163759 0 56%, #284a36 57%);
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.feature-card p {
  max-width: 430px;
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
}

.site-breadcrumbs {
  background: var(--page);
}

.site-breadcrumbs[hidden] {
  display: none;
}

/* The folder path is already included in the shared site breadcrumb. */
.site-breadcrumbs.has-folder-path ~ main .pzst-breadcrumb {
  display: none;
}

.site-breadcrumbs > .breadcrumb {
  width: var(--content);
  margin: 0 auto;
  padding: 16px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding-top: 16px;
  overflow-wrap: anywhere;
  line-height: 1.5;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--blue-dark);
}

.events-shell {
  padding-bottom: 8px;
}

.events-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  min-height: clamp(320px, 34vw, 430px);
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 34, 0.96) 0 38%, rgba(5, 21, 47, 0.74) 64%, rgba(5, 14, 32, 0.2)),
    radial-gradient(circle at 82% 30%, rgba(255, 198, 49, 0.42), transparent 19%),
    radial-gradient(circle at 64% 68%, rgba(242, 14, 34, 0.34), transparent 24%),
    linear-gradient(160deg, #051126 0 34%, #10335b 50%, #348b62 70%, #061126 100%);
  box-shadow: var(--shadow);
}

.events-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(1, 10, 23, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(0, 0, 0, 0.28) 11.2% 12%);
  clip-path: polygon(0 56%, 12% 68%, 27% 49%, 42% 64%, 54% 48%, 68% 59%, 82% 42%, 100% 58%, 100% 100%, 0 100%);
}

.events-hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
  padding: clamp(32px, 5vw, 58px);
}

.events-hero-content time {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #072347;
  background: #ffd95c;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.events-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.5rem, 5.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.36);
}

.events-hero p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.06rem, 1.9vw, 1.32rem);
  font-weight: 760;
  line-height: 1.4;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.36);
}

.events-hero-visual {
  position: relative;
  z-index: 1;
}

.events-ticket {
  position: absolute;
  right: clamp(28px, 6vw, 82px);
  bottom: 18%;
  display: grid;
  width: clamp(180px, 23vw, 292px);
  aspect-ratio: 1.42;
  place-items: center;
  border: 8px solid #0d1727;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, 0.14) 27px 29px),
    linear-gradient(135deg, #f20e22, #0a79c8 62%, #061126);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.42);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 950;
  transform: rotate(4deg);
}

.events-signal {
  position: absolute;
  border: 3px solid rgba(255, 255, 255, 0.62);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.signal-one {
  right: 14%;
  top: 15%;
  width: 86px;
  aspect-ratio: 1;
}

.signal-two {
  right: 10%;
  top: 8%;
  width: 142px;
  aspect-ratio: 1;
  opacity: 0.68;
}

.signal-three {
  right: 6%;
  top: 1%;
  width: 204px;
  aspect-ratio: 1;
  opacity: 0.42;
}

.events-panel {
  margin-top: 24px;
}

.event-count {
  color: var(--muted);
  font-weight: 850;
}

.calendar-icon {
  border: 3px solid currentColor;
  border-radius: 7px;
}

.calendar-icon::before,
.calendar-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.calendar-icon::before {
  top: 6px;
  right: 3px;
  left: 3px;
  height: 3px;
  border-radius: 999px;
}

.calendar-icon::after {
  right: 6px;
  bottom: 5px;
  left: 6px;
  height: 10px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px, transparent 12px 16px, currentColor 16px),
    linear-gradient(180deg, currentColor 0 4px, transparent 4px 7px, currentColor 7px);
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 7px 18px rgba(9, 35, 68, 0.05);
}

html[data-pz-theme="night"] .event-item {
  border-color: rgba(92, 188, 255, 0.16);
  background: #0d1d30;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.event-item[open] {
  border-color: rgba(8, 142, 231, 0.4);
  box-shadow: 0 10px 22px rgba(9, 34, 67, 0.1);
}

.event-item summary {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 42px;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.event-item summary::-webkit-details-marker {
  display: none;
}

.event-item summary::marker {
  content: "";
}

.event-item summary:focus-visible {
  outline: 3px solid rgba(8, 142, 231, 0.32);
  outline-offset: -3px;
}

.event-date {
  display: grid;
  min-width: 0;
  place-items: center;
}

.event-date time {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--blue-dark);
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 7px 16px rgba(9, 34, 67, 0.14);
  text-align: center;
}

.event-date strong {
  margin-top: 8px;
  font-size: 1.9rem;
  line-height: 0.9;
}

.event-date span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-summary {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.event-summary strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  line-height: 1.15;
}

.event-summary span {
  color: var(--muted);
  font-weight: 750;
}

.event-toggle {
  position: relative;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border: 1px solid #c8d9e8;
  border-radius: 50%;
  background: #fff;
}

html[data-pz-theme="night"] .event-toggle {
  border-color: rgba(92, 188, 255, 0.28);
  background: rgba(92, 188, 255, 0.1);
}

.event-toggle::before,
.event-toggle::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-dark);
  transition: transform 180ms ease;
}

.event-toggle::after {
  transform: rotate(90deg);
}

.event-item[open] .event-toggle::after {
  transform: rotate(0deg);
}

.event-detail {
  display: block;
  padding: 0 18px 18px 128px;
}

.poster-kicker {
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-poster {
  position: relative;
  display: grid;
  min-height: clamp(360px, 42vw, 520px);
  overflow: hidden;
  align-content: end;
  gap: 8px;
  padding: 24px;
  border: 8px solid #0d1727;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(8, 28, 55, 0.2);
  isolation: isolate;
}

.event-poster::before,
.event-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.event-poster::after {
  display: none;
}

.event-poster strong {
  max-width: 9ch;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.38);
}

.event-poster > span:last-child {
  font-size: 1.06rem;
  font-weight: 900;
}

.poster-meeting::before {
  background:
    linear-gradient(88deg, transparent 53%, #22394e 53.6% 55%, transparent 55.5%),
    radial-gradient(circle at 18% 88%, #295a2d 0 22%, transparent 23%),
    radial-gradient(circle at 86% 80%, #f5b51b 0 10%, transparent 11%),
    linear-gradient(180deg, #78bfff 0 58%, #5f9343 59%);
}

.poster-market::before {
  background:
    radial-gradient(circle at 72% 28%, #ffd95c 0 8%, transparent 9%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 10px, transparent 11px 28px),
    linear-gradient(135deg, #0b2442 0 36%, #0876bf 37% 64%, #f20e22 65%);
}

.poster-winter::before {
  background:
    radial-gradient(circle at 74% 20%, #f7d86b 0 7%, transparent 8%),
    linear-gradient(88deg, transparent 48%, #10233a 48.6% 50%, transparent 50.6%),
    radial-gradient(circle at 25% 86%, #1e3a2b 0 22%, transparent 23%),
    linear-gradient(180deg, #10213f 0 65%, #dfefff 66%);
}

.poster-studio::before {
  background:
    radial-gradient(circle at 55% 45%, #0d1727 0 13%, transparent 14%),
    repeating-radial-gradient(circle at 55% 45%, transparent 0 34px, rgba(255, 255, 255, 0.3) 35px 38px),
    linear-gradient(135deg, #f20e22 0 38%, #071d3c 39% 70%, #078ce6 71%);
}

.poster-antenna::before {
  background:
    linear-gradient(88deg, transparent 50%, #152838 50.6% 52%, transparent 52.5%),
    linear-gradient(120deg, transparent 49%, rgba(21, 40, 56, 0.82) 49.5% 50.4%, transparent 51%),
    linear-gradient(60deg, transparent 49%, rgba(21, 40, 56, 0.82) 49.5% 50.4%, transparent 51%),
    radial-gradient(circle at 20% 85%, #2a5f36 0 21%, transparent 22%),
    linear-gradient(180deg, #61aef2 0 72%, #cfeaff 73%);
}

.poster-kingsnight::before {
  background:
    radial-gradient(circle at 72% 22%, #ff8f2c 0 12%, transparent 13%),
    radial-gradient(circle at 32% 42%, #ffd95c 0 5%, transparent 6%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.12) 19px 21px),
    linear-gradient(135deg, #f20e22 0 36%, #ff8f2c 37% 58%, #071d3c 59%);
}

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

.websdr-shell {
  padding-bottom: 8px;
}

.websdr-panel {
  margin-top: 18px;
}

.websdr-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 18px;
}

.websdr-page-head h1 {
  margin: 0 0 6px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.websdr-page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 720;
  line-height: 1.36;
}

.receiver-icon {
  grid-row: 1 / span 2;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 10%, transparent 11%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 9px, #72d2ff 10px 13px, transparent 14px 18px);
}

.websdr-controls {
  margin: 18px 0 22px;
}

html[data-pz-theme="night"] .websdr-controls {
  color: var(--ink);
}

.websdr-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.websdr-chip {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 22px;
  color: #324965;
  background: #eef3f8;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

html[data-pz-theme="night"] .websdr-chip {
  color: #cfe0f3;
  background: rgba(237, 246, 255, 0.08);
}

.websdr-chip.is-active {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: none;
}

.receiver-list-icon {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.receiver-list-icon::before,
.receiver-list-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid currentColor;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.receiver-list-icon::after {
  inset: 10px;
  border-width: 0;
  background: currentColor;
}

.websdr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.websdr-directory {
  display: grid;
  gap: 22px;
}

.websdr-country-group.is-hidden {
  display: none;
}

.websdr-country-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.websdr-country-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.websdr-country-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.websdr-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 7px 18px rgba(9, 35, 68, 0.05);
}

html[data-pz-theme="night"] .websdr-list {
  border-color: rgba(92, 188, 255, 0.16);
  background: #0d1d30;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.websdr-receiver-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(118px, auto) 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  list-style: none;
}

.websdr-receiver + .websdr-receiver {
  border-top: 1px solid var(--line);
}

.websdr-receiver-row::-webkit-details-marker {
  display: none;
}

.websdr-receiver-row:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: -3px;
}

.websdr-receiver[open] .websdr-row-arrow {
  transform: rotate(180deg);
}

.websdr-receiver-row:hover,
.websdr-receiver-row:focus-visible,
.websdr-receiver[open] > .websdr-receiver-row {
  background: rgba(8, 142, 231, 0.1);
}

html[data-pz-theme="night"] .websdr-receiver + .websdr-receiver {
  border-top-color: rgba(92, 188, 255, 0.16);
}

html[data-pz-theme="night"] .websdr-receiver-row:hover,
html[data-pz-theme="night"] .websdr-receiver-row:focus-visible,
html[data-pz-theme="night"] .websdr-receiver[open] > .websdr-receiver-row {
  background: rgba(92, 188, 255, 0.13);
}

.websdr-row-flag {
  display: grid;
  place-items: center;
}

.websdr-row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.websdr-row-main strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.websdr-row-main span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.websdr-row-frequency {
  display: grid;
  justify-self: end;
  max-height: none;
  overflow: visible;
  color: #2b4563;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 13px;
  text-align: right;
}

.websdr-row-frequency > span {
  display: block;
}

html[data-pz-theme="night"] .websdr-row-frequency {
  color: #d5e5f7;
}

.websdr-row-arrow {
  grid-column: 4;
  justify-self: end;
  color: var(--blue-dark);
  font-weight: 900;
}

.websdr-flag {
  display: block;
  width: 26px;
  aspect-ratio: 1.42;
  overflow: hidden;
  border: 1px solid rgba(6, 32, 62, 0.12);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.flag-netherlands {
  background: linear-gradient(180deg, #d71920 0 33%, #fff 33% 66%, #174ea6 66%);
}

.flag-belgium {
  background: linear-gradient(90deg, #111 0 33%, #ffd333 33% 66%, #d71920 66%);
}

.flag-spain {
  background: linear-gradient(180deg, #c61524 0 25%, #ffd333 25% 75%, #c61524 75%);
}

.flag-germany {
  background: linear-gradient(180deg, #111 0 33%, #d71920 33% 66%, #ffd333 66%);
}

.websdr-detail-content {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
}

.websdr-detail-meta {
  display: grid;
  gap: 0;
  margin: 0;
}

.websdr-detail-meta div {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #e5edf5;
}

html[data-pz-theme="night"] .websdr-detail-meta div {
  border-top-color: rgba(92, 188, 255, 0.16);
}

.websdr-detail-meta dt {
  color: #63718a;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

html[data-pz-theme="night"] .websdr-detail-meta dt {
  color: #9fb4cc;
}

.websdr-detail-meta dd {
  display: grid;
  gap: 3px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.websdr-detail-meta dd span {
  display: block;
}

.websdr-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #e7f5ff;
  font-size: 0.86rem;
  font-weight: 900;
}

html[data-pz-theme="night"] .websdr-link {
  color: #dff2ff;
  background: rgba(92, 188, 255, 0.14);
}

.schematheek-shell {
  padding-bottom: 8px;
}

.schematheek-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(300px, 31vw, 390px);
  overflow: hidden;
  align-items: center;
  gap: 28px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 13, 31, 0.98) 0 40%, rgba(5, 20, 45, 0.82) 67%, rgba(5, 14, 32, 0.34)),
    radial-gradient(circle at 78% 30%, rgba(255, 217, 92, 0.42), transparent 18%),
    radial-gradient(circle at 62% 76%, rgba(242, 14, 34, 0.34), transparent 24%),
    linear-gradient(160deg, #041026 0 34%, #123a61 52%, #0c7f68 69%, #061126 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.schematheek-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
}

.schematheek-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  background:
    linear-gradient(180deg, transparent, rgba(1, 9, 21, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 9%, rgba(0, 0, 0, 0.3) 9.2% 10.5%);
  clip-path: polygon(0 64%, 12% 58%, 22% 70%, 36% 52%, 50% 64%, 64% 48%, 76% 61%, 88% 43%, 100% 58%, 100% 100%, 0 100%);
}

.schematheek-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.schematheek-kicker {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #072347;
  background: #ffd95c;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.schematheek-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.schematheek-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  font-weight: 780;
  line-height: 1.36;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.36);
}

.schematheek-stack {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(168px, 18vw, 226px);
  min-height: 166px;
  align-content: end;
  justify-items: center;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 217, 92, 0.6);
  border-radius: 8px;
  background: rgba(7, 52, 91, 0.76);
  box-shadow: 0 14px 28px rgba(2, 11, 24, 0.24);
  backdrop-filter: blur(8px);
}

.schematheek-stack strong {
  position: relative;
  z-index: 3;
  margin-top: 86px;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}

.schematheek-stack > span:last-child {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.schematheek-folder {
  position: absolute;
  width: 118px;
  height: 72px;
  border: 3px solid #071d3c;
  border-radius: 8px;
  background: #ffd95c;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.schematheek-folder::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 12px;
  width: 44px;
  height: 16px;
  border: 3px solid #071d3c;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: inherit;
}

.folder-one {
  top: 22px;
  transform: rotate(-8deg);
}

.folder-two {
  top: 36px;
  background: #dff0ff;
  transform: rotate(4deg);
}

.folder-three {
  top: 50px;
  background: #f20e22;
  transform: rotate(-2deg);
}

.schematheek-mast {
  position: absolute;
  right: clamp(120px, 25vw, 330px);
  bottom: 0;
  z-index: 1;
  width: 90px;
  height: 88%;
  opacity: 0.38;
  background:
    linear-gradient(74deg, transparent 47%, rgba(14, 27, 45, 0.92) 48% 52%, transparent 53%),
    linear-gradient(106deg, transparent 47%, rgba(14, 27, 45, 0.92) 48% 52%, transparent 53%),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(36, 68, 103, 0.82) 35px 39px, transparent 40px 74px);
  clip-path: polygon(48% 0, 56% 0, 100% 100%, 0 100%);
}

.schematheek-mast span {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 154px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%) rotate(12deg);
}

.schematheek-panel {
  margin-top: 24px;
}

.library-icon {
  border: 3px solid currentColor;
  border-radius: 4px;
}

.library-icon::before,
.library-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
}

.library-icon::before {
  left: 8px;
}

.library-icon::after {
  right: 8px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.library-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 38px;
  gap: 14px;
  min-height: 188px;
  align-items: start;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    var(--accent, #dff0ff);
  box-shadow: 0 7px 18px rgba(9, 35, 68, 0.05);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

html[data-pz-theme="night"] .library-card,
html[data-pz-theme="night"] .pzst-folder-card,
html[data-pz-theme="night"] .pzst-file-card {
  border-color: rgba(92, 188, 255, 0.16);
  color: #e7f1ff;
  background:
    linear-gradient(180deg, rgba(13, 29, 48, 0.96), rgba(9, 23, 39, 0.96)),
    var(--accent, #0d1d30);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.library-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent, var(--blue-dark));
}

.library-card:hover,
.library-card:focus-visible {
  box-shadow: 0 14px 30px rgba(8, 63, 111, 0.13);
  transform: translateY(-2px);
}

.library-card:focus-visible {
  outline: 3px solid rgba(8, 142, 231, 0.28);
  outline-offset: 3px;
}

.library-card-icon {
  position: relative;
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent, var(--blue-dark));
  box-shadow: 0 8px 18px rgba(8, 47, 82, 0.18);
}

.library-card-icon::before,
.library-card-icon::after {
  content: "";
  position: absolute;
}

.library-card-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.library-label {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--accent-dark, #0574bd);
  background: #f4f9fe;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

html[data-pz-theme="night"] .library-label,
html[data-pz-theme="night"] .library-open {
  color: #dff2ff;
  background: rgba(92, 188, 255, 0.12);
}

.library-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.library-card-body span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
}

html[data-pz-theme="night"] .library-card-body span:last-child,
html[data-pz-theme="night"] .pzst-folder-card span,
html[data-pz-theme="night"] .pzst-file-card strong,
html[data-pz-theme="night"] .pzst-breadcrumb,
html[data-pz-theme="night"] .pzst-lightbox-dialog p {
  color: #c8d9ec;
}

.library-open {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  color: var(--accent-dark, var(--blue-dark));
  background: #f4f9fe;
  font-size: 1.2rem;
  font-weight: 950;
}

html[data-pz-theme="night"] .pzst-thumb {
  background: rgba(237, 246, 255, 0.08);
}

html[data-pz-theme="night"] .pzst-document-icon {
  border-color: rgba(92, 188, 255, 0.42);
  background:
    linear-gradient(135deg, #10263f 0 74%, rgba(92, 188, 255, 0.18) 75%);
}

html[data-pz-theme="night"] .pzst-empty {
  border-color: rgba(92, 188, 255, 0.2);
  background: rgba(13, 29, 48, 0.9);
  color: #c8d9ec;
}

html[data-pz-theme="night"] .pzst-lightbox-dialog {
  background: #0d1d30;
}

.library-antennas {
  --accent: #078ce6;
  --accent-dark: #0574bd;
}

.library-datasheets {
  --accent: #f20e22;
  --accent-dark: #bc0d1b;
}

.library-misc {
  --accent: #2d9b6f;
  --accent-dark: #1d7651;
}

.library-pll {
  --accent: #ffd95c;
  --accent-dark: #7b5a00;
}

.library-rds {
  --accent: #8b5cf6;
  --accent-dark: #6540c5;
}

.library-stereo {
  --accent: #ff8f2c;
  --accent-dark: #b9560f;
}

.library-transmitters {
  --accent: #071d3c;
  --accent-dark: #071d3c;
}

.library-antennas .library-card-icon::before {
  bottom: 9px;
  left: 50%;
  width: 4px;
  height: 32px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.library-antennas .library-card-icon::after {
  top: 15px;
  left: 11px;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 11px 0 currentColor;
}

.library-datasheets .library-card-icon::before {
  inset: 12px 14px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.library-datasheets .library-card-icon::after {
  inset: 20px 18px auto;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor;
}

.library-misc .library-card-icon::before {
  inset: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.library-misc .library-card-icon::after {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-35deg);
}

.library-pll .library-card-icon::before {
  inset: 12px;
  border: 3px solid #071d3c;
  border-radius: 50%;
}

.library-pll .library-card-icon::after {
  inset: 24px 10px auto;
  height: 4px;
  border-radius: 999px;
  background: #071d3c;
  box-shadow: 0 -9px 0 -1px #071d3c, 0 9px 0 -1px #071d3c;
}

.library-rds .library-card-icon::before {
  inset: 14px 10px;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

.library-rds .library-card-icon::after {
  inset: 24px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 12px 0 0 -1px currentColor, -12px 0 0 -1px currentColor;
}

.library-stereo .library-card-icon::before {
  left: 13px;
  bottom: 11px;
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 18px 0 0 currentColor;
}

.library-stereo .library-card-icon::after {
  left: 11px;
  right: 11px;
  bottom: 9px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.library-transmitters .library-card-icon::before {
  inset: 13px 16px;
  border: 3px solid currentColor;
  border-bottom-width: 8px;
  border-radius: 4px;
}

.library-transmitters .library-card-icon::after {
  top: 12px;
  left: 50%;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow: -9px 8px 0 -1px currentColor, 9px 8px 0 -1px currentColor;
}

.friends-shell {
  padding-bottom: 8px;
}

.friends-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(300px, 31vw, 390px);
  overflow: hidden;
  align-items: center;
  gap: 28px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 13, 31, 0.98) 0 39%, rgba(5, 18, 43, 0.78) 66%, rgba(5, 14, 32, 0.28)),
    radial-gradient(circle at 80% 28%, rgba(255, 217, 92, 0.42), transparent 18%),
    radial-gradient(circle at 66% 74%, rgba(242, 14, 34, 0.32), transparent 24%),
    linear-gradient(160deg, #041026 0 34%, #10335b 52%, #2d9b6f 70%, #061126 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.friends-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, transparent);
}

.friends-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  background:
    linear-gradient(180deg, transparent, rgba(1, 9, 21, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 10%, rgba(0, 0, 0, 0.32) 10.2% 11.5%);
  clip-path: polygon(0 64%, 10% 58%, 21% 68%, 34% 52%, 49% 64%, 63% 48%, 75% 61%, 88% 43%, 100% 58%, 100% 100%, 0 100%);
}

.friends-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.friends-kicker,
.friends-cta-label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #072347;
  background: #ffd95c;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.friends-hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.friends-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  font-weight: 780;
  line-height: 1.36;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.36);
}

.friends-board {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(176px, 19vw, 244px);
  min-height: 172px;
  align-content: end;
  justify-items: center;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 217, 92, 0.6);
  border-radius: 8px;
  background: rgba(7, 52, 91, 0.78);
  box-shadow: 0 14px 28px rgba(2, 11, 24, 0.24);
  backdrop-filter: blur(8px);
}

.friends-board strong {
  position: relative;
  z-index: 3;
  margin-top: 92px;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}

.friends-board > span:last-child {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.friends-board-row {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 30px;
  border: 3px solid #071d3c;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 24%),
    var(--banner-color, #dff0ff);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.18);
}

.row-one {
  --banner-color: #ffd95c;
  top: 25px;
  transform: rotate(-4deg);
}

.row-two {
  --banner-color: #dff0ff;
  top: 60px;
  transform: rotate(3deg);
}

.row-three {
  --banner-color: #f20e22;
  top: 95px;
  transform: rotate(-1deg);
}

.friends-mast {
  position: absolute;
  right: clamp(120px, 25vw, 330px);
  bottom: 0;
  z-index: 1;
  width: 90px;
  height: 88%;
  opacity: 0.34;
  background:
    linear-gradient(74deg, transparent 47%, rgba(14, 27, 45, 0.92) 48% 52%, transparent 53%),
    linear-gradient(106deg, transparent 47%, rgba(14, 27, 45, 0.92) 48% 52%, transparent 53%),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(36, 68, 103, 0.82) 35px 39px, transparent 40px 74px);
  clip-path: polygon(48% 0, 56% 0, 100% 100%, 0 100%);
}

.friends-mast span {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 154px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%) rotate(12deg);
}

.friends-panel {
  margin-top: 24px;
}

.friends-icon {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.friends-icon::before,
.friends-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: currentColor;
}

.friends-icon::before {
  top: 5px;
  left: 50%;
  width: 8px;
  aspect-ratio: 1;
  transform: translateX(-50%);
}

.friends-icon::after {
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 9px;
  border-radius: 9px 9px 4px 4px;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.friend-banner {
  --accent: var(--blue-dark);
  --accent-dark: #071d3c;
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 36px;
  gap: 14px;
  min-height: 132px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 13, 31, 0.94), rgba(4, 13, 31, 0.62)),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 7px 18px rgba(9, 35, 68, 0.05);
  isolation: isolate;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.friend-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.16) 21px 24px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.44), transparent 18%);
}

.friend-banner:hover,
.friend-banner:focus-visible {
  box-shadow: 0 14px 30px rgba(8, 63, 111, 0.16);
  transform: translateY(-2px);
}

.friend-banner:focus-visible {
  outline: 3px solid rgba(8, 142, 231, 0.32);
  outline-offset: 3px;
}

.friend-banner-art {
  position: relative;
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(7, 29, 60, 0.24);
}

.friend-banner-art::before,
.friend-banner-art::after {
  content: "";
  position: absolute;
}

.friend-banner-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.friend-banner-copy span {
  color: #ffd95c;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.friend-banner-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.32);
}

.friend-banner-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.24;
}

.friend-banner-arrow {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  color: #071d3c;
  background: #fff;
  font-weight: 950;
}

.friend-calypso {
  --accent: #078ce6;
  --accent-dark: #064c91;
}

.friend-bollie {
  --accent: #f20e22;
  --accent-dark: #7d0710;
}

.friend-bandieten {
  --accent: #2d9b6f;
  --accent-dark: #164f3b;
}

.friend-studio {
  --accent: #8b5cf6;
  --accent-dark: #34206b;
}

.friend-antenne {
  --accent: #ff8f2c;
  --accent-dark: #783804;
}

.friend-records {
  --accent: #071d3c;
  --accent-dark: #020b18;
}

.friend-fmshop {
  --accent: #ffd95c;
  --accent-dark: #6a4d00;
}

.friend-live {
  --accent: #0c7f68;
  --accent-dark: #07392f;
}

.friend-open {
  --accent: #dff0ff;
  --accent-dark: #078ce6;
  color: #071d3c;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.friend-open .friend-banner-copy span,
.friend-open .friend-banner-copy small {
  color: #35506f;
}

.friend-open .friend-banner-copy strong {
  color: #071d3c;
  text-shadow: none;
}

.friend-open .friend-banner-arrow {
  color: #fff;
  background: var(--blue-dark);
}

.friend-calypso .friend-banner-art::before,
.friend-live .friend-banner-art::before {
  inset: 14px;
  border: 4px solid currentColor;
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

.friend-calypso .friend-banner-art::after,
.friend-live .friend-banner-art::after {
  inset: 32px;
  border-radius: 50%;
  background: currentColor;
}

.friend-bollie .friend-banner-art::before,
.friend-bandieten .friend-banner-art::before {
  bottom: 12px;
  left: 50%;
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.friend-bollie .friend-banner-art::after,
.friend-bandieten .friend-banner-art::after {
  top: 18px;
  left: 16px;
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 14px 0 currentColor;
}

.friend-studio .friend-banner-art::before,
.friend-records .friend-banner-art::before {
  inset: 16px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.friend-studio .friend-banner-art::after,
.friend-records .friend-banner-art::after {
  inset: 29px;
  border-radius: 50%;
  background: currentColor;
}

.friend-antenne .friend-banner-art::before,
.friend-fmshop .friend-banner-art::before {
  inset: 16px 24px;
  border: 4px solid currentColor;
  border-bottom-width: 12px;
  border-radius: 5px;
}

.friend-antenne .friend-banner-art::after,
.friend-fmshop .friend-banner-art::after {
  top: 13px;
  left: 50%;
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow: -13px 10px 0 -1px currentColor, 13px 10px 0 -1px currentColor;
}

.friend-open .friend-banner-art::before {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue-dark);
}

.friend-open .friend-banner-art::after {
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue-dark);
}

.friends-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(8, 142, 231, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 92% 20%, rgba(255, 217, 92, 0.38), transparent 18%),
    #fff;
  box-shadow: var(--soft-shadow);
}

.friends-cta h2 {
  max-width: 820px;
  margin: 13px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.friends-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

article.single-post {
  padding: clamp(18px, 3.4vw, 36px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

html[data-pz-theme="night"] article.single-post {
  border: 1px solid rgba(92, 188, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 33, 54, 0.96), rgba(10, 24, 40, 0.96)),
    var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.post-date {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #0574bd;
  background: #dff0ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

html[data-pz-theme="night"] .post-date {
  color: #dff2ff;
  background: rgba(92, 188, 255, 0.18);
}

.article-header h1 {
  max-width: 840px;
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-intro {
  max-width: 760px;
  margin: 0;
  color: #263d5d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

html[data-pz-theme="night"] .article-intro {
  color: #c7d8ed;
}

.share-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.share-tools a,
.share-tools button {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.share-tools a:nth-child(2) {
  background: #065fb8;
}

.share-tools button {
  color: var(--ink);
  background: #edf6ff;
}

html[data-pz-theme="night"] .share-tools button {
  color: #edf5ff;
  background: rgba(237, 246, 255, 0.12);
}

.share-tools svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.article-hero-media,
.gallery-item,
.video-preview {
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}

.article-hero-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(9, 35, 68, 0.12);
}

.article-photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background-color: #9bcdfb;
  isolation: isolate;
}

.article-hero-media .article-photo {
  aspect-ratio: 16 / 9;
}

.article-featured-image {
  position: relative;
  width: 100%;
  height: clamp(220px, 30vw, 390px);
  margin-inline: 0;
  background: #0a1b2d;
  isolation: isolate;
}

.article-featured-image img {
  display: block;
}

.article-featured-backdrop {
  position: absolute;
  inset: -24px;
  z-index: 0;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  filter: blur(22px) saturate(0.78);
  opacity: 0.62;
  transform: scale(1.04);
}

.article-featured-foreground {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-mast {
  background:
    linear-gradient(88deg, transparent 49.4%, #1b2a36 49.8% 50.4%, transparent 50.8%),
    linear-gradient(62deg, transparent 48.8%, rgba(22, 39, 50, 0.92) 49.2% 50%, transparent 50.4%),
    linear-gradient(118deg, transparent 49%, rgba(22, 39, 50, 0.88) 49.4% 50.1%, transparent 50.5%),
    radial-gradient(circle at 9% 92%, #173922 0 18%, transparent 19%),
    radial-gradient(circle at 18% 84%, #244d2d 0 19%, transparent 20%),
    radial-gradient(circle at 86% 88%, #315b31 0 20%, transparent 21%),
    radial-gradient(circle at 96% 82%, #1c4429 0 18%, transparent 19%),
    linear-gradient(180deg, #72bcff 0 72%, #d9efff 73%);
}

.single-mast::before {
  content: "";
  position: absolute;
  top: 7%;
  left: 50%;
  width: 18px;
  height: 70%;
  background:
    repeating-linear-gradient(180deg, #102333 0 18px, #e9eef3 19px 24px, #102333 25px 42px);
  transform: translateX(-50%);
}

.single-mast::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 43%;
  width: 14%;
  height: 3px;
  background: #152838;
  box-shadow: 0 86px 0 rgba(21, 40, 56, 0.88);
}

.single-bus {
  background:
    radial-gradient(circle at 34% 80%, #121820 0 7%, #e9eef5 7.4% 10%, transparent 10.4%),
    radial-gradient(circle at 65% 80%, #121820 0 7%, #e9eef5 7.4% 10%, transparent 10.4%),
    linear-gradient(90deg, transparent 0 20%, #233342 21% 75%, transparent 76%),
    linear-gradient(180deg, transparent 0 46%, #f4f6f7 47% 70%, #172637 71% 80%, transparent 81%),
    linear-gradient(88deg, transparent 50%, #273846 50.5% 51.5%, transparent 52%),
    radial-gradient(circle at 18% 90%, #346233 0 24%, transparent 25%),
    linear-gradient(180deg, #78bfff 0 58%, #7ab65a 59%);
}

.single-bus::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 23%;
  width: 50%;
  height: 15%;
  border-radius: 4px 12px 2px 2px;
  background:
    linear-gradient(90deg, #243c56 0 28%, #c8eaff 29% 68%, #243c56 69%),
    linear-gradient(#e9eff5, #e9eff5);
  box-shadow: 0 24px 0 #dae3ea;
}

.single-antenna {
  background:
    linear-gradient(90deg, transparent 13%, #1e2937 13.5% 15%, transparent 15.5%),
    linear-gradient(90deg, transparent 49.2%, #1e2937 49.8% 50.5%, transparent 51%),
    linear-gradient(90deg, transparent 84%, #1e2937 84.5% 86%, transparent 86.5%),
    linear-gradient(180deg, transparent 35%, #1e2937 35.5% 37%, transparent 37.5%),
    linear-gradient(180deg, transparent 54%, #1e2937 54.5% 56%, transparent 56.5%),
    linear-gradient(180deg, #277fd1 0, #80c7ff 74%, #d9f1ff 100%);
}

.single-antenna::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 49.2%;
  width: 13px;
  height: 76%;
  background:
    repeating-linear-gradient(180deg, #dfedf7 0 20px, #ad3d33 21px 35px, #dfedf7 36px 56px);
}

.single-video {
  background:
    linear-gradient(88deg, transparent 58%, #172a3a 58.5% 59.5%, transparent 60%),
    radial-gradient(circle at 15% 88%, #254d2c 0 24%, transparent 25%),
    radial-gradient(circle at 31% 82%, #173720 0 20%, transparent 21%),
    linear-gradient(180deg, #54aefa 0 68%, #9bcf72 69%);
}

.single-video-night {
  background:
    linear-gradient(88deg, transparent 58%, #0b1625 58.5% 59.5%, transparent 60%),
    radial-gradient(circle at 72% 24%, #f5d66d 0 4%, transparent 5%),
    radial-gradient(circle at 12% 84%, #122417 0 23%, transparent 24%),
    radial-gradient(circle at 33% 89%, #1a3820 0 19%, transparent 20%),
    linear-gradient(180deg, #10213f 0 68%, #365c31 69%);
}

.single-video-bus {
  background:
    radial-gradient(circle at 33% 78%, #0d1520 0 7%, #f4f7fb 7.4% 10%, transparent 10.4%),
    radial-gradient(circle at 68% 78%, #0d1520 0 7%, #f4f7fb 7.4% 10%, transparent 10.4%),
    linear-gradient(180deg, transparent 0 45%, #f5f8fb 46% 68%, #1f3247 69% 80%, transparent 81%),
    linear-gradient(88deg, transparent 52%, #213241 52.5% 53.5%, transparent 54%),
    radial-gradient(circle at 12% 88%, #2c572f 0 24%, transparent 25%),
    linear-gradient(180deg, #6fbcff 0 58%, #76af55 59%);
}

.article-layout {
  margin-top: 28px;
}

.article-content {
  min-width: 0;
}

.article-content p {
  margin: 0 0 20px;
  color: #2d3e58;
  font-size: 1.05rem;
  line-height: 1.7;
}

html[data-pz-theme="night"] .article-content,
html[data-pz-theme="night"] .page-content {
  color: #d8e6f6;
}

html[data-pz-theme="night"] .article-content p {
  color: #d8e6f6;
}

.modern-quote {
  position: relative;
  margin: 28px 0;
  padding: clamp(24px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid #d2e5f6;
  border-left: 6px solid var(--blue-dark);
  border-radius: 8px;
  background: #f3f9ff;
  box-shadow: 0 8px 20px rgba(10, 45, 82, 0.06);
}

html[data-pz-theme="night"] .modern-quote {
  border-color: rgba(92, 188, 255, 0.24);
  border-left-color: var(--blue-dark);
  background: rgba(7, 18, 32, 0.78);
}

html[data-pz-theme="night"] .modern-quote p {
  color: #eef7ff;
}

.modern-quote > span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 4rem;
  font-weight: 950;
  line-height: 0.72;
}

.modern-quote p {
  margin: 0 0 12px;
  color: #09274e;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-style: italic;
  font-weight: 720;
  line-height: 1.45;
}

.modern-quote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.media-section {
  margin: 24px 0;
  padding: clamp(18px, 3vw, 28px);
}

html[data-pz-theme="night"] .article-section-heading h2 {
  color: #f4f9ff;
}

html[data-pz-theme="night"] .article-section-heading span {
  color: #a9bdd6;
}

.article-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.article-section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  line-height: 1.1;
}

.article-section-heading span {
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.post-gallery .attachment-card {
  overflow: hidden;
  border-radius: 8px;
}

.post-gallery .attachment-card img {
  border-radius: 8px 8px 0 0;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: #dbeaf7;
  box-shadow: 0 6px 16px rgba(9, 35, 68, 0.08);
}

.gallery-item .article-photo {
  aspect-ratio: 1;
  transition: transform 220ms ease;
}

.gallery-item:hover .article-photo,
.article-hero-media:hover .article-photo,
.video-preview:hover .article-photo {
  transform: scale(1.035);
}

.video-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: visible;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.video-preview video {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(9, 35, 68, 0.12);
}

.video-preview .attachment-caption {
  padding: 10px 2px 0;
  color: var(--muted);
  background: transparent;
}

.video-preview .article-photo {
  aspect-ratio: 16 / 9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(64px, 12vw, 92px);
  aspect-ratio: 1;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(7, 29, 60, 0.32);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

.video-play::before {
  content: "";
  margin-left: 6px;
  border-block: 16px solid transparent;
  border-left: 24px solid #fff;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
}

.video-controls::before {
  content: "";
  position: absolute;
  top: -11px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.video-controls span:last-child {
  justify-self: end;
  width: 24px;
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 4px;
}

.video-grid .video-play {
  width: clamp(56px, 7vw, 74px);
}

.video-grid .video-play::before {
  border-block-width: 12px;
  border-left-width: 18px;
}

.video-grid .video-controls {
  right: 10px;
  bottom: 10px;
  left: 10px;
  font-size: 0.78rem;
}

.video-grid .video-controls span:last-child {
  width: 20px;
  border-width: 2px;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.media-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 11, 24, 0.82);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-stage {
  overflow: hidden;
  border-radius: 8px;
  background: #071d3c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.lightbox-stage img,
.lightbox-stage video,
.lightbox-stage iframe {
  display: block;
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
}

.lightbox-stage iframe {
  height: min(78vh, 760px);
  border: 0;
  background: #fff;
}

.lightbox-stage .article-photo {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.lightbox-video-fallback {
  position: relative;
}

.lightbox-video-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 43%, #fff 44% 62%, transparent 63%) center / 34px 34px no-repeat,
    rgba(8, 34, 70, 0.36);
  transform: translate(-50%, -50%);
}

#lightbox-caption {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(130px, 0.6fr));
  gap: 28px;
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.footer-brand p,
.footer-brand small,
.footer-links a {
  color: var(--muted);
}

.footer-brand .brand-mark {
  width: 58px;
}

.footer-brand p {
  margin: 8px 0 34px 72px;
  font-size: 0.9rem;
}

.footer-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px 24px;
}

.footer-links h2,
.socials h2 {
  flex-basis: 100%;
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.footer-links a {
  flex: 0 0 96px;
  font-size: 0.92rem;
}

.socials a {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 900;
}

@media (max-width: 1080px) {

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

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

  .websdr-layout {
    grid-template-columns: 1fr;
  }

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

  .event-detail {
    padding-left: 18px;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 18px, 1280px);
  }

  .brand-text {
    white-space: normal;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .events-hero {
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .schematheek-hero {
    grid-template-columns: 1fr;
    min-height: 500px;
    align-items: start;
  }

  .friends-hero {
    grid-template-columns: 1fr;
    min-height: 500px;
    align-items: start;
  }

  .schematheek-stack {
    justify-self: start;
  }

  .friends-board {
    justify-self: start;
  }

  .schematheek-mast {
    right: 10%;
    height: 68%;
    opacity: 0.28;
  }

  .friends-mast {
    right: 10%;
    height: 68%;
    opacity: 0.28;
  }

  .hero-content {
    align-self: start;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .events-hero-visual {
    min-height: 220px;
  }

  .on-air {
    top: 12%;
    right: 8%;
  }

  .events-ticket {
    right: 8%;
    bottom: 22%;
  }

  .tower-large {
    left: 25%;
  }

  .stream-grid,
  .news-grid,
  .friends-grid,
  .library-grid,
  .cta-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .friends-cta {
    grid-template-columns: 1fr;
  }

  .websdr-controls {
    margin-bottom: 18px;
  }

  .websdr-page-head {
    grid-template-columns: 1fr;
  }

  .websdr-receiver-row {
    grid-template-columns: 28px minmax(0, 1fr) 22px;
    gap: 10px;
  }

  .websdr-row-frequency {
    grid-column: 2 / 4;
    justify-self: start;
    text-align: left;
  }

  .websdr-row-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .websdr-detail-meta div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .websdr-filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .websdr-chip {
    flex: 0 0 auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading a {
    white-space: normal;
  }

  .event-item summary {
    grid-template-columns: 72px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 14px;
  }

  .event-date time {
    width: 66px;
  }

  .event-date strong {
    font-size: 1.55rem;
  }

  .event-detail {
    padding: 0 14px 14px;
  }

  .event-poster {
    min-height: 320px;
  }

  article.single-post {
    padding: 16px;
  }

  .article-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .share-tools {
    order: -1;
    justify-content: flex-end;
  }

  .post-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

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

  .article-content p {
    font-size: 1rem;
  }

  .modern-quote {
    padding: 22px;
  }

  .lightbox-stage .article-photo {
    min-height: 220px;
  }

  .stream-card {
    grid-template-columns: 54px minmax(0, 1fr) 58px;
  }

  .stream-player {
    grid-template-columns: 48px minmax(0, 1fr) 46px;
    gap: 10px;
    padding: 10px 12px;
  }

  .player-controls {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: 46px;
    justify-content: end;
  }

  .volume-control {
    display: none;
  }

  .player-controls button {
    width: 46px;
  }

  .player-flag {
    width: 46px;
  }

  .player-kicker {
    font-size: 0.7rem;
  }

  .player-state strong {
    font-size: 1rem;
  }

  #player-pirate,
  #player-meta {
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .news-card h3,
  .news-card h2,
  .news-card p {
    min-height: 0;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .footer-brand p {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 46px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3rem);
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .section-panel {
    padding-inline: 12px;
  }

  .events-hero-content {
    padding-inline: 20px;
  }

  .schematheek-hero {
    min-height: 540px;
    padding: 28px 20px;
  }

  .friends-hero {
    min-height: 540px;
    padding: 28px 20px;
  }

  .schematheek-hero h1 {
    font-size: clamp(2.5rem, 15vw, 3.6rem);
  }

  .friends-hero h1 {
    font-size: clamp(2.5rem, 15vw, 3.6rem);
  }

  .websdr-page-head h1 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .websdr-receiver-row {
    padding-inline: 12px;
  }

  .websdr-detail-content {
    padding: 16px;
  }

  .library-card {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 12px;
    min-height: 176px;
    padding: 16px;
  }

  .friend-banner {
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 122px;
    padding: 14px;
  }

  .friend-banner-art {
    width: 54px;
  }

  .friend-calypso .friend-banner-art::before,
  .friend-live .friend-banner-art::before {
    inset: 10px;
    border-width: 3px;
  }

  .friend-calypso .friend-banner-art::after,
  .friend-live .friend-banner-art::after {
    inset: 22px;
  }

  .friend-bollie .friend-banner-art::before,
  .friend-bandieten .friend-banner-art::before {
    bottom: 10px;
    height: 30px;
    width: 4px;
  }

  .friend-bollie .friend-banner-art::after,
  .friend-bandieten .friend-banner-art::after {
    top: 14px;
    left: 12px;
    width: 28px;
    height: 4px;
    box-shadow: 0 11px 0 currentColor;
  }

  .friend-studio .friend-banner-art::before,
  .friend-records .friend-banner-art::before {
    inset: 12px;
    border-width: 3px;
  }

  .friend-studio .friend-banner-art::after,
  .friend-records .friend-banner-art::after {
    inset: 22px;
  }

  .friend-antenne .friend-banner-art::before,
  .friend-fmshop .friend-banner-art::before {
    inset: 12px 18px;
    border-width: 3px;
    border-bottom-width: 9px;
  }

  .friend-antenne .friend-banner-art::after,
  .friend-fmshop .friend-banner-art::after {
    top: 10px;
    height: 32px;
    width: 4px;
    box-shadow: -9px 8px 0 -1px currentColor, 9px 8px 0 -1px currentColor;
  }

  .friend-banner-copy strong {
    font-size: 1.05rem;
  }

  .friend-banner-copy small {
    font-size: 0.8rem;
  }

  .friend-banner-arrow {
    width: 32px;
  }

  .library-card-icon {
    width: 48px;
  }

  .events-hero h1 {
    font-size: clamp(2.3rem, 14vw, 3.2rem);
  }

  .flag {
    width: 42px;
  }

  .stream-card {
    grid-template-columns: 42px minmax(0, 1fr) 52px;
    gap: 10px;
    padding: 14px;
  }

  .stream-play {
    width: 52px;
  }

  .player-icon {
    width: 30px;
  }

  .player-links {
    padding-left: 52px;
  }

  .stream-player {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 9px;
    padding: 9px 10px;
  }

  .player-controls {
    grid-template-columns: 42px;
  }

  .player-controls button {
    width: 42px;
  }

  .player-flag {
    width: 42px;
  }

  .volume-control {
    display: none;
  }

  .player-state {
    gap: 1px;
  }

  .news-body {
    padding-inline: 16px;
  }

  .event-count {
    white-space: normal;
  }

  .event-item summary {
    grid-template-columns: 1fr 38px;
  }

  .event-date {
    grid-column: 1 / -1;
    place-items: start;
  }

  .event-summary strong {
    font-size: 1.08rem;
  }

  .event-poster {
    min-height: 285px;
    padding: 20px;
  }
}

/* PiratenzendersWP homepage variant - final overrides */
:root {
  --blue: #0588e8;
  --blue-dark: #0074d9;
  --ink: #071b3d;
  --muted: #52647d;
  --line: #d7e2ef;
  --page: #f4f9fd;
  --panel: #ffffff;
  --content: min(100% - 92px, 1168px);
  --shadow: 0 12px 30px rgba(8, 35, 69, 0.1);
  --soft-shadow: 0 8px 22px rgba(8, 35, 69, 0.07);
}

body {
  background: var(--page);
}

.icon-button {
  width: 38px;
  color: var(--ink);
}

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

.home-page > * {
  width: var(--content);
  margin-inline: auto;
}

.home-hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(430px, 44vw, 560px);
  margin-bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(2, 13, 31, 0.98) 0%, rgba(2, 13, 31, 0.96) 28%, rgba(2, 13, 31, 0.82) 43%, rgba(2, 13, 31, 0.46) 59%, rgba(2, 13, 31, 0.12) 76%, rgba(2, 13, 31, 0.02) 100%),
    var(--home-hero-bg, url("assets/home/hero-air.png")) right center / cover no-repeat,
    linear-gradient(120deg, #06182f, #10395f 55%, #ff8e3d);
  box-shadow: none;
}

.home-hero::after {
  display: none;
}

.home-hero-card {
  display: none !important;
}

.home-hero .hero-content {
  width: var(--content);
  max-width: none;
  margin-inline: auto;
  padding: clamp(72px, 7vw, 100px) 0 clamp(72px, 7vw, 96px);
}

.home-hero h1 {
  max-width: 610px;
  font-size: clamp(2.65rem, 5.2vw, 4.35rem);
  line-height: 0.98;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}

.home-hero h1 span {
  display: block;
  color: #10a7ff;
}

.home-hero p {
  max-width: 450px;
  margin: 20px 0 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 760;
}

.home-section {
  padding: 42px 0 32px;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  line-height: 1.08;
}

.home-section-heading p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.home-section-heading p span {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
  background: #12b76a;
}

.home-section-heading p b {
  width: 1px;
  min-height: 22px;
  background: var(--line);
}

.home-section-heading a {
  color: var(--blue-dark);
  font-weight: 830;
  white-space: nowrap;
}

.home-stream-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(199, 215, 233, 0.84);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(8, 35, 69, 0.05);
}

.home-listener-total {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: -8px 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-listener-total strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

html[data-pz-theme="night"] .home-stream-table-wrap {
  border-color: rgba(37, 64, 95, 0.92);
  background: rgba(16, 32, 51, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.home-stream-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.home-stream-table th {
  padding: 10px 22px;
  color: #536985;
  font-size: 0.74rem;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
}

html[data-pz-theme="night"] .home-stream-table th {
  color: #a7b8cf;
}

.home-stream-row.stream-card {
  display: table-row;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-stream-table td {
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.home-stream-table td:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
}

.home-stream-table strong {
  display: block;
  color: var(--ink);
  font-weight: 880;
  line-height: 1.2;
}

.home-stream-table small {
  display: block;
  color: #51647e;
  font-size: 0.94rem;
  line-height: 1.25;
}

.home-stream-frequency {
  display: flex;
  min-height: 44px;
  align-items: center;
}

html[data-pz-theme="night"] .home-stream-table small {
  color: #c1d0e2;
}

.home-stream-table .flag {
  flex: 0 0 44px;
  width: 44px;
}

.listener-count {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  vertical-align: -3px;
  margin-right: 9px;
  color: #62748d;
}

.listener-count svg {
  display: block;
  width: 100%;
  height: 100%;
}

html[data-pz-theme="night"] .listener-count {
  color: #a7b8cf;
}

.home-player-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-player-links .player-icon {
  width: 30px;
  border-radius: 6px;
  box-shadow: none;
}

.whatsapp-link {
  color: #fff;
  background: #13b85d;
  border-color: #13b85d;
  font-size: 0.78rem;
  font-weight: 950;
}

.home-stream-table .stream-play {
  width: 46px;
  margin-left: auto;
  box-shadow: 0 8px 18px rgba(0, 116, 217, 0.22);
}

.home-news-grid {
  gap: 24px;
}

.home-news-card {
  border: 0;
  box-shadow: 0 8px 22px rgba(8, 35, 69, 0.08);
}

.home-news-card .news-image {
  min-height: 184px;
}

.home-news-card .news-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 184px;
  object-fit: cover;
}

.home-news-card .news-image time {
  display: none;
}

.news-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
  color: #006ed1;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-meta span {
  color: #687994;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.home-news-card h3 {
  min-height: 2.2em;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.home-news-card p {
  min-height: 4.3em;
  margin-bottom: 6px;
}

.home-bottom-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: stretch;
  padding: 42px 0 52px;
}

.home-events,
.home-websdr-card {
  min-width: 0;
}

.home-events .home-section-heading {
  align-items: center;
  margin-bottom: 10px;
}

.home-events h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.62rem);
}

.home-event-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-event-list li {
  border-bottom: 1px solid var(--line);
}

.home-event-link {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  min-height: 61px;
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 6px;
  color: var(--ink);
  transition: background-color 160ms ease, transform 160ms ease;
}

.home-event-link:hover,
.home-event-link:focus-visible {
  background: rgba(0, 116, 217, 0.08);
  transform: translateX(3px);
}

.home-event-link:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

html[data-pz-theme="night"] .home-event-link:hover,
html[data-pz-theme="night"] .home-event-link:focus-visible {
  background: rgba(92, 188, 255, 0.1);
}

.home-event-list time {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  line-height: 1;
}

.home-event-list time strong {
  font-size: 1.55rem;
}

.home-event-list time span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.home-event-link > span strong,
.home-event-link > span small {
  display: block;
}

.home-event-link > span strong {
  font-size: 1rem;
  line-height: 1.2;
}

.home-event-link > span small {
  color: #52647d;
  font-size: 0.95rem;
}

.home-event-arrow {
  color: var(--blue-dark);
  font-size: 1.35rem;
  text-align: right;
}

.home-websdr-card {
  position: relative;
  min-height: 254px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 23, 42, 0.96), rgba(6, 23, 42, 0.42) 58%, rgba(6, 23, 42, 0.14)),
    var(--home-websdr-bg, url("assets/home/websdr-spectrum.png")) center / cover no-repeat,
    radial-gradient(circle at 78% 32%, rgba(0, 139, 255, 0.74), transparent 7%),
    radial-gradient(circle at 90% 62%, rgba(0, 139, 255, 0.42), transparent 9%),
    linear-gradient(135deg, #07182c, #0a3154 58%, #06172a);
  box-shadow: 0 12px 28px rgba(8, 35, 69, 0.14);
}

.home-websdr-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 58%;
  background: linear-gradient(90deg, #06172a 0 72%, rgba(6, 23, 42, 0.72) 88%, rgba(6, 23, 42, 0) 100%);
  pointer-events: none;
}

.home-websdr-card > div {
  position: relative;
  z-index: 2;
  width: min(57%, 360px);
  padding: 30px 34px;
}

.home-websdr-card h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1;
}

.home-websdr-card p {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.home-websdr-card .button {
  border-radius: 7px;
}

.site-footer {
  width: 100%;
  margin-top: 0;
  padding: 28px max(46px, calc((100vw - 1168px) / 2)) 34px;
  color: #eaf4ff;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 136, 232, 0.18), transparent 22%),
    #06182d;
}

.footer-brand p,
.footer-brand small,
.footer-links a {
  color: #b9c9dd;
}

.footer-links h2,
.socials h2 {
  color: #fff;
}

@media (max-width: 1080px) {
  :root {
    --content: min(100% - 42px, 1168px);
  }

  .home-hero .hero-content {
    width: var(--content);
  }

  .home-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-websdr-card > div {
    width: min(70%, 420px);
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 22px, 1168px);
  }

  .home-hero {
    min-height: clamp(340px, 48vh, 440px);
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(2, 13, 31, 0.96) 0%, rgba(2, 13, 31, 0.88) 38%, rgba(2, 13, 31, 0.44) 68%, rgba(2, 13, 31, 0.12) 100%),
      var(--home-hero-bg, url("assets/home/hero-air.png")) center bottom / cover no-repeat;
  }

  .home-hero .hero-content {
    align-self: start;
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }

  .home-hero p {
    max-width: 340px;
    margin-bottom: 0;
    font-size: 1rem;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-section-heading a {
    white-space: normal;
  }

  .home-stream-table-wrap {
    overflow: visible;
    margin-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-stream-table,
  .home-stream-table thead,
  .home-stream-table tbody,
  .home-stream-table tr,
  .home-stream-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .home-stream-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-stream-row.stream-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    grid-template-areas:
      "station play"
      "frequency frequency"
      "listeners listeners"
      "links links";
    gap: 14px 16px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel);
    box-shadow: 0 8px 22px rgba(8, 35, 69, 0.07);
  }

  .home-stream-table td {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .home-stream-table td::before {
    display: block;
    margin-bottom: 4px;
    color: #657891;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
  }

  html[data-pz-theme="night"] .home-stream-table td::before {
    color: #a7b8cf;
  }

  .home-stream-table td:first-child {
    grid-area: station;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .home-stream-table td:first-child::before,
  .home-stream-table td:nth-child(5)::before {
    content: none;
  }

  .home-stream-table td:first-child > .flag {
    flex: 0 0 44px;
  }

  .home-stream-table td:first-child > span:not(.flag) {
    min-width: 0;
  }

  .home-stream-table td:nth-child(2)::before {
    content: "Frequentie";
  }

  .home-stream-table td:nth-child(2) {
    grid-area: frequency;
  }

  .home-stream-table td:nth-child(3)::before {
    content: "Luisteraars";
  }

  .home-stream-table td:nth-child(3) {
    grid-area: listeners;
  }

  .home-stream-table td:nth-child(4)::before {
    content: "Apps / links";
  }

  .home-stream-table td:nth-child(4) {
    grid-area: links;
  }

  html[data-pz-theme="night"] .home-stream-row.stream-card {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  }

  .home-stream-table td:nth-child(2),
  .home-stream-table td:nth-child(3),
  .home-stream-table td:nth-child(4) {
    display: block;
    padding-top: 10px;
    border-top: 1px solid rgba(215, 226, 239, 0.86);
  }

  html[data-pz-theme="night"] .home-stream-table td:nth-child(2),
  html[data-pz-theme="night"] .home-stream-table td:nth-child(3),
  html[data-pz-theme="night"] .home-stream-table td:nth-child(4) {
    border-top-color: var(--line);
  }

  .home-stream-table td:nth-child(5) {
    grid-area: play;
    display: grid;
    place-items: center;
  }

  .home-player-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .home-stream-table .stream-play {
    width: 54px;
    max-width: 54px;
    aspect-ratio: 1;
    min-height: 0;
    border-radius: 50%;
    margin-left: 0;
  }

  .home-news-grid,
  .home-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-news-card h3,
  .home-news-card p {
    min-height: 0;
  }

  .home-event-link {
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .home-websdr-card {
    min-height: 330px;
  }

  .home-websdr-card::before {
    inset: 0 0 auto;
    width: auto;
    height: 63%;
    background: linear-gradient(180deg, #06172a 0 74%, rgba(6, 23, 42, 0) 100%);
  }

  .home-websdr-card > div {
    width: 100%;
    padding: 24px;
    background: linear-gradient(180deg, rgba(3, 15, 29, 0.82), rgba(3, 15, 29, 0.18));
  }

  .site-footer {
    padding-inline: 22px;
  }
}

@media (max-width: 480px) {
  .home-hero {
    min-height: clamp(310px, 44vh, 390px);
  }

  .home-hero h1 {
    font-size: clamp(2.05rem, 11vw, 2.8rem);
  }
}

/* Events overview and detail page matching the new PiratenZenders agenda mockup. */
body.pz-events-page {
  --event-heading: #07152f;
  --event-copy: #354763;
  --event-secondary: #24364f;
  --event-tab: #334761;
  --event-month: #0a1428;
  --event-detail-time: #40536d;
}

html[data-pz-theme="night"] body.pz-events-page {
  --event-heading: #edf5ff;
  --event-copy: #b9c9dc;
  --event-secondary: #ccdaeb;
  --event-tab: #b4c5d9;
  --event-month: #edf5ff;
  --event-detail-time: #b9c9dc;
}

.events-shell-modern {
  width: min(100% - 92px, 1168px);
  margin: 0 auto;
  padding: 34px 0 28px;
}

.events-page-heading {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
}

.events-page-heading h1 {
  margin: 0;
  color: var(--event-heading);
  font-size: clamp(3rem, 6vw, 4.35rem);
  font-weight: 950;
  line-height: 0.98;
}

.events-page-heading p {
  max-width: 760px;
  margin: 13px 0 20px;
  color: var(--event-copy);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.events-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: end;
}

.events-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
}

.events-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--event-tab);
  font-size: 1.02rem;
  font-weight: 800;
}

.events-tabs a.is-active {
  color: var(--blue-dark);
}

.events-tabs a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-dark);
}

.events-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  margin-bottom: 10px;
  padding: 0 16px;
  border: 1px solid #d4e0ed;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
}

.events-search svg {
  width: 20px;
  fill: none;
  stroke: #52647d;
  stroke-linecap: round;
  stroke-width: 2.3;
}

.events-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
}

html[data-pz-theme="night"] body.pz-events-page .events-search {
  border-color: var(--line);
  background: var(--panel);
}

html[data-pz-theme="night"] body.pz-events-page .events-search svg {
  stroke: var(--event-copy);
}

html[data-pz-theme="night"] body.pz-events-page .events-search input::placeholder {
  color: var(--event-copy);
  opacity: 1;
}

.events-overview {
  display: grid;
  gap: 22px;
}

.event-month-group {
  display: grid;
  gap: 0;
}

.event-month-group h2 {
  margin: 0;
  padding: 0 0 8px;
  color: var(--event-month);
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.2;
}

.event-card-list {
  display: grid;
}

.event-row-card {
  border-bottom: 1px solid var(--line);
}

.event-row-card a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: center;
  min-height: 184px;
  padding: 18px 0;
  color: inherit;
}

.event-row-card a:hover .event-row-body > strong,
.event-row-card a:focus-visible .event-row-body > strong {
  color: var(--blue-dark);
}

.event-row-card a:focus-visible {
  outline: 3px solid rgba(0, 116, 217, 0.22);
  outline-offset: 4px;
}

.event-row-date {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 72px;
  color: var(--event-heading);
  text-align: center;
}

.event-row-date span,
.event-row-date em {
  color: var(--blue-dark);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.event-row-date span {
  color: var(--event-secondary);
}

.event-row-date strong {
  font-size: 2.45rem;
  font-weight: 950;
  line-height: 0.95;
}

.event-row-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-row-body > strong {
  color: var(--event-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.15;
  transition: color 160ms ease;
}

.event-row-meta,
.event-row-excerpt {
  color: var(--event-copy);
  font-size: 1.02rem;
  line-height: 1.35;
}

.event-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
}

.event-row-excerpt {
  max-width: 56ch;
}

.event-row-thumb {
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(5, 31, 62, 0.1);
}

.event-thumb-fallback {
  display: grid;
  place-items: center;
  padding: 16px;
  color: #07152f;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, #ff8528, #ffb15f);
  text-align: center;
}

.event-thumb-fallback span,
.event-thumb-fallback strong {
  max-width: 14ch;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.event-thumb-fallback-orange {
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.28), transparent 21%),
    repeating-linear-gradient(-8deg, transparent 0 22px, rgba(255, 255, 255, 0.14) 23px 25px),
    #ff812e;
}

.event-detail-page {
  padding-top: 8px;
}

.event-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.event-back-link::before {
  content: "\2190";
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 38px;
  align-items: start;
}

.event-detail-media {
  display: grid;
}

.event-detail-hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 16px 34px rgba(6, 31, 62, 0.12);
}

.event-detail-hero-image.event-thumb-fallback {
  min-height: 360px;
}

.event-detail-hero-image.event-thumb-fallback strong {
  font-size: clamp(2rem, 5vw, 4.8rem);
}

.event-detail-copy {
  display: grid;
  gap: 0;
  padding-top: 8px;
}

.event-detail-copy > time {
  color: var(--event-detail-time);
  font-size: 0.98rem;
  font-weight: 750;
}

.event-detail-copy h1 {
  margin: 10px 0 6px;
  color: var(--event-heading);
  font-size: clamp(2.45rem, 4.8vw, 4rem);
  font-weight: 950;
  line-height: 1.02;
}

.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  margin: 0 0 20px;
  color: var(--event-secondary);
  font-size: 1.08rem;
  font-weight: 750;
}

.event-detail-description {
  margin: 0 0 20px;
  color: var(--event-copy);
  font-size: 1.14rem;
  line-height: 1.45;
}

.event-detail-section {
  display: grid;
  gap: 8px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.event-detail-section h2 {
  margin: 0;
  color: var(--event-heading);
  font-size: 1.3rem;
  line-height: 1.2;
}

.event-detail-section p {
  margin: 0;
  color: var(--event-copy);
  line-height: 1.35;
}

.event-map-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 11px;
  color: var(--blue-dark);
  background: rgba(0, 116, 217, 0.1);
  font-weight: 850;
}

.event-map-link::after {
  content: "\2192";
  margin-left: 6px;
}

@media (max-width: 1080px) {
  .events-shell-modern {
    width: min(100% - 42px, 1168px);
  }

  .event-row-card a {
    grid-template-columns: 78px minmax(0, 1fr) 260px;
  }

  .event-detail-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 760px) {
  .events-shell-modern {
    width: min(100% - 24px, 520px);
    padding-top: 18px;
  }

  .events-page-heading h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .events-page-heading p {
    margin: 8px 0 12px;
    font-size: 1rem;
  }

  .events-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    border-bottom: 0;
  }

  .events-tabs {
    gap: 24px;
    border-bottom: 1px solid var(--line);
  }

  .events-tabs a {
    min-height: 40px;
    font-size: 0.94rem;
  }

  .events-search {
    min-height: 42px;
    margin: 0;
    padding-inline: 13px;
  }

  .events-overview {
    gap: 18px;
    margin-top: 16px;
  }

  .event-month-group h2 {
    font-size: 0.96rem;
  }

  .event-row-card a {
    grid-template-columns: 52px minmax(0, 1fr) 78px;
    gap: 12px;
    min-height: 104px;
    padding: 13px 0;
  }

  .event-row-date {
    width: 52px;
  }

  .event-row-date span,
  .event-row-date em {
    font-size: 0.68rem;
  }

  .event-row-date strong {
    font-size: 2rem;
  }

  .event-row-body > strong {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .event-row-meta {
    display: block;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .event-row-meta span {
    display: none;
  }

  .event-row-excerpt {
    display: none;
  }

  .event-row-thumb {
    height: 78px;
    border-radius: 5px;
  }

  .event-thumb-fallback span {
    font-size: 0.76rem;
  }

  .event-detail-page {
    padding-top: 0;
  }

  .event-detail-layout {
    gap: 22px;
  }

  .event-detail-copy {
    padding-top: 0;
  }

  .event-detail-copy h1 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .event-detail-description {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .events-shell-modern {
    width: min(100% - 18px, 420px);
  }

  .event-row-card a {
    grid-template-columns: 44px minmax(0, 1fr) 64px;
    gap: 10px;
  }

  .event-row-date {
    width: 44px;
  }

  .event-row-date strong {
    font-size: 1.7rem;
  }

  .event-row-thumb {
    height: 64px;
  }
}

/* Gedeelde header en hoofdnavigatie voor alle pagina’s, inclusief mobiel en nachtstand. */

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.6vw, 26px);
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding: 14px 0;
  background: transparent;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(17, 54, 92, 0.08);
  backdrop-filter: blur(18px);
}

html[data-pz-theme="night"] .site-header.is-scrolled {
  background: rgba(6, 17, 31, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(260px, 24vw);
  object-fit: contain;
}

.brand-logo-night {
  display: none;
}

html[data-pz-theme="night"] .brand-logo-day {
  display: none;
}

html[data-pz-theme="night"] .brand-logo-night {
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  color: #273c5a;
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-pz-theme="night"] .main-nav {
  color: #c6d6ea;
}

.main-nav a {
  color: var(--blue-dark);
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: none;
  outline: none;
}

html[data-pz-theme="night"] .main-nav a:hover,
html[data-pz-theme="night"] .main-nav a:focus-visible,
html[data-pz-theme="night"] .main-nav .current-menu-item > a,
html[data-pz-theme="night"] .main-nav .current_page_item > a,
html[data-pz-theme="night"] .main-nav a[aria-current="page"] {
  color: #06111f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(7px);
}

body.mobile-menu-open .menu-toggle span {
  background: transparent;
}

body.mobile-menu-open .menu-toggle span::before {
  transform: rotate(45deg);
}

body.mobile-menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
}

.theme-toggle {
  position: relative;
}

.theme-icon {
  grid-area: 1 / 1;
}

.theme-icon-moon {
  display: none;
}

html[data-pz-theme="night"] .theme-icon-sun {
  display: none;
}

html[data-pz-theme="night"] .theme-icon-moon {
  display: block;
}

.footer-brand .brand {
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

@media (max-width: 1080px) {
.site-header {
    grid-template-columns: 1fr auto;
  }

.main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 760px) {
.site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    position: sticky;
  }

.menu-toggle {
    display: grid;
  }

body.mobile-menu-open .site-header {
    z-index: 35;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

body.mobile-menu-open .brand,
  body.mobile-menu-open [data-theme-toggle],
  body.mobile-menu-open [data-search-open] {
    opacity: 0;
    pointer-events: none;
  }

body.mobile-menu-open .menu-toggle {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    z-index: 36;
    color: var(--blue-dark);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(9, 34, 67, 0.12);
    backdrop-filter: blur(14px);
  }

html[data-pz-theme="night"] body.mobile-menu-open .menu-toggle {
    background: rgba(16, 32, 51, 0.92);
  }

.main-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow-y: auto;
    padding: 108px max(26px, calc((100vw - 430px) / 2)) 42px;
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.98)),
      var(--page);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 220ms ease;
  }

html[data-pz-theme="night"] .main-nav {
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(6, 17, 31, 0.96), rgba(6, 17, 31, 0.99)),
      var(--page);
  }

body.mobile-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(100%, 430px);
    margin: 0;
    padding: 0;
    list-style: none;
  }

.main-nav a {
    width: 100%;
    min-height: 62px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    font-size: clamp(1.45rem, 7vw, 2.2rem);
    font-weight: 900;
    line-height: 1.05;
  }

.main-nav a::after {
    content: "\2192";
    color: var(--blue-dark);
    font-size: 1.05rem;
    opacity: 0.72;
  }

.main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav .current-menu-item > a,
  .main-nav .current_page_item > a,
  .main-nav a[aria-current="page"] {
    color: var(--blue-dark);
    background: transparent;
    box-shadow: none;
  }

html[data-pz-theme="night"] .main-nav a:hover,
  html[data-pz-theme="night"] .main-nav a:focus-visible,
  html[data-pz-theme="night"] .main-nav .current-menu-item > a,
  html[data-pz-theme="night"] .main-nav .current_page_item > a,
  html[data-pz-theme="night"] .main-nav a[aria-current="page"] {
    color: var(--blue-dark);
  }

.header-actions {
    gap: 8px;
  }

.header-actions .button {
    display: none;
  }
}

@media (max-width: 480px) {
.main-nav {
    font-size: 0.88rem;
  }
}

.site-header {
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 0 max(46px, calc((100vw - 1168px) / 2));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(5, 31, 67, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 20px rgba(8, 35, 69, 0.08);
}

html[data-pz-theme="night"] .site-header,
html[data-pz-theme="night"] .site-header.is-scrolled {
  background: #06182d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-logo {
  max-width: min(246px, 25vw);
  max-height: 58px;
}

.main-nav {
  gap: 16px;
  font-size: 0.91rem;
  font-weight: 750;
}

.main-nav a {
  min-height: 40px;
  border-radius: 0;
  padding: 0 0 3px;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  background: transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  border-bottom-color: var(--blue);
  box-shadow: none;
}

html[data-pz-theme="night"] .site-header .main-nav a,
html[data-pz-theme="night"] .site-header .main-nav a:hover,
html[data-pz-theme="night"] .site-header .main-nav a:focus-visible,
html[data-pz-theme="night"] .site-header .main-nav .current-menu-item > a,
html[data-pz-theme="night"] .site-header .main-nav .current_page_item > a,
html[data-pz-theme="night"] .site-header .main-nav a[aria-current="page"],
html[data-pz-theme="night"] .site-header .icon-button {
  color: #fff;
}

.header-actions {
  gap: 18px;
}

.footer-brand .brand-logo-day {
  display: none;
}

.footer-brand .brand-logo-night {
  display: block;
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 21px;
  }
}


@media (max-width: 760px) {
.brand-logo {
    max-width: min(210px, 56vw);
  }
}

@media (max-width: 760px) {
html[data-pz-theme="night"] body.mobile-menu-open .site-header {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 11px;
  }
}

/* Schematheek: rustige catalogusweergave met categorieënkolom. */

.schematheek-shell-modern {
  padding: 8px 0 56px;
}

.schematheek-page-head {
  margin-bottom: 28px;
}

.schematheek-page-head h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.schematheek-page-head p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.45;
}

.schematheek-layout {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 42px);
  align-items: start;
}

.schematheek-categories {
  position: sticky;
  top: 102px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.schematheek-categories h2 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.2;
}

.schematheek-categories h2 span {
  color: var(--blue-dark);
  font-size: 1.45rem;
  line-height: 0.8;
}

.schematheek-categories nav {
  display: grid;
  gap: 2px;
}

.schematheek-category {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 7px;
  color: #334f70;
  font-size: 0.93rem;
  transition: color 150ms ease, background-color 150ms ease;
}

.schematheek-category:hover,
.schematheek-category:focus-visible,
.schematheek-category.is-active {
  color: var(--blue-dark);
  background: rgba(8, 142, 231, 0.09);
  outline: none;
}

.schematheek-category.is-active {
  font-weight: 850;
}

.schematheek-category small {
  color: var(--muted);
  font-size: 0.82rem;
}

.schematheek-search {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 54px;
  align-items: center;
  margin-bottom: 32px;
  border: 1px solid #cddbeb;
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 5px 16px rgba(9, 35, 68, 0.04);
}

.schematheek-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 142, 231, 0.11);
}

.schematheek-search-icon {
  position: relative;
  width: 16px;
  aspect-ratio: 1;
  justify-self: end;
  border: 2px solid #7387a3;
  border-radius: 50%;
}

.schematheek-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #7387a3;
  transform: rotate(48deg);
}

.schematheek-search input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: 0;
}

.schematheek-search input::placeholder {
  color: #788ba5;
}

.schematheek-search-button {
  min-height: 44px;
  margin-right: 5px;
  padding-inline: 24px;
  border-radius: 6px;
}

.schematheek-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.schematheek-results-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  text-decoration: underline;
  text-decoration-color: #aebdd0;
  text-underline-offset: 4px;
}

.schematheek-results-heading > span {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(8, 142, 231, 0.09);
  font-size: 0.8rem;
  font-weight: 800;
}

.schematheek-results .pzst-folder-grid,
.schematheek-results .pzst-file-grid,
.schematheek-results .library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.schematheek-results .pzst-folder-card,
.schematheek-results .pzst-file-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.schematheek-results .pzst-file-card:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgba(8, 142, 231, 0.28);
  outline-offset: 4px;
}

.schematheek-results .pzst-folder-card:hover strong,
.schematheek-results .pzst-folder-card:focus-visible strong,
.schematheek-results .pzst-file-card:hover strong,
.schematheek-results .pzst-file-card:focus-visible strong {
  color: var(--blue-dark);
}

.schematheek-results .pzst-folder-icon,
.schematheek-results .pzst-thumb {
  display: grid;
  width: 100%;
  aspect-ratio: 1.48;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d5e0ea;
  border-radius: 7px;
  background: #eaf2f9;
}

.schematheek-results .pzst-folder-icon {
  position: relative;
  height: auto;
  background: linear-gradient(155deg, #ecf6ff, #cde4f7);
}

.schematheek-results .pzst-folder-icon::before {
  content: "";
  position: absolute;
  inset: 27% 18% 19%;
  border: 2px solid #83a9c9;
  border-radius: 7px;
  background: #f7c957;
  box-shadow: inset 0 8px 0 #ffdd7e;
}

.schematheek-results .pzst-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.72) contrast(0.98);
}

.schematheek-results .pzst-document-icon {
  display: block;
  width: 42%;
  aspect-ratio: 0.78;
  border: 2px solid #94abc1;
  border-radius: 5px;
  background: linear-gradient(135deg, #fff 0 74%, #d7e4ef 75%);
}

.schematheek-results .pzst-empty {
  padding: 22px;
  border: 1px dashed #bfd0e1;
  border-radius: 7px;
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

.schematheek-results .pzst-folder-card strong,
.schematheek-results .pzst-file-card strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: #899ab0;
  text-underline-offset: 2px;
  transition: color 150ms ease;
}

.schematheek-results .pzst-folder-card > span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.schematheek-results [hidden] {
  display: none !important;
}

.schematheek-no-results {
  padding: 22px;
  border: 1px dashed #bfd0e1;
  border-radius: 7px;
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

html[data-pz-theme="night"] .schematheek-category {
  color: #c8d9ec;
}

html[data-pz-theme="night"] .schematheek-category:hover,
html[data-pz-theme="night"] .schematheek-category:focus-visible,
html[data-pz-theme="night"] .schematheek-category.is-active {
  color: var(--blue-dark);
  background: rgba(92, 188, 255, 0.1);
}

html[data-pz-theme="night"] .schematheek-search {
  border-color: var(--line);
  background: var(--panel);
}

html[data-pz-theme="night"] .schematheek-results .pzst-folder-card,
html[data-pz-theme="night"] .schematheek-results .pzst-file-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 960px) {
  .schematheek-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 24px;
  }

  .schematheek-results .pzst-folder-grid,
  .schematheek-results .pzst-file-grid,
  .schematheek-results .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .schematheek-shell-modern {
    padding-top: 2px;
  }

  .schematheek-page-head {
    margin-bottom: 22px;
  }

  .schematheek-page-head h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .schematheek-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .schematheek-categories {
    position: static;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .schematheek-categories nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .schematheek-category {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid var(--line);
    background: var(--panel);
  }

  .schematheek-search {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    margin-bottom: 26px;
  }

  .schematheek-search-button {
    width: auto;
    min-height: 42px;
    padding-inline: 16px;
  }

  .schematheek-results .pzst-folder-grid,
  .schematheek-results .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .schematheek-results .pzst-file-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .schematheek-results .pzst-file-card {
    grid-template-columns: 84px minmax(0, 1fr) 16px;
    min-height: 104px;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .schematheek-results .pzst-file-card::after {
    content: "›";
    color: var(--blue-dark);
    font-size: 1.8rem;
    line-height: 1;
  }

  .schematheek-results .pzst-file-card .pzst-thumb {
    width: 84px;
    grid-row: 1;
  }
}

@media (max-width: 420px) {
  .schematheek-search input {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .schematheek-search-button {
    padding-inline: 12px;
    font-size: 0.82rem;
  }
}

/* Gedeelde contentlijn en pagina-omkadering. De homepage blijft bewust vrijstaand. */

@media (min-width: 1081px) {
  :root {
    --content: min(100% - 92px, 1168px);
  }
}

main:not(.home-page) {
  width: var(--content);
  margin: 0 auto 32px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

main:not(.home-page) > .section-panel,
main.article-shell > .single-post {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

main:not(.home-page) > .friends-hero + .section-panel {
  margin-top: 24px;
}

html[data-pz-theme="night"] main:not(.home-page) {
  border: 1px solid rgba(92, 188, 255, 0.16);
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

html[data-pz-theme="night"] main:not(.home-page) > .section-panel,
html[data-pz-theme="night"] main.article-shell > .single-post {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand p {
  margin-left: 0;
}

.stream-player {
  right: auto;
  left: 50%;
  width: var(--content);
  max-width: none;
  transform: translate(-50%, calc(100% + 28px)) scale(0.98);
}

.stream-player.is-visible {
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 760px) {
  main:not(.home-page) {
    margin-bottom: 22px;
    padding: 20px 16px;
  }
}

/* Vriendenpagina: rustige, redactionele intro met de echte banners centraal. */
.friends-hero {
  display: block;
  min-height: 0;
  overflow: visible;
  padding: 6px 0 clamp(26px, 4vw, 42px);
  border-radius: 0;
  color: var(--ink);
  background: none;
  box-shadow: none;
  isolation: auto;
}

.friends-hero::before,
.friends-hero::after {
  display: none;
}

.friends-hero-content {
  max-width: 760px;
}

.friends-hero h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  line-height: 1;
  text-shadow: none;
}

.friends-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: none;
}

main.friends-shell > .friends-hero + .friends-panel {
  margin-top: clamp(24px, 3vw, 34px);
}

.friends-panel .section-heading {
  margin-bottom: 22px;
}

.friends-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.friends-panel .page-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}

.friends-panel .page-content > *,
.friends-panel .page-content figure,
.friends-panel .page-content .wp-caption,
.friends-panel .page-content .wp-block-image,
.friends-panel .page-content .wp-block-gallery {
  max-width: 100%;
}

.friends-panel .page-content img,
.friends-panel .page-content picture,
.friends-panel .page-content video {
  display: block;
  max-width: 100%;
  height: auto !important;
}

.friends-panel .page-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

.friends-panel .page-content img {
  margin-inline: auto;
  object-fit: contain;
}

.friends-shell,
.friends-panel {
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 760px) {
  .friends-hero {
    min-height: 0;
    padding: 2px 0 24px;
  }

  .friends-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.25rem);
  }
}
