/* portada_viva.css — lo nuevo de la portada: la franja "Ahora mismo", "Esta semana" y "Lo que sonó"
   (Views/sitio/partes/portada_*.php). Usa las variables de la plantilla: --accent, --i12, --i28, --i5, --i7… */

/* ── La franja "Ahora mismo" ── */
.tb-ahora { position: relative; z-index: 2; margin: 14px 0 6px; background: var(--accent); color: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.tb-ahora[hidden] { display: none; }
.tb-ahora-in { display: flex; flex-wrap: wrap; gap: 0 28px; padding: 0 22px; }
.tb-ahora-cosa { display: flex; align-items: center; gap: 12px; padding: 12px 0; flex: 1 1 340px; min-width: 0; color: #fff; }
.tb-ahora-cosa + .tb-ahora-cosa { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 24px; }
.tb-ahora-punto { width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; animation: tbAhoraLate 1.2s ease-in-out infinite; }
@keyframes tbAhoraLate { 50% { opacity: .25; } }
.tb-ahora-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tb-ahora-t b { font: 700 15px / 1.25 'Archivo', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-ahora-t span { font-size: 13px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-ahora-b { flex: none; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tb-ahora-cosa:hover .tb-ahora-b { background: #fff; color: var(--accent); }
@media (max-width: 760px) {
  .tb-ahora-cosa + .tb-ahora-cosa { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .tb-ahora-b { padding: 6px 8px; font-size: 11px; }
  .tb-ahora-in { display: block; padding: 0 14px; }
  .tb-ahora-t b, .tb-ahora-t span { white-space: normal; }
  .tb-ahora-cosa { width: 100%; max-width: 100%; }
}

/* ── Esta semana ── */
.tb-semana .sec-head, .tb-sono .sec-head, .tb-pod-portada .sec-head, .tb-chat-portada .sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: clamp(18px, 2vw, 28px); }
.tb-semana-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.tb-semana-t { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--i28); min-width: 0; transition: border-color .15s; }
.tb-semana-t:hover { border-color: var(--accent); }
.tb-semana-titulo { font: 700 clamp(20px, 1.8vw, 26px) / 1.15 'Archivo', sans-serif; overflow-wrap: anywhere; }
.tb-semana-detalle { color: var(--i7); line-height: 1.45; font-size: 15px; }
.tb-semana-barra { height: 6px; background: var(--i12); }
.tb-semana-barra i { display: block; height: 100%; background: var(--accent); }
.tb-semana-boton { margin-top: auto; color: var(--accent); letter-spacing: .12em; }

/* ── Lo que sonó ── */
.tb-sono-lista { display: flex; flex-direction: column; max-width: 860px; }
.tb-sono-lista li { display: grid; grid-template-columns: 64px 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--i12); }
.tb-sono-hora { letter-spacing: .1em; font-size: 13px; }
.tb-sono-arte { width: 44px; height: 44px; object-fit: cover; display: grid; place-items: center; background: var(--i12); color: var(--i5); }
.tb-sono-t { display: flex; flex-direction: column; min-width: 0; }
.tb-sono-t b { font: 600 17px / 1.3 'Archivo', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-sono-t span { color: var(--i7); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-sono-lista li.is-ahora .tb-sono-t b { color: var(--accent); }

/* ── Podcasts y chat en la portada ── */
.tb-pod-portada .pod-lista { max-width: 980px; }
.tb-chat-portada .tb-chat { max-width: 860px; }
