/* ============================= */
/* CONTENEDOR GENERAL NOTICIAS */
/* ============================= */

.news-container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px 100px;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
}


/* ============================= */
/* HEADER NOTICIA */
/* ============================= */

.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-title {
    max-width: 950px;
    margin: 0 auto 15px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #0d3b66;
}


/* ============================= */
/* IMAGEN PRINCIPAL */
/* ============================= */

.news-hero {
    margin-bottom: 50px;
}

.news-hero img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}


/* ============================= */
/* CONTENIDO */
/* ============================= */

.news-content {
    font-size: 18px;
    color: #374151;
}

.news-content p {
    margin-bottom: 22px;
}

.news-content strong {
    font-weight: 600;
}


/* INTRO */

.news-intro {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
}


/* ============================= */
/* TÍTULOS */
/* ============================= */

.news-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: #0d3b66;
}


/* ============================= */
/* LISTAS */
/* ============================= */

.news-list {
    padding-left: 25px;
    margin-bottom: 25px;
}

.news-list li {
    margin-bottom: 10px;
    padding-left: 4px;
}


/* ============================= */
/* CITA DESTACADA */
/* ============================= */

.news-quote {
    margin: 40px 0;
    padding: 25px 30px;
    background: #f3f6fb;
    border-left: 5px solid #3b82f6;
    border-radius: 6px;
    font-size: 20px;
    font-style: italic;
    color: #0d3b66;
}

.news-quote strong {
    font-style: normal;
}


/* ============================= */
/* CAJA DE APLICACIÓN PRÁCTICA */
/* ============================= */

.news-footer-box {
    margin-top: 40px;
    padding: 30px;
    background: #eef4ff;
    border-radius: 10px;
    font-weight: 500;
    color: #1f2937;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-footer-box h2 {
    margin-top: 0;
}

.news-footer-box p:last-child {
    margin-bottom: 0;
}


/* ============================= */
/* ARTÍCULO CIENTÍFICO */
/* ============================= */

.news-source {
    margin-top: 35px;
    padding-top: 5px;
}

.news-source h2 {
    margin-top: 30px;
}

.news-reference {
    font-size: 16px;
    color: #4b5563;
}

.news-source-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 2px solid #0d3b66;
    border-radius: 8px;
    background: #0d3b66;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.news-source-link:hover {
    background: #ffffff;
    color: #0d3b66;
    transform: translateY(-1px);
}

.news-source-link:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 3px;
}


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

@media (max-width: 768px) {

    .news-container {
        padding: 45px 18px 80px;
    }

    .news-header {
        margin-bottom: 30px;
    }

    .news-title {
        font-size: 30px;
    }

    .news-hero {
        margin-bottom: 35px;
    }

    .news-content {
        font-size: 16px;
    }

    .news-intro {
        font-size: 18px;
    }

    .news-content h2 {
        font-size: 23px;
    }

    .news-quote {
        padding: 22px 20px;
        font-size: 18px;
    }

    .news-footer-box {
        padding: 24px 20px;
    }

    .news-source-link {
        width: 100%;
        text-align: center;
    }

}
