html, body {
    background: #ffffff !important;
    overscroll-behavior: none;
    margin-top: -2px;
    word-spacing: 0.2em;
}

.breadcrumb a {
    font-family: 'Platform';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0.02em; 
    color: #000; 
}

.breadcrumb ol li:last-child span {
    font-family: 'Platform';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #808080;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.titulos p, .titulos-blancos p {
    font-family: 'Platform', sans-serif !important; 
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 37px !important;  
    text-transform: uppercase !important;
} 

.titulos-blancos p {
    color: #FFF !important;
    text-align: center !important;
}

.sub-titulos h2, .sub-titulos-blancos h2 {
    font-family: 'Platform', sans-serif !important; 
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 36px !important;
    line-height: 37px !important; 
} 

.sub-titulos-blancos h2 {
    color: #FFF !important;
    text-align: center !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
    margin-bottom: 25px !important;
}

.parrafos p, .parrafos-blancos p {
    font-family: 'Platform', sans-serif !important; 
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 23px !important;
    letter-spacing: 0.02em !important; 
}

.parrafos-blancos p {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    max-width: 700px;             
    width: 100%; 
    color: #FFF !important;
    text-align: center !important;
    margin-right: auto;
    margin-left: auto;
}

.sub-parrafos p {
    font-family: 'Platform', sans-serif !important; 
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    color: #000000 !important;
}

.titulos-rojos {
    font-family: 'Platform', sans-serif !important; 
    font-style: normal !important;
    font-weight: 250 !important;
    font-size: 90px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
    color: #E42618 !important;
    letter-spacing: 0.02em !important;
} 

.ver-video p {
    font-family: 'Platform', sans-serif !important; 
    font-size: 16px!important;
    font-style: normal!important;
    font-weight: 300 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    color: #FFF !important;
    text-align: center !important;
}

.video-overlay .elementor-heading-title { 
    font-family: 'Platform';
    color: #FFFFFF;
    font-size: 60px;
    line-height: 55px;
    font-weight: 500;
    bottom: 45px;  
    letter-spacing: 0.02em;
    text-align: left;
    padding-right: 24%;
    animation-duration: 1s;
    animation-name: slidein;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
.views-field-field-enlace-1 .caption .enlace a { 
    letter-spacing: -0.02em !important; 
}
@media (max-width: 768px) {
    .video-overlay .elementor-heading-title {
        font-size: 40px !important;
        line-height: 1.1;
        padding-right: 15px; 
    }
}
@keyframes slidein {
  0% {
    transform: translateX(50px);  
    opacity: 0;                    
  }
  100% {
    transform: translateX(0);     
    opacity: 1;
  }
}

#video-overlay {
  display: none;
  position: fixed;       
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999999;       
  justify-content: center;
  align-items: center;
}

#video-overlay.active {
  display: flex;
}

#video-overlay .video-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
   max-height: 90vh;
  background: #000;
  overflow: hidden;
}

#video-overlay iframe {
  width: 100%;
  height: 100%;
}  

#close-video {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;

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

  opacity: 0;               
  transition: opacity 0.2s;  
  z-index: 10;             
}

#video-overlay .video-container:hover #close-video {
  opacity: 1;               
}

.imagen-fondo .ver-video:hover {
    cursor: pointer;
} 

#footer { 
    padding-bottom: 2.5rem;
}

.menu--menu-pie li {
    margin-top: -3px;
}

.elementor-tab-title::after {
  content: url('/img/cms/desplegar.svg');
  display: inline-block;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}

/* Estado abierto (rota el icono) */
.elementor-tab-title.elementor-active::after {
  transform: translateY(-50%) rotate(180deg);
}

.elementor-tab-title {
  position: relative;
}
