.only_desktop{
    display: none;
}
/********* HEADER ***********/
header .logo{
    width: 200px;
    max-width: 100%;
}
header > .grid{
    display: grid;
    gap: unset;
}
header > .grid > .col:nth-child(2){
    display: flex;
    justify-content: space-between;
    grid-row: 1;
}
header .pad{
    padding: 5px 15px;
}
header .search_ico{
    width: 20px;
}
header .search_box{
    width: 95%;
}
header .search_box .content{
    width: 100%;
    margin: auto;
}
header .search_box .content.eventi{
    grid-template-columns: 1fr 32px 0.6fr 32px;
}
header .search_box .content.ricette{
    grid-template-columns: 1fr 32px;
}
header .search_box .content{
    height: 34px;
}
header .custom_menu[data-type='macro'][data-scheda='ospitalita']{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
header.on_top{
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}
header .macro_menu{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 5px;
    color: white;
    font-size: 16px;
    font-family: 'Mulish-Bold';
}
header .macro_menu > a{
    border-radius: 90px;
    border: 1px solid white;
    padding: 5px 15px;
}
/********** END HEADER *********/

/******* PAGE MENU ********/
.page_menu {
    height: calc(100dvh - 140px);
    top: 140px;
    font-size: 20px;
    padding: 0 1vw;
    z-index: 40;
}
body.header_on_top .page_menu{
    height: calc(100dvh - 54px);
    top: 54px;
}
.page_menu h2{
    font-size: 25px;
}
.page_menu .list.mobile_gap{
    gap: 20px;
}
.page_menu .list.resize{
    font-size: 15px;
}

/******* END PAGE MENU ********/

/******* EVENTI ***********/
.grid.events{
    grid-template-columns: 1fr;
    gap: 10px;
}
.grid.events .preview{
    /*height: 140px;*/
    grid-template-columns: 1fr 120px;
}
.grid.events .preview .like_info{
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 4px;
    border-radius: 3px;
    background-color: white;
    z-index: 5;
}
.grid.events .preview .like_info img{
    width: 20px;
    cursor: pointer;
}
.parent_no_events{
    flex-direction: column;
}
.wrap_no_events{
    grid-template-columns: 1fr 100px;
    gap: 10px;
}
@media screen and (min-width: 760px){
    .grid.events{
        grid-template-columns: repeat(2, 1fr);
    }
}

/******* END EVENTI ***********/

/******* CARD *********/
.card .title{
    font-size: 18px;
}
.card .subtitle{
    font-size: 16px;
}
.card .cover{
    max-width: 500px;
}
.card .share_icons{
    gap: 10px;
}
@media screen and (min-width: 750px){
    .card{
        display: grid;
        grid-template-columns: .4fr .6fr;
        gap: 60px;
    }
    .card .description{
        padding-right: 50px;
    }
}
/******* END CARD *********/

/******* RECIPES, HOSPITALITY ************/
.grid.recipes, .grid.hospitality{
    grid-template-columns: 1fr;
    gap: 10px;
}
@media screen and (min-width: 760px){
    .grid.recipes, .grid.hospitality{
        grid-template-columns: repeat(2, 1fr);
    }
}
.grid.recipes .preview, .grid.hospitality .preview{
    /*height: 140px;*/
    grid-template-columns: 120px 1fr;
}
/******* END RECIPES, HOSPITALITY ************/

/******* RECIPES ************/
.grid.recipes .preview .categories{
    font-size: 13px;
}
.grid.recipes .preview .wrap_time_and_diff{
    display: flex;
    justify-content: flex-start;
    align-content: center;
    gap: 30px;
}
/******* END RECIPES ************/

/******* GESTIONE POPUP ********/
.popup .wrapper{
    width: 90dvw;
    height: 80dvh;
    border-radius: 20px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}
.popup .wrapper > div:nth-of-type(1){
    order: 2;
}
.popup .wrapper h2{
    text-align: center;
}
.popup .close_ico{
    position: absolute;
    right: 15px;
    top: 15px;
}
/******* END GESTIONE POPUP ********/
.info_cat_preferite{
    padding: 10px 0; 
    font-size: 20px; 
    color: var(--blue);
    text-align: center;
}
.cat_title_wrap{
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 20px; 
    color: var(--blue);
}
.page_content{
    width: 98%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.page_content .ads_wrap{
    display: none;
}
.hor_sponsor_mobile{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    text-align: center;
}
.hor_sponsor_mobile img{
    max-width: 400px;
}
.ads_fixed_bottom{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 27;
    text-align: center;
    padding-top: 20px;
    transform: translateY(80%);
    transition: 400ms ease;
}
.ads_fixed_bottom .arrow{
    width: 45px;
    padding: 10px;
    background-color: white;
    border-radius: 20px;
    position: absolute;
    top: -22.5px;
    left: 0;
    transform: rotate(180deg);
    transition: 400ms ease;
}
body.ads_fixed_bottom_opened .ads_fixed_bottom{
    transform: translateY(0);
}
body.ads_fixed_bottom_opened .ads_fixed_bottom .arrow{
    transform: rotate(0);
}

