.bhblog-preview{box-sizing:border-box;max-width:1440px;margin:28px auto 50px;padding:0 24px;color:#49372e;font-family:Arial,sans-serif}.bhblog-preview *{box-sizing:border-box}.bhblog-preview a{color:#80583d;text-decoration:none}.bhblog-preview a:hover{text-decoration:underline}.bhblog-notice{background:#f3e9dc;padding:12px 18px;border-radius:10px;margin-bottom:18px;font-size:13px}.bhblog-hero{background:#6a4c39;color:white;border-radius:20px;min-height:250px;padding:65px 55px;background-size:cover;background-position:center}.bhblog-hero h1{color:white;font-size:42px;margin:0 0 14px}.bhblog-hero p{font-size:18px;margin:0;max-width:650px}.bhblog-rubrics{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 30px}.bhblog-rubrics a{padding:10px 16px;background:#f4ede5;border-radius:24px}.bhblog-rubrics a.active,.bhblog-pagination a.active{background:#6a4c39;color:#fff}.bhblog-feature{display:grid;grid-template-columns:42% 1fr;border-radius:18px;overflow:hidden;background:#f4ede5;margin-bottom:34px;min-height:260px}.bhblog-feature-visual,.bhblog-card-visual{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ac8b70,#5e4435);color:#fff;font-size:14px;letter-spacing:3px}.bhblog-feature-copy{padding:38px}.bhblog-feature-copy h2{font-size:27px;margin:10px 0}.bhblog-feature-copy p{line-height:1.65}.bhblog-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px}.bhblog-section-head{display:flex;justify-content:space-between;align-items:center}.bhblog-section-head h2{font-size:27px}.bhblog-section-head span{font-size:13px;color:#8b776b}.bhblog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bhblog-card{background:#fff;border:1px solid #eadfd4;border-radius:14px;overflow:hidden;box-shadow:0 4px 12px #4b382e12;transition:.2s}.bhblog-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px #4b382e24}.bhblog-card-visual{height:135px;font-size:11px}.bhblog-card-body{padding:18px}.bhblog-card h3{font-size:18px;line-height:1.35;margin:0 0 10px}.bhblog-card p{font-size:14px;line-height:1.55;color:#665b53}.bhblog-card-body>a{font-size:14px;font-weight:bold}.bhblog-side-box{padding:20px;background:#fbf8f4;border:1px solid #eadfd4;border-radius:14px;margin-bottom:18px}.bhblog-side-box h3{font-size:18px;margin:0 0 14px}.bhblog-side-box>a{display:block;margin:10px 0}.bhblog-side-box p{font-size:14px;line-height:1.6}.bhblog-side-box input{width:100%;border:1px solid #d6c4b5;border-radius:8px;padding:11px;margin-bottom:8px}.bhblog-side-box button{background:#6a4c39;color:#fff;border:0;border-radius:8px;padding:10px 16px;cursor:pointer}.bhblog-pagination{display:flex;gap:8px;justify-content:center;margin:30px 0}.bhblog-pagination a{padding:9px 13px;border-radius:8px;background:#f4ede5}.bhblog-back{display:inline-block;margin:16px 0}.bhblog-content{max-width:1000px;background:#fff;border:1px solid #eadfd4;border-radius:16px;padding:35px;line-height:1.75;overflow-wrap:anywhere}.bhblog-content img{max-width:100%;height:auto}@media(max-width:1100px){.bhblog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.bhblog-preview{padding:0 14px}.bhblog-hero{padding:42px 24px;min-height:200px}.bhblog-hero h1{font-size:30px}.bhblog-feature,.bhblog-layout{grid-template-columns:1fr}.bhblog-feature-visual{min-height:130px}.bhblog-feature-copy{padding:22px}.bhblog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.bhblog-grid{grid-template-columns:1fr}.bhblog-content{padding:18px}}
/* v0.2.2 image and layout refinements */
.bhblog-feature-visual,.bhblog-card-visual{position:relative;overflow:hidden}
.bhblog-feature-visual img,.bhblog-card-visual img{display:block;width:100%;height:100%;object-fit:cover}
.bhblog-card-visual{height:185px}
.bhblog-card{display:flex;flex-direction:column}
.bhblog-card-body{display:flex;flex:1;flex-direction:column}
.bhblog-card-body>a{margin-top:auto}
.bhblog-feature-copy{align-self:center}
.bhblog-article-image{width:100%;max-height:440px;object-fit:cover;border-radius:16px;margin-bottom:24px}
.bhblog-rubrics a:hover,.bhblog-pagination a:hover{background:#e9d9c9;text-decoration:none}
.bhblog-side-box{box-shadow:0 3px 12px #4b382e0a}
@media(max-width:760px){.bhblog-card-visual{height:160px}}

/* v0.2.3 - largeur 1440 et vignettes bicolores */
body #wrapper .bhblog-preview,body .bhblog-preview{width:100%;max-width:1440px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}
body #wrapper .container:has(.bhblog-preview),body #wrapper .container-fluid:has(.bhblog-preview){max-width:none;width:100%}
.bhblog-hero{display:flex;flex-direction:column;background-repeat:no-repeat;background-size:cover;padding:40px 55px}
.bhblog-hero-inner{width:100%}
.bhblog-hero h1,.bhblog-hero p{max-width:none}
.bhblog-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
.bhblog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bhblog-card{min-width:0;background:#f4eee7;border:1px solid #e8dcd0;border-radius:14px;overflow:hidden;box-shadow:0 4px 12px #4b382e12}
.bhblog-card-visual{width:100%;height:auto;aspect-ratio:16/10;flex:none;background:#fff;overflow:hidden}
.bhblog-card-visual img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
.bhblog-card-body{position:relative;background:#f4eee7;padding:18px 19px 20px;min-height:175px;display:flex;flex-direction:column;gap:8px}
.bhblog-card-body h3{margin:0;font-size:18px;line-height:1.35}
.bhblog-card-body p{margin:0 0 10px;line-height:1.5;color:#6c5b4f;overflow-wrap:anywhere}
.bhblog-card-body>a{margin-top:auto}
.bhblog-feature-visual{background:#fff;min-height:250px}
.bhblog-feature-visual img{object-fit:contain;background:#fff}
.bhblog-feature-copy{min-width:0}
@media(max-width:1050px){.bhblog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body .bhblog-preview{padding-left:14px;padding-right:14px}.bhblog-layout{grid-template-columns:1fr}.bhblog-hero{padding:30px 22px}.bhblog-feature{grid-template-columns:1fr}}
@media(max-width:480px){.bhblog-grid{grid-template-columns:1fr}}

/* v0.2.4 : sidebar starts alongside featured article; tighter header spacing */
body #wrapper .bhblog-preview,body .bhblog-preview{margin-top:8px;max-width:1440px}
.bhblog-rubrics{margin-bottom:20px}
.bhblog-feature{min-height:0;margin-bottom:24px;grid-template-columns:43% minmax(0,1fr)}
.bhblog-feature-visual{min-height:220px;max-height:320px}
.bhblog-feature-copy{padding:26px}
.bhblog-sidebar{align-self:start}
.bhblog-section-head h2{margin-top:0}
@media(max-width:760px){.bhblog-layout{grid-template-columns:1fr}.bhblog-feature{grid-template-columns:1fr}.bhblog-feature-visual{max-height:260px}}

/* v0.2.5: layout inspired by approved editorial mockup */
body #wrapper .bhblog-preview,body .bhblog-preview{max-width:1440px;width:100%;margin-top:0;padding:0 18px 0}
.bhblog-hero{margin-bottom:22px}
.bhblog-layout{grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.bhblog-main{min-width:0}
.bhblog-feature{grid-template-columns:52% minmax(0,1fr);min-height:260px;margin-bottom:26px;background:#f8f3ed;border:1px solid #eee4da;border-radius:12px}
.bhblog-feature-visual{min-height:260px;max-height:310px}
.bhblog-feature-copy{padding:26px 24px}
.bhblog-feature-copy h2{font-size:27px;line-height:1.2}
.bhblog-section-head{margin-bottom:12px}
.bhblog-section-head h2{font-size:26px;margin:0}
.bhblog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bhblog-card{border-radius:11px;background:#f6f0e9}
.bhblog-card-visual{aspect-ratio:16/9}
.bhblog-card-body{min-height:150px;padding:14px 15px 16px;gap:7px;background:#f6f0e9}
.bhblog-card-body h3{font-size:17px;line-height:1.3}
.bhblog-card-body p{font-size:13px;line-height:1.45}
.bhblog-card-body>a{font-size:13px}
.bhblog-side-box{padding:20px;margin-bottom:14px;border-radius:11px}
.bhblog-side-box h3{font-size:18px}
@media(max-width:1100px){.bhblog-layout{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.bhblog-grid{gap:12px}.bhblog-card-body{padding:12px}}
@media(max-width:850px){.bhblog-layout{grid-template-columns:1fr}.bhblog-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bhblog-side-box{margin:0}}
@media(max-width:650px){.bhblog-feature{grid-template-columns:1fr}.bhblog-feature-visual{max-height:240px}.bhblog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bhblog-sidebar{grid-template-columns:1fr}}
@media(max-width:430px){.bhblog-grid{grid-template-columns:1fr}}

/* v0.2.6: independently sized editorial canvas; avoids narrow theme container */
body #wrapper .bhblog-preview, body .bhblog-preview {
  width: min(1440px, calc(100vw - 48px)) !important;
  max-width: none !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 52px !important;
  padding: 0 !important;
}
.bhblog-hero{margin:0 0 22px !important}
.bhblog-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.bhblog-feature{grid-template-columns:52% minmax(0,1fr);min-height:280px}
.bhblog-feature-visual{min-height:280px;max-height:330px}
.bhblog-feature-copy{padding:28px 30px}
.bhblog-feature-copy h2{font-size:29px;margin:9px 0 12px}
.bhblog-feature-copy p{font-size:15px}
.bhblog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bhblog-card-visual{aspect-ratio:16/9;height:auto}
.bhblog-card-visual img{object-fit:cover}
.bhblog-card-body{min-height:152px;padding:15px 17px 17px;background:#f5eee7}
.bhblog-card-body h3{font-size:18px}
.bhblog-card-body p{font-size:14px}
.bhblog-side-box{padding:22px}
.bhblog-side-box h3{font-size:18px}
.bhblog-section-head h2{font-size:28px}
.bhblog-card-category{position:absolute;bottom:8px;left:9px;padding:5px 9px;background:#f8ede1;color:#74452f;border-radius:5px;font-size:11px;font-weight:700;letter-spacing:.02em}
.bhblog-card-visual{position:relative}
.bhblog-card-meta{margin-top:auto;display:flex;align-items:center;gap:10px;color:#8c796a;font-size:12px}
.bhblog-card-body>a{margin-top:4px}
@media(max-width:1050px){.bhblog-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.bhblog-grid{gap:14px}}
@media(max-width:850px){.bhblog-layout{grid-template-columns:1fr}.bhblog-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bhblog-side-box{margin:0}}
@media(max-width:650px){body #wrapper .bhblog-preview,body .bhblog-preview{width:calc(100vw - 28px) !important}.bhblog-feature{grid-template-columns:1fr}.bhblog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bhblog-sidebar{grid-template-columns:1fr}}
@media(max-width:430px){.bhblog-grid{grid-template-columns:1fr}}

/* v0.2.7 editorial refinements */
.bhblog-card-visual img.bhblog-img-contain,.bhblog-feature-visual img.bhblog-img-contain{object-fit:contain;background:#fff}
.bhblog-card-visual img.bhblog-img-cover,.bhblog-feature-visual img.bhblog-img-cover,.bhblog-card-visual img.bhblog-img-custom,.bhblog-feature-visual img.bhblog-img-custom{object-fit:cover}
.bhblog-feature-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px}
.bhblog-feature-copy h2{font-size:clamp(27px,2.4vw,38px);margin:0;color:#38281f}
.bhblog-feature-copy p{font-size:16px;margin:0 0 8px;line-height:1.55}
.bhblog-feature-tag{display:inline-block;background:#f3e1d1;color:#805035;font-weight:700;border-radius:5px;padding:5px 9px;font-size:12px}
.bhblog-feature-meta{color:#88766a;font-size:12px}
.bhblog-feature-button{display:inline-block;background:#805039;color:white!important;border-radius:7px;padding:11px 17px;font-weight:700;font-size:14px}
.bhblog-feature-button:hover{background:#62402f;text-decoration:none!important}
.bhblog-card-category{max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}
.bhblog-card-body h3{font-size:19px;line-height:1.3}
.bhblog-sidebar .bhblog-side-box>a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 0;border-bottom:1px solid #eee5dc}
.bhblog-count{color:#9b8170;background:#f4ede5;padding:2px 7px;border-radius:9px;font-size:12px}
.bhblog-side-box h3{border-bottom:2px solid #e9ded2;padding-bottom:10px}
@media(max-width:650px){.bhblog-feature-copy h2{font-size:28px}}

/* v0.2.8 configurable two-tone cards, framed media area */
.bhblog-preview .bhblog-card{background:var(--bh-card-body-bg,#fffcf8);overflow:hidden}
.bhblog-preview .bhblog-card-visual{background:var(--bh-card-image-bg,#f5eee7);border:var(--bh-card-border-width,2px) solid var(--bh-card-image-border,#dcc9b7);border-radius:9px 9px 3px 3px;overflow:hidden;box-sizing:border-box}
.bhblog-preview .bhblog-card-visual img.bhblog-img-contain{background:var(--bh-card-image-bg,#f5eee7)}
.bhblog-preview .bhblog-card-body{background:var(--bh-card-body-bg,#fffcf8);color:var(--bh-card-text,#704b38)}
.bhblog-preview .bhblog-card-body h3,.bhblog-preview .bhblog-card-body h3 a,.bhblog-preview .bhblog-card-body>a{color:var(--bh-card-text,#704b38)}
.bhblog-preview .bhblog-card-body p{color:var(--bh-card-text,#704b38);opacity:.84}
.bhblog-preview .bhblog-card-category{z-index:1}

/* v0.2.9: interactive cards, overlapping compact badges and featured image frame */
.bhblog-preview .bhblog-clickable{cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;will-change:transform}
.bhblog-preview .bhblog-card{overflow:visible;position:relative;isolation:isolate}
.bhblog-preview .bhblog-card:hover,.bhblog-preview .bhblog-card:focus-visible{transform:translateY(-7px);box-shadow:0 16px 30px rgba(65,43,30,.24);z-index:2}
.bhblog-preview .bhblog-feature{overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.bhblog-preview .bhblog-feature:hover,.bhblog-preview .bhblog-feature:focus-visible{transform:translateY(-6px);box-shadow:0 17px 35px rgba(65,43,30,.22);border-color:#d7bca7}
.bhblog-preview .bhblog-clickable:focus-visible{outline:3px solid #a46e4e;outline-offset:3px}
.bhblog-preview .bhblog-card-visual{overflow:visible;border-radius:10px 10px 0 0}
.bhblog-preview .bhblog-card-visual img{border-radius:7px 7px 0 0;overflow:hidden}
.bhblog-preview .bhblog-card-category{position:absolute;bottom:0;left:12px;transform:translateY(50%);z-index:3;padding:4px 7px;line-height:1.15;border-radius:5px;max-width:calc(100% - 24px);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 4px rgba(55,35,25,.12)}
.bhblog-preview .bhblog-card-body{border-radius:0 0 10px 10px;padding-top:19px}
.bhblog-preview .bhblog-feature-visual{border:var(--bh-card-border-width,2px) solid var(--bh-card-image-border,#dcc9b7);background:var(--bh-card-image-bg,#f5eee7);border-radius:10px 0 0 10px;overflow:hidden;box-sizing:border-box}
.bhblog-preview .bhblog-feature-visual img.bhblog-img-contain{background:var(--bh-card-image-bg,#f5eee7)}
@media(max-width:650px){.bhblog-preview .bhblog-feature-visual{border-radius:10px 10px 0 0}}
@media(prefers-reduced-motion:reduce){.bhblog-preview .bhblog-clickable{transition:none;will-change:auto}.bhblog-preview .bhblog-clickable:hover{transform:none}}

/* v0.2.9.1: full-card navigation without inline JavaScript (Smarty-safe) */
.bhblog-preview .bhblog-feature,.bhblog-preview .bhblog-card{position:relative}
.bhblog-preview .bhblog-card-overlay{position:absolute;inset:0;z-index:5;display:block;border-radius:inherit;background:transparent}
.bhblog-preview .bhblog-card-overlay:focus-visible{outline:3px solid #a46e4e;outline-offset:3px}
.bhblog-preview .bhblog-feature-button,.bhblog-preview .bhblog-card-body a{position:relative;z-index:6}

/* v0.2.10 — soft corners, clean sidebar and integrated calendar */
.bhblog-preview .bhblog-card-visual{border-radius:11px 11px 8px 8px}
.bhblog-preview .bhblog-card-visual img{border-radius:9px 9px 7px 7px}
.bhblog-preview .bhblog-feature{border-radius:12px;overflow:hidden}
.bhblog-preview .bhblog-feature-copy{border-radius:0 12px 12px 0}
.bhblog-preview .bhblog-feature-visual{border-radius:11px 9px 9px 11px}
.bhblog-preview .bhblog-feature-visual img{border-radius:9px}
.bhblog-preview .bhblog-feature-button{background:#b7825c;color:#fff!important}
.bhblog-preview .bhblog-feature-button:hover{background:#966647}
.bhblog-preview .bhblog-sidebar .bhblog-side-box>a.bhblog-category-link{display:flex;align-items:center;gap:12px;border:0;padding:9px 6px;border-radius:9px;transition:background .2s ease}
.bhblog-preview .bhblog-sidebar .bhblog-side-box>a.bhblog-category-link:hover{background:#f5eee7;text-decoration:none}
.bhblog-category-icon{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 29px;font-size:18px;color:#805039;background:#f7f0e9;border-radius:8px}
.bhblog-category-icon img{width:21px;height:21px;object-fit:contain}
.bhblog-category-name{flex:1;min-width:0;font-size:14px;color:#704b38}
.bhblog-search-form{display:flex!important;align-items:stretch;width:100%;border:1px solid #ddcbbc;border-radius:999px;overflow:hidden;background:#fff;min-height:44px}
.bhblog-preview .bhblog-search-form input[type=search]{flex:1;min-width:0;width:100%;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent;padding:10px 14px;font-size:14px;outline:0}
.bhblog-preview .bhblog-search-form button{flex:0 0 46px;width:46px;border:0!important;border-radius:0!important;margin:0!important;background:#805039;color:#fff;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.bhblog-preview .bhblog-search-form button:hover{background:#68402f}
.bhblog-preview .bhblog-sidebar .bhblog-side-box>a.bhblog-event-link{display:flex;gap:11px;align-items:center;padding:11px 2px;border-bottom:1px solid #f0e7dd;text-decoration:none}
.bhblog-event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:47px;padding:7px 4px;border-radius:9px;background:#f5eee7;color:#805039;line-height:1.1}
.bhblog-event-date strong{font-size:20px}.bhblog-event-date small{font-size:11px;margin-top:3px}
.bhblog-event-info{display:flex;flex-direction:column;gap:4px;min-width:0;color:#704b38}
.bhblog-event-info strong{font-size:13px;line-height:1.3}.bhblog-event-info small{font-size:11px;color:#897466}
.bhblog-preview .bhblog-sidebar .bhblog-side-box>a.bhblog-calendar-more{display:block;border:0;text-align:right;color:#805039;font-weight:600;font-size:13px;margin-top:12px}
@media(max-width:650px){.bhblog-preview .bhblog-feature-copy{border-radius:0 0 12px 12px}.bhblog-preview .bhblog-feature-visual{border-radius:11px 11px 8px 8px}}

/* v0.2.11: sidebar visual consistency */
.bhblog-preview .bhblog-category-icon{background:transparent!important;border:0!important;color:#805039!important;border-radius:0!important;width:23px!important;flex-basis:23px!important;height:25px!important;font-size:0!important}
.bhblog-category-svg{display:block;width:20px;height:20px;fill:none;stroke:#805039}
.bhblog-category-icon img{filter:grayscale(1) sepia(1) saturate(2) hue-rotate(335deg) brightness(.65);background:transparent!important}
.bhblog-preview .bhblog-category-link{border:0!important;box-shadow:none!important}
.bhblog-preview .bhblog-search-form{align-items:center!important}
.bhblog-preview .bhblog-search-form input[type=search]{height:44px!important;line-height:24px!important;padding-top:10px!important;padding-bottom:10px!important;align-self:center!important}
.bhblog-preview .bhblog-search-form input::placeholder{color:#b5a79d!important;opacity:1!important}
.bhblog-calendar-side .bh-home-events{width:100%;min-width:0;margin:0;padding:0;background:transparent}
.bhblog-calendar-side .bh-home-events__header h2{display:none}
.bhblog-calendar-side .bh-home-events__header{margin-bottom:8px}
.bhblog-calendar-side .bh-home-events__carousel,.bhblog-calendar-side .bh-home-events__viewport{width:100%;min-width:0}
.bhblog-calendar-side .bh-home-event{min-width:100%;box-sizing:border-box}
.bhblog-calendar-side .bh-home-events__footer{display:none}

/* v0.2.12: stable search, visible category icons and native-data calendar sidebar */
.bhblog-preview .bhblog-search-form{height:46px!important;min-height:46px!important;display:flex!important;align-items:stretch!important;overflow:hidden!important;border-radius:999px!important}
.bhblog-preview .bhblog-search-form input[type=search]{height:44px!important;min-height:0!important;line-height:normal!important;padding:0 14px!important;margin:0!important;align-self:center!important;display:block!important;appearance:none!important;box-shadow:none!important}
.bhblog-preview .bhblog-search-form button[type=submit]{height:46px!important;min-height:46px!important;align-self:stretch!important;flex:0 0 48px!important;background:#805039!important;border-radius:0 999px 999px 0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.bhblog-preview .bhblog-search-form button[type=submit] svg{display:block;flex:none;color:#fff}
.bhblog-preview .bhblog-search-form input::placeholder{color:#bcaea4!important;opacity:1!important}
.bhblog-preview .bhblog-category-icon{display:inline-flex!important;visibility:visible!important;opacity:1!important;width:25px!important;min-width:25px!important;height:25px!important;flex:0 0 25px!important}
.bhblog-preview .bhblog-category-svg{display:block!important;visibility:visible!important;opacity:1!important;width:22px!important;height:22px!important;stroke:#805039!important;fill:none!important}
.bhblog-results-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:14px 0;padding:10px 14px;border-radius:9px;background:#f1e6da;font-size:13px}
.bhblog-results-toolbar a,.bhblog-search-reset{font-weight:600;color:#805039!important}
.bhblog-search-reset{display:inline-block;margin-top:11px;font-size:12px}
.bhblog-calendar-side{margin-bottom:18px}
.bhblog-calendar-heading{text-align:center;border:1px solid #e4d3c3;background:#efe7de;color:#704b38;border-radius:11px;font-size:17px;font-weight:700;padding:8px;margin:0 0 12px}
.bhblog-calendar-events{display:grid;gap:9px}
.bhblog-preview .bhblog-calendar-event{font-family:inherit;text-align:left;width:100%;display:flex;gap:11px;align-items:center;background:#fff!important;border:1px solid #e9ded4!important;border-radius:12px!important;padding:10px!important;box-shadow:0 4px 0 #ded7d1!important;cursor:pointer;color:#3d2d26!important;transition:transform .2s,box-shadow .2s}
.bhblog-preview .bhblog-calendar-event:hover{transform:translateY(-3px);box-shadow:0 7px 13px #4b382e25!important}
.bhblog-calendar-date{background:#f2eae2;color:var(--event-color,#805039);border-radius:10px;min-width:49px;min-height:52px;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.1}
.bhblog-calendar-date strong{font-size:19px}.bhblog-calendar-date small{font-size:10px;text-transform:uppercase;font-weight:700;margin-top:3px}
.bhblog-calendar-details{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;line-height:1.25}
.bhblog-calendar-details>strong{font-size:13px;color:#352821}.bhblog-calendar-details>small{font-size:11px;color:#78685e}.bhblog-calendar-discover{font-size:11px;font-weight:700;color:#805039}
.bhblog-preview .bhblog-calendar-all{display:block;text-align:center;background:#805039;color:white!important;padding:11px 8px;border-radius:9px;font-size:13px;font-weight:700;margin-top:13px}
.bhblog-calendar-dialog{border:1px solid #e1cdbc;border-radius:15px;padding:24px;max-width:min(520px,calc(100vw - 30px));width:100%;box-shadow:0 20px 70px #30201766;color:#49372e}
.bhblog-calendar-dialog::backdrop{background:#21150eb0}.bhblog-calendar-close{position:absolute;top:8px;right:12px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#805039}
.bhblog-calendar-description{line-height:1.6;overflow-wrap:anywhere}.bhblog-calendar-description img{max-width:100%;height:auto}

/* v0.2.14: signature éditoriale */
.bhblog-author-signature{margin:28px 0 8px;padding:18px 22px;border-top:1px solid #dfd0c2;background:#fffcf8;border-radius:10px;color:#704b38}.bhblog-author-signature p{margin:8px 0 0;line-height:1.6}

/* Article detail uses the same right sidebar as the blog index. */
.bhblog-article-layout{margin-top:12px;align-items:start}
.bhblog-article-layout .bhblog-main{min-width:0}
.bhblog-article-layout .bhblog-content{max-width:none;width:100%;min-width:0}
.bhblog-article-layout h1{font-size:clamp(28px,3vw,42px);line-height:1.2;color:#634531}
.bhblog-article-layout .bhblog-article-image{display:block;width:100%;max-height:490px;object-fit:contain;background:#f6efe8;border-radius:14px;margin:0 0 22px}
.bhblog-content h2{font-size:30px;line-height:1.25;margin:1.3em 0 .5em}
.bhblog-content h3{font-size:25px;line-height:1.3;margin:1.2em 0 .5em}
.bhblog-content h4{font-size:21px;margin:1em 0 .4em}
.bhblog-content h5{font-size:18px;margin:1em 0 .4em}
.bhblog-content h6{font-size:16px;margin:1em 0 .4em}
.bhblog-content p{margin:0 0 1.15em;white-space:normal}
.bhblog-content img{display:block;max-width:100%;height:auto;margin:16px auto;border-radius:10px}
.bhblog-content a{text-decoration:underline}
.bhblog-content blockquote{border-left:4px solid #b88f71;padding:12px 18px;background:#fbf7f2;margin:20px 0}
.bhblog-content ul,.bhblog-content ol{padding-left:30px;margin:12px 0 22px}
.bhblog-content .bh-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.bhblog-content iframe,.bhblog-content video{max-width:100%}
.bhblog-author-signature{background:#fbf7f2;border:1px solid #eadccf;border-radius:14px;padding:18px;margin:24px 0}
.bhblog-author-signature img{width:76px;height:76px;object-fit:cover;border-radius:50%;background:#e8d8c8}
@media(max-width:850px){.bhblog-content .bh-two-cols{grid-template-columns:1fr}}

/* v0.2.17: constrain rich article content */
.bhblog-layout,.bhblog-layout>*{min-width:0}.bhblog-content{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.bhblog-content *{box-sizing:border-box;max-width:100%}.bhblog-content pre,.bhblog-content code{white-space:pre-wrap;overflow-wrap:anywhere}.bhblog-content table{display:block;overflow-x:auto}.bhblog-content iframe,.bhblog-content video,.bhblog-content img{max-width:100%!important;height:auto}.bhblog-content .bh-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}@media(max-width:700px){.bhblog-content .bh-two-cols{grid-template-columns:1fr}}
/* BH Blog v0.2.19 — media within article */
.bhblog-article-figure, .bhblog-article-body figure, .bhblog-post-body figure{margin:22px auto;max-width:100%;text-align:center;}
.bhblog-article-figure img, .bhblog-article-body figure img, .bhblog-post-body figure img{max-width:100%;height:auto;display:block;margin:0 auto;}
.bhblog-article-figure figcaption, .bhblog-article-body figcaption, .bhblog-post-body figcaption{font-style:italic;color:#816e60;font-size:.9em;margin-top:8px;}
/* v0.2.21: preserve editor-defined dimensions while respecting article width */
.bhblog-article-figure img[width][height]{height:revert-layer;max-width:100%;object-fit:fill;}


/* v0.2.27 : le guillemet appartient au paragraphe et suit son alignement. */
.bhblog-content blockquote,
.bhblog-preview .bhblog-content blockquote {
  display:block!important; position:relative!important;
  margin:24px 0!important; padding:10px 16px!important;
  border:0!important; background:none!important;
  color:#9d4b2d!important; font:italic 1.08em/1.65 Georgia,serif!important;
}
.bhblog-content blockquote::before,.bhblog-content blockquote::after,
.bhblog-preview .bhblog-content blockquote::before,
.bhblog-preview .bhblog-content blockquote::after {content:none!important;display:none!important;}
.bhblog-content blockquote > p,
.bhblog-preview .bhblog-content blockquote > p {margin:0!important;font:inherit!important;}
/* SVG arrondi, inséré dans la ligne du texte et non fixé au bloc. */
.bhblog-content blockquote > p:first-of-type::before,
.bhblog-preview .bhblog-content blockquote > p:first-of-type::before {
 content:""!important;display:inline-block!important;
 width:32px!important;height:28px!important;margin-right:20px!important;
 vertical-align:-8px!important;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath fill='%239d4b2d' d='M17.7 2.5C8.9 7.5 4 15 4 24.5V31h15V17H11c1.2-4.6 4-8 9-11.1L17.7 2.5zm19 0C27.9 7.5 23 15 23 24.5V31h15V17h-8c1.2-4.6 4-8 9-11.1l-2.3-3.4z'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.bhblog-content blockquote footer,.bhblog-content blockquote cite,
.bhblog-preview .bhblog-content blockquote footer,
.bhblog-preview .bhblog-content blockquote cite {
 display:block!important;margin-top:10px!important;color:#333!important;
 font:normal 13px/1.5 Arial,sans-serif!important;
}

/* BH Blog 0.2.28 : composition et rendu des blocs */
#bhblog-block-tools{position:sticky;top:0;z-index:6;background:#fff8f1;border:1px solid #d7c2b2;padding:8px 10px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
#bhblog-block-tools[hidden]{display:none}
#bhblog-block-tools button{background:#fff;border:1px solid #d7c2b2;border-radius:5px;color:#65412e;padding:5px 9px}
.bh-rich-editor .bh-selected-block{outline:2px dashed #b98969;outline-offset:3px}
.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0;max-width:100%}
.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bh-rich-editor .bh-article-gallery figure,.bhblog-content .bh-article-gallery figure{min-width:0;margin:0}
.bh-rich-editor .bh-article-gallery img,.bhblog-content .bh-article-gallery img{width:100%;height:auto;object-fit:contain}
.bh-rich-editor .bh-article-gallery figcaption,.bhblog-content .bh-article-gallery figcaption{font-size:13px;color:#786c62;font-style:italic;text-align:center}
.bh-rich-editor .bh-three-cols,.bhblog-content .bh-three-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}
.bh-rich-editor .bh-article-callout,.bhblog-content .bh-article-callout{padding:16px 20px;border-left:4px solid #9d6b4e;background:#f8f1ea;margin:18px 0;border-radius:4px}
.bh-rich-editor .bh-article-button,.bhblog-content .bh-article-button{display:inline-block;background:#865b40;color:#fff!important;padding:10px 18px;border-radius:7px;text-decoration:none}
@media(max-width:700px){.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery,.bh-rich-editor .bh-three-cols,.bhblog-content .bh-three-cols{grid-template-columns:1fr}}

/* v0.2.31 : styles des encadres sur les pages publiques et dans l’aperçu */
/* v0.2.30 : encadré contenant réellement son texte, teintes foncées sélectionnables. */
.bh-rich-editor .bh-article-callout,.bhblog-content .bh-article-callout{
  display:block;box-sizing:border-box;width:100%;margin:20px 0;padding:20px 24px;
  border:1px solid rgba(255,255,255,.15);border-left:5px solid #b68b70;border-radius:10px;
  background:#49372f;color:#fff8f1;line-height:1.65;
}
.bh-rich-editor .bh-article-callout *, .bhblog-content .bh-article-callout *{color:inherit}
.bh-rich-editor .bh-article-callout p,.bhblog-content .bh-article-callout p{margin:0 0 10px}
.bh-rich-editor .bh-article-callout p:last-child,.bhblog-content .bh-article-callout p:last-child{margin-bottom:0}
.bh-rich-editor .bh-callout-ardoise,.bhblog-content .bh-callout-ardoise{background:#354047;border-left-color:#8399a4}
.bh-rich-editor .bh-callout-prune,.bhblog-content .bh-callout-prune{background:#4b3542;border-left-color:#b487a4}
.bh-rich-editor .bh-callout-vert,.bhblog-content .bh-callout-vert{background:#34473d;border-left-color:#87a68d}
.bh-rich-editor .bh-callout-brun,.bhblog-content .bh-callout-brun{background:#49372f;border-left-color:#b68b70}



/* v0.2.33 — encadres pastel sans liseré lateral, lisibles dans l'editeur et sur le site. */
.bh-rich-editor .bh-article-callout,.bhblog-content .bh-article-callout{
  border:1px solid #dccdc3!important;border-left:1px solid #dccdc3!important;
  border-radius:11px!important;background:#e5c9b6!important;color:#493b36!important;
  padding:20px 24px!important;box-shadow:none!important;
}
.bh-rich-editor .bh-article-callout *, .bhblog-content .bh-article-callout *{color:inherit!important}
.bh-rich-editor .bh-callout-brun,.bhblog-content .bh-callout-brun{background:#e5c9b6!important;border-color:#cda88f!important}
.bh-rich-editor .bh-callout-ardoise,.bhblog-content .bh-callout-ardoise{background:#c6d9e1!important;border-color:#9fbac6!important;color:#344650!important}
.bh-rich-editor .bh-callout-prune,.bhblog-content .bh-callout-prune{background:#e2c4d7!important;border-color:#c7a3ba!important;color:#513c4a!important}
.bh-rich-editor .bh-callout-vert,.bhblog-content .bh-callout-vert{background:#c9decf!important;border-color:#a3c2ad!important;color:#354b3c!important}
/* Deux barres restent visibles pendant le defilement INTERNE de la redaction. */
.bhblog-editor-scroll #bhblog-block-tools{
 position:sticky!important;top:var(--bhblog-toolbar-height,60px)!important;
 z-index:19!important;box-shadow:0 3px 9px #382a1b18;
}
.bhblog-editor-scroll #bhblog-block-tools[hidden]{display:none!important}

/* v0.2.34 — barre des blocs sous les deux barres fixes */
.bhblog-editor-scroll #bhblog-block-tools{top:calc(var(--bhblog-toolbar-height,60px) + var(--bhblog-advanced-height,55px))!important;z-index:18!important;}


/* v0.2.35 — palette Bear's Haven, identique en rédaction et sur la page article. */
.bh-rich-editor .bh-article-callout,
.bhblog-preview .bhblog-content .bh-article-callout,
.bhblog-content .bh-article-callout {
  box-sizing:border-box!important;display:block!important;
  padding:17px 21px!important;margin:18px 0!important;
  border:1px solid #d1b9a6!important;border-left:1px solid #d1b9a6!important;
  border-radius:12px!important;box-shadow:none!important;
  background:#e8d6c7!important;color:#48382f!important;
}
.bh-rich-editor .bh-article-callout *,
.bhblog-preview .bhblog-content .bh-article-callout *,
.bhblog-content .bh-article-callout * {color:inherit!important}
.bh-rich-editor .bh-callout-brun,
.bhblog-preview .bhblog-content .bh-callout-brun,
.bhblog-content .bh-callout-brun {background:#e5cdbb!important;border-color:#c9a990!important;color:#48372e!important}
.bh-rich-editor .bh-callout-ardoise,
.bhblog-preview .bhblog-content .bh-callout-ardoise,
.bhblog-content .bh-callout-ardoise {background:#ddd9d2!important;border-color:#c2b9ad!important;color:#403b36!important}
.bh-rich-editor .bh-callout-prune,
.bhblog-preview .bhblog-content .bh-callout-prune,
.bhblog-content .bh-callout-prune {background:#e5d2d0!important;border-color:#c9adaa!important;color:#513d3b!important}
.bh-rich-editor .bh-callout-vert,
.bhblog-preview .bhblog-content .bh-callout-vert,
.bhblog-content .bh-callout-vert {background:#dce0d2!important;border-color:#bac3ac!important;color:#3d4538!important}

/* v0.2.36 — Galeries responsive, sans débordement, jusqu’à quatre colonnes. */
.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:100%}
.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bh-rich-editor .bh-gallery-4,.bhblog-content .bh-gallery-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.bh-rich-editor .bh-article-gallery figure,.bhblog-content .bh-article-gallery figure{min-width:0;margin:0;overflow:hidden}
.bh-rich-editor .bh-article-gallery img,.bhblog-content .bh-article-gallery img{display:block;width:100%;height:auto;object-fit:cover;border-radius:8px}
.bh-rich-editor .bh-article-gallery figcaption,.bhblog-content .bh-article-gallery figcaption{margin-top:6px;color:#655347;font-size:13px;text-align:center}
@media(max-width:760px){.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery,.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3,.bh-rich-editor .bh-gallery-4,.bhblog-content .bh-gallery-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery,.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3,.bh-rich-editor .bh-gallery-4,.bhblog-content .bh-gallery-4{grid-template-columns:1fr!important}}

/* v0.2.38 : dimensions définies par l'utilisateur, sans étirement forcé à 100 %. */
.bh-rich-editor .bh-article-gallery img[width],.bhblog-content .bh-article-gallery img[width],
.bh-rich-editor .bhblog-article-figure img[width],.bhblog-content .bhblog-article-figure img[width]{width:auto!important;height:auto!important;max-width:100%!important;object-fit:contain!important;margin-left:auto;margin-right:auto}
.bh-rich-editor .bh-article-gallery img[style*="width:"],.bh-rich-editor .bhblog-article-figure img[style*="width:"]{width:revert-layer;max-width:100%!important}

/* BH Blog v0.2.39 — finitions de lecture, sans modification du HTML enregistré. */
.bhblog-preview .bhblog-content{font-size:16px;line-height:1.78;color:#49372e;overflow-wrap:break-word;min-width:0}
.bhblog-preview .bhblog-content > :first-child{margin-top:0}
.bhblog-preview .bhblog-content > :last-child{margin-bottom:0}
.bhblog-preview .bhblog-content p{margin:0 0 1.15em;line-height:inherit}
.bhblog-preview .bhblog-content h2,.bhblog-preview .bhblog-content h3,.bhblog-preview .bhblog-content h4{color:#513c30;overflow-wrap:break-word}
.bhblog-preview .bhblog-content h2{margin:1.55em 0 .55em;font-size:clamp(23px,2.4vw,30px);line-height:1.3}
.bhblog-preview .bhblog-content h3{margin:1.4em 0 .5em;font-size:clamp(20px,2vw,25px);line-height:1.35}
.bhblog-preview .bhblog-content h4{margin:1.2em 0 .45em;font-size:clamp(18px,1.7vw,21px);line-height:1.4}
.bhblog-preview .bhblog-content ul,.bhblog-preview .bhblog-content ol{margin:0 0 1.4em;padding-left:1.65em}
.bhblog-preview .bhblog-content li{margin:.3em 0}
.bhblog-preview .bhblog-content a:not(.bh-article-button){color:#80583d;text-decoration:underline;text-underline-offset:3px}
.bhblog-preview .bhblog-content a:not(.bh-article-button):hover{color:#5c3e2e}
.bhblog-preview .bhblog-content img{max-width:100%!important;height:auto;object-fit:contain}
.bhblog-preview .bhblog-content figure{max-width:100%;min-width:0;margin:24px auto}
.bhblog-preview .bhblog-content figure img{display:block;max-width:100%!important;height:auto;margin:0 auto;border-radius:10px}
.bhblog-preview .bhblog-content figcaption{font-size:13px;line-height:1.55;color:#78685e;text-align:center;margin-top:9px;font-style:normal}
.bhblog-preview .bhblog-content .bh-article-gallery{display:grid;gap:16px;align-items:start;margin:26px 0;max-width:100%;min-width:0}
.bhblog-preview .bhblog-content .bh-article-gallery figure{margin:0;min-width:0;max-width:100%;overflow:hidden}
.bhblog-preview .bhblog-content .bh-article-gallery img{max-width:100%!important;height:auto!important;object-fit:contain;margin:0 auto}
.bhblog-preview .bhblog-content .bh-article-gallery figcaption{margin-top:8px}
.bhblog-preview .bhblog-content .bh-two-cols,.bhblog-preview .bhblog-content .bh-three-cols{min-width:0;align-items:start;gap:22px;margin:22px 0}
.bhblog-preview .bhblog-content .bh-two-cols > *,.bhblog-preview .bhblog-content .bh-three-cols > *{min-width:0}
.bhblog-preview .bhblog-content .bh-article-callout{margin:22px 0!important;padding:19px 23px!important;line-height:1.7;border-radius:12px!important}
.bhblog-preview .bhblog-content .bh-article-callout > :last-child{margin-bottom:0}
.bhblog-preview .bhblog-content .bh-article-button{display:inline-block;padding:11px 19px;border-radius:9px;background:#79553e;color:#fff!important;text-decoration:none!important;font-weight:600;line-height:1.35;max-width:100%;overflow-wrap:break-word;transition:background-color .18s ease}
.bhblog-preview .bhblog-content .bh-article-button:hover{background:#5e402f;color:#fff!important}
.bhblog-preview .bhblog-content iframe,.bhblog-preview .bhblog-content video{display:block;max-width:100%;border-radius:10px}
.bhblog-preview .bhblog-content table{max-width:100%;overflow-x:auto}
@media(max-width:760px){
 .bhblog-preview .bhblog-content{padding:23px 20px;font-size:15px;line-height:1.72}
 .bhblog-preview .bhblog-content .bh-two-cols,.bhblog-preview .bhblog-content .bh-three-cols{grid-template-columns:minmax(0,1fr)!important;gap:15px}
 .bhblog-preview .bhblog-content .bh-article-gallery,.bhblog-preview .bhblog-content .bh-gallery-3,.bhblog-preview .bhblog-content .bh-gallery-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px}
 .bhblog-preview .bhblog-content .bh-article-callout{padding:15px 17px!important}
}
@media(max-width:480px){
 .bhblog-preview .bhblog-content{padding:19px 15px;border-radius:12px}
 .bhblog-preview .bhblog-content .bh-article-gallery,.bhblog-preview .bhblog-content .bh-gallery-3,.bhblog-preview .bhblog-content .bh-gallery-4{grid-template-columns:minmax(0,1fr)!important}
 .bhblog-preview .bhblog-content figure{margin:18px auto}
}

/* v0.2.40 - navigation des rubriques et finitions accueil */
.bhblog-preview .bhblog-topic-nav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 28px;padding:0 0 4px;align-items:center}
.bhblog-preview .bhblog-topic-link{display:inline-flex;align-items:center;gap:9px;min-height:39px;padding:9px 15px;border:1px solid #e1d3c8;border-radius:999px;background:#fbf7f2;color:#634b3c;text-decoration:none;font-size:13px;font-weight:600;line-height:1.3;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.bhblog-preview .bhblog-topic-link:hover,.bhblog-preview .bhblog-topic-link:focus-visible{background:#e9d9cc;border-color:#c6a990;color:#48372e;text-decoration:none;transform:translateY(-1px)}
.bhblog-preview .bhblog-topic-link span{font-size:11px;color:#78695e;font-weight:500}
.bhblog-preview .bhblog-topic-all{background:#6a4b3b;border-color:#6a4b3b;color:#fff}
.bhblog-preview .bhblog-topic-all:hover,.bhblog-preview .bhblog-topic-all:focus-visible{background:#50392d;border-color:#50392d;color:#fff}
.bhblog-preview .bhblog-card:focus-within,.bhblog-preview .bhblog-feature:focus-within{outline:2px solid #9b7156;outline-offset:3px}
.bhblog-preview .bhblog-card-visual img,.bhblog-preview .bhblog-feature-visual img{display:block;width:100%;height:100%}
.bhblog-preview .bhblog-card-body h3{overflow-wrap:anywhere}
.bhblog-preview .bhblog-card-body p,.bhblog-preview .bhblog-feature-copy p{overflow-wrap:break-word}
@media(max-width:767px){.bhblog-preview .bhblog-topic-nav{gap:8px;margin:14px 0 20px}.bhblog-preview .bhblog-topic-link{font-size:12px;padding:8px 12px;min-height:36px}.bhblog-preview .bhblog-feature{min-width:0}.bhblog-preview .bhblog-section-head{gap:8px;flex-wrap:wrap}}

/* v0.2.41 — finitions blog et commentaires */
.bhblog-preview .bhblog-back{display:inline-flex;align-items:center;gap:9px;padding:10px 17px;margin:5px 0 20px;background:#f4e9df;border:1px solid #e2cbbb;border-radius:999px;color:#684732;font-size:14px;font-weight:700;transition:background .2s,transform .2s}
.bhblog-preview .bhblog-back:hover{background:#e9d4c3;transform:translateX(-2px);text-decoration:none}
.bhblog-preview .bhblog-feature-copy{justify-content:flex-start}
.bhblog-preview .bhblog-feature-tag{margin-top:-12px;margin-bottom:9px}
.bhblog-preview .bhblog-feature-button{margin-top:auto;margin-left:13px;margin-bottom:8px}
.bhblog-preview .bhblog-card-meta{justify-content:space-between;flex-wrap:wrap}
.bhblog-preview .bhblog-reading-time{display:inline-flex;align-items:center;white-space:nowrap;font-weight:600;color:#785d49}
.bhblog-scroll-top{position:fixed;right:25px;bottom:28px;width:46px;height:46px;border-radius:50%;background:#76523d;color:#fff;border:1px solid #ad866b;box-shadow:0 5px 17px #2c1c1550;font-size:26px;cursor:pointer;z-index:100;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s}
.bhblog-scroll-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.bhblog-scroll-top:hover{background:#583c2d}
.bhblog-comments{margin-top:32px;padding:27px;background:#fffaf6;border:1px solid #eadcd0;border-radius:17px;color:#49372e}
.bhblog-comments h2{margin:0 0 24px;color:#634531;font-size:25px}.bhblog-comments h2 span{color:#967e6b;font-size:17px}
.bhblog-comment{display:flex;align-items:flex-start;gap:14px;padding:17px 0;border-top:1px solid #ebdfd4}
.bhblog-comment-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:50%;overflow:hidden;background:#dfc6b3;display:flex;align-items:center;justify-content:center;color:#62402f;font-size:21px;font-weight:700}
.bhblog-comment-avatar img{width:100%;height:100%;object-fit:cover}.bhblog-comment-body{min-width:0;flex:1}
.bhblog-comment-head{display:flex;flex-wrap:wrap;gap:8px 15px;align-items:center}.bhblog-comment-head time{font-size:12px;color:#9a8575}.bhblog-comment-body p{margin:8px 0 0;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.bhblog-comment-form{display:flex;flex-direction:column;gap:10px;border-top:1px solid #e9d9cd;margin-top:24px;padding-top:20px}
.bhblog-comment-form h3{margin:0 0 6px;font-size:19px}.bhblog-comment-form label{font-size:13px;font-weight:700}
.bhblog-comment-form textarea{width:100%;border:1px solid #d5c1b0;border-radius:10px;padding:12px;resize:vertical;min-height:110px;background:#fff;color:#49372e}
.bhblog-comment-form input[type=file]{font-size:13px;max-width:100%}.bhblog-comment-form button{align-self:flex-start;background:#80583d;color:white;border:0;border-radius:9px;padding:12px 22px;font-weight:700;cursor:pointer}
.bhblog-comment-form button:hover{background:#65432e}.bhblog-comment-notice{padding:12px;border-radius:9px;background:#f1e2d4}.bhblog-comment-login,.bhblog-comments-empty{color:#7d6c5d;font-size:14px}
@media(max-width:650px){.bhblog-comments{padding:18px}.bhblog-scroll-top{right:14px;bottom:18px;width:42px;height:42px}.bhblog-preview .bhblog-feature-button{margin-left:0}}

/* v0.2.41.3 - Temps de lecture, palette claire BH */
.bhblog-preview .bhblog-reading-time,.bhblog-preview .bhblog-feature-meta span:first-child{display:inline-flex;align-items:center;gap:5px;background:#f4e9df;color:#84644e;border:1px solid #ead9cb;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:600}

/* v0.2.41.5 — articles connexes dans la colonne laterale */
.bhblog-preview .bhblog-related-side{padding:19px 16px}
.bhblog-preview .bhblog-related-side h3{font-size:17px;line-height:1.4;margin:0 0 14px;color:#49372e}
.bhblog-preview .bhblog-related-list{display:flex;flex-direction:column;gap:10px}
.bhblog-preview .bhblog-related-item{display:flex;align-items:center;gap:11px;padding:8px;border:1px solid #eadfd4;border-radius:11px;background:#fff;color:#49372e;text-decoration:none;transition:background .18s,border-color .18s}
.bhblog-preview .bhblog-related-item:hover{background:#f7eee6;border-color:#cbb39e;text-decoration:none}
.bhblog-preview .bhblog-related-thumb{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:65px;overflow:hidden;border-radius:8px;background:#f2e8df;color:#84644e;font-weight:bold;font-size:12px}
.bhblog-preview .bhblog-related-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
.bhblog-preview .bhblog-related-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.bhblog-preview .bhblog-related-info strong{font-size:13px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
.bhblog-preview .bhblog-related-info small{font-size:11px;color:#8b7160}

/* v0.2.41.6 — cartes de la colonne laterale, identite des cartes de l'accueil */
.bhblog-preview .bhblog-related-list{gap:15px}
.bhblog-preview .bhblog-related-card{overflow:hidden;border:1px solid #e8d9cd;border-radius:13px;background:#f7f0e9;box-shadow:0 2px 8px rgba(62,41,28,.055);transition:box-shadow .18s,transform .18s}
.bhblog-preview .bhblog-related-card:hover{box-shadow:0 7px 18px rgba(62,41,28,.13);transform:translateY(-2px)}
.bhblog-preview .bhblog-related-visual{position:relative;display:flex;align-items:center;justify-content:center;height:142px;background:#fff;color:#9b816e;text-decoration:none;overflow:hidden}
.bhblog-preview .bhblog-related-visual img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .22s}
.bhblog-preview .bhblog-related-card:hover .bhblog-related-visual img{transform:scale(1.025)}
.bhblog-preview .bhblog-related-visual>span:not(.bhblog-related-category){font-size:13px;letter-spacing:.09em;font-weight:700}
.bhblog-preview .bhblog-related-category{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:5px 9px;border-radius:7px;background:#e5cdbb;color:#49372e;font-size:11px;font-weight:600;line-height:1.2}
.bhblog-preview .bhblog-related-body{display:flex;flex-direction:column;gap:12px;padding:14px 14px 15px;min-height:104px}
.bhblog-preview .bhblog-related-body h4{margin:0;font-size:14px;line-height:1.45;font-weight:700}
.bhblog-preview .bhblog-related-body h4 a{color:#49372e;text-decoration:none}
.bhblog-preview .bhblog-related-body h4 a:hover{color:#8c5c3d;text-decoration:underline}
.bhblog-preview .bhblog-related-read{margin-top:auto;color:#80583d;font-size:12px;font-weight:700;text-decoration:none}
.bhblog-preview .bhblog-related-read:hover{text-decoration:underline}
/* Lecture : aucun cartouche, typographie grise, aussi pour l'article a la une */
.bhblog-preview .bhblog-reading-time,.bhblog-preview .bhblog-feature-meta span:first-child{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:#929292!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important}

/* v0.2.41.7 : sidebar cards match homepage cards, image safely contained */
.bhblog-preview .bhblog-sidebar .bhblog-related-list{display:flex;flex-direction:column;gap:16px;min-width:0}
.bhblog-preview .bhblog-sidebar .bhblog-related-card{display:flex;flex-direction:column;min-width:0;width:100%;max-width:100%;margin:0;overflow:hidden!important;isolation:isolate;border:1px solid var(--bh-card-image-border,#dcc9b7);border-radius:11px;background:var(--bh-card-body-bg,#f5eee7);box-sizing:border-box;box-shadow:0 4px 12px #4b382e12}
.bhblog-preview .bhblog-sidebar .bhblog-related-visual{position:relative;display:block;flex:none;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;min-width:0;overflow:hidden!important;border-radius:10px 10px 0 0;background:var(--bh-card-image-bg,#f5eee7);box-sizing:border-box}
.bhblog-preview .bhblog-sidebar .bhblog-related-visual img{display:block!important;position:relative;max-width:100%!important;width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;object-fit:cover;object-position:center;overflow:hidden;border-radius:0!important;box-sizing:border-box}
.bhblog-preview .bhblog-sidebar .bhblog-related-body{display:flex;flex:1;flex-direction:column;gap:9px;min-height:135px;padding:15px 17px 17px;background:var(--bh-card-body-bg,#f5eee7);color:var(--bh-card-text,#704b38);box-sizing:border-box}
.bhblog-preview .bhblog-sidebar .bhblog-related-body h4{font-size:17px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.bhblog-preview .bhblog-sidebar .bhblog-related-read{font-size:13px;margin-top:auto;color:var(--bh-card-text,#704b38)}
.bhblog-preview .bhblog-sidebar .bhblog-related-category{z-index:2}
/* Reading time: plain muted grey text, no badge, on all homepage cards */
.bhblog-preview .bhblog-card .bhblog-card-meta .bhblog-reading-time,
.bhblog-preview .bhblog-feature .bhblog-feature-meta>span:first-child,
.bhblog-preview .bhblog-reading-time{display:inline!important;background:none!important;background-color:transparent!important;border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;color:#8b8b8b!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;text-decoration:none!important}

/* v0.2.41.8 — related cards: full clickable surface, overlapping badge, no image zoom */
.bhblog-preview .bhblog-sidebar .bhblog-related-card{position:relative;isolation:isolate;overflow:hidden!important;cursor:pointer;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-card:hover{transform:translateY(-3px)!important;box-shadow:0 10px 25px rgba(67,43,28,.19)!important;border-color:#cdb5a1!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-card:focus-within{outline:2px solid #946c52;outline-offset:3px}
.bhblog-preview .bhblog-sidebar .bhblog-related-overlay{position:absolute;inset:0;z-index:4;display:block;background:transparent;text-decoration:none}
.bhblog-preview .bhblog-sidebar .bhblog-related-visual{aspect-ratio:16/9!important;background:#f7f0e9!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-visual img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;transition:none!important;background:#f7f0e9!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-card:hover .bhblog-related-visual img{transform:none!important;filter:none!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-category{position:relative!important;display:table!important;z-index:2!important;top:auto!important;left:auto!important;margin:-13px 0 -4px 15px!important;max-width:calc(100% - 30px)!important;padding:6px 11px!important;border-radius:7px!important;box-shadow:0 2px 5px rgba(55,36,25,.12);font-size:11px!important;font-weight:700!important;pointer-events:none}
.bhblog-preview .bhblog-sidebar .bhblog-related-body{padding-top:17px!important;gap:9px!important;min-height:0!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-body h4{margin:0!important;color:#49372e!important}
.bhblog-preview .bhblog-sidebar .bhblog-related-excerpt{margin:0!important;font-size:12px!important;line-height:1.55!important;color:#786457!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bhblog-preview .bhblog-sidebar .bhblog-related-read{display:block!important;margin-top:6px!important;pointer-events:none}
@media(prefers-reduced-motion:reduce){.bhblog-preview .bhblog-sidebar .bhblog-related-card{transition:none!important}.bhblog-preview .bhblog-sidebar .bhblog-related-card:hover{transform:none!important}}

/* v0.2.41.9 - Badge lateral dimensionne au texte et couleurs de categorie identiques a l'accueil. */
.bhblog-preview .bhblog-sidebar .bhblog-related-category{display:inline-block!important;display:table!important;width:max-content!important;max-width:calc(100% - 30px)!important;min-width:0!important;align-self:flex-start!important;white-space:normal!important;line-height:1.25!important;box-sizing:border-box!important;/* Inline category palette supplies background and text colors. */}


/* v0.2.49.2 - Small viewport containment without changing desktop layouts. */
@media(max-width:480px){.bhblog-preview img{max-width:100%}.bhblog-preview .bhblog-related-card,.bhblog-preview .bhblog-related-body{min-width:0}.bhblog-preview .bhblog-related-body h4{overflow-wrap:anywhere}}

/* v0.2.49.4 — les cartes Calend’Ours sont des liens directs */
.bhblog-preview a.bhblog-calendar-event{text-decoration:none!important;display:flex;color:#3d2d26!important}
.bhblog-preview a.bhblog-calendar-event:focus-visible{outline:2px solid #a36a44;outline-offset:3px}

/* v0.2.49.5 : vignettes Calend’Ours sans soulignement ni surlignage au survol */
.bhblog-preview a.bhblog-calendar-event,
.bhblog-preview a.bhblog-calendar-event:hover,
.bhblog-preview a.bhblog-calendar-event:focus,
.bhblog-preview a.bhblog-calendar-event *,
.bhblog-preview a.bhblog-calendar-event:hover *,
.bhblog-preview a.bhblog-calendar-event:focus *{text-decoration:none!important;text-shadow:none!important;}
.bhblog-preview a.bhblog-calendar-event:hover strong,
.bhblog-preview a.bhblog-calendar-event:hover small,
.bhblog-preview a.bhblog-calendar-event:hover span{background-image:none!important;box-shadow:none;text-decoration:none!important;}
/* Partage social des articles */
.bhblog-preview .bhblog-share{margin:24px 0 28px;padding:19px 0;border-top:1px solid #e3d3c4;border-bottom:1px solid #e3d3c4;}
.bhblog-preview .bhblog-share__label{display:block;font-weight:700;color:#654632;margin-bottom:12px;font-size:15px;}
.bhblog-preview .bhblog-share__links{display:flex;flex-wrap:wrap;gap:9px;align-items:center;}
.bhblog-preview .bhblog-share__links a,.bhblog-preview .bhblog-share__links button{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 13px;background:#f0e5da;color:#754d35!important;border:1px solid #d9c2ad;border-radius:9px;font-size:12px;font-weight:650;text-decoration:none!important;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;}
.bhblog-preview .bhblog-share__links a:hover,.bhblog-preview .bhblog-share__links button:hover{background:#dfc6b0;color:#583724!important;transform:translateY(-2px);box-shadow:0 3px 9px #50372824;text-decoration:none!important;}
.bhblog-preview .bhblog-share__links button{font-family:inherit;}

/* v0.2.49.8 : partage social mis en valeur */
.bhblog-preview .bhblog-share{margin:28px 0 30px;padding:22px 23px;background:#f3e9df;border:1px solid #ddc9b7;border-radius:14px;box-shadow:0 3px 12px rgba(84,55,36,.05)}
.bhblog-preview .bhblog-share__label{font-size:17px;font-weight:750;margin-bottom:15px;color:#654632}
.bhblog-preview .bhblog-share__links{gap:10px}
.bhblog-preview .bhblog-share__links a,.bhblog-preview .bhblog-share__links button{gap:9px;min-height:43px;padding:10px 14px;background:#fffaf6;border-color:#d8bfa9;font-size:13px;line-height:1.2;box-shadow:0 1px 2px rgba(90,55,34,.04)}
.bhblog-preview .bhblog-share__links svg{display:block;width:19px;height:19px;flex:0 0 19px}
.bhblog-preview .bhblog-share__links a:hover,.bhblog-preview .bhblog-share__links button:hover{background:#e4cbb5;border-color:#b58c6d;box-shadow:0 5px 12px rgba(90,55,34,.13)}
@media(max-width:600px){.bhblog-preview .bhblog-share{padding:17px 14px}.bhblog-preview .bhblog-share__links{gap:8px}.bhblog-preview .bhblog-share__links a,.bhblog-preview .bhblog-share__links button{padding:9px 11px}}

/* v0.2.49.9 — grille de partage uniforme, SVG protégés contre les styles du thème */
body .bhblog-preview nav.bhblog-share{display:block!important;margin:28px 0 30px!important;padding:22px!important;background:#f3e9df!important;border:1px solid #ddc9b7!important;border-radius:14px!important;box-sizing:border-box!important}
body .bhblog-preview .bhblog-share__links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;width:100%!important}
body .bhblog-preview .bhblog-share__links>a,body .bhblog-preview .bhblog-share__links>button{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:0!important;width:100%!important;min-height:48px!important;height:48px!important;box-sizing:border-box!important;margin:0!important;padding:9px 10px!important;background:#fffaf6!important;border:1px solid #d8bfa9!important;border-radius:9px!important;color:#754d35!important;font:600 13px/1.2 inherit!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap!important;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s!important}
body .bhblog-preview .bhblog-share__links>a:hover,body .bhblog-preview .bhblog-share__links>button:hover{background:#e4cbb5!important;border-color:#b58c6d!important;transform:translateY(-2px)!important;box-shadow:0 5px 12px rgba(90,55,34,.13)!important;text-decoration:none!important}
body .bhblog-preview .bhblog-share__links svg{display:inline-block!important;visibility:visible!important;opacity:1!important;position:static!important;float:none!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;overflow:visible!important;fill:currentColor;vertical-align:middle!important;color:inherit!important}
body .bhblog-preview .bhblog-share__links svg path,body .bhblog-preview .bhblog-share__links svg circle,body .bhblog-preview .bhblog-share__links svg rect{visibility:visible!important;opacity:1!important}
body .bhblog-preview .bhblog-share__links span{display:inline!important;visibility:visible!important;line-height:1.2!important;text-decoration:none!important}
@media(max-width:740px){body .bhblog-preview .bhblog-share__links{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){body .bhblog-preview nav.bhblog-share{padding:12px!important}body .bhblog-preview .bhblog-share__links>a,body .bhblog-preview .bhblog-share__links>button{font-size:11px!important;gap:5px!important}}

/* BH Blog v0.2.50.0 — filtres au-dessus de l'article à la une, deux cartes par ligne sur téléphone. */
.bhblog-preview .bhblog-mobile-filters{display:none}
@media (max-width:767px){
 .bhblog-preview .bhblog-mobile-filters{display:block;margin:12px 0 18px;border:1px solid #e4d5c5;border-radius:12px;background:#fbf8f4;overflow:hidden}
 .bhblog-preview .bhblog-mobile-filters>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:13px 16px;color:#654936;font-weight:700;font-size:14px}
 .bhblog-preview .bhblog-mobile-filters>summary::-webkit-details-marker{display:none}
 .bhblog-preview .bhblog-mobile-filters[open]>summary{border-bottom:1px solid #e4d5c5}
 .bhblog-preview .bhblog-mobile-filters[open]>summary span{transform:rotate(180deg)}
 .bhblog-preview .bhblog-mobile-filter-form{display:grid;gap:8px;padding:14px}
 .bhblog-preview .bhblog-mobile-filter-form label{font-size:12px;font-weight:700;color:#654936;margin:0}
 .bhblog-preview .bhblog-mobile-filter-form select,.bhblog-preview .bhblog-mobile-filter-form input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:39px;padding:8px 10px;border:1px solid #d8c7b7;border-radius:8px;background:white;color:#4f3b2f;font-size:13px}
 .bhblog-preview .bhblog-mobile-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
 .bhblog-preview .bhblog-mobile-filter-actions a{font-size:12px;color:#795b46;text-decoration:underline}
 .bhblog-preview .bhblog-mobile-filter-actions button{background:#6a4c39;color:white;border:0;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:700}
 body .bhblog-preview .bhblog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .bhblog-preview .bhblog-grid>.bhblog-card{min-width:0;width:100%;box-sizing:border-box}
 .bhblog-preview .bhblog-grid .bhblog-card-visual{height:auto;aspect-ratio:1.25/1;min-height:0}
 .bhblog-preview .bhblog-grid .bhblog-card-body{padding:15px 9px 10px;min-height:0}
 .bhblog-preview .bhblog-grid .bhblog-card-body h3{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
 .bhblog-preview .bhblog-grid .bhblog-card-body p{font-size:11px;line-height:1.35}
 .bhblog-preview .bhblog-grid .bhblog-card-meta{font-size:10px;flex-wrap:wrap;gap:4px}
 .bhblog-preview .bhblog-grid .bhblog-card-body>a{font-size:11px}
 .bhblog-preview .bhblog-grid .bhblog-card-category{font-size:9px;max-width:calc(100% - 12px);left:6px}
}

/* BH Blog v0.2.51.2 — images with independent captions, 1 to 3 per row */
.bh-rich-editor .bh-gallery-1,.bhblog-content .bh-gallery-1{grid-template-columns:minmax(0,1fr)!important}
.bh-rich-editor .bh-gallery-2,.bhblog-content .bh-gallery-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bh-rich-editor .bh-article-gallery figcaption,.bhblog-content .bh-article-gallery figcaption{font-style:italic;line-height:1.45;margin-top:8px}
@media(max-width:760px){.bh-rich-editor .bh-gallery-3,.bhblog-content .bh-gallery-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){.bh-rich-editor .bh-article-gallery,.bhblog-content .bh-article-gallery{grid-template-columns:minmax(0,1fr)!important}}

/* v0.2.51.3 : la largeur enregistrée dans l'éditeur est conservée. */
.bh-rich-editor .bh-article-gallery img[width],.bhblog-content .bh-article-gallery img[width]{width:auto!important;max-width:100%!important;object-fit:contain!important}
.bh-rich-editor .bh-article-gallery img[width][height],.bhblog-content .bh-article-gallery img[width][height]{height:auto!important}

/* v0.2.51.5: keep explicitly chosen dimensions and ratio after saving. */
.bhblog-content .bh-article-gallery img[width][height],.bhblog-content .bhblog-article-figure img[width][height],.bh-rich-editor .bh-article-gallery img[width][height],.bh-rich-editor .bhblog-article-figure img[width][height]{object-fit:fill!important;max-width:100%!important}
