/* ===== TECHNICAL TRANSLATION EDITORIAL ===== */

.editorial {
    background: #fff;
    color: #555;
    padding-bottom: 40px;
    overflow: hidden;
}

.editorial-header {
    padding: 48px 7% 38px;
    border-bottom: 1px solid #e5e9ee;
}

.editorial-eyebrow {
    color: #2B689C;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.editorial-header h1 {
    color: #2B689C;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.editorial-intro {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
}

.featured-article {
    padding: 30px 7%;
}

.featured-card {
    padding: 28px;
    background: #F4F8FC;
    border-left: 4px solid #4473AC;
}

.article-label {
    color: #2B689C;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-card h2 {
    font-size: 25px;
    color: #2B689C;
    line-height: 1.4;
    margin: 18px 0;
}

.featured-card h2 a,
.article-card h3 a {
    color: #2B689C;
    text-decoration: none;
}

.featured-card h2 a:hover,
.article-card h3 a:hover {
    text-decoration: underline;
}

.featured-card p,
.article-card p {
    line-height: 1.8;
}

.article-library {
    padding: 25px 7% 40px;
}

.article-library-heading h2,
.editorial-cta h2 {
    color: #2B689C;
    font-size: 25px;
    margin-bottom: 10px;
}

.article-library-heading p {
    line-height: 1.7;
}

.article-controls {
    display: flex;
    gap: 12px;
    margin: 25px 0 15px;
}

.article-controls input,
.article-controls select {
    min-width: 0;
    padding: 12px;
    border: 1px solid #ccd5df;
    background: #fff;
    color: #444;
    font: inherit;
    box-sizing: border-box;
}

.article-controls input {
    flex: 1;
}

.article-controls select {
    width: 245px;
}

.article-count {
    color: #777;
    font-size: 13px;
    margin-bottom: 18px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.article-card {
    padding: 22px;
    border: 1px solid #e0e5eb;
    background: #fff;
    min-width: 0;
}

.article-meta {
    color: #777;
    font-size: 12px;
    margin: 10px 0;
}

.article-card h3 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-read-more {
    display: inline-block;
    margin-top: 14px;
    color: #2B689C;
    font-weight: 700;
}

.editorial-cta {
    margin: 15px 7% 0;
    padding: 28px;
    background: #F4F8FC;
}

.editorial-cta p {
    line-height: 1.8;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 18px;
}

.related-links a {
    color: #2B689C;
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 600px) {
    .editorial-header {
        padding: 30px 20px;
    }

    .editorial-header h1 {
        font-size: 20px;
    }

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

    .featured-article,
    .article-library {
        padding: 22px 20px;
    }

    .featured-card {
        padding: 20px;
    }

    .article-controls {
        flex-direction: column;
    }

    .article-controls input,
    .article-controls select {
        width: 100%;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .editorial-cta {
        margin: 10px 20px 0;
        padding: 20px;
    }
}
/* Restaurar el flujo normal del encabezado en Insights */
body:has(main.editorial) section.header {
    display: flow-root !important;
    min-height: 100px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Mantener el menú dentro del encabezado */
body:has(main.editorial) section.header > section.menu {
    position: relative;
    clear: both;
    width: 100%;
}
body:has(main.editorial) .menu_simple ul li a.current,
body:has(main.editorial) .menu_simple ul li a.current:hover {
    background: #edebeb !important;
    color: #C61423 !important;
}


/* ===== INSIGHTS MAIN INTRO ===== */

.insights-intro {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    color: #555555;
    padding: 48px 7% 42px;
    border-bottom: 1px solid #e5e9ee;
}

.insights-intro__content {
    max-width: 860px;
    margin: 0 auto;
}

.insights-intro__eyebrow {
    display: block;
    color: #2B689C;
    font-size: px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.insights-intro__title {
    color: #2B689C;
    font-size:25px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 18px;
}

.insights-intro__description {
    max-width: 800px;
    color: #555555;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 14px;
}

.insights-intro__secondary {
    max-width: 800px;
    color: #777777;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

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

@media screen and (max-width: 600px) {

    .insights-intro {
        padding: 30px 20px;
    }

    .insights-intro__eyebrow {
        font-size: 25px;
        letter-spacing: 1.2px;
    }

    .insights-intro__title {
        font-size: 22.5px;
    }

    .insights-intro__description {
        font-size: 20px;
        line-height: 1.75;
    }

    .insights-intro__secondary {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* Fondo del desplegable de INSIGHTS */ 
.menu_simple ul.submenu-items { background-color: #edebeb !important; }

/* Fondo de cada opción del submenú */ 
.menu_simple ul.submenu-items li a { background-color: #edebeb !important; color: #2B6DA3 !important; }

/* Fondo al pasar el cursor por una opción */ 
.menu_simple ul.submenu-items li a:hover { background-color: #EAECF7 !important; color: #C61423 !important; }