/* ============================================
   PODCAST Y BLOG — estilos propios de esta página
   (usa las variables y componentes de styles.css)
   ============================================ */

/* HERO — estructura común en .page-hero (styles.css); aquí solo la imagen */
.pod-hero{ --hero-img: url('assets/podcast-hero.webp'); }
.btn-magenta::before{ background: var(--magenta); }


/* CABECERAS DE SECCIÓN: título + línea degradada */
.pod-head{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.pod-head::after{
  content: "";
  flex: 1;
  height: 2px;
  background: var(--gradient);
  opacity: .6;
}
.pod-head .eyebrow{ margin-bottom: 0; font-size: 12px; letter-spacing: .3em; }
.pod-head .eyebrow::after{ display: none; }
.pod-head h2{ font-size: clamp(26px, 2.6vw, 34px); white-space: nowrap; }

/* PARA EMPEZAR */
.pod-start{ padding: 80px 0 40px; }
.pod-featured{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 340px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4dccf;
}
.pod-featured-img{ width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--bg-dark); }
.pod-featured-body{
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pod-kicker{
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 10px;
}
.pod-featured-body h2{ font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.pod-featured-sub{ font-size: 14px; color: var(--text-muted-dark); margin-bottom: 24px; }
.pod-featured-links{ display: flex; gap: 28px; margin-top: 24px; }
.pod-featured-links .link-arrow + .link-arrow{ padding-left: 28px; border-left: 1px solid #e4dccf; }
.link-arrow span{ color: var(--orange); }

/* REPRODUCTOR */
.pod-player{
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-cream);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
}
.pod-play{
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--bg-dark);
  color: var(--text-cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pod-play svg{ width: 18px; height: 18px; }
.pod-progress{
  flex: 1;
  height: 4px;
  background: #e4dccf;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.pod-progress-fill{
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--gradient);
  border-radius: 4px;
}
.pod-time{ font-size: 12px; color: var(--text-muted-dark); min-width: 38px; text-align: right; }

/* Iconos play/pausa: se alternan con la clase .is-playing */
.ico-pause{ display: none; }
.is-playing .ico-play{ display: none; }
.is-playing .ico-pause{ display: block; }

/* CIENCIA AL DÍA */
.pod-articles{ padding: 72px 0 56px; }
.pod-filters{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pod-chip{
  font-family: var(--font);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e4dccf;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
}
.pod-chip.is-active{ border-color: var(--orange); }

.pod-article-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pod-article{ display: flex; flex-direction: column; }
.pod-article-img{ width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; background: var(--bg-dark); transition: opacity .3s ease; }
.pod-article a:hover .pod-article-img{ opacity: .85; }
.pod-article-meta{
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.pod-article h3{ font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.pod-article p{ font-size: 14px; color: var(--text-muted-dark); line-height: 1.6; margin-bottom: 14px; }
.pod-article-body{ display: flex; flex-direction: column; flex: 1; }
.pod-article .link-arrow{ margin-top: auto; }
.pod-empty{ font-size: 14px; color: var(--text-muted-dark); }
.pod-head-btn{ order: 1; flex: none; color: var(--text-dark); font-size: 14px; padding: 10px 20px; }
.pod-head-btn:hover{ background: rgba(198,35,104,.06); }

/* BLOG: lista completa de artículos (blog.html) */
.blog-hero{ --hero-img: url('assets/podcast-hero.webp'); }
.blog-list{ display: flex; flex-direction: column; }
.blog-list .pod-article{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #e4dccf;
}
.blog-list .pod-article:last-child{ border-bottom: 1px solid #e4dccf; }
.blog-list .pod-article-img{ margin-bottom: 0; }
.blog-list .pod-article h3{ font-size: 22px; }
.blog-list .pod-article p:not(.pod-article-meta){ max-width: 70ch; }

/* LIBROS EN CONVERSACIÓN */
.pod-books{ padding: 56px 0 88px; }
.pod-book-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pod-book{ display: flex; gap: 20px; align-items: flex-start; }
.pod-book-cover{
  flex: none;
  width: 140px;
  height: auto;
  box-shadow: 0 12px 24px rgba(16,13,15,.18);
}
.pod-book-info{ display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 0; }
.pod-book-info .link-arrow{ align-self: flex-start; margin-top: 6px; }
.pod-book-info h3{ font-size: 15px; font-weight: 400; line-height: 1.35; margin-bottom: 4px; }
.pod-book-ep{ font-size: 13px; font-style: italic; color: var(--orange); margin-bottom: 8px; }
.pod-book{ scroll-margin-top: 100px; }
.pod-book:target{ outline: 2px solid var(--orange); outline-offset: 10px; }
.pod-listen,
.pod-summary{
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  border: 1px solid #e4dccf;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
}
.pod-listen:hover,
.pod-summary:hover{ border-color: var(--orange); }
.pod-ico{
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-cream);
  display: flex; align-items: center; justify-content: center;
}
.pod-ico svg{ width: 12px; height: 12px; }
.pod-ico-light{ background: transparent; color: var(--text-dark); }
.pod-ico-light svg{ width: 16px; height: 16px; }
.pod-listen.is-playing{ border-color: var(--orange); }

/* AVISO IA */
.pod-ai-note{ background: #ece5da; padding: 22px 0; text-align: center; }
.pod-ai-note p{ font-size: 13px; color: var(--text-muted-dark); }
.pod-ai-note strong{ font-weight: 500; color: var(--text-dark); }
.pod-ai-star{ color: var(--orange); }

/* CIERRE */
.pod-cta{ background: var(--bg-dark); color: var(--text-cream); padding: 56px 0; }
.pod-cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.pod-cta h2{ font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 6px; }
.pod-cta p{ font-size: 14px; color: var(--text-muted-light); }
.pod-cta-btns{ display: flex; flex-wrap: wrap; gap: 14px; }

/* PÁGINA DE ARTÍCULO (articulo.html) */
.art-page{ padding: 64px 0 96px; }
.art-wrap{ max-width: 760px; margin: 0 auto; padding: 0 32px; }
.art-back{ display: inline-block; margin-bottom: 32px; }
.art-wrap h1{ font-size: clamp(30px, 3.6vw, 44px); font-weight: 300; margin-bottom: 16px; }
.art-date{ font-size: 13px; color: var(--text-muted-dark); margin-bottom: 28px; }
.art-cover{ width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; }
.art-body{ font-size: 17px; line-height: 1.75; }
.art-body p{ margin-bottom: 1.2em; }
.art-body h2{ font-size: 24px; font-weight: 400; margin: 1.6em 0 .6em; }
.art-sources{ margin-top: 48px; padding-top: 24px; border-top: 1px solid #e4dccf; }
.art-sources h2{ font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.art-sources li{ font-size: 13px; color: var(--text-muted-dark); line-height: 1.6; margin-bottom: 8px; }
.art-sources a{ text-decoration: underline; }
.art-ai{ margin-top: 28px; font-size: 12px; color: var(--text-muted-dark); }

/* RESPONSIVE */
@media (max-width: 1280px){
  .pod-book-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px){
  .pod-featured{ grid-template-columns: 1fr; grid-template-rows: auto; }
  .pod-featured-img{ aspect-ratio: 16 / 9; height: auto; }
  .pod-head h2{ white-space: normal; }
  .pod-article-grid{ grid-template-columns: 1fr; }
  .blog-list .pod-article{ grid-template-columns: 1fr; gap: 16px; }
  .pod-book-grid{ grid-template-columns: 1fr; }
  .pod-head::after{ display: none; }
  .pod-head{ flex-wrap: wrap; gap: 14px; }
}

/* ARTÍCULO: columna principal + leyenda lateral discreta */
.art-layout{
  display: grid;
  grid-template-columns: minmax(0, 760px) 220px;
  justify-content: center;
  gap: 80px;
  align-items: start;
}
.art-side{
  position: sticky;
  top: 120px;
  margin-top: 150px;
  padding-left: 20px;
  border-left: 1px solid #e4dccf;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.side-title{
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 12px;
}
.side-art, .side-book{
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dark);
  padding: 6px 0;
  transition: color .2s ease;
}
.side-art small{
  display: block;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2px;
}
.side-art:hover, .side-book:hover{ color: var(--orange); }
.side-more{ display: inline-block; margin-top: 10px; font-size: 12px; }

@media (max-width: 1100px){
  .art-layout{ grid-template-columns: minmax(0, 760px); }
  .art-side{
    position: static;
    margin-top: 0;
    padding: 28px 0 0;
    border-left: none;
    border-top: 1px solid #e4dccf;
  }
}
