/* BePolar - home 2 colonnes (V1 : nouvelle organisation, charte actuelle)
   Charger cette feuille sur la home uniquement, APRES la feuille actuelle du site.
   Tout est préfixé par .bp-home pour ne pas toucher aux autres pages. */
.bp-home{--red:#6f0b14;--ink:#222;--mute:#888}
.bp-home *,.bp-home *:before,.bp-home *:after{box-sizing:border-box;min-width:0}
.bp-home a{text-decoration:none;color:inherit}
.bp-home img{display:block;max-width:100%;height:auto}
.bp-home .cols{max-width:1064px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0;background:#fff;align-items:start}
.bp-home .left{border-right:1px solid #e8e8e8}
.bp-home .sec-h{font:400 13px "Roboto Slab",serif;text-transform:uppercase;padding:9px 16px;border-bottom:1px solid #e8e8e8;margin:0;background:#fff}
.bp-home .side-h{background:var(--red);color:#fff;font:400 16px/1.05 "Roboto Slab",serif;text-transform:uppercase;padding:10px 16px;margin:0}
.bp-home .news{padding:14px 32px 10px}
.bp-home .item{display:grid;grid-template-columns:134px 1fr;gap:34px;padding:12px 0 14px}
.bp-home .item img{width:134px;height:134px;object-fit:cover}
.bp-home .item h3{margin:0;color:var(--red);font:400 26px/1.08 "Roboto Slab",serif}
.bp-home .item p{margin:12px 0 0;font-size:13px;line-height:1.6;color:#333;max-width:58ch}
.bp-home .item hr{border:0;border-top:2px solid #e6e6e6;margin:10px 0 0}
.bp-home .plus{display:flex;justify-content:center;align-items:center;gap:6px;padding:10px 0 18px;color:#333}
.bp-home .plus:after{content:"";width:6px;height:6px;border:solid var(--red);border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
.bp-home .top{border-top:1px solid #e8e8e8}
.bp-home .tabs{display:flex;border-bottom:1px solid #e8e8e8;padding:0 16px;gap:2px}
.bp-home .tabs button{border:0;background:none;font:400 13px "Open Sans";padding:10px 26px;cursor:pointer;color:#333}
.bp-home .tabs button[aria-selected=true]{background:var(--red);color:#fff}
.bp-home .tabs button:focus-visible{outline:2px solid var(--red);outline-offset:-2px}
.bp-home .grid{list-style:none;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px;padding:12px 24px 20px}
.bp-home .grid{list-style:none;margin:0;counter-reset:rk}
.bp-home .grid li{counter-increment:rk}
.bp-home .bk h4:before{content:counter(rk) ". ";color:#aaa;font-weight:400}
.bp-home .bk{display:grid;grid-template-columns:52px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #f0f0f0;align-items:start}
.bp-home .bk img,.bp-home .bk .ph{width:52px;height:78px;object-fit:cover;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.bp-home .bk .ph{background:linear-gradient(160deg,#3a3a3a,#111);color:#fff;font:700 8px/1.1 "Roboto Slab";display:grid;place-items:center;text-align:center;padding:3px;text-transform:uppercase}
.bp-home .bk h4{margin:2px 0 4px;font:700 13px/1.3 "Open Sans"}
.bp-home .bk small{color:var(--mute);font-size:11px}
.bp-home .bk small em{font-style:normal;color:#c0392b}
.bp-home .right{padding:0 0 20px}
.bp-home .pub{background:#f2f2f2;border-bottom:1px solid #e8e8e8;padding:22px 0 14px;display:grid;justify-items:center}
.bp-home .pub img{width:250px;height:500px}
.bp-home .pub span{font-size:10px;color:#999;margin-top:6px;text-transform:uppercase;letter-spacing:.02em}
.bp-home .evs{padding:18px 18px 6px}
.bp-home .ev{display:grid;grid-template-columns:54px 1fr;gap:14px;margin-bottom:16px}
.bp-home .ev img{width:54px;height:54px;object-fit:cover}
.bp-home .ev h4{margin:0;font:700 13px/1.35 "Open Sans"}
.bp-home .ev small{color:var(--mute);font-size:11px}
.bp-home .dos{margin-top:8px}
.bp-home .dos .vis{position:relative;background:#2c2c2c;padding:16px}
.bp-home .dos .vis img{width:100%;aspect-ratio:132/65;object-fit:cover}
.bp-home .dos .vis h3{color:#fff;font:400 24px/1 "Roboto Slab",serif;text-transform:uppercase;margin:14px 0 6px}
.bp-home .dos .vis small{color:#fff;font-size:10px;text-transform:uppercase}
.bp-home .dos ul{list-style:none;margin:0;padding:0;background:#fff}
.bp-home .dos li{padding:12px 18px;border-bottom:1px solid #eee}
.bp-home .dos li b{display:block;text-transform:uppercase;font-size:11px}
.bp-home .dos li small{color:var(--mute);font-size:10px}
.bp-home .dos li.on{background:#1f1f1f;color:#fff}
.bp-home .grid[hidden]{display:none}
.bp-home .tabs button{font-family:inherit}
@media(max-width:900px){
.bp-home .cols{grid-template-columns:1fr}
.bp-home .left{border-right:0}
.bp-home .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
.bp-home .item{grid-template-columns:90px 1fr;gap:14px}
.bp-home .item img{width:90px;height:90px}
.bp-home .item h3{font-size:19px}
.bp-home .news{padding:10px 14px}
.bp-home .grid{grid-template-columns:1fr;padding:8px 14px}
.bp-home .tabs button{padding:10px 14px}
}
/* pastille date sur les vignettes de news (comme aujourd'hui) */
.bp-home .item .im{position:relative;display:block}
.bp-home .item .date{position:absolute;left:0;top:0;width:42px;background:var(--red);color:#fff;text-align:center;font:700 11px/1.2 "Open Sans",Arial,sans-serif;text-transform:uppercase;padding:6px 0}
.bp-home .item .date b{display:block;font-weight:400}
.bp-home .dos li a{display:block}
.bp-home .dos li small{display:block}
.bp-home .dos .vis{display:block}

/* Le fond de l ancienne grille trois colonnes ne concerne pas cette home. */
body.bp-home-v1 #main-content:before,body.bp-home-v1 #main-content:after{display:none}
.bp-home .pub>div{max-width:100%}

/* Neutraliser la largeur et le flottant de la classe .news du theme historique. */
.bp-home .news{float:none;width:auto;margin:0}
