@charset "utf-8";

/* =========================================================
   BOTONES IMPORTANTES - DRTC HUANCAVELICA
   Dos botones por fila en todos los dispositivos
========================================================= */
.ac-enlaces__titulo {
    color:#10284C;
    font-size:1.8rem;
    font-weight:600;
}

.ac-enlaces__titulo span {
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
}

.ac-enlaces__titulo span::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #f5c518;
    margin-bottom: 5px;
}

.ac-enlaces__titulo span {
    color:#0875E1;
}

.ac-enlaces__descripcion {
    /* Ajustes exclusivos de la descripción */
}

/* =========================================================
   1. LISTA DE BOTONES
========================================================= */

.ac-btns-importante {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.ac-btns-importante > li {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   2. TARJETA PRINCIPAL
========================================================= */

.ac-btns-importante > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 112px;
    padding: 20px 48px 20px 18px;
    color: #10284C;
    background: #FFFFFF;
    border: 1px solid #E5EDF7;
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(16, 40, 76, 0.045);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}


/* Línea decorativa lateral */

.ac-btns-importante > li > a::before {
    content: "";

    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;

    width: 3px;

    background: #0875E1;
    border-radius: 0 4px 4px 0;

    transform: scaleY(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}


/* Efecto al pasar el cursor */

.ac-btns-importante > li > a:hover {
    color: #10284C;
    background: #FFFFFF;

    border-color: #B8D8FC;

    box-shadow: 0 12px 28px rgba(8, 117, 225, 0.12);

    transform: translateY(-4px);
}

.ac-btns-importante > li > a:hover::before {
    transform: scaleY(1);
}


/* Accesibilidad */

.ac-btns-importante > li > a:focus-visible {
    outline: 3px solid rgba(8, 117, 225, 0.45);
    outline-offset: 3px;
}


/* =========================================================
   3. CONTENEDOR DEL ICONO
========================================================= */

.ac-btns-importante .ac-btn__cont-icon {
    display: flex;
    flex: 0 0 58px;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    color: #0875E1;
    background: #E8F2FF;

    border-radius: 50%;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


/* Símbolo del icono */

.ac-btns-importante .ac-btn__cont-icon > span {
    font-size: 1.65rem;
    line-height: 1;
}


/* Icono al pasar el cursor */

.ac-btns-importante > li > a:hover .ac-btn__cont-icon {
    color: #FFFFFF;
    background: #0875E1;

    transform: scale(1.06);
}


/* =========================================================
   4. CONTENIDO Y TÍTULO
========================================================= */

.ac-btns-importante > li > a > div:not(.ac-bt__arrow):not(.ac-btn__arrow):not(.ac-btn__cont-icon) {
    flex: 1;
    min-width: 0;
}


/* Título del botón */

.ac-btns-importante .ac-btn__title {
   font-family: "Roboto Condensed", sans-serif;
    color: #10284C;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.ac-btns-importante > li > a:hover .ac-btn__title {
    color: #0875E1;
}


/* Subtítulo */

.ac-btns-importante .ac-btn__subtitle {
    display: block;

    color: #75839A;

    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;

    margin-top: 5px;
}


/* =========================================================
   5. FLECHA CIRCULAR
   Compatible con ac-bt__arrow y ac-btn__arrow
========================================================= */

.ac-btns-importante .ac-bt__arrow,
.ac-btns-importante .ac-btn__arrow {
    position: absolute;

    top: 50%;
    right: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #0875E1;
    background: #EDF5FF;

    border-radius: 50%;

    transform: translateY(-50%);

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


/* Icono de la flecha */

.ac-btns-importante .ac-bt__arrow > span,
.ac-btns-importante .ac-btn__arrow > span {
    font-size: 0.9rem;
    line-height: 1;
}


/* Movimiento de la flecha */

.ac-btns-importante > li > a:hover .ac-bt__arrow,
.ac-btns-importante > li > a:hover .ac-btn__arrow {
    color: #FFFFFF;
    background: #0875E1;

    transform: translate(3px, -50%);
}


/* =========================================================
   6. TABLET
========================================================= */

@media (min-width: 576px) and (max-width: 991.98px) {

    .ac-btns-importante {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ac-btns-importante > li > a {
        min-height: 100px;
        gap: 11px;

        padding: 16px 42px 16px 14px;
    }

    .ac-btns-importante .ac-btn__cont-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .ac-btns-importante .ac-btn__cont-icon > span {
        font-size: 1.4rem;
    }

    .ac-btns-importante .ac-btn__title {
        font-size: 0.86rem;
    }

    .ac-btns-importante .ac-btn__subtitle {
        font-size: 0.74rem;
    }

    .ac-btns-importante .ac-bt__arrow,
    .ac-btns-importante .ac-btn__arrow {
        right: 10px;

        width: 26px;
        height: 26px;
    }
}


/* =========================================================
   7. MÓVILES
   Se mantienen dos botones por fila
========================================================= */

@media (max-width: 575.98px) {

    .ac-btns-importante {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ac-btns-importante > li > a {
        min-height: 100px;

        gap: 8px;
        padding: 14px 30px 14px 10px;

        border-radius: 12px;
    }

    .ac-btns-importante > li > a::before {
        top: 12px;
        bottom: 12px;
    }

    .ac-btns-importante .ac-btn__cont-icon {
        flex: 0 0 36px;

        width: 36px;
        height: 36px;
    }

    .ac-btns-importante .ac-btn__cont-icon > span {
        font-size: 1.15rem;
    }

    .ac-btns-importante .ac-btn__title {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .ac-btns-importante .ac-btn__subtitle {
        font-size: 0.68rem;
        line-height: 1.3;

        margin-top: 4px;
    }

    .ac-btns-importante .ac-bt__arrow,
    .ac-btns-importante .ac-btn__arrow {
        right: 5px;

        width: 22px;
        height: 22px;
    }

    .ac-btns-importante .ac-bt__arrow > span,
    .ac-btns-importante .ac-btn__arrow > span {
        font-size: 0.75rem;
    }
}


/* =========================================================
   8. MÓVILES MUY ESTRECHOS
========================================================= */

@media (max-width: 359.98px) {

    .ac-btns-importante {
        gap: 8px;
    }

    .ac-btns-importante > li > a {
        gap: 6px;
        padding: 12px 25px 12px 8px;
        min-height: 92px;
    }

    .ac-btns-importante .ac-btn__cont-icon {
        flex-basis: 30px;

        width: 30px;
        height: 30px;
    }

    .ac-btns-importante .ac-btn__cont-icon > span {
        font-size: 1rem;
    }

    .ac-btns-importante .ac-btn__title {
        font-size: 0.68rem;
    }

    .ac-btns-importante .ac-btn__subtitle {
        font-size: 0.62rem;
    }

    .ac-btns-importante .ac-bt__arrow,
    .ac-btns-importante .ac-btn__arrow {
        right: 3px;

        width: 19px;
        height: 19px;
    }
}


/* =========================================================
   9. REDUCCIÓN DE MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ac-btns-importante > li > a,
    .ac-btns-importante > li > a::before,
    .ac-btns-importante .ac-btn__cont-icon,
    .ac-btns-importante .ac-bt__arrow,
    .ac-btns-importante .ac-btn__arrow,
    .ac-btns-importante .ac-btn__title {
        transition: none;
    }
}
/* =========================================================
   DOCUMENTOS DESCARGABLES - DRTC HUANCAVELICA
========================================================= */

.ac-docs {
    --ac-docs-azul: #0869E8;
    --ac-docs-azul-oscuro: #102D63;
    --ac-docs-texto: #71809B;
    --ac-docs-borde: #E2EBF7;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   LISTA CON DESPLAZAMIENTO
========================================================= */

.ac-docs__lista {
    display: flex;
    flex-direction: column;
    gap: 0;

    width: 100%;
    max-height: 540px;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 0 8px 0 0;

    scrollbar-width: thin;
    scrollbar-color: #B8C0CC #F2F5F9;
}

/* Scrollbar para Chrome y Edge */

.ac-docs__lista::-webkit-scrollbar {
    width: 8px;
}

.ac-docs__lista::-webkit-scrollbar-track {
    background: #F2F5F9;
    border-radius: 10px;
}

.ac-docs__lista::-webkit-scrollbar-thumb {
    background: #B8C0CC;
    border-radius: 10px;
}

.ac-docs__lista::-webkit-scrollbar-thumb:hover {
    background: #8D9BB0;
}


/* =========================================================
   FILA DEL DOCUMENTO
========================================================= */

.ac-docs__item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid var(--ac-docs-borde);
    border-radius: 12px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

/* Separación entre documentos */

.ac-docs__item + .ac-docs__item {
    margin-top: 8px;
}

/* Hover de cada fila */

.ac-docs__item:hover {
    border-color: #BDD8FC;
    background: #FCFDFF;
    box-shadow: 0 5px 16px rgba(16, 45, 99, 0.055);
}


/* =========================================================
   FECHA
========================================================= */

.ac-docs__fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #E8EAF0;
    border-radius: 7px;
}

.ac-docs__dia {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    color: var(--ac-docs-azul-oscuro);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    padding: 8px 4px;
}

.ac-docs__mes {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 30px;
    color: #FFFFFF;
    background: #164B9B;
    font-size: 0.80rem;
    font-weight: 600;
    line-height: 1;

    padding: 7px 4px;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.ac-docs__informacion {
    min-width: 0;
    padding: 0;
}


/* Título del documento */

.ac-docs__titulo {
    color: var(--ac-docs-azul-oscuro);

    font-size: 0.80rem;
    font-weight: 600;
    line-height: 1.4;

    margin: 0 0 8px;
    padding: 0;

    text-transform: uppercase;
    overflow-wrap: anywhere;
}


/* Fecha de publicación */

.ac-docs__publicacion {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    color: var(--ac-docs-texto);

    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.45;

    margin: 0;
    padding: 0;
}

.ac-docs__publicacion .icon-calendar {
    flex: 0 0 auto;

    font-size: 0.95rem;
    margin-top: 1px;
}

.ac-docs__publicacion strong {
    color: #465675;
    font-weight: 700;
}


/* =========================================================
   ARCHIVO, ICONO PDF, TAMAÑO Y DESCARGA
========================================================= */

.ac-docs__archivo {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 16px;
    min-width: 0;

    padding-left: 20px;
    border-left: 1px solid #DCE5F1;
}


/* Icono PDF */

.ac-docs__pdf {
    display: flex;
    flex: 0 0 36px;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 44px;

    color: #F12C32;

    font-size: 2.15rem;
    line-height: 1;
}

.ac-docs__pdf .icon-file-pdf {
    font-size: inherit;
}


/* Tamaño del archivo */

.ac-docs__peso {
    color: var(--ac-docs-texto);
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.3;

    white-space: nowrap;
}


/* Botón Descargar */

.ac-docs__descargar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 20px;

    color: #FFFFFF;
    background: var(--ac-docs-azul);
    border: 1px solid var(--ac-docs-azul);
    border-radius: 6px;

    font-size: 0.80rem;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.ac-docs__descargar .icon-download {
    font-size: 1.05rem;
    line-height: 1;
}

.ac-docs__descargar:hover {
    color: #FFFFFF;
    background: #0756BD;
    border-color: #0756BD;

    box-shadow: 0 5px 14px rgba(8, 105, 232, 0.2);

    transform: translateY(-1px);
}

.ac-docs__descargar:focus-visible {
    outline: 3px solid rgba(8, 105, 232, 0.35);
    outline-offset: 3px;
}


/* =========================================================
   VER TODOS LOS DOCUMENTOS
========================================================= */

.ac-docs__todos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    min-height: 52px;

    padding: 13px 20px;
    margin-top: 12px;

    color: #0869E8;
    background: #E2EFFF;

    border-radius: 30px;

    font-size: 0.92rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.ac-docs__todos:hover {
    color: #FFFFFF;
    background: #0869E8;
}

.ac-docs__todos .icon-chevron-right {
    font-size: 1rem;

    transition: transform 0.25s ease;
}

.ac-docs__todos:hover .icon-chevron-right {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .ac-docs__item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;

        padding: 14px;
    }

    .ac-docs__fecha {
        width: 58px;
        min-height: 64px;
    }

    .ac-docs__dia {
        font-size: 1.4rem;
    }

    .ac-docs__mes {
        min-height: 27px;
        font-size: 0.8rem;
    }

    .ac-docs__archivo {
        grid-column: 2;
        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 12px;

        padding: 12px 0 0;
        border-left: none;
        border-top: 1px solid #EDF1F7;
    }

    .ac-docs__descargar {
        min-width: 130px;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 575.98px) {

    .ac-docs__lista {
        max-height: 480px;
        padding-right: 4px;
    }

    .ac-docs__item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 11px;

        padding: 12px;
        border-radius: 10px;
    }

    .ac-docs__fecha {
        width: 48px;
        min-height: 58px;
        border-radius: 7px;
    }

    .ac-docs__dia {
        font-size: 1.2rem;
        padding: 6px 2px;
    }

    .ac-docs__mes {
        min-height: 24px;
        font-size: 0.72rem;
        padding: 5px 2px;
    }

    .ac-docs__titulo {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .ac-docs__publicacion {
        font-size: 0.72rem;
        gap: 5px;
    }

    .ac-docs__publicacion .icon-calendar {
        font-size: 0.85rem;
    }

    .ac-docs__archivo {
        gap: 10px;
        padding-top: 10px;
    }

    .ac-docs__pdf {
        flex-basis: 28px;
        width: 28px;
        height: 34px;
        font-size: 1.7rem;
    }

    .ac-docs__peso {
        font-size: 0.72rem;
    }

    .ac-docs__descargar {
        min-width: 0;
        min-height: 36px;
        gap: 6px;

        padding: 9px 12px;

        font-size: 0.75rem;
    }

    .ac-docs__descargar .icon-download {
        font-size: 0.9rem;
    }

    .ac-docs__todos {
        min-height: 46px;
        font-size: 0.82rem;
        padding: 11px 14px;
    }
}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ac-docs__item,
    .ac-docs__descargar,
    .ac-docs__todos,
    .ac-docs__todos .icon-chevron-right {
        transition: none;
    }
}