.elementor-1704 .elementor-element.elementor-element-6e04506{--display:flex;}.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );line-height:var( --e-global-typography-text-line-height );}.elementor-1704 .elementor-element.elementor-element-e3b78b1 img{width:100%;height:600px;object-fit:cover;object-position:center center;}.elementor-1704 .elementor-element.elementor-element-84b1463{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--padding-top:80px;--padding-bottom:150px;--padding-left:80px;--padding-right:80px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );line-height:var( --e-global-typography-secondary-line-height );}.elementor-1704 .elementor-element.elementor-element-489f0fc{--grid-columns:4;}.elementor-1704 .elementor-element.elementor-element-489f0fc .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-1704 .elementor-element.elementor-element-489f0fc .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-1704 .elementor-element.elementor-element-489f0fc .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-1704 .elementor-element.elementor-element-489f0fc .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-1704 .elementor-element.elementor-element-489f0fc .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:1024px){.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1704 .elementor-element.elementor-element-84b1463{--grid-auto-flow:row;--padding-top:40px;--padding-bottom:75px;--padding-left:40px;--padding-right:40px;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-1704 .elementor-element.elementor-element-489f0fc{--grid-columns:2;}}@media(max-width:767px){.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1704 .elementor-element.elementor-element-e3b78b1 img{height:250px;}.elementor-1704 .elementor-element.elementor-element-84b1463{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-1704 .elementor-element.elementor-element-489f0fc{--grid-columns:1;}}/* Start custom CSS for loop-grid, class: .elementor-element-489f0fc *//* Archive recettes : grille "bento" (15 recettes par page) */
.recette-items { container-type: inline-size; }
.recette-items .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    /* hauteur d'une rangée = largeur d'une colonne → tuiles carrées */
    grid-auto-rows: calc((100cqw - 3 * 45px) / 4);
    grid-auto-flow: dense;
    gap: 45px;
}
/* Grandes tuiles : 1re, 4e et 7e de chaque page (2 × 2) */
.recette-items .e-loop-item:nth-of-type(15n+1),
.recette-items .e-loop-item:nth-of-type(15n+4),
.recette-items .e-loop-item:nth-of-type(15n+7) {
    grid-column: span 2;
    grid-row: span 2;
}
.recette-items .e-loop-item,
.recette-items .e-loop-item > .e-con { height: 100%; }
/* Texte seulement sur les grandes tuiles */
.recette-items .e-loop-item .recipe-excerpt { display: none; }
.recette-items .e-loop-item:nth-of-type(15n+1) .recipe-excerpt,
.recette-items .e-loop-item:nth-of-type(15n+4) .recipe-excerpt,
.recette-items .e-loop-item:nth-of-type(15n+7) .recipe-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 5;          /* 5 lignes max, comme sur la maquette */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Petites tuiles : titre centré (horizontal + vertical) */
.recette-items .e-loop-item > .e-con {
    --justify-content: center !important;
    --align-items: center !important;
    text-align: center;
}
.recette-items .e-loop-item > .e-con,
.recette-items .e-loop-item > .e-con > .e-con-inner {
    justify-content: center !important;
    align-items: center !important;
    height: 100%;
}
.recette-items .e-loop-item .elementor-widget,
.recette-items .e-loop-item .elementor-heading-title {
    text-align: inherit;
    margin: 0;
}
/* Grandes tuiles (desktop) : titre + texte en bas à gauche */
@media (min-width: 1025px) {
    .recette-items .e-loop-item:nth-of-type(15n+1) > .e-con,
    .recette-items .e-loop-item:nth-of-type(15n+4) > .e-con,
    .recette-items .e-loop-item:nth-of-type(15n+7) > .e-con,
    .recette-items .e-loop-item:nth-of-type(15n+1) > .e-con > .e-con-inner,
    .recette-items .e-loop-item:nth-of-type(15n+4) > .e-con > .e-con-inner,
    .recette-items .e-loop-item:nth-of-type(15n+7) > .e-con > .e-con-inner {
        justify-content: flex-end !important;
        align-items: flex-start !important;
        text-align: left;
    }
}

/* Tablette : 3 colonnes, toutes les tuiles identiques */
@media (max-width: 1024px) {
    .recette-items .elementor-loop-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        grid-auto-rows: calc((100cqw - 2 * 25px) / 3);
    }
    .recette-items .e-loop-item:nth-of-type(n) {
        grid-column: auto;
        grid-row: auto;
    }
    .recette-items .e-loop-item:nth-of-type(n) .recipe-excerpt { display: none; }
}
/* Mobile : 2 colonnes */
@media (max-width: 767px) {
    .recette-items .elementor-loop-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        grid-auto-rows: calc((100cqw - 20px) / 2);
    }
}

/*
pagination – archive recettes (Loop Grid Elementor)
*/
.recette-items .elementor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.recette-items .elementor-pagination .page-numbers {
    border: 0;
    border-bottom: 3px solid #ccc;
    font-size: 18px !important;
    font-family: "catalpa", Sans-serif !important;
    font-weight: normal;
    line-height: 1;
    color: #831256 !important;
    padding: 10px 15px;
    margin: 0 !important;
    text-decoration: none;
    background: transparent;
}
.recette-items .elementor-pagination a.page-numbers:focus,
.recette-items .elementor-pagination a.page-numbers:hover,
.recette-items .elementor-pagination .page-numbers.current {
    background: transparent;
    border-color: #831256;
    color: #831256 !important;
    font-weight: bold;
}
.recette-items .elementor-pagination .page-numbers.prev,
.recette-items .elementor-pagination .page-numbers.next {
    font-size: 0 !important;
    position: relative;
    padding: 0 15px;
    width: 6px;
    height: 9px;
    display: inline-block;
    border-bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='9' viewBox='0 0 6 9' fill='none'%3E%3Cpath d='M0.500001 8.5L5.5 4.5L0.5 0.5' stroke='%23831256' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.recette-items .elementor-pagination .page-numbers.prev {
    transform: rotate(180deg);
}
/* Flèche désactivée (1re / dernière page) */
.recette-items .elementor-pagination span.page-numbers.prev,
.recette-items .elementor-pagination span.page-numbers.next {
    opacity: .3;
}/* End custom CSS */