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

.content-wrapper {
    padding-right: 0;
    padding-left: 9px;
}

.breadcrumb a {
    font-family: "Gill Sans Nova", "sans-serif";
    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: "Gill Sans Nova", "sans-serif";
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #808080;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
.parrafos-subtitulos-ert p {
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 32px !important;
    line-height: 37px !important;
    margin-top: 5px !important;
    margin-bottom: 25px !important;
    font-family: 'London Tube Normal' !important;
    text-transform: uppercase !important;
    color: #000000 !important; 
    letter-spacing: 0.02em !important;
    font-stretch: normal !important;
    text-align: left !important;
}

.parrafos-subtitulos-ert-2 p {
    font-weight: 600 !important;
    font-size: 36px !important;
    line-height: 37px !important;
    letter-spacing: 0.02em !important;
    color: #000000 !important;
    padding-bottom: 15px !important;
    font-family: 'Gill Sans Nova' !important;
    font-style: normal !important;
    font-stretch: normal !important;
    text-align: left !important;
}

.parrafos-ert p {
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 23px !important;
    letter-spacing: 0.02em !important;
    font-family: 'Gill Sans Nova' !important;
    font-style: normal !important;
    font-stretch: normal !important;
    color: #000000 !important;
    text-align: left !important;  
}

.titulos-ert p { 
    font-style: normal !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 37px !important;
    margin-top: 5px !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    font-family: 'London Tube Normal' !important; 
    text-align: center !important; 
    font-stretch: normal !important;
    color: #000000 !important;
}

.sub-parrafos-ert p { 
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 23px !important;
    letter-spacing: 0.02em !important;
    font-family: 'Gill Sans Nova' !important;
}

.texto-azul-ert {
    font-style: normal !important;
    font-weight: 300 !important;
    font-size: 69px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
    color: #7BA0C4 !important;
    font-family: 'London Tube Normal' !important;
}

.titulos-blancos-ert p {
    font-family: 'London Tube Normal', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 20px !important;  
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: #FFF !important;
    text-align: center !important;
} 
 
.seccion-catalogo-ert .elementor-text-editor {
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
}
.seccion-catalogo-ert {  
    margin-top: 4%;
    margin-bottom: 7%; 
    
}
.seccion-catalogo-ert h3 {
    width: 50%;
}
.seccion-catalogo-ert a { 
    color: #FFFFFF;
    font-weight: 500 !important;
    font-size: 36px;
    line-height: 1; 
    letter-spacing: 0.02em !important;
    text-transform: uppercase;
    font-family: 'London Tube Normal', sans-serif !important; 
}
.seccion-catalogo-ert a:hover {
    color: #FFFFFF; 
}
@media (max-width: 767px) {  
  .seccion-catalogo-ert h3 {
        width: 100%;
        margin-right: 15px;
        margin-left: 15px;
    }
}

.catalogo-flecha-ert {
    text-align: center; 
    margin: auto;
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.02em !important;
    font-size: 14px;
    line-height: 37px;
    font-family: 'London Tube Normal', sans-serif !important;
}
.catalogo-flecha-ert a {
    font-family: "Gill Sans Nova", "sans-serif";
    color: #FFFFFF; 
    font-size: 14px;
    font-style: normal;
    line-height: 37px;
    font-weight: bold;
    letter-spacing: 0.02em !important;
    font-stretch: normal;  
}
.catalogo-flecha-ert a:hover {
    color: #FFFFFF;  
}
.catalogo-flecha-ert a::before {
    content: url(https://catalogo.ertseinsa.com/img/cms/white-arrow.svg);
    display: inline-block;
    padding-left: 10px;
    position: relative;
    top: 1px;
    transition: all 0.3s ease;
    left: -10px;
    text-decoration: none;
    transition: transform 0.4s ease;
}
.catalogo-flecha-ert a:hover::before {
  transform: translateX(4px);
}

.titulos-blancos p {
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 37px !important;
    margin-top: 5px !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    font-family: 'London Tube Normal' !important;
    margin-bottom: 40px !important;
    text-align: center !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-blancos p { 
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 23px !important;
    letter-spacing: 0.02em !important;
    font-family: 'Gill Sans Nova' !important;
}


.parrafos-blancos p {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    padding-left: 30% !important;
    padding-right: 30% !important;
    color: #FFF !important;
    text-align: center !important;
}

.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;
} 

.ver-video p {
    font-family: 'London Tube Normal', 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;
}

.elementor-16070101 .elementor-element.elementor-element-af15edd > .elementor-background-overlay {
    display: none !important;
}

/*.video-overlay .elementor-heading-title { 
    font-family: 'London Tube Normal';
    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: 32px !important;
        line-height: 1.1; 
    }
}
/*@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;
}

