/* ADPrensa — Página de Noticia Individual */
/* Complementa reset.css + tokens.css + components.css  */

/* ══════════════════════════════════
   PAGE WRAPPER (override para noticia)
   ══════════════════════════════════ */
.noticia-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.noticia-wrapper .site-footer {
    margin-top: 80px;
}

/* ══════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════ */
.article-breadcrumb {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    /* 12px */
    color: #777;
    margin-bottom: 20px;
    margin-top: var(--space-xl);
}

.article-breadcrumb a {
    color: #777;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
    color: var(--color-ink);
}

.article-breadcrumb__sep {
    margin: 0 6px;
    color: #bbb;
}

/* ══════════════════════════════════
   LAYOUT GRID — 70/30
   ══════════════════════════════════ */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    padding-bottom: var(--space-3xl);
}

/* ══════════════════════════════════
   ARTICLE MAIN COLUMN
   ══════════════════════════════════ */
.article-main {
    min-width: 0;
    max-width: 700px;
}

/* Meta — sección · fecha · hora */
.article-meta {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: var(--weight-regular);
    color: #666;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.article-meta__section {
    font-weight: var(--weight-semibold);
    color: var(--color-green-adprensa);
}

/* Título */
.article-title {
    font-family: var(--font-sans);
    font-size: 34px;
    font-weight: var(--weight-bold);
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

/* Bajada */
.article-lead {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: var(--weight-regular);
    line-height: 1.5;
    color: #444;
    margin-bottom: 24px;
}

/* Divisoria */
.article-divider {
    border: none;
    border-bottom: 1px solid #ECECEC;
    margin-bottom: 32px;
}

/* Imagen destacada */
.article-featured-img {
    width: 100%;
    margin-bottom: 36px;
    overflow: hidden;
    border-radius: 6px;
}

.article-featured-img img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    margin-bottom: 32px;
}

.article-featured-img figcaption {
    font-family: var(--font-sans);
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    line-height: 1.5;
}

/* ══════════════════════════════════
   CUERPO DE NOTICIA
   ══════════════════════════════════ */
.article-body {
    max-width: 700px;
}

.article-body p {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
    color: #222;
    margin-bottom: 20px;
    text-align: left;
}

.article-body h2 {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: var(--weight-semibold);
    color: #111;
    line-height: 1.25;
    margin-top: 40px;
    margin-bottom: 16px;
}

/* Cita destacada */
.article-body blockquote {
    border-left: 3px solid var(--color-green-adprensa);
    padding-left: 16px;
    margin: 32px 0;
    font-family: var(--font-sans);
    font-size: 20px;
    font-style: italic;
    font-weight: var(--weight-regular);
    color: #333;
    line-height: 1.55;
}

.article-body blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-style: normal;
    font-weight: var(--weight-semibold);
    color: #777;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════
   SIDEBAR
   ══════════════════════════════════ */
.article-sidebar {
    border-left: 1px solid #ECECEC;
    padding-left: 32px;
    position: sticky;
    top: 32px;
}

.sidebar-heading {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: var(--weight-semibold);
    color: var(--color-ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ECECEC;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-item__time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #777;
    font-variant-numeric: tabular-nums;
}

.sidebar-item__badge {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 3px;
    color: var(--section-color, #555);
    background-color: color-mix(in srgb, var(--section-color, #555) 12%, white);
}

.sidebar-item__title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: #111;
    line-height: 1.4;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar-item__title:hover {
    color: var(--color-green-adprensa);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Separator between sidebar items */
.sidebar-item+.sidebar-item {
    padding-top: 20px;
    border-top: 1px solid #F3F3F3;
    margin-top: 0;
}

/* ══════════════════════════════════
   RESPONSIVE — TABLET (≤960px)
   ══════════════════════════════════ */
@media (max-width: 960px) {
    .article-layout {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-lead {
        font-size: 19px;
    }

    .article-body p {
        font-size: 17.5px;
    }
}

/* ══════════════════════════════════
   RESPONSIVE — MÓVIL (≤768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .noticia-wrapper {
        padding: 0 20px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-title {
        font-size: 26px;
        letter-spacing: -0.015em;
    }

    .article-lead {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .article-body p {
        font-size: 17.5px;
    }

    .article-body h2 {
        font-size: 20px;
        margin-top: 32px;
    }

    .article-body blockquote {
        font-size: 18px;
    }

    .article-sidebar {
        border-left: none;
        border-top: 1px solid #ECECEC;
        padding-left: 0;
        padding-top: 32px;
        position: static;
    }

    .article-featured-img {
        margin-bottom: 28px;
    }
}

/* ══════════════════════════════════
   RESPONSIVE — PEQUEÑO (≤480px)
   ══════════════════════════════════ */
@media (max-width: 480px) {
    .article-title {
        font-size: 24px;
    }

    .article-lead {
        font-size: 17px;
    }
}

/* ── Pauta Live compacta (sidebar) ── */
.plive {
  font-family: var(--font-sans);
  background: #f9f8f5;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
}

.plive__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.plive__live {
  display: flex;
  align-items: center;
  gap: 6px;
}

.plive__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #007d5c;
  animation: plive-blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes plive-blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.plive__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
}

.plive__date {
  font-size: 10px;
  color: #ccc;
}

.plive__feed {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.plive__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plive__item:last-child { border-bottom: none; }

.plive__item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  margin-top: 5px;
}

.plive__item-dot--active { background: #007d5c; }

.plive__item-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #bbb;
  min-width: 32px;
  flex-shrink: 0;
  line-height: 1.6;
}

.plive__item--active .plive__item-time { color: #007d5c; }

.plive__item-text {
  font-size: 12px;
  color: #444;
  line-height: 1.45;
}

.plive__item--active .plive__item-text {
  color: #111;
  font-weight: 500;
}

.plive__footer {
  padding: 10px 14px;
}

.plive__cta {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  padding: 7px 0;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 5px;
  transition: border-color .15s, color .15s;
}

.plive__cta:hover {
  border-color: #007d5c;
  color: #007d5c;
}