/* FUENTES */
@font-face {
    font-family: 'MajritBn';
    src: url('https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

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

@font-face {
    font-family: 'MajritTx';
    src: url('//static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Roman.woff') format('woff');
    font-weight: 360;
    font-style: normal;
}

/* SOBRESCRITURA */
body { background: #F3F3EF; }
body .a { background: transparent;}

body .a_k,
body .a_t {
    display: none;
}

body .a_e {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    box-sizing: border-box;
    padding: 10%;
    position: relative;

    background: #E6E6DFB2;

    font-weight: 720;
    letter-spacing: -0.2px;
    text-align: center;

    border-bottom: 0px;

    margin-bottom: 60px;
}
body .a_e:after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0px;

    width: 100%;
    height: 20px;
    background: #FFC2B5;
}

body .a_e .a_e_txt {
    padding-bottom: 0;
}

body .a_e .a_e_txt .a_st {
    margin: 0;
}

/* APERTURA */
body .apertura {
    height: auto !important;
    margin-bottom: 10vh;
}
body .apertura .apertura-scroll {
    width: calc(100vw - 32px);
    max-width: 790px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.scroll-gallery-images {
    width: 100%;
    height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
    left: 0;
}
.scroll-gallery-images .scroll-image-item {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    height:100%;
    opacity:0;

    display: flex;
    align-items: center;
}
.scroll-gallery-images .scroll-image-item.active {
    opacity:1;
    transition: opacity .5s linear;
}
.scroll-gallery-images .scroll-image-item img {
    width:100%;
    height:100%;
    max-height:90%;
    object-fit:contain;
    object-position: right;
}

.scroll-gallery-images .scroll-image-item.max-width {
    justify-content: flex-end;
}
.scroll-gallery-images .scroll-image-item.max-width img {
    max-width: 570px;
}

.scroll-gallery-content {
    position: relative;
    display: block;
    
    z-index: 2;

    margin-top: -100vh;
}
.scroll-gallery-step {
    width:100%;
    height:100vh;
    margin-bottom:50vh;
}
.scroll-gallery-step {
    display:flex;
    justify-content:center;
    align-items:center;
}
.scroll-gallery-content .scroll-gallery-step:first-of-type {
    align-items: flex-end;
}
.scroll-gallery-content .scroll-gallery-step:first-of-type  .scroll-gallery-card {
    padding-bottom: 15vh;
}
.scroll-gallery-content .scroll-gallery-step:last-of-type {
    margin-bottom:0vh;
}
.scroll-gallery-content .scroll-gallery-step:last-of-type .scroll-gallery-card {
    padding-top: 35vh;
}
.scroll-gallery-card {
    width: calc(100% - 32px);
    
    color: #000;
}
.scroll-gallery-card > span {
    display:block;

    font-family: 'MajritTx', sans-serif;
    font-weight: 360;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: -0.2px;

    text-align: left;
}

.culiacan {
    color: #F03030;
    font-weight: 700;
}

.sinaloa {
    background-color: #FFC2B5;
}

.scroll-gallery-card h1 {
    margin: 0 auto;

    font-family: 'MajritBn', sans-serif;
    font-weight: 300;
    font-size: 39px;
    line-height: 45px;
    letter-spacing: -1px;
    text-align: center;
}

/* LADILLOS H3 */
body .a .a_c > h3 {
    width: 100%;
    max-width: 200px;

    font-family: 'MajritBn', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}

body .a .a_c h3:after {
    height: 0;
}

@media only screen and (min-width: 48em) {
    body .a_e {
        padding: 10% 20%;
        margin-bottom: 100px;
    }

    .scroll-gallery-step {
        display:flex;
        justify-content:flex-start;
        align-items:center;
    }

    .scroll-gallery-content .scroll-gallery-step:last-of-type {
        justify-content: center;
    }
    .scroll-gallery-card {
        width: 100%;
    }
    .scroll-gallery-content .scroll-gallery-step:last-of-type .scroll-gallery-card {
        max-width: 680px;
    }

    .scroll-gallery-card span {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: -0.2px;

        max-width: 440px;
    }

    .scroll-gallery-card h1 {
        font-size: 56px;
        line-height: 62px;
        letter-spacing: -2px;
    }
}

@media only screen and (min-width: 62.5625em) {
    

    .scroll-gallery-card h1 {
        font-size: 78px;
        line-height: 82px;
        letter-spacing: -2px;
    }
}