
:root {
    --fond: #173D5D;
    --orange: #e19d3a;
    --jaune: #f5f5f5;
}

body {
    width: auto;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";
    color: #4a567f;
    background: #f6f6f6;
}

.skip-link {
    position: absolute;
    top: 0;
    transform: translateY(-140%);
    left: 0;
    background: var(--fond);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    font-weight: bold;
}

.skip-link:focus {
    transform: translateY(0);
}

.br-page-content a {
    text-decoration: none;
    color: #4a567f;
}

.br-page-content a:hover {
    opacity: 0.8;
}

.br-page-content a:focus-visible,
.br-page-content button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.br-page-content h1 {
    line-height: 1.2em;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0.67em 0;
}

.br-page-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.br-page-content img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

.br-page-content img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;

}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.br-page-content .global, .br-page-content.global {
    max-width: 1140px;
    margin: clamp(0.3rem, 2vw, 0.5rem) auto;
    background: #fff;
    padding: clamp(0.5rem, 3vw, 1rem);
    border: 1px solid #ccc;
    line-height: 1.6em;
}




.br-page-content .chapo {
    font-weight: bold;
    font-size: 1.14em;
}

.br-page-content .article {
    line-height: 1.6em;
}

.br-page-content .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.br-page-content .follow-box {
    margin: 24px 0;
    padding: 22px 26px;
    border: 1px solid #eadfce;
    border-left: 5px solid #f28c28;
    border-radius: 12px;
    background: #fffdfa;
}

.br-page-content .follow-box__title {
    display: block;
    margin: 0 0 8px;
    color: #263b45;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.br-page-content .follow-box__text {
    margin: 0 0 16px;
    color: #6f6f6f;
    font-size: 18px;
    line-height: 1.4;
}

.br-page-content .follow-box__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.br-page-content .follow-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 6px 16px 6px 8px;
    border: 1px solid #ded6ca;
    border-radius: 999px;
    background: #fff;
    color: #2d424b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.br-page-content .follow-pill:hover,
.br-page-content .follow-pill:focus {
    border-color: #cfc4b5;
    background: #fff8ef;
    color: #2d424b;
    text-decoration: none;
    transform: translateY(-1px);
}

.br-page-content .follow-pill--primary {
    border-color: #2f4853;
    background: #2f4853;
    color: #fff;
}

.br-page-content .follow-pill--primary:hover,
.br-page-content .follow-pill--primary:focus {
    border-color: #263b45;
    background: #263b45;
    color: #fff;
}

.br-page-content .follow-pill img,
.br-page-content .follow-pill__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
}

.br-page-content .follow-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
}

.br-page-content .follow-pill__icon--google {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 35%, #fbbc05 65%, #ea4335 100%);
}

.br-page-content .follow-pill__icon--news {
    background: #4f86f7;
}

.br-page-content .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .br-page-content .follow-box {
        margin: 20px 0;
        padding: 18px 16px;
        border-radius: 10px;
    }

    .br-page-content .follow-box__title {
        font-size: 21px;
    }

    .br-page-content .follow-box__text {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .br-page-content .follow-box__links {
        gap: 8px;
    }

    .br-page-content .follow-pill {
        min-height: 42px;
        padding: 6px 13px 6px 7px;
        font-size: 16px;
    }

    .br-page-content .follow-pill--preferred {
        width: 100%;
        justify-content: center;
    }

    .br-page-content .follow-pill img,
    .br-page-content .follow-pill__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

@media (max-width: 380px) {
    .br-page-content .follow-pill {
        width: 100%;
        justify-content: center;
    }
}

.bladi-recipe-preview-page .global { border-radius: 16px; border-color: #dde5e8; box-shadow: 0 12px 40px rgba(23,61,93,.06); }
.bladi-recipe-preview-page article > header h1 { color:#173D5D; letter-spacing:-.025em; margin-bottom:.25rem; }
.bladi-recipe-preview-page article > header .meta { color:#596b76; font-size:.9rem; }
.bladi-recipe-preview-page article > figure { margin:1.1rem 0 1.4rem; overflow:hidden; border-radius:18px; background:#eef2f4; }
.bladi-recipe-preview-page article > figure img { width:100%; border-radius:16px; }
.bladi-recipe-preview-page .global{box-sizing:border-box;padding:24px;max-width:1188px}
.bladi-recipe-go{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;margin:12px 0 0;border:1px solid #cbd8df;border-radius:10px;color:#173d5d;font-size:14px;font-weight:600}
.bladi-recipe-preview-note{margin:16px 0;padding:12px 16px;border:1px solid #e4cfa7;border-radius:10px;background:#fff8ec;color:#684817;font-size:14px;line-height:1.5}
@media(max-width:600px){.bladi-recipe-preview-page .global{margin:8px 0;padding:16px;border-radius:0;border-left:0;border-right:0}.bladi-recipe-preview-page article>figure{border-radius:12px}.bladi-recipe-preview-page article>figure img{border-radius:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.bladi-recipe-preview-badge { display:inline-flex; align-items:center; gap:.4rem; margin:0 0 .8rem; padding:.35rem .58rem; border:1px solid #dce5e9; border-radius:999px; background:#f7fafb; color:#5e6d76; font-size:.78rem; font-weight:800; }
.bladi-recipe-preview-badge:before { content:""; width:7px; height:7px; border-radius:50%; background:#2c9a6d; box-shadow:0 0 0 3px rgba(44,154,109,.12); }


.br-native-nav{background:var(--fond);position:static;height:auto;min-height:60px;padding:0 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px}.br-native-nav a{color:#fff;min-height:44px;display:inline-flex;align-items:center;font-weight:700}.br-native-nav .brand{font-size:24px}.br-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;padding:0;list-style:none}.br-list a{display:block;padding:20px;border:1px solid #dce5e9;border-radius:14px;min-height:44px}.br-list h2{font-size:20px;line-height:1.4;margin:0}.br-search{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.br-search input{min-height:44px;font:inherit;min-width:0;flex:1;padding:8px 12px;border:1px solid #cbd8df;border-radius:8px}.br-search button{min-height:44px;font:inherit;padding:8px 18px;background:#173d5d;color:#fff;border:0;border-radius:8px}.br-native-footer{padding:24px 16px;color:#596b76;text-align:center}.br-native-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.br-native-tags a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid #dce5e9;border-radius:8px}.br-native-intro{font-size:18px;line-height:1.6;color:#263b45;overflow-wrap:anywhere}.br-list p{color:#596b76}.br-page-content .global,.br-page-content.global{overflow-wrap:anywhere}.br-page-content{color:#263b45}.br-native-nav+main{padding-top:8px}
/* Catalogue autonome : la navigation locale n'hérite pas du bandeau principal. */
.br-breadcrumb,.br-pagination{position:static;width:auto;height:auto;background:transparent;contain:none;will-change:auto;z-index:auto;color:#263b45}
.br-breadcrumb ol{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;padding:0;margin:0 0 20px;font-size:14px;line-height:1.5}
.br-breadcrumb li{display:flex;align-items:center;min-width:0;gap:8px}.br-breadcrumb li+li:before{content:'›';color:#687b86}.br-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}.br-breadcrumb span{padding:10px 0}
.br-category-grid,.br-recipe-grid,.br-media-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:24px 0}
.br-category,.br-recipe-grid>li{border:1px solid #dce5e9;border-radius:12px;background:#fff;overflow:hidden;min-width:0}.br-category{display:flex;flex-direction:column}.br-category>span{display:block;padding:16px;font-weight:700;font-size:18px;line-height:1.4}.br-category .br-media,.br-recipe-grid .br-media{margin:0}.br-recipe-grid>li>a{display:block;height:100%}.br-recipe-grid h2{font-size:20px;line-height:1.35;margin:16px 16px 8px}.br-recipe-grid p{margin:0 16px 20px;font-size:16px;line-height:1.6}
.br-media{margin:24px 0}.br-media img{width:100%;height:auto;object-fit:contain}.br-media figcaption{font-size:14px;line-height:1.5;color:#596b76;padding:8px 0}.br-category figcaption,.br-recipe-grid figcaption{padding:8px 16px}.br-media-credit{display:inline}.br-media-gallery .br-media{margin:0}
.br-pagination,.br-sector-links{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.br-pagination a,.br-pagination span,.br-sector-links a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:1px solid #dce5e9;border-radius:8px;box-sizing:border-box}.br-pagination [aria-current]{background:#173d5d;color:white}.br-catalogue-page .global{box-sizing:border-box;margin:20px auto;padding:24px}.br-catalogue-heading h1{margin-top:0}.br-catalogue-page .br-search{margin:24px 0}
@media(max-width:900px){.br-category-grid,.br-recipe-grid,.br-media-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:540px){.br-category-grid,.br-recipe-grid,.br-media-gallery{grid-template-columns:minmax(0,1fr);gap:16px}.br-catalogue-page .global{margin:12px 8px;padding:16px}.br-catalogue-page .br-search{flex-wrap:wrap}.br-catalogue-page .br-search input{min-width:0;flex:1 1 160px}.br-media-gallery .br-media{margin:0}.br-native-nav{gap:12px}}

/* Pas de boîte intermédiaire : le menu sticky reste attaché à la page. */
.br-site-header{display:contents}

.br-related{margin:40px 0 8px;padding-top:24px;border-top:1px solid #dfe7eb}
.br-related>h2{margin:0 0 20px;color:#173d5d;font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.3}
.br-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.br-related-grid>li{min-width:0;border:1px solid #dce5e9;border-radius:12px;overflow:hidden;background:#fff}
.br-related-grid>li>a{display:block;height:100%;color:#173d5d}
.br-related-grid .br-media{margin:0}.br-related-grid .br-media img{width:100%;height:auto}
.br-related-grid figcaption{padding:8px 16px;font-size:12px}
.br-related-grid h3{margin:16px;font-size:19px;line-height:1.4;overflow-wrap:anywhere}
.br-related-grid p{margin:0 16px 20px;color:#596b76;font-size:15px;line-height:1.6}
@media(max-width:900px){.br-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:540px){.br-related{margin-top:32px}.br-related-grid{grid-template-columns:minmax(0,1fr)}}

/* Cartes communes : cadre 8:5, image entière et espace stable sans recadrage. */
.br-page-content :is(.br-recipe-grid,.br-related-grid,.br-category-grid) .br-media img {
 aspect-ratio:8/5;object-fit:contain;height:auto;background:#f3f6f7;
}
.br-page-content :is(.br-recipe-grid,.br-related-grid)>li>a {
 display:flex;flex-direction:column;padding:0;border:0;border-radius:0;opacity:1;
}
.br-page-content :is(.br-recipe-grid,.br-related-grid)>li {transition:border-color .15s ease,box-shadow .15s ease}
.br-page-content :is(.br-recipe-grid,.br-related-grid)>li:has(a:is(:hover,:focus-visible)) {border-color:#8aa3b5;box-shadow:0 4px 16px #173d5d12}
.br-page-content :is(.br-recipe-grid,.br-related-grid) :is(h2,h3) {margin:16px 16px 8px;font-size:19px;line-height:1.4;min-height:2.8em;color:#173d5d}
.br-page-content :is(.br-recipe-grid,.br-related-grid) p {margin:0 16px 20px;font-size:15px;line-height:1.6}
.br-return-links {display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 16px;font-size:14px}
.br-return-links a {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}

.br-page-content :is(.br-recipe-grid,.br-related-grid)>li>a:not(:has(.br-media)):before {content:"";display:block;aspect-ratio:8/5;background:#f3f6f7}
