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

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

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

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

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

@font-face {
    font-family: MarcinAntBCN;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantbcn-heavy-webfont.woff2) format("woff2"),url(https://static-sandbox.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff) format("woff")
}


/* NO UTILIZAR */
body {
    margin: 0 auto;
    padding: 0;
    background: #fff;
}

body .a {
    background: #e8e7e3;
}

#footer-lazy {
    background: #f7f7f3;
}

#footer-lazy .fo_w {
    background: #f7f7f3;
}

.buscador-rest {
    width: 100%;
    height: auto;
}

.buscador-rest.activo {
    position: fixed;
    top: 56px;
    z-index: 10000;
    background: #f7f7f3;
    height: 100vh;
    overflow-y: scroll;
    padding-top: 100px;
    margin-left: calc(50vw - 50%);
    margin-right: calc(50vw - 50%);
    left: 0;
}

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

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


/* SOBRESCRITURA */
body .a .a_e {
    border-bottom: 0rem;
}

body .a .a_md .a_md_i {
    display: none;
}

body .a .a_c .raw_html {
    margin: 0rem auto 1.5rem auto;
}

body .a .a_c .w-cr_a a {
    color: #000;
}


/* FIN - SOBRESCRITURA */


/* LISTADO */
.bl-listado {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 10000;
    background: #f7f7f3;
    height: 100vh;
    overflow-y: scroll;
    padding-top: 40px;
    margin-left: calc(50vw - 50%);
    margin-right: calc(50vw - 50%);
    left: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#btnVolver {
    margin-bottom: 60px;
    cursor: pointer;
    width: 70px;
    height: 40px;
    border-radius: 1.5rem;
    background-color: #f7f7f3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: 500;
    line-height: 0.6875rem;
    margin-bottom: 1.25rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #000;
    color: #000;
}


/* APARTADO DE RESULTADOS */
.resultados-outer {
    height: auto;
    margin-top: 0;
    padding-bottom: 2rem;
    position: relative;
    padding-top: 80px;
}

.resultados-outer.no_button {
    margin-top: 2rem;
}

.resultados-outer.visible {
    display: block;
}

.resultados-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0rem 0.25rem;
   /* transition: height 1.5s ease-in-out; */
}
.resultados-inner.desplegado {
    height: auto; /* or the desired expanded height */
    overflow: visible;
    transition: height 1.5s ease-in-out;
}


/* boton empezar */

.cont_empezar {
    text-align: center;
    width: 256px;
margin: 2rem auto 6rem;
    text-align: center;
}

#btnEmpezar {
    display: inline-block;
    margin: 2rem 0;
    background-color: #000;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    width: 218px;
    height: 60px;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: bold;
    line-height: 60px;
    color: #fff;
    text-transform: uppercase;
}

.todos_objetos {
    display: block;
    margin: 10px 0 0;
    background-color: #000;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    width: 200px;
    height: 60px;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: 100;
    line-height: 60px;
    color: #fff;
    text-transform: uppercase; 
}

/* LISTADO */
.listado {
    width: 100%;
    height: auto;
    padding: 1rem 0rem 2rem 0rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    height: auto;
    justify-content: stretch;
    align-items: stretch;
}

.listadoRest {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1400px;
}

.listado-item {
    /* Estructura */
    width: calc(33.33333% - 20px);
    position: relative;
}


.listado-item:nth-child(2n) {
    margin-right: 0rem;
}

.listado-item img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.listado-item .bl-info {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding:0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*height: 150px;*/
}

.listado-item .bl-info .ficha {
    margin: 0;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 102px;
}

/* MODAL (SLIDE o SLIDES) */
.modal-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f7f7f3;
    display: none;
}

.modal-outer:before {
    content: "";
    position: absolute;
    bottom: -60vh;
    right: -20vw;
    width: 80vw;
    height: 80vw;
    background-color: #F5F1EB;
    border-radius: 50%;
}

@media only screen and (max-width: 47em) {
.modal-outer:before {
    content: "";
    position: absolute;
    bottom: -29vh;
    right: -60vw;
    width: 170vw;
    height: 170vw;
    background-color: #F5F1EB;
    border-radius: 50%;
}
}


.modal-outer.active {
    display: block;
    z-index: 10000;
}

/* Modal interno */
.modal-inner {
    width: 100%;
    max-width: 53rem;
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Cierre */
.modal-close {
  margin-bottom: 60px;
    cursor: pointer;
    width: 70px;
    height: 40px;
    border-radius: 1.5rem;
    background-color: #f7f7f3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: 500;
    line-height: 0.6875rem;
    margin-bottom: 1.25rem;
    border: 1px solid #000;
    margin-top :20px;
}

/* SLIDER */
.slider-outer {
    width: calc(100% - 1rem);
    height: calc(100% - 90px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-inner {
    width: calc(100% - 5rem);
    margin: 0 auto;
    height: auto;
}

.slider-inner .slide {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

/* Dentro de las slides */

.slide-media {
    width: 100%;
    height: 40dvh;
    position: relative;
    cursor: pointer;
}

.slide-media.has-text:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: url(//ep01.epimg.net/estaticos/arc/2026/04/objetos_aniversario/img/mas_info.svg) no-repeat center center;
    background-size: contain;
    z-index: 1;
}

.slide-media.has-video:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: url(//ep01.epimg.net/estaticos/arc/2026/04/objetos_aniversario/img/play_video.svg) no-repeat center center;
    background-size: contain;
    z-index: 1;
}

.slide .slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: darken;
}

.slide_detalle {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f7f7f3;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

.slide_detalle:before {
    content: "";
    position: absolute;
    bottom: -60vh;
    right: -20vw;
    width: 80vw;
    height: 80vw;
    background-color: #F5F1EB;
    border-radius: 50%;

}

.has-text.slide_detalle_content {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: #f7f7f3;
    border-radius: 20px;
    padding:20px;
    font-family: 'MajritTx', serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: normal;
    border: 1px solid #d8d8d8;
    border-radius:20px;
    order: 1;
    box-sizing: border-box;
    max-height: 70vh;
    overflow-y: scroll;
}

.has-video.slide_detalle_content {
    height: 80%;
    order: 1;
}

.slide_video {
    height: 100%;
    position: relative;
}

.cerrar_detalle {
  margin-bottom: 60px;
    cursor: pointer;
    width: 70px;
    height: 40px;
    border-radius: 1.5rem;
    background-color: #f7f7f3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: 500;
    line-height: 0.6875rem;
    margin-bottom: 1.25rem;
    border: 1px solid #000;
    margin-top :20px;
    order: 0;
    z-index: 1;
}

.slide .slide-info {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.slide-gen-data {
    padding: 1.25rem 0.25rem;
}

.slide-gen-data .title {
    font-family: MajritBn,sans-serif;
    font-weight: 300;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.475rem;  
    margin-top: 10px;  
}

.slide-gen-data .nombre {
    display: block;
    font-family: MarcinAntB,sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    border-bottom: 0.0625rem solid #000;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}
.slide-gen-data .cargo{
    display: block;
    font-family: MarcinAntB,sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #000;
}


/* Flechas */
.slider-move {
    cursor: pointer;
    width: 1.875rem;
    height: 1.875rem;
}
.slider-move:hover {
    opacity: 0.7;
}

/* Animación en slides */
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}


  
@keyframes fade {
    from {opacity: .2} 
    to {opacity: 1}
}

@media only screen and (min-width: 48em) {
    body .a .a_c {
        grid-column: 2/12;
        width: 44.6875rem;
        margin: 0 auto;
    }

    .info {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }


    .listadoRest {
        width: 760px;
        gap: 10px;
    }
    .listado-item {
        /* Estructura */
        width: calc(20% - 10px);
    
        /* Estilos */
        border-radius: 0.625rem;
    }
    
    .listado-item img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    
    .listado-item .bl-info {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    .listado-item .bl-info .ficha {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 120px;
    }

    .slider-inner {
        width: calc(100% - 10rem);
    }


    .slide .slide-info {
        height: 100%;
        padding: 3.125rem;
    }

    .slide .slide-info .slide-lona {
        position: absolute;
        bottom: 8.125rem;
        left: 3.125rem;
        width: calc(100% - 6.25rem);
    }

    .slide .slide-info .slide-text .title {
        font-size: 1.5rem;
        line-height: 1.5rem;

        padding-bottom: 1.125rem;
    }

    .slide .slide-info .slide-text .descripcion {
        font-size: 1rem;
        line-height: 1.3125rem;
        padding: 1.125rem 0rem;
    }

    .slider-move {
        cursor: pointer;
        width: 2.75rem;
        height: 2.75rem;
    }
}

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


    body .a .a_c {
        grid-column: 2/12;
        width: 49.375rem;
        margin: 0 auto;
    }

    body .a_st {
        margin-top: 4.8125rem;
        font-size: 1.5625rem;
        line-height: 1.4;
        letter-spacing: -.00625rem;
    }

    body .a_e_txt {
        padding-bottom: 0;
    }

    /* listado */

    .listadoRest {
        width: 990px;
    }

    .listado-item .bl-info .ficha {
        height: 100px;
    }

    .listado-item {
        width: calc(16.666% - 10px);
        border-radius: 0.625rem;
    }

    #btnVolver {
        top: 0;
        left: 44px;
        transform: none;
    }

    .listado-item img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }

    .listado-item .bl-info {
        padding:0;
    }

    .resultados-inner {
        padding: 0rem;
    }

    .slider-inner {
        width: calc(100% - 13.625rem);
    }


    .slide .slide-info .slide-text .descripcion {
        font-size: 1.125rem;
        line-height: 1.4375rem;
        padding: 1.25rem 0rem;
    }

    .has-video.slide_detalle_content {
        height: 80%;
        order: 1;
        padding: 40px 90px;
        background: #DED9CF;
        z-index: 1;
        border-radius: 20px;
    }

    .slide-gen-data .title{
        font-size: 28px;
        line-height: 1.1;
        padding-right: 0;
    }



}

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

    body .a_t {
        font-size: 5rem;
        line-height: 5rem;
    }

    body .a .a_c {
        grid-column: 2/12;
        width: 59.8125rem;
        margin: initial;
    }

    body .a .a_c .w-cr {
        margin: 0 var(--grid-10-2-column-content) 2rem;
    }

    .resultados-outer {
    
    }

    /* listado */

    .listadoRest {
        width: 1100px;
        gap: 10px;
    }

    .listado-item {
        width: calc(16.666% - 10px);
        border-radius: 0.625rem;
    }

    .listado-item .bl-info .ficha {
        height: 136px;
    }

    .listado-item img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
        
    #btnVolver {
        left: 44px;
    }


}



@media screen and (min-width: 100em)
{
    /* listado */

    .listadoRest {
        width: 1400px;
        gap: 10px;
    }

    .listado-item {
        width: calc(16.666% - 10px);
        border-radius: 0.625rem;
    }

    .listado-item .bl-info .ficha {
        height: 170px;
    }

    .listado-item img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
        
    #btnVolver {
        left: 44px;
    }
}

@media screen and (max-width: 62.5em) {

.resultados-outer.no_button .listadoRest {
    padding-bottom: 0;
} 



}


body .a_s:before{
    background: linear-gradient(to bottom, #fff0 23%, #e8e7e3 74%);
}