/* ============================================================
   RADIO KONTAKT — Design System v3
   Brand: Red #CC1F38 · Black #111111 · White #FFFFFF
   Fonts: Barlow Condensed + Source Serif 4 + DM Sans
   Mobile-first. WCAG 2.1 AA. AMA compliant.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --red:        #CC1F38;
  --red-dark:   #A8172D;
  --red-dim:    rgba(204,31,56,0.1);
  --black:      #111111;
  --white:      #FFFFFF;
  --gray-50:    #F8F8F8;
  --gray-100:   #F0F0F0;
  --gray-200:   #E2E2E2;
  --gray-400:   #9E9E9E;
  --gray-600:   #5E5E5E;
  --gray-800:   #2E2E2E;

  --font-headline: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --font-ui:       'DM Sans', -apple-system, sans-serif;

  --scale: 1;

  --max-w:    1240px;
  --pad:      clamp(1rem, 4vw, 1.5rem);
  --radius:   6px;
  --radius-lg: 10px;
  --player-h: 62px;

  --ring:       0 0 0 3px rgba(204,31,56,0.55);
  --ring-light: 0 0 0 3px rgba(204,31,56,0.55), 0 0 0 5px rgba(255,255,255,0.8);

  /* Transitions */
  --t-fast: 120ms ease;
  --t-mid:  200ms ease;
  --t-slow: 350ms ease;
}

/* High Contrast */
html.hc {
  --red:      #FF2244;
  --black:    #000000;
  --white:    #FFFFFF;
  --gray-50:  #F5F5F5;
  --gray-100: #EBEBEB;
  --gray-200: #CCCCCC;
  --gray-400: #777777;
  --gray-600: #333333;
  --gray-800: #111111;
  --ring:     0 0 0 3px #FFDD00;
}

html.fs-sm  { --scale: 0.875; }
html.fs-md  { --scale: 1;     }
html.fs-lg  { --scale: 1.2;   }
html.fs-xl  { --scale: 1.4;   }

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: calc(16px * var(--scale));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-ui);
  background: var(--gray-50);
  color: var(--black);
  line-height: 1.6;
  min-height: 100dvh;
  padding-bottom: var(--player-h);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-ui); border: none; background: none; }
input, textarea, select { font-family: var(--font-ui); }

/* Touch targets */
button, [role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Focus */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  z-index: 9999;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; outline: 3px solid var(--white); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fade-in {
  animation: fadeUp 0.4s ease both;
}

.spin { animation: spin 0.8s linear infinite; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-bar {
  background: var(--red);
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-overflow { flex: 1; overflow: hidden; }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 55s linear infinite;
}

.ticker-item {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 32px;
  border-right: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-ui);
}
.ticker-item a { color: inherit; transition: opacity var(--t-fast); }
.ticker-item a:hover { opacity: 0.8; text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: unset;
  transition: opacity var(--t-fast);
}
.site-logo:hover { opacity: 0.85; }
.site-logo:focus-visible { box-shadow: var(--ring); border-radius: var(--radius); }

.logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-radio {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--black);
  text-transform: uppercase;
}
.logo-kontakt {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1;
}
.logo-freq {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-top: 2px;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Nav */
.main-nav { flex: 1; overflow: hidden; min-width: 0; }

.nav-list {
  display: flex;
  gap: 0;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.6rem; right: 0.6rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--t-mid);
  border-radius: 1px;
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }
.nav-link.active::after { transform: scaleX(1); }
.nav-link:focus-visible { box-shadow: var(--ring); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
}

.icon-btn {
  width: 38px; height: 38px;
  min-height: 38px; min-width: 38px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  padding: 0;
}
.icon-btn:hover { background: var(--gray-100); color: var(--black); border-color: var(--gray-400); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn:focus-visible { box-shadow: var(--ring); }

.live-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0 0.9rem;
  height: 36px;
  min-height: 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.live-btn:hover { background: var(--red-dark); }
.live-btn:active { transform: scale(0.97); }
.live-btn:focus-visible { box-shadow: var(--ring-light); }

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  animation: blink 1.4s ease-in-out infinite;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  min-height: 38px; min-width: 38px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--gray-200);
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  width: 17px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  display: block;
  transition: all var(--t-mid);
}
.nav-toggle:focus-visible { box-shadow: var(--ring); }

/* Search */
.search-panel {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.65rem var(--pad);
  display: none;
}
.search-panel.open { display: block; animation: fadeUp 0.15s ease; }
.search-form {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}
.search-input {
  flex: 1;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--black);
  padding: 0.6rem 1rem;
  min-height: 46px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,31,56,0.15);
}
.search-submit {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  min-height: 46px;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.search-submit:hover { background: var(--red-dark); }
.search-submit:active { transform: scale(0.97); }
.search-submit:focus-visible { box-shadow: var(--ring-light); }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.nav-drawer.open { display: block; }

.nav-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  animation: fadeUp 0.2s ease;
  backdrop-filter: blur(2px);
}

.nav-drawer-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  border-bottom: 3px solid var(--red);
  flex-shrink: 0;
}

.nav-drawer-close {
  width: 44px; height: 44px;
  min-height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--black);
  transition: all var(--t-fast);
}
.nav-drawer-close:hover { background: var(--gray-200); }
.nav-drawer-close:focus-visible { box-shadow: var(--ring); }

.nav-drawer-list { padding: 0.5rem 0; }

.nav-drawer-link {
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
  min-height: 52px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--t-fast), background var(--t-fast), border-left var(--t-fast);
}
.nav-drawer-link:hover { color: var(--red); background: var(--red-dim); }
.nav-drawer-link:focus-visible { box-shadow: var(--ring); }
.nav-drawer-link.active {
  color: var(--red);
  border-left: 3px solid var(--red);
  padding-left: calc(var(--pad) - 3px);
}

/* ============================================================
   BRAND STRIP
   ============================================================ */
.hero-brand-strip {
  background: var(--black);
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}
.hero-brand-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/logo-banner.png') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.hero-brand-tagline {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  position: relative;
}
.hero-brand-tagline span { color: var(--red); }
.hero-brand-freq {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.25rem;
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  background: var(--black);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.hero-main:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.hero-main:focus-visible { box-shadow: 0 0 0 3px var(--red); }

.hero-main-img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero-main:hover .hero-main-img { transform: scale(1.04); }

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-main-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.cat-pill {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.hero-main-title {
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.hero-main-excerpt {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-main-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-read-more {
  color: var(--red);
  font-weight: 600;
  transition: letter-spacing var(--t-mid);
}
.hero-main:hover .hero-read-more { letter-spacing: 0.04em; }

/* Secondary cards */
.hero-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-sec-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  text-decoration: none;
  flex: 1;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.hero-sec-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  transform: translateX(2px);
}
.hero-sec-card:focus-visible { box-shadow: 0 0 0 3px var(--red); }

.hero-sec-img {
  width: 100px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--gray-100);
  transition: transform var(--t-slow);
}
.hero-sec-card:hover .hero-sec-img { transform: scale(1.05); }

.hero-sec-body { padding: 0.75rem; display: flex; flex-direction: column; justify-content: space-between; }
.hero-sec-cat {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
  font-family: var(--font-ui);
}
.hero-sec-title {
  font-family: var(--font-headline);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-sec-date {
  font-size: 0.68rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
  font-family: var(--font-ui);
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--red);
}

.sec-title {
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sec-link {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-height: unset;
  display: inline;
  transition: letter-spacing var(--t-mid);
}
.sec-link:hover { letter-spacing: 0.1em; }
.sec-link:focus-visible { box-shadow: var(--ring); border-radius: 2px; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-section { padding: 2rem 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--gray-400);
}

.card-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
}

.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.news-card:hover .card-img { transform: scale(1.05); }

.card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--black) 0%, #3A0010 100%);
  display: flex; align-items: center; justify-content: center;
}
.card-placeholder img { width: 42px; opacity: 0.35; }

.card-body { padding: 0.875rem; display: flex; flex-direction: column; flex: 1; }

.card-cat {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
  display: block;
  font-family: var(--font-ui);
}

.card-title {
  font-family: var(--font-headline);
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a {
  color: inherit;
  min-height: unset;
  display: inline;
  text-decoration: none;
  transition: color var(--t-fast);
}
.card-title a:hover { color: var(--red); }
.card-title a:focus-visible { box-shadow: var(--ring); border-radius: 2px; outline: none; }

.card-excerpt {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.card-date {
  font-size: 0.68rem;
  color: var(--gray-400);
  margin-top: auto;
  font-family: var(--font-ui);
  display: block;
}

/* ============================================================
   CATEGORY ROWS
   ============================================================ */
.cat-section { padding: 0 0 2rem; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.article-breadcrumb {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-ui);
}
.article-breadcrumb a { color: var(--red); transition: opacity var(--t-fast); }
.article-breadcrumb a:hover { opacity: 0.8; }

.article-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  font-family: var(--font-ui);
}
.article-meta a { color: var(--red); text-decoration: underline; }

.article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--black);
}
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 { font-family: var(--font-headline); font-size: 1.4rem; font-weight: 800; margin: 2rem 0 0.75rem; }
.article-body h3 { font-family: var(--font-headline); font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-600);
}
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }

/* Share bar */
.share-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}
.share-label { font-size: 0.82rem; font-weight: 600; color: var(--gray-600); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  min-height: 44px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: filter var(--t-fast), transform var(--t-fast);
}
.share-btn:hover { filter: brightness(0.9); }
.share-btn:active { transform: scale(0.97); }
.share-btn:focus-visible { box-shadow: var(--ring); }
.share-fb   { background: #1877F2; color: #fff; }
.share-wa   { background: #25D366; color: #fff; }
.share-copy { background: var(--gray-100); color: var(--black); border: 1px solid var(--gray-200); }

/* Sidebar */
.sidebar-block { margin-bottom: 2rem; }
.sidebar-heading {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--red);
  margin-bottom: 0.85rem;
}
.sidebar-card {
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  transition: transform var(--t-fast);
}
.sidebar-card:hover { transform: translateX(3px); }
.sidebar-card:last-child { border-bottom: none; }
.sidebar-card:focus-visible { box-shadow: var(--ring); border-radius: var(--radius); }
.sidebar-card-img {
  width: 68px; height: 51px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--gray-100);
}
.sidebar-card-title {
  font-family: var(--font-headline);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t-fast);
}
.sidebar-card:hover .sidebar-card-title { color: var(--red); }
.sidebar-card-date { font-size: 0.68rem; color: var(--gray-400); margin-top: 0.25rem; display: block; font-family: var(--font-ui); }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-header {
  background: var(--black);
  color: var(--white);
  padding: 2rem 0;
  margin-bottom: 2rem;
}
.cat-header-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
  font-family: var(--font-ui);
}
.cat-header-name {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cat-header-count {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
  font-family: var(--font-ui);
}

.cat-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.85rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  min-height: 50px;
  cursor: pointer;
  transition: all var(--t-mid);
  font-family: var(--font-ui);
}
.load-more:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.load-more:active { transform: scale(0.98); }
.load-more:focus-visible { box-shadow: var(--ring); }
.load-more:disabled { opacity: 0.45; cursor: not-allowed; }

/* ============================================================
   PERSISTENT PLAYER — improved mobile layout
   ============================================================ */
.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--black);
  border-top: 3px solid var(--red);
  height: var(--player-h);
}

.player-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
}

.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.player-dot {
  display: none; /* replaced by pulse ring on play button */
}

.player-name {
  font-family: var(--font-headline);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-status {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-family: var(--font-ui);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.player-play {
  width: 44px; height: 44px;
  min-height: 44px; min-width: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  padding: 0;
  box-shadow: 0 0 0 0 rgba(204,31,56,0.4);
}
.player-play:hover { background: var(--red-dark); transform: scale(1.08); }
.player-play:active { transform: scale(0.96); }
.player-play:focus-visible {
  box-shadow: 0 0 0 3px rgba(204,31,56,0.7), 0 0 0 5px var(--black);
}

/* Pulse when playing */
.player-play.playing {
  animation: playerPulse 2s ease-in-out infinite;
}
@keyframes playerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,31,56,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(204,31,56,0); }
}

.player-vol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.player-vol svg { color: var(--gray-400); flex-shrink: 0; }
.vol-slider {
  width: 80px;
  accent-color: var(--red);
  cursor: pointer;
  min-height: 20px;
  opacity: 0.75;
  transition: opacity var(--t-fast);
}
.vol-slider:hover { opacity: 1; }
.vol-slider:focus-visible { box-shadow: var(--ring); border-radius: 2px; }

/* ============================================================
   FLOATING A11Y BUTTON — clearer label
   ============================================================ */
.a11y-fab {
  position: fixed;
  bottom: calc(var(--player-h) + 10px);
  left: 10px;
  z-index: 149;
  width: auto;
  min-width: unset;
  height: 34px;
  min-height: 34px;
  border-radius: 17px;
  background: rgba(17,17,17,0.88);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 8px;
  cursor: pointer;
  transition: all var(--t-fast);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.a11y-fab:hover {
  background: rgba(17,17,17,0.95);
  border-color: var(--red);
  color: var(--white);
}
.a11y-fab:focus-visible { box-shadow: var(--ring-light); }

.a11y-panel {
  position: fixed;
  bottom: calc(var(--player-h) + 52px);
  left: 10px;
  z-index: 149;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  width: 230px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  display: none;
  animation: fadeUp 0.15s ease;
}
.a11y-panel.open { display: block; }

.a11y-panel-title {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red);
}

.a11y-row { margin-bottom: 0.85rem; }
.a11y-row-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 0.35rem;
  display: block;
  font-family: var(--font-ui);
}

.a11y-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--black);
  width: 100%;
  min-height: 38px;
  transition: all var(--t-fast);
  font-family: var(--font-ui);
}
.a11y-toggle:hover { border-color: var(--red); background: var(--red-dim); }
.a11y-toggle[aria-pressed="true"] { background: var(--red); color: var(--white); border-color: var(--red); }
.a11y-toggle:focus-visible { box-shadow: var(--ring); }

.a11y-fs-btns {
  display: flex;
  gap: 0.3rem;
}
.a11y-fs-btn {
  flex: 1;
  height: 34px;
  min-height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-ui);
}
.a11y-fs-btn:hover { border-color: var(--red); color: var(--red); }
.a11y-fs-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }
.a11y-fs-btn:focus-visible { box-shadow: var(--ring); }

.a11y-panel-link {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--red);
  text-decoration: underline;
  margin-top: 0.75rem;
  min-height: unset;
  font-family: var(--font-ui);
  transition: opacity var(--t-fast);
}
.a11y-panel-link:hover { opacity: 0.8; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  margin-top: 2.5rem;
}

.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
  min-height: unset;
  transition: opacity var(--t-fast);
}
.footer-brand-logo:hover { opacity: 0.8; }
.footer-brand-logo img { height: 34px; width: auto; }
.footer-desc { font-size: 0.82rem; line-height: 1.7; margin-bottom: 1.1rem; }

.footer-social { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.footer-social a {
  width: 34px; height: 34px;
  min-height: 34px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  text-decoration: none;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-social a:focus-visible { box-shadow: 0 0 0 3px rgba(204,31,56,0.7); }

.footer-col-title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  min-height: unset;
  display: inline;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--red); }
.footer-links a:focus-visible { box-shadow: var(--ring); border-radius: 2px; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy { font-size: 0.78rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; min-height: unset; display: inline; transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   LOADING + ERROR
   ============================================================ */
.skel-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.skel-img {
  height: 160px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200%;
  animation: shimmer 1.5s infinite;
}
.skel-body { padding: 0.875rem; }
.skel-line {
  height: 12px;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200%;
  animation: shimmer 1.5s infinite;
}

.err-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  font-family: var(--font-ui);
}
.err-msg strong { display: block; font-size: 1rem; color: var(--black); margin-bottom: 0.4rem; }

/* ============================================================
   ACCESSIBILITY PAGE
   ============================================================ */
.a11y-page-wrap { max-width: 820px; margin: 2.5rem auto; padding: 0 var(--pad) 5rem; }
.a11y-page-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.a11y-page h1 { font-family: var(--font-headline); font-size: clamp(1.6rem,4vw,2.2rem); font-weight: 800; color: var(--black); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.35rem; }
.a11y-page-sub { font-size: 0.9rem; color: var(--gray-400); margin-bottom: 2rem; font-family: var(--font-ui); line-height: 1.6; }
.a11y-page h2 { font-family: var(--font-headline); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--black); margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--red); }
.a11y-page p { font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-800); line-height: 1.75; margin-bottom: 0.75rem; }
.a11y-page ul { padding-left: 1.25rem; list-style: disc; margin-bottom: 1rem; }
.a11y-page li { font-family: var(--font-body); font-size: 0.875rem; color: var(--gray-800); margin-bottom: 0.4rem; }
.a11y-page a { color: var(--red); text-decoration: underline; }
.a11y-contact-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem; margin: 1.25rem 0; font-family: var(--font-ui); font-size: .875rem; }
.a11y-contact-box p { margin-bottom: .35rem; font-family: var(--font-ui); }
.action-table { width: 100%; border-collapse: collapse; font-size: .82rem; font-family: var(--font-ui); }
.action-table th { text-align: left; padding: .5rem .75rem; font-weight: 600; color: var(--black); border-bottom: 2px solid var(--gray-200); }
.action-table td { padding: .65rem .75rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); vertical-align: top; }
.badge-done { background:#D1FAE5;color:#065F46;padding:.15rem .5rem;border-radius:3px;font-weight:600;font-size:.72rem;white-space:nowrap }
.badge-wip  { background:#FEF9C3;color:#92400E;padding:.15rem .5rem;border-radius:3px;font-weight:600;font-size:.72rem;white-space:nowrap }
.badge-plan { background:#EDE9FE;color:#5B21B6;padding:.15rem .5rem;border-radius:3px;font-weight:600;font-size:.72rem;white-space:nowrap }
.form-label { display:block;font-size:.82rem;font-weight:600;color:var(--black);margin-bottom:.35rem;font-family:var(--font-ui); }
.form-field { width:100%;background:var(--gray-50);border:1.5px solid var(--gray-200);border-radius:var(--radius);font-family:var(--font-ui);font-size:1rem;color:var(--black);padding:.65rem .9rem;min-height:48px;transition:border-color var(--t-fast),box-shadow var(--t-fast); }
.form-field:focus { outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(204,31,56,0.15); }
.form-textarea { min-height:120px;resize:vertical; }
.form-submit { background:var(--red);color:var(--white);border:none;border-radius:var(--radius);padding:.75rem 2rem;font-size:.9rem;font-weight:600;font-family:var(--font-ui);min-height:50px;cursor:pointer;transition:background var(--t-fast),transform var(--t-fast); }
.form-submit:hover { background:var(--red-dark); }
.form-submit:active { transform:scale(0.98); }
.form-submit:focus-visible { box-shadow:var(--ring-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .news-grid      { grid-template-columns: repeat(3,1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-grid      { grid-template-columns: 1fr 250px; }
}

@media (max-width: 768px) {
  :root { --player-h: 56px; }

  .header-row { height: 54px; gap: 0.5rem; }
  .header-divider { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .player-vol { display: none; }
  .player-logo { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-secondary-col { display: none; }
  .hero-main { min-height: 260px; border-radius: var(--radius); }
  .hero-main-title { font-size: 1.25rem; }
  .hero-main-excerpt { display: none; }

  .news-grid     { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cat-grid      { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cat-page-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .article-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 1.5rem; }
  .article-sidebar { display: none; }
  .article-title { font-size: 1.5rem; }

  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }

  .a11y-fab { left: 8px; bottom: calc(var(--player-h) + 8px); }
  .a11y-panel { left: 8px; width: calc(100vw - 16px); max-width: 280px; }

  .hero-brand-strip { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 0.85rem var(--pad); }
  .hero-brand-freq { font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .news-grid      { grid-template-columns: 1fr; }
  .cat-grid       { grid-template-columns: 1fr; }
  .cat-page-grid  { grid-template-columns: 1fr; }
  .logo-wordmark  { display: none; }
  .live-btn span:not(.live-dot) { display: none; }
  .player-name    { font-size: 0.8rem; }
  .player-status  { font-size: 0.6rem; }
}
