﻿
/*========= estilos globales =========*/

h4 {
    font-size: 2em !important;
}
h3 {
    /*font-size: 2.8em !important;*/
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem) !important;
}
h2 {
    font-size: 3em !important;
}
h1 {
    font-size: 3.1em !important;
}

.post-eyebrow {
    max-width: 1140px;
    margin: auto;
    padding-top: 15px;
    padding-left: 15px;
    opacity: .75;
}
/*========= Contenedor titulo imagen =========*/
.section-noticias {
    max-width: 1140px;
    margin: auto;
}

.detalle-noticia-title-img-container {
    
    margin: auto;
}

.detalle-articulo-title-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.detalle-articulo-title-container {
    /*width: 66.66%;*/
    margin-bottom: 40px;
}

.detalle-noticia-img-container {
   /* width: 33.3%;*/
   display: flex;
   justify-content: center;
}

.detalle-articulo-titulo-principal {
    /*line-height: 1;*/
    /*font-size: 60px;*/
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.01em;

    /*font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem) !important;*/
}

.detalle-noticia-img-container {
    /*width: 33.33%;*/
    display:flex;
    flex-direction: column; /* eje principal = vertical */
    justify-content: center; /* centra verticalmente */
    align-items: center;
}

.detalle-noticia-img-destacada {
    width: auto;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);

    border: 1px solid rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.detalle-noticia-img-destacada figcaption {
    text-align: center;
    color: #8b84a4;
    font-size: .85rem;
    margin-top: .8rem;
}


/*========= End Contenedor titulo imagen =========*/


/*========= Primer Contenido =========*/
.contenido-title {
    font-size: 1.875rem;
    font-weight: 300;
}

/*========= End Primer Contenido =========*/

/*========= Contenido Noticia =========*/

.contenido-noticia-body {
    max-width: 1140px; /* tu ancho de lectura */
    margin: 0 auto;
    padding: 1rem;
    overflow-wrap: anywhere; /* por si vienen urls larguísimas */
}

/* imágenes pegadas en el editor */
.contenido-noticia-body img {
    max-width: 100%; /* solo ancho que el contenedor */
    height: auto; /* mantiene proporción */
    display: block;
    margin: 1rem 0; /* aire vertical */
    margin: auto;
    
}

/* tablas largas: scroll horizontal en mobile */
.contenido-noticia-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
}

.contenido-noticia-body iframe,
.contenido-noticia-noticia video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    margin: 1rem 0;
}

.contenido-noticia-body p {
    font-size: 20px;
}

.contenido-noticia-body blockquote {
    margin: 1.25rem 0;
    padding: .75rem 1rem;
    border-left: 4px solid #1f61eb; /* color de marca, un azulsito */
    background: rgba(184,162,255,.08); /* leve fondito gris */
    font-style: italic;
    color: #4b3e7a; /* tono de a fuente */
}

.contenido-noticia-body blockquote p {
    margin: 0; /* el md genera <blockquote><p>… */
}

.contenido-noticia-body pre {
    padding: .75rem 1rem;
    background: #f6f8fa;
    border-radius: .375rem;
    overflow: auto;
    margin: 1rem 0;
}

.contenido-noticia-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}