/* ==========================================================================
   Portada  (/)  — `molina.home`
   --------------------------------------------------------------------------
   Hero azul a sangre con el retrato fundido al fondo, reflexiones destacadas,
   Noticias (la última real) y Discursos (un destacado), la banda de Gestión y
   el cierre con Sobre Henry y el boletín. El fondo crema lo pone el <main>
   (`.cid-vista.es-crema`, en app.cljs) para que las bandas lleguen a los
   bordes. Reutiliza los tokens --sh- de 024.
   ========================================================================== */

/* --- Botón de oro (contorno sobre fondo oscuro) ---------------------------- */
.pt-boton-oro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 6px;
  border: 1.5px solid var(--sh-oro);
  background: transparent;
  color: var(--sh-oro);
  font-family: var(--texto);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background .25s, color .25s, transform .25s;
}
.pt-boton-oro:hover { background: var(--sh-oro); color: #15254a; transform: translateY(-1px); }
.pt-boton-oro svg { width: 18px; height: 18px; }

/* Enlaces «Ver todas…» */
.pt-ver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--texto);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sh-oro);
  white-space: nowrap;
}
.pt-ver svg { width: 16px; height: 16px; }
.pt-ver:hover { color: #967426; }

/* Rótulo de sección con raya de oro */
.pt-seccion-titulo,
.pt-columna-titulo {
  position: relative;
  font-family: var(--display);
  font-weight: 400;
  color: var(--sh-tinta);
  line-height: 1.05;
  padding-top: 20px;
}
.pt-seccion-titulo { font-size: clamp(28px, 3vw, 40px); }
.pt-columna-titulo { font-size: clamp(24px, 2.4vw, 31px); }
.pt-seccion-titulo::before,
.pt-columna-titulo::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--sh-oro);
  border-radius: 2px;
}

/* --- Hero azul a sangre ---------------------------------------------------- */
.pt-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 50vw, 720px);
  color: #fff;
  background-color: #0b1730;
  background-image:
    linear-gradient(90deg, #0b1730 0%, rgba(11, 23, 48, .88) 30%, rgba(11, 23, 48, .40) 50%, rgba(11, 23, 48, 0) 66%),
    var(--hero);
  background-size: cover, cover;
  background-position: left center, right top;
  background-repeat: no-repeat;
}
.pt-hero-inner {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px;
}
.pt-hero-texto { max-width: 54%; }

.pt-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 24px;
}
.pt-hero-tags li {
  font-family: var(--texto);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sh-oro);
}
.pt-hero-tags li + li::before { content: "·"; margin: 0 10px; color: rgba(176, 137, 60, .6); }

.pt-hero-titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.pt-hero-bajada {
  margin: 26px 0 34px;
  max-width: 32em;
  font-family: var(--texto);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}

/* --- Bloques de contenido sobre la crema del <main> ------------------------ */
.pt-destacadas,
.pt-previos,
.pt-cierre {
  max-width: var(--ancho);
  margin: 0 auto;
}
.pt-destacadas { padding: clamp(48px, 6vw, 88px) 24px clamp(20px, 3vw, 40px); }
.pt-previos    { padding: clamp(28px, 4vw, 56px) 24px clamp(32px, 4vw, 56px); }
.pt-cierre     { padding: clamp(40px, 5vw, 72px) 24px clamp(52px, 6vw, 88px); }

/* --- Reflexiones destacadas ------------------------------------------------ */
.pt-seccion-cabeza {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.pt-ref-rejilla {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 36px);
}
.pt-ref {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sh-borde);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px -42px rgba(30, 50, 92, .4);
  transition: transform .25s, box-shadow .25s;
}
.pt-ref:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -36px rgba(30, 50, 92, .5); }
.pt-ref-foto { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sh-crema-2); }
.pt-ref-foto img { width: 100%; height: 100%; object-fit: cover; }
.pt-ref-texto { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pt-ref-label {
  font-family: var(--texto);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sh-oro);
}
.pt-ref-texto h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  color: var(--sh-tinta);
  flex: 1;
}
.pt-ref-fecha { font-family: var(--texto); font-size: 13px; color: var(--sh-texto); }

/* --- Noticias y Discursos (dos columnas con un destacado cada una) --------- */
.pt-previos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.pt-columna-cabeza {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.pt-pieza {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 20px;
  align-items: center;
  color: inherit;
}
.pt-pieza-foto {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sh-crema-2);
  border: 1px solid var(--sh-borde);
}
.pt-pieza-foto img { width: 100%; height: 100%; object-fit: cover; }
.pt-pieza-logo {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 54%;
  background-color: #fff;
}
.pt-pieza-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--sh-oro);
}
.pt-pieza-fallback svg { width: 34px; height: 34px; }
.pt-pieza-video::after { content: ""; position: absolute; inset: 0; background: rgba(11, 23, 48, .18); }
.pt-pieza-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
}
.pt-pieza-play svg { width: 40px; height: 40px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); fill: #fff; }
.pt-pieza-texto { display: flex; flex-direction: column; gap: 7px; }
.pt-pieza-marca {
  font-family: var(--texto);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sh-oro);
}
.pt-pieza-texto h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  color: var(--sh-tinta);
}
.pt-pieza:hover .pt-pieza-texto h3 { color: #3a4f7a; }
.pt-pieza-fecha {
  font-family: var(--texto);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--sh-texto);
}

/* --- Banda de Gestión (a sangre) ------------------------------------------- */
.pt-banda-gestion {
  position: relative;
  background:
    linear-gradient(90deg, rgba(21, 37, 74, .96) 0%, rgba(21, 37, 74, .82) 55%, rgba(21, 37, 74, .6) 100%),
    var(--fondo) center / cover no-repeat;
  color: #fff;
}
.pt-banda-gestion-cuerpo {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) 24px;
}
.pt-banda-ante {
  font-family: var(--texto);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sh-oro);
  margin-bottom: 14px;
}
.pt-banda-titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.07;
  color: #fff;
  max-width: 16em;
}
.pt-banda-texto {
  margin: 20px 0 30px;
  max-width: 40em;
  font-family: var(--texto);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}

/* --- Cierre: Sobre Henry + boletín ----------------------------------------- */
.pt-cierre {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.pt-sobre {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
}
.pt-sobre-retrato {
  flex: 0 0 clamp(96px, 10vw, 128px);
  width: clamp(96px, 10vw, 128px);
  height: clamp(96px, 10vw, 128px);
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 36px -22px rgba(30, 50, 92, .55);
}
.pt-sobre-texto p:not(.pt-banda-ante) {
  font-family: var(--texto);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--sh-texto);
  margin-bottom: 14px;
}
.pt-sobre-texto .pt-banda-ante { color: var(--sh-oro); }

.pt-boletin {
  background: linear-gradient(135deg, #15254a 0%, var(--sh-tinta) 100%);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(30, 50, 92, .6);
}
.pt-boletin .hm-cta-bloque { color: #fff; }

/* --- Adaptación ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .pt-hero-texto { max-width: 70%; }
  .pt-ref-rejilla { grid-template-columns: 1fr 1fr; }
  .pt-previos { grid-template-columns: 1fr; gap: 40px; }
  .pt-cierre { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .pt-hero {
    background-image:
      linear-gradient(180deg, rgba(11, 23, 48, .72) 0%, rgba(11, 23, 48, .82) 100%),
      var(--hero);
    background-position: center, center top;
    min-height: 0;
  }
  .pt-hero-texto { max-width: 100%; }
  .pt-seccion-cabeza { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pt-ref-rejilla { grid-template-columns: 1fr; }
  .pt-pieza { grid-template-columns: 120px 1fr; gap: 16px; }
  .pt-sobre { flex-direction: column; align-items: flex-start; text-align: left; }
}
