/* ==========================================================================
   Blog & Ressources — recherche, tuiles, filtres, cartes
   Préfixe .fbr- ; tout est scopé sous .fbr pour résister aux styles globaux de
   Betheme (boutons blancs, marges des titres, champs de formulaire).
   ========================================================================== */

.fbr {
    --fbr-teal: #31b4aa;        /* teal de marque : fonds, décor */
    --fbr-ink: #12807b;         /* teal « encre » : texte, liens, boutons (contraste AA) */
    --fbr-deep: #158986;
    --fbr-mint: #b6f2de;
    --fbr-mint-soft: #e9faf4;
    --fbr-sun: #f6c33b;
    --fbr-text: #3a4242;
    --fbr-muted: #5f6a69;
    --fbr-line: #dde8e5;
    --fbr-paper: #ffffff;
    --fbr-page: #f6faf9;
    --fbr-coral: #d9613f;
    --fbr-r: 14px;
    --fbr-shadow: 0 1px 2px rgba(18, 60, 58, .06), 0 6px 18px rgba(18, 60, 58, .07);
    --fbr-shadow-hover: 0 2px 4px rgba(18, 60, 58, .08), 0 14px 30px rgba(18, 60, 58, .13);
    color: var(--fbr-text);
    font-family: inherit;
    line-height: 1.55;
    box-sizing: border-box;
}
.fbr *, .fbr *::before, .fbr *::after { box-sizing: inherit; }
.fbr p { margin: 0; }
.fbr h3 { margin: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.fbr a { text-decoration: none; }
.fbr button {
    font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
    line-height: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; border-radius: 0;
    cursor: pointer; width: auto; height: auto; float: none;
}
.fbr :focus-visible { outline: 3px solid var(--fbr-sun); outline-offset: 2px; border-radius: 6px; }
.fbr .screen-reader-text, .fbr-browse > .screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Boutons et pastilles ------------------------------------------------------ */
.fbr .fbr-btn {
    display: inline-block; border: 0; background: var(--fbr-ink); color: #fff; font-weight: 700;
    border-radius: 999px; padding: 12px 24px; font-size: 16px; line-height: 1.2; text-align: center;
}
.fbr .fbr-btn:hover { background: var(--fbr-deep); color: #fff; }
.fbr .fbr-btn--ghost { background: #fff; color: var(--fbr-ink); box-shadow: inset 0 0 0 2px var(--fbr-ink); }
.fbr .fbr-btn--ghost:hover { background: var(--fbr-mint-soft); color: var(--fbr-ink); }
.fbr .fbr-chip {
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--fbr-line); background: #fff;
    border-radius: 999px; padding: 5px 13px; font-weight: 600; font-size: 14px; color: var(--fbr-text); line-height: 1.3;
}
.fbr .fbr-chip:hover { border-color: var(--fbr-teal); color: var(--fbr-ink); }
.fbr .fbr-chip--on { background: var(--fbr-mint-soft); border-color: #bfe6da; color: var(--fbr-ink); padding-right: 9px; }
.fbr-chip__x { font-size: 18px; line-height: 1; }
.fbr-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fbr-c, var(--fbr-teal)); flex: none; display: inline-block; }

/* Recherche ------------------------------------------------------------------ */
.fbr-search { display: grid; gap: 12px; }
.fbr-search__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.fbr-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fbr-who__label { font-weight: 700; font-size: 15px; }
.fbr-seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--fbr-line); border-radius: 999px; padding: 3px; }
.fbr .fbr-seg__btn { padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--fbr-text); }
.fbr .fbr-seg__btn:hover { color: var(--fbr-ink); }
.fbr .fbr-seg__btn[aria-pressed="true"] { background: var(--fbr-ink); color: #fff; }
.fbr-search__form { position: relative; display: flex; align-items: center; margin: 0; }
.fbr .fbr-search__input {
    width: 100%; height: 52px; margin: 0; border-radius: 999px; border: 2px solid var(--fbr-line); background: #fff;
    padding: 0 150px 0 58px; font-size: 18px; font-weight: 500; color: var(--fbr-text); box-shadow: var(--fbr-shadow);
    -webkit-appearance: none; appearance: none;
}
.fbr .fbr-search__input::placeholder { color: #7f8b8a; opacity: 1; }
.fbr .fbr-search__input:focus { outline: none; border-color: var(--fbr-teal); box-shadow: 0 0 0 4px rgba(49, 180, 170, .2), var(--fbr-shadow); }
.fbr-search__icon { position: absolute; left: 22px; width: 22px; height: 22px; color: var(--fbr-ink); pointer-events: none; }
.fbr-search__count { position: absolute; right: 142px; font-size: 14px; font-weight: 600; color: var(--fbr-muted); white-space: nowrap; }
.fbr .fbr-search__submit {
    position: absolute; right: 5px; height: 42px; padding: 0 22px; border-radius: 999px;
    background: var(--fbr-ink); color: #fff; font-weight: 700; font-size: 16px;
}
.fbr .fbr-search__submit:hover { background: var(--fbr-deep); color: #fff; }
.fbr-popular { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.fbr-popular__label { color: var(--fbr-muted); font-weight: 600; margin-right: 2px; }
@media (max-width: 600px) {
    .fbr .fbr-search__input { height: 56px; font-size: 16px; padding: 0 20px 0 52px; }
    .fbr .fbr-search__submit, .fbr-search__count { display: none; }
}

/* Par où commencer ? : accordéon discret ---------------------------------------- */
.fbr-sitacc[hidden] { display: none !important; }
.fbr-sitacc { background: #fff; border: 1px solid var(--fbr-line); border-radius: var(--fbr-r); }
.fbr-sitacc.has-choice { border-color: var(--fbr-ink); box-shadow: inset 0 0 0 1px var(--fbr-ink); }
.fbr .fbr-sitacc__bar { width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px 14px; text-align: left; border-radius: var(--fbr-r); color: var(--fbr-text); }
.fbr-sitacc__icons { display: flex; flex: none; }
.fbr-sitacc__icons > span { width: 30px; height: 30px; border-radius: 50%; background: var(--fbr-mint-soft); color: var(--fbr-ink); display: grid; place-items: center; border: 2px solid #fff; margin-left: -8px; }
.fbr-sitacc__icons > span:first-child { margin-left: 0; }
.fbr-sitacc__icons svg { width: 15px; height: 15px; }
.fbr-sitacc__label { display: grid; gap: 1px; min-width: 0; flex: 1; }
.fbr-sitacc__title { font-size: 16px; font-weight: 700; }
.fbr-sitacc__sub { font-size: 13.5px; color: var(--fbr-muted); font-weight: 500; }
.fbr-sitacc.has-choice .fbr-sitacc__sub { color: var(--fbr-ink); font-weight: 700; }
.fbr-sitacc__cta { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 14px; color: var(--fbr-ink); border: 1.5px solid var(--fbr-ink); border-radius: 999px; padding: 6px 12px 6px 14px; transition: background .15s; }
.fbr-sitacc__cta svg { width: 16px; height: 16px; transition: transform .25s; }
.fbr .fbr-sitacc__bar[aria-expanded="true"] .fbr-sitacc__cta svg { transform: rotate(180deg); }
.fbr .fbr-sitacc__bar:hover .fbr-sitacc__cta { background: var(--fbr-mint-soft); }
.fbr-sitacc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.fbr-sitacc.is-open .fbr-sitacc__panel { grid-template-rows: 1fr; }
.fbr-sitacc__inner { overflow: hidden; min-height: 0; }
.fbr-sitacc:not(.is-open) .fbr-sitacc__inner { visibility: hidden; transition: visibility 0s .32s; }
.fbr-sitacc__hint { color: var(--fbr-muted); font-size: 15px; padding: 2px 16px 12px; }
.fbr-sitacc__inner .fbr-situations { padding: 0 16px 16px; }
@media (max-width: 600px) {
    .fbr-sitacc__icons > span:nth-child(n+4) { display: none; }
    .fbr-sitacc__cta { padding: 6px; }
    .fbr-sitacc__cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Tuiles ------------------------------------------------------------------------ */
.fbr-situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } /* 3 par ligne : 6 tuiles = 2 lignes pleines */
@media (max-width: 1024px) { .fbr-situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fbr-situations { grid-template-columns: minmax(0, 1fr); } }
.fbr .fbr-sit {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center;
    padding: 16px; background: #fff; border: 1px solid var(--fbr-line); border-radius: var(--fbr-r); color: var(--fbr-text);
    transition: border-color .15s, transform .15s;
}
.fbr .fbr-sit:hover { border-color: var(--fbr-teal); transform: translateY(-2px); color: var(--fbr-text); }
.fbr .fbr-sit.is-active { border-color: var(--fbr-ink); box-shadow: inset 0 0 0 1px var(--fbr-ink); background: var(--fbr-mint-soft); }
.fbr-sit__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--fbr-mint-soft); color: var(--fbr-ink); display: grid; place-items: center; }
.fbr-sit__icon svg { width: 24px; height: 24px; }
.fbr-sit__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.fbr-sit__sub { font-size: 13.5px; color: var(--fbr-muted); font-weight: 500; }

/* Grille + filtres ----------------------------------------------------------- */
.fbr-browse { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; align-items: start; }
.fbr-browse--nofilters { grid-template-columns: minmax(0, 1fr); }
.fbr-filters { position: sticky; top: 100px; display: grid; gap: 14px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
.fbr-filters__head { display: none; }
.fbr .fbr-fgroup { margin: 0; min-width: 0; background: #fff; border: 1px solid var(--fbr-line); border-radius: var(--fbr-r); padding: 12px 16px 10px; }
.fbr .fbr-fgroup legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fbr-muted); font-weight: 700; }
.fbr .fbr-opt { clear: both; display: flex; align-items: center; gap: 9px; padding: 5px 0; margin: 0; cursor: pointer; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--fbr-text); }
.fbr .fbr-opt input {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; padding: 0; flex: none;
    border: 2px solid #aebdba; border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: none;
}
.fbr .fbr-opt input[type="radio"] { border-radius: 50%; }
.fbr .fbr-opt input:checked { background: var(--fbr-ink); border-color: var(--fbr-ink); }
.fbr .fbr-opt input[type="checkbox"]:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.fbr .fbr-opt input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.fbr-opt__label { min-width: 0; }
.fbr-opt__n { margin-left: auto; font-size: 13px; color: var(--fbr-muted); font-variant-numeric: tabular-nums; }
.fbr .fbr-opt.is-zero { opacity: .45; }

.fbr-toolbar { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-bottom: 6px; flex-wrap: wrap; }
.fbr .fbr-mobile-filters { display: none; border: 1.5px solid var(--fbr-ink); background: #fff; color: var(--fbr-ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; margin-right: auto; }
.fbr-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fbr-muted); margin: 0; }
.fbr .fbr-sort select { width: auto; margin: 0; border: 1px solid var(--fbr-line); background: #fff; border-radius: 10px; padding: 7px 10px; font-weight: 600; color: var(--fbr-text); font-size: 14px; height: auto; }

.fbr-results { transition: opacity .15s; }
.fbr-browse[aria-busy="true"] .fbr-results { opacity: .55; }
.fbr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.fbr-total { font-size: 20px; }
.fbr-total strong { font-weight: 700; }
.fbr-total span { color: var(--fbr-muted); font-weight: 500; font-size: 15px; margin-left: 4px; }
.fbr .fbr-chips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; width: 100%; }
.fbr .fbr-chips li { margin: 0; padding: 0; list-style: none; }
.fbr .fbr-chips li::before { content: none; }
.fbr .fbr-clear { display: inline-block; padding: 5px 6px; font-size: 14px; font-weight: 600; color: var(--fbr-muted); text-decoration: underline; }
.fbr-alert { background: #fff4dc; color: #7a4a00; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-weight: 600; }

.fbr-bridge { display: flex; gap: 14px; align-items: center; background: #fff8e6; border: 1px solid #f3dfa6; border-radius: var(--fbr-r); padding: 14px 18px; margin-bottom: 18px; }
.fbr-bridge__icon { width: 30px; height: 30px; color: #a87400; flex: none; }
.fbr-bridge p { font-size: 15px; min-width: 0; }
.fbr .fbr-bridge a { font-weight: 700; color: var(--fbr-ink); white-space: nowrap; }

/* Cartes ---------------------------------------------------------------------- */
.fbr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fbr-card { display: flex; min-width: 0; }
.fbr .fbr-card__link {
    display: flex; flex-direction: column; width: 100%; background: var(--fbr-paper); border-radius: var(--fbr-r);
    box-shadow: var(--fbr-shadow); color: inherit; overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.fbr .fbr-card__link:hover { box-shadow: var(--fbr-shadow-hover); transform: translateY(-3px); color: inherit; }
.fbr .fbr-card__link:hover .fbr-card__img { transform: scale(1.04); }
.fbr .fbr-card__link:hover .fbr-card__title { color: var(--fbr-ink); }
.fbr-card__media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: var(--fbr-mint); overflow: hidden; }
.fbr .fbr-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; max-width: none; }
.fbr-card__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #d9f7ec, var(--fbr-mint)); }
.fbr-card__format { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); color: var(--fbr-text); border-radius: 999px; padding: 4px 11px 4px 8px; font-size: 13px; font-weight: 700; }
.fbr-card__format svg { width: 16px; height: 16px; color: var(--fbr-ink); }
.fbr-card__time { position: absolute; right: 12px; bottom: 12px; background: rgba(28, 40, 40, .8); color: #fff; border-radius: 8px; padding: 3px 9px; font-size: 12.5px; font-weight: 600; }
.fbr-card__book { position: absolute; right: 12px; top: 12px; background: var(--fbr-sun); color: #3d2d00; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.fbr-card__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fbr-card__theme { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--fbr-ink); }
.fbr .fbr-card__title {
    font-size: 18.5px; font-weight: 700; line-height: 1.28; color: var(--fbr-text); transition: color .15s;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fbr-card__excerpt { font-size: 15px; color: var(--fbr-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fbr mark { background: #fde9a6; color: inherit; border-radius: 3px; padding: 0 1px; }
.fbr-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--fbr-line); }
.fbr-tag { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--fbr-page); border: 1px solid var(--fbr-line); color: var(--fbr-text); }
.fbr-tag--pro { background: #eef0fb; border-color: #d8dcf3; color: #3c4796; }
.fbr-card__foot time { margin-left: auto; font-size: 13px; color: var(--fbr-muted); font-weight: 600; white-space: nowrap; }
.fbr-card__une { align-self: flex-start; background: var(--fbr-coral); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.fbr-card--featured { grid-column: 1 / -1; }
.fbr-card--featured .fbr-card__link { flex-direction: row; }
.fbr-card--featured .fbr-card__media { flex: 0 0 54%; aspect-ratio: auto; min-height: 340px; }
.fbr-card--featured .fbr-card__body { padding: 28px 30px; justify-content: center; gap: 12px; }
.fbr .fbr-card--featured .fbr-card__title { font-size: 28px; -webkit-line-clamp: 4; }
.fbr-card--featured .fbr-card__excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }

.fbr-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; }
.fbr-more__progress { width: 220px; max-width: 100%; height: 4px; border-radius: 4px; background: var(--fbr-line); overflow: hidden; }
.fbr-more__progress i { display: block; height: 100%; background: var(--fbr-teal); }
.fbr-more__count, .fbr-more__done { color: var(--fbr-muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.fbr .fbr-more [aria-disabled="true"] { opacity: .6; pointer-events: none; }

.fbr-empty { background: #fff; border: 1px dashed #b9cfca; border-radius: var(--fbr-r); padding: 34px 26px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.fbr-empty__title { font-size: 20px; font-weight: 700; }
.fbr-empty p { color: var(--fbr-muted); max-width: 48ch; }
.fbr-empty .fbr-popular { justify-content: center; }

@media (max-width: 1080px) { .fbr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .fbr-browse { grid-template-columns: minmax(0, 1fr); }
    .fbr .fbr-mobile-filters { display: inline-flex; }
    .fbr-filters {
        display: none; position: fixed; inset: 0; z-index: 99999; background: var(--fbr-page); overflow: auto; align-content: start;
        padding: calc(env(safe-area-inset-top, 0px) + 16px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px));
    }
    .fbr-filters.is-open { display: grid; }
    .fbr-filters__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .fbr-filters__title { font-size: 22px; font-weight: 700; }
    .fbr-card--featured .fbr-card__link { flex-direction: column; }
    .fbr-card--featured .fbr-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
    .fbr-card--featured .fbr-card__body { padding: 18px; }
    .fbr .fbr-card--featured .fbr-card__title { font-size: 22px; }
}
@media (max-width: 600px) { .fbr-grid { grid-template-columns: minmax(0, 1fr); } }
html.fbr-noscroll { overflow: hidden; }

/* Sélections du moment ---------------------------------------------------------- */
.fbr-selection { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fbr .fbr-sel { background: #fff; border-radius: var(--fbr-r); border: 1px solid var(--fbr-line); padding: 20px; display: grid; gap: 8px; align-content: start; color: var(--fbr-text); transition: border-color .15s; }
.fbr .fbr-sel:hover { border-color: var(--fbr-teal); color: var(--fbr-text); }
.fbr-sel__label { font-size: 13px; font-weight: 700; color: var(--fbr-ink); text-transform: uppercase; letter-spacing: .07em; }
.fbr-sel__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.fbr-sel__text { font-size: 14.5px; color: var(--fbr-muted); }

@media (prefers-reduced-motion: reduce) {
    .fbr *, .fbr *::before, .fbr *::after { transition: none !important; }
}

/* Explorer aussi : carte carrée qui s'élargit sur toute la section ------------------------------- */
.fbr-xc [hidden] { display: none !important; }
.fbr-xc { background: #fff; border: 1px solid var(--fbr-line); border-radius: 18px; box-shadow: var(--fbr-shadow); margin-top: 6px; }
.fbr-xc:not(.is-open) { max-width: 250px; margin-left: auto; }
.fbr .fbr-xc__toggle { position: relative; width: 100%; display: grid; gap: 4px; padding: 12px 12px 14px; text-align: left; border-radius: 18px; color: var(--fbr-text); }
.fbr-xc__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 8px; }
.fbr .fbr-xc__mosaic img, .fbr-xc__ph { width: 100%; height: auto; aspect-ratio: 1; max-width: 100%; object-fit: cover; border-radius: 9px; display: block; background: var(--fbr-mint); transition: transform .25s; }
.fbr .fbr-xc__toggle:hover .fbr-xc__mosaic img { transform: scale(1.04); }
.fbr-xc__kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fbr-ink); }
.fbr-xc__summary { font-size: 15px; font-weight: 700; line-height: 1.3; padding-right: 40px; }
.fbr-xc__plus { position: absolute; right: 12px; bottom: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--fbr-ink); color: #fff; display: grid; place-items: center; transition: transform .2s; }
.fbr-xc__plus svg { width: 18px; height: 18px; }
.fbr .fbr-xc__toggle:hover .fbr-xc__plus { transform: rotate(90deg); }
.fbr-xc__panel { padding: 16px 18px 18px; }
.fbr-xc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fbr-xc__title { font-size: 19px; font-weight: 700; }
.fbr .fbr-xc__close { border: 1px solid var(--fbr-line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; color: var(--fbr-text); }
.fbr .fbr-xc__close:hover { border-color: var(--fbr-teal); color: var(--fbr-ink); }
.fbr-xc__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.fbr .fbr-space { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; overflow: hidden; color: #fff; box-shadow: var(--fbr-shadow); background: var(--fbr-mint); }
.fbr .fbr-space__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
.fbr .fbr-space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 40, 40, 0) 30%, rgba(20, 40, 40, .78)); }
.fbr .fbr-space:hover { color: #fff; }
.fbr .fbr-space:hover .fbr-space__img { transform: scale(1.06); }
.fbr-space__text { position: relative; z-index: 1; padding: 10px 12px; display: grid; gap: 1px; }
.fbr-space__text small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.fbr-space__text b { font-size: 15.5px; line-height: 1.2; font-weight: 700; }
/* Section Elementor qui accueille la carte ouverte : les colonnes passent l'une sous l'autre. */
.fbr-xc-expanded > .elementor-container { flex-wrap: wrap; }
.fbr-xc-expanded > .elementor-container > .elementor-column { width: 100% !important; }
::view-transition-group(fbr-xc) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); overflow: clip; border-radius: 18px; }
::view-transition-old(fbr-xc), ::view-transition-new(fbr-xc) { width: auto; height: auto; object-fit: none; object-position: 0 0; inset: 0 auto auto 0; }
::view-transition-old(fbr-xc) { animation: fbr-xc-out .15s ease both; }
::view-transition-new(fbr-xc) { animation: fbr-xc-in .3s ease .08s both; }
@keyframes fbr-xc-out { to { opacity: 0; } }
@keyframes fbr-xc-in { from { opacity: 0; } }
@media (max-width: 1080px) { .fbr-xc__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .fbr-xc, .fbr-xc:not(.is-open) { max-width: none; margin: 0; }
    .fbr .fbr-xc__toggle { grid-template-columns: 116px minmax(0, 1fr) 32px; align-items: center; column-gap: 12px; padding: 10px; }
    .fbr-xc__mosaic { grid-row: span 2; margin: 0; gap: 3px; }
    .fbr .fbr-xc__mosaic img { border-radius: 6px; }
    .fbr-xc__kicker { align-self: end; }
    .fbr-xc__summary { align-self: start; padding-right: 0; font-size: 14px; }
    .fbr-xc__plus { position: static; grid-column: 3; grid-row: 1 / span 2; }
    .fbr-xc__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .fbr .fbr-space { scroll-snap-align: start; }
}

/* Bandeau vers l'espace dédié (parents, pros, développement personnel) ------------------------------ */
.fbr-space-banner { display: flex; gap: 16px; align-items: center; background: var(--fbr-mint-soft); border: 1px solid #bfe6da; border-radius: var(--fbr-r); padding: 10px 18px 10px 10px; margin-bottom: 18px; }
.fbr .fbr-space-banner__img { width: 64px; height: 64px; max-width: none; border-radius: 10px; object-fit: cover; flex: none; }
.fbr-space-banner p { font-size: 15px; min-width: 0; }
.fbr-space-banner strong { color: var(--fbr-ink); }
.fbr .fbr-space-banner a { font-weight: 700; color: var(--fbr-ink); white-space: nowrap; }

/* Mise en page Elementor de la page blog : titre de section à gauche, description à droite. */
.fbr-head-row .elementor-widget-wrap { align-items: baseline; column-gap: 24px; }
.fbr-push-right { margin-left: auto; }
.fbr-head-row .fbr-push-right p, .fbr-head-row .elementor-widget-heading .elementor-heading-title { margin: 0; }
@media (max-width: 767px) { .fbr-push-right { margin-left: 0; } }

/* Haut de page resserré ------------------------------------------------------------------------- */
@media (min-width: 861px) {
    .fbr-main { position: relative; }
    .fbr-toolbar { position: absolute; top: 0; right: 0; margin: 0; }
    .fbr-bar { padding-right: 250px; min-height: 36px; }
}
/* Texte replié sur une ligne + « Lire la suite » au bout (classe Elementor fbr-clamp) : le texte complet reste dans la page. */
.fbr-clamp:not(.is-expanded) .elementor-widget-container { display: flex; align-items: baseline; gap: 10px; }
.fbr-clamp:not(.is-expanded) .elementor-widget-container > p:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0; }
.fbr-clamp__more { flex: none; font: inherit; font-size: 14px; font-weight: 700; color: #12807b; background: none !important; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; line-height: inherit; }
.fbr-clamp.is-expanded .fbr-clamp__more { margin-top: 4px; }
.fbr-clamp__more:hover { color: #158986; }
/* En-tête de la page blog (section Elementor de classe fbr-hero) : espacements serrés entre les blocs. */
.fbr-hero .elementor-widget:not(:last-child) { margin-bottom: 12px; }
.fbr-hero .elementor-widget-text-editor p { margin-bottom: 0; }
.fbr-hero .elementor-widget-heading .elementor-heading-title { margin: 0; }
.fbr-hero .fbr-sitacc { margin-top: 2px; }
.fbr-bar { margin-bottom: 12px; }
