/* Finalisation de mot.html uniquement ; palette et composants de BG2025. */
.bgz-mot-page { color: #12162b; font-family: Montserrat, sans-serif; }
.bgz-mot-page .bgz-mot-breadcrumb { background: #12162b; padding: 18px 0; }
.bgz-mot-breadcrumb__items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; color: #fff; font-size: .875rem; }
.bgz-mot-breadcrumb__items a { color: #fff; }
.bgz-mot-breadcrumb__items li + li::before { content: '/'; margin-right: 8px; color: #b7b9c3; }
.bgz-mot-main { padding: 26px 0 34px; }
.bgz-mot-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-bottom: 18px; border-radius: 6px; background: #f5f6f8; }
.bgz-mot-intro__identite { position: relative; min-width: 0; padding-left: 18px; }
.bgz-mot-intro__identite::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 0; width: 5px; background: #e73066; border-radius: 3px; }
.bgz-mot-intro__nature { font-size: .75rem; font-weight: 700; color: #60636b; margin: 0 0 8px; letter-spacing: .05em; }
.bgz-mot-intro__nature i { margin-right: 4px; color: #e73066; }
.bgz-mot-intro h1 { color: #12162b; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; margin: 0; }
.bgz-mot-intro__description { max-width: 850px; margin-top: 12px; font-size: 1rem; line-height: 1.65; color: #60636b; }
.bgz-mot-intro__description p:last-child { margin-bottom: 0; }
.bgz-mot-intro__logo { flex: 0 0 auto; width: auto; max-width: 170px; max-height: 145px; height: auto; object-fit: contain; }
.bgz-mot-section { margin-bottom: 26px; min-width: 0; }
.bgz-mot-page .sec-title-style1 { color: #12162b; font-size: 1.3rem; line-height: 1.35; margin-bottom: 18px; }
.bgz-mot-page .bgz-section-title::before { background: #e73066; }
.bgz-mot-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bgz-mot-chips a, .bgz-mot-pagination a, .bgz-mot-filtre-vide { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 13px; border-radius: 5px; background: #f0f1f4; color: #12162b; font-size: .875rem; font-weight: 600; }
.bgz-mot-chips a:hover, .bgz-mot-pagination a:hover { background: #e4e6ed; color: #e73066; }
.bgz-mot-chips a[aria-current], .bgz-mot-pagination a[aria-current] { background: #12162b; color: #fff; }
.bgz-mot-filtre-vide { color: #717580; background: #f7f7f9; }
.bgz-mot-page a:focus-visible, .bgz-mot-page summary:focus-visible { outline: 3px solid #e73066; outline-offset: 3px; }
.bgz-mot-territoire { margin-bottom: 24px; }
.bgz-mot-communes summary { cursor: pointer; color: #e73066; font-weight: 700; font-size: .875rem; padding: 12px 0; width: fit-content; }
.bgz-mot-communes__fermer, .bgz-mot-communes[open] .bgz-mot-communes__ouvrir { display: none; }
.bgz-mot-communes[open] .bgz-mot-communes__fermer { display: inline; }
.bgz-mot-communes[open] .bgz-mot-chips { padding: 12px; background: #f8f8fa; border-radius: 5px; }
.bgz-mot-une { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 24px; }
.bgz-mot-une__secondaires { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bgz-mot-card { min-width: 0; }
.bgz-mot-card__visual { position: relative; min-width: 0; }
.bgz-mot-card__image { display: block; overflow: hidden; border-radius: 4px; background: #eff0f3; }
.bgz-mot-card__image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.bgz-mot-card:hover .bgz-mot-card__image img { transform: scale(1.04); }
.bgz-mot-card__body { min-width: 0; padding-top: 12px; }
.bgz-mot-card__rubrique { display: inline-block; font-size: .75rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; color: #e73066; margin-bottom: 7px; }
.bgz-mot-page .bgz-mot-card__title { font-size: 1.125rem; font-weight: 700; line-height: 1.4; margin: 0 0 7px; overflow-wrap: anywhere; }
.bgz-mot-page .bgz-mot-card__title a { color: #12162b; }
.bgz-mot-page .bgz-mot-card__title a:hover, .bgz-mot-page .bgz-mot-card__title a:focus-visible { color: #e73066; }
.bgz-mot-card__meta { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: .8125rem; line-height: 1.6; color: #60636b; }
.bgz-mot-card__meta i { margin-right: 4px; }
.bgz-mot-card--principal { position: relative; overflow: hidden; border-radius: 5px; background: #12162b; }
.bgz-mot-card--principal .bgz-mot-card__visual, .bgz-mot-card--principal .bgz-mot-card__image { height: 100%; }
.bgz-mot-card--principal .bgz-mot-card__image img { min-height: 340px; aspect-ratio: 1.4; }
.bgz-mot-card--principal .bgz-mot-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 50px 22px 20px; pointer-events: none; }
.bgz-mot-card--principal .bgz-mot-card__body a { pointer-events: auto; }
.bgz-mot-page .bgz-mot-card--principal .bgz-mot-card__title { font-size: 1.4rem; font-weight: 800; line-height: 1.3; }
.bgz-mot-page .bgz-mot-card--principal .bgz-mot-card__title a { color: #fff; }
.bgz-mot-page .bgz-mot-card--principal .bgz-mot-card__title a:hover { color: #fff; text-decoration: underline; }
.bgz-mot-card--principal .bgz-mot-card__meta { color: #fff; }
.bgz-mot-card--secondaire { display: grid; grid-template-columns: 44% 1fr; gap: 16px; align-items: start; }
.bgz-mot-card--secondaire .bgz-mot-card__body { padding-top: 0; }
.bgz-mot-card--sans-image { display: block; }
.bgz-mot-card--sans-image .bgz-mot-card__body { padding: 16px; background: #f5f6f8; border-radius: 4px; }
.bgz-mot-card--principal.bgz-mot-card--sans-image { background: transparent; }
.bgz-mot-card--principal.bgz-mot-card--sans-image .bgz-mot-card__body { position: static; pointer-events: auto; }
.bgz-mot-page .bgz-mot-card--principal.bgz-mot-card--sans-image .bgz-mot-card__title a { color: #12162b; }
.bgz-mot-page .bgz-mot-card--principal.bgz-mot-card--sans-image .bgz-mot-card__title a:hover { color: #e73066; }
.bgz-mot-card--principal.bgz-mot-card--sans-image .bgz-mot-card__meta { color: #60636b; }
.bgz-mot-populaires { padding: 22px; background: #fff0f4; border-radius: 6px; }
.bgz-mot-populaires__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 22px; }
.bgz-mot-card--populaire .bgz-mot-card__image img { aspect-ratio: 1.8; }
.bgz-mot-card__category { position: absolute; top: 12px; left: 12px; right: 12px; }
.bgz-mot-page .bgz-mot-card__category a { font-size: .75rem; background: #e73066; color: #fff; padding: 6px 9px; border-radius: 4px; }
.bgz-mot-filtres { margin-bottom: 14px; }
.bgz-mot-count { font-size: .875rem; color: #60636b; margin-bottom: 18px; }
.bgz-mot-card--liste { display: grid; grid-template-columns: 210px 1fr; align-items: start; gap: 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ececf0; }
.bgz-mot-card--liste .bgz-mot-card__body { padding-top: 0; }
.bgz-mot-card--liste.bgz-mot-card--sans-image { display: block; }
.bgz-mot-card__excerpt { font-size: .875rem; line-height: 1.65; color: #60636b; margin: 8px 0 0; }
.bgz-mot-page .bgz-sponsored-badge { max-width: 100%; white-space: normal; }
.bgz-mot-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0 20px; }
.bgz-mot-pagination > span { padding: 5px; }
.bgz-mot-empty { padding: 20px; margin-bottom: 24px; background: #f5f6f8; border-radius: 5px; }
.bgz-mot-archives { padding: 18px 20px; background: #f5f6f8; border-radius: 5px; }
.bgz-mot-archives h3 { color: #12162b; font-size: 1rem; line-height: 1.4; margin: 0 0 8px; }
.bgz-mot-archives p { color: #60636b; font-size: .875rem; line-height: 1.6; margin-bottom: 10px; }
.bgz-mot-archives a { color: #e73066; font-size: .875rem; font-weight: 700; }
.bgz-mot-archives i { margin-left: 6px; }
.bgz-mot-sidebar { min-width: 0; }
.bgz-mot-sidebar .bgz-agenda-carousel > .container { padding: 0; }
.bgz-mot-page .bgz-agenda-carousel { margin-bottom: 26px; }
.bgz-mot-ad { min-width: 0; width: 100%; margin: 24px 0 30px; text-align: center; }
.bgz-mot-ad__label { display: block; color: #686b77; font-size: .6875rem; line-height: 1.6; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .06em; }
.bgz-mot-ad ins { min-height: 100px; max-width: 100%; }
.bgz-mot-ad--flux ins, .bgz-mot-ad--sidebar ins { min-height: 250px; }
.bgz-mot-ad ins[data-ad-status="unfilled"] { display: none !important; min-height: 0; }
.bgz-mot-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 991px) {
  .bgz-mot-une { grid-template-columns: 1fr; gap: 18px; }
  .bgz-mot-card--principal .bgz-mot-card__image img { aspect-ratio: 1.8; min-height: 300px; }
  .bgz-mot-une__secondaires { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .bgz-mot-card--secondaire { display: block; }
  .bgz-mot-card--secondaire .bgz-mot-card__body { padding-top: 10px; }
  .bgz-mot-sidebar { margin-top: 10px; }
}
@media (max-width: 575px) {
  .bgz-mot-main { padding-top: 20px; }
  .bgz-mot-intro { padding: 18px 14px; align-items: center; gap: 12px; }
  .bgz-mot-intro__identite { padding-left: 13px; }
  .bgz-mot-intro h1 { font-size: 1.65rem; overflow-wrap: anywhere; }
  .bgz-mot-intro__logo { max-width: 90px; max-height: 110px; }
  .bgz-mot-intro__description { font-size: .9375rem; }
  .bgz-mot-card--principal .bgz-mot-card__image img { min-height: 280px; aspect-ratio: 1.4; }
  .bgz-mot-card--principal .bgz-mot-card__body { padding: 45px 16px 16px; }
  .bgz-mot-page .bgz-mot-card--principal .bgz-mot-card__title { font-size: 1.25rem; }
  .bgz-mot-une__secondaires { display: flex; gap: 18px; }
  .bgz-mot-card--secondaire { display: grid; grid-template-columns: 36% 1fr; gap: 12px; }
  .bgz-mot-card--secondaire .bgz-mot-card__body { padding-top: 0; }
  .bgz-mot-card--liste { grid-template-columns: 112px 1fr; gap: 12px; }
  .bgz-mot-page .bgz-mot-card__title { font-size: 1.0625rem; }
  .bgz-mot-populaires { padding: 18px 14px; }
  .bgz-mot-populaires__grid { grid-template-columns: 1fr; gap: 20px; }
  .bgz-mot-card__category { top: 10px; left: 10px; right: 10px; }
  .bgz-mot-page .sec-title-style1 { font-size: 1.15rem; }
  .bgz-mot-chips { gap: 6px; }
  .bgz-mot-chips a, .bgz-mot-filtre-vide { padding: 8px 10px; }
}
@media (max-width: 360px) {
  .bgz-mot-intro { flex-wrap: wrap; }
  .bgz-mot-intro__logo { margin-left: 13px; }
  .bgz-mot-card--liste { grid-template-columns: 92px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bgz-mot-card__image img { transition: none; } }
