.elementor-807 .elementor-element.elementor-element-3c80ec8c{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-6390439d *//* =========================================================
   IESTP ENRIQUE PABLO MEJÍA TUPAYACHI
   BIBLIOTECAS - AZUL + VERDE
========================================================= */

.epmt-bibliotecas {
    --epmt-blue: #0b4f8a;
    --epmt-blue-dark: #07365f;
    --epmt-blue-soft: #eaf4fb;

    --epmt-green: #15955f;
    --epmt-green-dark: #0d7046;
    --epmt-green-soft: #eaf7f1;

    --epmt-text: #20313d;
    --epmt-muted: #687984;
    --epmt-border: #dce7ed;

    width: 100%;
    padding: 60px 25px;
    box-sizing: border-box;

    background:
        radial-gradient(circle at 0% 0%, rgba(11, 79, 138, .09), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(21, 149, 95, .08), transparent 32%),
        #f8fbfd;
}


/* =========================
   CABECERA
========================= */

.epmt-bibliotecas__header {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.epmt-bibliotecas__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 16px;
    margin-bottom: 12px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        var(--epmt-blue-soft),
        var(--epmt-green-soft)
    );

    color: var(--epmt-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.epmt-bibliotecas__header h2 {
    margin: 0 0 12px;

    color: var(--epmt-blue-dark);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
}

.epmt-bibliotecas__header h2::after {
    content: "";

    display: block;

    width: 80px;
    height: 4px;

    margin: 14px auto 0;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        var(--epmt-blue),
        var(--epmt-green)
    );
}

.epmt-bibliotecas__header p {
    max-width: 650px;
    margin: 0 auto;

    color: var(--epmt-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================
   GRID
========================= */

.epmt-bibliotecas__grid {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* =========================
   TARJETAS
========================= */

.epmt-biblioteca-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid var(--epmt-border);
    border-radius: 22px;

    box-shadow:
        0 12px 32px rgba(11, 79, 138, .08),
        0 3px 10px rgba(0, 0, 0, .03);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* línea decorativa superior */

.epmt-biblioteca-card::before {
    content: "";

    position: absolute;
    z-index: 5;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        var(--epmt-blue),
        var(--epmt-green)
    );
}

.epmt-biblioteca-card:hover {
    transform: translateY(-7px);

    border-color: rgba(11, 79, 138, .22);

    box-shadow:
        0 20px 45px rgba(11, 79, 138, .14),
        0 7px 20px rgba(21, 149, 95, .07);
}


/* =========================
   IMÁGENES
========================= */

.epmt-biblioteca-card__image {
    position: relative;

    width: 100%;
    height: 280px;

    overflow: hidden;

    background: #edf5f8;
}

.epmt-biblioteca-card__image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 85px;

    background: linear-gradient(
        to top,
        rgba(5, 54, 95, .25),
        transparent
    );

    pointer-events: none;
}

.epmt-biblioteca-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.epmt-biblioteca-card:hover .epmt-biblioteca-card__image img {
    transform: scale(1.055);
}


/* =========================
   ETIQUETAS
========================= */

.epmt-biblioteca-card__badge {
    position: absolute;
    z-index: 3;

    top: 18px;
    left: 18px;

    padding: 8px 15px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .95);

    color: var(--epmt-blue-dark);

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);

    backdrop-filter: blur(8px);
}


/* segunda tarjeta en verde */

.epmt-biblioteca-card:nth-child(2)
.epmt-biblioteca-card__badge {
    color: var(--epmt-green-dark);
}


/* =========================
   CONTENIDO
========================= */

.epmt-biblioteca-card__content {
    position: relative;

    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 42px 30px 30px;
}


/* ICONO TARJETA 1 */

.epmt-biblioteca-card__icon {
    position: absolute;

    top: -30px;
    left: 30px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--epmt-blue),
        #1175b8
    );

    border: 5px solid #ffffff;
    border-radius: 17px;

    box-shadow: 0 9px 22px rgba(11, 79, 138, .25);
}


/* ICONO TARJETA 2 */

.epmt-biblioteca-card:nth-child(2)
.epmt-biblioteca-card__icon {
    background: linear-gradient(
        135deg,
        var(--epmt-green),
        #21ad73
    );

    box-shadow: 0 9px 22px rgba(21, 149, 95, .25);
}

.epmt-biblioteca-card__icon svg {
    width: 26px;
    height: 26px;

    fill: none;

    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================
   TÍTULOS
========================= */

.epmt-biblioteca-card__content h3 {
    margin: 0 0 15px;

    color: var(--epmt-blue-dark);

    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: -.25px;
}

.epmt-biblioteca-card:nth-child(2)
.epmt-biblioteca-card__content h3 {
    color: var(--epmt-green-dark);
}

.epmt-biblioteca-card__content > p {
    margin: 0 0 23px;

    color: var(--epmt-muted);

    font-size: 14px;
    line-height: 1.75;

    text-align: justify;
}


/* =========================
   HORARIO
========================= */

.epmt-horario {
    margin-bottom: 24px;
    padding: 17px 18px;

    background: var(--epmt-blue-soft);

    border: 1px solid #d6e8f4;
    border-radius: 14px;
}

.epmt-horario__title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 13px;

    color: var(--epmt-blue-dark);

    font-size: 14px;
    font-weight: 800;
}

.epmt-horario__title svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: var(--epmt-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.epmt-horario__items {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.epmt-horario__items div {
    padding: 11px 12px;

    background: #ffffff;

    border-radius: 10px;

    border: 1px solid #dce9f0;
}

.epmt-horario__items span,
.epmt-horario__items strong {
    display: block;
}

.epmt-horario__items span {
    margin-bottom: 3px;

    color: #71818b;

    font-size: 11px;
    font-weight: 600;
}

.epmt-horario__items strong {
    color: var(--epmt-blue-dark);

    font-size: 13px;
}


/* =========================
   BIBLIOTECA VIRTUAL
========================= */

.epmt-virtual-features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-bottom: 24px;
}

.epmt-virtual-features div {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 14px 13px;

    background: var(--epmt-green-soft);

    border: 1px solid #d8eee3;
    border-radius: 12px;

    color: #405c50;

    font-size: 12px;
    font-weight: 700;
}

.epmt-virtual-features svg {
    flex: 0 0 20px;

    width: 20px;
    height: 20px;

    fill: none;

    stroke: var(--epmt-green);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================
   BOTONES
========================= */

.epmt-biblioteca-btn {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: auto;

    padding: 15px 22px;

    box-sizing: border-box;

    border-radius: 12px;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .4px;

    text-decoration: none !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* botón biblioteca institucional */

.epmt-biblioteca-card:first-child
.epmt-biblioteca-btn {
    background: linear-gradient(
        135deg,
        var(--epmt-blue),
        #1175b8
    );

    border: 1px solid var(--epmt-blue);

    box-shadow: 0 8px 18px rgba(11, 79, 138, .20);
}

.epmt-biblioteca-card:first-child
.epmt-biblioteca-btn:hover {
    background: var(--epmt-blue-dark);

    box-shadow: 0 12px 24px rgba(11, 79, 138, .28);
}


/* botón biblioteca virtual */

.epmt-biblioteca-card:nth-child(2)
.epmt-biblioteca-btn {
    background: linear-gradient(
        135deg,
        var(--epmt-green),
        #21ad73
    );

    border: 1px solid var(--epmt-green);

    box-shadow: 0 8px 18px rgba(21, 149, 95, .20);
}

.epmt-biblioteca-card:nth-child(2)
.epmt-biblioteca-btn:hover {
    background: var(--epmt-green-dark);

    box-shadow: 0 12px 24px rgba(21, 149, 95, .27);
}

.epmt-biblioteca-btn:hover {
    color: #ffffff !important;

    transform: translateY(-2px);
}

.epmt-biblioteca-btn svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.epmt-biblioteca-btn .epmt-arrow {
    width: 18px;

    margin-left: auto;

    transition: transform .25s ease;
}

.epmt-biblioteca-btn:hover .epmt-arrow {
    transform: translateX(4px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .epmt-bibliotecas {
        padding: 45px 20px;
    }

    .epmt-bibliotecas__grid {
        gap: 22px;
    }

    .epmt-biblioteca-card__image {
        height: 235px;
    }

    .epmt-biblioteca-card__content {
        padding: 40px 22px 24px;
    }

    .epmt-horario__items,
    .epmt-virtual-features {
        grid-template-columns: 1fr;
    }

}


/* =========================
   MÓVIL
========================= */

@media (max-width: 700px) {

    .epmt-bibliotecas {
        padding: 35px 15px;
    }

    .epmt-bibliotecas__header {
        margin-bottom: 28px;
    }

    .epmt-bibliotecas__header h2 {
        font-size: 30px;
    }

    .epmt-bibliotecas__header p {
        font-size: 14px;
    }

    .epmt-bibliotecas__grid {
        grid-template-columns: 1fr;
    }

    .epmt-biblioteca-card {
        border-radius: 18px;
    }

    .epmt-biblioteca-card__image {
        height: 230px;
    }

    .epmt-biblioteca-card__content {
        padding: 40px 20px 22px;
    }

    .epmt-biblioteca-card__content h3 {
        font-size: 20px;
    }

}


/* =========================
   MÓVIL PEQUEÑO
========================= */

@media (max-width: 430px) {

    .epmt-biblioteca-card__image {
        height: 205px;
    }

    .epmt-biblioteca-card__icon {
        left: 20px;
    }

    .epmt-biblioteca-card__content > p {
        text-align: left;
    }

}/* End custom CSS */