/* Power Radio site styles: palette tokens first, then shell, content, player, workspace. */
:root { color-scheme: light; --navy: #001c3d; --blue: #2c7bc0; --red: #bf3727; --burgundy: #3f0000; --ink: var(--navy); --muted: #5e626b; --paper: #f4f4f4;
  --blue-text: #1f6aa8; --line: #dce2e8; --line-strong: #d2d8df; --surface-muted: #f4f7fa; --text-subtle: #526173; --accent-amber: #bb862c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 system-ui, sans-serif; }
a { color: var(--red); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
h1, h2 { line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); margin: .4em 0; letter-spacing: -.04em; }
h2 { font-size: 1.5rem; }
p { max-width: 65ch; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { border-top: 5px solid var(--red); background: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.7rem; }
.brand { color: var(--red); font-size: 1.85rem; line-height: 1; font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
.brand img { display: block; width: 190px; max-width: 100%; height: auto; }
.brand small { display: block; margin-top: .5rem; font-size: .85rem; letter-spacing: .02em; font-weight: 600; }
.header-inner p { color: var(--muted); font-size: .9rem; }
.layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; min-height: 70vh; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card { padding: 1.5rem; background: white; border-radius: .5rem; margin-block: 1.5rem; border: 1px solid var(--line); }
aside .card { margin-top: 0; }
.accent { border-top: 4px solid var(--red); }
.site-footer { background: var(--navy); color: white; padding-block: 2rem; font-size: .9rem; }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: .75rem; background: white; z-index: 1; }
.skip-link:focus { top: 1rem; }
@media (max-width: 700px) { .layout { grid-template-columns: 1fr; gap: 0; } .header-inner { align-items: start; flex-direction: column; gap: .5rem; } }

.header-links nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.header-links nav a { font-weight: 650; }
.page-heading { margin-bottom: 2rem; }
.page-heading h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-details .card { margin: 0; }
.contact-details a { overflow-wrap: anywhere; }
.contact-location address { font-style: normal; margin-bottom: 1rem; }
.contact-map { display: block; width: 100%; max-width: 100%; height: 300px; border: 0; border-radius: .5rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.25rem; font-size: .875rem; }
.profile-link-fields { margin-bottom: 1.25rem; }
.profile-link-fields > summary { cursor: pointer; margin-bottom: .75rem; font-weight: 600; }
.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.operations-confirm { display: flex; align-items: start; gap: .5rem; margin-block: 1rem; }
.operations-confirm input { margin-top: .25rem; flex-shrink: 0; }
.operations-grid > .card { margin: 0; min-width: 0; }
.operations-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.operations-regions h3 { font-size: 1rem; margin: 0 0 .4rem; }
.operations-regions p { margin-block: .35rem; }
@media (max-width: 700px) { .operations-grid, .operations-regions { grid-template-columns: 1fr; } }
.form-field { margin-block: 1.3rem; overflow-wrap: anywhere; }
.workspace-navigation h2 { font-size: 1rem; margin-block: 0 .75rem; }
.workspace-navigation ul { list-style: none; margin: 0; padding: 0; }
.workspace-navigation a { display: block; padding-block: .45rem; overflow-wrap: anywhere; }
.workspace-navigation a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; }
.workspace-records article { padding-block: 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.workspace-records h2 { font-size: 1.2rem; }
.own-profile-photo { width: 10rem; height: 10rem; max-width: 100%; object-fit: cover; border-radius: .5rem; }
.reference-customers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem 1.5rem; list-style: none; padding: 0; }
.reference-customers li { padding-block: .6rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.promotion-card { overflow-wrap: anywhere; padding-block: .8rem; margin-block: 1rem; }
.promotion-card > :first-child { margin-top: 0; }
.promotion-card > :last-child { margin-bottom: 0; }
.layout:has(> .page-content > .promotion-card:last-child) { padding-bottom: 2rem; }
.page-content > .promotion-card:last-child { margin-bottom: 0; }
.promotion-card img, .promotion-preview { display: block; width: 100%; height: auto; border-radius: .3rem; }
.promotion-card h2 { font-size: 1.15rem; margin-block: .6rem 0; }
.promotion-card .eyebrow { font-size: .65rem; color: var(--muted); margin-bottom: .5rem; }
.promotion-running-text { max-width: none; }
.is-enhanced > .promotion-running-text { white-space: nowrap; overflow: hidden; }
.is-enhanced > .promotion-running-text span { display: inline-block; }
.promotion-motion-control { padding: .25rem 0; background: transparent; color: var(--red); font-size: .75rem; text-decoration: underline; }
.promotion-motion-control[hidden] { display: none; }
.promotion-gallery-controls[hidden], [data-promotion-slide][hidden], [data-gallery-stage][hidden] { display: none; }
.promotion-gallery-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: .7rem; font-size: .75rem; }
.promotion-gallery-controls button { padding: .4rem .7rem; max-width: 100%; white-space: normal; }
.promotion-gallery-controls button:disabled { opacity: .6; cursor: default; }
[data-gallery-stage].is-enhanced { position: relative; overflow: hidden; }
[data-gallery-stage].is-enhanced [data-promotion-slide] { position: absolute; inset: 0; }
[data-gallery-stage].is-enhanced img { height: 100%; object-fit: contain; }
[data-gallery-stage].is-enhanced a { display: block; height: 100%; }
.promotion-slide-form { min-width: 0; margin-block: 1.5rem; border: 1px solid var(--line); border-radius: .3rem; padding: 1rem; }
@media (prefers-reduced-motion: no-preference) { .is-running > .promotion-running-text span { animation: promotion-pan var(--promotion-duration, 20s) linear infinite alternate; } }
.is-running:hover > .promotion-running-text span, .is-running:focus-within > .promotion-running-text span, .is-background .promotion-running-text span { animation-play-state: paused; }
.motion-paused .promotion-running-text, .motion-paused .is-enhanced > .promotion-running-text { white-space: normal; overflow-wrap: anywhere; }
.motion-paused .promotion-running-text span { animation: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .is-enhanced > .promotion-running-text { white-space: normal; overflow-wrap: anywhere; } .promotion-running-text span { animation: none !important; transform: none !important; } }
@keyframes promotion-pan { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(calc(-1 * var(--promotion-overflow, 0px))); } }
input[type="checkbox"] { width: auto; accent-color: var(--blue); }
label { display: block; font-weight: 650; margin-bottom: .4rem; }
input, select, textarea { width: 100%; min-width: 0; font: inherit; padding: .7rem; border: 1px solid #7c8591; border-radius: .3rem; color: var(--ink); background: white; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--red); }
button, .button { display: inline-block; padding: .8rem 1.2rem; border: 0; border-radius: .3rem; font: inherit; font-weight: 650; color: white; background: var(--red); cursor: pointer; text-decoration: none; }
button:disabled { opacity: .6; cursor: wait; }
.notice { padding: 1rem; border-left: 4px solid var(--red); background: #fff3f0; }
.success { border-color: #276442; background: #eef8f0; }
.errorlist { color: #a62e20; padding-left: 1.3rem; }
.honeypot { display: none; }
.form-help, .meta { font-size: .95rem; color: var(--muted); }
.detail-title { font-size: clamp(2rem, 5vw, 3rem); overflow-wrap: anywhere; }
.prose { overflow-wrap: anywhere; }
.pagination { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: white; margin-left: 1rem; }
@media (max-width: 700px) { .contact-details { grid-template-columns: 1fr; } }

.header-links { max-width: 70%; }
.header-links nav { column-gap: 1.3rem; row-gap: .5rem; }
.article-image { display: block; width: 100%; height: auto; border-radius: .3rem; margin-block: 1rem; }
.article-summary { font-size: 1.2rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags a { font-size: .9rem; padding: .2rem .6rem; border: 1px solid var(--line-strong); border-radius: .25rem; }
.news-tag-filter { margin-bottom: 1.75rem; }
.news-tag-filter a { font-size: .8rem; text-decoration: none; }
.news-tag-filter a:hover { border-color: var(--navy); }
.news-tag-filter a[aria-current="page"] { background: var(--navy); color: white; border-color: var(--navy); }
.news-card h2 { overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose blockquote { border-left: 3px solid var(--blue); margin-inline: 0; padding-left: 1.2rem; }
.prose pre { white-space: pre-wrap; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line-strong); padding: .5rem; }
.footer-news { margin-bottom: 2rem; }
.footer-news h2 { font-size: 1.2rem; }
.footer-news ul { padding-left: 1.2rem; }
.footer-news a { margin-left: 0; }
@media (max-width: 700px) { .header-links { max-width: 100%; } }
.programme-week { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.programme-day { margin: 0; }
.programme-entry { border-top: 1px solid var(--line-strong); padding-block: .6rem; }
.programme-entry h3 { margin-block: .2rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.presenters { font-size: .9rem; color: var(--muted); }
.presenters span { display: block; }
.programme-now { list-style: none; padding: 0; margin: 0; }
.programme-now li + li { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.studio-status h3 { font-size: 1rem; overflow-wrap: anywhere; }
.studio-status .studio-section-label { margin: 0 0 .8rem; font-size: .65rem; line-height: 1.4; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.studio-status .studio-show-title { margin: 0 0 .45rem; font-size: 1.55rem; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
.studio-show-title a, .studio-next-title a { color: var(--navy); text-decoration: none; }
.studio-show-title a:hover, .studio-next-title a:hover { text-decoration: underline; text-underline-offset: .2em; }
.studio-show-time { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.studio-status .show-summary { margin: .9rem 0 0; color: #485566; font-size: .875rem; line-height: 1.65; }
.studio-next { margin: 1.2rem 0 0; padding-top: .9rem; border-top: 1px solid #edf0f3; }
.studio-next .studio-section-label { margin-bottom: .35rem; font-size: .6rem; letter-spacing: .08em; font-weight: 600; }
.studio-status .studio-next-title { margin: 0 0 .15rem; font-size: .9rem; line-height: 1.35; font-weight: 600; }
.studio-next-title a { color: #485566; }
.studio-next .studio-show-time { font-size: .7rem; }
.studio-schedule-after-live { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.studio-schedule-after-live .studio-show-title { font-size: 1.15rem; }
.studio-schedule-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-block: .3rem; color: var(--navy); font-size: .8rem; font-weight: 700; text-decoration: none; }
.studio-schedule-link span { color: var(--red); font-size: 1.1rem; }
.studio-schedule-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.show-time { border-bottom: 1px solid var(--line-strong); }
@media (max-width: 700px) { .programme-week { grid-template-columns: 1fr; } }

.programme-entry { border-left: 4px solid transparent; padding-left: .8rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.team-member { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: .65rem; margin: 0; }
.team-photo { aspect-ratio: 1; overflow: hidden; border-radius: .4rem; background: #edf0f3; }
.team-photo .profile-photo { height: 100%; object-fit: cover; object-position: center 25%; }
.team-photo-placeholder { display: grid; place-items: center; height: 100%; font-size: 3rem; color: var(--muted); }
.team-member h2 { margin: .25rem 0 0; font-size: 1.35rem; line-height: 1.3; overflow-wrap: anywhere; }
.team-member .team-position { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.profile-photo { display: block; width: 100%; height: auto; border-radius: .4rem; }
.profile-portrait { max-width: 24rem; margin-block: 1rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.radio-player { margin-block: 1.5rem 2.25rem; color: white; background: var(--navy); border-radius: 1rem; box-shadow: 0 8px 24px #001c3d12; }
.player-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem 2rem; padding: 1.4rem 1.75rem; align-items: center; }
.player-identity h2 { margin: .25rem 0; font-size: 1.4rem; letter-spacing: -.02em; }
.player-identity p { margin: 0; font-size: .85rem; color: #c1d0df; }
.player-live { display: inline-flex; align-items: center; gap: .45rem; color: #c1d0df; text-transform: uppercase; letter-spacing: .14em; font-size: .65rem; font-weight: 750; }
.player-live span { width: .45rem; height: .45rem; border-radius: 50%; background: #a4b3c5; }
.radio-player[data-state="playing"] .player-live span { background: #7be0ab; box-shadow: 0 0 0 4px #7be0ab18; }
.player-transport { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 1.5rem; }
.radio-player button { display: inline-flex; align-items: center; justify-content: center; }
.radio-player button:focus-visible, .radio-player a:focus-visible, .radio-player summary:focus-visible { outline: 3px solid #88bfff; outline-offset: 5px; }
.radio-player .player-play { flex: 0 0 3.75rem; width: 3.75rem; height: 3.75rem; border-radius: 50%; padding: 1.05rem; background: white; color: var(--navy); box-shadow: 0 0 0 7px #ffffff0b; }
.radio-player .player-play:hover { background: #e5eff8; }
.radio-player svg { display: block; width: 1.3rem; height: 1.3rem; fill: currentColor; flex-shrink: 0; }
.radio-player .player-play svg { width: 1.6rem; height: 1.6rem; }
.player-volume { display: flex; align-items: center; gap: .35rem; }
.radio-player .player-mute { color: #dbe6f1; background: transparent; width: 2.75rem; height: 2.75rem; padding: .5rem; border-radius: 50%; }
.radio-player input[type="range"] { width: 6.5rem; height: 2.75rem; padding: 0; border: 0; background: transparent; accent-color: white; cursor: pointer; }
.player-feedback { grid-column: 1; min-width: 0; }
.player-feedback p { color: #c1d0df; font-size: .8rem; margin: 0; }
.radio-player [data-player-retry] { font-size: .8rem; padding: .4rem .7rem; margin-top: .6rem; background: var(--red); }
.player-options { grid-column: 1 / -1; display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap; margin-top: .35rem; }
.radio-player a, .player-links summary { color: #d2ddeb; font-size: .75rem; text-underline-offset: .2em; }
.player-window { display: inline-flex; align-items: center; gap: .4rem; }
.player-window svg { width: .95rem; height: .95rem; }
.player-links summary { cursor: pointer; }
.player-links div { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; padding-top: .65rem; }
.player-unavailable { color: #d2ddeb; margin: .25rem 0; font-size: .85rem; }
.radio-player audio { grid-column: 1 / -1; width: 100%; height: 54px; min-width: 0; }
.radio-player [hidden] { display: none; }
.standalone-player { background: #edf1f5; }
.standalone-player .container { max-width: 32rem; padding-block: 1.25rem 3rem; }
.standalone-player h1 { text-align: center; margin: 0 0 1.5rem; }
.player-logo { width: min(100%, 10rem); height: auto; }
.standalone-player .radio-player { overflow: hidden; }
.player-artwork { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.25rem 1.75rem; overflow: hidden; background: linear-gradient(125deg, var(--blue), var(--navy)); }
.player-artwork p { position: relative; font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.player-record { display: grid; place-items: center; flex: 0 0 10rem; height: 10rem; border-radius: 50%; background: repeating-radial-gradient(circle at center, #142839 0 2px, #243c51 3px 4px); box-shadow: 10px 10px 20px #00122560; }
.player-record span { display: grid; align-content: center; text-align: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--red); color: white; font-size: .75rem; font-weight: 900; line-height: 1.05; letter-spacing: -.025em; }
.standalone-player .player-body { grid-template-columns: 1fr; text-align: center; padding: 1.75rem; gap: 1rem; }
.standalone-player .player-transport { grid-column: 1; grid-row: auto; justify-content: center; }
.standalone-player .player-options { justify-content: center; }
.standalone-player .player-links div { justify-content: center; }
.standalone-note { text-align: center; color: var(--muted); font-size: .85rem; }
.standalone-back { display: block; text-align: center; font-size: .85rem; }
@media (max-width: 600px) {
  .player-body { padding: 1.25rem; gap: 1rem; }
  .player-identity p { font-size: .75rem; max-width: 12rem; }
  .player-transport { gap: .25rem; }
  .player-volume { grid-column: 1 / -1; }
  body:not(.standalone-player) .player-transport { flex-direction: column; }
  .radio-player input[type="range"] { width: 3.5rem; }
  .player-options { gap: .75rem; }
  .player-artwork { padding: 1.5rem; gap: 1rem; }
  .player-record { flex-basis: 8rem; height: 8rem; }
  .player-artwork p { font-size: 1.4rem; }
  .standalone-player input[type="range"] { width: 6rem; }
}

/* Original photography, shared across full-page and fragment navigation. */
.site-header { border-top-width: 4px; }
.header-inner { padding-block: .85rem; }
.header-links nav a { text-decoration: none; padding-block: .3rem; border-bottom: 2px solid transparent; }
.header-links nav a:hover { border-bottom-color: var(--red); }
.photo-banner { color: white; background-color: var(--navy); background-image: linear-gradient(90deg, #001529bd, #001c3d33), var(--photo-mobile); background-size: cover; background-position: center; border-bottom: 4px solid var(--red); }
.photo-banner-content { padding-block: clamp(3rem, 6vw, 5rem); }
.photo-banner h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 22ch; margin: .3rem 0 0; overflow-wrap: anywhere; text-shadow: 0 2px 24px #00152955; }
.photo-banner .eyebrow { margin: 0; color: #f0f4f9; }
.home-banner { background-position: center 45%; }
.home-banner .photo-banner-content { padding-block: clamp(3.5rem, 7vw, 7rem); }
.home-banner h1 { font-size: clamp(3.3rem, 7vw, 6.5rem); line-height: 1.02; letter-spacing: -.055em; }
.banner-intro { max-width: 34ch; font-size: clamp(1rem, 1.8vw, 1.2rem); color: #f0f4f9; margin-block: 1.5rem; }
.banner-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.banner-actions a { color: white; font-weight: 650; }
.banner-actions .button { background: white; color: var(--navy); padding: .85rem 1.2rem; border-radius: .3rem; }
.banner-actions span { margin-left: .6rem; }
.banner-signature { margin: 2rem 0 0; font-size: .85rem; font-style: italic; font-weight: 650; letter-spacing: .06em; }
.photo-banner a:focus-visible { outline-color: white; }
.layout { padding-block: 3rem; align-items: start; }
.page-content, .layout > aside { min-width: 0; }
.workspace-layout .page-content h2 { overflow-wrap: anywhere; }
.page-content > :first-child { margin-top: 0; }
.home-introduction { padding-bottom: 2.5rem; max-width: 42rem; }
.home-introduction .eyebrow { color: var(--red); }
.home-introduction h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; margin: .6rem 0; }
.home-introduction > p:last-child { color: var(--muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.section-heading .eyebrow { margin: 0 0 .4rem; color: var(--red); }
.section-heading h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.03em; }
.section-heading > a { font-size: .85rem; white-space: nowrap; }
.home-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.home-news-grid .news-card { margin: 0; padding: 1.25rem; }
.home-news-grid .news-card h2 { font-size: 1.3rem; line-height: 1.25; }
.home-news-grid .news-card h2 a { color: var(--navy); text-decoration: none; }
.home-news-grid .news-card h2 a:hover { text-decoration: underline; }
.home-news-grid .article-image { margin-top: 0; aspect-ratio: 16 / 10; object-fit: cover; }
.home-news-grid .meta { font-size: .75rem; }
.home-news-grid .tags a { font-size: .7rem; }
.news-empty { grid-column: 1 / -1; padding: 1.5rem; border-block: 1px solid var(--line-strong); color: var(--muted); }
.music-feature { margin-block: 3rem; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: .6rem; background: var(--navy); color: white; }
.music-feature picture { display: block; min-width: 0; }
.music-feature img { display: block; width: 100%; height: 100%; object-fit: cover; }
.music-feature > div { padding: 2rem; }
.music-feature h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.03em; }
.music-feature p { font-size: .9rem; }
.music-feature a { color: white; font-size: .9rem; }
.home-discover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.home-discover a { position: relative; display: block; padding: 1.5rem 2.5rem 1.5rem 1.5rem; border-top: 3px solid var(--red); background: white; text-decoration: none; color: var(--navy); }
.home-discover .eyebrow { font-size: .65rem; color: var(--muted); }
.home-discover strong { display: block; font-size: 1.2rem; line-height: 1.25; margin-top: .5rem; }
.home-discover a > span:last-child { position: absolute; right: 1rem; top: 1.5rem; color: var(--red); }
@media (min-width: 800px) { .photo-banner { background-image: linear-gradient(90deg, #001529bd, #001c3d33), var(--photo-wide); } }
@media (min-width: 1000px) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .photo-banner { background-attachment: fixed; } }
@media (max-width: 700px) {
  .home-news-grid, .home-discover { grid-template-columns: 1fr; }
  .home-banner .photo-banner-content { padding-block: 3rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
  .music-feature { grid-template-columns: 1fr; }
  .music-feature picture { aspect-ratio: 16 / 9; }
  .layout { padding-block: 2rem; gap: 2rem; }
  .header-links nav { column-gap: 1rem; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) { .photo-banner { background-attachment: scroll; } }
@media (forced-colors: active) { .photo-banner { background-image: none; color: CanvasText; } }

/* Compact, persistent navigation and a more restrained listening panel. */
html { scroll-padding-top: var(--header-scroll-offset, 5rem); }
.radio-player { max-width: 54rem; margin-inline: auto; }
.player-live span { background: var(--red); }
.radio-player[data-state="playing"] .player-live span { background: var(--red); box-shadow: 0 0 0 4px #bf372718; }
.site-header { position: sticky; top: 0; z-index: 30; }
.site-header.is-compact { position: fixed; inset-inline: 0; top: 0; border-top-width: 2px; box-shadow: 0 2px 14px #001c3d12; }
.site-header.is-compact .header-inner { padding-block: .45rem; gap: 1.5rem; flex-direction: row; align-items: center; }
.site-header.is-compact .brand { flex-shrink: 0; }
.site-header.is-compact .brand img { width: 92px; }
.site-header.is-compact .brand small, .site-header.is-compact .header-links > p { display: none; }
.site-header.is-compact .header-links { max-width: none; min-width: 0; }
.site-header.is-compact nav { flex-wrap: nowrap; overflow-x: auto; gap: 1.1rem; scrollbar-width: thin; scroll-padding-inline: .5rem; padding: .15rem .4rem; }
.site-header.is-compact nav a { flex-shrink: 0; white-space: nowrap; font-size: .85rem; line-height: 1.4; padding-block: .7rem; }
.header-links nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--navy); }
.skip-link { z-index: 50; }
@media (max-width: 700px) {
  .site-header.is-compact .header-inner { gap: .75rem; }
  .site-header.is-compact .brand img { width: 72px; }
  .site-header.is-compact .header-links { flex: 1; }
  .site-header.is-compact nav { gap: .85rem; }
}
.site-header.is-compact nav a:focus-visible { outline-offset: -3px; }

/* A single listening area: transport, song and presenter; deeper show context in the sidebar. */
.listening-summary { border-top: 1px solid #ffffff20; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 1.75rem; }
.listening-label { display: flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; color: #b9cadd; font-size: .65rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.song-title { margin: 0; font-weight: 700; font-size: 1rem; overflow: hidden; white-space: nowrap; max-width: 100%; }
.song-title span { display: inline-block; }
.song-title:focus-visible { outline: 2px solid #88bfff; outline-offset: 3px; }
.song-unavailable, .listening-meta { color: #b9cadd; font-size: .75rem; margin: .3rem 0 0; }
.player-presenter { display: flex; align-items: start; gap: .85rem; min-width: 0; }
.player-presenter > div { min-width: 0; }
.player-presenter h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.player-presenter a { color: white; font-size: inherit; text-decoration: none; }
.player-presenter a:hover { text-decoration: underline; }
.presenter-avatar { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.player-show-name { margin: .2rem 0 0; font-size: .85rem; font-weight: 650; line-height: 1.4; }
.presenter-comment { margin: .4rem 0 0; font-size: .75rem; color: #d5e1ed; overflow-wrap: anywhere; }
.studio-portrait { display: block; width: 100%; max-height: 17rem; object-fit: cover; object-position: center 30%; border-radius: .35rem; }
.studio-presenter-name { margin: 1rem 0 .5rem; font-size: 1.65rem; }
.studio-presenter-name a { color: var(--navy); text-decoration: none; }
.show-summary { font-size: .85rem; color: var(--muted); }
.studio-comment { padding-left: .8rem; border-left: 2px solid var(--red); font-size: .9rem; }
.audio-levels { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.audio-levels i { width: 3px; height: 4px; background: #e98b7e; border-radius: 1px; }
.standalone-player .listening-summary { grid-template-columns: 1fr; text-align: left; padding: 1.5rem 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .radio-player[data-state="playing"] .player-live > span { animation: broadcast-glow 3s ease-in-out infinite; }
  .radio-player[data-state="playing"] .audio-levels i { animation: audio-level .9s ease-in-out infinite alternate; }
  .radio-player[data-state="playing"] .audio-levels i:nth-child(2) { animation-delay: -.35s; }
  .radio-player[data-state="playing"] .audio-levels i:nth-child(3) { animation-delay: -.6s; }
  .song-title.is-overflowing span { animation: song-pan var(--title-duration, 18s) linear infinite; }
}
.song-title:hover span, .song-title:focus span, .is-background .radio-player * { animation-play-state: paused !important; }
@keyframes broadcast-glow { 0%, 100% { opacity: 1; box-shadow: 0 0 0 3px #bf372720; } 50% { opacity: .6; box-shadow: 0 0 0 6px #bf372705; } }
@keyframes audio-level { from { height: 4px; } to { height: 14px; } }
@keyframes song-pan { 0%, 15%, 100% { transform: translateX(0); } 70%, 85% { transform: translateX(calc(-1 * var(--title-overflow, 0px))); } }
@media (max-width: 600px) { .listening-summary { grid-template-columns: 1fr; padding: 1.25rem; gap: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .song-title { white-space: normal; overflow-wrap: anywhere; } }
.presenter-description { font-size: .75rem; color: #d5e1ed; margin: .4rem 0 0; }
.headline-strip { border-bottom: 1px solid var(--line-strong); background: white; }
.headline-strip > div { display: flex; align-items: center; gap: 1rem; padding-block: .8rem; min-width: 0; }
.headline-label { flex-shrink: 0; text-transform: uppercase; font-size: .65rem; font-weight: 750; letter-spacing: .06em; color: var(--red); }
.headline-title { overflow: hidden; white-space: nowrap; text-decoration: none; color: var(--navy); min-width: 0; font-size: .85rem; }
.headline-title span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .headline-title.is-overflowing span { animation: song-pan var(--title-duration, 18s) linear infinite; } }
.headline-title:hover span, .headline-title:focus span, .is-background [data-running-title] span { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .headline-title { white-space: normal; } }
@media (max-width: 600px) {
  .headline-strip > div { gap: .7rem; }
  .headline-label { max-width: 4.5rem; line-height: 1.3; }
  /* Phones: up to two calm lines instead of a scrolling title. */
  .headline-title { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }
  .headline-title span { display: inline; }
}
/* Phones: logo and slogan already introduce the station; give the room to the player. */
@media (max-width: 700px) { .header-links > p { display: none; } }
.player-presenter h3, .player-show-name, .studio-presenter-name { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; gap: 2rem; } }
.song-title:focus, .headline-title:focus { white-space: normal; }
.song-title:focus span, .headline-title:focus span { animation: none; transform: none; }
.current-song { min-width: 0; }
.radio-player .motion-toggle { padding: .2rem 0; font-size: .75rem; color: #d2ddeb; background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.radio-player .motion-toggle[aria-pressed="true"] { color: white; font-weight: 750; }
.motion-paused .radio-player *, .motion-paused .headline-title span { animation: none !important; }
.motion-paused [data-running-title] { white-space: normal; overflow-wrap: anywhere; }
.motion-paused [data-running-title] span { transform: none !important; }
.motion-paused .photo-banner { background-attachment: scroll; }

/* Native disclosures keep navigation usable without JavaScript or hover. */
.navigation-row { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.navigation-row nav { align-items: center; min-width: 0; }
.navigation-menu { position: relative; flex-shrink: 0; }
.navigation-menu summary { cursor: pointer; list-style: none; padding-block: .3rem; border-bottom: 2px solid transparent; font-weight: 650; }
.navigation-menu summary::-webkit-details-marker { display: none; }
.header-links nav > a, .navigation-menu > summary { border-bottom: 0; }
.header-links nav > a:hover, .header-links nav > a[aria-current], .header-links nav > a[data-active], .navigation-menu > summary:hover, .navigation-menu > summary[data-active] { text-decoration-line: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.navigation-menu[open] > summary { color: var(--red); }
.navigation-menu summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: white; }
.menu-chevron { font-size: .8em; margin-left: .15rem; }
.navigation-menu[open] .menu-chevron { display: inline-block; transform: rotate(180deg); }
.navigation-menu summary[data-active], .header-links nav a[data-active] { border-bottom-color: var(--red); }
.navigation-panel { position: fixed; z-index: 35; top: var(--menu-top, auto); left: var(--panel-left, auto); right: var(--panel-right, 1rem); width: max-content; max-width: calc(100vw - 2rem); min-width: 12rem; padding: .55rem; border: 1px solid #e0e4e9; border-top: 2px solid var(--red); border-radius: .5rem; background: white; box-shadow: 0 12px 32px #001c3d1a; }
.header-links .navigation-panel a, .navigation-panel button { display: block; width: 100%; margin: 0; padding: .7rem .8rem; border: 0; border-radius: .2rem; color: var(--navy); background: transparent; font: inherit; font-size: .85rem; font-weight: 550; text-align: left; text-decoration: none; white-space: normal; }
.navigation-panel a:hover, .navigation-panel button:hover { background: #f0f3f6; }
.header-links .navigation-panel a { line-height: 1.4; border-radius: .3rem; }
.header-links .navigation-panel a[aria-current], .header-links .navigation-panel a[data-active] { color: var(--red); background: #bf372709; font-weight: 650; }
.navigation-panel form { margin: 0; }
.account-icon, .navigation-menu summary.account-icon { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; min-height: 2.5rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.account-icon:hover, .navigation-menu[open] .account-icon { background: #f0f3f6; }
.site-header.is-compact .navigation-row { max-width: 100%; }
.site-header.is-compact .navigation-row nav { flex: 1; }
.site-header.is-compact .navigation-menu summary { font-size: .85rem; white-space: nowrap; padding-block: .7rem; }
.site-header.is-compact .navigation-menu summary.account-icon { padding: 0; }
.site-footer { padding: 0; }
.footer-subfooter { color: var(--navy); background: #e9edf1; border-top: 3px solid var(--red); }
.footer-utility { background: var(--navy); }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 2.5rem; }
.footer-columns h2 { margin: 0 0 .9rem; font-size: .95rem; }
.footer-columns p, .footer-columns li { font-size: .85rem; line-height: 1.8; }
.footer-columns ul { list-style: none; padding: 0; margin: .7rem 0 0; }
.site-footer a { margin-left: 0; text-underline-offset: .2em; }
.footer-subfooter a { color: var(--navy); text-decoration-color: #001c3d50; }
.footer-subfooter a:focus-visible { outline-color: var(--navy); }
.footer-columns .footer-news { margin: 0; }
.footer-privacy { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; padding-block: 0 1.75rem; font-size: .75rem; line-height: 1.6; color: #3c4a5c; }
.footer-privacy p { margin: 0; max-width: 62rem; }
.footer-privacy strong { color: var(--navy); }
.footer-hosting { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; font-weight: 650; color: var(--navy); }
.flag-de { width: 1.1rem; height: .7rem; border-radius: 1px; background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); box-shadow: 0 0 0 1px #001c3d26; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.1rem; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer .account-icon { color: white; border-color: #ffffff50; }
.site-footer .account-icon:hover { background: #ffffff15; }
.motion-toggle { padding: .55rem .75rem; border: 1px solid currentColor; border-radius: .3rem; color: inherit; background: transparent; font: inherit; font-size: .75rem; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle[aria-pressed="true"] { color: var(--navy); background: white; font-weight: 700; }
.motion-toggle:disabled { cursor: default; opacity: 1; }
.standalone-footer { padding-bottom: 2rem; text-align: center; }
.standalone-footer .motion-toggle[aria-pressed="true"] { color: white; background: var(--navy); }
@media (max-width: 700px) {
  .header-links { width: 100%; }
  .header-links nav > a, .navigation-menu > summary { font-size: .9rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer-columns .footer-news { grid-column: 1 / -1; }
  .navigation-row { align-items: flex-start; }
  .navigation-row nav { flex: 1; }
}
@media (max-width: 380px) { .footer-columns { grid-template-columns: 1fr; } }

/* Reception content stays editable in Django; all imagery is served locally. */
.reception-page .prose > h2:first-child { margin: 0 0 1rem; padding: 1.5rem; background: var(--navy); color: white; border-left: 4px solid var(--red); border-radius: .35rem; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.reception-page .prose > div:first-child { margin-bottom: 1.75rem; padding: 1.5rem; background: var(--navy); color: white; border-left: 4px solid var(--red); border-radius: .35rem; }
.reception-page .prose > div:first-child h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.reception-page .prose > div:first-child p { margin: .4rem 0 0; font-size: .8rem; color: #d5e1ed; line-height: 1.65; }
.reception-page .prose > div:first-child a { color: white; text-decoration-color: #ffffff70; }
.reception-page table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.reception-page caption { caption-side: bottom; text-align: left; padding: .6rem 0; font-size: .75rem; color: var(--muted); }
.reception-page th, .reception-page td { padding: .85rem .6rem; text-align: left; border-bottom: 1px solid var(--line); }
.reception-page td:last-child { white-space: nowrap; font-weight: 750; color: var(--navy); }
.reception-online { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.playlist-options { display: grid; gap: .55rem; margin-block: 1rem; }
.playlist-options details a { display: block; margin-top: .6rem; }
.player-offline .player-body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .reception-page th, .reception-page td { padding: .75rem .3rem; font-size: .8rem; } }

/* One persistent audio element, with a compact bar and a fuller sidebar surface. */
.radio-player-compact { max-width: none; display: flex; align-items: center; gap: .9rem; padding: .6rem 1rem; margin-block: .75rem 1rem; border-radius: .5rem; box-shadow: none; }
.radio-player-compact > .player-live { flex-shrink: 0; }
.radio-player-compact .player-transport { display: flex; flex-direction: row !important; }
.radio-player-compact .player-play { flex-basis: 2.3rem; width: 2.3rem; height: 2.3rem; padding: .55rem; box-shadow: none; }
.radio-player-compact #listening-context { flex: 1; min-width: 0; }
.radio-player-compact .listening-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem; padding: 0; border: 0; }
.compact-show-context, .compact-track { min-width: 0; }
.compact-show { margin: 0; font-size: .85rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-track { border-inline-start: 1px solid #ffffff24; padding-inline-start: 1rem; }
.compact-track-label { margin: 0; font-size: .65rem; color: #bdc9d9; line-height: 1.35; }
.radio-player-compact .song-title { margin: 0; font-size: .85rem; line-height: 1.35; }
.compact-programme { margin: .1rem 0 0; color: #c1d0df; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-player-compact .player-window { flex-shrink: 0; }
.radio-player-compact .player-feedback { margin: 0; }
.sidebar-player { margin: 0 0 1.25rem; border-radius: .6rem; }
.sidebar-player .player-body { display: flex; flex-direction: column; align-items: stretch; padding: 1.4rem; gap: 1rem; }
.sidebar-player .player-transport { flex-direction: row !important; justify-content: space-between; gap: .75rem; }
.sidebar-player .player-volume { min-width: 0; }
.sidebar-player input[type="range"] { width: 5rem; }
.sidebar-player .player-options { display: block; margin-top: -.5rem; }
.sidebar-player .player-links { margin-top: .85rem; }
.sidebar-player .current-song { padding: 1rem 0 0; border-top: 1px solid #ffffff20; }
.reception-map { margin: 0 0 2rem; }
.reception-map img { display: block; width: 100%; height: auto; border-radius: .35rem; }
@media (max-width: 480px) { .radio-player-compact { gap: .65rem; padding: .6rem .75rem; } .radio-player-compact > .player-live { font-size: 0; gap: 0; } .radio-player-compact .player-window { font-size: .65rem; } }
@media (max-width: 600px) { .radio-player-compact .listening-summary { grid-template-columns: minmax(0, 1fr); gap: .2rem; } .compact-track { padding-inline-start: 0; border: 0; } .compact-track-label { display: none; } }
.radio-player-compact:has(audio:not([hidden])) { flex-wrap: wrap; }
.radio-player-compact audio:not([hidden]) { order: 4; flex: 0 0 100%; }

.advertising-downloads ul { list-style: none; margin: 0; padding: 0; }
.advertising-downloads h2 { overflow-wrap: anywhere; hyphens: auto; }
.advertising-downloads li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.advertising-downloads a { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); font-weight: 650; text-decoration: none; }
.advertising-downloads a:hover { text-decoration: underline; text-underline-offset: .2em; }
.advertising-downloads a span { color: var(--red); }
.advertising-downloads .meta { font-size: .75rem; }

/* Title observations stay readable without implying exact automation timings. */
.standalone-slogan { margin: -.5rem 0 1.5rem; color: var(--red); font-size: 1rem; font-style: italic; font-weight: 650; text-align: center; }
.player-history { display: block; margin-top: .7rem; font-size: .8rem; }
.track-history h2 { margin-top: 0; font-size: 1.3rem; }
.track-history-intro { font-size: .85rem; line-height: 1.65; color: var(--muted); }
.track-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.track-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); align-items: start; }
.track-list time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.track-list time span { display: block; margin-top: .2rem; font-size: .6rem; }
.track-list a { color: var(--navy); font-size: .95rem; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.track-list a:hover { text-decoration: underline; text-underline-offset: .2em; }
.track-list .track-list-empty { display: block; color: var(--muted); font-size: .9rem; }
.track-observation .detail-title { overflow-wrap: anywhere; }
.track-observation dt { margin-top: 1rem; font-size: .75rem; color: var(--muted); }
.track-observation dd { margin: .25rem 0 0; font-size: .95rem; font-variant-numeric: tabular-nums; }

/* Native weekday navigation; no client calendar or horizontal scroll required. */
.programme-days { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.programme-days a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 2.7rem; min-height: 2.8rem; padding: .35rem .6rem; border: 1px solid var(--line-strong); border-radius: .45rem; color: var(--navy); text-decoration: none; font-weight: 700; }
.programme-days a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: white; }
.programme-days a:hover { border-color: var(--red); }
.programme-days small { font-size: .6rem; font-weight: 400; }
.programme-single-day { grid-template-columns: minmax(0, 1fr); }
.programme-entry-time { font-variant-numeric: tabular-nums; }
.programme-current-label { margin: .3rem 0; color: var(--red); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.programme-entry-current { background: var(--surface-muted); }
.programme-today { margin-left: .5rem; color: var(--text-subtle); font-size: .7rem; font-weight: 400; }

.programme-timetable { display: none; }
@media (min-width: 1100px) {
  .programme-timetable { display: block; }
  .programme-week-fallback { display: none; }
  .programme-timetable table { table-layout: fixed; width: 100%; border-collapse: collapse; font-size: .75rem; }
  .programme-timetable caption { text-align: left; color: var(--text-subtle); font-size: .75rem; margin-bottom: 1rem; }
  .programme-timetable th, .programme-timetable td { border: 1px solid var(--line); padding: .5rem .3rem; vertical-align: top; overflow-wrap: anywhere; }
  .programme-timetable thead th { background: var(--navy); color: white; font-size: .7rem; }
  .programme-timetable thead th:first-child { width: 4.3rem; }
  .programme-timetable tbody th { font-variant-numeric: tabular-nums; color: var(--text-subtle); background: var(--surface-muted); font-size: .7rem; }
  .programme-timetable tbody th span { display: block; font-weight: 400; }
  .programme-timetable thead small { display: block; font-weight: 400; }
  .programme-timetable .timetable-today { background: #34516f; }
  .programme-timetable .timetable-current { background: #f0f5fa; box-shadow: inset 0 3px var(--red); }
  .timetable-show { border-left: 3px solid transparent; padding-left: .35rem; }
  .timetable-show + .timetable-show { margin-top: .8rem; }
  .timetable-show small { display: block; font-size: .6rem; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
  .timetable-show a { display: block; font-weight: 700; line-height: 1.45; }
  .timetable-empty { color: #647181; font-size: .65rem; }
  .programme-timetable .programme-current-label { font-size: .6rem; }
}

.weather-hours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: 1.5rem; }
.weather-hours article { padding: .8rem; border: 1px solid var(--line); border-radius: .45rem; }
.weather-hours h3 { margin: 0; color: var(--text-subtle); font-size: .75rem; font-weight: 500; }
.weather-temperature { color: var(--navy); font-size: 1.8rem; font-weight: 750; margin: .75rem 0; font-variant-numeric: tabular-nums; }
.weather-temperature small { font-size: 1rem; font-weight: 400; }
@media (max-width: 700px) { .weather-hours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.weather-summary h2 { margin: 0 0 .9rem; color: var(--text-subtle); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.weather-summary .weather-location { margin-bottom: .4rem; font-size: .95rem; font-weight: 700; color: var(--navy); }
.weather-summary .weather-temperature { margin-block: .65rem; font-size: 2rem; }
.weather-source { margin-top: 1rem; font-size: .65rem; color: #647181; }
.weather-details-link { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; font-size: .75rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.weather-details-link span { color: var(--red); }
.weather-details-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.weather-diagnostics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem 1rem; }
.weather-diagnostics dt { color: var(--text-subtle); }
.weather-diagnostics dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 500px) { .weather-diagnostics { grid-template-columns: minmax(0, 1fr); gap: .25rem; } .weather-diagnostics dd { margin-bottom: .7rem; } }

.news-sharing { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sharing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.sharing-actions a, .sharing-actions button { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .65rem; min-height: 2.25rem; font: inherit; font-size: .8rem; border: 1px solid var(--line); border-radius: .35rem; background: transparent; color: inherit; text-decoration: none; }
.sharing-actions [hidden] { display: none; }
.sharing-actions a:hover, .sharing-actions button:hover { background: var(--paper); }
.sharing-actions span { font-size: .85rem; }
.news-sharing summary { cursor: pointer; font-size: .8rem; }
.news-sharing input { width: 100%; min-width: 0; margin-top: .35rem; }
.sharing-status:empty { display: none; }
.sharing-status { font-size: .85rem; }

.prose img { display: block; max-width: 100%; height: auto; margin-block: 1.25rem; }
.content-image-library { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.content-image-library article { min-width: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.content-image-library img { display: block; max-width: 100%; width: auto; max-height: 180px; height: auto; object-fit: contain; }
.content-image-library textarea { width: 100%; min-width: 0; font: .8rem/1.5 monospace; }
.content-image-picker summary { cursor: pointer; }
.content-image-library [hidden] { display: none; }

/* Team tools: compact task groups, shared with the maintenance navigation. */
.workspace-dashboard-layout { grid-template-columns: minmax(0, 1fr); padding-block: 1.5rem; }
.workspace-heading { margin-bottom: 1.25rem; }
.workspace-heading h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-block: .3rem .6rem; }
.workspace-heading .eyebrow { margin-top: 0; }
.workspace-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-bottom: 2rem; }
.workspace-tool-group { min-width: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: .5rem; background: white; }
.workspace-tool-group h2 { margin: 0; font-size: 1.15rem; }
.workspace-group-description { margin: .35rem 0 .8rem; font-size: .85rem; color: var(--muted); }
.workspace-tool-group ul { margin: 0; padding: 0; list-style: none; }
.workspace-tool-group li + li { border-top: 1px solid #edf0f2; }
.workspace-tool-group a { position: relative; display: block; padding: .65rem 1.3rem .65rem .25rem; border-radius: .25rem; text-decoration: none; overflow-wrap: anywhere; }
.workspace-tool-group a:hover, .workspace-tool-group a:focus-visible { background: #f5f6f8; }
.workspace-tool-group a > span:first-child { font-weight: 650; }
.workspace-tool-group small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; }
.workspace-link-arrow { position: absolute; top: .7rem; right: .15rem; }
.workspace-navigation { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .5rem; }
.workspace-navigation section { padding-block: .85rem; border-top: 1px solid #edf0f2; }
.workspace-navigation h2 { margin-bottom: .2rem; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
.workspace-navigation a { padding-block: .3rem; font-size: .85rem; }
.workspace-navigation .workspace-overview-link { margin-bottom: .7rem; font-weight: 650; }
.team-management-tabs { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-block: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.team-management-tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .3rem; }
@media (max-width: 700px) { .workspace-tool-grid { grid-template-columns: minmax(0, 1fr); } .workspace-tool-group { padding: 1rem; } }

.footer-bottom > .motion-toggle { margin-inline-start: auto; }
.back-to-top { position: fixed; inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgb(255 255 255 / 96%); box-shadow: 0 2px 9px #001c3d18; text-decoration: none; z-index: 20; font-size: 1.2rem; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--paper); }
.studio-preview { padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 3px solid var(--blue); background: var(--surface-muted); border-radius: .3rem; }
.studio-preview h2 { margin-top: .3rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.button-secondary { background: transparent; border: 1px solid #a4aab3; color: var(--ink); }
.workspace-layout .form-field > label { font-size: .9rem; font-weight: 650; }
.workspace-layout .helptext, .workspace-layout .form-help { color: var(--muted); font-size: .85rem; }
.workspace-layout input, .workspace-layout select, .workspace-layout textarea { border-color: #a4aab3; }
.workspace-layout input[type=radio] { width: auto; }
.background-picker { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: .4rem; min-width: 0; }
.background-picker legend { font-size: 1rem; font-weight: 650; padding-inline: .4rem; }
.background-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .65rem; }
.background-choices label { overflow-wrap: anywhere; position: relative; padding: .45rem; border: 1px solid var(--line); border-radius: .3rem; font-size: .75rem; cursor: pointer; }
.background-choices label:has(input:checked) { border-color: var(--blue); background: #f0f6fc; box-shadow: 0 0 0 1px var(--blue); }
.background-choices img { display: block; width: 100%; height: 3.5rem; object-fit: cover; border-radius: .2rem; margin-block: .4rem; }
.background-choices input { accent-color: var(--blue); }
.weather-locations { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.weather-locations a { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: .3rem; font-size: .85rem; text-decoration: none; }
.weather-locations a[aria-current=page] { color: white; background: var(--navy); border-color: var(--navy); }
.form-section { padding: 0; margin: 0 0 1.75rem; border: 0; min-width: 0; }
.form-section legend { width: 100%; padding: 0 0 .5rem; border-bottom: 1px solid #e3e6eb; font-size: 1rem; font-weight: 650; }
.form-options { margin-bottom: 1.5rem; font-size: .9rem; }
.form-options summary { cursor: pointer; font-weight: 600; }
.background-options > summary { cursor: pointer; font-size: .9rem; }
@media (max-width: 700px) { .back-to-top { bottom: max(4rem, env(safe-area-inset-bottom)); } }
.warning-notice { margin-block: 1.5rem; padding: .15rem 0 .15rem 1rem; border-left: 3px solid var(--accent-amber); overflow-wrap: anywhere; }
.warning-notice[data-severity="Extreme"], .warning-notice[data-severity="Severe"] { border-left-color: var(--red); }
.warning-notice .eyebrow { font-size: .7rem; margin-bottom: .35rem; }
.warning-notice h3 { font-size: 1.15rem; line-height: 1.4; margin-block: .35rem; }
.warning-area { font-size: .85rem; color: var(--muted); }
.warning-source { border-top: 1px solid var(--line); padding-top: 1rem; }
.warning-summary { border-top: 3px solid var(--accent-amber); }
.warning-summary ul { padding-inline-start: 1rem; font-size: .85rem; }
.warning-summary li { margin-block: .65rem; overflow-wrap: anywhere; }
.warning-diagnostics + .warning-diagnostics { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
.warning-page-heading h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
/* Weather: local inline-SVG icons, server-computed chart, compact day/hour lists. */
.wx-icon { width: 2rem; height: 2rem; flex: none; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-icon-large { width: 4rem; height: 4rem; }
.wx-sun { stroke: #d97706; fill: #fde68a; }
.wx-moon { stroke: #64748b; fill: #e2e8f0; }
.wx-cloud { stroke: #64748b; fill: white; }
.wx-cloud-dense { fill: #e2e8f0; }
.wx-rain { stroke: var(--blue); }
.wx-drop { fill: var(--blue); stroke: none; }
.wx-snow { stroke: #60a5fa; stroke-width: 1.3; }
.wx-fog { stroke: #94a3b8; stroke-width: 2; }
.wx-bolt { fill: #f59e0b; stroke: #b45309; stroke-width: 1; }
.page-intro { margin-bottom: 0; }
.weather-now { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-block: 1rem; }
.weather-now .weather-temperature { margin: 0; font-size: 2.4rem; }
.weather-condition { margin: 0; color: var(--muted); }
.weather-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0 0 0 auto; font-size: .85rem; }
.weather-facts dt { color: var(--muted); font-size: .75rem; }
.weather-facts dd { margin: 0; font-weight: 650; }
.weather-chart { margin: 1rem 0 .5rem; }
.weather-chart-scroll { overflow-x: auto; }
.weather-chart svg { display: block; width: 100%; min-width: 34rem; height: auto; }
.chart-grid { stroke: var(--line); }
.chart-axis { stroke: #b8c0ca; }
.chart-day { stroke: #b8c0ca; stroke-dasharray: 3 3; }
.chart-label { fill: var(--muted); font-size: 12px; }
.chart-label-day { fill: var(--navy); font-weight: 700; }
.chart-label-rain { fill: var(--blue-text); font-size: 11px; }
.chart-rain { fill: color-mix(in srgb, var(--blue) 55%, white); }
.chart-temperature { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; }
.chart-key::before { content: ""; display: inline-block; width: .9rem; height: .25rem; margin-right: .35rem; vertical-align: middle; border-radius: 2px; }
.chart-key-temperature::before { background: var(--red); }
.chart-key-rain { margin-left: 1rem; }
.chart-key-rain::before { height: .6rem; width: .6rem; background: color-mix(in srgb, var(--blue) 55%, white); }
.weather-days { display: grid; gap: .35rem; margin: 1rem 0; padding: 0; list-style: none; }
.weather-days a { position: relative; display: grid; grid-template-columns: 6.5rem 2rem minmax(6rem, 1fr) 5.5rem 7rem 6rem; align-items: center; gap: .75rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .45rem; color: var(--ink); text-decoration: none; font-size: .9rem; }
.weather-days a:hover { border-color: var(--navy); }
.weather-days a[aria-current] { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--red); }
.weather-day-name { font-weight: 650; }
.weather-day-name small { font-weight: 400; }
.weather-day-label, .weather-day-sun { color: var(--muted); font-size: .85rem; }
.weather-day-rain { color: var(--blue-text); font-size: .85rem; }
.weather-hours-title { margin-top: 1.5rem; font-size: 1rem; }
.weather-hours-scroll { overflow-x: auto; padding-bottom: .4rem; }
.weather-hour-list { display: flex; gap: .4rem; margin: .5rem 0; padding: 0; list-style: none; }
.weather-hour-list li { display: grid; justify-items: center; gap: .15rem; min-width: 5.2rem; padding: .5rem .3rem; border: 1px solid var(--line); border-radius: .45rem; font-size: .8rem; text-align: center; }
.weather-hour-list strong { font-size: 1.05rem; color: var(--navy); }
.weather-hour-list .meta { font-size: .75rem; white-space: nowrap; }
.weather-hour-label { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.weather-hour-rain { color: var(--blue-text); font-size: .75rem; }
.weather-forecast-source { margin-block: .5rem 1.5rem; }
.weather-environment { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; align-items: start; }
.weather-environment .fire-danger { grid-column: 1 / -1; }
.weather-environment .card { margin: 0; }
.weather-summary-now { display: flex; align-items: center; gap: .6rem; }
.weather-summary-now .weather-temperature { margin-block: .4rem; }
.air-index { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: .5rem .75rem; border-left: 4px solid #2e9e5b; background: #f3faf5; }
.air-index strong { font-size: 1.3rem; color: var(--navy); }
.air-index[data-level="2"] { border-color: #d4a017; background: #fffaeb; }
.air-index[data-level="3"], .air-index[data-level="4"] { border-color: var(--red); background: #fff3f0; }
.air-components { display: grid; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.air-components li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; grid-template-areas: "name trend" "value trend"; column-gap: .75rem; align-items: center; padding-bottom: .5rem; border-bottom: 1px solid #eef0f3; }
.air-name { grid-area: name; font-size: .85rem; color: var(--muted); }
.air-value { grid-area: value; font-size: .9rem; }
.air-trend { grid-area: trend; width: 7.5rem; height: 1.75rem; }
.air-trend polyline { fill: none; stroke: var(--navy); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.index-days { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; padding: 0; list-style: none; }
.index-days li { display: grid; justify-items: center; min-width: 5.5rem; padding: .45rem .6rem; border: 1px solid var(--line); border-top: 3px solid #2e9e5b; border-radius: .45rem; font-size: .8rem; }
.index-days strong { font-size: 1.3rem; color: var(--navy); }
.index-days li[data-uv="3"], .index-days li[data-uv="4"], .index-days li[data-uv="5"] { border-top-color: #d4a017; }
.index-days li[data-uv="6"], .index-days li[data-uv="7"] { border-top-color: #e07b00; }
.index-days li[data-uv="8"], .index-days li[data-uv="9"], .index-days li[data-uv="10"], .index-days li[data-uv="11"], .index-days li[data-uv="12"] { border-top-color: var(--red); }
.health-indices h3 { margin: 1.25rem 0 .25rem; font-size: .95rem; }
.table-scroll { overflow-x: auto; }
.pollen-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.pollen-table th, .pollen-table td { padding: .35rem .5rem; border-bottom: 1px solid #eef0f3; text-align: left; }
@media (max-width: 700px) {
  .weather-facts { margin-left: 0; }
  .weather-days a { grid-template-columns: minmax(0, 1fr) 2rem auto; grid-template-areas: "name icon temp" "rain rain sun"; gap: .15rem .6rem; }
  .weather-day-name { grid-area: name; } .weather-days .wx-icon { grid-area: icon; }
  .weather-day-temperature { grid-area: temp; text-align: right; white-space: nowrap; }
  .weather-day-rain { grid-area: rain; white-space: nowrap; } .weather-day-sun { grid-area: sun; text-align: right; white-space: nowrap; }
  /* The icon carries the condition visually; the text remains for assistive technology. */
  .weather-day-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.fire-danger h2 { hyphens: auto; overflow-wrap: break-word; }
.fire-danger-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.fire-danger-days li { display: grid; gap: .2rem; align-content: start; padding: .6rem .65rem; border: 1px solid var(--line); border-left: 3px solid #9aa6b2; border-radius: .45rem; font-size: .8rem; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .fire-danger-days { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .fire-danger-days li { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: .6rem; row-gap: 0; align-items: baseline; padding: .45rem .65rem; }
  .fire-danger-days li span:last-child { grid-column: 2; }
}
.fire-danger-days li[data-level="3"] { border-left-color: var(--accent-amber); }
.fire-danger-days li[data-level="4"], .fire-danger-days li[data-level="5"] { border-left-color: var(--red); }
.fire-danger-days strong { color: var(--navy); font-size: 1.05rem; }

.role-options { border: 0; padding: 0; margin: 1.5rem 0; min-width: 0; }
.role-options legend { font-weight: 650; }
.role-option { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.role-option > label { display: flex; align-items: baseline; gap: .5rem; }
.role-option .form-help { margin: .35rem 0 .5rem; }
.role-option details { font-size: .85rem; }
.role-option summary { cursor: pointer; }
.role-option li { margin-block: .3rem; overflow-wrap: anywhere; }
.error-page ul { padding-left: 1.2rem; line-height: 1.9; }
.error-standalone { max-width: 40rem; padding-block: 3rem; }
.error-standalone img { width: 12rem; height: auto; margin-bottom: 1.5rem; }
.page-revisions ol { padding-left: 1.2rem; }
.page-revisions li { margin-block: .5rem; }
.page-revisions summary { cursor: pointer; }
.revision-preview { max-height: 16rem; overflow: auto; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .35rem; font-size: .9rem; }
.request-notice { position: fixed; z-index: 50; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: min(32rem, calc(100% - 2rem)); padding: .8rem 1.1rem; border-left: 4px solid var(--red); border-radius: .4rem; background: var(--navy); color: white; font-size: .9rem; box-shadow: 0 6px 24px rgb(0 0 0 / 25%); }
.char-count { margin: .3rem 0 0; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.char-count.is-long { color: #8a5a00; font-weight: 600; }
.char-count.is-long::after { content: " · wird in Vorschauen gekürzt"; font-weight: 400; }
.form-options-hint { margin: -1.1rem 0 1.5rem; }
.stats-periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stats-periods .card { margin: 0; }
.stats-periods h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.stats-number { font-size: 2rem; font-weight: 650; margin: .3rem 0 0; color: var(--navy); font-variant-numeric: tabular-nums; }
.stats-views { fill: #b8cde3; }
.stats-visitors { fill: var(--blue); }
.stats-key-views::before, .stats-key-visitors::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .35rem; border-radius: 2px; vertical-align: -1px; }
.stats-key-views::before { background: #b8cde3; }
.stats-key-visitors::before { background: var(--blue); }
.stats-list { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.stats-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.stats-list li > :first-child { overflow-wrap: anywhere; }
.stats-list li > :last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.stats-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: .75rem; }
.stats-table th, .stats-table td { text-align: left; padding: .3rem .5rem; border-bottom: 1px solid var(--line); }
.sharing-hint { margin: .5rem 0 0; font-size: .75rem; color: var(--muted); }
.stats-table-scroll { overflow-x: auto; }
.stats-table td:not(:first-child), .stats-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
