
/*
 * LegioPOL V4.2 - páginas institucionales.
 * No interviene en portada, noticias, artículos ni páginas legales.
 */

.lp-v42 .lp42-page {
    min-width: 0;
    background: #f3f7fc;
}

.lp-v42 .lp42-page-hero {
    position: relative;
    padding: 37px 0 57px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(
        115deg,
        #081e3b 0%,
        #102f58 72%,
        #164878 100%
    );
}

.lp-v42 .lp42-page-hero::before {
    content: "";
    position: absolute;
    top: -25%;
    right: 13%;
    width: 190px;
    height: 155%;
    transform: skew(-20deg);
    pointer-events: none;
    background: rgba(110, 181, 249, .07);
    border-left: 1px solid rgba(145, 203, 255, .15);
}

.lp-v42 .lp42-page-hero .wrap {
    position: relative;
}

.lp-v42 .lp42-page-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    color: #d5e7f7;
    font-size: 12px;
}

.lp-v42 .lp42-page-breadcrumbs a {
    color: inherit;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.lp-v42 .lp42-page-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-v42 .lp42-page-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #a7d7ff;
}

.lp-v42 .lp42-page-title {
    color: #fff;
    max-width: 1060px;
    margin: 17px 0 21px;
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1.12;
    letter-spacing: -.04em;
    overflow-wrap: break-word;
}

.lp-v42 .lp42-page-intro {
    max-width: 740px;
    margin: 0;
    color: #d8e8f7;
    font-size: 16px;
    line-height: 1.8;
}

.lp-v42 .lp42-page-content-area {
    min-width: 0;
    padding: 45px 0 75px;
}

.lp-v42 .lp42-page-container {
    width: min(1160px, calc(100% - 60px));
    min-width: 0;
    margin-inline: auto;
}

.lp-v42 .lp42-page-article,
.lp-v42 .lp42-page-content {
    min-width: 0;
    max-width: 100%;
}

.lp-v42 .lp42-page-content.entry-content {
    color: #263e59;
    line-height: 1.75;
}

.lp-v42 .lp42-page-content img,
.lp-v42 .lp42-page-content video,
.lp-v42 .lp42-page-content iframe {
    max-width: 100%;
}

.lp-v42 .lp42-page-content img {
    height: auto;
}

.lp-v42 .lp42-page-container--territory {
    max-width: 1080px;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid #d7e2ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(13, 44, 78, .05);
}

.lp-v42 .lp42-page--territory .lp42-page-content h2 {
    color: #102f58;
    line-height: 1.3;
}

.lp-v42 .lp42-page--territory .lp42-page-content h3 {
    color: #164878;
    line-height: 1.35;
}

.lp-v42 .lp42-page--territory .lp42-page-content a {
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.lp-v42 .lp42-page-container--about {
    width: 100%;
    max-width: 100%;
}

.lp-v42 .lp42-page-container--about .entry-content {
    margin: 0;
    max-width: 100%;
}

/*
 * Contacto conserva los formularios y estilos del plugin.
 * No se rediseñan campos ni se ocultan controles de alta.
 */

.lp-v42 .lp42-page-container--contact {
    max-width: 1160px;
}

.lp-v42 .lp42-page--contact .lp42-page-content {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .lp-v42 .lp42-page-hero {
        padding: 24px 0 42px;
    }

    .lp-v42 .lp42-page-title {
        font-size: clamp(32px, 8vw, 45px);
    }

    .lp-v42 .lp42-page-intro {
        font-size: 14px;
    }

    .lp-v42 .lp42-page-content-area {
        padding: 24px 0 46px;
    }

    .lp-v42 .lp42-page-container {
        width: calc(100% - 32px);
    }

    .lp-v42 .lp42-page-container--about {
        width: 100%;
    }

    .lp-v42 .lp42-page-container--territory {
        padding: 22px 17px;
        border-radius: 11px;
    }
}

@media print {
    .lp-v42 .lp42-page-hero {
        padding: 12px 0;
        background: #fff;
        color: #000;
    }

    .lp-v42 .lp42-page-title,
    .lp-v42 .lp42-page-intro {
        color: #000;
    }

    .lp-v42 .lp42-page-container--territory {
        border: 0;
        box-shadow: none;
        padding: 0;
    }
}
