/* =========================
   PODCAST – PRO UI (Drupal 11)
   Basado en HTML renderizado
   Scope: .node--type-podcast
   ========================= */

.page-node-type-podcast .region-content {
  max-width: 980px;
}

/* Card base del node */
.node--type-podcast {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

/* ===== TÍTULO ===== */
.node--type-podcast > h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
  color: #111;
}

/* ===== META (enviado por / fecha) ===== */
.node--type-podcast .node__meta {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.06);
}

.node--type-podcast .node__submitted {
  font-size: 14px;
  color: #555;
}

.node--type-podcast .node__submitted .field--name-uid span {
  font-weight: 800;
  color: #0E65A5;
}

.node--type-podcast .node__submitted time {
  font-style: italic;
  color: #666;
}

/* ===== SERIE (taxonomy) ===== */
.node--type-podcast .field--name-field-series-de-podcast {
  display: inline-flex;
  margin: 2px 0 10px;
}

.node--type-podcast .field--name-field-series-de-podcast a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f1f3f5;
  border: 1px solid rgba(0,0,0,.06);
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.node--type-podcast .field--name-field-series-de-podcast a:hover {
  background: #e9ecef;
}

/* ===== PLAYER (Anchor iframe) ===== */
.node--type-podcast .field--name-field-embebido {
  margin: 12px 0 12px;
}

/* Tu iframe viene fijo a 800x152: lo hacemos full width y “hero” */
.node--type-podcast .field--name-field-embebido iframe {
  width: 100% !important;
  max-width: 100%;
  height: 168px !important; /* un poquito más alto se ve más “premium” */
  border: 0 !important;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

/* ===== AUTOR PODCAST ===== */
.node--type-podcast .field--name-field-podcast-autor {
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 900;
  color: #111;
  letter-spacing: 0.01em;
}

.node--type-podcast .field--name-field-podcast-autor::before {
  content: "🎙️ ";
}

/* ===== RESUMEN / BLOQUE INFO ===== */
.node--type-podcast .field--name-field-podcast-resumen {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

/* Barrita “pro” arriba del resumen */
.node--type-podcast .field--name-field-podcast-resumen::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #0E65A5;
  margin-bottom: 10px;
  opacity: .9;
}

.node--type-podcast .field--name-field-podcast-resumen p {
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
  color: #111;
}

.node--type-podcast .field--name-field-podcast-resumen a {
  color: #0E65A5;
  font-weight: 900;
  text-decoration: underline;
}

/* ===== Ajustes de espaciado general ===== */
.node--type-podcast .node__content {
  margin-top: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .node--type-podcast {
    padding: 14px;
    border-radius: 14px;
  }

  .node--type-podcast > h1 {
    font-size: 28px;
  }

  .node--type-podcast .field--name-field-embebido iframe {
    height: 170px !important;
    border-radius: 14px;
  }
}
