
/*
 * LegioPOL V4.2 - entradas individuales.
 * Estilos limitados a la nueva plantilla.
 * El contenido incrustado conserva sus clases y estilos propios.
 */

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

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

.lp-v42 .lp42-post-hero::before {
    content: "";
    position: absolute;
    right: 12%;
    top: -30%;
    width: 180px;
    height: 160%;
    transform: skew(-20deg);
    background: rgba(100, 174, 246, .075);
    border-left: 1px solid rgba(130, 206, 255, .14);
    pointer-events: none;
    z-index: -1;
}

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

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

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

.lp-v42 .lp42-post-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c9e2fa;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .12em;
}

.lp-v42 .lp42-post-eyebrow span {
    display: inline-block;
    width: 23px;
    height: 3px;
    flex-shrink: 0;
    background: #82ceff;
}

.lp-v42 .lp42-post-title.entry-title {
    max-width: 1060px;
    margin: 22px 0 27px;
    color: #fff;
    font-size: clamp(34px, 4.7vw, 67px);
    font-weight: 800;
    line-height: 1.11;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
}

.lp-v42 .lp42-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    align-items: center;
    color: #d9e9f7;
    font-size: 13px;
}

.lp-v42 .lp42-post-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #7ba8d0;
    border-radius: 5px;
    color: #e6f3ff;
    font-size: 11px;
    font-weight: 700;
}

.lp-v42 .lp42-post-reading {
    padding: 50px 0 75px;
}

.lp-v42 .lp42-post-article {
    max-width: 900px;
    min-width: 0;
    margin-inline: auto;
    padding: clamp(23px, 4.5vw, 55px);
    border: 1px solid #d9e4ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(13, 44, 78, .055);
}

.lp-v42 .lp42-post-article--wide {
    max-width: 1160px;
}

.lp-v42 .lp42-post-content.entry-content {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #263e59;
    font-size: 16.5px;
    line-height: 1.78;
    overflow-wrap: break-word;
}

.lp-v42 .lp42-post-content > :first-child {
    margin-top: 0;
}

.lp-v42 .lp42-post-content > p {
    margin: 0 0 1.2em;
}

.lp-v42 .lp42-post-content > h2,
.lp-v42 .lp42-post-content > h3 {
    color: #102f58;
    line-height: 1.28;
    scroll-margin-top: 115px;
}

.lp-v42 .lp42-post-content > h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    margin: 1.9em 0 .65em;
}

.lp-v42 .lp42-post-content > h3 {
    font-size: clamp(20px, 2vw, 25px);
    margin: 1.5em 0 .55em;
}

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

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

.lp-v42 .lp42-post-content figure {
    max-width: 100%;
}

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

.lp-v42 .lp42-post-content > table {
    max-width: 100%;
    border-collapse: collapse;
}

.lp-v42 .lp42-post-content > table th,
.lp-v42 .lp42-post-content > table td {
    padding: 11px 14px;
    border: 1px solid #d9e4ef;
    text-align: left;
    vertical-align: top;
}

.lp-v42 .lp42-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
}

.lp-v42 .lp42-page-links a,
.lp-v42 .lp42-page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #cbd9e8;
    border-radius: 6px;
}

.lp-v42 .lp42-post-nextprev,
.lp-v42 .lp42-post-followup,
.lp-v42 .lp42-post-comments {
    max-width: 1160px;
    margin-inline: auto;
}

.lp-v42 .lp42-post-nextprev {
    margin-top: 31px;
}

.lp-v42 .lp42-post-nextprev .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.lp-v42 .lp42-post-nextprev .nav-previous,
.lp-v42 .lp42-post-nextprev .nav-next {
    min-width: 0;
}

.lp-v42 .lp42-post-nextprev a {
    display: flex;
    flex-direction: column;
    gap: 9px;
    height: 100%;
    min-height: 90px;
    padding: 20px 22px;
    border: 1px solid #d3e1ef;
    border-radius: 11px;
    background: #fff;
    color: #12365d;
    text-decoration: none;
}

.lp-v42 .lp42-post-nextprev a:hover {
    border-color: #0867df;
}

.lp-v42 .lp42-post-nav-label {
    color: #637a90;
    font-size: 12px;
}

.lp-v42 .lp42-post-nav-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.lp-v42 .lp42-post-followup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 35px;
    padding: 28px;
    border-radius: 12px;
    background: #102f58;
    color: #fff;
}

.lp-v42 .lp42-post-followup strong {
    display: block;
    font-size: 22px;
    line-height: 1.25;
}

.lp-v42 .lp42-post-followup p {
    margin: 10px 0 0;
    color: #d4e7f8;
    font-size: 13px;
}

.lp-v42 .lp42-post-followup-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

.lp-v42 .lp42-post-followup-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #e8f5ff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-v42 .lp42-post-comments {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #d9e4ef;
    border-radius: 12px;
}

@media (max-width: 760px) {
    .lp-v42 .lp42-post-hero {
        padding: 23px 0 43px;
    }

    .lp-v42 .lp42-post-title.entry-title {
        font-size: clamp(32px, 8vw, 45px);
        line-height: 1.15;
        margin: 19px 0 23px;
    }

    .lp-v42 .lp42-post-meta {
        font-size: 12px;
        gap: 9px 15px;
    }

    .lp-v42 .lp42-post-reading {
        padding: 25px 0 45px;
    }

    .lp-v42 .lp42-post-article {
        padding: 21px 17px;
        border-radius: 11px;
    }

    .lp-v42 .lp42-post-content.entry-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .lp-v42 .lp42-post-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lp-v42 .lp42-post-nextprev .nav-links {
        grid-template-columns: 1fr;
    }

    .lp-v42 .lp42-post-followup {
        display: block;
        padding: 24px;
    }

    .lp-v42 .lp42-post-followup-actions {
        margin-top: 17px;
    }
}

@media print {
    .lp-v42 .header,
    .lp-v42 .footer,
    .lp-v42 .lp42-post-nextprev,
    .lp-v42 .lp42-post-followup {
        display: none !important;
    }

    .lp-v42 .lp42-post-hero {
        color: #000;
        background: #fff;
        padding: 10px 0;
    }

    .lp-v42 .lp42-post-title.entry-title {
        color: #000;
    }

    .lp-v42 .lp42-post-reading {
        padding: 0;
    }

    .lp-v42 .lp42-post-article {
        border: 0;
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-v42 .lp42-post-page *,
    .lp-v42 .lp42-post-page *::before,
    .lp-v42 .lp42-post-page *::after {
        animation: none !important;
        transition: none !important;
    }
}
