/* Styles réservés à mot.html ; mêmes conteneurs et couleurs que 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: 28px 0 36px; }
.bgz-mot-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bgz-mot-intro > div { min-width: 0; }
.bgz-mot-intro__nature { font-size: .75rem; font-weight: 700; color: #616575; margin: 0 0 8px; letter-spacing: .06em; }
.bgz-mot-intro h1 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 12px; }
.bgz-mot-intro__description { max-width: 850px; font-size: 1rem; line-height: 1.65; color: #525668; }
.bgz-mot-intro__description p:last-child { margin-bottom: 0; }
.bgz-mot-intro__logo { flex: 0 0 auto; max-width: 100px; height: auto; }
.bgz-mot-section { margin-bottom: 28px; min-width: 0; }
.bgz-mot-page .sec-title-style1 { font-size: 1.3rem; line-height: 1.35; margin-bottom: 20px; }
.bgz-mot-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bgz-mot-chips a, .bgz-mot-pagination a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border-radius: 4px; background: #f0f1f4; color: #12162b; font-size: .875rem; font-weight: 600; }
.bgz-mot-chips a:hover, .bgz-mot-pagination a:hover { background: #e4e6ed; }
.bgz-mot-chips a[aria-current], .bgz-mot-pagination a[aria-current] { background: #12162b; color: #fff; }
.bgz-mot-page a:focus-visible, .bgz-mot-page summary:focus-visible { outline: 3px solid #e73066; outline-offset: 3px; }
.bgz-mot-territoire { margin-bottom: 28px; }
.bgz-mot-communes summary { cursor: pointer; color: #12162b; font-weight: 600; 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-une { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px 24px; }
.bgz-mot-card { min-width: 0; }
.bgz-mot-card--principal { grid-row: span 2; }
.bgz-mot-card__image { display: block; overflow: hidden; 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__image:hover 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: 8px; }
.bgz-mot-card__title { font-size: 1.05rem; line-height: 1.4; margin: 0 0 8px; overflow-wrap: anywhere; }
.bgz-mot-card--principal .bgz-mot-card__title { font-size: 1.4rem; }
.bgz-mot-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .75rem; line-height: 1.6; color: #616575; }
.bgz-mot-card__meta i { margin-right: 4px; }
.bgz-mot-card--secondaire { display: grid; grid-template-columns: 42% 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--principal.bgz-mot-card--sans-image { grid-row: auto; grid-column: 1 / -1; display: block; }
.bgz-mot-card--sans-image .bgz-mot-card__body { padding: 16px; background: #f5f6f8; }
.bgz-mot-populaires { padding: 22px; background: #fff0f4; border-radius: 6px; }
.bgz-mot-populaires__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(0,1fr)); gap: 24px; }
.bgz-mot-card--populaire .bgz-mot-card__image img { aspect-ratio: 2 / 1; }
.bgz-mot-filtres { margin-bottom: 16px; }
.bgz-mot-count { font-size: .8125rem; color: #616575; margin-bottom: 18px; }
.bgz-mot-card--liste { display: grid; grid-template-columns: 210px 1fr; align-items: start; gap: 20px; margin-bottom: 22px; padding-bottom: 22px; 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.6; color: #525668; margin: 10px 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: 22px; background: #f5f6f8; }
.bgz-mot-sidebar { min-width: 0; }
.bgz-mot-sidebar .bgz-agenda-carousel > .container { padding: 0; }
.bgz-mot-page .bgz-agenda-carousel { margin-bottom: 28px; }
.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 1fr; }
  .bgz-mot-card--principal { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
  .bgz-mot-card--secondaire { display: block; }
  .bgz-mot-card--secondaire .bgz-mot-card__body { padding-top: 12px; }
  .bgz-mot-sidebar { margin-top: 10px; }
}
@media (max-width: 575px) {
  .bgz-mot-main { padding-top: 22px; }
  .bgz-mot-intro { align-items: start; gap: 12px; }
  .bgz-mot-intro__logo { max-width: 64px; }
  .bgz-mot-une { display: block; }
  .bgz-mot-card--principal { display: block; margin-bottom: 22px; }
  .bgz-mot-card--principal .bgz-mot-card__title { font-size: 1.2rem; }
  .bgz-mot-card--secondaire { display: grid; grid-template-columns: 36% 1fr; gap: 12px; margin-bottom: 20px; }
  .bgz-mot-card--secondaire .bgz-mot-card__body { padding-top: 0; }
  .bgz-mot-card--liste { grid-template-columns: 112px 1fr; gap: 12px; }
  .bgz-mot-card__title { font-size: 1rem; }
  .bgz-mot-card__excerpt { grid-column: 1 / -1; }
  .bgz-mot-populaires { padding: 18px 14px; }
  .bgz-mot-populaires__grid { grid-template-columns: 1fr; gap: 18px; }
  .bgz-mot-card--populaire { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
  .bgz-mot-card--populaire .bgz-mot-card__body { padding-top: 0; }
  .bgz-mot-page .sec-title-style1 { font-size: 1.15rem; }
  .bgz-mot-chips { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .bgz-mot-card__image img { transition: none; } }
