
/* Contenedor general: main + sidebar */
.home-top {
  max-width: 1300px;
  margin: 32px auto 48px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px; /* main flexible + sidebar fijo */
  column-gap: 12px;
  align-items: flex-start;
}

/* MAIN: nota grande + columna de cards pequeños (2x2) */
.home-top-main {
  display: grid;
  /* principal algo más chica, secundarios más anchos */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.6fr);
  column-gap: 12px;
  row-gap: 0;
}

/* ===== NOTA PRINCIPAL ===== */

.home-feature {
  display: flex;
  flex-direction: column;
}

.home-feature-image {
  display: block;
  border-radius: 0;        /* sin esquinas redondeadas */
  overflow: hidden;
  margin-bottom: 18px;
}

.home-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.home-feature-category {
  /*font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 6px;
}

.home-feature-title {
  /* font-family: "PrumoDeck", "Georgia", "Times New Roman", serif; */
  font-size: 32px;       /* pedido: 32px */
  line-height: 1.2;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px;
}

.home-feature-title a {
  color: inherit;
  text-decoration: none;
}

.home-feature-title a:hover {
  text-decoration: underline;
}

.home-feature-summary {
  /* font-family: "Georgia", "Times New Roman", serif; */
  font-size: 18px;
  line-height: 1.5;
  color: #202020;
  margin: 0 0 14px;
}

.home-feature-meta {
  /* font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  font-size: 14px;
  color: #555;
}

.home-feature-author {
  font-weight: 600;

}

.home-feature-dot {
  margin: 0 4px;
}

/* ===== CARDS PEQUEÑOS (2 x 2 a la derecha) ===== */

.home-top-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columnas */
  column-gap: 12px;
  row-gap: 25px;                 /* ESPACIO VERTICAL ENTRE FILAS = 25px */
  justify-content: stretch;

  /* LÍNEA VERTICAL al lado derecho del card principal */
  border-left: 1px solid #111;
  padding-left: 12px;            /* separación entre la línea y los cards */
}

/* Cada card pequeño */
.home-top-card {
  display: block;
  border: none;
  padding: 0;
  border-right: solid 1px #000;
  padding-right: 12px;
}

/* Segunda fila (cards 3 y 4):
   LÍNEA HORIZONTAL arriba + un poco de aire */

.home-top-card:nth-child(2) {
  border-right:none;
}
.home-top-card:nth-child(4) {
  border-right:none;
}

.home-top-card:nth-child(3) a.home-top-card-image {
  border-top: solid 1px #000;
}
.home-top-card:nth-child(4) a.home-top-card-image{
  border-top: solid 1px #000;
}

.home-top-card:nth-child(3) img {
  margin-top: 12px;
}
.home-top-card:nth-child(4) img {
  margin-top: 12px;
}

.home-top-card-image {
  display: block;
  border-radius: 0;      /* sin esquinas redondeadas */
  overflow: hidden;
  margin-bottom: 10px;
}

.home-top-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.home-top-card-category {
  /* font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 4px;
}

.home-top-card-title {
  /* font-family: "PrumoDeck", "Georgia", "Times New Roman", serif; */
  font-size: 19px;      /* pedido: 19px */
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 6px;
  color: #000;
}

.home-top-card-title a {
  color: inherit;
  text-decoration: none;
}

.home-top-card-title a:hover {
  text-decoration: underline;
}

.home-top-card-meta {
  /* font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  font-size: 14px;
  color: #555;
}

.home-top-card-author {
  font-weight: 600;
}

.home-top-card-dot {
  margin: 0 3px;
}

/* ===== SIDEBAR DERECHA ===== */

.home-top-sidebar {
  /* el ancho ya lo define el grid (300px) */
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .home-top {
    grid-template-columns: 1fr;        /* main arriba, sidebar abajo */
  }

  .home-top-main {
    grid-template-columns: 1fr;        /* nota grande y cards apiladas */
    row-gap: 24px;
  }

  .home-top-secondary {
    grid-template-columns: 1fr;        /* cards uno bajo otro en tablet */
    border-left: none;
    padding-left: 0;
    row-gap: 20px;
  }

  .home-feature-title {
    font-size: 28px;
  }
}

/* Lista con línea vertical tipo cronología */
.latest-news-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 0 24px;          /* espacio para la línea */
  border-left: 1px solid #000000; /* línea vertical */
  position: relative;
}

.latest-news-title{
  /* font-family: 'PrumoDeck'; */
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--e-global-color-primary);
}
/* Cada ítem: hora arriba, título debajo */
.latest-news-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 14px; /* separación respecto a la línea */
  margin-left: -22px;
}

/* Punto en la línea */
.latest-news-item::before {
  content: "";
  position: absolute;
  left: -7px;    /* centrado sobre la línea */
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000000;
}

/* Hora (arriba) */
.latest-news-time {
  display: block;
  /* font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  font-size: 12px;
  color: #000000;
  margin-bottom: 4px;
}

/* Titular (debajo) */
.latest-news-link {
  display: block;
  /* font-family: "Georgia", "Times New Roman", serif; */
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  text-decoration: none;
}

.latest-news-link:hover {
  text-decoration: underline;
}

/* Último item con menos espacio abajo */
.latest-news-item:last-child {
  margin-bottom: 8px;
}

/* Card "Edición impresa" */
.sidebar-print-card {
  margin-top: 24px;
  background: var(--e-global-color-primary, #052861);
  color: #ffffff;
  border-radius: 25px;
  padding: 20px;
  text-align: center;
}

.sidebar-print-card img{
  max-width: 260px;
  max-height: 309px;
  margin-bottom: 14px;
  border-radius: 5px;
}

/* Título */
.sidebar-print-title {
  margin: 0 0 14px;
  /* font-family: "PrumoDeck", "Georgia", "Times New Roman", serif; */
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
}

/* Botón amarillo */
.sidebar-print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 25px;
  background: #FFF94F; /* amarillo tipo highlight */
  color: var(--e-global-color-primary, #052861);
  /* font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  transition: background 0.2s ease-in-out, transform 0.15s ease-in-out,
              box-shadow 0.2s ease-in-out;
}

.sidebar-print-btn:hover {
  background: #FFF200;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}

.sidebar-print-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

/* Mobile: que use todo el ancho del sidebar */
@media (max-width: 1024px) {
  .sidebar-print-card {
    margin-top: 20px;
  }

  .sidebar-print-btn {
    width: 100%;
    justify-content: center;
  }
}

/*youtube*/
.yt-live{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  background: #000;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* HEADER */
.yt-live__header{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, #c90000, #ff2d2d);
  color: #fff;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 13px;
}

.yt-live__dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: ytPulse 1.2s infinite;
}

@keyframes ytPulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%{ box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* VIDEO RESPONSIVE */
.yt-live__ratio{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.yt-live__iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
