/* ==========================================
   SERVICIOS Y RECURSOS
   ========================================== */

.accesos-principales {
    width: 100%;
    padding: 65px 25px;
    background: #f5f9fb;
}

.accesos-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}


/* ENCABEZADO */

.accesos-encabezado {
    text-align: center;
    margin-bottom: 35px;
}

.accesos-encabezado > span {
    display: block;
    margin-bottom: 7px;

    color: #1687b8;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.accesos-encabezado h2 {
    margin: 0;

    color: #263746;

    font-size: 34px;
    font-weight: 600;
}


/* CUADRÍCULA */

.accesos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* TARJETAS */

.accesos-grid .acceso-card {
    min-height: 210px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 10px;

    color: #ffffff !important;
    text-decoration: none !important;

    box-shadow: 0 6px 20px rgba(0,0,0,.10);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.accesos-grid .acceso-card:hover,
.accesos-grid .acceso-card:focus {
    transform: translateY(-4px);

    color: #ffffff !important;
    text-decoration: none !important;

    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}


/* TEXTOS */

.acceso-tipo {
    display: block;

    margin-bottom: 8px;

    color: rgba(255,255,255,.85);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.acceso-card h3 {
    margin: 0 0 16px;

    color: #ffffff !important;

    font-size: 25px;
    line-height: 1.2;
}

.acceso-enlace {
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 600;

    opacity: .95;
}


/* COLORES */

.acceso-medica {
    background: #157ea9;
}

.acceso-educacion {
    background: #1695a8;
}

.acceso-cursos {
    background: #337f7c;
}

.acceso-loteria {
    background: #234b78;
}

.acceso-emprendedores {
    background: #b36b38;
}

.acceso-donacion {
    background: #173c68;
}


/* TABLET */

@media (max-width: 991.98px) {

    .accesos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULAR */

@media (max-width: 575.98px) {

    .accesos-principales {
        padding: 45px 18px;
    }

    .accesos-encabezado h2 {
        font-size: 29px;
    }

    .accesos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .accesos-grid .acceso-card {
        min-height: 165px;
        padding: 24px;
    }

    .acceso-card h3 {
        font-size: 23px;
    }

}