/* Radio Laterza Web - rifinitura pagine interne */

body {
  background:
    radial-gradient(circle at top left, rgba(215,25,32,.18), transparent 34%),
    linear-gradient(180deg, #05080c 0%, #0b1118 45%, #05080c 100%);
  color: #fff;
}

.podcast-app-page {
  min-height: 100vh;
  padding-bottom: 80px;
}

.podcast-app-page::before {
  content: "";
  display: block;
  height: 220px;
  margin: -24px -18px 24px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.78)),
    url("/assets/img/laterza-hero.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.podcast-app-page h1,
.podcast-app-page .page-title {
  margin-top: -150px;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}

.podcast-app-page .back-home,
.podcast-app-page .back-link,
.podcast-app-page a[href*="home"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
}

.podcast-app-page .back-home:hover,
.podcast-app-page .back-link:hover,
.podcast-app-page a[href*="home"]:hover {
  background: rgba(215,25,32,.85);
}

.rlw-page-footer {
  margin: 60px auto 0;
  padding: 28px 18px 36px;
  text-align: center;
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}

.rlw-page-footer strong {
  color: #fff;
}

@media (min-width: 900px) {
  .podcast-app-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px 90px;
  }

  .podcast-app-page::before {
    height: 320px;
    margin: 0 calc(50% - 50vw) 36px;
  }

  .podcast-app-page h1,
  .podcast-app-page .page-title {
    margin-top: -220px;
    font-size: clamp(44px, 5vw, 72px);
  }
}


/* PREMIUM LATERZA DI NOTTE START */

.podcast-page-premium::before {
  display: none !important;
}

.podcast-page-premium {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 90px;
}

.podcast-page-premium .podcast-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0 0 18px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
}

.podcast-page-premium .podcast-back-button span:last-child::before {
  content: "Torna alla ";
}

.podcast-page-premium .podcast-hero-page {
  position: relative;
  min-height: 360px;
  padding: 42px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0,0,0,.88), rgba(15,0,3,.72)),
    url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 42px;
  align-items: center;
}

.podcast-page-premium .podcast-cover-big {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  grid-row: span 5;
}

.podcast-page-premium .podcast-hero-page h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -2px;
}

.podcast-page-premium .podcast-badge {
  width: fit-content;
  margin-top: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(215,25,32,.18);
  border: 1px solid rgba(215,25,32,.55);
}

.podcast-page-premium .podcast-play-btn {
  width: fit-content;
  margin-top: 20px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(215,25,32,.35);
}

.podcast-page-premium .premium-now-playing {
  margin-top: 22px;
  padding: 16px 18px;
  max-width: 520px;
  border-radius: 18px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.14);
}

.now-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.rlw-mini-meter {
  display: inline-flex;
  align-items: end;
  gap: 4px;
  height: 20px;
}

.rlw-mini-meter i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: #d71920;
  animation: none;
}

.rlw-mini-meter i:nth-child(1) { height: 8px; animation-delay: .05s; }
.rlw-mini-meter i:nth-child(2) { height: 15px; animation-delay: .15s; }
.rlw-mini-meter i:nth-child(3) { height: 20px; animation-delay: .25s; }
.rlw-mini-meter i:nth-child(4) { height: 12px; animation-delay: .35s; }
.rlw-mini-meter i:nth-child(5) { height: 17px; animation-delay: .45s; }

@keyframes rlwMeter {
  0%, 100% { transform: scaleY(.45); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.episode-progress-wrap {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

#episodeProgress {
  width: 100%;
  accent-color: #d71920;
}

.podcast-page-premium .podcast-description-box,
.podcast-page-premium .episodes-box,
.podcast-page-premium .more-podcasts {
  margin-top: 34px;
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  padding: 24px;
}

.podcast-page-premium .editorial-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
}

.podcast-page-premium .editorial-card {
  width: auto;
}

@media (max-width: 899px) {
  .podcast-page-premium {
    padding: 18px 16px 90px;
  }

  .podcast-page-premium .podcast-hero-page {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
    display: block;
  }

  .podcast-page-premium .podcast-cover-big {
    width: 150px;
    height: 150px;
    margin-bottom: 18px;
  }

  .podcast-page-premium .podcast-hero-page h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .podcast-page-premium .editorial-scroll {
    display: flex;
    overflow-x: auto;
  }

  .podcast-page-premium .editorial-card {
    min-width: 150px;
  }
}

/* PREMIUM LATERZA DI NOTTE END */






/* VU METER EPISODIO - DEFINITIVO */
.episode-spectrum {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  height: 38px !important;
  min-width: 100px !important;
  margin: 0 !important;
}

.episode-spectrum span {
  display: block !important;
  width: 6px !important;
  min-height: 8px !important;
  height: 8px;
  background-color: #6f6f6f;
  border-radius: 999px !important;
  opacity: .55;
  transition: height .11s linear, background-color .15s linear, opacity .15s linear !important;
  animation: none !important;
}

.rlw-hero-logo {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 150px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
}

@media (max-width: 899px) {
  .rlw-hero-logo {
    width: 118px;
    top: 18px;
    left: 18px;
  }
}






/* AUTORE PODCAST */

.podcast-author{
    margin-top:6px;
    font-size:22px;
    color:#d8d8d8;
    font-weight:300;
    letter-spacing:.2px;
}

.podcast-author strong{
    color:#fff;
    font-weight:700;
}

.podcast-meta{
    margin-top:12px;
    margin-bottom:24px;
    font-size:15px;
    color:#b5b5b5;
    letter-spacing:.4px;
}

@media(max-width:899px){

.podcast-author{
    font-size:18px;
}

.podcast-meta{
    font-size:14px;
    line-height:1.4;
}

}

/* HERO COLLECTION CLEAN - TEMPLATE DEFINITIVO */
.rlw-collection-hero {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  min-height: 470px;
  padding: 92px 64px 62px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(90deg, rgba(3,7,10,.96) 0%, rgba(3,7,10,.82) 45%, rgba(3,7,10,.50) 100%),
    url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.rlw-collection-logo {
  position: absolute;
  top: 30px;
  left: 42px;
  width: 150px;
  height: auto;
  z-index: 3;
  opacity: .88;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
}

.rlw-collection-cover-wrap {
  position: relative;
  z-index: 2;
}

.rlw-collection-cover {
  width: 280px;
  height: 280px;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  box-shadow:
    0 34px 80px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,255,255,.12);
}

.rlw-collection-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.rlw-collection-content .podcast-badge {
  width: fit-content;
  margin: 0 0 16px;
}

.rlw-collection-content h1 {
  margin: 0;
  font-size: clamp(50px, 6vw, 82px);
  line-height: .92;
  letter-spacing: -2.6px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.65);
}

.rlw-collection-content .podcast-author {
  margin-top: 12px;
  font-size: 22px;
  color: rgba(255,255,255,.80);
  font-weight: 300;
}

.rlw-collection-content .podcast-author strong {
  color: #fff;
  font-weight: 800;
}

.rlw-collection-content .podcast-meta {
  margin-top: 12px;
  margin-bottom: 22px;
  font-size: 15px;
  color: rgba(255,255,255,.72);
}

.rlw-collection-content .podcast-meta span {
  margin: 0 10px;
  color: rgba(255,255,255,.35);
}

.rlw-collection-content .podcast-play-btn {
  width: fit-content;
  margin: 0 0 22px;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(215,25,32,.35);
}

.rlw-collection-content .premium-now-playing {
  margin: 0;
  max-width: 540px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(3,7,10,.62);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
}

.rlw-collection-content .premium-now-playing strong {
  display: block;
  min-height: 24px;
  margin-top: 8px;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 899px) {
  .rlw-collection-hero {
    display: block;
    min-height: auto;
    padding: 84px 24px 30px;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(3,7,10,.72), rgba(3,7,10,.97)),
      url("/assets/img/hero.jpg");
    background-size: cover;
    background-position: center;
  }

  .rlw-collection-logo {
    width: 132px;
    top: 22px;
    left: 24px;
  }

  .rlw-collection-cover {
    width: 165px;
    height: 165px;
    border-radius: 22px;
    margin-bottom: 22px;
  }

  .rlw-collection-content h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .rlw-collection-content .podcast-author {
    font-size: 18px;
  }

  .rlw-collection-content .premium-now-playing {
    max-width: none;
  }
}

/* MICRO-ALLINEAMENTO HERO DEFINITIVO */
.rlw-collection-content .podcast-author {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.rlw-collection-content .podcast-meta {
  margin-top: 8px !important;
  margin-bottom: 20px !important;
}

.rlw-collection-content .podcast-play-btn {
  margin-bottom: 16px !important;
}

.rlw-collection-content .premium-now-playing {
  margin-left: 0 !important;
  max-width: 560px !important;
}

.rlw-collection-content {
  transform: translateX(18px) !important;
}

@media (min-width: 900px) {
  .rlw-collection-hero {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 64px !important;
  }

  .rlw-collection-content .premium-now-playing {
    transform: translateX(18px) !important;
  }
}

@media (max-width: 899px) {
  .rlw-collection-content {
    transform: none !important;
  }

  .rlw-collection-content .premium-now-playing {
    transform: none !important;
  }
}

/* ALLINEAMENTO FORZATO HERO - STEP 918B */
@media (min-width: 900px) {
  .rlw-collection-hero {
    grid-template-columns: 300px 1fr !important;
    gap: 82px !important;
  }

  .rlw-collection-content {
    max-width: 760px !important;
    transform: translateX(40px) !important;
  }

  .rlw-collection-content .podcast-author {
    margin-top: 2px !important;
  }

  .rlw-collection-content .podcast-meta {
    margin-top: 6px !important;
    margin-bottom: 18px !important;
  }

  .rlw-collection-content .podcast-play-btn {
    margin-bottom: 14px !important;
  }

  .rlw-collection-content .premium-now-playing {
    max-width: 600px !important;
    transform: translateX(42px) !important;
  }
}

/* DESCRIZIONE EDITORIALE */
.editorial-description {
  padding: 30px 34px !important;
}

.editorial-description h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.editorial-description p {
  max-width: 920px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.84);
  margin-bottom: 16px;
}

.editorial-description .editorial-intro {
  font-size: 20px;
  line-height: 1.65;
  color: #fff;
  font-weight: 500;
}

.podcast-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.podcast-info-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.podcast-info-grid span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.46);
  margin-bottom: 8px;
}

.podcast-info-grid strong {
  display: block;
  font-size: 15px;
  color: #fff;
  line-height: 1.35;
}

@media (max-width: 899px) {
  .editorial-description {
    padding: 24px 20px !important;
  }

  .editorial-description h2 {
    font-size: 24px;
  }

  .editorial-description p,
  .editorial-description .editorial-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .podcast-info-grid {
    grid-template-columns: 1fr;
  }
}

/* FIX MOTORE PODCAST RLW - mantiene grafica episodi approvata */
.episode-list.rlw-auto-episodes{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.episode-list.rlw-auto-episodes .episode-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:#fff;
  border-radius:18px;
  padding:18px 20px;
  font-family:inherit;
}

.episode-list.rlw-auto-episodes .episode-item:hover{
  background:rgba(255,255,255,.06);
}

.episode-list.rlw-auto-episodes .episode-play{
  flex:0 0 auto;
}

.episode-list.rlw-auto-episodes .episode-item div{
  flex:1;
}

.episode-list.rlw-auto-episodes .episode-item small{
  display:block;
  opacity:.75;
  margin-bottom:5px;
}

.episode-list.rlw-auto-episodes .episode-item h3{
  margin:0 0 6px;
}

.episode-list.rlw-auto-episodes .episode-item p{
  margin:0;
  opacity:.8;
}

.episode-list.rlw-auto-episodes .episode-time{
  flex:0 0 auto;
  opacity:.75;
}
