/*
Theme Name: Guide du Bien Manger - Thème Enfant
Theme URI: https://guide-du-bien-manger.com
Template: hello-elementor
Author: Le Guide du Bien Manger
Author URI: https://guide-du-bien-manger.com
Description: Thème enfant personnalisé pour le site Guide du Bien Manger.
Tags: recipes, blog
Version: 1.0
Updated: 2025-01-20
*/
/* Style pour l’image en vedette */
.elementor-widget-theme-post-featured-image img {
    width: 100%; /* L’image prend toute la largeur du conteneur */
    max-width: 100%;
    height: auto; /* Maintient les proportions */
    object-fit: cover; /* Assure que l'image remplit bien son cadre */
    aspect-ratio: 3 / 2; /* Fixe un format stable */
    display: block;
}

.gd-season-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 34px;
    padding: 6px 0 14px;
    font-family: 'Poppins', sans-serif;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gd-season-filters::-webkit-scrollbar {
    display: none;
}

.gd-season-filters .gd-season-filter {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #E8B495;
    border-radius: 999px;
    background-color: #FFFFFF;
    color: #333333 !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: 
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.gd-season-filters .gd-season-filter.is-active,
.gd-season-filters .gd-season-filter[aria-current="page"] {
    background-color: #E28B5F;
    border-color: #E28B5F;
    color: #FFFFFF !important;
    box-shadow: 0 5px 14px rgba(226, 139, 95, 0.28);
}

.gd-season-filters .gd-season-filter.is-active:hover,
.gd-season-filters .gd-season-filter[aria-current="page"]:hover {
    background-color: #C17A63;
    border-color: #C17A63;
    color: #FFFFFF !important;
}

/* Desktop */
@media (min-width: 768px) {
    .gd-season-filters {
        flex-wrap: wrap;
        overflow: visible;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .gd-season-filters {
        justify-content: flex-start;
        gap: 9px;
        margin-bottom: 28px;
        padding: 4px 2px 12px;
    }

    .gd-season-filters .gd-season-filter {
        min-height: 40px;
        padding: 9px 15px;
        font-size: 14px;
    }
}
