section.banner-inicio{
    position: relative;
    border-radius: 0;
}
.banner-inicio .bajar-gif{
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, -50%);
}
.banner-inicio .bajar-gif img {
    width: 60%;
}
section.catProduct, section.colegio,
section.portal{
    background-color: var(--crema);
}


.txtTt .h4 .word1 {
    font-size: 1.5rem;
    font-weight: 400;
}
.txtTt .h4 .word2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: capitalize;
}
.txtTt .h4{
    color: var(--blanco);
    line-height: 1;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   ITEM CAT PRODUCT
========================================================== */
.itemCatProduct{
  position:relative;
  overflow:hidden;
  display:inline-block;
  cursor:pointer;
  border-radius:10px;
  width:460px;
  height:460px;
}

.itemCatProduct img.imgDest{
  width:100%;
  height:100%;
  border-radius:10px;
  object-fit:cover;
  transition:transform .5s ease-in-out;
}

.itemCatProduct .divFlecha{
  position:absolute;
  top:25px;
  right:25px;
  display:flex;
  align-items:flex-end;
  color:#fff;
  gap:5px;
  z-index:2;
  flex-direction:column;
}
.itemCatProduct .divFlecha span{
  opacity:0;
  font-size:12px;
  transition:opacity .3s ease-in-out;
}
.itemCatProduct .divFlecha i{
  line-height:0;
  font-size:1.8rem;
  transition:opacity .3s ease-in-out;
}

.itemCatProduct .txtTt{
  position:absolute;
  top:25px;
  left:25px;
  color:#fff;
  font-size:1.2rem;
  font-weight:bold;
  z-index:2;
}

.itemCatProduct a:hover img{
  transform:scale(1.1);
  filter:brightness(.8);
}
.itemCatProduct a:hover .divFlecha span{ opacity:1; }

.itemCatProduct a::after{
  content:"";
  position:absolute;
  top:-100%;
  right:-100%;
  width:100%;
  height:100%;
  background:var(--after-color, #72BE44);
  mix-blend-mode:multiply;
  opacity:.8;
  transition:top .5s ease-in-out, right .5s ease-in-out;
  z-index:1;
}
.itemCatProduct a:hover::after{
  top:0;
  right:0;
}

.itemCatProduct:nth-child(3n+1){ --after-color:#72BE44; }
.itemCatProduct:nth-child(3n+2){ --after-color:#FFD500; }
.itemCatProduct:nth-child(3n){ --after-color:#BFED00; }

#slidercatProduct {
    
    max-width: 100%;
    overflow: hidden; /* Evita que se salga del contenedor */
}

#slidercatProduct.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

#slidercatProduct.owl-carousel .owl-stage {
    display: flex;
}

#slidercatProduct.owl-carousel .item {
    max-width: 100%;
    box-sizing: border-box;
}
#slidercatProduct .owl-stage-outer.inicio-margin {
    margin-left: 11.5rem !important;
}
#slidercatProduct .owl-stage-outer{
    transition: margin-left 0.4s ease-in-out !important;
}
 
/* Centrar las flechas de navegación horizontalmente */
#slidercatProduct .owl-nav {
    position: relative;
    bottom: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

/* Estilos generales para las flechas */
#slidercatProduct .owl-nav button {
    background: var(--amarillo);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 25px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Posición de las flechas */
#slidercatProduct .owl-prev {
    position: absolute;
    left: 50px;
}

#slidercatProduct .owl-next {
    position: absolute;
    right: 50px;
}

.txt-oculto, .btn-Mproceso {
    display: none;
}
.procesosP{
    position: relative;
}
.procesosP .colum1, .procesosP .colum3{
    width: 32%;
    height: 440px;
}
.procesosP .card, .colum2{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.procesosP .colum2 {
    width: 36%;
    height: 420px;
    display: flex;
    justify-content: center;
}
.row-cards, .row-pilares{
    max-width: 1000px;
}
.procesosP .colum1{
    padding-right: 15px;
}
.procesosP .colum3{
    padding-left: 15px;
}
.card-2, .card-5{
    margin: 15px 0;

}
.btn-Mproceso{
    cursor: pointer;
}
.card-1, .card-2, .card-3, 
.card-4, .card-5, .card-6 {
    height: 130px;
    cursor: pointer;
    border: none;
    border-radius: 0;
}
.procesosP .card-content div.h4 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}
.procesosP .card .card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
    transition: transform 0.5s ease;
}
/* Fondo de la tarjeta */
.procesosP .card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.5s ease, opacity 0.5s ease;
    z-index: 1;
}
.procesosP .card-1 .text, .procesosP .card-2 .text {
    display: flex;
    justify-content: center;
    gap: 50px;
}
/* Efecto hover: el fondo se difumina y el texto se acerca ligeramente */
.procesosP .card:hover .card-bg {
    filter: blur(2px);
    opacity: 0.8;
}
.procesosP .card:hover .card-content {
    transform: scale(1.05);
}
.card-3 .text p b, 
.card-4 .text p b,
.card-6 .text p b{
  font-size:2rem;
}
.card-1, .card-1 img{
    border-top-left-radius: 160px;
}
.card-3, .card-3 img{
    border-bottom-left-radius: 160px;
}
.card-4, .card-4 img{
    border-top-right-radius: 160px;
}
.card-6, .card-6 img{
    border-bottom-right-radius: 160px;
}
.colum2 .card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.card-content div.h5{
    font-size: 1.2rem;
    color: white;
}
.colum2 .card-content a{
    display: block;
    padding: 10px 15px;
    background-color: #FFD500;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 50px;
    color: #0B5D18;
    font-weight: bold;
}
.colum2 .card-content a:hover{
    background-color: #0B5D18;
    color: white;
    text-decoration: none;
}
/* Colores de fondo al activar */
.card-1.active { background-color: #2C5904 !important; } /* rojo */
.card-3.active { background-color: #72BE44 !important; } /* verde */
.card-4.active { background-color: #FFD22F !important; } /* azul */
.card-6.active { background-color: #BFED00 !important; } /* naranja */


/* === Colores por card (puedes cambiarlos a gusto) === */
.card-1 { --active-bg: #2C5904; --active-text: #ffffff; } /* rojo + texto oscuro */
.card-3 { --active-bg: #72BE44; --active-text: #ffffff; } /* verde + texto verde-oscuro */
.card-4 { --active-bg: #FFD22F; --active-text: #2C5904; } /* azul + texto blanco */
.card-6 { --active-bg: #BFED00; --active-text: #2C5904; } /* naranja + texto oscuro */

/* === Estado activo: aplica bg y texto === */
.procesosP .card.active {
  background-color: var(--active-bg) !important;
  transition: transform 0.3s ease, background-color 0.5s ease, color 0.3s ease;
}

/* Forzar color de texto al activar (sobrescribe color: #fff que tienes por defecto) */
.procesosP .card.active .card-content,
.procesosP .card.active .card-content * {
  color: var(--active-text) !important;
  fill: var(--active-text) !important; /* para SVG/icons */
}

/* Si usas iconos <i> (Bootstrap Icons) también heredan */
.procesosP .card.active i,
.procesosP .card.active .bi {
  color: var(--active-text) !important;
}

/* Si tienes botones dentro de la card activa y quieres que cambien */
.procesosP .card.active .btn,
.procesosP .card.active a.btn {
  border-color: var(--active-text) !important;
  color: var(--active-text) !important;
}





.hojaIzq, .hojaDere{
    position: absolute;
    width: 11%;
}
img.hojaDere {
    right: 0;
    top: 70px;
}
img.hojaIzq {
    bottom: -2rem;  
    left: 0;
}
.sosten{
    background-color: var(--crema);
}
.row-pilares {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.row-pilares>div {
    width: 350px;
    overflow: hidden;
    height: 450px;
    display: flex;
    transition: width 0.5s, opacity 0.5s;
}
.row-pilares>div img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: width 0.5s;
}
.row-pilares>div .div-img{
    height: 100%;
    width: 100%;
    transition: width 0.5s;
    position: relative;
}
.row-pilares .txt-pilar{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    padding: 20px;
    pointer-events: none;
}

/* Clases que se activan con jQuery */
.row-pilares > div.active {
    width: 100%;
}

.row-pilares > div.active .div-img {
    width: 45%;
}

.row-pilares > div.active .txt-pilar {
    opacity: 1;
    pointer-events: auto;
}
/* Los otros pilares se ocultan completamente */
.row-pilares > div.hidden {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.5s, opacity 0.4s;
}
.txt-pilar div.h3{
    color:#2C5904;
    font-weight: bold;
}
.txt-pilar p{
    color: #43301F;
    font-weight: 500;
    line-height: normal;
}
.txt-pilar div.h3, .txt-pilar p{
    text-align: left !important;   
}
.txt-pilar a{
    background-color: #72BE44;
    border-radius: 8px;
    color: white;
    padding: 10px 50px;
    text-align: right;
    line-height: 1;
    width: max-content;
    margin-right: 0;
    margin-left: auto;
    margin-top: 3rem;
    font-weight: 500; 
}
.txt-pilar a:hover{
    background-color: #0B5D18;
    text-decoration: none;
}
.pilar1, .pilar2.active, .pilar3.active  {
    border-radius: 10px 0px 0px 10px;
}
.pilar3 {
    border-radius: 0px 10px 10px 0px;
}
.div-img span {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 15px 40px;   
    border-radius: 20px 0 0 0;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}
.pilar1 .div-img span{
    background: rgb(114 190 68 / 60%);
}
.pilar2 .div-img span{
    background: rgb(255 213 0 / 60%);
}
.pilar3 .div-img span{
    background: rgb(191 237 0 / 60%);
}
a.btn-conoce {
        background-color: #FFD500;
    padding: 12px 20px;
    line-height: 1;
    color: #3F3F3F;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
}
a.btn-conoce:hover{
    text-decoration: none;
    background-color: #0B5D18;
    color: white;
}

section.colegio .cont-slider{
    max-width: 1440px ;
    margin: auto;
}


.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #2C5904;
  color: #fff;
  gap: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.custom-slider {
  width: 100%;
}

/* Cada slide completo */
.custom-slider .slider-item {
  display: flex;
  flex-wrap: nowrap;
  /* gap: 30px; */
  align-items: stretch;
}

/* Columna izquierda: media principal */
.slider-left-container {
  flex: 0 0 50%;
  max-width: 50%;
}

.main-media {
  width: 100%;
  height: 350px;
}

.cole-main-image,
.cole-main-video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Columna derecha: texto + thumbs */
.slider-right-static {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
}

.slider-text .h2.slider-title {
  line-height: normal;
  font-size: 25px;
  font-weight: 700;
}

.slider-text p.slider-desc {
  font-size: 15px;
  margin-bottom: 0;
  line-height: normal;
  font-weight: 300;
}

.slider-text hr {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
  border: 0;
  background: #ffffff;
  height: 4px;
  width: 50%;
  display: block;
  margin-left: 0;
}

/* Thumbs */
.thumbs-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  height: 130px;
}

.thumb-item {
  flex: 1 1 33.33%;
  cursor: pointer;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* Thumb de video con icono play */
.thumb-video-wrap {
  position: relative;
}

.thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.thumb-play-icon i {
  font-size: 40px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* Botones slick */
.slider-wrapper .slick-prev,
.slider-wrapper .slick-next,
.hitos .hitos-prev,
.hitos .hitos-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 40px;
  height: 40px;
  background: transparent;
  padding: 0;
  z-index: 10;
}

.slider-wrapper .slick-next:before,
.slider-wrapper .slick-prev:before {
  content: '';
}

.slider-wrapper .slick-prev { left: 25px; }
.slider-wrapper .slick-next { right: 25px; }

/* Responsive básico */
@media (max-width: 991px) {
  .custom-slider .slider-item {
    flex-direction: column;
  }
  .slider-left-container,
  .slider-right-static {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .slider-wrapper .slick-prev { left: 15px; }
  .slider-wrapper .slick-next { right: 15px; }
}

/* Fade suave para el media principal */
.main-media.fade-out {
    opacity: 0;
    transition: opacity .25s ease;
}

.main-media.fade-in {
    opacity: 1;
    transition: opacity .25s ease;
}


.hitos .px-0.item-1 {
    max-width: 227px;
}
.hitos .px-0.item-2 {
    max-width: 543px;
}
.hitos .px-0.item-3 {
    max-width: 410px;
}
.hitos .px-0.item-4 {
    max-width: 546px;
    margin-right: 1rem;
}
.hitos .px-0.item-5 {
    max-width: 618px;
}

.animated-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 460px;
  background-color: #000;
  border-radius: 8px;
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 105%; /* Para simular desplazamiento */
  height: 100%;
  background-image: url('../img/nuevo-fondo.jpg');
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  animation: moveBackground 5s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes moveBackground {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-4.8%);
  }
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 4;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
        padding: 50px;
}
.blur-overlay {
  position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url(../img/fondo-ovalo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}
.decor-img {
  position: absolute;
  transition: transform 0.5s ease;
  z-index: 3;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.img-left {
  bottom: 0;
  left: 0;
    width: 250px;
  transform: translateX(-220px);
   animation-name: showFromLeft;
}

.img-right-1 {
width: 160px;
  top: 10px;
  right: 0;
  transform: translateX(200px);
  animation-name: showFromRight1;
}

.img-right-2 {
  bottom: 0;
  width: 250px;
  right: 0;
 transform: translateY(245px);
  animation-name: showFromBottom;
}

/* Animaciones individuales sincronizadas */

/* Animaciones individuales sin opacity */
@keyframes showFromLeft {
  0% {
    transform: translateX(-220px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes showFromRight1 {
  0% {
    transform: translateX(200px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes showFromBottom {
  0% {
    transform: translateY(245px);
  }
  100% {
    transform: translateY(0);
  }
}
.colegio a.btn-conoce {
    padding: 12px 40px;
}
.banner-content p {
    font-size: 23px;
    font-weight: 500;
}
.banner-content div.h4 {
    font-size: 35px;
    font-weight: 800;
    margin: 0;
}
.banner-content div.h3 {
    letter-spacing: 5px;
    font-size: 25px;
    font-weight: 400;
    margin: 0;
}
.banner-content div.h2 {
    font-size: 35px;
    font-weight: 700;
    padding: 0px 200px;
    line-height: 1.1;
}
.banner-content a {
    background-color: white;
    padding: 5px 25px;
    font-size: 15px;
    line-height: normal;
    border-radius: 50px;
    color: #453D3B;
    font-weight: 600;
}
.banner-content a:hover{
    background-color: var(--amarillo);
    color: #2C5904;
    text-decoration: none;
}
.banner-content div.h2,
.banner-content div.h3,
.banner-content div.h4,
.banner-content p {
  position: relative;
  z-index: 4;
}
.portal .card, .portal .card img{
    border-radius: 8px;
    border: none;
}
.portal .card{
    box-shadow: 0px 4px 22.9px 0px rgba(0, 0, 0, 0.15);
}
.portal .portal_text .h2{
    color: #2C5904;
    font-weight: 400;
    line-height: normal;
}
.portal .portal_text .h2 b{
    font-weight: 700;
}
.portal .portal_text p{
    color: #2C5904;
    font-size: 14px;
font-style: normal;
font-weight: 600;
}
a.btn-ingresa {
        background-color: #FFD500;
    padding: 8px 25px;
    line-height: 1;
    color: #0B5D18;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
}
a.btn-ingresa:hover{
    text-decoration: none;
    color: #2D5814;
    background-color: #72BE44;
}
.banner_animado .container-fluid {
    max-width: 1440px;
    margin: auto;
}




/* === Tabs de categoría === */
.slider-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slider-tab {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 1.15rem;
  color: #81C559;
  cursor: pointer;
  padding: 0.2rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.slider-tab.active {
  border: 1px solid #0B5D18;
  color: #0B5D18;
}

/* === Contenedor del Swiper === */
.swiper-container {
  position: relative;
  overflow: hidden;
  padding: 10px 60px;
}

/* Gradientes a los lados */
.swiper-container::before,
.swiper-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.swiper-container::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.swiper-container::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

/* === Swiper Slide === */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  height: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(1);
  opacity: 1;
  will-change: transform, opacity;
}

/* Imagen de fondo */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Contenido sobre la imagen */
.slide-content {
  position: relative;
    z-index: 1;
    padding: 1rem;
    color: #fff;
    font-weight: bold;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: auto;
}
.swiper-slide::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #000000d3);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 1;
}

/* Botón */
.slide-content .btn {
  display: inline-block;
  margin-top: 10px;
  background: white;
  color: black;
  border-radius: 20px;
  padding: 6px 20px;
  text-decoration: none;
  font-weight: 500;
}

/* === Escalado y opacidad === */
.swiper-slide {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(0.72) !important;
  opacity: 1;
}
.swiper-slide-next.scale-center {
    margin-left: 0px;
    margin-right: 10px;
}
.scale-center {
  transform: scale(1) !important;
  opacity: 1;
  z-index: 3;
      margin-left: 10px;
    margin-right: 0px;
}

.scale-edge {
  transform: scale(0.85) !important;
  opacity: 0.4;
  z-index: 1;
}
/* === Flechas de navegación === */
.swiper-button-next,
.swiper-button-prev {
  background: #0B5D18;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: white;
  z-index: 99;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
}
.swiper-viewport {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}
.swiper-slide-active.scale-edge {
    margin-left: -10px;
}
.aldia{
    max-width: 1440px;
    margin: auto;
}
.aldia .h2 b {
    color: #0B5D18;
    font-weight: 700;
}
.aldia .h2 {
    color: #81C559;
    font-weight: 400;
}
.aldia hr {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    height: 4px;
    background: #2C5904;
    width: 12%;
}




.swiper-container {
  transition: min-height 0.3s ease;
}

.loading-slide,
.error-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  font-weight: 600;
  color: #2C5904;
  background: #f6f4e8;
}


video.cole-main-video-el {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}



.banner-video-wrap{
  position: relative;
  width: 100%;
  height: 100%;
}

.video-overlay-loader{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.25);
  opacity: 1;
  pointer-events:none;
  transition: opacity .25s ease;
}

.video-overlay-loader.is-hidden{
  opacity: 0;
}

.spinner{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  animation: spin 0.9s linear infinite;
}

@keyframes spin{ to { transform: rotate(360deg); } }


.main-media {
  position: relative;
}

.cole-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.15);
  border-radius: 10px;
  backdrop-filter: blur(1px);
  z-index: 5;
  opacity: 1;
  transition: opacity .25s ease;
}

.cole-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
