@import url(https://fonts.googleapis.com/css2?family=Anton&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap%27);


.only_tablet,
.only_mobile {
    display: none;
}

@media (max-width:768px) {

    .only_mobile {
        display: block;
    }

    .rtveAlert.topchef:not(.ghost) {
        position: fixed;
        z-index: 8
    }

    .topchef {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0
    }

    .topchef_container,
    .topchef_txt {
        display: flex;
        flex-direction: column;
         align-items: center;
        height: 100%
    }

    .topchef_container {
        background: #d5948a;
        padding: 2rem 1rem;
        justify-content: space-evenly;
        box-sizing: border-box
    }

    .topchef_txt {
        justify-content: space-between;
        gap: 2rem
    }

    .topchef_txt .topchef_logo {
        width: 70%
    }

    .topchef_txt figure,
    .topchef_txt img {
        width: 100%
    }

    .topchef_title {
        display: block;
        font-size: 0;
        background: url("https://css2.rtve.es/css/rtve.2021/i/rtve-logos/logo_rtveplay_2025_ffffff.svg") center center no-repeat;
        width: 10rem;
        height: 4rem;
        /* margin: 0 auto 3rem */
    }

    .topchef_claim {
    	font-family: Anton, sans-serif;
        font-size: 1.8rem;
        line-height: 3.6rem;
        letter-spacing: .8rem;
        color: #fff;
        text-transform: uppercase;
        margin-right: -1.2rem;
        text-align: center;        font-weight: normal;
    }

    .topchef_claim span {
        display: none;
    }


    .topchef_block {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .topchef_phrase {
        font-size: 1.6rem;
        font-weight: 300;
        line-height: 3rem;
        color: #fff;
        text-align: center;
        display: flex;
        gap: 0.5rem;
        align-items: baseline;;
        margin-top: 1.5rem;
        white-space: nowrap
    }

    .topchef_phrase .first-phrase {
        line-height: 1;
    }

    .topchef_button a,
    .topchef_count-label,
    .topchef_count-number {
        line-height: 1;
        text-transform: uppercase;
        color: #fff
    }

    .topchef .rtve-icons.la-1 {
        display: inline-block;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.directos/logos_cadenas/tv-la1_nac.svg") top center/100% no-repeat;
        width: 1.2rem;
        height: 3rem
    }

    .topchef .rtve-icons.rtveplay {
        display: inline-block;
        font-size: 0;
        background: url("https://css2.rtve.es/css/rtve.2021/i/rtve-logos/logo_rtveplay_2025_ffffff.svg") top center/100% no-repeat;
        width: 9rem;
        height: 3rem;
        margin-left: .5rem
    }

    .topchef_claim-desktop {
        display: none
    }

    .topchef_phrase.sub-claim {
        line-height: 1;
        margin-top: -2rem;
    }

    .topchef_count {
        display: flex;
        flex-direction: column;
        padding: 0 6vw
    }

    .topchef_count-container {
        display: flex;
        justify-content: space-between;
        gap: 2rem
    }

    .topchef_count p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin: 0;
        gap: .5rem
    }

    .topchef_count-number {
        font-size: 3rem;
        font-weight: 100
    }

    .topchef_count-label {
        font-family: Anton, sans-serif;
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: .2rem
    }

    .topchef_button {
        border: .1rem solid #fff;
        border-radius: .4rem;
        padding: .6rem 0;
        width: 14rem;
        margin-bottom: 8vh;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .topchef_button a {
        text-align: center;
        font-size: 1rem;
        font-weight: 400;
        text-decoration: none;
        letter-spacing: .5pt
    }

    .topchef_close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.2021/i/rtve-icons.svg/rtve-icon_close.svg") center center/100% no-repeat;
        width: 2.5rem;
        height: 2.5rem
    }
}

@media (min-width:768px) and (max-width:1278px) {

    .only_mobile {
        display: block;
    }

    &.countDown .topchef_phrase {
        flex-direction: row;
    }

    .topchef,
    .topchef_txt figure,
    .topchef_txt img {
        width: 100%
    }

    .rtveAlert.topchef:not(.ghost) {
        position: fixed;
        z-index: 8;
    }

    .topchef {
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }

    .topchef_container,
    .topchef_txt {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .topchef_container {
        background: #d5948a;
        padding: 4rem 1rem;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .topchef_txt {
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .topchef_txt .topchef_logo {
        width: 40%;
    }

    .topchef_claim-desktop,
    .topchef_title {
        display: none;
    }

    .topchef_claim {
        font-family: Anton, sans-serif;
        font-weight: 500;
        font-size: 3.2rem;
        line-height: 3.6rem;
        letter-spacing: 2rem;
        color: #fff;
        text-transform: uppercase;
        margin: 2rem -2rem 0 0;
    }

    .topchef_claim span {
        display: none;
    }

    .topchef_button a,
    .topchef_count-number,
    .topchef_phrase {
        font-family: Roboto, arial, sans-serif;
    }

    .topchef_photo {
        max-width: 60rem;
    }

    .topchef_block {
        margin-top: -4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .topchef_phrase {
        font-size: 2rem;
        font-weight: 300;
        line-height: 3rem;
        color: #fff;
        margin: 1.3rem 0 0;
        display: flex;
        align-items: normal;
        gap: .5rem;
    }

    .topchef_phrase .second_phrase {
        display: flex;
        gap: 5px;
        align-items: flex-start;
    }

    .topchef_phrase::first-letter {
        text-transform: uppercase;
    }

    .topchef_button a,
    .topchef_count-label,
    .topchef_count-number {
        font-size: 7rem;
        line-height: 1;
        text-transform: uppercase;
        color: #fff;
    }

    .topchef .rtve-icons.la-1 {
        display: inline-block;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.directos/logos_cadenas/tv-la1_nac.svg") top center/100% no-repeat;
        width: 1.8rem;
        height: 4rem;
    }

    .topchef .rtve-icons.rtveplay {
        display: inline-block;
        font-size: 0;
        background: url("https://css2.rtve.es/css/rtve.2021/i/rtve-logos/logo_rtveplay_2025_ffffff.svg") top center/100% no-repeat;
        width: 12rem;
        height: 4rem;
        margin-left: .5rem;
    }

    .topchef_count {
        display: flex;
        flex-direction: column;
        padding: 0 6vw;
    }

    .topchef_count-container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

    .topchef_count p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin: 0;
        gap: .5rem;
    }

    .topchef_count-number {
        font-size: 7rem;
        font-weight: 100;
    }

    .topchef_count-label {
        font-family: Anton, sans-serif;
        font-size: 2rem;
        font-weight: 300;
        letter-spacing: .2rem;
    }

    .topchef_button {
        border: .1rem solid #fff;
        border-radius: .4rem;
        padding: .6rem 0;
        width: 18rem;
        margin-bottom: 4vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .topchef_button a {
        text-align: center;
        font-size: 2rem;
        font-weight: 400;
        text-decoration: none;
    }

    .topchef_close {
        position: absolute;
        top: 4.5rem;
        right: 4rem;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.2021/i/rtve-icons.svg/rtve-icon_close.svg") center center/100% no-repeat;
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (min-width:1025px) {

    .topchef,
    .topchef_txt,
    .topchef_txt figure,
    .topchef_txt img {
        width: 100%;
    }

    .rtveplay.home:has(.mainElem) .rtveAlert:not(.ghost) {
        top: 8.4rem;
    }

    .rtveAlert:not(.ghost) {
        top: 0;
        position: relative;
    }

    .topchef {
        background: #d5948a;
    }

    .topchef.countDown .topchef_claim,
    .topchef_title {
        display: none;
    }

    .topchef.countDown .topchef_button {
        order: 4;
    }

    .topchef_container {
        width: 100%;
        height: 10rem;
        max-width: 138rem;
        margin: 0 auto;
        padding: 2rem 8rem 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        background: url("https://css.rtve.es/css/rtve.2026/rtve.alertas/i/topchef/banner_desktop.png") 40% bottom/auto 130% no-repeat;
    }

    .topchef_block {
        flex: 1 0 0;
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .topchef_txt {
        display: flex;
        align-items: center;
        gap: 6rem;
    }

    .topchef_txt .topchef_logo {
        width: 18rem;
    }

    .topchef_claim {
        order: 4;
        font-family: Anton, sans-serif;
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 1.6;
        letter-spacing: .8rem;
        color: #fff;
        text-transform: uppercase;
        margin-right: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .topchef_claim span {
        display: block;
        font-family: Roboto, arial, sans-serif;
        font-size: 1.4rem;
        font-weight: 300;
        line-height: 1.3;
        color: #fff;
        text-transform: none;
        letter-spacing: 0;
    }

    .topchef_photo {
        display: none;
        order: 3;
    }

    .topchef_phrase {
        font-family: Roboto, arial, sans-serif;
        font-size: 1.6rem;
        font-weight: 300;
        line-height: 1.3;
        color: #fff;
        margin: 0;
        display: flex;
        gap: .5rem;
    }

    .topchef_phrase .second_phrase {
        display: flex;
        gap: 5px;
        align-items: flex-start;
    }

    .topchef_phrase .second_phrase .capitalize {
        text-transform: capitalize;
    }

    .topchef .rtve-icons.la-1 {
        display: inline-block;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.directos/logos_cadenas/tv-la1_nac.svg") top center/100% no-repeat;
        width: 1rem;
        height: 3rem;
    }

    .topchef .rtve-icons.rtveplay {
        display: inline-block;
        font-size: 0;
        background: url("https://css2.rtve.es/css/rtve.2021/i/rtve-logos/logo_rtveplay_2025_ffffff.svg") top center/100% no-repeat;
        width: 7rem;
        height: 3rem;
        margin-left: .2rem;
    }

    .topchef_claim-desktop {
        font-family: Anton, sans-serif;
        font-weight: 500;
        font-size: 15px;
        line-height: 1;
        letter-spacing: 0.8rem;
        color: #fff;
        text-transform: uppercase;
        margin-top: 0;
        margin-right: -2rem;
    }

    .topchef_count {
        display: flex;
        flex-direction: column;
        order: 2;
        /* padding: 0 6vw; */
        gap: 8px;align-items: center;
    }

    .topchef_count:has(.CountDown) {
        padding: 0 6vw;
    }
    
    .topchef_count:has(.CountDown) .topchef_claim-desktop {
        font-size: 16px;
        letter-spacing: 1.2rem;
    }
    
    .topchef_count-container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

    .topchef_count p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin: 0;
        gap: .5rem;
    }

    .topchef_count-number {
        font-family: Roboto, arial, sans-serif;
        font-size: 3rem;
        line-height: 1;
        font-weight: 100;
        color: #fff;
        text-transform: uppercase;
    }

    .topchef_button a,
    .topchef_count-label {
        font-size: 1.2rem;
        line-height: 1;
        text-transform: uppercase;
        color: #fff;
    }

    .topchef_count-label {
        font-family: Anton, sans-serif;
        font-weight: 300;
        letter-spacing: .2rem;
    }

    .topchef_button {
        order: 4;
        border: .1rem solid #fff;
        border-radius: .4rem;
        padding: 1rem .8rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .topchef_button a {
        font-family: Roboto, arial, sans-serif;
        text-align: center;
        font-weight: 400;
        text-decoration: none;
        letter-spacing: .5pt;
    }

    .topchef_close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 0;
        background: url("https://css.rtve.es/css/rtve.2021/i/rtve-icons.svg/rtve-icon_close.svg") center center/100% no-repeat;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
    }
}

@media (min-width:1025px) and (max-width:1380px) {
    .topchef_container {
        max-width: 94vw;
    }
}

body.rtveplay.home .wrapper.bodier:has(.rtveAlert:not(.ghost)) {
    display: flex;
    flex-direction: column;
}

body.rtveplay .container[data-tipo=mod_htmlLibre].fila:has(.rtveAlert) {
    order: 1;
}

body.rtveplay .container.fila[data-pos] {
    order: 2;
}

body.rtveplay .mainbodier:has(.rtveAlert:not(.ghost)) {
    z-index: 1;
}

body.rtveplay .container[data-tipo=mod_htmlLibre]:has(.rtveAlert:not(.ghost)) {
    z-index: 5;
}

body.rtveplay:has(#mainNav .blindBox.be_on) .rtveAlert.countDown {
    z-index: -1;
    opacity: 0;
}

.rtve .rtveAlert .buttonBox a.rtveplay,
.rtveplay .rtveAlert .buttonBox a.rtve {
    display: none;
}