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

/* SOBRESCRITURA ELEMENTOS */
.a .a_k, .a .a_t {
    display: none;
}

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

/* apertura */
.apertura { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 0;
    background: #fff;
    overflow: hidden;
    position: relative;  
  }
  
  .apertura_contenedor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .ilustracion {
    width: 380px;
    position: relative;
  }
  
  .ilustracion img {
    width:  100%;
  }
  
  
  .apertura_textos {
    text-align: center;
    width: 100%;
  }
  
  
  .apertura_textos h1 {
  text-align: left;
  color: #000;
  letter-spacing: -0.5px;
  font-size: 33px;
  line-height: 1.1;
  max-width: 315px;
  margin: 0 auto 20px;
  padding: 33px 0 0;
  font-family: MajritBn;
  font-style: normal;
  font-weight: 900;
  }
  
  .apertura_textos h1 span {
    display: block;
    font-family: MajritTx;
    font-weight: bold;

  }
  
  .apertura_textos h1 span strong {
    display: inline-block;
    background:#FFFCB3;
  }

  .apertura .bajar {
    display: block;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    visibility: visible;
    animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
    bottom: -7px;
  }
  
  .apertura .bajar span {
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    width: 12px;
    height: 12px;
    border-top: 1px solid black;
    border-right: 1px solid black;
    transform: rotate(135deg);
  }
  
  body .a_c>h2 {
    color: #000;
    font-family: MajritTx;
    font-style: normal;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

  }
  body .a_c>h2 b {
    font-weight: 300;
    font-size: 14px;
    width: max-content;
    flex: none;
  }

  body .a_c>h2:after,
  body .a_c>h3:after,
  body .a_c>h4:after {
    display: none;
  }
  body .a_c>h3 {
    color: #000;
    font-family: MajritTx;
    font-style: normal;
    font-weight: 900;
    font-size: 17px;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 2px;
  }

  body .a_c>h4 {
    color: #000;
    font-family: MajritTxRoman;
    font-style: normal;
    font-weight: 100;
    font-size: 17px;
    line-height: 1;
    margin: 0;
    text-decoration: none;
  }

  body .a_c>h3 + p {
    color: #000;
    font-family: MajritTxRoman;
    font-style: normal;
    font-weight: 100;
    font-size: 17px;
    line-height: 1;
  }

  body .a_c>h3 + p a:after {
    content: ">";
    display: inline-block;
    position: relative;
    bottom: -.125rem;
    margin-left: .3125rem;
  }

  body .a_c>h3 + p a {
    text-decoration: none;
  }

  body .a_c> h4 + .a_m {
    margin-top: 14px;
  }

  body .a_m_p {
    font-size: .85rem;
    margin-top: 4px;
  }

  body .a_m_m {
    font-weight: 800;
    margin-top: 4px;
    display: none;
  }

  body .a_c > .a_m .a_m_p {
    border-bottom: 1px solid #4a4a4a;
  }

  body .a_c > .a_m .a_m_w, 
  body .a_c > .a_m .a_m_c {
    margin-left: 0;
    margin-right: 0;
  }

  body .a_c > .a_m {
    margin-bottom: 3rem;
  }
   
  mark.hl_yellow {
    background-color: #FFFCB3;
    font-weight: 800;
    font-family: 'MajritTx';
  }

@media (max-width: 767px){ 
    body .apertura {
     height: 600px;
    }
    .ilustracion {
        order: 0;
        max-width: 315px;
        margin: 0 auto;
    }
   
}

@media (min-width: 768px){
  
    .apertura {
        min-height: 860px;
    }
 
    .ilustracion {
        width: 500px;
        order: 0;
    }
  
    .apertura_textos {
      margin-top: 60px;
      max-width: 500px;
    }
  
    .apertura_textos h1 {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 40px;
    }
  
    .apertura .bajar span {
      width: 12px;
      height: 12px;
    }
  
  
  
    .apertura .bajar {
      bottom: -25px;
    }
  
  
    body .a_c>h2 {
      font-size: 26px;
      line-height: 1;
      margin: 80px 0 10px;
      padding-bottom: 10px;
    }
    body .a_c>h2 b {
      font-size: 14px;
    }

    body .a_c>h3 {  
      font-size: 20px;
      line-height: 1.2;
      margin: 0;
      padding-bottom: 2px;
    }
  
    body .a_c>h4 {
      font-size: 20px;
      line-height: 1;
      margin: 0;
    }

    body .a_c>h3 + p{
      font-size: 20px;
      line-height: 1;
    }
  
    body .a_c> .a_m {
      margin-top: 20px;
    }
  

}

@media (min-width: 1001px) {
 

    body .apertura {
        height:  600px;
        padding-bottom: 0;
        min-height: auto;
      }
    
      .apertura_contenedor {
        max-width: 900px;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
      }
    
      .ilustracion  {
        width:  50%;
      }
    
      .apertura_textos {
        width: 50%;
        position: static;
        transform: none;
        padding: 0 40px;
        align-self: center;
        margin: 0;
        box-sizing: border-box;
        max-width: 100%;
      }
    
      
      .apertura_textos h1 {
        color: #000;
        max-width: 100%;
        font-size: 40px;
      }

      .apertura_textos h1 span strong{
        padding: 10px 2px 4px;
      }
    
      body .a_c>h2,
      body .a_c>h3,
      body .a_c>h4,
      body .a_c> .a_m {
        margin-left:var(--grid-10-2-column-content) ;
        margin-right:var(--grid-10-2-column-content) ;
      }

      body .a_m_i-a {
        display: none;
      }


}




@media (min-width: 1200px){ 

    body .apertura {
      height:  700px;
    }
  
    .apertura_contenedor {
      max-width: 1080px;
    }
    .apertura_textos{
      padding: 0px 0px 0 100px;
    }
  
    .apertura_textos h1 {
     font-size: 44px;
    line-height: 1.1;
    }
  
  
  }
  

  @media (min-width: 1400px){ 


    body .apertura {
      height: 850px;
    }
  
    .apertura_contenedor {
      max-width: 1400px;
    }
    .apertura_textos{
      padding: 0px 0px 0 140px;
    }
  
    .apertura_textos h1 {
      font-size: 54px;
      line-height: 1.1;
      max-width: 500px;
    }
  
  }




/* animaciones */
@keyframes opacidad {

    100% {
      opacity:1;
    }
  }
  
  @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);
    } 
  }
  
  @keyframes opacidad {
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  
  @keyframes width {
    100% {
      width: 100%;
    }
  }
  
  @keyframes width12 {
    100% {
      width: 12%;
    }
  }
  
  @keyframes width25 {
    100% {
      width: 25%;
    }
  }
  
  @keyframes width30 {
    100% {
      width: 30%;
    }
  }
  