/* OL3 Radio — anteprima moderna 2026 */
:root {
  --red: #ff2d2d;
  --red-dark: #cc0000;
  --red-glow: rgba(255, 45, 45, 0.35);
  --accent: #6eb5ff;
  --bg: #050505;
  --bg-elevated: #121212;
  --bg-card: #1a1a1a;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --white: #fff;
  --font: "Segoe UI", system-ui, sans-serif;
  --header-h: 72px;
  --player-h: 72px;
  --radius: 12px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  padding-top: var(--header-h);
  padding-bottom: var(--player-h);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; display: block; }

.hidden { display: none !important; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 54px;
  width: auto;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-listen-header {
  background: var(--red);
  color: var(--white) !important;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-listen-header:hover {
  background: var(--red-dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  box-shadow: 0 0 0 2px rgba(255, 45, 45, 0.35);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 45, 45, 0.28);
  border-color: var(--red);
  outline: none;
}

/* Hero — player live al centro */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
}

.hero-banner {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-banner img {
  width: 100%;
  display: block;
}

.hero-stage {
  position: relative;
  margin-bottom: 1.25rem;
}

.hero-live-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0;
}

.hero-player-main {
  background: #000;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 45, 45, 0.25),
    0 24px 64px rgba(255, 45, 45, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.55);
}

.hero-player-main .player-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border: none;
  border-radius: 0;
}

.hero-player-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-bar-copy h1 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hero-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--white);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse-live 1.8s infinite;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 10px rgba(255, 45, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); }
}

.hero-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.hero-player .player-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.hero-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* legacy — non usato nella nuova hero */
.hero-copy h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

/* Genre chips */
.genre-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}

.genre-bar h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.genre-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.genre-chips span {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text);
}

/* Player embed — base responsive 16:9 */
.player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.player-wrap > iframe,
.player-wrap > video,
.player-wrap .azoto-player-container,
.player-wrap .azoto-player-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
}

.player-wrap > video {
  object-fit: contain;
  background: #000;
}

.player-wrap .azoto-player-container {
  max-width: 100% !important;
}

/* Video showcase */
.video-showcase {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
  overflow: hidden;
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.video-showcase-promo,
.video-showcase-vod,
.video-showcase-youtube {
  min-width: 0;
  max-width: 100%;
}

.video-showcase-promo h3,
.video-showcase-vod h3,
.video-showcase-youtube h3,
.video-showcase-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.video-showcase-promo .player-wrap,
.home-vod-wrap,
.video-vod-wrap {
  margin-bottom: 0;
}

.video-showcase-promo video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-vod-wrap,
.video-vod-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-vod-wrap .azoto-player-container,
.home-vod-wrap iframe,
.video-vod-wrap .azoto-player-container,
.video-vod-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
}

.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 0;
}

.video-showcase-card video {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

.video-showcase-youtube {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.video-showcase-youtube .player-wrap,
.video-yt-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.video-showcase-youtube iframe,
.video-yt-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.video-showcase-foot {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-size: 1.35rem;
}

.section-lead {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

/* Home — riordino sezioni desktop vs mobile/tablet */
.home-layout {
  display: flex;
  flex-direction: column;
}

.home-zone-hero { order: 1; }
.home-zone-showcase { order: 2; }
.home-zone-pitch { order: 3; }
.home-zone-sponsors { order: 4; }
.home-zone-rest { order: 5; }

.home-sponsors-block {
  padding-top: 0.5rem;
}

@media (max-width: 1024px) {
  .home-zone-sponsors { order: 2; }
  .home-zone-showcase { order: 3; }
  .home-zone-pitch { order: 4; }

  .home-sponsors-block {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
  }

  .home-sponsors-block .section-head {
    margin-bottom: 0.75rem;
  }

  .home-sponsors-block .joombig-slider {
    max-width: none;
  }
}

.section-head a {
  font-size: 0.85rem;
  white-space: nowrap;
}

.on-air-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.on-air-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.on-air-card strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.on-air-card p {
  font-size: 1rem;
  font-weight: 600;
}

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

.quick-link {
  display: block;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.quick-link:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  color: var(--white);
}

.quick-link span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.quick-link strong { font-size: 1.05rem; }

/* Staff grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.grid-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 45, 0.5);
}

.grid-card a { color: inherit; }

.grid-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

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

.grid-card h3 {
  font-size: 0.85rem;
  padding: 0.65rem 0.75rem 0.85rem;
  text-align: center;
}

/* Sponsor slider (joombig) */
.joombig-section { padding-top: 1rem; }

.joombig-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.joombig-viewport {
  position: relative;
  aspect-ratio: 640 / 306;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}

.joombig-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.joombig-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.joombig-image-link { display: block; width: 100%; height: 100%; }

.joombig-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joombig-caption {
  position: absolute;
  left: 16px;
  top: 16px;
  width: min(260px, calc(100% - 32px));
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid var(--border);
  transform: translateX(-20px);
  opacity: 0;
  transition: transform 0.5s ease 0.15s, opacity 0.5s ease 0.15s;
}

.joombig-slide.active .joombig-caption {
  transform: translateX(0);
  opacity: 1;
}

.joombig-caption h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.joombig-caption p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.joombig-readmore {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red) !important;
}

.joombig-prev, .joombig-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.joombig-prev { left: 8px; }
.joombig-next { right: 8px; }

.joombig-bullets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.joombig-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
}

.joombig-bullet.active { background: var(--white); border-color: var(--red); }

/* Testimonials */
.testimonials-carousel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.testimonials-carousel > h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.testimonial-stage {
  min-height: 180px;
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: testimonial-fade 0.45s ease;
}

.testimonial-slide.active {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

@keyframes testimonial-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-portrait {
  flex-shrink: 0;
  width: clamp(140px, 22vw, 200px);
  height: clamp(140px, 22vw, 200px);
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
  box-shadow:
    0 0 0 4px rgba(255, 45, 45, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.45);
}

.testimonial-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-content {
  flex: 1;
  min-width: 0;
}

.testimonial-slide p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.testimonial-slide cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
  justify-content: center;
}

.testimonial-nav-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background-color: var(--bg-elevated);
  background-size: cover;
  background-position: center top;
  cursor: pointer;
  padding: 0;
  opacity: 0.72;
  transition: border-color 0.2s, transform 0.2s, opacity 0.2s;
}

.testimonial-nav-btn.active,
.testimonial-nav-btn:hover {
  opacity: 1;
  border-color: var(--red);
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(255, 45, 45, 0.25);
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p + p { margin-top: 0.35rem; }

/* Sticky player */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  height: var(--player-h);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
}

.sticky-live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 48px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.sticky-live-toggle:hover {
  background: var(--red-dark);
}

.sticky-live-toggle.is-watch-mode {
  background: var(--accent);
}

.sticky-live-toggle.is-watch-mode:hover {
  background: #5aa3ef;
}

.live-toggle-btn .live-toggle-icon {
  font-size: 0.95em;
}

.sticky-meta { min-width: 0; flex: 1; }

.sticky-meta strong {
  display: block;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sticky-actions button,
.sticky-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 0.75rem;
  cursor: pointer;
}

.sticky-actions a:hover,
.sticky-actions button:hover {
  border-color: var(--red);
  color: var(--white);
}

.sticky-volume {
  width: 80px;
  accent-color: var(--red);
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: calc(var(--player-h) + 0.75rem);
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  margin: 0 auto;
  z-index: 170;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Page layout & nav */
.page-main {
  min-height: 50vh;
}

.page-content h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  color: var(--white);
}

.main-nav a.is-active {
  background: rgba(255, 45, 45, 0.15);
  color: var(--white);
}

.sticky-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 0.75rem;
}

.sticky-link:hover {
  border-color: var(--red);
  color: var(--white);
}

/* Collapsible staff sections */
.collapsible-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.collapsible-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  color: var(--white);
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.collapsible-head:hover {
  border-color: rgba(110, 181, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.collapsible-head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.collapsible-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.collapsible-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(110, 181, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(110, 181, 255, 0.08);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.collapsible-icon::before {
  content: "+";
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.collapsible-section.is-open .collapsible-icon::before {
  content: "−";
  font-size: 1.75rem;
}

.collapsible-head:hover .collapsible-icon {
  background: rgba(110, 181, 255, 0.28);
  transform: scale(1.06);
}

.collapsible-toggle-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 2.75rem;
}

.collapsible-section.is-open .collapsible-toggle-label {
  color: var(--muted);
}

.collapsible-body {
  display: none;
  padding-top: 1.25rem;
}

.collapsible-section.is-open .collapsible-body {
  display: block;
}

.staff-block {
  margin-bottom: 2.5rem;
}

.staff-block h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

/* Sponsor pitch & genres */
.sponsor-pitch {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.sponsor-pitch p {
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.65;
}

.sponsor-pitch p:last-child { margin-bottom: 0; }
.sponsor-pitch strong { color: var(--white); }

.genres-full {
  margin-top: 0.75rem;
}

.genres-full summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.page-main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Article pages */
.article-page h1 { margin-bottom: 1rem; color: var(--white); }

.article-hero {
  margin-bottom: 1.25rem;
  text-align: center;
}

.article-hero img {
  max-height: 420px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.article-body,
.article-body p,
.article-body div,
.article-body li,
.article-body span,
.article-body font {
  color: var(--text) !important;
  background: transparent !important;
}

.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  color: var(--white) !important;
}

.article-body a { color: var(--accent) !important; }
.article-body a:hover { color: var(--red) !important; }
.article-body p { margin-bottom: 0.75rem; }
.article-body img {
  margin: 0.75rem auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Soci / associati */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.member-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

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

.member-card h3 {
  font-size: 0.78rem;
  padding: 0.55rem 0.4rem 0.75rem;
  line-height: 1.3;
}

.member-card--linked {
  transition: border-color 0.2s, transform 0.2s;
}

.member-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.member-card-link:hover {
  color: var(--accent, #6eb5ff);
}

.member-card--linked:hover {
  border-color: rgba(110, 181, 255, 0.45);
  transform: translateY(-2px);
}

.member-card-hint {
  display: block;
  font-size: 0.65rem;
  color: var(--accent, #6eb5ff);
  padding: 0 0.4rem 0.65rem;
  font-weight: 600;
}

.member-card--linked .member-card-link h3 {
  padding-bottom: 0.25rem;
}

/* Contact form */
.contact-info {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contact-form {
  max-width: 520px;
  margin-top: 1.5rem;
}

.contact-form h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.contact-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover { background: var(--red-dark); }

.contact-form .btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.contact-form .btn-whatsapp:hover {
  background: #1da851;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Video gallery */
.video-gallery {
  width: 100%;
  max-width: 100%;
}

.video-gallery-count {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 100%;
  width: 100%;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.video-card-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.video-card-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 45, 45, 0.92);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.video-card-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border: 10px solid transparent;
  border-left-color: #fff;
}

.video-card h3 {
  font-size: 0.82rem;
  padding: 0.75rem 0.85rem;
  margin: 0;
  line-height: 1.35;
  text-align: center;
  color: var(--white);
  background: var(--bg-elevated);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal.hidden { display: none; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.video-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
}

.video-modal-player {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

/* Foto gallery */
.foto-section { margin-bottom: 2rem; }

.foto-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.foto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.foto-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.foto-link:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.hidden { display: none; }

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

/* Staff schede interne */
.staff-scheda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.staff-scheda-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.staff-scheda-top {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 160px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
  align-items: start;
}

.staff-scheda-thumb {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.staff-scheda-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.staff-scheda-main h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--white);
  margin: 0 0 0.65rem;
}

.staff-scheda-info {
  font-size: 0.88rem;
  line-height: 1.55;
}

.staff-scheda-info p {
  margin-bottom: 0.35rem;
}

.staff-scheda-info p:last-child {
  margin-bottom: 0;
}

.staff-scheda-desc {
  margin-top: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.staff-scheda-desc summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.staff-scheda-desc summary::-webkit-details-marker { display: none; }

.staff-scheda-desc[open] summary {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.staff-scheda-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

.staff-scheda-full-link {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.85rem;
}

.staff-profile-info {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.staff-profile-desc h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

@media (max-width: 900px) {
  .staff-scheda-top {
    grid-template-columns: clamp(96px, 28vw, 130px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
}

/* Staff profile page */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.staff-profile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.staff-profile-header {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.staff-profile-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.staff-profile-heading h1 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--white);
  margin: 0;
}

.staff-profile-body {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

@media (max-width: 1024px) {
  :root {
    --header-h: 68px;
    --player-h: 64px;
  }

  body {
    padding-top: var(--header-h);
  }

  .site-header { top: 0; }

  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.75rem;
    gap: 0.5rem;
    min-height: var(--header-h);
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: auto;
  }

  .logo img {
    height: 56px;
    max-height: calc(var(--header-h) - 10px);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.98);
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h) - 52px);
    overflow-y: auto;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    position: relative;
    z-index: 1;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: min(100%, 520px);
    margin-left: auto;
    margin-right: auto;
  }

  .video-card-media {
    aspect-ratio: 16 / 9;
  }

  .btn-listen-header {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
  }

  .hero {
    padding: 0.85rem 0.75rem 1rem;
  }

  .hero-banner { display: none; }

  .hero-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-bar-copy h1 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  }

  .hero-tagline {
    font-size: 0.88rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-player-main {
    border-width: 1px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  }

  .section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .video-showcase {
    padding: 1rem 0.75rem 0;
  }

  .video-showcase-grid,
  .on-air-grid,
  .quick-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .joombig-prev,
  .joombig-next {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }

  .joombig-caption {
    left: 10px;
    top: auto;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 8px 10px;
  }

  .joombig-caption h3 { font-size: 0.95rem; }
  .joombig-caption p { font-size: 0.75rem; }

  .genre-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .genre-chips span {
    flex: 0 0 auto;
  }

  .collapsible-head {
    padding: 0.9rem 1rem;
  }

  .collapsible-head h2 {
    font-size: 1.05rem;
  }

  .member-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }

  .sticky-player {
    padding: 0.5rem 0.65rem;
    gap: 0.5rem;
  }

  .sticky-live-toggle {
    height: 44px;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .sticky-volume { display: none; }

  .sticky-meta strong {
    font-size: 0.78rem;
  }

  .sticky-meta span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  body.is-video-playing .sticky-meta span {
    color: var(--accent);
  }

  .sticky-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }

  .testimonial-slide.active {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-nav-btn {
    width: 58px;
    height: 58px;
  }

  .staff-profile-header {
    grid-template-columns: 1fr;
  }

  .staff-profile-photo {
    max-width: min(100%, 280px);
    margin: 0 auto;
  }

  .staff-scheda-top {
    grid-template-columns: clamp(96px, 28vw, 130px) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .video-modal-dialog {
    width: calc(100% - 1rem);
    margin: 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .video-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-showcase-youtube {
    grid-column: 1 / -1;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
  }

  .member-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 767px) {
  .btn-listen-header {
    display: none;
  }
}
