/* FUENTES */
@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}


@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff2) format("woff2")
    ,url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff) format("woff")
}

@font-face {
    font-family: Majrit Text;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff) format("woff")
}

@font-face {
    font-family: Majrit Txt;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff) format("woff")
}

body.tpl-a-especial,
body .a {
 background:#F8F8F4;
}
body .a_t,
body .a_k {
  display: none;
}

body .a_e_txt {
  order:1;
}

body #footer-lazy {
  background: #fff;
}

.x-f .pb_p {
  background-color: #191917 !important;
}


/*
body .a .a_e .a_e_txt,
body .a .a_e .a_e_txt .a_st,
body .a .a_c,
body .a .a_c a {
  color: #fff;
}
*/

body .a .a_c .a_s_lo a {
  color: #E7EBDA;
}

body .a .a_e {
  border-bottom: unset;
}

body .a_c p a {
  color: #757771;
}

body.t__a__especial .apertura {
  display:flex;
  align-items:flex-end;
  justify-content:center;
  box-sizing:border-box;
  height:auto;
  position:relative;
  flex-direction:column
}

body .w_t,
body .a_com {
  border-bottom-color: #E7EBDA;
}

body .a_tp {
  border-top-color: #E7EBDA;
}

body .btn-6 {
  background: #E7EBDA;
}

body .a .w-cr .w_t {
  font-size: 1rem;
  padding-bottom: 20px;
}

body .a .w-cr .w_t:after {
  display: none;
}

body .w-cr {
  border-bottom-color: #E7EBDA;
}

/* apertura */

body .apertura {
  height: auto;
  padding-top: 40px;
}

.slides_apertura {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-bottom: 70px;
  opacity: 0;
  animation: opacidad 1s forwards .5s, gap 1s forwards 1s;
}

@keyframes gap {
  0% {
    gap: 0;
  }
  100% {
    gap: 18px;
  }
  
}

.slides_apertura .izquierda {
  flex: 1.5;
}

.slides_apertura .derecha {
  flex: 1;
}

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

/* titulo */
.apertura h1 {
  font-family: MajritTxRoman,serif;
  font-weight: normal;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  margin: -20px auto 20px;
  text-align: center;
  max-width: 651px;
  opacity: 0;
  animation: opacidad 1.5s forwards 2s, ejeY 1.5s forwards 2s;
}

.apertura h1 span {
  display: block;
  font-family: MajritTx,serif;
  font-weight: 900;
  color: #000;
}

/* subtitulo */
body .a_st {
  background: #E7EBDA;
  padding: 50px 30px;
  color: #000;
  font-family: MajritTx,serif;
  font-weight: bold;
  opacity: 0;
  animation: opacidad 1.5s forwards 2.5s;
}

/* boton bajar */
.apertura .bajar {
  display: block;
  text-align: center;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
  bottom: -7px;
}

.apertura .bajar span {
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  width: 15px;
  height: 15px;
  border-top: 1px solid black;
  border-right: 1px solid black;
  transform: rotate(135deg);
}


/* MEDIA QUERIES */
@media (min-width: 768px){ 

  body .a .a_md .a_md_f {
    border-bottom-color: #fff;
  }

  body .a_c>.a_m .a_m_p {
      border-bottom-color: #E7EBDA;
      color: #000;
  }


}

@media ((min-width: 62.5625em)){

  body .a_e_m {
    grid-column: 2 / 12;
  }

/* apertura */

body .apertura {
  height: auto;
  padding-top: 100px;
}

.slides_apertura {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 0px;
}

.slides_apertura .izquierda {
  flex: 1.5;
}

.slides_apertura .derecha {
  flex: 1;
}



/* titulo */
.apertura h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.apertura h1 span {
  line-height: 1.2;
  color: #000;
}

/* subtitulo */
body .a_st {
  background: #E7EBDA;
  padding: 100px 100px;
  color: #000;
  font-family: MajritTx,serif;
  font-weight: bold;
}


}

@media (min-width: 1199px) {

}
  
/* Animaciones */
@keyframes opacidad {
    100% {
        opacity:1;
    }
}

@keyframes bajar {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-0.5rem);
    }
    50% {
        transform: translateY(0rem);
    }
    75% {
        transform: translateY(-0.25rem);
    } 
}


/* animaciones */


@keyframes ejeY {
    100% {
      margin-top: 0;
    }
  }
  
  @keyframes opacidad {
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  
  @keyframes fade {
    0% {
      opacity:1;
    }
    17% {
      opacity:1;
    }
    25% {
      opacity:0;
    }
    92% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @keyframes bajar {
    0%, 100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(-0.5rem);
    }
    50% {
      transform: translateY(0rem);
    }
    75% {
      transform: translateY(-0.25rem);
    } 
  }
  
  @media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
  }