/*  Theme Name:   Twenty Twenty Five Child 
Theme URI:    board.novaresa.website
Description:  thème enfant 
Author:       Novae Communication
Template:     twentytwentyfive  
Version:      0.1.0 */

/** Child theme custom **/
:root {
    --main-color: #000;
    --hover-light: rgba(0, 0, 0, 0.1);
    --hover-dark: rgba(0, 0, 0, .5);
}

div#mf_menu {
    position: fixed;
    background: white;
    max-width: fit-content;
    display: flex;
    margin: auto;
    left: 0;
    right: 0;
    padding: .5rem;
    border-radius: 8px;
    gap: 16px;
    bottom: 24px;
    box-shadow: 3px 3px 9px 0px rgb(0 0 0 / 10%);
    z-index: 9999;
}
.mf_element {
    font-size: clamp(16px, 3vw, 22px);
    line-height: 36px;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 4px;
    transition: all .3s ease-in-out 0s;
    border: 1px solid #fff;
    cursor: pointer;
}
.mf_element:not(.mf_active):hover {
    background-color: #f5f5f5;
    border: 1px solid #dedede;
}
.mf_active, .mf_back {
    background: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
}
.mf_active span:before, .mf_back a:before {
    filter: invert(1);
}
.mf_back:hover a {
    color: #000;
}
.mf_back:hover a:before {
    filter: invert(0);
}
.mf_element span:before, .mf_back a:before {
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
    top: -2px;
    position: relative;
}
span.mf_el_acc:before {
    background-image: url(/wp-content/uploads/2025/05/home.svg);
}
span.mf_el_weather:before {
    background-image: url(/wp-content/uploads/2025/05/weather.svg);
}
span.mf_el_news:before {
    background-image: url(/wp-content/uploads/2025/05/news.svg);
}
span.mf_el_shop:before {
    background-image: url(/wp-content/uploads/2025/05/shop.svg);
}
.mf_back a:before {
    background-image: url(/wp-content/uploads/2025/05/back.svg);
}
#board_back {
    min-width: 83px;
}
.home h1:before {
    content: 'Livret de bienvenue';
    display: block;
    font-size: 18px;
    line-height: 54px;
}
.home h1:after {
    content: 'Vous trouverez sur ce livret d’accueil toutes les informations pour passer votre séjour dans les meilleures conditions possible !';
    display: block;
    font-size: clamp(16px, 3vw, 22px);
    line-height: 36px;
    margin-top: 1rem;
}
.home .entry-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: var(--wp--preset--spacing--60);
    padding-top: var(--wp--preset--spacing--60);
}
.home_board {
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 10rem 0;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all .6s ease-in-out 0s;
    background-size: 100% !important;
    cursor: pointer;
    position: relative;
    background-color: var(--hover-light);
}
.home_board:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background-position: 50% 50%;
    border-radius: 8px;
    z-index: -1;
    transition: all .6s ease-in-out 0s;
    background-size: 100% !important;
}
.home_board:hover {
    background-color: var(--hover-dark);
}
.home_board:hover:before {
    background-size: 102% !important;
}
.hotel:before {
    background: url(/wp-content/uploads/2025/05/hotel.webp);
    background-position: 50% 65%;
}
.activity:before{
    background: url(/wp-content/uploads/2025/05/activity-1.webp);
    background-position: 50% 45%;
}
.service:before {
    background: url(/wp-content/uploads/2025/05/services.webp);
    background-position: 50% 65%;
}
.restaurant:before {
    background: url(/wp-content/uploads/2025/05/restaurant-1.webp);
    background-position: 50% 65%;
}
a {
    text-decoration: none;
}
@media screen and (max-width: 1000px) {
    .entry-content {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 8px !important;
    }
}
@media screen and (max-width: 760px) {
    .entry-content {
        margin-bottom: 64px !important;
    }
    div#mf_menu {
        bottom: 8px;
        gap: 8px;
    }
    .mf_element {
        padding: .5rem;
        width: 64px;
    }
    .mf_element span {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 24px;
    }
    .mf_element span:before {
        margin-right: 0;
    }
    #forecast {
        max-width: 368px !important;
    }
}
.home #board_back {
    display: none;
}
/** Inner **/
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}
.board_group {
    margin-top: 10rem;
}
.page_img img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    object-position: center;
}

.page-id-93 .entry-content { /** Activites **/
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: var(--wp--preset--spacing--60);
    padding-top: var(--wp--preset--spacing--60);
}

.ete:before {
    background: url(/wp-content/uploads/2025/05/ete.webp);
    background-position: 50% 65%;
}
.hiver:before {
    background: url(/wp-content/uploads/2025/05/hotel.webp);
    background-position: 50% 65%;
}

div#board_filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: fit-content;
    float: left;
    margin-bottom: 3rem;
}
.fl_element {
    font-size: clamp(16px, 3vw, 22px);
    line-height: 36px;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 4px;
    transition: all .3s ease-in-out 0s;
    border: 1px solid #dedede;
    cursor: pointer;
}
.fl_active {
    color: #fff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

.fl_element span:before{
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
    top: -2px;
    position: relative;
}
span.fl_el_all:before {
    background-image: url(/wp-content/uploads/2025/05/all.svg);
}
span.fl_el_rando:before {
    background-image: url(/wp-content/uploads/2025/05/rando.svg);
}
span.fl_el_nautisme:before {
    background-image: url(/wp-content/uploads/2025/05/nautisme.svg);
}
span.fl_el_culture:before {
    background-image: url(/wp-content/uploads/2025/05/culture.svg);
}
span.fl_el_food:before {
    background-image: url(/wp-content/uploads/2025/05/food.svg);
}
.fl_element:not(.fl_active):hover {
    background-color: #f5f5f5;
}
.fl_active span:before {
    filter: invert(1);
}
p.board_links {
    border-bottom: 2px solid #000;
    width: max-content;
    float: left;
}
.board_links a {
    font-weight: 500;
}
.board_links a:after {
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(/wp-content/uploads/2025/05/link.svg);
    vertical-align: middle;
}
.wp-post-image {
    aspect-ratio: 16 / 9;
	border-radius: 8px;
}
#forecast {
    width: 623px;
    margin: auto;
    left: 0;
    right: 0;
    position: fixed !important;
    bottom: 102px;
    background: white;
    border-radius: 8px;
    padding: .5rem !important;
    box-shadow: 3px 3px 9px 0px rgb(0 0 0 / 10%);
}
.weatherwidget-io {
    text-indent: 0 !important;
    text-align: center !important;
}
.forecast_btn {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}
.forecast_btn a {
    font-size: 18px;
    background: var(--main-color);
    color: white;
    border-radius: 4px;
    padding: .5rem 1rem;
    font-weight: 500;
}
.food_btn a, .shop_btn a {
    font-weight: 500;
}
.food_btn a:before {
    content: '';
    background: url(/wp-content/uploads/2025/12/lunch.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 16px;
    filter: invert(1);
    top: -2px;
    position: relative;
}
.shop_btn a:before {
    content: '';
    background: url(/wp-content/uploads/2025/05/shop.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 16px;
    filter: invert(1);
    top: -2px;
    position: relative;
}