/* ACTIVATE · Podcasts de la portada: carátula, últimos episodios y acceso a todos */

#podGrid.hp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 14px; background: none; }
.hp-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 0 18px 0 18px; overflow: hidden; transition: border-color .25s var(--ease); }
.hp-card:hover { border-color: var(--accent-soft); }

.hp-head { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; text-decoration: none; }
.hp-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--surface-2); transition: transform .6s var(--ease); }
.hp-card:hover .hp-img { transform: scale(1.04); }
.hp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 10px; font-family: var(--font-display); font-weight: 900; font-size: 14px; line-height: 1.15; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }

.hp-eps { list-style: none; margin: 0; padding: 4px 14px; flex: 1; }
.hp-ep { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hp-ep:last-child { border-bottom: 0; }
.hp-ep .pod-ep-play { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; }
.hp-ep .pod-ep-play:hover { background: var(--accent); border-color: var(--accent); color: #0a0806; }
.hp-ep-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-ep-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--fg); overflow-wrap: anywhere; }
.hp-ep-meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); }
.hp-empty { flex: 1; margin: 0; padding: 26px 14px; font-size: 12.5px; color: var(--muted-2); }
.hp-all { display: block; text-align: center; padding: 13px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--fg); text-decoration: none; }
.hp-all:hover { color: var(--accent); }

/* en el móvil se deslizan con el dedo y asoma la siguiente */
@media (max-width: 640px) {
  #podGrid.hp-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
  #podGrid.hp-grid::-webkit-scrollbar { display: none; }
  .hp-card { flex: 0 0 84%; scroll-snap-align: start; }
  #podGrid.hp-grid > .cms-loading { flex: 1 0 100%; }
}

/* la horizontal se ve entera y limpia: sin recorte, sin degradado ni texto encima y sin ampliarse al pasar el ratón.
   El nombre va debajo y la tarjeta no le redondea la esquina superior, que es parte del diseño de la foto. */
.hp-head { aspect-ratio: auto; overflow: visible; }
.hp-head .hp-img { position: static; display: block; aspect-ratio: 16 / 9; background-size: contain; background-repeat: no-repeat; }
.hp-card:hover .hp-img { transform: none; }
.hp-head .hp-name { position: static; display: block; padding: 10px 14px 4px; color: var(--fg); background: none; }
.hp-head .hp-img:not([style*="url"]) { background-size: contain !important; background-color: #14100b !important; }
