/* ============================================================
   VIDA ESCOLAR - DETALLE DE NOTICIA (ESTILO PERIÓDICO EDITORIAL)
   ============================================================ */

.seccion-noticia-detalle {
    padding: 4rem 1.25rem 5.5rem;
    background: #faf6ee;
    color: #1d2433;
    min-height: 80vh;
}

.seccion-noticia-detalle .contenedor {
    max-width: 1140px;
    margin: 0 auto;
}

.enlace-volver-noticias {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-primario);
    font-weight: var(--fw-700);
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 2.2rem;
    transition: color 0.2s var(--curva-salida), transform 0.2s var(--curva-salida);
}

.enlace-volver-noticias:focus-visible {
    color: #a07a2d;
    transform: translateX(-4px);
}
@media (hover: hover) and (pointer: fine) {
    .enlace-volver-noticias:hover {
        color: #a07a2d;
        transform: translateX(-4px);
    }
}

.disposicion-noticia-detalle {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
}

/* --- Artículo principal --- */

.articulo-periodico-principal {
    background: #ffffff;
    border: 2px solid #1d2433;
    border-radius: 10px;
    padding: 2.8rem;
    box-shadow: 0 20px 50px rgba(29, 36, 51, 0.12), inset 0 0 0 1px rgba(29, 36, 51, 0.08);
}

.cabecera-articulo-detalle {
    border-bottom: 2px solid #1d2433;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.kicker-articulo-detalle {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: var(--fw-800);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #b07d1d;
    background: rgba(176, 125, 29, 0.12);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.titulo-articulo-detalle {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: var(--fw-900);
    line-height: 1.12;
    color: #1d2433;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.meta-articulo-detalle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: var(--fw-700);
    color: rgba(29, 36, 51, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.enlace-fuente-articulo {
    color: var(--color-primario);
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-acento);
}

@media (hover: hover) and (pointer: fine) {
    .enlace-fuente-articulo:hover {
        color: #b07d1d;
    }
}

/* --- Media --- */

.media-articulo-detalle {
    border: 3px solid #1d2433;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: #10141c;
    box-shadow: 0 16px 40px rgba(29, 36, 51, 0.15);
}

.media-articulo-detalle img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    filter: sepia(0.08) contrast(1.03);
}

.media-articulo-detalle iframe,
.media-articulo-detalle video {
    width: 100%;
    height: 420px;
    border: none;
    display: block;
}

/* --- Cuerpo del texto --- */

.resumen-destacado-articulo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.65;
    color: var(--color-primario);
    background: rgba(0, 21, 85, 0.04);
    border-left: 4px solid var(--color-acento);
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 2rem;
}

.cuerpo-texto-articulo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(29, 36, 51, 0.9);
}

.cuerpo-texto-articulo p {
    margin-bottom: 1.5rem;
}

.cuerpo-texto-articulo p:first-of-type::first-letter {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    font-weight: 900;
    float: left;
    line-height: 0.8;
    margin-right: 0.6rem;
    margin-top: 0.1rem;
    color: var(--color-primario);
}

.pie-articulo-detalle {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px double #1d2433;
}

.compartir-articulo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.label-compartir {
    font-size: 0.88rem;
    font-weight: var(--fw-800);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1d2433;
}

.btn-red-noticia {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s var(--curva-salida);
}

.btn-wa {
    background: #25d366;
}

.btn-fb {
    background: #1877f2;
}

@media (hover: hover) and (pointer: fine) {
    .btn-red-noticia:hover {
        transform: scale(1.1);
    }
}

/* --- Columna lateral --- */

.columna-noticias-recientes {
    background: #ffffff;
    border: 2px solid #1d2433;
    border-radius: 10px;
    padding: 1.6rem;
    box-shadow: 0 12px 36px rgba(29, 36, 51, 0.08);
}

.titulo-lateral-recientes {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: var(--fw-900);
    color: #1d2433;
    border-bottom: 2px solid #1d2433;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.lista-lateral-recientes {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tarjeta-lateral-reciente {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(29, 36, 51, 0.15);
}

.tarjeta-lateral-reciente:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.media-lateral-reciente {
    flex: 0 0 75px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1d2433;
}

.media-lateral-reciente img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-lateral-reciente {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fecha-lateral-reciente {
    font-size: 0.72rem;
    font-weight: var(--fw-700);
    color: #b07d1d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.info-lateral-reciente h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.info-lateral-reciente h4 a {
    color: #1d2433;
    text-decoration: none;
    transition: color 0.15s var(--curva-salida);
}

@media (hover: hover) and (pointer: fine) {
    .info-lateral-reciente h4 a:hover {
        color: var(--color-primario);
    }
}

.sin-recientes {
    font-size: 0.88rem;
    color: rgba(29, 36, 51, 0.55);
}

/* Responsive */

@media (max-width: 992px) {
    .disposicion-noticia-detalle {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .articulo-periodico-principal {
        padding: 1.6rem 1.25rem;
    }
}
