/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700');

:root {
    --basic-black: #111;
    --basic-white: #fff;
    --basic-gray: #333;
    --gray-app: #444444;
    --basic-gray-light: #707070;
    --basic-red: #dc0000;
    --bd: #f3f2fd;
    --nav: #fff;
    --bg: #ebf0f7;
    --header: #fbf4f6;
    --text: #2e2e2f;
    --white: #ffffff;
    --light-grey: #c4cad3;
    --tag-1: #ffffc8;
    --tag-1-text: #bbbc32;
    --tag-2: #fbd2f4;
    --tag-2-text: #923c84;
    --tag-3: #cfecf1;
    --tag-3-text: #1eb1ca;
    --tag-4: #f9ebd4;
    --tag-4-text: #fbab2c;
    --color-logo-1: #bbbc32;
    --color-logo-2: #923c84;
    --color-logo-3: #1eb1ca;
    --color-logo-4: #fbab2c;
    --purple: #7784ee;
    --border-gray-light: #969696;
    --border-gray-light-1: #d9e0e9;
    --border-gray-light-2: #b4b4b4;
    --background-color: #fff;
    --font-color: #444;
    --base-web: #0151a1;
    --base-web-1: #006cb7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100%;
    background: var(--bd);
}

body.dark {
    min-height: 100%;
    background: var(--gray-app);
}

/* NAVBAR & HEADER */

nav {
    position: sticky;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav);
    box-shadow: 0 1PX 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav.dark {
    background: var(--basic-gray);
}

nav .logo {
    display: flex;
    align-items: center;
    margin: 0 24px;
}

nav .theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 28px;
    background: var(--bd);
    border: 1px solid var(--border-gray-light);
    cursor: pointer;
    position: relative;
    border-radius: 25px;
    margin: 0 24px;
}

nav .theme-toggle::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: calc(28px - 4px);
    background: var(--line-border-fill);
    border-radius: 50%;
    transition: all 0.3s ease;
}

nav.dark .theme-toggle {
    background: var(--line-border-fill);
    border: 1px solid var(--line-border-fill);
}

nav.dark .theme-toggle::before {
    background: var(--bd);
}

nav #theme-toggle:checked+.theme-toggle::before {
    left: calc(100% - (25px - 1px) - 2px);
}

nav .theme-toggle i {
    position: absolute;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

nav .theme-toggle .bx-sun {
    left: 5px;
    opacity: 1;
    color: var(--white);
}

nav .theme-toggle .bx-moon {
    right: 5px;
    opacity: 0;
}

nav.dark .theme-toggle .bx-sun {
    opacity: 0;
}

nav.dark .theme-toggle .bx-moon {
    opacity: 1;
}

nav .logo .menu-icon {
    color: var(--basic-gray);
    font-size: 24px;
    margin-right: 14px;
    cursor: pointer;
}

nav .logo .logo-name {
    color: var(--basic-gray);
    font-size: 22px;
    font-weight: 500;
}

nav.dark .logo .menu-icon {
    color: var(--basic-white);
}

nav.dark .logo .logo-name {
    color: var(--basic-white);
}

nav .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 300px;
    padding: 20px 0;
    background-color: var(--basic-white);
    box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 1001;
}

nav.dark .sidebar {
    background-color: var(--basic-black);
}

nav.open .sidebar {
    left: 0;
}

.sidebar .sidebar-content {
    display: flex;

    flex-direction: column;
    justify-content: space-between;
    padding: 30px 16px;
    max-height: 100vh;
    /* o el valor que necesites */
    overflow-y: auto;
    padding-right: 5px;
    /* para que no corte el contenido con el scrollbar */
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background-color: var(--basic-gray-light);

}

.sidebar-content::-webkit-scrollbar-track {
    background-color: transparent;
}


.sidebar-content .list {
    list-style: none;
}

.list .nav-link {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 14px 12px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.lists .nav-link:hover {
    background-color: var(--line-border-fill);
}

nav .nav-link .icon {
    margin-right: 14px;
    font-size: 20px;
    color: var(--basic-gray-light);
}

nav.dark .nav-link .icon {
    color: var(--white);
}

nav .nav-link .icon:hover {
    color: var(--basic-red);
}

nav .nav-link .link {
    font-size: 12px;
    color: var(--basic-gray-light);
    font-weight: 400;
    text-transform: uppercase;
}

nav.dark .nav-link .link {
    color: var(--white);
}

.lists .nav-link:hover .icon,
.lists .nav-link:hover .link {
    color: var(--basic-white);
}

.overlay {
    position: fixed;
    top: 0;
    left: -100%;
    height: 1000vh;
    width: 200%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1002;
}

nav.open~.overlay {
    opacity: 1;
    left: 300px;
    pointer-events: auto;
}

@media (min-width: 938px) {
    nav {
        justify-content: center;
    }

    nav .logo {
        display: none;
    }

}

@media (max-width: 938px) {
    nav {
        justify-content: space-between;
    }
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.8rem;
    background: var(--base-web);
}

.header-info .contact {
    display: flex;
    color: #fff;
    gap: 1.2rem;
    padding: 0.6rem;
    font-size: 0.8rem;
}

.header-info .contact .contact-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.header-info .contact .contact-name i {
    display: inline-block;
    font-size: 1.2rem;
}

.header-info .contact .contact-name p {
    margin: 0;
    display: flex;
    align-items: center;
}

.header-info .socials {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    list-style: none;
}

.header-info .socials .social-icon {
    color: var(--line-border-fill);
    background: #fff;
    padding-top: 0.2rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    border-radius: 0.3rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.header-info .socials .social-icon:hover {
    transform: scale(1.1);
}

nav .container-items-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

nav .container-items-nav .items-nav a {
    color: #454545;
    padding: 0.8rem;
    text-decoration: none;
    font-size: 0.9rem;
}

nav.dark .container-items-nav .items-nav .a-nav {
    color: #fff;
}

nav .container-items-nav .items-nav .a-nav:hover {
    color: var(--line-border-fill);
    border-top: 2px solid var(--line-border-fill);
}

nav .container-items-nav .dropdown {
    position: relative;
}

nav .container-items-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 140%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 220px;
}

nav.dark .container-items-nav .dropdown-menu {
    background: var(--basic-black);
    border: 1px solid var(--line-border-fill);
}

nav .container-items-nav .dropdown-menu li {
    padding: 0.5rem;
}

nav .container-items-nav .dropdown-menu li .a-dropdown {
    display: block;
    padding: 0.5rem;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

nav.dark .container-items-nav .dropdown-menu li .a-dropdown {
    color: #fff;
}

nav .container-items-nav .dropdown-menu li .a-dropdown:hover {
    background: var(--line-border-fill);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 1);
    color: #fff;
    border-radius: 6px;
}

nav .container-items-nav .dropdown:hover .dropdown-menu {
    display: block;
}

@media (max-width: 938px) {
    nav .container-items-nav {
        display: none;
    }

    .header-info {
        display: none;
    }
}

.header-sr {
    width: 96%;
    height: 440px;
    position: relative;
    margin: 0 auto 20px;
    margin-top: 1rem;
    overflow: hidden;
}

.header-sr__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mantiene proporción sin deformar */
    object-position: center;
    display: block;
}

/* Responsivo */
@media only screen and (max-width: 1440px) {
    .header-sr {
        height: 440px;
        /* puedes mantener o ajustar */
    }
}

@media screen and (max-width: 768px) {
    .header-sr {
        height: 340px;
        border-radius: 6px;
    }
}


/*NAVBAR & HEADER*/

/*ESTRUCTURA*/

.contenedor-css {
    width: 90%;
    max-width: auto;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-template-areas: "contenido-css contenido-css contenido-css contenido-css";
    background-color: transparent;
}

.contenedor-css>div,
.contenedor-css .contenido-css {
    background: #fff;
}

.contenedor-css .contenido-css {
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    color: #12203e;
    grid-area: contenido-css;
}

@media screen and (max-width: 868px) {
    .contenedor-css {
        grid-template-areas:
            "contenido-css contenido-css contenido-css contenido-css"
    }

    .contenedor-css {
        width: 96%;
        font-size: 14px;
    }

    .sidebar-css {
        margin-top: 14px;
    }

}

@media screen and (max-width: 1440px) {
    .contenedor-css {
        width: 96%;
        font-size: 14px;
    }
}

.contenedor-css .contenido-css.contenedor-sin-estilos {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

.padding-small {
    padding: 0.5rem;
}

/*ESTRUCTURA*/

/*CONTAINERS RESPONSIVE*/

.contenedor-cs {
    width: 90%;
    margin: 20px auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "contenido-cs contenido-cs sidebar-cs sidebar-cs";
    background-color: transparent;
}

.contenedor-cs .contenido-cs,
.contenedor-cs .sidebar-cs {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    color: #12203e;
    align-self: start;
    /* cada uno toma su altura */
}

.contenedor-cs .contenido-cs {
    grid-area: contenido-cs;
}

.contenedor-cs .sidebar-cs {
    grid-area: sidebar-cs;
}


@media screen and (max-width: 1240px) {
    .contenedor-cs {
        grid-template-areas:
            "contenido-cs contenido-cs contenido-cs contenido-cs"
            "sidebar-cs sidebar-cs sidebar-cs sidebar-cs";
    }

    .contenedor-cs {
        width: 96%;
        font-size: 14px;
    }

    .contenedor-cs .sidebar-cs {
        width: 100%;
        margin-top: 14px;
    }
    
    #carousel-wrapper {
        width: 96%;
    }
}

@media screen and (max-width: 1440px) {
    .contenedor-cs {
        width: 96%;
        font-size: 14px;
    }
    
    #carousel-wrapper {
        width: 96%;
    }
}

.contenedor-cs .contenido-cs.contenedor-sin-estilos,
.contenedor-cs .sidebar-cs.contenedor-sin-estilos {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

/*CONTAINERS RESPONSIVE*/

/*FOOTER INICIAL*/

/* Variables globales */
:root {
    --footer-bg-start: #006cb7;
    --footer-bg-end: #014488;
    --footer-text: #ffffff;
    --footer-border: #69c;
    --footer-border-dark: #158;
    --footer-hover-bg: #036;
}

/* Estilos del pie de página */
.footer-section {
    width: 90%;
    margin: 0 auto;
    padding: 2.5rem 0;
    background: linear-gradient(to bottom, var(--footer-bg-start), var(--footer-bg-end) 90%);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.34);
    color: var(--footer-text);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Títulos */
.footer-container h4 {
    width: 100%;
    padding: 1rem;
    margin: 0 auto 1.5rem;
    color: var(--footer-text);
    border-bottom: 1px dotted var(--footer-text);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Listas */
.footer-container ul {
    list-style: none;
    font-size: 0.875rem;
    margin: 0.5rem 0;
    padding: 0;
}

.footer-container ul li a {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-container ul li a:hover {
    color: var(--footer-text);
    background-color: var(--footer-hover-bg);
}

/* Imágenes */
.footer-container a img {
    border: none;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-container a img:hover {
    filter: grayscale(1);
    transform: scale(1.05);
}

/* Banners */
.footer-banners {
    text-align: center;
    margin-top: 1.5rem;
}

.footer-banners .banner-item img {
    width: 100%;
    max-width: 220px;
    margin: 0.5rem;
    border-radius: 6px;
}

/* Media Queries */
@media screen and (max-width: 1440px) {
    .footer-section {
        width: 96%;
    }

    .footer-banners .banner-item img {
        width: 100%;
    }
}

@media screen and (max-width: 1240px) {
    .footer-section {
        width: 96%;
    }
}

@media screen and (max-width: 804px) {
    .footer-container {
        margin: 0 1rem;
    }

    .footer-container h4 {
        font-size: 1.2rem;
    }
    
    .footer-banners .banner-item img {
        width: 100%;
    }

}


/* Estilos de banners adicionales */
.additional-banners {
    background: transparent;
}

.additional-banners a img {
    border: none;
    transition: all 0.25s linear;
}

.additional-banners a img:hover {
    filter: grayscale(1);
}

.additional-banners-section {
    padding-bottom: 4px;
    text-align: center;
    border-radius: 6px;
}

@media screen and (min-width: 1005px) {
    .additional-banners-section .banner-item-ac img {
        width: 32.5%;
    }
}

@media screen and (min-width: 805px) and (max-width: 1004px) {
    .additional-banners-section .banner-item-ac img {
        width: 32.5%;
    }
}

@media screen and (max-width: 804px) {
    .additional-banners-section .banner-item-ac img {
        width: 32.5%;
    }
}


/*FOOTER INICIAL*/

/*FOOTER INTERMEDIO*/

.app {
    color: #000;
}

.app.dark {
    color: #fff;
}

.app footer #info-pagina {
    text-align: center;
    padding: 50px 0px 50px 0px;
    color: #404040;
}

.app footer #info-pagina h3 {
    font-size: 0.95em;
}

.app footer #info-pagina p {
    font-size: 0.85em;
    padding-top: 5px;
    color: #404040;
}

.app footer #info-pagina a {
    display: inline-block;
    padding: 2px 5px;
    text-decoration: none;
}

.app.dark footer #info-pagina {
    text-align: center;
    padding: 15px 0px 15px 0px;
    color: #fff;
}

.app.dark footer #info-pagina p {
    font-size: 0.85em;
    padding-top: 5px;
    color: #fff;
}

/*FOOTER INTERMEDIO*/

/*FOOTER FINAL*/

.bicolor {
    position: relative;
    min-height: 2px;
}

.bicolor span {
    display: block;
    float: left;
    height: 100%;
}

.bicolor span.azul {
    background: #0f69b4;
    width: 46%;
    border-radius: 6px 0 0 0;
}

.bicolor span.rojo {
    background: #eb3646;
    width: 54%;
    border-radius: 0 6px 0 0;
}

.wrap {
    width: 90%;
    margin: 0 auto;
    position: relative;
    border-radius: 6px 6px 0 0;
}

.footer .wrap {
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.footer .wrap #links {
    background: #fff;
}

.footer .wrap #links {
    overflow: hidden;
    background-color: #fff;
}

.footer .wrap #links div.column {
    width: 300px;
    float: left;
    padding: 5px 15px;
    text-transform: uppercase;
}

.footer .wrap #links div.even h2 {
    color: #ef4144 !important;
}

.footer .wrap #links div.column h2 {
    color: #006cb7;
    font-size: 16px;
    font-weight: normal;
    text-shadow: 1px 1px 1px #CCC;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer .wrap #links div.column ul {
    padding-left: 0;
    margin-left: 0;
}

.footer .wrap #links div.column ul li {
    list-style-type: none;
    margin-bottom: 12px;
    background: url(../assets/punto.png) left center no-repeat;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.footer .wrap #links div.column ul li ul {
    margin-top: 5px;
    padding-left: 15px;
}

.footer .wrap #links div.column ul li a {
    color: #787878;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
}

.footer .wrap #links div.column ul li a:hover {
    color: #eb3646;
    text-decoration: underline;
}

.footer .bicolor {
    height: 2px;
}

.footer .top {
    padding: 25px 0 0;
    width: 100%;
}

.footer .bottom {
    padding: 15px 20px 0;
    font-size: 12px;
    color: #475156;
}

.footer .bottom .bicolor {
    margin: 25px 0 0;
    width: 300px;
    height: 20px;
}

@media only screen and (max-width: 1440px) {
    .wrap {
        width: 96%;
    }
}

@media only screen and (max-width: 700px) {
    .wrap {
        width: 96%;
    }
}

/*FOOTER FINAL*/

/*CARDS NOTICIAS*/

.end {
    display: flex;
    justify-content: end;
}

.notice-wrapper {
    display: flex;
    justify-content: end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    box-sizing: border-box;
}

.news-card-unique {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    color: #333;
    border: 1px solid #ddd;
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.news-card-unique:hover .news-image-wrapper img {
    transform: scale(1.05) rotate(0.5deg);
}

.news-info {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-title {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #1c1c1c;
}

.news-description {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.7rem;
    color: #454545;
    margin-top: 0.3rem;
}

.news-meta .author,
.news-meta .date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: #457b9d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1d3557;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination button {
    padding: 10px 20px;
    margin: 5px;
}

.hidden {
    display: none;
}

:root {
    --line-border-fill: #2771c8;
    --line-border-empty: #e0e0e0;
}

/* Estilos de paginación basados en los que enviaste */
.con-pagination {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.pagination {
    list-style: none;
    display: flex;
    padding: 0;
    margin-top: 30px;
    border-color: #ccc;
    margin-left: 0.1rem;
}

.pagination .page-item-a {
    float: left;
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 12px;
    color: #111;
    background: #fff;
    margin-left: -1px;
    border: 1px solid #ccc;
    border-radius: 6px 0 0 6px;
    line-height: 1.5;
    cursor: pointer;
}

.pagination .page-item-a.disabled {
    pointer-events: none;
    opacity: 0.6;
    border-radius: 6px 0 0 6px;
}

.pagination .page-item-s {
    float: left;
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 12px;
    color: #111;
    background: #fff;
    margin-left: -1px;
    border: 1px solid #ccc;
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
    cursor: pointer;
}

.pagination .page-item-s.disabled {
    pointer-events: none;
    opacity: 0.6;
    border-radius: 0 6px 6px 0;
}

.pagination .page-item-m {
    float: left;
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 12px;
    color: #111;
    background: #fff;
    margin-left: -1px;
    border: 1px solid #ccc;
    line-height: 1.5;
    cursor: pointer;
}

.pagination .page-item-m.active {
    background: var(--line-border-fill);
    color: #fff;
}

.pagination .page-item-m:hover {
    background: #eee;
}

.pagination .page-item-m.active:hover {
    background: #eee;
    color: var(--line-border-fill);

}

/* From Uiverse.io by alexruix */
.group {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.input {
    width: 100%;
    height: 40px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 2.5rem;
    border: 2px solid transparent;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #0d0c22;
    transition: .3s ease;
}

.input::placeholder {
    color: #9e9ea7;
}

.input:focus,
input:hover {
    outline: none;
    border-color: rgba(76, 118, 234, 0.4);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(76, 113, 234, 0.1);
}

.icon-search {
    position: absolute;
    left: 1rem;
    fill: #9e9ea7;
    width: 1rem;
    height: 1rem;
}

/*CARDS NOTICIAS*/

/*SIDEBAR RIGHT*/


.right-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 100%;
    background: #edf5fa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 1001;
}

.right-sidebar.dark {
    background: var(--gray-app);
}

.right-sidebar.open {
    right: 0;
}

.right-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Inicialmente oculto */
    height: 1000vh;
    width: 200%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.right-overlay.open {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

.right-sidebar-content {
    height: 100%;
    overflow-y: auto;
}

.right-sidebar .header-nav {
    background: #fff;
    width: 100%;
    height: 4.375rem;
    box-shadow: 0px 1px 3px -2px rgba(0, 0, 0, 0.64);
    position: sticky;
    display: flex;
    /* Usamos flexbox */
    align-items: center;
    /* Centra verticalmente el contenido */
    justify-content: space-between;
    /* Espacia los elementos dentro de la barra */
    z-index: 1;
}

.right-sidebar .header-nav.dark {
    background: var(--basic-gray);
}

.sidebar-close-btn {
    background: #f0f0f0;
    border: none;
    padding: 7px 12px;
    font-size: 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    margin-left: 10px;
    /* Agrega espacio a la izquierda */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar-close-btn:hover {
    background: #f8f8f8;
    color: #da281e;
}

@media (max-width: 1024px) {
    .right-sidebar {
        width: 100%;
        /* Asegura que la barra lateral se adapte a pantallas pequeñas */
    }
}

.right-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 96%;
    background: #edf5fa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 1003;
}

.right-sidebar.dark {
    background: var(--gray-app);
}

.right-sidebar.open {
    right: 0;
}

.right-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Inicialmente oculto */
    height: 1000vh;
    width: 200%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1002;
}

.right-overlay.open {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

.right-sidebar-content {
    height: 100%;
    overflow-y: auto;
}

.right-sidebar .header-nav {
    background: #fff;
    width: 100%;
    height: 4.375rem;
    box-shadow: 0px 1px 3px -2px rgba(0, 0, 0, 0.64);
    display: flex;
    /* Usamos flexbox */
    align-items: center;
    /* Centra verticalmente el contenido */
    justify-content: space-between;
    /* Espacia los elementos dentro de la barra */
}

.right-sidebar .header-nav.dark {
    background: var(--basic-gray);
}

/* Estilo para el botón de cerrar */
.sidebar-close-btn {
    background: #f0f0f0;
    border: none;
    padding: 7px 12px;
    font-size: 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    margin-left: 10px;
    /* Agrega espacio a la izquierda */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar-close-btn:hover {
    background: #f8f8f8;
    color: #da281e;
}

@media (max-width: 768px) {
    .right-sidebar {
        width: 100%;
    }
}

.hidden {
    opacity: 0;
    transform: translateX(20px);
    /* Puedes cambiar esto según el efecto que desees */
    pointer-events: none;/
}

/*SIDEBAR RIGHT*/

/*NOTICIAS*/

.body {
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 5rem
}

.img-news {
    display: block;
    max-width: 100%;
    border-radius: 0.3rem;
}

.responsive-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1900px;
    width: 95%
}

.page-title {
    display: flex;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2rem;
}

.page-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    text-align: center
}

.page-title h1:after {
    background-color: currentcolor;
    bottom: -3px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 100%
}

.magazine-layout {
    grid-row-gap: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 3rem
}

.magazine-column {
    grid-column: span 5;
    padding: 0 1.5rem
}

@media (min-width:1200px) {
    .magazine-column {
        border-right: 1px solid #ccc;
        grid-column: span 1
    }

    .magazine-column:last-child {
        border-right: none
    }

    .magazine-column:nth-child(2) {
        grid-column: span 2
    }
}

.article+.article {
    border-top: 1px solid #ccc;
    margin-top: 2rem;
    padding-top: 2rem
}

.article-img+* {
    margin-top: 1rem
}

.article-link {
    text-decoration: none;
    text-transform: uppercase;
}

.article-title {
    font-weight: 900;
    line-height: 1.25
}

.article-title--large {
    font-size: 2rem
}

.article-title--large+* {
    margin-top: 1.5rem
}

.article-title--medium {
    font-size: 1.5rem
}

.article-title--medium+* {
    margin-top: .75rem
}

.article-title--small {
    font-size: 1.25rem
}

.article-title--small+* {
    margin-top: .75rem
}

.article-link {
    color: inherit
}

.mark {
    background-color: #fabea1
}

.mark--secondary {
    background-color: #c2dddf
}

.mark--tertiary {
    background-color: #f8e177
}

.article-excerpt {
    font-size: 1.125rem;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: left;
}

.article-excerpt p+p {
    margin-top: 1.5rem
}

.article-category {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem
}

.article-category svg {
    margin-right: .5rem;
    max-width: 1.5rem;
    vertical-align: middle
}

:focus {
    outline: 0
}

/*NOTICIAS*/


.contenedor-equipo-css {
    display: block;

}

/* GRID RESPONSIVO */
.contenedor-equipo {
    display: grid;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    /* 📱 por defecto 1 columna */
}

/* En pantallas grandes, 2 columnas */
@media (min-width: 768px) {
    .contenedor-equipo {
        grid-template-columns: 1fr 1fr;
    }
}

/* CADA BLOQUE */
.miembro-detalle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid #ddd;
}

/* IMAGEN */
.contenedor-imagen {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.contenedor-imagen:hover {
    transform: scale(1.05);
}

.contenedor-interno {
    position: relative;
    width: 100%;
    height: 100%;
}

.fondo-circular {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px dashed var(--line-border-fill);
}

.imagen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* TEXTO */
.contenedor--info {
    flex: 1;
}

.separador {

    border-bottom: 1px dashed var(--line-border-fill);
    width: 100%;
    margin: 0.5rem 0 1rem;
}

.nombre {
    font-family: system-ui, sans-serif;
    color: #404245;
    font-size: 18px;
    font-weight: 600;
}

.titulo-miembro {
    color: #6e6e6e;
    font-size: 14px;
    margin-top: 4px;
    word-break: break-word;
}

.titulo-miembro.mail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--line-border-fill);
    color: #fff;
    padding: 0.4rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1rem;
}

.titulo-miembro.number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #d52b1e;
    color: #fff;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 0.5rem;
}

.org--slider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.org--slider.sin-margin-bottom {
    margin-bottom: 0;
}

.org--logo {
    width: 25rem;
    background: #d52b1e;
    color: #fff;
    text-align: center;
    padding: 0.2rem;
    border-radius: 0.5rem;
    font-size: 15px;
}

.org--line {
    width: 100%;
    border: none;
    height: 1px;
    background: #ddd;
}

.slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
}

.slider.org {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
}

.ribbon {
    position: absolute;
    top: 20px;
    left: -50px;
    height: 1.5rem;
    /* mueve la cinta un poco fuera de la card */
    background: var(--line-border-fill);
    /* color de la cinta */
    color: #fff;
    padding: 5px 62px;
    text-align: center;
    font-weight: bold;
    transform: rotate(-35deg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
}

.sliders {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slides {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 auto;
}

.slides i {
    margin: 0 0 2rem 0;
    font-size: 4rem;
    color: var(--line-border-fill);
}

.slides h2 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0.1rem 1rem 0.1rem 1rem;
    border-radius: 6px;
    background: var(--line-border-fill);
    color: white;
}

.slides p {
    margin-top: 1.4rem;
    font-size: 1rem;
    color: #555;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* mantiene proporción sin deformar */
    object-position: center;
    display: block;
    padding: 0;
}


/* Indicadores */
.indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicators span {
    width: 12px;
    height: 12px;
    border-radius: 0.2rem;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicators span.active {
    background: var(--line-border-fill);
}

.container-404 {
    width: 90%;
    margin: 0 auto;
}

.p-404 {
    letter-spacing: 0.2rem;
    font-size: 20px;
    text-align: center;
    color: var(--base-web);
    margin-bottom: 4rem;
}

.a-404 {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.not-found {
    background-color: var(--base-web);
    color: white;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 0.6rem;
}

.tipsiz {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    flex-direction: column;
}

.tipsiz-body {
    display: flex;
    align-items: center;
    margin: 10px;
}

.face {
    width: 300px;
    height: 200px;
    border: 3px solid var(--base-web);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 15px;
    color: var(--base-web);
}

.upper-face {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 80px;
    margin-left: 80px;
}

.element {
    font-size: 60px;
}

.mouth {
    width: 20px;
    height: 10px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border: 3px solid var(--base-web);
    border-bottom: 0;
}


:root {
    --carousel-speed: 20s
}

:root {
    --carousel-speed: 25s;
    --accent-color: #d52b1e;
    --text-color: #222;
    --bg-color: #fafafa;
    --slide-bg: #fff;
    --shadow: rgba(0, 0, 0, 0.24);
}

#carousel-wrapper {
    overflow: hidden;
    width: 96%;
    margin: 4rem auto;
    display: flex;
    align-items: center;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 1rem 0;

}

#carousel {
    display: flex;
    gap: 1rem;
    animation: autoplay var(--carousel-speed) linear infinite;
}

#carousel:hover {
    animation-play-state: paused;
}

#carousel a {
    text-decoration: none;
    color: inherit;
}

.slide {
    flex: 0 0 auto;
}

.img-autoplay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 80px;
    border-radius: 0.75rem;
    background-color: var(--slide-bg);
    cursor: pointer;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    border: 1px solid #ddd;
}

.img-autoplay p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    text-align: center;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

.img-autoplay:hover {
    transform: translateY(-8px) scale(1);
}

.img-autoplay:hover p {
    color: var(--accent-color);
}

.bandera {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #0f69b4 0%, #0f69b4 50%, #eb3646 50%);
    border-radius: 1rem 1rem 0 0;
    position: absolute;
    top: -1px;
    right: 0;
}

@keyframes autoplay {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Opcional: para que la animación sea completamente fluida, duplicar los slides en HTML */

.no-results {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    margin-top: 20px;
}

.map-card {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    margin-top: 1rem;
}

.map-container {
    width: 100%;
    height: 200px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    padding: 1rem;
    text-align: center;
    width: 100%;
    margin: auto;
    font-family: "Inter", sans-serif;
    border-top: 1px solid #ddd;
}

.map-info h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #111;
}

.map-info p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

.map-info-btn {
    display: flex;
    align-items: center;
    justify-content: start;
}

.btn-directions {
    width: 40%;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 0.45rem 1.5rem;
    font-size: 0.9rem;
    font-family: Helvetica, sans-serif;
    font-weight: 600;
    border-radius: 2px;
    background: var(--line-border-fill);
    border: 1px solid var(--line-border-fill);
    color: #fff;
    text-decoration: none;
    box-shadow: 4px 4px 0 black;
    transition: all 0.25s ease;
}

.btn-directions:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .btn-directions {
        width: 100%;
    }
    
    .slides h2 {
        font-size: 1.6rem;
    }
    
    .slides p {
        font-size: 0.75rem;
    }
    
    .img-autoplay p {
        font-size: 0.8rem;
    }
    
    .footer .wrap #links div.column ul li a {
        font-size: 10px;
    }
    
    .org--logo {
        font-size: 14px;
    }    
}

.info-card {
    position: relative;
    width: 100%;
    padding: 5rem;
    background: linear-gradient(135deg, #c3d9f8ff, var(--line-border-fill));
    color: #fff;
    border-radius: 30% 70% 40% 60% / 50% 30% 70% 50%;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card::before,
.info-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.info-card::before {
    width: 160px;
    height: 160px;
    background: #fff;
    top: -40px;
    left: -40px;
}

.info-card::after {
    width: 140px;
    height: 140px;
    background: #fff;
    bottom: -30px;
    right: -30px;
}

.info-card:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.64);
}

.info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.info-card button {
    margin-top: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.info-card button:hover {
    background: rgba(255, 255, 255, 0.4);
}

section.mvBlockCont {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
}

section.mvBlock {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.6s ease;
    font-family: 'Poppins', sans-serif;
    height: 450px;
}

section.mis {
    background: rgb(29, 113, 173);
    color: #fff;
    text-transform: uppercase;
    border-radius: 6px;
}

section.vis {
    background: #ffffffff;
    color: #111;
    text-transform: uppercase;
    border-radius: 6px;
}

div.mvCont {
    max-width: 500px;
    text-align: left;
}

h2.mvTitle {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

h2.mvTitle::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background: currentColor;
    border-radius: 2px;
}

p.mvText {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 1s forwards;
    animation-delay: 0.4s;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.34);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card--info {
    max-width: 100%;
    text-transform: uppercase;
}

.hito {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.hito--1 {
    margin-top: 1rem;
    border-bottom: 1px solid #ddd;
}

.hito--ultimo {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hito__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #c62828;
    margin-bottom: 6px;
}

.hito__title strong {
    color: #3a3a3a;
}

.hito__fecha {
    font-weight: 600;
    font-size: 1.1rem;
    color: #c62828;
    margin-bottom: 6px;
}

.hito__titulo {
    margin: 0 0 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.hito__texto {
    margin: 0;
    font-size: 0.8rem;
    color: #444;
    letter-spacing: 0.1rem;
}

.justify {
    text-align: justify;
}

.hito__imagen {
    width: 100%;
    /* Se adapta al ancho del contenedor */
    height: auto;
    /* Mantiene proporción */
    max-height: 227px;
    /* Limita altura para no ocupar tanto espacio */
    object-fit: cover;
    /* Opcional: recorta ligeramente para llenar área si es necesario */
    display: block;
    margin: 10px 0;
    /* Espacio arriba y abajo */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.64);
    border-radius: 6px;
}

.img-height {
    max-height: 100%;
}

.cifras--card {
    width: 100%;
    display: grid;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 6px;
    padding: 0.5rem 2rem;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sin-estilos {
    padding: 0;
    border: none;
}

.stat-card:hover {
    transform: translateY(-6px);

}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.stat-title {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.stat-number {
    font-size: 1.96rem;
    font-weight: 700;
    color: #111;
}

.stat-number.small {
    font-size: 0.8rem;
    font-weight: normal;
    text-transform: uppercase;
}

.stat-indicator {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(141, 198, 255, 0.6), rgba(55, 141, 254, 0.6));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.64);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.stat-indicator i {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.64);
}


/* Círculos decorativos suaves detrás */
.stat-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(70, 179, 229, 0.15);
    top: -40px;
    right: -40px;
    z-index: 1;
}

.separator {
    padding: 0.65rem;
}

.separatorMedium {
    padding: 1.1rem;
}

.separatorLarge {
    padding: 1.3rem;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.option {
    display: flex;
    flex-direction: column;
    padding: 0.6rem 0.4rem 0 0.6rem;
    transition: transform 0.2s;
    line-height: 1.4;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.option:hover {
    transform: translateY(-2px);
}

/* Colores pastel por opción */
.option:nth-child(1) {
    border-left: 5px solid #77c1fdff;
    /* rosa pastel */
}

.option:nth-child(2) {
    border-left: 5px solid #77c1fdff;
    /* azul pastel */
}

.option:nth-child(3) {
    border-left: 5px solid #77c1fdff;
    /* verde pastel */
}

.title {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.description {
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 0.3rem;
}

#loader-container {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    /* blanco translúcido */
    backdrop-filter: blur(0.2rem);
    /* efecto borroso */
    -webkit-backdrop-filter: blur(0.2rem);
    /* para Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    opacity: 1;
    pointer-events: all;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.loader__circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  margin: 0 4px;
  animation: loader_901 1s ease-in-out infinite;
}

.loader__circle:nth-of-type(1) {
  background-color: var(--color-logo-1);
  animation-delay: 0;
}

.loader__circle:nth-of-type(2) {
  background-color: var(--color-logo-2);
  animation-delay: 0.25s;
}

.loader__circle:nth-of-type(3) {
  background-color: var(--color-logo-3);
  animation-delay: 0.5s;
}

.loader__circle:nth-of-type(4) {
  background-color: var(--color-logo-4);
  animation-delay: 0.75s;
}

@keyframes loader_901 {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.2);
  }

  40% {
    transform: scale(1);
  }
}

#loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* --- Item individual --- */
.gallery__item {
    position: relative;
    width: 100%;
    /* puedes cambiar a px, %, vh, etc */
    /* define el alto que quieras */
    border-radius: 6px;
    background-color: transparent;
    overflow: hidden;
    /* para que la imagen no se salga */
}

.gallery__item.height {
    height: 400px;
}

/* --- Loader --- */
.gallery__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(227, 227, 227, 0.2);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.gallery__loader::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #888;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Imagen --- */
.img--load {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* se adapta a cualquier tamaño */
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img--load.is-loaded {
    opacity: 1;
}