#main_loader {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0c0c0c;
    z-index: 9999;
}

#main_loader.hidden {
    display: none;
    pointer-events: none;
}

.no-scroll {
    overflow: hidden;
}

.loader_center {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: fit-content;
    height: fit-content;
    text-align: center;
}

.loader_in,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

.loader_in {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 0, 0, 0.2);
    border-right: 1.1em solid rgba(255, 0, 0, 0.2);
    border-bottom: 1.1em solid rgba(255, 0, 0, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.loader {
    margin: auto;
    display: block;
    position: relative;
    width: 10rem;
    height: calc(100vh - 5rem);
    padding-bottom: 4rem;
}


#logo_admin .loader {
    transform: translateY(-8rem);
    height: calc(100vh - 1rem);
}

.sk-fading-circle {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 6rem;
    height: 6rem;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 1rem;
    height: 1rem;
    background-color: #939393;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.loader .text_load {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    font-family: 'Myriad Pro light';
    text-transform: lowercase;
    letter-spacing: 1px;
    font-size: .9rem;
    color: #8b8b8b;
}

.loader .text_load.white {
    color: white !important;
}

.loader .text_load.red {
    color: #870d19 !important;
}

.sk-fading-circle.white .sk-circle:before {
    background-color: #ffffff !important;
}

.sk-fading-circle.red .sk-circle:before {
    background-color: #870d19 !important;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {

    0%,
    39%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {

    0%,
    39%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}
aside#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

nav#cabezera.active~#menu {
    pointer-events: auto;
}


/* nav#cabezera.active~#menu .aside-left {
    transform: translateY(0);
} */

nav#cabezera.active~#menu .aside-left,
nav#cabezera.active~#menu .aside-right {
    transform: translateY(0);
}

nav#cabezera.active~#menu .loader {
    opacity: 1;
    transition: ease 50ms;

}

nav#cabezera~#menu .loader {
    opacity: 0;
    transition: ease 500ms;
    z-index: 1;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}


nav#cabezera.active~#menu .topNav li.li_on {
    animation-name: menu-down;
    animation-duration: 100ms;
    animation-fill-mode: forwards;
}

@keyframes menu-down {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.aside-section {
    top: 0;
    bottom: 0;
    position: absolute;
}

.aside-left {
    z-index: 9;
    width: 24rem;
    left: 0;
    transform: translateY(-100vh);
}

#menu .background_img {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    background-size: cover;
    background-color: #242424;
    transition: transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    transform: translateY(-100vh);
    filter: blur(2px);
}

nav#cabezera.active~#menu .background_img {
    transform: translateY(0vh);
}

/* nav#cabezera.active~#menu .background_img {
    animation-name: aperbackimg;
    animation-duration: 200ms;
    animation-delay: 200ms;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
}

@keyframes aperbackimg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
} */

.aside-right {
    padding: 0;
    padding-left: 24rem;
    box-sizing: border-box;
    overflow: visible;
    width: 100vw;
    left: 0;
    transform: translateY(-100vh);
    transition: transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    background: -moz-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.4962359943977591) 80%, rgba(0, 0, 0, 0.2637429971988795) 100%);
    background: -webkit-linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.4962359943977591) 80%, rgba(0, 0, 0, 0.2637429971988795) 100%);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 0.4962359943977591) 80%, rgba(0, 0, 0, 0.2637429971988795) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#000000", GradientType=1);
}

.topNav {
    display: block;
    list-style: none;
    position: absolute;
    letter-spacing: -1px;
    box-sizing: border-box;
    font-family: 'Myriad Pro semiBold';
    height: fit-content;
    padding: 2rem 2rem;
    font-size: 150%;
    margin: auto;
    width: 100%;
    z-index: 1;
    bottom: 0;
    top: 2rem;
    right: 0;
    left: 0;
}

.sub2Nav li:not(.nav-header) {
    padding-left: .5rem;
}

.topNav li {
    display: block;
    position: relative;
    margin-bottom: 0.5rem;
    z-index: 2;
    color: white;
    transition: all ease 230ms;
    opacity: 0;
}

.topNav li.active::before {
    font-family: 'Material Icons';
}

.topNav li::before {
    display: inline;
    font-family: 'Material Icons Outlined';
    content: "label";
    -webkit-font-feature-settings: 'liga';
    font-size: .9rem;
}

.topNav .nav-header::before {
    content: "";
}

.topNav li span {
    display: inline;
    position: relative;
    text-decoration: none;
    margin-left: 1rem;
}


/* 
.topNav li span::after {
    background: none repeat scroll 0 0 transparent;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    background: #fff;
    transition: width ease 500ms;
    width: 0;
} */

.topNav li.not-active {
    /* color: #ffffffe3; */
}

.topNav li.active>span::after,
.topNav li span:hover::after {
    width: 100%;
}

.topNav li span:hover {
    cursor: pointer;
}

.topNav li.active {
    padding: 2rem 0;
}

.topNav li.not-active:hover {
    color: white;
}

.topNav li.not-active span:hover::after {
    width: 0;
}

.backMenu,
.backMenuColor {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.backMenuColor {
    background-color: #fffffff2;
    z-index: 1;
}

.backMenu {
    z-index: 0;
}

.backMenu picture img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.backMenu picture:first-child {
    display: block;
}

.backMenu picture {
    display: none;
}

.closeNav {
    position: absolute;
    top: 2rem;
    right: 4rem;
    z-index: 3;
    cursor: pointer;
}

.closeNav .material-icons {
    font-size: 3.5rem;
}

.closeNav .txt {
    font-family: 'Myriad Pro Condensed';
    position: relative;
    display: block;
    text-align: center;
    margin-top: -.8rem;
    font-size: 1.5rem;
}

.subNav {
    display: none;
    flex-direction: column;
    opacity: 0;
    position: absolute;
    flex-wrap: wrap;
    height: 100%;
    width: calc(100vw - 24rem);
    text-decoration: none;
    font-family: 'Myriad Pro Regular';
    letter-spacing: -1px;
    padding: 6rem 3rem;
    margin: 0;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.subNav.active {
    display: flex;
    overflow: auto;
}


/* width */

.subNav::-webkit-scrollbar {
    width: 10px;
}


/* Track */

.subNav.subNav::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

.subNav::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sub2Nav:nth-child(1) {
    animation-delay: 50ms
}

.subNav.active>.sub2Nav:nth-child(2) {
    animation-delay: 50ms
}

.subNav.active>.sub2Nav:nth-child(3) {
    animation-delay: 100ms
}

.subNav.active>.sub2Nav:nth-child(4) {
    animation-delay: 150ms
}

.subNav.active>.sub2Nav:nth-child(5) {
    animation-delay: 200ms
}

.subNav.active>.sub2Nav:nth-child(6) {
    animation-delay: 250ms
}

.subNav.active>.sub2Nav:nth-child(7) {
    animation-delay: 300ms
}

.subNav.active>.sub2Nav:nth-child(8) {
    animation-delay: 350ms
}

.subNav.active>.sub2Nav:nth-child(9) {
    animation-delay: 400ms
}

.subNav.active>.sub2Nav:nth-child(10) {
    animation-delay: 450ms
}

.subNav.active>.sub2Nav:nth-child(11) {
    animation-delay: 500ms
}

.subNav.active>.sub2Nav:nth-child(12) {
    animation-delay: 550ms
}

.subNav.active>.sub2Nav {
    animation-name: menu-down-2;
    animation-duration: 300ms;
    /* animation-delay: 100ms; */
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
}

@keyframes menu-down-2 {
    from {
        opacity: 0;
        margin-top: 0rem;
    }

    to {
        opacity: 1;
        margin-top: 2rem;
    }
}


/* nav#cabezera.active~#menu .subNav:first-child {
    display: flex !important;
    opacity: 1 !important;
} */

.sub2Nav>li {
    letter-spacing: -1px;
    cursor: default;
}

.sub2Nav>li>span {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.sub2Nav li span:hover {
    /* color: var(--main-red); */
    font-style: italic;
}

.sub2Nav {
    position: relative;
    display: flex;
    width: calc(50% - 4rem);
    min-width: 12rem;
    flex-flow: column;
    text-decoration: none;
    list-style: none;
    padding: 0;
    opacity: 0;
    margin-top: 0;
    margin-right: 2rem;
    padding-left: 1rem;
    border-left: 1px solid #242424;
}

.sub2Nav li {
    padding-bottom: .4rem;
    font-size: 1.2rem;
    font-family: 'Myriad Pro semibold';
}

.nav-header {
    font-family: 'Myriad Pro semiBold';
    margin-bottom: 0.5rem;
    letter-spacing: 0px;
    font-size: 77%;
    color: #9c9c9c;
    font-style: italic;
    font-size: 1.1rem !important;
    /* padding-top: 1.5rem !important; */
}

.subNav.active {
    opacity: 1;
    pointer-events: auto;
}

@media only screen and (min-width: 681px) and (max-width: 962px) {
    .aside-left {
        width: 260px;
    }

    .subNav {
        width: calc(100vw - 260px);
        
        padding: 6rem 0px;
    }

    .aside-right {
        padding-left: 270px;
    }

    .topNav {
        padding-right: 0px;
        padding-left: 1rem;
        margin-top: 75px;
    }
    .sub2Nav {
        margin-right: 0px;
    }
}


@media only screen and (max-width: 680px) {
    

    .topNav {
        margin-top: 90px;
    }
}
#servicios {
    padding-top: 150px;
    padding-bottom: 20px;
    padding-left: 112px;
    padding-right: 112px;
    z-index: 1;
    min-height: 100vh;
    position: relative; /* Necesario para posicionar el ::after */
}

/* Fondo oscuro semitransparente detrás de los servicios */
#servicios::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro */
    z-index: 0; /* Detrás de los servicios */
}

/* Estilo del título */
#servicios > .title_servicios {
    font-family: 'Myriad Pro bold';
    font-size: 56px;
    color: #FFFFFF; /* Blanco puro */
    text-align: center;
    position: relative;
    z-index: 1; /* Encima del fondo oscuro */
}

/* Caja de servicios */
#servicios > .servicios_box {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1; /* Encima del fondo oscuro */
}

/* Estilos de los elementos individuales de servicio */
#servicios .servicios_item {
    display: inline-flex;
    margin: 1.5%;
    padding: 16px;
    border: 2px solid white;
    font-family: 'MYRIAD PRO semibold';
    font-size: 19px;
    border-radius: 10px;
    background-color: #c71122;
    cursor: pointer;
    color: white;
    width: 26%;
    align-items: center;
}

#servicios .servicios_item:hover {
    background: #a8303b;
}

#servicios .servicios_item .servicios_name {
    text-transform: capitalize;
}

#servicios .servicios_item .material-icons {
    margin-right: 1rem;
}

/* Botón de control de video */
#control_video {
    position: absolute;
    bottom: 2vh;
    right: 2rem;
    color: #ffffff2b;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1; /* Encima del fondo oscuro */
}

.control-video-btn {
    display: contents;
}

#control_video:hover {
    color: #ffffff4d;
}

/* Ajustes responsivos */
@media only screen and (min-width: 681px) and (max-width: 964px) {
    #servicios .servicios_item {
        width: 40%;
    }
}

@media only screen and (min-width: 0px) and (max-width: 680px) {
    #servicios .servicios_item {
        width: 90%;
    }

    #servicios {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Estilos de la barra lateral en pantallas grandes */
.side-bar {
  position: fixed !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-radius: 0.5rem;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  height: fit-content;
  z-index: 2;
  margin: auto;
  transition: margin-right .3s cubic-bezier(0.45, 0.25, 0.60, 0.95);
  padding: 5px;
  background: #c71122;
  width: 2em; /* Tamaño original en pantallas grandes */
}

/* Contenedor de cada botón */
.side-button-container {
  position: relative;
  width: 100%;
  margin: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Estilos de los botones */
.side-button-container .material-icons {
  color: #ecf0f1;
  cursor: pointer;
  font-size: 24px; /* Tamaño original en pantallas grandes */
  transition: color 0.3s ease, font-size 0.3s ease;
}

.side-button-container .material-icons:hover {
  color: #3498db;
}

/* Recuadro que aparece al hacer hover */
.hover-box {
  position: absolute;
  right: 45px;
  display: none;
  align-items: center;
  background: #00000079;
  backdrop-filter: blur(1px);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
  z-index: 1000;
}

/* Icono grande dentro del recuadro */
.large-icon {
  font-size: 35px;
  margin-right: 10px;
}

/* Título dentro del recuadro */
.hover-title {
  color: #ecf0f1;
  font-size: 16px;
  font-weight: bold;
}

/* Mostrar el recuadro al hacer hover */
.side-button-container:hover .hover-box {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* --- Adaptaciones solo para pantallas más pequeñas --- */
@media (max-width: 768px) {
  .side-bar {
      width: 8vw; /* Ancho proporcional solo en pantallas pequeñas */
      padding: 1vw; /* Ajustar el padding */
  }
  .hover-box {
      left: 10vw;
      right: auto;
  }
  .side-button-container .material-icons {
      font-size: 5vw; /* Tamaño de íconos proporcional en pantallas pequeñas */
  }
  .large-icon {
      font-size: 6vw; /* Icono grande proporcional en pantallas pequeñas */
  }
}

/* Adaptaciones para pantallas aún más pequeñas (móviles) */
@media (max-width: 480px) {
  .side-bar {
      width: 10vw; /* Ancho aún más pequeño para pantallas móviles */
      padding: 0.5vw; /* Menor padding */
  }
  .hover-box {
      left: 8vw; /* Ajuste del recuadro para evitar desbordes */
  }
  .side-button-container .material-icons {
      font-size: 6vw; /* Ajustar íconos para pantallas móviles */
  }
  .large-icon {
      font-size: 7vw;
  }
}

/* Flotante - Carrusel optimizado */
.mainFlotante {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    backdrop-filter: blur(3px);
    z-index: 7;
    cursor: pointer;
    transition: opacity 300ms ease-out;
    pointer-events: none;
    background: transparent;
    will-change: opacity;
}

.mainFlotante.activa {
    opacity: 1;
    pointer-events: all;
    background: rgba(77, 77, 77, 0.64);
}

/* Contenedor del carrusel */
.flotante-carousel-container {
    position: relative;
    width: fit-content;
    max-width: 60vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 400ms ease-in-out, transform 400ms ease-in-out;
}

.flotante-carousel-container.fading {
    opacity: 0;
    transform: translateY(-50%) scale(0.98);
}

.flotante-image-wrapper {
    position: relative;
    display: block;
    border: 4px solid white;
    background: white;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mainFlotante picture {
    border: 4px solid white;
    background: white;
    border-radius: 5px;
    transition: transform 300ms ease;
    will-change: transform;
    display: block;
}

.mainFlotante picture:hover {
    transform: scale(1.01);
}

/* Transición suave entre imágenes */
.flotante-image {
    object-fit: contain;
    width: 100%;
    max-height: 80vh;
    display: block;
}

/* Botón de cierre */
.mainFlotante .close_ {
    position: absolute;
    top: -15px;
    right: -15px;
    color: white;
    background: #c71122;
    border: 2px solid white;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mainFlotante .close_:hover {
    transform: scale(1.1);
    background: #a50e1c;
}

.mainFlotante .close_ span {
    font-size: 1.5rem;
}

.boton-flotante-imagen {
    display: block;
    max-width: 100%;
    background: none;
    border: none;
    padding: 0;
}

/* Indicadores de paginación (puntos) */
.flotante-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #666;
    background: transparent;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.pagination-dot:hover {
    transform: scale(1.3);
    border-color: #c71122;
}

.pagination-dot.active {
    background: #c71122;
    border-color: #c71122;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(199, 17, 34, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .flotante-carousel-container {
        max-width: 90vw;
    }

    .flotante-image {
        max-height: 70vh;
    }

    .flotante-pagination {
        gap: 8px;
        padding: 10px 16px;
    }

    .pagination-dot {
        width: 10px;
        height: 10px;
    }
}
.barra-superior-govco {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #3366cc;
  display: flex;
  align-items: center;
  padding-left: 40px;
  z-index: 9999;
  box-sizing: border-box;

  transition: transform 0.3s ease-in-out;
}

.barra-superior-govco.oculta {
  transform: translateY(-100%);
}

.barra-superior-govco.visible {
  transform: translateY(0);
}

.barra-superior-govco a.govco-link {
  display: inline-block;
  height: 22px;
  width: 100px;
  position: relative;
  margin-left: 0;
  margin-top: 1px;
}

.barra-superior-govco a.govco-link::before {
  content: "";
  display: block;
  background-image: url("https://cdn.www.gov.co/assets/images/logoGovCO.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
}

.idioma-icon-barra-superior-govco {
  position: absolute;
  right: 40px;               
  width: 28px;               
  height: 28px;              
  border-radius: 6px;
  background: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: #3366cc;
  font-size: 10px;          
}

.idioma-icon-barra-superior-govco:hover {
  background: #004884;
  color: #fff;
}


@media (max-width: 991px) {
  .barra-superior-govco {
    padding-left: 16px;
    justify-content: center;
  }
  .idioma-icon-barra-superior-govco {
    right: 16px;
  }
}

/* Footer */

footer {
    position: relative;
    display: block;
    background: var(--blue-black);
    box-sizing: content-box;
    height: fit-content;
}

#footer_fix {
    padding: 2rem;
    /*padding-top: 5rem;*/
    position: relative;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin-right: 2vw;
}

/* #footer_fix .footer_back {
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,1) 19%, rgba(0,0,0,0.7931547619047619) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,1) 19%, rgba(0,0,0,0.7931547619047619) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,1) 19%, rgba(0,0,0,0.7931547619047619) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
} */

#footer_fix .footer_back {
    background: rgb(22, 22, 22);
    background: -moz-linear-gradient(180deg, rgb(22, 22, 22) 19%,rgba(27, 27, 27, 0.793) 100%);
    background: -webkit-linear-gradient(180deg, rgb(22, 22, 22) 19%, rgba(27, 27, 27, 0.793) 100%);
    background: linear-gradient(180deg, rgb(22, 22, 22) 19%, rgba(27, 27, 27, 0.793) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

#footer_fix .footer_img {
    background-image: url("https://ufpso.edu.co/media/m0n_600.jpg");
    background-repeat: repeat; 
    z-index: 2;
}

#footer_fix .footer_img,
#footer_fix .footer_back {
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    top: 0;
    position: absolute;
    z-index: 1;
}

.year {
    font-family: 'Myriad Pro light';
    font-size: 1rem;
    color: white;
    text-align: center;
    margin-top: 3rem;

}

footer .footerBigBox {
    display: flex;
    width: 100%;
    padding-top: 0.5rem;
    flex-flow: column;
    z-index: 3;
    /*padding-top: 5rem;*/
}

footer .footerBox {
    position: relative;
    font-family: 'Myriad Pro Light';
    color: rgb(211, 209, 199);
    flex: fit-content;
    font-size: .9rem;
    margin: 1rem 0em 1em 2.5em;
    z-index: 3;
}

footer .footerBox .title {
    font-family: 'Myriad Pro Bold';
    color: rgb(139, 138, 133);
    letter-spacing: 2px;
    margin-bottom: 1.5rem !important;
    font-size: .8rem;
    text-transform: uppercase;
}

footer .footerBox .horario,
footer .footerBox .direccion,
footer .footerBox .contacto {
    margin-bottom: 1rem;
}

footer .footerBox .horario,
footer .footerBox .direccion,
footer .footerBox .politicas,
footer .footerBigBox .minister,
footer .footerBigBox .copyright,
footer .footerBigBox .year,
footer .footerBox .atencion_ciudadano,
footer .footerBox .contacto {
    letter-spacing: 1px;
}

footer .footerBox:nth-child(1) b,
footer .footerBox:nth-child(2) b {
    font-family: 'Myriad Pro regular';
    padding-right: 4px;
}

footer .footerBox:nth-child(1) span,
footer .footerBox:nth-child(2) span {
    margin-bottom: .1rem
}

footer .footerBox .politicas {
    display: block;
}

footer .footerBox .politicas a:hover {
    text-decoration: underline;
}

footer .footerBox picture {
    display: block;
    width: 100%;
    height: fit-content;
    text-align: center;
}

footer .logo_ufpso {
    padding: 1rem 0 2rem 0;
    text-align: center;
    flex-basis: 100%;
}


footer .logo_gob {
    padding: 1rem 0 2rem 0;
}

footer .logo_ufpso .logo img {
    max-width: 100%;
    width: 21rem;
}

footer .logo_ufpso .escudo img {
    max-width: 100%;
    width: 5rem;
    padding-left: 3rem;
}

footer .footerBigBox:last-child {
    display: flex;
    flex-flow: column;
    text-align: center;
    border-top: 2px solid #303030;
    margin-top: 1rem;
    padding-top: 1rem;
}

footer .footerBox hr {
    border: 0;
    border-bottom: 1px dashed #797979;
    background: #313131;
    margin: 1.5rem 0;
}

footer .footerBigBox span,
footer .footerBox span p,
footer .footerBox span {
    display: block;
}

footer .footerBox .atencion_ciudadano b {
    display: block;
    font-family: 'Myriad Pro regular';
}

.minister {
    font-family: 'Myriad Pro Light';
    font-size: .9rem;
    list-style: none;
    color: #d1d1d1;
    margin: auto 0;
    padding: 0;
    text-align: center;
}

.copyright {
    font-family: 'Myriad Pro Bold';
    font-size: 1.2rem;
    color: var(--soft-white);
    margin: auto;
    margin-bottom: 0.25rem;
    text-align: center;
    /*margin-top: 5rem;*/
}

.social_media {
    font-family: 'Myriad Pro semiBold';
    font-size: 1.5rem;
    color: var(--soft-white);
    list-style: none;
    text-align: center;
    padding: 0;
    flex-basis: 100%;
}

.social_media li {
    display: inline-block;
    margin: 1rem;
}

.social_media ul {
    padding: 0;
    margin: 0;
}

.social_media li img {
    width: 2.2rem;
    filter: invert(84%);
}

.logo_gob img {
    max-width: 20rem;
}

.logo_pie {
    position: relative;
    display: flex;
    width: -webkit-fill-available;
    height: 6rem;
    margin: auto;
    justify-content: center;
}

.logo_pie img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.logos_aside {
    display: flex;
    position: relative;
    max-width: 18rem;
    background: #f1f1f1;
    border-radius: 1rem;
    padding: 1rem;
    margin: auto;
    margin-bottom: 1rem;
}

.logos_aside picture {
    display: block;
    width: auto !important;
    height: 4rem !important;
    margin: auto;
}

.logos_aside picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#iconoFacebook{
    color: white;
    font-size: 2em;
}

#iconoFacebook:hover{
    color: rgb(0, 140, 255);
}

#iconoInstagram{
    color: white;
    font-size: 2em;
}

#iconoInstagram:hover{
    color: rgb(215, 79, 233);
}

#iconoTwitter{
    color: white;
    font-size: 2em;
}

#iconoTwitter:hover{
    color: rgb(0, 140, 255);
}

#iconoYoutube{
    color: white;
    font-size: 2em;
}

#iconoYoutube:hover{
    color: rgb(0, 140, 255);
}

#iconoUfpso{
    color: white;
    font-size: 2em;
}

#iconoUfpso:hover{
    color: rgb(0, 140, 255);
}

@media only screen and (min-width: 0) and (max-width: 500px)  {
    .logo_gob img {
        max-width: 100%;
    }
}

@media only screen and (min-width: 0) and (max-width: 538px)  {
    footer .logo_ufpso .escudo img {
        padding-left: 0;
    }
}

section.slide[data-s="titulo"] {
  display: block;
  position: relative;
  padding: 0;
  height: 45vh;
}

section.slide[data-s="resena"],
section.slide[data-s="noticia"] {
  display: block;
  position: relative;
  min-height: 100vh;
  padding: 2rem 0;
}

.content_img {
  position: relative;
  display: block;
  overflow: hidden;
  height: inherit;
}

.content_img::after {
  background: linear-gradient(0deg, hsla(0, 0%, 5%, 0.6), hsla(0, 0%, 5%, 0.6));
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  mix-blend-mode: multiply;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.content_img picture .material-icons {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-size: 5rem;
  color: gainsboro;
}

.content_img picture img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.content_txt .titled.mid {
  font-size: 3rem;
}

.content_txt .titled.big {
  font-size: 4rem;
}

.content_txt .titled.bigX {
  font-size: 5.2rem;
}

.content_txt {
  position: absolute;
  bottom: 6vh;
  left: 0;
  right: 0;
  margin: auto;
  color: var(--soft-white);
  width: calc(80vw - 4rem);
  z-index: 1;
}

.content-metainfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.content_txt .content-metainfo .dir-route {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: Myriad Pro semiBold;
  font-size: 1rem;
  color: #b7b7b7;
  cursor: pointer;
  letter-spacing: 1px;
}

/*
.content_txt .dir-route::before {
    content: '\e88a';
    color: #c9c9c9;
    font-size: 1.1rem;
    font-family: 'Material Icons';
    padding-right: 0.45rem;
    vertical-align: -0.2rem;
}
*/

.content_txt .dir-route .material-icons {
  transform: scaleX(-1) translateY(2px) rotate(0deg);
  font-size: 0.75rem;
  margin-left: 0.5rem;
  color: #c9c9c9;
}

.content_txt .dir-route:hover::before,
.content_txt .dir-route:hover .material-icons,
.content_txt .dir-route:hover {
  color: rgb(240, 240, 240);
}

.content_txt .titled {
  display: block;
  font-family: "Myriad Pro semiBold";
  line-height: 1;
  text-align: justify;
  color: var(--soft-white);
  font-size: 3.2rem;
}

.resena_content,
.noti_content,
.noti_info {
  position: relative;
  display: block;
  width: 70%;
  margin: 0 auto;
  text-align: justify;
}

.noti_info {
  font-size: 1rem;
  font-family: "Myriad Pro bold";
  color: #c71122;
}

.resena_content,
.noti_content {
  font-family: "Myriad Pro Regular";
  font-size: 1.2rem;
}

.txt_font_size .min::after {
  content: "\e5c7";
}

.txt_font_size .min {
  font-size: 0.8rem;
}

.txt_font_size .max::after {
  content: "\e5c5";
}

.txt_font_size div::after {
  position: absolute;
  top: 3px;
  right: 3px;
  color: #ffffff;
  font-size: 1rem;
  font-family: "Material Icons";
}

.txt_font_size {
  display: flex;
  font-family: "Myriad Pro Bold";
  position: absolute;
  bottom: -1.7rem;
  right: 0;
}

.txt_font_size div {
  display: flex;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  box-sizing: border-box;
  /* background: #f9f9f95e; */
  color: #ffffff;
  /* margin-left: .5rem; */
  padding: 0.2rem 0.5rem;
  padding-left: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.txt_font_size .sitemap,
.txt_font_size .home {
  padding: 0.2rem 0.5rem;
  font-size: 1.1rem;
}

.txt_font_size div:hover {
  opacity: 0.9;
}

.public_info {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: Myriad Pro regular;
  color: #adadaa;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

@media screen and (width < 600px) {
  .content_txt {
    margin-left: 5vh;
  }
  .content_txt .titled {
    font-size: 2.2rem !important;
  }
  .content-metainfo {
    flex-direction: column;
    align-items: flex-start;
  }
}



section.slide[data-s="historico_noticias"] {
  /*Estaba comentado*/
    background: var(--soft-white); 
}

section.slide[data-s="noticias"].removed::before {
    content: none;
}

section.slide[data-s="noticias"].removed {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

ul#historico_noticias {
    position: relative;
    display: block;
    padding: 0;
}

ul#historico_noticias>li {
    position: relative;
    display: flex;
    width: 100%;
    height: 30%;
    padding-bottom: 2rem;
}

ul#historico_noticias>li>picture {
    display: block;
    position: relative;
    height: 100%;
    width: 60vw;
    margin-right: 2rem;
}

ul#historico_noticias>li>picture>img {
    height: 100%;
    width: 100%;
}

ul#historico_noticias>li>span>h3 {
    font-family: 'Myriad Pro Bold';
    margin-top: 0;
    font-size: 1.7rem;
    color: var(--blue-black);
}

ul#historico_noticias>li>span>p {
    font-family: 'Myriad Pro Light';
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--blue-black);
}
.containerSemestre {
  background-color: rgb(199, 17, 34);
  width: 100%;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: bold;
  padding: 6px;
  border-radius: 10px;
  margin-top: 10px;
  box-sizing: border-box;
}

table {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse; /* Para fusionar los bordes de las celdas */
  border-radius: 10px;
  overflow: hidden;
}

th,
td {
  padding: 10px 8px; /* Padding uniforme en todas las direcciones */
  text-align: center;
  border: none; /* Borde de las celdas */
  border-bottom: 1px solid white; /* Borde superior de todos los th */
  border-right: 1px solid white;
  font-size: 14px;
}

th:last-child,
td:last-child {
  border-right: none; /* Quita el borde derecho del último th */
}

tr:last-child td {
  border-bottom: none; /* Quita el borde inferior del último tr */
}

thead {
  background-color: #676767;
  color: #fff;
}

tbody {
  background-color: #dbdbdb;
  color: #000;
}

.containerTable {
  display: flex;
  overflow: auto;
}

.containerTable::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}

.containerTable::-webkit-scrollbar-track {
  background: #8f8f8f;
}

.containerTable::-webkit-scrollbar-thumb {
  background: #5f5f5f;
  border-radius: 0.5rem;
}

.containerTable::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.containerPensum {
  width: 100%;
  background-color: #ededed;
  border-radius: 10px;
  padding: 15px 20px;
  box-sizing: border-box;
}

@charset "UTF-8";
.szh-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  width: max-content;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
}
.szh-menu:focus {
  outline: none;
}
.szh-menu__arrow {
  box-sizing: border-box;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #fff;
  border: 1px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.1);
  border-top-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.szh-menu__arrow--dir-left {
  right: -0.375rem;
  transform: translateY(-50%) rotate(135deg);
}
.szh-menu__arrow--dir-right {
  left: -0.375rem;
  transform: translateY(-50%) rotate(-45deg);
}
.szh-menu__arrow--dir-top {
  bottom: -0.375rem;
  transform: translateX(-50%) rotate(-135deg);
}
.szh-menu__arrow--dir-bottom {
  top: -0.375rem;
  transform: translateX(-50%) rotate(45deg);
}
.szh-menu__item {
  cursor: pointer;
}
.szh-menu__item:focus {
  outline: none;
}
.szh-menu__item--hover {
  background-color: #ebebeb;
}
.szh-menu__item--focusable {
  cursor: default;
  background-color: inherit;
}
.szh-menu__item--disabled {
  cursor: default;
  color: #aaa;
}
.szh-menu__group {
  box-sizing: border-box;
}
.szh-menu__radio-group {
  margin: 0;
  padding: 0;
  list-style: none;
}
.szh-menu__divider {
  height: 1px;
  margin: 0.5rem 0;
  background-color: rgba(0, 0, 0, 0.12);
}

.szh-menu-button {
  box-sizing: border-box;
}

.szh-menu {
  user-select: none;
  color: #212529;
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.133), 0 0.6px 2px rgba(0, 0, 0, 0.1);
  min-width: 10rem;
  padding: 0.5rem 0;
}
.szh-menu__item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.375rem 1.5rem;
}
.szh-menu-container--itemTransition .szh-menu__item {
  transition-property: background-color, color;
  transition-duration: 0.15s;
  transition-timing-function: ease-in-out;
}
.szh-menu__item--type-radio {
  padding-left: 2.2rem;
}
.szh-menu__item--type-radio::before {
  content: "○";
  position: absolute;
  left: 0.8rem;
  top: 0.55rem;
  font-size: 0.8rem;
}
.szh-menu__item--type-radio.szh-menu__item--checked::before {
  content: "●";
}
.szh-menu__item--type-checkbox {
  padding-left: 2.2rem;
}
.szh-menu__item--type-checkbox::before {
  position: absolute;
  left: 0.8rem;
}
.szh-menu__item--type-checkbox.szh-menu__item--checked::before {
  content: "✔";
}
.szh-menu__submenu > .szh-menu__item {
  padding-right: 2.5rem;
}
.szh-menu__submenu > .szh-menu__item::after {
  content: "❯";
  position: absolute;
  right: 1rem;
}
.szh-menu__header {
  color: #888;
  font-size: 0.8rem;
  padding: 0.2rem 1.5rem;
  text-transform: uppercase;
}

@keyframes szh-menu-show-slide-left {
  from {
    opacity: 0;
    transform: translateX(0.75rem);
  }
}
@keyframes szh-menu-hide-slide-left {
  to {
    opacity: 0;
    transform: translateX(0.75rem);
  }
}
@keyframes szh-menu-show-slide-right {
  from {
    opacity: 0;
    transform: translateX(-0.75rem);
  }
}
@keyframes szh-menu-hide-slide-right {
  to {
    opacity: 0;
    transform: translateX(-0.75rem);
  }
}
@keyframes szh-menu-show-slide-top {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}
@keyframes szh-menu-hide-slide-top {
  to {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}
@keyframes szh-menu-show-slide-bottom {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }
}
@keyframes szh-menu-hide-slide-bottom {
  to {
    opacity: 0;
    transform: translateY(-0.75rem);
  }
}
.szh-menu--state-opening.szh-menu--dir-left {
  animation: szh-menu-show-slide-left 0.15s ease-out;
}

.szh-menu--state-closing.szh-menu--dir-left {
  animation: szh-menu-hide-slide-left 0.15s ease-in forwards;
}

.szh-menu--state-opening.szh-menu--dir-right {
  animation: szh-menu-show-slide-right 0.15s ease-out;
}

.szh-menu--state-closing.szh-menu--dir-right {
  animation: szh-menu-hide-slide-right 0.15s ease-in forwards;
}

.szh-menu--state-opening.szh-menu--dir-top {
  animation: szh-menu-show-slide-top 0.15s ease-out;
}

.szh-menu--state-closing.szh-menu--dir-top {
  animation: szh-menu-hide-slide-top 0.15s ease-in forwards;
}

.szh-menu--state-opening.szh-menu--dir-bottom {
  animation: szh-menu-show-slide-bottom 0.15s ease-out;
}

.szh-menu--state-closing.szh-menu--dir-bottom {
  animation: szh-menu-hide-slide-bottom 0.15s ease-in forwards;
}

.szh-menu-button {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding-left: 14px;
  padding-right: 12px;
  border: none;
  cursor: pointer;
  background-color: #f0f0f0;
}

.szh-menu-button:hover {
  background-color: #c71122;
  color: #fff;
}

.szh-menu-button--open {
  background-color: #c71122;
  color: #fff;
}

.szh-menu__item {
  width: auto;
  border-radius: 10px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  transition: all 0.2s ease-out !important;
}

.szh-menu__item:hover {
  background-color: #c71122;
  color: #fff;
}

.szh-menu {
  display: flex;
  flex-direction: column;
  padding: 10px !important;
  border-radius: 10px !important;
  margin-top: 10px !important;
  margin-left: 10px !important;
}

.szh-menu__item--open {
  background-color: #c71122 !important;
  color: #fff;
}

.container {
  width: 18.8%;
  background-color: #ededed;
  border-radius: 10px;
  box-sizing: border-box;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 10px;
  padding-right: 10px;
  height: fit-content;
  margin-top: 2rem;
}
.container > div {
  margin-bottom: 10px;
}

.container > div:last-child {
  margin-bottom: 0;
}

.noMargin {
  margin: 0;
}

@media screen and (width < 1000px) {
  .container {
    width: 100%;
  }
}

ul > * {
  /*margin-bottom: 10px;*/
}

ul > div:last-child {
  margin-bottom: 0;
}

.text {
  text-align: left !important;
  font-size: 15px !important;
}

.bodyContainer {
  display: flex !important;
  flex-direction: row;
  width: 100%;
}

@media screen and (width < 1000px) {
  .bodyContainer {
    flex-direction: column;
  }
}

caption {
  background-color: red;
  font-weight: bold;
  margin: 10px;
  color: #fff;
  text-align: center;
}

.table-bordered {
  border: #000 1px solid;
}

.visitas-badge-wrapper {
  position: fixed;
  bottom: 0;
  right: 1rem;
  transform: translateY(-100%);
  z-index: 9999;
  pointer-events: none;
}

.visitas-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#error404 {
    position: absolute;
    display: block;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 71vw;
    height: fit-content;
    min-height: 0;
    padding: 0;
}

#error404 span {
    position: relative;
    display: block;
    text-align: center;
}

#error404 a {
    color: rgb(14, 62, 222);
}

#error404 span:nth-child(1) {
    font-family: 'Myriad Pro Bold';
    font-size: 4rem;
    color: var(--main-red);
    margin-bottom: 3rem;
}

#error404 span:nth-child(2) {
    font-family: 'Myriad Pro semiBold';
    font-size: 1.5rem;
}

#error404 span:nth-child(3) {
    font-family: 'Myriad Pro Light';
    margin-top: 1rem;
}
:root {
    --primary-color: #c71122;
    --secondary-color: #5f6368;
    --background-color: #ffffffd7;
    --text-color: #333;
    --b-border-radius: 40px; 
    --transition-speed: 0.2s;
}

#busqueda {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 650px; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.texto-ayuda {
    color: var(--background-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.busqueda_box {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--background-color);
    border: 1px solid #dfe1e5;
    border-radius: var(--b-border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.busqueda_box:hover,
.busqueda_box:focus-within {
    box-shadow: 0 2px 8px 1px rgba(60, 64, 67, 0.24);
    border-color: transparent;
}

.busqueda_box .icono-busqueda {
    padding: 0 20px;
    font-size: 1.7rem;
    color: #888;
    font-weight: bold;
}

.busqueda_box input {
    width: 100%;
    padding: 16px 55px 16px 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-color);
}

.busqueda_box input::placeholder {
    color: #888;
    font-weight: bold;
}

.icono-cancelar {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.icono-cancelar:hover {
    background: #f0f0f0;
}

.icono-cancelar .material-icons {
    font-size: 22px;
    color: #70757a;
}

.resultados {
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.resultados-contenedor {
    background-color: var(--background-color);
    border: 1px solid #dfe1e5;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28);
    max-height: 240px;
    overflow-y: auto;
    padding: 12px;
}

.resultados-contenedor::-webkit-scrollbar {
    width: 8px;
}
.resultados-contenedor::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}
.resultados-contenedor::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.resultados-contenedor::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.resultado-item a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color var(--transition-speed) ease;
}
.resultado-item a:hover {
    background-color: #f1f1f1;
}
.resultado-item h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.no-resultados {
    color: var(--text-color);
    text-align: center;
    padding: 15px;
    font-size: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    #busqueda {
        width: 95%;
    }
    .texto-ayuda {
        font-size: 1.5rem;
    }
    .busqueda_box input {
        font-size: 1rem;
        padding: 14px 50px 14px 0;
    }
    .busqueda_box .icono-busqueda {
        padding: 0 15px;
        font-size: 1.5rem;
    }
}

@font-face{font-family:"revicons";fallback:fallback;src:url(/build/fonts/revicons.e8746a62.woff) format('woff'),url(/build/fonts/revicons.57fd05d4.ttf) format('ttf'),url(/build/fonts/revicons.a77de540.eot) format('ttf')}.react-multi-carousel-list{display:flex;align-items:center;overflow:hidden;position:relative}.react-multi-carousel-track{list-style:none;padding:0;margin:0;display:flex;flex-direction:row;position:relative;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,transition}.react-multiple-carousel__arrow{position:absolute;outline:0;transition:all .5s;border-radius:35px;z-index:1000;border:0;background:rgba(0,0,0,0.5);min-width:43px;min-height:43px;opacity:1;cursor:pointer}.react-multiple-carousel__arrow:hover{background:rgba(0,0,0,0.8)}.react-multiple-carousel__arrow::before{font-size:20px;color:#fff;display:block;font-family:revicons;text-align:center;z-index:2;position:relative}.react-multiple-carousel__arrow:disabled{cursor:default;background:rgba(0,0,0,0.5)}.react-multiple-carousel__arrow--left{left:calc(4% + 1px)}.react-multiple-carousel__arrow--left::before{content:"\e824"}.react-multiple-carousel__arrow--right{right:calc(4% + 1px)}.react-multiple-carousel__arrow--right::before{content:"\e825"}.react-multi-carousel-dot-list{position:absolute;bottom:0;display:flex;left:0;right:0;justify-content:center;margin:auto;padding:0;margin:0;list-style:none;text-align:center}.react-multi-carousel-dot button{display:inline-block;width:12px;height:12px;border-radius:50%;opacity:1;padding:5px 5px 5px 5px;box-shadow:none;transition:background .5s;border-width:2px;border-style:solid;border-color:grey;padding:0;margin:0;margin-right:6px;outline:0;cursor:pointer}.react-multi-carousel-dot button:hover:active{background:#080808}.react-multi-carousel-dot--active button{background:#080808}.react-multi-carousel-item{transform-style:preserve-3d;backface-visibility:hidden}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.react-multi-carousel-item{flex-shrink:0 !important}.react-multi-carousel-track{overflow:visible !important}}[dir='rtl'].react-multi-carousel-list{direction:rtl}.rtl.react-multiple-carousel__arrow--right{right:auto;left:calc(4% + 1px)}.rtl.react-multiple-carousel__arrow--right::before{content:"\e824"}.rtl.react-multiple-carousel__arrow--left{left:auto;right:calc(4% + 1px)}.rtl.react-multiple-carousel__arrow--left::before{content:"\e825"}
section.slide[data-s="inicio"] {
    overflow: hidden;
    min-height: 100vh;
    position: relative;
}

.back-shadow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 0.8;
    background: linear-gradient(0deg, hsla(0, 0%, 5%, .6), hsla(0, 0%, 5%, .6));
}

#back_video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: black;
}

#control_video {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #ffffff2b;
    font-size: 3rem;
    cursor: pointer;
    z-index: 101;
    transition: color 0.3s ease;
}

#control_video:hover,
#control_video:focus {
    color: #ffffff4d;
    outline: none;
}

.main-title {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 22vh;
    z-index: 1;
    text-align: center;
    animation: bounce-rotate 0.8s forwards;
    padding: 0 1rem;
}

.main-title h2 {
    font-size: clamp(2rem, 5vw, 4.125rem);
    font-family: 'Myriad Pro Bold', sans-serif;
    color: white;
    margin-bottom: 0.5rem;
}

.main-title p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: 'Myriad Pro Light', sans-serif;
    color: white;
    margin: 0 auto;
    max-width: 800px;
}

.main-title .study-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: 'Myriad Pro Semibold', sans-serif;
    color: white;
    background: var(--main-red);
    padding: 0.75rem 1.25rem;
    margin-top: 2rem;
    line-height: 1.25;
    border-radius: 10px;
    transition: background 0.3s ease;
    user-select: none;
}

.main-title .study-us:hover,
.main-title .study-us:focus {
    background-color: var(--main-b-red);
    cursor: pointer;
    outline: none;
}

.main-title .study-us .material-icons {
    vertical-align: middle;
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.arrow_circle_down {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s ease;
}

.arrow_circle_down:hover,
.arrow_circle_down:focus {
    transform: translateX(-50%) scale(1.2);
    outline: none;
}

/* Encuesta */
.floating-survey-btn {
    transition: all 0.3s ease;
    user-select: none;
}

.floating-survey-btn img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* TABLET */
@media (max-width: 1024px) {
    .main-title {
        bottom: 20vh;
    }
}

/* MOBILE - Tablets y menores */
@media (max-width: 768px) {
    .main-title {
        bottom: 18vh;
    }

    .main-title h2 {
        font-size: 2.2rem;
    }

    .main-title p {
        font-size: 1rem;
    }

    .main-title .study-us {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    #control_video {
        bottom: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .arrow_circle_down {
        font-size: 2rem;
    }

    .floating-survey-btn img {
        width: 90px;
        height: auto;
    }
}

/* MOBILE PEQUEÑO */
@media (max-width: 480px) {
    .intro-links-container {
        /* Añadir padding-bottom para dejar espacio a la barra de Links y compensar barras del navegador */
        padding-bottom: 80px; /* Ajustar según la altura real de la barra de Links */
    }

    .main-title {
        /* Mover el título más arriba para dejar espacio a la barra de Links */
        bottom: calc(5vh + 80px); /* Ajustar la posición del título */
    }

    .main-title h2 {
        font-size: 1.8rem;
    }

    .main-title p {
        font-size: 0.95rem;
    }

    .main-title .study-us {
        padding: 0.5rem 0.9rem;
    }
}

/* --- NUEVOS ESTILOS PARA INTRO CON LINKS --- */

.intro-links-container {
    min-height: 100vh; /* Se cambió de height a min-height para permitir que el contenido empuje el contenedor */
    /* Asegurarse de que el overflow: hidden del padre no cause problemas si el contenido crece */
}

/* Posiciona la barra de links absolutamente en la parte inferior */
.intro-links-container .slide[data-s="links"] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto !important;
    z-index: 2;
}

/* Oculta elementos que ya no son necesarios */
.intro-links-container .arrow_circle_down,
.intro-links-container #control_video {
    display: none;
}

/* Ajusta los botones flotantes para que se ubiquen por encima de la barra de links */
.intro-links-container .floating-survey-btn {
    bottom: 115px !important;
}

.intro-links-container .flotante,
.intro-links-container div[data-uw-w-g-id] {
    bottom: 115px !important;
}

/* sitio/assets/components/main/reloj/styles/serverClock.css */
.server-clock-widget {
    /* Posicionamiento */
    position: absolute; /* Permite posicionar el elemento con top/right */
    top: 45px; /* Ajusta la distancia desde la parte superior */
    right: 70px; /* Ajusta la distancia desde la derecha */
    z-index: 10; /* Asegura que esté por encima de otros elementos si es necesario */

    /* Estilos de la caja */
    background-color: rgba(0, 0, 0, 0.3); /* Fondo semi-transparente oscuro para que combine con el video */
    color: #ffffff; /* Color de texto blanco para contraste */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Borde más sutil */
    border-radius: 8px; /* Bordes ligeramente más pequeños */
    padding: 0px 0px; /* Relleno más pequeño */
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Sombra más suave */
    max-width: 180px; /* Ancho máximo más pequeño */
    margin: 0; /* Eliminar margen automático */
}

.clock-label {
    font-size: 0.8em; /* Fuente más pequeña para la etiqueta */
    margin-bottom: 3px; /* Margen inferior más pequeño */
    color: #e0e0e0; /* Color de etiqueta más claro */
}

.clock-time {
    font-size: 1.4em; /* Fuente más pequeña para la hora */
    font-weight: bold;
    letter-spacing: 0.8px; /* Espaciado de letras ligeramente reducido */
}

/* Media query para ocultar en móviles */
@media (max-width: 768px) { /* Puedes ajustar este valor según tus necesidades */
    .server-clock-widget {
        display: none; /* Oculta el reloj en pantallas pequeñas */
    }
}

/* ================================================
   EVENTS CAROUSEL — events.css
   ================================================ */

/* CONTENEDOR EXTERNO */
.carousel-outer-evento {
  display: flex;
  align-items: center;
  width: 100%;
}

/* WRAPPER — overflow hidden con pequeño padding para que la sombra respire */
.carousel-wrapper-evento {
  overflow: hidden;
  flex: 1;
  padding: 14px 8px 30px;
  margin: 0 40px;
  box-sizing: border-box;
}

/* TRACK */
.carousel-track-evento {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-centered-evento {
  justify-content: center;
}

/* BOTONES NAV */
.carousel-btn-evento {
  background: none;
  border: none;
  color: #DC143C;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 300;
  transition: all 0.2s;
  z-index: 10;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.carousel-btn-evento:hover {
  color: #a01030;
  transform: scale(1.2);
}

.carousel-btn-evento.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================================
   CARD
   ================================================ */
.card-e-evento {
  flex-shrink: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover: sube la card + sombra leve */
.ev-card:hover {
  transform: translateY(-8px) !important;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;*/
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.05),
    /* abajo (original) */
    0 -2px 6px rgba(0, 0, 0, 0.03)
    /* arriba (muy sutil) */
    !important;

}




/* HEADER gradiente */
.card-header-evento {
  height: 140px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
}

/* Gradientes por tipo (como overlay) - solo se aplican si no hay imagen */
.grad-foro-evento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.85) 0%, rgba(0, 242, 254, 0.85) 100%);
  border-radius: 20px 20px 0 0;
}

.grad-seminario-evento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.85) 0%, rgba(245, 87, 108, 0.85) 100%);
  border-radius: 20px 20px 0 0;
}

.grad-congreso-evento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
  border-radius: 20px 20px 0 0;
}

.grad-jornada-evento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(250, 112, 154, 0.85) 0%, rgba(254, 225, 64, 0.85) 100%);
  border-radius: 20px 20px 0 0;
}

.grad-academico-evento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.85) 0%, rgba(160, 16, 48, 0.85) 100%);
  border-radius: 20px 20px 0 0;
}

/* Fecha badge */
.fecha-badge-evento {
  position: absolute;
  top: 13px;
  right: 13px;
  background: white;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.fecha-badge-evento .cal-icon-evento {
  font-size: 13px;
}

/* Hora badge */
.hora-badge-evento {
  position: absolute;
  bottom: 0;
  right: 18px;
  transform: translateY(50%);
  background: white;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
  z-index: 10;
}

/* BODY */
.card-body-evento {
  padding: 16px 18px 18px;
}

/* Título: 2 líneas fijas */
.card-titulo-evento {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.35;
  height: 40.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descripción: 3 líneas fijas */
.card-desc-evento {
  font-size: 12px;
  color: #666;
  line-height: 1.55;
  height: 55.8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Bottom: dos columnas 
.card-bottom-evento {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
  padding-top: 12px;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
}*/

.card-bottom-evento {
  display: flex;
  flex-direction: column;
  /* ← columna en vez de fila */
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* Fila de badges (modalidad + estado) */
.card-bottom-badges-evento {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.card-bottom-left-evento {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.card-bottom-right-evento {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

/* Lugar 
.meta-lugar-evento {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
   Mantenemos 11px para que quepa en la card -- esto estaba comentado
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 16px; 
 } */

/* Lugar — ahora sin margin-left, ocupa todo el ancho */
.meta-lugar-evento {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 16px;
  /* ← antes era 16px */
}


/* ===== BADGE MODALIDAD ===== */
.badge-modalidad-evento {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  white-space: nowrap;
  width: fit-content;
  margin-left: 2px;
  box-sizing: border-box;
}

/* Modalidad */
.meta-modalidad-evento {
  /* Alias de .badge-modalidad-evento */
}

/* Colores Dinámicos Modalidad */
.mod-virtual-evento {
  color: #2563eb;
  background-color: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.mod-presencial-evento {
  color: #16a34a;
  background-color: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.mod-hibrido-evento {
  color: #7c3aed;
  background-color: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

/* ===== BADGE ESTADO ===== */
.badge-estado-evento {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 8.5px 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  white-space: nowrap;
  width: fit-content;
  margin-left: 2px;
  box-sizing: border-box;

}

/* Estado */
.estado-badge-evento {
  /* Alias de .badge-estado-evento */
}

.estado-dot-evento {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Colores por estado */
.estado-programado-evento {
  color: #22c55e;
  background-color: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.estado-programado-evento .estado-dot-evento {
  background: #22c55e;
}

.estado-en_curso-evento {
  color: #92400e;
  background-color: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.estado-en_curso-evento .estado-dot-evento {
  background: #f59e0b;
}

.estado-finalizado-evento {
  color: #2563eb;
  background-color: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.estado-finalizado-evento .estado-dot-evento {
  background: #3b82f6;
}

.estado-cancelado-evento {
  color: #dc2626;
  background-color: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.estado-cancelado-evento .estado-dot-evento {
  background: #ef4444;
}

/* Ver más */
.btn-ver-texto-evento {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
  white-space: nowrap;
  margin-right: 5px;
}

.btn-ver-texto-evento:hover {
  color: #666;
  text-decoration: underline;
}

/* DOTS indicadores */
.carousel-dots-evento {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0px;
}

.dot-ind-evento {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s;
  cursor: pointer;
}

.dot-ind-evento.active {
  background: #DC143C;
  width: 22px;
  border-radius: 4px;
}

/* VER CALENDARIO */
.ver-mas-evento {
  text-align: center;
  margin-top: 44px;
}

/* CONTADORES */
.card-counters-evento {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.counters-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: 4px;
}

.counter-item-evento {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #666;
  cursor: default;
  /* Estilo Badge */
  padding: 4px 10px;
  border-radius: 12px;
  border: 1.5px solid #f0f0f0;
  background-color: #fafafa;
  width: fit-content;
}

.btn-like-evento {
  background: #fafafa;
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #999;
  width: fit-content;
}

.btn-like-evento:not(:disabled):hover {
  transform: scale(1.1);
}

.btn-like-evento.liked {
  font-weight: 700;
  color: #999;
  border-color: #f0f0f0;
  background-color: #fafafa;
}

.btn-like-evento:not(:disabled):hover {
  background-color: #f0f0f0;
  border-color: #e0e0e0;
  transform: translateY(-1px);
}

.btn-like-evento:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Botón Like deshabilitado con estado locked - color gris neutral */
.btn-like-evento:disabled.liked {
  border-color: rgba(150, 150, 150, 0.3);
  background-color: rgba(150, 150, 150, 0.05);
  color: #999;
}

.counter-icon-evento {
  font-size: 14px;
}

.counter-value-evento {
  font-weight: 600;
}

.btn-ver-mas-evento {
  display: inline-block;
  background-color: #c71122;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 5px;
  padding: 14px 32px;
  font-family: 'Myriad Pro bold';
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-ver-mas-evento:hover {
  background-color: #a50d1b;
  transform: translateY(-2px);
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel-wrapper-evento {
    margin: 0 10px;
  }
}
/* Wide.css */

.slide {
    position: relative;
    height: 100%;
    overflow: hidden;
  }
  
  .slide_title {
    display: block;
    margin-bottom: 3rem  !important;
    color: black;
  }
  
  .box_carousel {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    /*padding: 20px;*/
  }
  
  .self_carousel {
    position: relative;
    border-radius: 10px;
  }
  
  .img_carousel video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: rgba(0, 0, 0, 0.4); /* Ajusta la opacidad del video */
    z-index: 1;
  }
  
  .txt_carousel {
    /*position: relative;*/
    z-index: 2;
    /*padding: 7%;*/
    /*border-radius: 5px;*/
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    /*align-items: center;*/
    text-align: justify;
    /*height: 100%;*/
    /*background-color: rgba(0, 0, 0, 0.7);*/
  }
  
  .txt_carousel div {
    /*width: 100%;*/
    font-weight: bold;
  }
  
  .read {
    margin-top: 10px;
    display: inline-block;
    background-color: #c71122;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    text-align: center;
  }
  
  
  
  /*.material-icons {
    margin-right: 5px;
  }*/

 
  
/* ReelsPlayer.css */

.reels-container {
  display: flex;
  gap: 2rem;
  /*padding: 1rem 1rem;*/
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
    padding: 20PX;
  margin: -20PX;
}

.reel-item {
  flex: 0 0 90%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.reel-item:hover {
  transform: scale(1.03);
}

.reel-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background-color: #f0f0f0;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.reel-item.active .reel-title {
  color: #b94242;
  background-color: #ffeaea;
}

.reel-frame-wrapper {
  width: 100%;
  height: 530px;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/*.reels-wrapper {
  padding: 2rem 1rem;
}*/

.reels-subtitle {
  /*text-align: center;*/
  font-size: 1rem;
  /*max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;*/
  color: #444;
}


.reel-video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.reels-container::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .reels-container {
    flex-wrap: nowrap; /* Cambiado de wrap a nowrap */
    justify-content: center;
    overflow-x: auto; /* Permitir scroll horizontal */
  }

  .reel-item {
    flex: unset; /* Mantener el valor original */
    width: 300px; /* Mantener tu ancho original */
  }

  /* El resto de tus estilos originales se mantienen igual */
  .reels-subtitle {
    font-size: 1.3rem;
  }

  .reel-title {
    font-size: 1rem;
  }
}
.carousel-wrapper {
  margin: 0 3rem;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gradient-left,
.gradient-right {
  pointer-events: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 6rem;
  z-index: 20;
}

.gradient-left {
  left: 0;
  background: linear-gradient(to right, var(--color-fondo-edu, #f3f4f4), transparent);
}

.gradient-right {
  right: 0;
  background: linear-gradient(to left, var(--color-fondo-edu, #f3f4f4), transparent);
}

.carousel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.provider-card {
  position: relative;
  width: 8rem;
  height: 5rem;
  background: #f3f4f4;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.provider-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transform: scale(1.05);
}

.card-animation {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(226, 0, 26, 0.1), transparent);
  transform: skewX(-12deg) translateX(-100%);
  transition: transform 0.7s ease-out;
}

.provider-card:hover .card-animation {
  transform: skewX(-12deg) translateX(100%);
}

.provider-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(90%);
  transition: filter 0.3s ease;
}

.provider-card:hover img {
  filter: grayscale(0%) brightness(110%);
}

.card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-rojo-erlin, #e2001a);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 0.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  border-radius: 0 0 0.5rem 0.5rem;
  pointer-events: none;
}

.provider-card:hover .card-text {
  transform: translateY(0);
}

/* .status {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
}

.divider {
  border: 3px solid #333;
  margin: 2rem 0;
} */

/* Estilos de Efectos Profesionales para Barra Carrusel */

/* EFECTO 1: Rayo de Luz */
.provider-card.effect-rayoLuz {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-rayoLuz .card-animation {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(199, 17, 34, 0.15), transparent);
    transform: skewX(-20deg) translateX(-150%);
    transition: transform 0.6s ease-out;
    display: block;
    z-index: 5;
}

.provider-card.effect-rayoLuz:hover .card-animation {
    transform: skewX(-20deg) translateX(150%);
}

/* EFECTO 2: Rayo Inverso */
.provider-card.effect-rayoInverso {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-rayoInverso .card-animation-reverse {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent, rgba(46, 204, 113, 0.2), transparent);
    transform: skewX(20deg) translateX(150%);
    transition: transform 0.6s ease-out;
    display: block;
    z-index: 5;
}

.provider-card.effect-rayoInverso:hover .card-animation-reverse {
    transform: skewX(20deg) translateX(-150%);
}

/* EFECTO 3: Elevación Suave */
.provider-card.effect-elevacion:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(20, 23, 28, 0.15);
    border-color: var(--main-red, #c71122);
}

/* EFECTO 4: Brillo Rotativo */
.provider-card.effect-brilloRotativo {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-brilloRotativo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
}

.provider-card.effect-brilloRotativo:hover::after {
    width: 250%;
    height: 250%;
    animation: rotateBrillo 3s linear infinite;
}

@keyframes rotateBrillo {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* EFECTO 5: Escala Suave */
.provider-card.effect-escala:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(199, 17, 34, 0.2);
    border-color: var(--main-red, #c71122);
    z-index: 10;
}

/* EFECTO 6: Onda de Color */
.provider-card.effect-ondaColor {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-ondaColor::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(199, 17, 34, 0.1) 25%,
            rgba(199, 17, 34, 0.3) 50%,
            rgba(199, 17, 34, 0.1) 75%,
            transparent 100%);
    transition: left 0.7s ease;
    z-index: 5;
}

.provider-card.effect-ondaColor:hover::before {
    left: 120%;
}

.provider-card.effect-ondaColor:hover {
    border-color: rgba(199, 17, 34, 0.4);
}

/* EFECTO 7: Rayo Continuo */
.provider-card.effect-rayoContinuo {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-rayoContinuo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    transform: translateX(-150%);
    z-index: 5;
    pointer-events: none;
}

.provider-card.effect-rayoContinuo:hover::after {
    animation: rayoMovilContinuous 1.5s linear infinite;
}

@keyframes rayoMovilContinuous {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(500%);
    }
}

/* EFECTO 8: Zoom Pulso */
.provider-card.effect-zoomPulso:hover {
    animation: pulsarZoomCard 1.2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(199, 17, 34, 0.35);
    border-color: var(--main-red, #c71122);
}

@keyframes pulsarZoomCard {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

/* EFECTO 9: Rotación Suave */
.provider-card.effect-rotacionSuave {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.provider-card.effect-rotacionSuave:hover {
    transform: rotate(5deg) scale(1.08);
    box-shadow: 0 12px 30px rgba(199, 17, 34, 0.25);
    border-color: var(--main-red, #c71122);
}

/* EFECTO 10: Destello Esquina */
.provider-card.effect-destelloEsquina {
    position: relative;
    overflow: hidden;
}

.provider-card.effect-destelloEsquina::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 70%);
    transition: all 0.5s ease-out;
    z-index: 5;
    pointer-events: none;
}

.provider-card.effect-destelloEsquina:hover::before {
    width: 150%;
    height: 150%;
}

.provider-card.effect-destelloEsquina:hover {
    border-color: var(--main-red, #c71122);
}

/* EFECTO 11: Sombra Profunda */
.provider-card.effect-sombraProfunda {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.provider-card.effect-sombraProfunda:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(199, 17, 34, 0.1);
    border-color: var(--main-red, #c71122);
}

/* EFECTO 12: Shake Suave */
.provider-card.effect-shake:hover {
    animation: shakeSmoothCard 0.6s cubic-bezier(.36, .07, .19, .97) both;
    box-shadow: 0 8px 24px rgba(199, 17, 34, 0.3);
    border-color: var(--main-red, #c71122);
}

@keyframes shakeSmoothCard {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    15% {
        transform: translateX(-4px) rotate(-1.5deg);
    }

    30% {
        transform: translateX(3px) rotate(1deg);
    }

    45% {
        transform: translateX(-3px) rotate(-1deg);
    }

    60% {
        transform: translateX(2px) rotate(0.5deg);
    }

    75% {
        transform: translateX(-1px) rotate(-0.5deg);
    }
}

/* EFECTO 13: Glow Intenso */
.provider-card.effect-glow {
    transition: all 0.4s ease;
}

.provider-card.effect-glow:hover {
    background: linear-gradient(135deg, #ffffff, #fff5f5);
    border-color: var(--main-red, #c71122);
    box-shadow:
        0 0 25px rgba(199, 17, 34, 0.5),
        0 0 50px rgba(199, 17, 34, 0.2);
    transform: scale(1.05) translateY(-5px);
}

/* Estilos de Imagen y Texto para combinar con efectos */
.provider-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.5s ease;
    z-index: 2;
}

.provider-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.provider-card .card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--main-red, #c71122), #e2001a);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 5px 2px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-card:hover .card-text {
    transform: translateY(0);
}
.carouselContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 30px auto;
  }
  
  .logosContainer {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
    cursor: grab;
  }
  
  .logoSlider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
  }
  
  .logoBox {
    flex: 0 0 20%; /* Cada logo ocupa el 20% del ancho para mostrar 5 logos */
    padding: 10px;
  }
  
  .logoBox img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    background: #ddd;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    transform: translateY(-50%);
    transition: background 0.3s ease;
  }
  
  .arrow.left {
    left: 0px;
  }
  
  .arrow.right {
    right: 0px;
  }
  
  .arrow:hover {
    background: #bbb;
  }
  
/* Contenedor principal de la sección */
.elastic-cards-section {
  padding: 60px 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* Estilo de Título Estándar */
.elastic-header-standard {
  margin-bottom: 40px;
  padding: 0 16px;
}

/* Estructura del Carrusel Lateral */
.elastic-carousel-outer {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 10px;
}

/* Botones de Navegación */
.carousel-nav-btn {
  background: none;
  border: none;
  color: #c8102e;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  flex-shrink: 0;
}

.carousel-nav-btn .material-icons {
  font-size: 48px;
  font-weight: 300;
}

.carousel-nav-btn:hover {
  transform: scale(1.15);
  color: #a01030;
}

/* Wrapper de las tarjetas */
.elastic-cards-wrapper {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 15px 40px 15px;
  scrollbar-width: none;
  flex: 1;
  /* Navegación Magnética */
  scroll-snap-type: x mandatory;
}

.elastic-cards-wrapper::-webkit-scrollbar {
  display: none;
}

.elastic-cards-wrapper.centered {
  justify-content: center;
  scroll-snap-type: none;
}

/* --- CONFIGURACIÓN DE TARJETAS (Siempre 4 visibles si hay suficientes) --- */
.elastic-card-item {
  flex: 0 0 calc(25% - 18.75px);
  /* Precisión matemática: (3 gaps de 25px / 4 cards) */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 220px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.elastic-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: #eee;
}

/* Ajuste de Imagen Grande y Alargada */
.card-img-container {
  width: 100%;
  height: 320px;
  /* Altura fija para que sea 'alargada' */
  overflow: hidden;
  background-color: #f9f9f9;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegura que la imagen llene el espacio sin deformarse */
  transition: transform 0.6s ease;
}

.elastic-card-item:hover .card-img-container img {
  transform: scale(1.1);
}

/* Contenido de la Card */
.card-info-box {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-info-box h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.3;
}

.card-divider {
  border: 0;
  border-top: 1px solid #eeeeee;
  margin: 15px 0;
  width: 100%;
}

.card-info-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  /* Line-clamp robusto */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  /* Estándar futuro */
}

.card-action-link {
  font-weight: 700;
  color: #c8102e;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.card-action-link:hover {
  gap: 10px;
  text-decoration: underline;
}

/* Responsive (Solo para móvil) */
@media (max-width: 800px) {
  .elastic-card-item {
    flex: 0 0 calc(50% - 15px);
    /* 2 tarjetas en móvil */
  }
}

@media (max-width: 500px) {
  .elastic-card-item {
    flex: 0 0 85%;
    /* 1 tarjeta casi completa */
  }
}

@media (max-width: 650px) {

  .elastic-card-item,
  .columns-3 .elastic-card-item,
  .columns-4 .elastic-card-item {
    flex: 0 0 85%;
  }

  .section-header-standard {
    padding: 0 25px;
  }

  .carousel-nav-btn {
    display: none;
  }
}
/* ============================================================
   FCD — Flex Cards Design (Revistas) — Premium v2
   Prefijo: fcd-
   ============================================================ */

.fcd-section {
  --fcd-gap: 10px;
  --fcd-radius: 18px;
  --fcd-ease: cubic-bezier(0.05, 0.61, 0.41, 0.95);
  --fcd-card-h: 480px;

  padding: 60px 0;
  width: 100%;
  margin-bottom: 60px;
}

.fcd-header-container {
  margin-bottom: 40px;
}

/* ── Wrapper (flechas + viewport) ── */
.fcd-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

/* ── Flechas ── */
.fcd-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.fcd-arrow:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}

.fcd-arrow:active {
  transform: scale(0.95);
}

.fcd-arrow.dimmed {
  opacity: 0.2;
  pointer-events: none;
}

/* ── Viewport ── */
.fcd-viewport {
  flex: 1;
  overflow: hidden;
}

/* ── Track de cards ── */
.fcd-track {
  display: flex;
  gap: var(--fcd-gap);
  height: var(--fcd-card-h);
}

/* ── Card individual ── */
.fcd-card {
  position: relative;
  flex-shrink: 0;
  border-radius: var(--fcd-radius);
  overflow: hidden;
  cursor: pointer;
  background: #e8e8e8;
  transition: width 0.7s var(--fcd-ease);
}

/* ── Imagen portada ── */
.fcd-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--fcd-ease);
}

.fcd-card:hover .fcd-card-img {
  transform: scale(1.05);
}

/* ── Overlays y Contenido ── */
.fcd-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.fcd-card:hover .fcd-card-overlay {
  opacity: 0.8;
}

/* Etiqueta vertical cuando está cerrada */
.fcd-card-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Info detallada cuando está abierta */
.fcd-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--fcd-ease);
  pointer-events: none;
}

.fcd-card.active .fcd-card-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fcd-card.active .fcd-card-label {
  opacity: 0;
}

.fcd-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.fcd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fcd-card-meta {
  font-size: 0.85rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fcd-card-meta span {
  font-size: 1.2rem;
}

.fcd-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  transition: all 0.3s ease;
  pointer-events: none;
  /* El clic lo maneja la card completa */
}

/* La card activa con URL muestra cursor pointer sobre toda la superficie */
.fcd-card.clickable {
  cursor: pointer;
}

.fcd-card.clickable:hover .fcd-card-link {
  background: white;
  color: black;
}

/* ── Dots de navegación ── */
.fcd-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}

.fcd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.fcd-dot.active {
  background: #222;
  width: 22px;
  border-radius: 3px;
}

/* ── Contador ── */
.fcd-counter {
  margin-top: 12px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fcd-section {
    --fcd-card-h: 440px;
  }
}

@media (max-width: 768px) {
  .fcd-section {
    --fcd-card-h: 400px;
    padding: 40px 0;
  }

  .fcd-card-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .fcd-wrapper {
    gap: 8px;
    padding: 0 5px;
  }

  .fcd-arrow {
    width: 38px;
    height: 38px;
  }

  .fcd-card-info {
    padding: 20px;
  }

  .fcd-card-link {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .fcd-section {
    --fcd-card-h: 360px;
  }

  .fcd-dots {
    margin-top: 25px;
  }
}
/* NeonBorderCardsDesign.css */

.neon-border-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    background-color: #ffffff;
    /* Fondo siempre blanco */
    box-sizing: border-box;
}

/* Título a la izquierda */
.neon-title-container {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
}

.neon-title-container h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.neon-title-container .neon-subtitle {
    display: block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Grid de tarjetas */
.neon-cards-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Animaciones de la Card */
@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes rotateAndFadeOut {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
        opacity: 0;
    }
}

/* Estilos de la Card (Basados en el snippet del usuario) */
.neon-card-outer {
    position: relative;
    height: 280px;
    /* Un poco más alta para acomodar imagen */
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    z-index: 2;
    transition: transform 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.neon-card-outer:hover {
    transform: translateY(-10px);
}

.neon-card-border {
    position: absolute;
    height: 200%;
    width: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.neon-card-inner {
    content: '';
    position: absolute;
    height: calc(100% - 8px);
    /* Aumentado un poco el grosor del borde */
    width: calc(100% - 8px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3) inset;
    border-radius: 10px;
    z-index: 2;
}

.neon-card-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 3;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.neon-card-number {
    z-index: 3;
    position: relative;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.neon-card-label {
    z-index: 3;
    position: relative;
    font-size: 12px;
    font-weight: 600;
    color: #ccc;
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
    .neon-border-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .neon-title-container {
        flex: none;
        width: 100%;
        position: static;
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .neon-cards-grid {
        grid-template-columns: 1fr;
    }

    .neon-card-outer {
        width: 100%;
        max-width: 280px;
    }
}
/* ═══════════════════════════════════════════════════
   GlassCardsDesign.css
   Tarjetas estilo glassmorphism sobre fondo oscuro
═══════════════════════════════════════════════════ */

.glass-section {
    position: relative;
    width: 100%;
    padding: 70px 20px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow: hidden;
}

/* ── Orbes decorativos de fondo ── */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    animation: glass-orb-float 8s ease-in-out infinite alternate;
}
.glass-orb--1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #c8102e, transparent 70%);
    top: -100px; left: -80px;
    animation-delay: 0s;
}
.glass-orb--2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #6c63ff, transparent 70%);
    bottom: -80px; right: -60px;
    animation-delay: 3s;
}
.glass-orb--3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #00d4ff, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes glass-orb-float {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* ── Layout interno ── */
.glass-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Cabecera ── */
.glass-header {
    text-align: center;
    margin-bottom: 48px;
}
.glass-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    text-shadow: 0 2px 20px rgba(200, 16, 46, 0.4);
}
.glass-title-bar {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c8102e, #ff6b6b);
    border-radius: 2px;
    margin: 0 auto;
}

/* ── Grid de cards ── */
.glass-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ── Tarjeta glass ── */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 16, 46, 0.3);
    border-color: rgba(200, 16, 46, 0.4);
}

/* ── Imagen ── */
.glass-card__img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.glass-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.glass-card:hover .glass-card__img {
    transform: scale(1.08);
}
.glass-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(15, 12, 41, 0.85));
}

/* ── Cuerpo ── */
.glass-card__body {
    padding: 20px 22px 24px;
}
.glass-card__index {
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(200, 16, 46, 0.25);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}
.glass-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.4;
}
.glass-card__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.glass-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b6b;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.glass-card__btn:hover {
    gap: 12px;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .glass-section { padding: 50px 16px; }
    .glass-grid { grid-template-columns: 1fr; }
    .glass-orb--2,
    .glass-orb--3 { display: none; }
}

/* ═══════════════════════════════════════════════════
   TimelineCardsDesign.css
   Timeline alternado izquierda/derecha con animación
═══════════════════════════════════════════════════ */

.tl-section {
    width: 100%;
    padding: 70px 20px;
    background: #f8f9fb;
}

.tl-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Cabecera ── */
.tl-header {
    text-align: center;
    margin-bottom: 60px;
}
.tl-main-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.tl-header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c8102e, #ff6b6b);
    border-radius: 2px;
    margin: 0 auto;
}

/* ── Contenedor de la línea central ── */
.tl-track {
    position: relative;
    padding: 10px 0;
}

/* Línea vertical */
.tl-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e8e8e8;
    transform: translateX(-50%);
    border-radius: 2px;
    overflow: hidden;
}
.tl-line__fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #c8102e, #ff6b6b, #c8102e);
    animation: tl-line-flow 3s linear infinite;
}
@keyframes tl-line-flow {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ── Item del timeline ── */
.tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 56px;
    gap: 0 40px;

    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-item--left  { transform: translateX(-40px); }
.tl-item--right { transform: translateX(40px); }

.tl-item--visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Dot central ── */
.tl-dot {
    grid-column: 2;
    position: relative;
    width: 18px;
    height: 18px;
    z-index: 2;
}
.tl-dot__inner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c8102e;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #c8102e;
}
.tl-dot__ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(200, 16, 46, 0.3);
    animation: tl-pulse 2s ease-out infinite;
}
@keyframes tl-pulse {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ── Número de paso ── */
.tl-step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 32px));
    font-size: 0.7rem;
    font-weight: 800;
    color: #c8102e;
    letter-spacing: 1px;
}

/* ── Tarjeta ── */
.tl-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}
.tl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c8102e, #ff6b6b);
}
.tl-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* ── Posición de la tarjeta ── */
.tl-item--left  .tl-card { grid-column: 1; }
.tl-item--right .tl-card { grid-column: 3; }
.tl-item--left  .tl-dot  { grid-column: 2; }
.tl-item--right .tl-dot  { grid-column: 2; }

/* Espaciador vacío */
.tl-item--left::after  { content: ''; grid-column: 3; }
.tl-item--right::before { content: ''; grid-column: 1; display: block; }

/* ── Imagen ── */
.tl-card__img-wrap {
    height: 170px;
    overflow: hidden;
}
.tl-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tl-card:hover .tl-card__img {
    transform: scale(1.06);
}

/* ── Cuerpo ── */
.tl-card__body {
    padding: 20px 22px 22px;
}
.tl-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.4;
}
.tl-card__divider {
    width: 32px;
    height: 2px;
    background: #c8102e;
    border-radius: 1px;
    margin-bottom: 12px;
}
.tl-card__desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tl-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c8102e;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.tl-card__link:hover { gap: 10px; }

/* ── Responsive: mobile = stacked ── */
@media (max-width: 768px) {
    .tl-line { left: 20px; }
    .tl-step { display: none; }

    .tl-item {
        grid-template-columns: 40px 1fr;
        gap: 0 16px;
        margin-bottom: 40px;
    }
    .tl-item--left  .tl-card,
    .tl-item--right .tl-card { grid-column: 2; }

    .tl-dot {
        grid-column: 1 !important;
        grid-row: 1;
    }
    .tl-item--right::before { display: none; }
    .tl-item--left::after   { display: none; }

    .tl-item--left  { transform: translateX(-20px); }
    .tl-item--right { transform: translateX(-20px); }
}

/* ═══════════════════════════════════════════════════
   HeroBannerDesign.css
   Hero de ancho completo con imagen de fondo y CTA
═══════════════════════════════════════════════════ */

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ── Overlay de oscurecimiento ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 12, 41, 0.88) 0%,
        rgba(200, 16, 46, 0.35) 50%,
        rgba(15, 12, 41, 0.80) 100%
    );
    z-index: 1;
}

/* ── Textura de ruido sutil ── */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox=%270 0 256 256%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27noise%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23noise%29%27 opacity=%270.04%27/%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

/* ── Decoraciones geométricas ── */
.hero-deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.hero-deco--left  { left: 5%;  top: 20%; }
.hero-deco--right { right: 5%; bottom: 20%; }

.hero-deco__circle {
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 1.5px solid rgba(200, 16, 46, 0.2);
    animation: hero-spin 20s linear infinite;
}
.hero-deco__line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(200, 16, 46, 0.4), transparent);
    margin: 20px auto 0;
}
@keyframes hero-spin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

/* ── Contenido central ── */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    max-width: 820px;
    margin: 0 auto;
}

/* ── Badge superior ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.4);
    color: #ff8fa3;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #c8102e;
    animation: hero-blink 1.5s ease-in-out infinite;
}
@keyframes hero-blink {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Título ── */
.hero-heading {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── Subtítulo ── */
.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Botón CTA ── */
.hero-actions { display: flex; justify-content: center; gap: 16px; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-cta--primary {
    background: #c8102e;
    color: white;
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}
.hero-cta--primary:hover {
    background: #a50d26;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(200, 16, 46, 0.5);
    gap: 14px;
}

/* ── Ola inferior ── */
.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    z-index: 2;
    line-height: 0;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-banner { min-height: 420px; background-attachment: scroll; }
    .hero-deco   { display: none; }
    .hero-heading { font-size: 1.9rem; }
}

/* ═══════════════════════════════════════════════════
   BentoGridDesign.css
   Cuadrícula asimétrica estilo Bento moderno
═══════════════════════════════════════════════════ */

.bento-section {
    width: 100%;
    padding: 70px 20px;
    background: #f0f2f5;
}

.bento-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Cabecera ── */
.bento-header {
    text-align: center;
    margin-bottom: 40px;
}
.bento-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.bento-title-bar {
    display: block;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #c8102e, #ff6b6b);
    border-radius: 2px;
    margin: 0 auto;
}

/* ── Grid principal ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

/* ── Celdas por tamaño ── */
.bento-cell { position: relative; border-radius: 20px; overflow: hidden; cursor: default; }

/* Grande: ocupa 2 cols x 2 rows */
.bento-cell--large {
    grid-column: span 2;
    grid-row: span 2;
}
/* Alto: ocupa 1 col x 2 rows */
.bento-cell--tall {
    grid-column: span 1;
    grid-row: span 2;
}
/* Ancho: ocupa 2 cols x 1 row */
.bento-cell--wide {
    grid-column: span 2;
    grid-row: span 1;
}
/* Pequeño: 1 col x 1 row */
.bento-cell--small {
    grid-column: span 1;
    grid-row: span 1;
}

/* ── Fondo de imagen ── */
.bento-cell {
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.bento-cell:hover { transform: scale(0.98); }

/* ── Fondo de color (cuando no hay imagen) ── */
.bento-cell__color-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.4s ease;
}

/* ── Overlay sobre imagen ── */
.bento-cell__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 1;
}

/* ── Número decorativo ── */
.bento-cell__num {
    position: absolute;
    top: 14px; left: 18px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    letter-spacing: -3px;
    z-index: 2;
    user-select: none;
}

/* ── Cuerpo del texto ── */
.bento-cell__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    z-index: 2;
}
.bento-cell__title {
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.bento-cell__desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bento-cell__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}
.bento-cell__link:hover {
    background: #c8102e;
    border-color: #c8102e;
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-cell--large { grid-column: span 2; }
}

@media (max-width: 560px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .bento-cell--large,
    .bento-cell--tall,
    .bento-cell--wide { grid-column: span 1; grid-row: span 1; }
}

/* Noticias */

section.slide[data-s="noticias"] {
    overflow-x: clip;
    height: fit-content;
}

.fondo {
    font-size: 20em;
    color: rgba(0, 0, 0, 0.486);
    text-align: center;
}

section.slide[data-s="inicio"] .arrow_circle_down {
    position: absolute;
    display: block;
    bottom: .5rem;
    right: 0;
    left: 0;
    width: fit-content;
    padding: 0.1rem;
    margin: auto;
    font-size: 3rem;
    color: #ffffff;
    background: transparent;
    border-radius: 100%;
    cursor: pointer;
}

section.slide[data-s="noticias"] .slide_title {
    display: block;
}


.slide_title {
    display: block;
    margin-bottom: 3rem;
}

.box_news {
    position: relative;
    display: block;
    width: 100%;
    height: 640px;
    margin: 0;
    cursor: pointer;
    margin-right: 1.5rem;
    background: #e3e5e5;
    float: left;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.box_news:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}



.box_news_list_card {
    cursor: pointer;
    padding: 10px;
    background-color: #e3e5e5;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.box_news_list_card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.box_news_list_card_main_container {
    display: flex;
    flex-direction: row;
    width: 100%
}

.box_news_list_card_img_container {
    width: 40%;
    height: 160px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 10px;
}

/* Estilo de la imagen en miniaturas */
.imgList {
    border-radius: 10px;
    width: 100%;
    height: 160px;
    object-fit: fill;
    /* Restaurado a fill para evitar recorte de imagen */
    transition: transform 0.4s ease;
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
}

/* Efecto de encogimiento sutil en hover */
.box_news_list_card:hover .imgList {
    transform: scale(0.98) translateZ(0);
}

.box_media {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: 0;
}

/* Imagen principal */
.box_news .box_media img {
    border-radius: 10px;
    width: 100%;
    height: 240px;
    object-fit: fill;
    /* Restaurado a fill para evitar recorte de imagen */
    transition: transform 0.4s ease;
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
}

.box_news .box_media>picture {
    display: block;
    height: 100%;
    /* picture sin transform para evitar doble renderizado intermedio */
}

/* Efecto de encogimiento sutil en hover */
.box_news:hover .box_media img {
    transform: scale(0.98) translateZ(0);
}

.box_news_grad {
    position: absolute;
    top: 38%;
    right: 0rem;
    width: 0rem;
    height: 55%;
    z-index: 1;
    box-shadow: -1rem 0px 5rem 7rem #ffffff;
}

.box_news .title {
    position: relative;
    display: -webkit-box;
    font-size: 1.3rem;
    font-family: 'Myriad Pro bold';
    line-height: 1.15;
    margin: 2rem 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.title {
    position: relative;
    display: -webkit-box;
    font-size: 1.3rem;
    font-family: 'Myriad Pro bold';
    line-height: 1.15;
    margin: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.box_news:hover .title,
.box_news_list_card:hover .title {
    color: #c71122;
}

.box_news .resume {
    position: relative;
    display: -webkit-box;
    font-size: 1.3rem;
    font-family: 'Myriad Pro Light';
    font-weight: unset;
    margin: 0;
    text-align: justify;
    overflow: hidden;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.resume {
    position: relative;
    display: -webkit-box;
    font-size: 16px;
    font-family: 'Myriad Pro Light';
    font-weight: unset;
    margin: 0;
    text-align: left;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.box_news .box_content {
    display: block;
    position: relative;
    color: black;
    margin: auto;
    width: 100%;
    padding: 0rem 2rem 70px 2rem;
    box-sizing: border-box;
    opacity: 1;
}

/* Botones de navegación — igual que carousel de eventos */
.news-nav-btn {
    background: none;
    border: none;
    color: #DC143C;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 300;
    transition: all 0.2s;
    z-index: 10;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.news-nav-btn:hover {
    color: #a01030;
    transform: scale(1.2);
}

/* CAMBIO 1: footer de la card principal — fila con flechas a la izq y "ver todas" a la der */
.box_news_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 0.5rem 1.2rem;
}

/* CAMBIO 1: contenedor de las dos flechas alineadas a la izquierda */
.nav_controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.box_news_list::-webkit-scrollbar {
    width: var(--sb-size);
}

.box_news_list::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 10px;
}

.box_news_list::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 999px;
    /* Acorta el pulgar en el eje Y con bordes transparentes */
    border-top: 70px solid transparent;
    border-bottom: 70px solid transparent;
    background-clip: padding-box;
}

@supports not selector(::-webkit-scrollbar) {
    .box_news_list {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

@media screen and (max-width: 1250px) {
    .box_news_list {
        position: relative;
        display: block;
        width: 100%;
        height: 640px;
        opacity: 1;
        border-radius: 10px;
        overflow: auto;
        padding-right: 10px;
        margin-bottom: 20px;
        --sb-track-color: #f5f5f5;
        --sb-thumb-color: #3a3a3a;
        /* CAMBIO 4: scrollbar más delgada */
        --sb-size: 4px;
    }

    .news_container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .box_news_container {
        position: relative;
        display: block;
        width: 100%;
        height: 640px;
        opacity: 1;
        margin-bottom: 20px;
    }
}


@media screen and (min-width: 1251px) {
    .box_news_list {
        position: relative;
        display: grid;
        gap: 10px;
        width: 45%;
        height: 640px;
        opacity: 1;
        border-radius: 10px;
        overflow: auto;
        padding-right: 10px;
        --sb-track-color: #f5f5f5;
        --sb-thumb-color: #3a3a3a;
        /* CAMBIO 4: scrollbar más delgada */
        --sb-size: 4px;
    }

    .news_container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .box_news_container {
        position: relative;
        display: block;
        width: 50%;
        height: 640px;
        opacity: 1;
    }
}

.news_container {
    position: relative;
}

/* Botón ver todos */
.ver-todas-container {
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 6px 0;
}

.ver-todas-container a {
    padding: 8px 18px;
    background-color: #c71122;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.ver-todas-container a:hover {
    background-color: #a50d1b;
}
/* Carousel */

section.slide[data-s="carousel"] {
    overflow: hidden;
    /* height: calc(100% - 11.5rem); */
}

.box_carousel {
    display: flex;
}

.self_carousel {
    position: relative;
    display: inline-flex;
    flex-flow: row;
    overflow: hidden;
}

.img_carousel {
    position: absolute;
    display: block;
    height: 100%;
    width: 86vw;
}

.img_carousel picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txt_carousel {
    position: relative;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    padding: 3rem 10vw;
    box-sizing: border-box;
    background: #00000087;
    justify-content: space-evenly;
    align-items: center;
}

.txt_carousel h2 {
    font-family: 'Myriad Pro Semibold';
    font-size: 2.7rem;
    margin-top: 0;
}

.box_carousel .txt_carousel .resume {
    font-family: 'Myriad Pro Bold';
    font-size: 1.5rem;
    text-align: justify;
    margin-bottom: 2rem;
    color: white;
    /* width: 50%; */
}

.box_carousel .txt_carousel .read .material-icons {
    vertical-align: middle;
    padding-right: 1rem;
}

.material-icons.white {
    color: white;
}

.box_carousel .read {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 1.2rem;
    font-family: 'Myriad Pro Semibold';
    color: white;
    /*width: fit-content;*/
    background-color: var(--main-red);
    padding: 0.5rem 1rem;
    /*margin: 0 0 2rem 0;*/
}
/* Estilos generales para la caja de la cita */
.quote_box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch; /* Asegura que los elementos tengan la misma altura */
    width: 100%;
    height: fit-content;
    padding: 2rem 0;
}

.quote_txt::after,
.quote_txt::before {
    content: "\e244"; /* Iconos de Material Icons */
    font-family: "Material Icons";
    position: absolute;
    z-index: 0;
    font-size: 5rem;
    color: #0000008a;
}

.quote_txt::before {
    left: 4vw;
    top: 1rem;
    transform: rotate(180deg);
}

.quote_txt::after {
    bottom: 2rem;
    right: 1vw;
}

/* Estilos de la imagen */
.quote_img {
    display: block;
    width: 40vw;
    height: auto;
    z-index: 1;
    margin-right: 0; /* Elimina margen para que la imagen esté pegada al texto */
}

.quote_img img {
    width: 100%;
    height: 100%; /* Asegura que la imagen llene todo el contenedor */
    object-fit: cover; /* Se ajusta mejor que contain en este caso */
    border-radius: 10px 0 0 10px;
}

/* Estilos del texto de la cita */
.quote_txt {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: auto; /* Asegura que el contenedor de texto tenga la misma altura que la imagen */
    font-family: 'Myriad Pro Light';
    font-size: 100%;
    background: #2e2e2e;
    padding-inline: 5rem;
    /*padding: 10rem 5rem;*/
    /*padding-left: 5rem;*/
    color: #ffffff;
    box-sizing: border-box;
    text-align: left;
    border-radius: 0 10px 10px 0;
}

.quote_txt p {
    z-index: 1;
    text-align: right;
}

.quote_txt p:first-child {
    font-family: 'Myriad Pro semiBold';
    font-size: 1.5rem;
    margin: 0 2rem;
    text-align: center;
}

/* Animación para cuando el usuario se desplaza hacia la sección */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote_box.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.quote_box.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Enlaces de interes - Versión final responsiva */
section.slide[data-s="links"] {
    padding: 3rem 0;
    height: fit-content;
}

#grid_link {
    opacity: 1;
    padding: 10px;
    transition: opacity ease 0.5s;
    background-color: #d41224;
    background-size: 58px 58px;
    background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
}

.carrousel {
    width: 100%;
    padding: 0.2rem 0;
    position: relative;
}

/* Items del carrusel */
.self_link {
    font-family: 'Myriad Pro Bold';
    color: white;
    min-width: 240px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.self_link:hover {
    transform: scale(1.05);
}

.self_link a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /*padding: 0.5rem;*/
}

.self_link .material-icons {
    font-size: 2.5rem;
    transition: ease .3s;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    line-height: 1;
}

.self_link .link_text {
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.self_link:hover .link_text,
.self_link:hover .material-icons {
    opacity: 0.8;
}

/* Flechas del carrusel */
.button_arrow {
    left: 0;
    position: absolute;
    z-index: 7;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    background: rgba(0,0,0,0.3);
    height: 60px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
    top: 50%;
    transform: translateY(-50%);
}

.button_arrow-right {
    right: 0;
    position: absolute;
    z-index: 7;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    background: rgba(0,0,0,0.3);
    height: 60px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    top: 50%;
    transform: translateY(-50%);
}

.button_arrow:hover,
.button_arrow-right:hover {
    background: rgba(0,0,0,0.5);
}

.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

/* Ajustes para tablets */
@media (max-width: 1024px) {
    .self_link {
        min-width: 210px;
    }

    .self_link .material-icons {
        font-size: 2.2rem;
        height: 2.2rem;
        width: 2.2rem;
    }

    .self_link .link_text {
        font-size: 0.95rem;
        max-width: 180px;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .carrousel {
        padding: 0rem 0;
    }

    .self_link {
        min-width: 180px;
        padding: 0 0.8rem;
    }

    .self_link .material-icons {
        font-size: 2rem;
        height: 2rem;
        width: 2rem;
    }

    .self_link .link_text {
        font-size: 0.9rem;
        max-width: 150px;
    }
}

/* Ajustes para móviles pequeños */
@media (max-width: 480px) {
    .self_link {
        min-width: 150px;
        padding: 0 0.5rem;
    }

    .self_link .link_text {
        font-size: 0.8rem;
        max-width: 120px;
    }
}
/* Carousel */

section.slide[data-s="info"] {
    height: fit-content;
    padding: 10rem 0rem;
}

.infoContainer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 65vh;
    width: 100%;
    background-color: #bf0000;
    background-image: linear-gradient( 335deg, #bd0d1e 23px, transparent 23px), linear-gradient( 155deg, #cd1627 23px, transparent 23px), linear-gradient( 335deg, var(--main-red) 23px, transparent 23px), linear-gradient( 155deg, #cd1627 23px, transparent 23px);
    background-size: 58px 58px;
    background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
}

.infoBox {
    display: inline-flex;
    position: relative;
    color: white;
    text-align: center;
    flex-basis: calc(50% - 3.5rem);
    flex-flow: column;
}

.infoBox.cliped {
    order: 1;
    /* -webkit-clip-path: circle(66% at 40% 48%);
    clip-path: circle(66% at 40% 48%); */
}

.infoBox.noCliped {
    order: 2;
    padding: 2rem 4rem 2rem 2rem;
}

.infoBox h1,
.infoBox h2,
.infoBox h3,
.infoBox span {
    display: block;
    margin: .5rem auto;
}

.infoBox.noCliped h1 {
    font-family: "Myriad Pro Bold";
    font-size: 3rem;
    padding-bottom: 3rem;
}

.infoBox.noCliped h2 {
    font-family: "Myriad Pro Light";
    font-size: 2rem;
    width: 100%;
}

.infoBox.noCliped h3 {
    font-family: "Myriad Pro regular";
    font-size: 2rem;
}

.infoBox.noCliped span {
    font-family: "Myriad Pro Bold";
    background: white;
    color: var(--main-red);
    font-size: 2rem;
    width: fit-content;
    line-height: 2;
    padding: 0 3rem;
    border-radius: 1rem;
}

.infoBox.noCliped picture {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infoBox.cliped picture img,
.infoBox.noCliped picture img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.infoBox.cliped.L picture{
    height: 100%;
}
/* ===== VARIABLES ===== */
:root {
  --red: #c8102e;
  --red-dark: #a50d26;
  --red-light: #fdf0f2;
  --badge-bg: #fce8ec;
  --badge-text: #9b1527;
  --gray-1: #f8f9fa;
  --gray-3: #e9ecef;
  --gray-4: #dee2e6;
  --text-dark: #1a1a2e;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 12px;
}

/* ===== WRAPPER ===== */
.dir-wrapper {
  padding: 2rem 6vw 4rem;
  background: #f4f5f7;
  min-height: 100vh;
  box-sizing: border-box;
}

/* ===== TOPBAR ===== */
.dir-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.dir-search { width: 100%; max-width: 600px; position: relative; }
.dir-search input {
  width: 100%;
  padding: 14px 24px 14px 50px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 50px;
  border: 2px solid transparent;
  background: var(--white);
  box-shadow: var(--shadow-md);
  outline: none;
  color: var(--text-dark);
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}
.dir-search input::placeholder { color: #aab0bb; }
.dir-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200,16,46,0.12), var(--shadow-md);
}
.dir-search .search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #757575;
  font-size: 22px;
  pointer-events: none;
  z-index: 1;
}

/* ===== GRID 3 COLUMNAS ===== */
.dir-grid.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.dir-col { display: flex; flex-direction: column; gap: 1.5rem; }

/* ===== TARJETA ===== */
.dir-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ===== HEADER TARJETA — ROJO DEGRADADO ===== */
.dir-card-title {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--red), var(--red-dark));
  color: var(--white);
}

/* ===== FILAS ===== */
.dir-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--gray-3);
  transition: background 0.15s;
}
.dir-row:last-child { border-bottom: none; }
.dir-row:hover      { background: var(--red-light) !important; }
.dir-row.even       { background: var(--white); }
.dir-row.odd        { background: var(--gray-1); }

.dir-dep-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* ===== BADGE ===== */
.dir-ext {
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid rgba(155,21,39,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dir-wrapper        { padding: 2rem 4vw 3rem; }
  .dir-grid.three-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dir-grid.three-col { grid-template-columns: 1fr; }
  .dir-topbar         { flex-direction: column; align-items: stretch; }
  .dir-search         { max-width: 100%; }
  .dir-wrapper        { padding: 1.5rem 4vw 3rem; }
}
.all-news-section h1 {
  text-align: center;
  margin-top: 7%;
  font-size: 2rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
  padding: 1px 1px 15px 1px;
}

.pagination button {
  padding: 10px 20px;
  margin: 0 5px;
  background-color: #a50d1b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background-color: #a50d1b;
}

.pagination-info {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
  padding-bottom: 12px;
}

.box_news_list_card_all {
  cursor: pointer;
  padding: 10px;
  background-color: #e3e5e5;
  border-radius: 10px;
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}

.box_news_list_card_all:hover {
  transform: translateY(-5px);
  /* Elevación sutil */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.box_news_list_card_all:hover .imgList {
  transform: scale(0.97) translateZ(0);
  /* Efecto shrink para mantener nitidez */
}

.box_news_list_card_all:hover .title {
  color: #a50d1b;
}

.box_news_list_card_main_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  /* Un poco más de espacio */
}

.box_news_list_card_img_container {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  /* Un poco más de altura */
  overflow: hidden;
  /* Importante para el shrink */
  border-radius: 8px;
}

.box_news_list_card_img_container .imgList {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
  transform: scale(1) translateZ(0);
  /* Nitidez al 100% por defecto */
  backface-visibility: hidden;
}

.box_news_list_card_text_container {
  flex: 1;
  min-width: 0;
}

.box_news_list_card_text_container .title {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.box_news_list_card_text_container .resume {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.slide_title_all {
  padding: 7vh 0 0 0;
  text-align: center;
}

.img_news_all {
  display: block;
  object-position: 50%;
  height: 45vh !important;
  width: 100%;
  object-fit: cover;
}

.no-results {
  font-size: 1.8rem;
  color: #000000;
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .news-list {
    grid-template-columns: 1fr;
  }
}
/* Centrar el botón de búsqueda */
.search-bar {
    text-align: center;
    position: relative;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.search-bar input {
    padding: 16px 16px 16px 47px;
    border-radius: 25px;
    border: 2px solid transparent;
    /* Inicialmente transparente para evitar salto */
    width: 100%;
    font-size: 1rem;
    background: #e3e5e5;
    box-sizing: border-box;
}

.search-bar input:focus-visible,
.search-bar input:focus {
    border: 2px solid #c8102e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
    outline: none;
}

.search {
    position: absolute;
    left: 17px;
    top: 14px;
}
/* ================================================
   ALLEVENTS — Estilos idénticos a Events.jsx
   ================================================ */

/* Contenedor principal y sección */
.all-events-wrapper {
    padding: 40px 20px;
    background-color: #fff;
}

.all-events-wrapper .all-events-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* ================================================
   BUSCADOR
   ================================================ */

.all-events-wrapper .search-container {
    margin: 0 0 40px 0;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.all-events-wrapper .search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.all-events-wrapper .search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafbfc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.all-events-wrapper .search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.all-events-wrapper .search-input:hover {
    border-color: #d1d5db;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.all-events-wrapper .search-input:focus {
    border-color: #dc143c;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.12);
}

.all-events-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
    transition: color 0.3s ease;
}

@media (max-width: 576px) {
    .all-events-wrapper .search-input {
        padding: 10px 15px 10px 40px;
        font-size: 0.9rem;
    }

    .all-events-wrapper .search-icon {
        left: 10px;
        font-size: 1.1rem;
    }

    .all-events-wrapper .search-input-wrapper {
        max-width: 100%;
    }
}

/* ================================================
   GRID LAYOUT
   ================================================ */

.all-events-wrapper .events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .all-events-wrapper .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .all-events-wrapper .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .all-events-wrapper .events-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 16px;
    }
}

/* ================================================
   TARJETA PRINCIPAL (Card-E-Evento)
   ================================================ */

.all-events-wrapper .card-e-evento {
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.all-events-wrapper .event-card:hover,
.all-events-wrapper .card-e-evento:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 -2px 6px rgba(0, 0, 0, 0.03);
    border-color: #d1d5db;
}

/* ================================================
   HEADER / IMAGEN CON GRADIENTE
   ================================================ */

.all-events-wrapper .card-header-evento {
    height: 140px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
    background-size: cover;
    background-position: center;
}

/* Gradientes por tipo (como overlay) */
.all-events-wrapper .grad-foro-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.85) 0%, rgba(0, 242, 254, 0.85) 100%);
    border-radius: 20px 20px 0 0;
}

.all-events-wrapper .grad-seminario-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.85) 0%, rgba(245, 87, 108, 0.85) 100%);
    border-radius: 20px 20px 0 0;
}

.all-events-wrapper .grad-congreso-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    border-radius: 20px 20px 0 0;
}

.all-events-wrapper .grad-jornada-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.85) 0%, rgba(254, 225, 64, 0.85) 100%);
    border-radius: 20px 20px 0 0;
}

.all-events-wrapper .grad-academico-evento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.85) 0%, rgba(160, 16, 48, 0.85) 100%);
    border-radius: 20px 20px 0 0;
}

/* Hora + Fecha badge */
.all-events-wrapper .hora-badge-evento {
    position: absolute;
    bottom: 0;
    right: 18px;
    transform: translateY(50%);
    background: white;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
    z-index: 10;
}

/* ================================================
   BODY (CONTENIDO)
   ================================================ */

.all-events-wrapper .card-body-evento {
    padding: 16px 18px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Título: 2 líneas fijas */
.all-events-wrapper .card-titulo-evento {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.35;
    height: 40.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Descripción: 3 líneas fijas */
.all-events-wrapper .card-desc-evento {
    font-size: 12px;
    color: #666;
    line-height: 1.55;
    height: 55.8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

/* ================================================
   BOTTOM SECTION (Lugar/Modalidad/Estado)
   ================================================ */

.all-events-wrapper .card-bottom-evento {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.all-events-wrapper .card-bottom-badges-evento {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.all-events-wrapper .card-bottom-left-evento {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.all-events-wrapper .card-bottom-right-evento {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}

/* Lugar */
.all-events-wrapper .meta-lugar-evento {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 16px;
}

/* Badge Modalidad */
.all-events-wrapper .badge-modalidad-evento {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    white-space: nowrap;
    width: fit-content;
    margin-left: 2px;
    box-sizing: border-box;
}

.all-events-wrapper .mod-virtual-evento {
    color: #2563eb;
    background-color: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.all-events-wrapper .mod-presencial-evento {
    color: #16a34a;
    background-color: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
}

.all-events-wrapper .mod-hibrido-evento {
    color: #7c3aed;
    background-color: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ===== BADGE ESTADO ===== */
.all-events-wrapper .badge-estado-evento {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    padding: 8.5px 10px;
    border-radius: 16px;
    border: 1px solid transparent;
    white-space: nowrap;
    width: fit-content;
    margin-left: 2px;
    box-sizing: border-box;
}

.all-events-wrapper .estado-dot-evento {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Colores por estado */
.all-events-wrapper .estado-programado-evento {
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
}

.all-events-wrapper .estado-programado-evento .estado-dot-evento {
    background: #22c55e;
}

.all-events-wrapper .estado-en_curso-evento {
    color: #92400e;
    background-color: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.35);
}

.all-events-wrapper .estado-en_curso-evento .estado-dot-evento {
    background: #f59e0b;
}

.all-events-wrapper .estado-finalizado-evento {
    color: #2563eb;
    background-color: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.all-events-wrapper .estado-finalizado-evento .estado-dot-evento {
    background: #3b82f6;
}

.all-events-wrapper .estado-cancelado-evento {
    color: #dc2626;
    background-color: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

.all-events-wrapper .estado-cancelado-evento .estado-dot-evento {
    background: #ef4444;
}

/* Estados alternativos (para compatibilidad con getEstado) */
.all-events-wrapper .estado-proximo-evento {
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
}

.all-events-wrapper .estado-proximo-evento .estado-dot-evento {
    background: #22c55e;
}

.all-events-wrapper .estado-en-curso-evento {
    color: #92400e;
    background-color: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.35);
}

.all-events-wrapper .estado-en-curso-evento .estado-dot-evento {
    background: #f59e0b;
}

/* ================================================
   CONTADORES Y BOTONES
   ================================================ */

.all-events-wrapper .card-counters-evento {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.all-events-wrapper .counters-left {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: 4px;
}

.all-events-wrapper .counter-item-evento {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    cursor: default;
    /* Estilo Badge */
    padding: 4px 10px;
    border-radius: 12px;
    border: 1.5px solid #f0f0f0;
    background-color: #fafafa;
    width: fit-content;
}

.all-events-wrapper .btn-like-evento {
    background: #fafafa;
    border: 1.5px solid #f0f0f0;
    border-radius: 12px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #999;
    width: fit-content;
}

.all-events-wrapper .btn-like-evento:not(:disabled):hover {
    transform: scale(1.1);
}

.all-events-wrapper .btn-like-evento.liked {
    font-weight: 700;
    color: #999;
    border-color: #f0f0f0;
    background-color: #fafafa;
}

.all-events-wrapper .btn-like-evento:not(:disabled):hover {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
    transform: translateY(-1px);
}

.all-events-wrapper .btn-like-evento:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Botón Like deshabilitado con estado locked - color gris neutral */
.all-events-wrapper .btn-like-evento:disabled.liked {
    border-color: rgba(150, 150, 150, 0.3);
    background-color: rgba(150, 150, 150, 0.05);
    color: #999;
}

.all-events-wrapper .counter-value-evento {
    font-weight: 600;
}

.all-events-wrapper .btn-ver-texto-evento {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
    white-space: nowrap;
    margin-right: 5px;
}

.all-events-wrapper .btn-ver-texto-evento:hover {
    color: #666;
    text-decoration: underline;
}

/* ================================================
   MENSAJES
   ================================================ */

.all-events-wrapper .no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}
/* Contenedor principal de ambas barras */
.social-sidebar-wrapper {
  position: fixed;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

/* Estilos de cada barra lateral */
.social-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: fit-content;
  margin: auto;
  padding: 3px;
  gap: 10px;
  background: #0000004d;
  border-radius: 30px;
  overflow: hidden;
}

/* Contenedor de cada botón */
.social-button-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  border-radius: 50%;
  padding: 8px;
  font-size: 1.5rem;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-button-container svg {
  color: white;
}

/* Hover en el botón */
.social-button-container:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Ocultar en pantallas menores a 768px */
@media (max-width: 768px) {
  .social-sidebar-wrapper {
    display: none;
  }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === SECTION WRAPPER === */
.all-previos-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === TYPE HEADER === */
.previos-type-header {
  text-align: left;
  margin-bottom: 2rem;
}

.previos-type-title {
  font-size: 2rem;
  font-weight: 700;
  color: #c71122;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === NO DATA STATE === */
.no-previos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: #666;
}

.no-data-icon {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

/* === GRID LAYOUT === */
.previos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 24px; 
}

/* === CARD STYLES === */
.previo-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.previo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* === PROGRAM TITLE === */
/* Limitar a 2 líneas con ellipsis y reservar espacio consistente */
.previo-program h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
  display: -webkit-box;
  display: box; /* opcional, algunos linters lo piden */
  line-clamp: 2; /* estándar */
  -webkit-line-clamp: 2; /* prefijo WebKit */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* min-height para mantener espacio reservado incluso si el texto se corta */
  min-height: 2.7rem; /* aprox. 2 líneas (ajusta si cambias line-height o font-size) */
}

/* === DETAILS SECTION === */
/* mantenemos columnas consistentes; no se verán desplazadas por títulos largos */
.previo-details {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-icon {
  color: #b94242;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.detail-item span {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.period-badge {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white !important;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

/* === ACTIONS === */
.previo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.view-btn {
  background: linear-gradient(135deg, #c71123ce, #8b0a17d5);
  color: white;
}

.view-btn:hover {
  background: linear-gradient(135deg, #ec041b, #b40012);
}

.download-btn {
  background: linear-gradient(135deg, #626262, #525252);
  color: white;
}

.download-btn:hover {
  background: linear-gradient(135deg, #4b4a4a, #302f2f);
}

/* === MODAL STYLES === */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  max-width: 1200px;
  background: white;
  border-radius: 8px;
  outline: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1001;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.75);
  z-index: 1000;
}

.modal iframe {
  flex: 1;
  border: none;
  border-radius: 0 0 8px 8px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .titled {
    font-size: 2rem;
  }

  .all-previos-section {
    padding: 1rem 0.5rem;
  }
  
  .previos-type-title {
    font-size: 1.5rem;
  }
  
  .previos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .previo-card {
    padding: 1rem;
  }
  
  .previo-program h3 {
    font-size: 1rem;
    min-height: 2.6rem;
  }
  
  .previo-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
  }

  /* En móviles sólo mostrar "Descargar", ocultar "Ver" */
  .view-btn {
    display: none !important;
  }

  .download-btn {
    /* si quieres que ocupe todo el ancho más visible */
    flex: none;
    width: 100%;
  }
  
  .modal {
    width: 95vw;
    height: 85vh;
  }
}

@media (min-width: 1200px) {
  .previos-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}


/* === NO DATA STATE === */
.no-previos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: #666;
  gap: 1.5rem;
}

.no-previos-image {
  width: 100%;
  max-width: 700px; /* 👈 Para SVG puedes usar un tamaño menor */
  height: auto;
  object-fit: contain;
}

.no-previos p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .no-previos-image {
    max-width: 400px;
  }
  
  .no-previos p {
    font-size: 1rem;
  }

}

@media (max-width: 480px) {
  .no-previos {
    padding: 2rem 1rem;
  }
  
  .no-previos-image {
    max-width: 100%;
  }
}
/* ═══════════════════════════════════════════════════════
   CHAT INSTITUCIONAL UFPSO
   ═══════════════════════════════════════════════════════ */

:root {
    --chat-primary:    #aa1916;
    --chat-primary-dk: #8a1210;
    --chat-primary-lt: rgba(170, 25, 22, 0.1);
    --chat-bg:         #f5f6f8;
    --chat-white:      #ffffff;
    --chat-border:     #e8eaed;
    --chat-text:       #1a1a2e;
    --chat-muted:      #6b7280;
    --chat-shadow:     0 8px 32px rgba(0, 0, 0, 0.12);
    --chat-radius:     20px;
    --chat-radius-sm:  10px;
}

/* ── Contenedor posicionado ─────────────────────────── */
.chat-container {
    position:    fixed;
    bottom:      110px;
    right:       22px;
    /* Máximo z-index válido — el widget de accesibilidad GOV.CO (obligatorio
       en sitios del Estado, lo inyecta un script externo que no controlamos)
       se pone encima con su propio z-index alto. Subir al tope garantiza que
       el chat SIEMPRE gane esa pelea de capas, sin depender de adivinar qué
       valor usa GOV.CO — bug real, visto en producción (el chat se veía
       "metido" dentro del footer al hacer scroll). */
    z-index:     2147483647;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Botón flotante ─────────────────────────────────── */
.chat-trigger {
    position:      relative;
    width:         58px;
    height:        58px;
    border-radius: 50%;
    background:    linear-gradient(135deg, var(--chat-primary) 0%, #c62828 100%);
    box-shadow:    0 4px 18px rgba(170, 25, 22, 0.45);
    display:       flex;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    color:         white;
    font-size:     26px;
    border:        none;
    outline:       none;
    animation:     levitate 3.5s ease-in-out infinite;
    transition:    box-shadow 0.3s;
}

.chat-trigger:hover {
    box-shadow: 0 6px 24px rgba(170, 25, 22, 0.6);
}

.chat-trigger-badge {
    position:      absolute;
    top:           0;
    right:         0;
    width:         18px;
    height:        18px;
    background:    #ff6b35;
    border-radius: 50%;
    font-size:     10px;
    font-weight:   700;
    color:         white;
    display:       flex;
    align-items:   center;
    justify-content: center;
    border:        2px solid white;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* ── Ventana ────────────────────────────────────────── */
.chat-window {
    position:       absolute;
    bottom:         0;
    right:          0;
    width:          450px;
    height:         820px;
    max-height:     calc(100vh - 90px);
    background:     var(--chat-white);
    border-radius:  var(--chat-radius);
    display:        flex;
    flex-direction: column;
    transition:     height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow:     var(--chat-shadow);
    overflow:       hidden;
    transform-origin: bottom right;
    border:         1px solid var(--chat-border);
}

/* Estado inicial compacto: solo bienvenida + preguntas frecuentes */
.chat-window.compact {
    height: 620px;
}

/* ── Header ─────────────────────────────────────────── */
.chat-header {
    background:      linear-gradient(135deg, var(--chat-primary) 0%, #c62828 100%);
    padding:         14px 16px;
    color:           white;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    flex-shrink:     0;
}

.chat-header-left {
    display:     flex;
    align-items: center;
    gap:         12px;
}

.chat-avatar {
    width:           36px;
    height:          36px;
    border-radius:   50%;
    background:      rgba(255, 255, 255, 0.2);
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           white;
    flex-shrink:     0;
    border:          2px solid rgba(255,255,255,0.3);
}

.chat-header-title {
    margin:      0;
    font-size:   1rem;
    font-weight: 600;
    line-height: 1.2;
}

.chat-header-sub {
    font-size:   0.72rem;
    opacity:     0.85;
    display:     flex;
    align-items: center;
    gap:         5px;
    margin-top:  2px;
}

.chat-status-dot {
    width:         7px;
    height:        7px;
    background:    #4ade80;
    border-radius: 50%;
    animation:     pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.8); }
}

.chat-header-actions {
    display: flex;
    gap:     4px;
}

.chat-icon-btn {
    background:      rgba(255, 255, 255, 0.15);
    border:          none;
    color:           white;
    cursor:          pointer;
    width:           30px;
    height:          30px;
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    transition:      background 0.2s;
}

.chat-icon-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ── Cuerpo de mensajes ─────────────────────────────── */
.chat-messages {
    flex:           1;
    overflow-y:     auto;
    padding:        16px 14px;
    background:     var(--chat-bg);
    display:        flex;
    flex-direction: column;
    gap:            10px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ── Fila de mensaje ────────────────────────────────── */
.chat-msg-row {
    display:     flex;
    align-items: flex-end;
    gap:         8px;
    animation:   msgFadeIn 0.25s ease-out;
}

.chat-msg-row.user {
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width:           26px;
    height:          26px;
    border-radius:   50%;
    background:      linear-gradient(135deg, var(--chat-primary), #c62828);
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           white;
    flex-shrink:     0;
    font-size:       11px;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* ── Burbujas ───────────────────────────────────────── */
.message {
    max-width:     75%;
    padding:       10px 14px;
    border-radius: 16px;
    font-size:     0.88rem;
    line-height:   1.5;
    position:      relative;
}

.message.user {
    background:              var(--chat-primary);
    color:                   white;
    border-bottom-right-radius: 4px;
}

.message.bot {
    background:              var(--chat-white);
    color:                   var(--chat-text);
    border-bottom-left-radius: 4px;
    box-shadow:              0 1px 4px rgba(0,0,0,0.07);
}

.message.error {
    background: #fff3f3;
    border-left: 3px solid #ff4444;
}

.message-text {
    margin:  0;
    padding: 0;
}

/* ── Link "Ver más" ─────────────────────────────────── */
.message-link {
    display:      flex;
    align-items:  center;
    margin-top:   8px;
    padding:      6px 10px;
    background:   var(--chat-primary-lt);
    color:        var(--chat-primary);
    border-radius: var(--chat-radius-sm);
    font-size:    0.8rem;
    font-weight:  600;
    text-decoration: none;
    transition:   background 0.2s;
}

.message-link:hover {
    background: rgba(170, 25, 22, 0.18);
}

/* ── Opciones adicionales ───────────────────────────── */
.message-opciones {
    margin-top:   10px;
    border-top:   1px solid var(--chat-border);
    padding-top:  8px;
    display:      flex;
    flex-direction: column;
    gap:          6px;
}

.message-opciones-toggle {
    background:   transparent;
    border:       none;
    color:        var(--chat-primary);
    font-size:    0.8rem;
    font-weight:  600;
    cursor:       pointer;
    display:      flex;
    align-items:  center;
    gap:          6px;
    padding:      4px 0;
    transition:   color 0.2s;
    font-family:  inherit;
}

.message-opciones-toggle:hover {
    color:        var(--chat-primary-dk);
}

.message-opciones-list {
    display:      flex;
    flex-direction: column;
    gap:          6px;
    animation:    msgFadeIn 0.25s ease-out;
}

.message-opcion-btn {
    background:     var(--chat-bg);
    border:         1px solid var(--chat-border);
    border-radius:  var(--chat-radius-sm);
    padding:        8px 10px;
    text-align:     left;
    cursor:         pointer;
    transition:     all 0.2s;
    display:        flex;
    flex-direction: column;
    gap:            2px;
}

.message-opcion-btn:hover {
    background:    var(--chat-primary-lt);
    border-color:  var(--chat-primary);
}

.opcion-titulo {
    font-size:   0.82rem;
    font-weight: 600;
    color:       var(--chat-text);
}

.opcion-resumen {
    font-size: 0.75rem;
    color:     var(--chat-muted);
}

/* ── Sugerencias rápidas ────────────────────────────── */
.chat-sugerencias {
    padding:        8px 0;
}

.chat-sugerencias-label {
    font-size:   0.72rem;
    color:       var(--chat-muted);
    margin:      0 0 8px 0;
    font-weight: 500;
    text-align:  center;
}

.chat-sugerencias-list {
    display:   flex;
    flex-wrap: wrap;
    gap:       6px;
}

.chat-chip {
    background:    var(--chat-white);
    border:        1px solid var(--chat-border);
    border-radius: 20px;
    padding:       5px 12px;
    font-size:     0.78rem;
    color:         var(--chat-text);
    cursor:        pointer;
    transition:    all 0.2s;
    font-family:   inherit;
}

.chat-chip:hover {
    background:    var(--chat-primary-lt);
    border-color:  var(--chat-primary);
    color:         var(--chat-primary);
}

/* ── Insignia de respuesta IA ───────────────────────── */
.ia-badge {
    display:        inline-flex;
    align-items:    center;
    gap:            4px;
    font-size:      0.68rem;
    font-weight:    600;
    color:          var(--chat-primary);
    background:     linear-gradient(135deg, rgba(170,25,22,0.08), rgba(198,40,40,0.12));
    border:         1px solid rgba(170,25,22,0.2);
    border-radius:  20px;
    padding:        2px 8px;
    margin-bottom:  6px;
    letter-spacing: 0.3px;
}

/* Borde izquierdo sutil en respuestas de IA */
.message.ia-response {
    border-left: 3px solid var(--chat-primary);
    padding-left: 11px;
}

/* ── Texto "Analizando con IA..." ───────────────────── */
.thinking-text {
    margin:        0;
    padding:       2px 0;
    font-size:     0.82rem;
    color:         var(--chat-muted);
    display:       flex;
    align-items:   center;
    gap:           6px;
    font-style:    italic;
    animation:     thinkingPulse 1.8s ease-in-out infinite;
}

@keyframes thinkingPulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1;   }
}

/* ── Listas en mensajes del bot ─────────────────────── */
.message-list {
    margin:     6px 0 2px 0;
    padding:    0 0 0 4px;
    list-style: none;
    display:    flex;
    flex-direction: column;
    gap:        4px;
}

.message-list-item {
    display:     flex;
    align-items: flex-start;
    gap:         6px;
    font-size:   0.87rem;
    line-height: 1.45;
}

.message-list-item::before {
    content:       "•";
    color:         var(--chat-primary);
    font-weight:   700;
    flex-shrink:   0;
    margin-top:    1px;
}

/* Líneas de texto normales del bot */
.message-line {
    display:     block;
    line-height: 1.5;
}

/* ── Typing indicator ───────────────────────────────── */
.typing {
    display:     flex;
    gap:         5px;
    padding:     4px 0;
    align-items: center;
}

.typing span {
    width:         8px;
    height:        8px;
    background:    #c8ccd0;
    border-radius: 50%;
    animation:     typingBlink 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
    40%            { transform: scale(1.1); opacity: 1;   }
}

/* ── Footer ─────────────────────────────────────────── */
.chat-footer {
    padding:        12px 14px 10px;
    background:     var(--chat-white);
    border-top:     1px solid var(--chat-border);
    flex-shrink:    0;
}

.input-container {
    display:       flex;
    gap:           8px;
    align-items:   center;
    background:    var(--chat-bg);
    padding:       6px 8px 6px 14px;
    border-radius: 24px;
    border:        1.5px solid transparent;
    transition:    all 0.2s;
}

.input-container:focus-within {
    background:    var(--chat-white);
    border-color:  var(--chat-primary);
    box-shadow:    0 0 0 3px rgba(170, 25, 22, 0.08);
}

.input-container.disabled {
    opacity: 0.6;
}

.chat-input {
    flex:        1;
    background:  transparent;
    border:      none;
    outline:     none;
    padding:     6px 0;
    font-size:   0.88rem;
    color:       var(--chat-text);
    font-family: inherit;
}

.chat-input::placeholder {
    color: #adb5bd;
}

.chat-send {
    background:    var(--chat-primary);
    color:         white;
    border:        none;
    width:         34px;
    height:        34px;
    min-width:     34px;
    border-radius: 50%;
    display:       flex;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    transition:    all 0.2s;
    flex-shrink:   0;
}

.chat-send:hover:not(:disabled) {
    background: var(--chat-primary-dk);
    transform:  scale(1.08);
}

.chat-send:disabled {
    background: #d1d5db;
    cursor:     not-allowed;
}

.chat-footer-note {
    font-size:  0.68rem;
    color:      #b0b8c1;
    text-align: center;
    margin:     7px 0 0 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
    .chat-container {
        bottom: 85px;
        right:  12px;
        left:   12px;
    }
    .chat-window,
    .chat-window.compact {
        width:         100%;
        height:        calc(100vh - 110px);
        max-height:    calc(100vh - 110px);
        right:         0;
        border-radius: 16px;
    }
}

/* Enlaces dentro del texto del mensaje */
.chat-text-link {
    color: var(--chat-primary);
    font-weight: 600;
    text-decoration: underline;
    /* Antes: word-break: break-all → partía el texto LETRA POR LETRA.
       Ahora: solo rompe si una palabra/URL larga no cabe (no el texto normal). */
    overflow-wrap: break-word;
    word-break: normal;
    transition: color 0.2s;
}

.chat-text-link:hover {
    color: var(--chat-primary-dk);
}

/* ── Seguridad: sin selección de texto en el chat. DESACTIVADA temporalmente
      (para poder copiar durante las pruebas). Descomentar al terminar. ──
.chat-window,
.chat-window * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.chat-window input,
.chat-window textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
*/
.info_content {
  position: relative;
  display: block;
  text-align: justify;
  min-height: 50vh;
  padding: 3vh 10vw;
  box-sizing: border-box;
}

.editor .info_component {
  display: block;
}

.edit_component[data-name="Iframe"] {
  position: relative;
  display: block;
  height: 50vh;
  margin: 2rem 0;
}

.editor .edit_component[data-name="Iframe"]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #52525200;
  z-index: 1;
}

.edit_component[data-name="Iframe"] iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid #cdcdcd;
  border-radius: 0.5rem;
}

/*Title*/

.edit_component[data-name="Subtitle"] h2 {
  font-size: 1.8rem;
  font-family: "Myriad Pro regular";
  margin: 0;
  letter-spacing: 0.75px;
}

.edit_component:not([data-name="Hr"]) + .edit_component[data-name="Hr"],
.edit_component:not([data-name="Subtitle"])
  + .edit_component[data-name="Subtitle"],
.edit_component:not([data-name="Title"]) + .edit_component[data-name="Title"] {
  padding-top: 3rem;
}

.edit_component[data-name="Title"] + .edit_component[data-name="Subtitle"] {
  padding-top: 2rem;
}

.edit_component[data-name="Link"] + .edit_component[data-name="Table"] {
  padding-top: 2rem;
}

.edit_component[data-name="Hr"] + .edit_component[data-name="List"] {
  padding-top: 2rem;
}

/* Estilos segun orden */

.edit_component[data-name="Accordion"] + .edit_component[data-name="Subtitle"] {
  padding-top: 2rem;
}
.edit_component[data-name="Accordion"] ~ .edit_component[data-name="Subtitle"] {
  padding-top: 2rem;
}
.edit_component[data-name="Accordion"] ~ .edit_component[data-name="Subtitle"] ,
.edit_component[data-name="Accordion"] ~ .edit_component[data-name="Parag"],
.edit_component[data-name="Accordion"] ~ .edit_component[data-name="Title"]
{
  padding : 1rem 2rem;
}

.edit_component[data-name="Hr"] + .edit_component[data-name="Hr"] {
  padding-top: 1.5rem;
}

.edit_component[data-name="Hr"] hr {
  border: 0;
  background: #d5d5d5;
  border-bottom: 2px solid #d5d5d5;
  height: 1px;
  margin: auto;
  width: 100%;
}

.edit_component[data-name="Title"] {
  padding-top: 2rem;
}

.edit_component[data-name="Title"] h1 {
  font-size: 2rem;
  color: var(--main-red);
  font-family: "Myriad Pro semibold";
  letter-spacing: 0.75px;
  margin: 0;
}

.edit_component {
  padding-top: 2rem;
}

.edit_component[data-name="Parag"] p {
  font-size: 1.4rem;
  font-family: "Myriad Pro Light";
  margin: 0;
  line-height: 1.5;
}

.edit_component[data-name="List"] a,
.edit_component[data-name="Parag"] a,
.edit_component[data-name="Table"] a {
  color: #008cdf !important;
}

.edit_component[data-name="List"] a:hover,
.edit_component[data-name="Parag"] a:hover,
.edit_component[data-name="Table"] a:hover:not(.inned > a) {
  text-decoration: underline;
  cursor: pointer;
}

.edit_component[data-name="Image"] {
  position: relative;
  display: block;
  padding-bottom: 4rem;
  height: fit-content;
  text-align: center;
}

.edit_component[data-name="Image"] img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.edit_component[data-name="Image"] img.aspect_ratio.R75 {
  max-width: 75%;
}

.edit_component[data-name="Image"] img.aspect_ratio.R45 {
  max-width: 45%;
}

.edit_component[data-name="Image"] img.aspect_ratio.R25 {
  max-width: 25%;
}

.edit_component[data-name="Image"] img.aspect_ratio.R15 {
  max-width: 15%;
}

.edit_component[data-name="HighlightText"] {
  position: relative;
  display: block;
  width: initial;
  border: 0;
  outline: none;
}

.edit_component[data-name="HighlightText"] div {
  font-size: 1.2rem;
  color: white;
  font-family: "Myriad Pro light";
  padding: 1rem 2rem;
  background: #4894c1;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.material-icons.inned {
  border: none;
  position: relative;
  display: inline-flex;
  font-size: 1.3rem;
  height: 100%;
  align-items: center;
  opacity: 1;
  padding: 0 0.5rem;
  cursor: default;
  transition: transform ease-in-out 100ms;
}

.material-icons.inned:hover {
  transform: scale(1.1);
}

.material-icons.inned > a,
.material-icons.inned > a:visited {
  color: #008cdf;
}

.edit_component[data-name="List"] ul {
  list-style: none;
  font-family: "Myriad Pro Light";
  font-size: 1.3rem;
  padding: 1.5rem 4rem;
  background: #dddddd;
  margin: 0rem;
  color: black;
  border-radius: 0.25rem;
}

.edit_component[data-name="List"] ul.bg-none {
  background: none;
}

.edit_component[data-name="List"] ul li::before {
  content: "\2022";
  color: #767676;
  font-weight: bold;
  display: inline-block;
  min-width: 1rem;
  white-space: nowrap;
  margin-left: -2rem;
  padding-right: 1rem;
  font-size: 2rem;
}

.edit_component {
  transition: max-height 0.3s linear;
}

.edit_component[data-name="List"] ul li {
  padding-bottom: 0.25rem;
}

/* Estilos de viñeta alternativos (por defecto, sin clase, se mantiene la redonda de arriba) */

.edit_component[data-name="List"] ul.bullet-square > li::before {
  content: "\25aa";
  font-size: 1.5rem;
}

.edit_component[data-name="List"] ul.bullet-numbered {
  counter-reset: bullet-numbered-item;
}

.edit_component[data-name="List"] ul.bullet-numbered > li {
  counter-increment: bullet-numbered-item;
}

.edit_component[data-name="List"] ul.bullet-numbered > li::before {
  content: counter(bullet-numbered-item) ".";
  font-size: 1.3rem;
  font-weight: bold;
}

.edit_component[data-name="List"] ul.bullet-none > li::before {
  content: none;
}

.edit_component[data-name="List"] ul.bullet-circle-outline > li::before {
  content: "\25cb";
  font-size: 1.3rem;
}

.edit_component[data-name="List"] ul.bullet-square-outline > li::before {
  content: "\25a1";
  font-size: 1.3rem;
}

.edit_component[data-name="List"] ul.bullet-arrow > li::before {
  content: "\2192";
  font-size: 1.5rem;
}

.edit_component[data-name="List"] ul.bullet-lower-alpha {
  counter-reset: bullet-lower-alpha-item;
}

.edit_component[data-name="List"] ul.bullet-lower-alpha > li {
  counter-increment: bullet-lower-alpha-item;
}

.edit_component[data-name="List"] ul.bullet-lower-alpha > li::before {
  content: counter(bullet-lower-alpha-item, lower-alpha) ".";
  font-size: 1.3rem;
  font-weight: bold;
}

.edit_component[data-name="List"] ul.bullet-upper-alpha {
  counter-reset: bullet-upper-alpha-item;
}

.edit_component[data-name="List"] ul.bullet-upper-alpha > li {
  counter-increment: bullet-upper-alpha-item;
}

.edit_component[data-name="List"] ul.bullet-upper-alpha > li::before {
  content: counter(bullet-upper-alpha-item, upper-alpha) ".";
  font-size: 1.3rem;
  font-weight: bold;
}

.edit_component[data-name="List"] ul.bullet-roman {
  counter-reset: bullet-roman-item;
}

.edit_component[data-name="List"] ul.bullet-roman > li {
  counter-increment: bullet-roman-item;
}

.edit_component[data-name="List"] ul.bullet-roman > li::before {
  content: counter(bullet-roman-item, upper-roman) ".";
  font-size: 1.3rem;
  font-weight: bold;
}

/* Multinivel: nivel 1 numerado, sub-niveles con círculo relleno (el redondo por defecto) */

.edit_component[data-name="List"] ul.bullet-multilevel {
  counter-reset: bullet-multilevel-item;
}

.edit_component[data-name="List"] ul.bullet-multilevel > li {
  counter-increment: bullet-multilevel-item;
}

.edit_component[data-name="List"] ul.bullet-multilevel > li::before {
  content: counter(bullet-multilevel-item) ".";
  font-size: 1.3rem;
  font-weight: bold;
}

/* Cualquier lista anidada (creada con "aumentar sangría") se ve como sub-ítem simple,
   sin repetir el fondo/relleno grande de la lista de nivel 1 */
.edit_component[data-name="List"] ul li ul {
  list-style: none;
  background: transparent;
  padding: 0.35rem 0 0 2rem;
  margin: 0;
  border-radius: 0;
}

/* Sangría (Párrafo y Lista) */

.edit_component[data-name="Parag"] p.indent-1,
.edit_component[data-name="List"] ul li.indent-1 {
  padding-left: 2rem;
}

.edit_component[data-name="Parag"] p.indent-2,
.edit_component[data-name="List"] ul li.indent-2 {
  padding-left: 4rem;
}

.edit_component[data-name="Parag"] p.indent-3,
.edit_component[data-name="List"] ul li.indent-3 {
  padding-left: 6rem;
}

.edit_component[data-name="Parag"] p.indent-4,
.edit_component[data-name="List"] ul li.indent-4 {
  padding-left: 8rem;
}

/*Acordion*/

.edit_component[data-name="Accordion"] {
  display: block;
  background: transparent;
  margin: 0 2rem;
}

.edit_component[data-name="Accordion"].acc_final {
  padding-top: 0;
  background: white;
}

.folder_accordion {
  position: relative;
  display: block;
  width: inherit;
  height: auto;
  font-family: "Myriad Pro Bold";
}

.folder_button {
  display: block;
  position: relative;
  background-color: #343434;
  border: none;
  /* border-bottom: 2px solid #242424; */
  color: #ffffff;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 1.2rem;
  /* transition: 0.4s; */
  box-sizing: border-box;
  font-family: "Myriad Pro Bold";
  margin: auto;
}

.folder_button.active,
.folder_button:hover {
  background-color: #484848;
}

.folder_button::after {
  content: "\e5ce";
  color: #fff;
  float: right;
  font-size: 2rem;
  line-height: 1.5rem;
  font-family: "Material Icons";
}

.folder_button.closed:after {
  content: "\e5cf";
}

.folder_button::before {
  content: "\e2c7";
  color: #767676;
  float: left;
  margin-left: 0.5rem;
  margin-right: 1rem;
  font-size: 1.5rem;
  font-family: "Material Icons";
}

.folder_accordion.active .folder_button:after {
  content: "\2212";
}

.folder_content {
  font-family: "Myriad Pro Light";
  font-size: 1.2rem;
  /* padding: 0 1rem; */
  background-color: #d4d4d4;
  color: #2b2b2b;
  max-height: auto !important;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-out;
  margin-bottom: 1rem;
}

.folder_fix {
  width: 100%;
  position: relative;
  display: flex;
  flex-flow: wrap;
  margin: 0.35rem;
  justify-content: space-between;
  box-sizing: content-box;
  height: 4rem;
}

.folder_fix .fix_content {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: fit-content;
  height: fit-content;
  font-family: "Myriad Pro Bold";
  color: #5b5b5b;
  letter-spacing: 0.025rem;
}

.folder_fix span {
  display: flex;
  padding: 0.5rem 0rem;
  height: fit-content;
  max-width: 80%;
  letter-spacing: 1px;
}

.folder_fix:hover {
  font-weight: bold;
  cursor: default;
}

.folder_fix p.download {
  display: flex;
  margin: 0;
  color: var(--main-blue);
}

.folder_fix p.download:hover::before,
.folder_fix p.download:hover {
  color: #396cde;
}

.folder_fix p.download::before {
  content: "\e2c4";
  color: var(--main-blue);
  font-size: 1.5rem;
  font-family: "Material Icons";
  padding-right: 0.75rem;
}

strong {
  font-family: "Myriad Pro semiBold";
}

.edit_component[data-name="Accordion"].active .cell_selected,
.edit_component[data-name="Accordion"].active
  .folder_fix
  span.babycell_selected {
  outline: 4px dashed #4894c1;
  border: 0;
  z-index: 1;
}

.edit_component[data-name="Accordion"].active .cell_selected {
  outline: 3px dashed #4894c1;
}

.edit_component[data-name="Accordion"].active
  .folder_fix
  span.babycell_selected {
  outline: 2px dashed #4894c1;
}

.edit_component[data-name="Accordion"].active .folder_fix span {
  position: relative;
}

.edit_component[data-name="Accordion"].active
  .folder_fix
  span.babycell_selected::after {
  position: absolute;
  top: -4px;
  right: -5px;
  color: #008cdf;
  font-size: 1.4rem;
  font-family: "Material Icons";
  content: "\e146";
  z-index: 1;
}

/*Link component*/

.edit_component[data-name="Link"]:not(.info_component) {
  width: fit-content;
  display: inline-block;
}

.edit_component[data-name="Audio"] > .audio_player,
.edit_component[data-name="File"] > .file_link,
.edit_component[data-name="Link"] > .file_link {
  position: relative;
  display: block;
  background: #4894c1;
  font-family: "Myriad Pro Bold";
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: white !important;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  width: fit-content;
  max-width: 100%;
}

.edit_component[data-name="File"] > .file_link:hover,
.edit_component[data-name="Link"] > .file_link:hover {
  background: #427695;
}

.edit_component[data-name="Link"] > .file_link:visited {
  text-decoration: none;
}

.edit_component[data-name="Audio"] > .audio_player::before,
.edit_component[data-name="File"] > .file_link::before,
.edit_component[data-name="Link"] > .file_link::before {
  font-family: "Material Icons";
  color: #ffffff;
  display: inline-block;
  vertical-align: bottom;
  height: fit-content;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.edit_component[data-name="Audio"] > .audio_player::before {
  content: "audiotrack";
}

.edit_component[data-name="Link"] > .file_link::before {
  content: "link";
}

.edit_component[data-name="File"] > .file_link::before {
  content: "text_snippet";
}

/* Audio Component */

.edit_component[data-name="Audio"] > .audio_player {
  padding-right: 6rem;
  padding-bottom: 1rem;
}

.edit_component[data-name="Audio"] > .audio_player > .controls > button {
  display: inline-block;
  background: transparent;
  outline: 0;
  margin: 0;
  padding: 0;
  border-radius: 100%;
  border: 0;
}

.edit_component[data-name="Audio"] > .audio_player > .controls > .player_button,
.edit_component[data-name="Audio"] > .audio_player > .controls > .sound_button {
  margin-right: 1rem;
}

.edit_component[data-name="Audio"] > .audio_player > .controls {
  display: block;
  position: absolute;
  width: fit-content;
  top: 0.2rem;
  right: 0.5rem;
  height: 3rem;
  padding: 0.5rem 0rem;
}

.edit_component[data-name="Audio"]
  > .audio_player
  > .controls
  > .material-icons {
  display: inline-block;
  color: #4894c1;
  padding: 0.2rem;
  font-size: 1.2rem;
  margin: 0;
  width: fit-content;
  height: fit-content;
  background: white;
  border-radius: 100%;
  margin-right: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.edit_component[data-name="Audio"]
  > .audio_player
  > .controls
  > .material-icons:hover {
  background: rgb(236, 236, 236);
}

.edit_component[data-name="Audio"] > .audio_player > .timeline {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0;
  bottom: 0;
  left: 0;
  height: 0.45rem;
  outline: none;
  border-radius: 0 0 0.5rem 0.5rem;
  background: #c9c9c9;
  background-size: 0% 100%;
  background-image: linear-gradient(#a1a1a1, #a1a1a1);
  background-repeat: no-repeat;
  /* border: 1px solid #b1b1b1;
    border-top: 0; */
}

.edit_component[data-name="Audio"]
  > .audio_player
  > .timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(82, 82, 82, 0.616);
  cursor: pointer;
  border-radius: 100%;
}

.edit_component[data-name="Audio"]
  > .audio_player
  > .timeline::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04aa6d;
  cursor: pointer;
}

.edit_component[data-name="Audio"] > .audio_player > .audio_text {
  display: inline-block;
}

.edit_component[data-name="Audio"] audio {
  display: none;
}

.edit_component[data-name="Audio"]:not(.info_component) {
  display: inline-block;
  margin-right: 2rem;
}

/*Acorderon final closure*/

.edit_component[data-name="Accordion"] > span.lastacc {
  display: block;
  width: 100%;
  margin: auto;
  height: 0.55rem;
  border-top: 1px solid #ededed;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.25) 1px,
    transparent 1px,
    transparent 6px
  );
  background-color: #343434;
  background-size: 8px 8px;
  border-radius: 0px 0px 5px 5px;
}

/* destacado */

.edit_component[data-name="HighlightText"] > .red {
  background: #d72636;
}

.edit_component[data-name="HighlightText"] > .blue {
  background: #4894c1;
}

.edit_component[data-name="HighlightText"] > .green {
  background: #5ca78b;
}

.edit_component[data-name="HighlightText"] > .black {
  background: #2b2b2b;
}

/* table */

.edit_component[data-name="Table"] table {
  position: relative;
  display: table;
  width: 100%;
  min-height: 4rem;
  border-collapse: collapse;
  margin-bottom: 4rem;
}

.acc_box table {
  margin-bottom: 0 !important;
}

.edit_component[data-name="Table"] table th {
  border: none;
}

.edit_component[data-name="Table"] table td,
.edit_component[data-name="Table"] table th {
  padding: 1rem;
  text-align: left;
  position: relative;
  cursor: text;
  border-bottom: 1px solid #dddddd;
}

.edit_component[data-name="Table"] table thead,
.edit_component[data-name="Table"] table tbody {
  font-size: 1.35rem;
}

.edit_component[data-name="Table"] table thead {
  font-family: "Myriad Pro Bold";
  background: transparent;
  color: #5a5a5a;
  border-bottom: 2px solid gray;
}

.edit_component[data-name="Table"] table tbody {
  font-family: "Myriad Pro Light";
  background-color: transparent;
  color: #2b2b2b;
}

.edit_component[data-name="Table"].active table thead tr th.cell_selected,
.edit_component[data-name="Table"].active table tbody tr td.cell_selected {
  outline: 2px dashed #4894c1;
}

.edit_component[data-name="Table"].active
  table
  tbody
  tr
  td.cell_selected::before {
  position: absolute;
  top: -4px;
  right: -5px;
  color: #008cdf;
  font-size: 1.4rem;
  font-family: "Material Icons";
  content: "\e146";
  /* -webkit-font-feature-settings: 'liga'; */
  cursor: pointer;
}

.ver-btn {
  color: #525252;
}

.ver-btn:hover {
  color: #2e2e2e;
}

.edit_component[data-name="Table"].prev {
  background: #d3d3d3;
  color: #adadad;
  font-size: 1rem;
}

.edit_component[data-name="Table"].prev table::after {
  content: "table_view";
  font-family: "Material Icons";
  font-size: 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
}

.info_content .info_component {
  display: none !important;
}

.edit_component.acc_box {
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  background-color: #ffffff;
  padding: 0;
}

div.edit_component[data-name="Link"].acc_box {
  width: calc(100% - 4rem);
}

.edit_component[data-name="File"]
  + .edit_component:not(.edit_component[data-name="File"]),
.edit_component[data-name="Link"]
  + .edit_component:not(.edit_component[data-name="Link"]) {
  padding-top: 3rem;
}

.edit_component:not(.edit_component[data-name="File"])
  + .edit_component[data-name="File"],
.edit_component:not(.edit_component[data-name="Link"])
  + .edit_component[data-name="Link"] {
  padding-top: 3rem;
}

/* Image */

.edit_component[data-name="Image"] img.aspect_ratio {
  max-width: 50%;
}

.edit_component[data-name="Image"] img {
  max-width: 100%;
  position: relative;
  display: block;
  margin: auto;
}

.edit_component[data-name="Image"] {
  background: transparent;
  /* height: 100%; */
  display: block;
}

/* Iframe */

.edit_component[data-name="Iframe"] {
  position: relative;
  height: 35rem;
  margin: 0;
}

.edit_component[data-name="Iframe"].info_component {
  height: auto;
}

/**Pensum**/
.edit_component[data-name="Pensum"] {
  position: relative;
  display: block;
  height: 50vh;
  margin: 2rem 0;
}

.editor .edit_component[data-name="Pensum"]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #52525200;
  z-index: 1;
}

.edit_component[data-name="Pensum"] {
  margin-top: 20px;
  height: auto;
  border-radius: 10px;
  padding: 0;
}

.edit_component[data-name="Pensums"].info_component {
  height: auto;
}

/* Animations */

@keyframes bounce-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    40% {
        opacity: .6;
        transform: translateY(5px);
    }

    100% {
        opacity: 0;
        transform: translateY(-200px);
    }
}

@keyframes bounce-top {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    60% {
        opacity: .7;
        transform: translateY(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-right {
    0% {
        opacity: .2;
        transform: translateX(200px);
    }

    60% {
        opacity: .7;
        transform: translateX(-15px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-rotate {
    0% {
        opacity: .2;
        transform: perspective(800px) rotateX(-80deg);
    }

    20% {
        opacity: 1;
    }

    60% {
        transform: perspective(800px) rotateX(20deg);
    }

    100% {
        opacity: 1;
        transform: perspective(800px) rotateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

:root {
    --main-red: #c71122;
    --main-b-red: #e4162a;
    --soft-white: #f3f4f4;
    --blue-black: #14171c;
    --soft-gray: #bfbfbf;
    --main-gray: #242424;
    --main-blue: rgb(0, 113, 179);
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}



.btn-flotante-pdi {
    position: fixed;
    bottom: 155px;
    /* Ajustado para que la separación sea uniforme respecto al de accesibilidad */
    left: 10px;
    z-index: 999;
    width: 48px;
    /* Medida estándar aproximada del botón de UserWay */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-flotante-pdi:hover {
    transform: scale(1.1);
}

.btn-flotante-pdi img {
    width: 100%;
    /* Ocupa el 100% del contenedor de 48px */
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
@font-face {
    font-family: 'Myriad Pro Regular';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Regular'), url(/build/fonts/MYRIADPRO-REGULAR.d30b0546.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Condensed';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Condensed'), url(/build/fonts/MYRIADPRO-COND.26dcc00c.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Condensed Italic';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Condensed Italic'), url(/build/fonts/MYRIADPRO-CONDIT.dcf08241.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Light';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Light'), url(/build/fonts/MyriadPro-Light.43b72dcd.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Semibold';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Semibold'), url(/build/fonts/MYRIADPRO-SEMIBOLD.230dfc3b.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Semibold Italic';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Semibold Italic'), url(/build/fonts/MYRIADPRO-SEMIBOLDIT.6c2fc819.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Bold Condensed';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Bold Condensed'), url(/build/fonts/MYRIADPRO-BOLDCOND.79d01fda.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Bold';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Bold'), url(/build/fonts/MYRIADPRO-BOLD.1c643226.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Bold Italic';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Bold Italic'), url(/build/fonts/MYRIADPRO-BOLDIT.6cb2210e.woff) format('woff');
  }

  @font-face {
    font-family: 'Myriad Pro Bold Condensed Italic';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Myriad Pro Bold Condensed Italic'), url(/build/fonts/MYRIADPRO-BOLDCONDIT.63cfcd40.woff) format('woff');
  }

  /* Tipografías del editor de contenido (lista controlada) */

  @font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/arimo-v36-latin-regular.82def968.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Arimo';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/arimo-v36-latin-italic.2212a5ff.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/arimo-v36-latin-700.311c45eb.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Arimo';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/arimo-v36-latin-700italic.e7277fa2.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/tinos-v26-latin-regular.7ee8055a.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tinos';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/tinos-v26-latin-italic.e3fa4502.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tinos';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/tinos-v26-latin-700.f186f06c.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tinos';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/tinos-v26-latin-700italic.eddb2992.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/montserrat-v31-latin-regular.be11f029.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/montserrat-v31-latin-italic.23260695.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/montserrat-v31-latin-700.9ced692b.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/montserrat-v31-latin-700italic.f6fe4673.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/noto-sans-v42-latin-regular.a368ce60.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Noto Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/noto-sans-v42-latin-italic.1c036262.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/noto-sans-v42-latin-700.0ff35ccf.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Noto Sans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/noto-sans-v42-latin-700italic.55f0609c.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/open-sans-v44-latin-regular.4a40e7d3.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/open-sans-v44-latin-italic.50a67696.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/open-sans-v44-latin-700.10a843b2.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/open-sans-v44-latin-700italic.afcd641c.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/poppins-v24-latin-regular.405055dd.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/poppins-v24-latin-italic.ed357fa1.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/poppins-v24-latin-700.d86662fe.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/poppins-v24-latin-700italic.95e1d1f1.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Texturina';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/texturina-v32-latin-regular.77039635.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Texturina';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/texturina-v32-latin-italic.f80ef650.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Texturina';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/texturina-v32-latin-700.640607e8.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Texturina';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/texturina-v32-latin-700italic.2deccb70.woff2) format('woff2');
  }

  @font-face {
    font-family: 'Tourney';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/tourney-v16-latin-regular.442d7962.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tourney';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/build/fonts/tourney-v16-latin-italic.237d7dac.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tourney';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/tourney-v16-latin-700.bbdd7b38.woff2) format('woff2');
  }
  @font-face {
    font-family: 'Tourney';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(/build/fonts/tourney-v16-latin-700italic.af6f731f.woff2) format('woff2');
  }

/*responsive*/


/* Custom */

@media only screen and (min-width: 0) and (max-width: 600px) {

    /*Partner*/
    .logoBox {
        position: relative;
        padding: 0.5rem;
        width: 25%;
    }
}

@media only screen and (min-width: 0) and (max-width: 1310px) {

    /*Footer*/
    footer .footerBox {
        flex: none;
        text-align: center;
        width: 100%;
    }
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {

    /*Events*/
    .box_news_grad {
        display: none;
    }

    /*Links*/
    #grid_link,
    .self_link {
        justify-content: left !important;
    }

    /*Quote*/
    .quote_box {
        position: relative;
        display: block;
    }

    .quote_img {
        position: relative;
        width: calc(100vw - 4rem);
        height: 30vh;
        right: 0;
    }

    .quote_txt {
        width: calc(100vw - 4rem);
        margin: 0;
        padding: 4rem 2rem;
    }

    /*Events*/
    .sub_event {
        flex: 0 1 calc(100% - 1rem);
        flex-direction: column;
        height: auto;
    }

    .sub_event>.img_event,
    .sub_event>.txt_event {
        width: 100%;
    }

    .txt_event_title {
        margin-right: 4rem !important;
    }

    .txt_event_resume {
        width: calc(100% - 3rem);
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (max-width: 768px) {

    /*Intro*/
    .side-bar {
        position: absolute;
    }

    /*News*/
    /*.box_news {
        width: calc(95vw - 4rem);
    }*/

    /*Events*/
    .sub_event {
        flex: 0 1 calc(100% - 1rem);
    }

    /*Basic*/
    .infoBox {
        flex-basis: 100%;
    }

    .box_news_grad {
        box-shadow: -1rem 0px 1.5rem 1rem white;
    }

    .infoBox.noCliped {
        order: 2;
        padding: 2rem;
    }

    .infoBox.cliped {
        height: 20vh;
    }
}


/* Large devices (laptops/desktops) */

@media only screen and (min-width: 768px) and (max-width: 992px) {

    /*News*/
    /*.box_news {
        width: 48vw;
    }  se quito para que no genere problemas*/

    /*Events*/
    .sub_event {
        flex: 0 1 calc(100% - 1rem);
    }

    /*Basic*/
    .infoBox.cliped {
        flex-basis: calc(30% - 3.5rem);
    }

    .infoBox.noCliped {
        flex-basis: 60%;
    }
}


/* Extra large devices (large laptops and desktop) */

@media only screen and (min-width: 1600px) {

    /*News*/
    .box_news .title {
        font-size: 2rem;
    }
}

/*Para programas*/

.programs-grid {
    display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra los elementos horizontalmente */
  gap: 20px; /* Espaciado entre las tarjetas */
  padding: 20px; /* Espaciado interno del contenedor */
  }
  
  .program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
  
html,
#index,
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body.noscroll {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.slide_title {
  position: relative;
  display: block;
  margin-bottom: 0 !important;
  margin-top: 2rem;
  /*margin: 2rem 0 6rem 0;*/
  font-size: 3.5rem;
  font-family: "Myriad Pro bold";
  color: black;
  /*height: 1em;*/
}

section {
  position: relative;
  display: block;
  /* height: calc(100vw / 2.026); */
  height: fit-content;
  box-sizing: border-box;
  padding: 3vh 7vw;
  padding-bottom: 0; 
  width: 100%;
}

#index {
  background: var(--soft-white);
}

#wrapper {
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: 100vw;
  min-height: 100vh;
  width: 100%;
  z-index: 0;
}

nav#cabezera {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100vw;
  box-sizing: border-box;
  z-index: 3;
  pointer-events: auto;
}

#fixed_nav {
  display: flex;
  flex-flow: wrap;
  position: relative;
  background: transparent;
  padding: 0;
  padding-top: 0.25rem;
  padding-bottom: 1rem;
  justify-content: space-between;
  transition: ease 700ms;
  height: 5rem;
}

#fixed_nav.black {
  background: #0000007a;
  backdrop-filter: blur(1px);
}

#fixed_nav.blacode {
  background: #0000007a;
  /* backdrop-filter: blur(1px); */
}

#fixed_nav.blacode #govco-btn {
  border: 1px solid dimgrey;
}

#fixed_nav.blacode .hamburger-inner {
  background-color: #404040;
}

nav#cabezera.black_hold #fixed_nav {
  background: #0000007a !important;
  backdrop-filter: blur(1px) !important;
}

nav#cabezera #fixed_nav.nav_on {
  pointer-events: auto;
  transform: translateY(0);
}

nav#cabezera #fixed_nav.nav_off {
  pointer-events: none;
  transform: translateY(-8rem);
  transition: linear 200ms;
}

.nav_show {
  visibility: visible;
}

.nav_hidden {
  visibility: hidden;
}

/*hamburgerger menu*/

#hamburger {
  position: relative;
  display: block;
  background-color: var(--main-red);
  background-color: transparent;
  height: 2.5rem;
  width: 2.5rem;
  margin-left: 1.5rem;
  cursor: pointer;
  border-radius: 100%;
}

#hamburger.active {
  color: #414141;
}

#hamburger.active:hover {
  opacity: 0.8;
}

#hamburger.active:hover .hamburger-inner,
#hamburger.active:hover .hamburger-inner::after,
#hamburger.active:hover .hamburger-inner::before {
  opacity: 0.8;
}

.hamburger-box {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: calc(1.5rem + 4px);
  height: 21px;
}

#hamburger .hamburger-inner {
  display: block;
  position: absolute;
  width: 1.5rem;
  height: 3px;
  border-radius: 5px;
  background-color: #ffffff;
  transition-timing-function: ease;
  transition-duration: 0.15s;
  transition-property: transform;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  margin: 2px;
}

#hamburger .hamburger-inner:nth-child(1) {
  top: 0px;
  transition: top 0.12s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s,
    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#hamburger .hamburger-inner:nth-child(2) {
  top: 6px;
  transition: top 0.12s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s,
    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#hamburger .hamburger-inner:nth-child(3) {
  top: 12px;
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s,
    opacity 0.1s linear;
}

#hamburger.active .hamburger-inner {
  top: 6px;
}

#hamburger.active .hamburger-inner:nth-child(1) {
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.16s,
    transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.25s;
  transform: rotate(-45deg);
}

#hamburger.active .hamburger-inner:nth-child(2) {
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.16s,
    transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.25s;
  transform: rotate(45deg);
}

#hamburger.active .hamburger-inner:nth-child(3) {
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
    opacity 0.1s linear 0.22s;
  opacity: 0;
}

/* GOV */

#govco-btn {
  position: relative;
  height: fit-content;
  line-height: 100%;
  outline: 0 !important;
  font-size: 1.2rem;
  font-weight: bolder;
  letter-spacing: 1px;
  border: #ffffff solid 1px;
  padding: 0.35rem 1.3vw 0.35rem 1.6vw;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
  color: #ffffff;
  background: #ffffff1c;
  width: fit-content;
  backdrop-filter: blur(5px);
  margin-right: 1.5vw !important;
}

/* #main-menu.active #govco-btn {
  color: #000000;
    border-color: #000000;
    background: #ffffff26; 
}*/

#govco-btn:hover {
  background: #065fd4 !important;
  border-color: transparent !important;
  color: #ffffffe8 !important;
  border-color: #ffffff00 !important;
}

/* Logo */

#logo_default {
  display: inline-block;
  position: relative;
  width: 18rem;
  height: auto;
  margin-left: 2rem;
  margin-top: 0.5rem;
  opacity: 0;
  z-index: 1;
  /* background-image: url("https://cwebufpso.ufpso.edu.co/media/general/logos/newsvg.png"); */
  background-size: contain;
  background-repeat: no-repeat;
}

#logo_default.animated {
  animation-name: bounce-top;
  animation-fill-mode: forwards;
  animation-duration: 0.7s;
  animation-delay: 0.6s;
}

#logo_default picture,
#logo_default picture img {
  display: block;
  width: 100%;
}

/* main menu*/

#main-menu {
  padding-right: 2rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  display: inline-flex;
  height: fit-content;
  flex-flow: wrap;
  position: absolute;
  background: transparent;
  align-items: center;
  z-index: 7;
  right: 0;
}

#main-menu.active #buscar,
#main-menu.active #traductor {
  color: #414141;
}

#main-menu .sub-main {
  position: relative;
  height: fit-content;
  display: inline-block;
  margin-left: 1.4rem;
  cursor: pointer;
  line-height: 0rem;
}

#buscar_box span {
  font-size: 1.7rem !important;
}

#main-menu span {
  position: relative;
  color: #ffffff;
  font-size: 1.6rem;
  z-index: 2;
}

#buscar_box input {
  display: block;
  position: absolute;
  height: 125%;
  width: 17rem;
  top: -17%;
  right: 1rem;
  color: white;
  background: #ffffff30;
  font-family: "Myriad Pro Light";
  font-size: 1.15rem;
  padding: 0 1rem;
  border: 0;
  outline: 0;
  opacity: 0;
  z-index: 1;
  transition: all ease 300ms;
}

#buscar_box input.active {
  opacity: 1;
}

#buscar_box input::placeholder {
  font-family: "Myriad Pro Regular";
  color: rgba(255, 255, 255, 0.479);
  font-size: 1.1em;
}

#main-menu .material-icons {
  font-weight: bolder;
}

#main-menu.active .material-icons {
  color: black !important;
}

#main-menu.active #buscar_box input {
  color: black;
  background: #52525230;
}

#main-menu.active #buscar_box input::placeholder {
  color: rgb(126, 126, 126);
}

a:-webkit-any-link {
  color: inherit;
  text-decoration: none;
}

body::-webkit-scrollbar {
  width: 0.5em;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background-color: #333333;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.logoGov {
  width: 9rem;
  object-fit: contain;
}

@media only screen and (min-width: 0) and (max-width: 400px) {
  #logo_default {
    margin-left: 1rem;
    width: 18rem;
  }

  #main-menu {
    padding-right: 0;
    width: 100%;
    margin-top: 0rem;
  }
  #hamburger {
    margin-left: auto;
  }

  .hamburger-box {
    margin-right: rem;
    margin-top: 18px;
  }
  #govco-btn {
    position: absolute;
    top: 80px;
    left: 1rem;
  }
  .logoGov {
    width: 150px;
    object-fit: contain;
  }
  #fixed_nav {
    height: 8rem;
  }
}

@media only screen and (min-width: 401px) and (max-width: 680px) {
  #govco-btn {
    position: absolute;
    top: 80px;
    left: 2rem;
  }
  #main-menu {
    padding-right: 0;
    width: 100%;
    margin-top: 0rem;
  }
  #hamburger {
    width: 100%;
    margin-left: auto;
  }
  .hamburger-box {
    margin-right: 2rem;
    margin-top: 18px;
  }
  .logoGov {
    width: 150px;
    object-fit: contain;
  }
  #fixed_nav {
    height: 8rem;
  }
}

/* Custom styles for UserWay accessibility widget */
body .uwy .uai, body .uwy .ulsti {
    margin-bottom: 89px !important; /* Ajusta este valor según sea necesario para la posición deseada */
    /*left: 10px !important; /* Mantener en la izquierda o ajustar según sea necesario */
    right: auto !important; /* Asegurarse de que no haya un 'right' que lo mueva */
}

/* =====================================================
   MÓDULO: Buzón de Rendición de Cuentas
   Archivo: buzonRendicionCuentas.css
   ===================================================== */

/* contenedor general */
.buzon-container {
  max-width: 80%;
  margin: 58px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  border-top: 5px solid #e2001a;
  position: relative;
  transition: border-color 0.4s ease;
}

.buzon-container.status-success {
  border-top-color: #4CAF50 !important;
}

/* header */
.buzon-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  /* Para posicionar el logo relativo a la cabecera */
  min-height: 50px;
}

.buzon-titulo {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #222;
  text-align: center;
}

.buzon-inst-logo {
  height: 40px;
  width: auto;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

/* formulario */
.buzon-form {
  width: 100%;
}

/* fila flex */
.buzon-row {
  display: flex;
  flex-wrap: wrap;
}

/* columnas */
.buzon-col {
  padding: 8px;
  box-sizing: border-box;
}

.buzon-col-33 {
  flex: 0 0 33.33%;
  max-width: 33.33%;
}

.buzon-col-100 {
  flex: 0 0 100%;
  max-width: 100%;
}

.buzon-col-flex {
  flex: 1;
}

/* labels y controles */
.buzon-label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 600;
}

.buzon-label .buzon-opcional {
  font-weight: 400;
  color: #999;
  font-style: italic;
  margin-left: 4px;
}

.buzon-label .buzon-requerido {
  color: #e2001a;
  margin-left: 2px;
}

.buzon-input,
.buzon-select,
.buzon-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #dadada;
  border-radius: 6px;
  font-size: 14px;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: inherit;
}

.buzon-input:focus,
.buzon-select:focus,
.buzon-textarea:focus {
  outline: none;
  border-color: #534445;
  box-shadow: 0 4px 14px rgba(226, 0, 26, 0.06);
}

.buzon-input,
.buzon-select {
  height: 40px;
  line-height: normal;
}

/* textarea */
.buzon-textarea {
  min-height: 120px;
  resize: vertical;
}

/* placeholder personalizado */
.buzon-input::placeholder,
.buzon-textarea::placeholder,
.buzon-select.placeholder-color {
  color: #bbb;
  font-style: italic;
}

/* badge anónimo */
.buzon-anonimo-badge {
  display: inline-block;
  background: #f0f0f0;
  color: #888;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
}

/* botón guardar */
.buzon-btn-enviar {
  background: #e2001a;
  color: #fff;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.buzon-btn-enviar:hover:not(:disabled) {
  background: #c40016;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 0, 26, 0.3);
}

.buzon-btn-enviar:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* contenedor acciones */
.buzon-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* checkbox personalizado */
.buzon-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  margin: 0;
  user-select: none;
}

.buzon-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #e2001a;
  flex-shrink: 0;
}

.buzon-checkbox-text {
  line-height: 1.4;
}

.buzon-checkbox-link {
  color: #e2001a;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 2px;
}

.buzon-checkbox-link:hover {
  text-decoration: underline;
  color: #c40016;
}

/* mensaje de error de campo */
.buzon-field-error {
  color: #b00020;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === OVERLAY DE CARGA === */
.buzon-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
  animation: buzonFadeIn 0.3s ease;
}

.buzon-loading-content {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.buzon-loading-content p {
  margin: 15px 0 0 0;
  color: #555;
  font-size: 16px;
  font-weight: 500;
}

.buzon-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #e2001a;
  border-radius: 50%;
  animation: buzonSpin 1s linear infinite;
  margin: 0 auto;
}

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

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

/* --- Estilos para Modo Modal --- */
.buzon-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  backdrop-filter: blur(8px);
  padding: 20px;
  animation: buzonFadeIn 0.4s ease;
}

.buzon-modal-container {
  background: white;
  width: 100%;
  max-width: 1100px;
  /* Antes 900px */
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: buzonSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.buzon-close-x {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  /* Un poco más gris */
  z-index: 100;
  transition: all 0.2s ease;
  background: #f0f0f0;
  /* Un poco más gris */
  border-radius: 50%;
  line-height: 1;
}

.buzon-close-x:hover {
  color: #222;
  background: #e0e0e0;
  transform: scale(1.1);
  /* Efecto más suave que rotar 90deg */
}

@keyframes buzonFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes buzonSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.buzon-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buzon-modal-icon-svg {
  width: 100%;
  height: 100%;
}

/* Modal tipos */
.buzon-modal-success {
  border-top: none !important;
}

.buzon-modal-error {
  border-top: none !important;
}

.buzon-modal-info {
  border-top: none !important;
}

.buzon-modal-success .buzon-modal-icon-circle {
  stroke: #4CAF50;
  stroke-width: 2;
  fill: none;
  animation: buzonCheckCircle 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.buzon-modal-success .buzon-modal-icon-check {
  stroke: #4CAF50;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: buzonCheckmark 0.3s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.buzon-modal-error .buzon-modal-icon-circle {
  stroke: #F44336;
  stroke-width: 2;
  fill: none;
  animation: buzonCheckCircle 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.buzon-modal-error .buzon-modal-icon-x {
  stroke: #F44336;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: buzonCheckmark 0.3s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.buzon-modal-info .buzon-modal-icon-circle {
  stroke: #2196F3;
  stroke-width: 2;
  fill: none;
  animation: buzonCheckCircle 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.buzon-modal-info .buzon-modal-icon-line {
  stroke: #2196F3;
  stroke-width: 3;
  stroke-linecap: round;
}

.buzon-modal-info circle {
  fill: #2196F3;
}

@keyframes buzonCheckCircle {
  0% {
    stroke-dasharray: 0 157;
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dasharray: 157 157;
    stroke-dashoffset: 0;
  }
}

@keyframes buzonCheckmark {
  0% {
    stroke-dashoffset: 48;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.buzon-modal-text {
  margin-bottom: 25px;
  text-align: center;
}

.buzon-modal-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333;
}

.buzon-modal-message {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: #666;
}

.buzon-modal-button {
  background: #e2001a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin: 0 auto;
  min-width: 100px;
}

.buzon-modal-button:hover {
  background: #c40016;
  transform: translateY(-1px);
}

.buzon-modal-button-success {
  background: #4CAF50;
}

.buzon-modal-button-success:hover {
  background: #45a049;
}

.buzon-modal-button-error {
  background: #F44336;
}

.buzon-modal-button-error:hover {
  background: #da190b;
}

.buzon-modal-button-info {
  background: #2196F3;
}

.buzon-modal-button-info:hover {
  background: #0b7dda;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 880px) {
  .buzon-container {
    max-width: 100%;
    padding: 16px;
    margin: 10px;
  }

  .buzon-row {
    flex-direction: column;
  }

  .buzon-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .buzon-actions {
    flex-direction: column;
    gap: 10px;
  }

  .buzon-btn-enviar {
    width: 100%;
    text-align: center;
  }

  .buzon-modal-content {
    width: 95%;
    padding: 30px 20px 20px;
  }

  .buzon-modal-icon {
    width: 60px;
    height: 60px;
  }

  .buzon-modal-title {
    font-size: 20px;
  }

  .buzon-modal-message {
    font-size: 14px;
  }
}
