/* ==========================================================================
   Instagram band + pop-up (includes/instagram.php, assets/js/bhf-ig.js).
   Ported verbatim from Simone's approved prototype (client/instagram task/instagram-strip-example.html,
   <style id="bhf-ig-css">), 2026-10-20 — including its layered refinements, so the result matches her design
   exactly. Only additions: the [hidden] rule and the Reel marker at the end.
   ========================================================================== */
/* ===== Instagram row (sits inside the footer, same width as Featured Brands) ===== */
.bhf-ig,.bhf-ig *,.bhf-igm,.bhf-igm *{box-sizing:border-box}
.bhf-ig{padding:38px 0 34px;border-bottom:1px solid #E3DFD6;font-family:"Montserrat",system-ui,sans-serif;color:#171717}
.bhf-ig-row{display:flex;align-items:center;gap:14px}
.bhf-ig-view{position:relative;flex:1;min-width:0;overflow:hidden;container-type:inline-size}
.bhf-ig-track{display:flex;gap:8px;align-items:flex-start;width:max-content;will-change:transform}
.bhf-ig-tile{flex:0 0 auto;width:calc((100cqw - 32px) / 5);display:block;border:0;background:none;padding:0;margin:0;cursor:pointer;text-align:left;font:inherit;color:inherit}
.bhf-ig-pic{display:block;aspect-ratio:1;overflow:hidden;background:#f4f4f4}
.bhf-ig-pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.bhf-ig-tile:hover .bhf-ig-pic img{transform:scale(1.04)}
.bhf-ig-handle{display:block;margin-top:10px;font-size:11px;font-weight:500;letter-spacing:.04em;color:#171717;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .15s}
.bhf-ig-tile:hover .bhf-ig-handle{color:#726F66}
.bhf-ig-tile:focus-visible{outline:2px solid #171717;outline-offset:3px}
.bhf-ig-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:24px;margin:0 0 26px}
.bhf-ig-top>div{grid-column:2;text-align:center}
.bhf-ig-top .bhf-ig-link{grid-column:3;justify-self:end}
.bhf-ig-eyebrow{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#38393B;margin:0 0 10px;line-height:1.2}
.bhf-ig-title{font-family:"Montserrat",system-ui,sans-serif;font-weight:500;font-size:12.5px;line-height:1.75;letter-spacing:0;margin:0;color:#171717}
.bhf-ig-link{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#171717;text-decoration:none;border-bottom:1px solid #171717;padding-bottom:4px;display:inline-flex;gap:9px;align-items:center;white-space:nowrap}
.bhf-ig-link svg{width:16px;height:8px}
.bhf-ig-link .__arrow{transition:transform .2s}.bhf-ig-link:hover .__arrow{transform:translateX(4px)}
@media (max-width:900px){.bhf-ig-tile{width:calc((100cqw - 16px) / 3)}}
@media (max-width:600px){.bhf-ig-top{grid-template-columns:1fr;gap:14px}.bhf-ig-top>div,.bhf-ig-top .bhf-ig-link{grid-column:1;justify-self:center}.bhf-ig-tile{width:calc((100cqw - 8px) / 2.2)}.bhf-ig-row .bhf-ig-arrow{display:none!important}}

/* ===== pop-up ===== */
.bhf-igm{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:clamp(0px,3vw,40px);
  background:rgba(23,23,23,.62);font-family:"Montserrat",system-ui,sans-serif;color:#171717}
.bhf-igm.open{display:flex}
.bhf-igm-box{position:relative;background:#fff;width:min(1180px,100%);height:min(760px,100%);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);overflow:hidden}
.bhf-igm-media{position:relative;background:#f4f4f4;min-height:0}
.bhf-igm-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s}
.bhf-igm-media img.on{opacity:1}
.bhf-igm-btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.92);
  cursor:pointer;display:flex;align-items:center;justify-content:center;color:#171717}
.bhf-igm-btn svg{width:20px;height:20px;stroke:#171717;stroke-width:1.6;fill:none}
.bhf-igm-btn.prev{left:16px}.bhf-igm-btn.next{right:16px}
.bhf-igm-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:7px}
.bhf-igm-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55)}
.bhf-igm-dots i.on{background:#fff}
.bhf-igm-side{display:flex;flex-direction:column;min-height:0;border-left:1px solid #E3DFD6}
.bhf-igm-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 28px;border-bottom:1px solid #E3DFD6}
.bhf-igm-who{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.bhf-igm-who small{display:block;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:none;color:#726F66;margin-top:4px}
.bhf-igm-x{border:0;background:none;cursor:pointer;padding:6px;display:flex}
.bhf-igm-x svg{width:22px;height:22px;stroke:#171717;stroke-width:1.5}
.bhf-igm-body{flex:1;overflow-y:auto;padding:28px}
.bhf-igm-line{font-family:"Noto Serif",Georgia,serif;font-weight:400;font-size:clamp(22px,2vw,27px);line-height:1.3;margin:0 0 20px}
.bhf-igm-text{font-size:15px;line-height:1.65;color:#333;white-space:pre-line;margin:0 0 24px}
.bhf-igm-lab{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin:0 0 10px}
.bhf-igm-cred{font-size:14px;line-height:1.7;color:#333;white-space:pre-line;margin:0 0 24px}
.bhf-igm-brands{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.bhf-igm-brands a{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1.5px solid #171717;padding:9px 14px;color:#171717;text-decoration:none}
.bhf-igm-brands a:hover{background:#171717;color:#fff}
.bhf-igm-foot{padding:20px 28px;border-top:1px solid #E3DFD6;display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.bhf-igm-cta{background:#171717;color:#fff;font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:14px 20px;text-decoration:none}
.bhf-igm-more{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#171717;text-decoration:none;border-bottom:1.5px solid #171717;padding-bottom:3px}
.bhf-igm-tools{display:flex;align-items:center;gap:14px}.bhf-igm-step{display:flex;gap:4px}
.bhf-igm-step button{border:1px solid #E3DFD6;background:#fff;width:38px;height:38px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.bhf-igm-step svg{width:16px;height:16px;stroke:#171717;stroke-width:1.6;fill:none}
@media (max-width:820px){
  .bhf-igm{padding:0}
  .bhf-igm-box{grid-template-columns:1fr;grid-template-rows:auto 1fr;height:100%;overflow-y:auto}
  .bhf-igm-media{aspect-ratio:1}
  .bhf-igm-side{border-left:0;min-height:auto}
  .bhf-igm-top{position:absolute;top:0;left:0;right:0;border:0;background:linear-gradient(rgba(0,0,0,.45),transparent);color:#fff}
  .bhf-igm-who small{color:rgba(255,255,255,.85)}
  .bhf-igm-x svg{stroke:#fff}.bhf-igm-step{display:none}
  .bhf-igm-body{overflow:visible}
}

#bhf-ig .bhf-ig-arrow,#bhf-ig .bhf-ig-arrow:hover,#bhf-ig .bhf-ig-arrow:focus,#bhf-ig .bhf-ig-arrow:active{flex:0 0 auto;border:0!important;background:none!important;box-shadow:none!important;color:#171717!important;
  cursor:pointer;padding:6px 2px!important;margin:0;display:flex;align-items:center;justify-content:center;border-radius:0;min-width:0;min-height:0;width:auto;height:auto}
#bhf-ig .bhf-ig-arrow{opacity:.5;transition:opacity .15s}#bhf-ig .bhf-ig-arrow:hover{opacity:1}
#bhf-ig .bhf-ig-arrow svg{width:22px;height:22px;stroke:#171717!important;stroke-width:1.5;fill:none}
#bhf-igm button{font:inherit;color:#171717!important;box-shadow:none!important;min-width:0;min-height:0;margin:0;text-transform:none;letter-spacing:0}
#bhf-igm .bhf-igm-step button{width:38px!important;height:38px!important;padding:0!important;border:1px solid #E3DFD6!important;background:#fff!important;border-radius:0!important;display:flex!important;align-items:center;justify-content:center}
#bhf-igm .bhf-igm-step svg{width:16px!important;height:16px!important;stroke:#171717!important;stroke-width:1.6;fill:none!important;display:block}
#bhf-igm .bhf-igm-x{padding:6px!important;border:0!important;background:none!important}
#bhf-igm .bhf-igm-x svg{width:22px!important;height:22px!important;stroke:#171717!important;fill:none!important}
#bhf-igm .bhf-igm-btn{width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important}
#bhf-igm .bhf-igm-btn svg{width:20px!important;height:20px!important;stroke:#171717!important;fill:none!important}
#bhf-igm .bhf-igm-cta{color:#fff!important}
@media (max-width:820px){#bhf-igm .bhf-igm-x svg{stroke:#fff!important}}
#bhf-igm .bhf-igm-btn,#bhf-igm .bhf-igm-dots{z-index:3}
/* header lines up with the photos: inset by arrow (26px) + gap (14px) */
#bhf-ig .bhf-ig-top{margin-left:40px;margin-right:40px}
@media (max-width:600px){#bhf-ig .bhf-ig-top{margin-left:0;margin-right:0}}
/* heading left-aligned with the first photo; Follow Along right with the last */
#bhf-ig .bhf-ig-top{display:flex!important;justify-content:space-between;align-items:flex-end}
#bhf-ig .bhf-ig-top>div{text-align:left}
@media (max-width:600px){#bhf-ig .bhf-ig-top{flex-direction:column;align-items:flex-start;gap:14px}}
/* keyboard focus ring drawn inside the photo so the row edge never clips it */
#bhf-ig .bhf-ig-tile:focus-visible{outline:none}
#bhf-ig .bhf-ig-tile:focus-visible .bhf-ig-pic{outline:2px solid #171717;outline-offset:-2px}
/* pop-up buttons: outlined, like the gallery's PIN IT / VISIT buttons */
#bhf-igm .bhf-igm-foot{justify-content:flex-start}
#bhf-igm .bhf-igm-actions{display:flex;gap:12px;flex-wrap:wrap}
#bhf-igm .bhf-igm-ob{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border:1px solid #171717;background:#fff;color:#171717!important;
  font-family:"Montserrat",system-ui,sans-serif;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none!important;transition:background .15s,color .15s}
#bhf-igm .bhf-igm-ob svg{width:15px;height:15px;flex:0 0 auto}
#bhf-igm .bhf-igm-ob:hover{background:#171717;color:#fff!important}
/* v2 header: ON INSTAGRAM centered; Follow Along + handle stacked at right, flush with last photo */
#bhf-ig .bhf-ig-top.bhf-ig-top2{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:start;gap:24px}
#bhf-ig .bhf-ig-top2 .bhf-ig-eyebrow{margin:4px 0 0;text-align:center}
#bhf-ig .bhf-ig-follow{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
#bhf-ig .bhf-ig-follow .bhf-ig-title{text-align:right}
@media (max-width:600px){#bhf-ig .bhf-ig-top.bhf-ig-top2{grid-template-columns:1fr;gap:12px}
  #bhf-ig .bhf-ig-top2>span{display:none}#bhf-ig .bhf-ig-follow{justify-self:center;align-items:center}#bhf-ig .bhf-ig-follow .bhf-ig-title{text-align:center}}
#bhf-ig .bhf-ig-top2>span{grid-column:1}
#bhf-ig .bhf-ig-top2>.bhf-ig-eyebrow{grid-column:2}
#bhf-ig .bhf-ig-top2>.bhf-ig-follow{grid-column:3;text-align:right}
#bhf-ig .bhf-ig-top2 .bhf-ig-link{grid-column:auto;justify-self:auto}
@media (max-width:600px){#bhf-ig .bhf-ig-top2>.bhf-ig-eyebrow,#bhf-ig .bhf-ig-top2>.bhf-ig-follow{grid-column:1}}
/* ===== Instagram pop-up: matches the site's gallery pop-up =====
   big white box · grey photo well (contain) · round ‹ › · square × · grey caps labels over Noto Serif values · outlined PIN IT / VISIT buttons */
#bhf-igm{padding:8px!important;background:rgba(23,23,23,.55)!important}
#bhf-igm .bhf-igm-box{position:relative;width:min(1600px,100%);height:min(1120px,100%);background:#fff;display:grid;
  grid-template-columns:minmax(0,1fr) 340px;gap:clamp(40px,5.5vw,92px);padding:40px clamp(40px,4.5vw,76px) 40px clamp(40px,5.5vw,92px);overflow:hidden}
#bhf-igm .bhf-igm-media{background:#F0F0F0!important;position:relative;min-height:0}
#bhf-igm .bhf-igm-media img{object-fit:contain!important}
#bhf-igm .bhf-igm-btn{width:40px!important;height:40px!important;border-radius:50%!important;border:0!important;background:#fff!important;color:#171717!important;
  font:400 24px/1 "Noto Serif",Georgia,serif!important;padding:0 0 3px!important;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}
#bhf-igm .bhf-igm-btn.dark{background:#171717!important;color:#fff!important}
#bhf-igm .bhf-igm-btn.prev{left:14px}#bhf-igm .bhf-igm-btn.next{right:14px}
#bhf-igm .bhf-igp-x{position:absolute;top:12px;right:16px;z-index:4;width:40px!important;height:40px!important;border:2px solid #171717!important;background:#fff!important;
  color:#171717!important;font:400 22px/1 "Montserrat",sans-serif!important;padding:0 0 2px!important;display:flex;align-items:center;justify-content:center;border-radius:0!important;cursor:pointer}
#bhf-igm .bhf-igp-x:hover{background:#171717!important;color:#fff!important}
#bhf-igm .bhf-igp{overflow-y:auto;min-height:0;padding-top:12px;font-family:"Montserrat",system-ui,sans-serif;color:#171717}
#bhf-igm .bhf-igp-nav{display:flex;align-items:center;gap:14px;font-size:11px;font-weight:500;letter-spacing:.14em;color:#8A8A8A;margin:0 0 18px}
#bhf-igm .bhf-igp-nav button{border:0!important;background:none!important;padding:2px 0!important;cursor:pointer;display:flex;color:#8A8A8A!important}
#bhf-igm .bhf-igp-nav button:hover{color:#171717!important}
#bhf-igm .bhf-igp-nav svg{width:18px!important;height:9px!important}
#bhf-igm .bhf-igp-row{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #E6E6E6}
#bhf-igm .bhf-igp-lab{font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#8A8A8A;margin:0 0 6px}
#bhf-igm .bhf-igp-val{font-family:"Noto Serif",Georgia,serif;font-weight:400;font-size:20px;line-height:1.3;color:#171717!important;margin:0;text-decoration:none!important}
#bhf-igm .bhf-igp-handle{display:inline-flex;align-items:center;gap:8px}
#bhf-igm .bhf-igp-handle svg{width:11px;height:11px}
#bhf-igm .bhf-igp-handle:hover{color:#726F66!important}
#bhf-igm .bhf-igp-why{font-size:16px;line-height:1.55}
#bhf-igm .bhf-igp-cred{margin:0;display:flex;flex-direction:column;gap:4px;font-family:"Noto Serif",Georgia,serif;font-size:15px;line-height:1.45}
#bhf-igm .bhf-igp-cred div{display:flex;gap:6px}
#bhf-igm .bhf-igp-cred dt{color:#555}
#bhf-igm .bhf-igp-cred dt::after{content:" \2014";color:#999}
#bhf-igm .bhf-igp-cred dd{margin:0}
#bhf-igm .bhf-igp-btns{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:24px 0 30px}
#bhf-igm .bhf-igp-ob{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border:1.5px solid #171717;background:#fff;color:#171717!important;
  font:700 13px/1 "Montserrat",sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none!important;transition:background .15s,color .15s}
#bhf-igm .bhf-igp-ob svg{width:15px;height:15px}
#bhf-igm .bhf-igp-ob:hover{background:#171717;color:#fff!important}
#bhf-igm .bhf-igp-relrow{border-bottom:0;border-top:1px solid #E6E6E6;padding-top:16px}
#bhf-igm .bhf-igp-rel a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #E6E6E6;color:#171717!important;text-decoration:none!important}
#bhf-igm .bhf-igp-rel b{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#bhf-igm .bhf-igp-rel em{display:block;font-family:"Noto Serif",Georgia,serif;font-style:normal;font-size:14px;color:#555;margin-top:3px}
#bhf-igm .bhf-igp-rel svg{width:16px;height:8px;flex:0 0 auto;transition:transform .2s}
#bhf-igm .bhf-igp-rel a:hover svg{transform:translateX(4px)}
@media (max-width:900px){#bhf-igm{padding:0!important}
  #bhf-igm .bhf-igm-box{grid-template-columns:1fr;height:100%;padding:56px 18px 30px;gap:24px;overflow-y:auto}
  #bhf-igm .bhf-igm-media{aspect-ratio:1}#bhf-igm .bhf-igp{overflow:visible}}
#bhf-igm .bhf-igm-dots i{cursor:pointer;width:8px;height:8px}
#bhf-igm .bhf-igp{padding-top:6px}
#bhf-igm .bhf-igp-rel a{padding-right:6px}
#bhf-igm .bhf-igp-row .bhf-igp-handle{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-family:"Montserrat",system-ui,sans-serif;font-size:14px;font-weight:500;line-height:1.4;color:#555!important;text-decoration:none!important}
#bhf-igm .bhf-igp-row .bhf-igp-handle:hover{color:#171717!important}
#bhf-igm .bhf-igp-row .bhf-igp-handle svg{width:10px;height:10px}
/* design system: serif ONLY for the heading (name); everything else Montserrat */
#bhf-igm .bhf-igp-why{font-family:"Montserrat",system-ui,sans-serif!important;font-size:15px!important;font-weight:400;line-height:1.65!important;color:#171717!important}
#bhf-igm .bhf-igp-cred{font-family:"Montserrat",system-ui,sans-serif!important;font-size:14px!important;line-height:1.55!important}
#bhf-igm .bhf-igp-cred dt{color:#8A8A8A!important;font-weight:400}
#bhf-igm .bhf-igp-cred dd{color:#171717}
#bhf-igm .bhf-igp-rel em{font-family:"Montserrat",system-ui,sans-serif!important;font-size:14px!important;color:#555!important}
#bhf-igm .bhf-igp-name{font-family:"Noto Serif",Georgia,serif!important;font-size:24px!important;line-height:1.25!important}
/* post arrows: square buttons beside the close (same style); round arrows on the photo = photos in this post */
#bhf-igm .bhf-igp-tools{position:absolute;top:12px;right:16px;z-index:4;display:flex;gap:8px}
#bhf-igm .bhf-igp-tools .bhf-igp-x{position:static}
#bhf-igm .bhf-igp-sq{width:40px!important;height:40px!important;border:2px solid #171717!important;background:#fff!important;color:#171717!important;
  font:400 22px/1 "Montserrat",sans-serif!important;padding:0 0 2px!important;display:flex!important;align-items:center;justify-content:center;border-radius:0!important;cursor:pointer}
#bhf-igm .bhf-igp-sq:hover{background:#171717!important;color:#fff!important}
#bhf-igm .bhf-igp{padding-top:56px}
@media (max-width:900px){#bhf-igm .bhf-igp{padding-top:0}}
/* round ‹ › at the sides of the photo = previous/next POST (as in the gallery pop-up);
   small ‹ • • • › at the bottom of the photo = photos within this post */
#bhf-igm .bhf-igm-photos{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.92);padding:6px 10px;border-radius:999px}
#bhf-igm .bhf-igm-photos button{border:0!important;background:none!important;color:#171717!important;font:400 20px/1 "Montserrat",sans-serif!important;padding:0 4px 2px!important;cursor:pointer;min-width:0;min-height:0}
#bhf-igm .bhf-igm-photos .bhf-igm-dots{position:static!important;transform:none!important;display:flex;gap:7px}
#bhf-igm .bhf-igm-photos .bhf-igm-dots i{background:#C9C9C9!important;width:7px;height:7px;border-radius:50%}
#bhf-igm .bhf-igm-photos .bhf-igm-dots i.on{background:#171717!important}
#bhf-igm .bhf-igp{padding-top:12px}
/* Explore Related is a fixed footer of the panel: same spot on every post; post details scroll above it */
#bhf-igm .bhf-igp{display:flex!important;flex-direction:column;overflow:hidden!important}
#bhf-igm .bhf-igp-main{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px}
#bhf-igm .bhf-igp-relrow{flex:0 0 auto;margin:0!important;padding:18px 0 0!important;border-top:1px solid #E6E6E6;border-bottom:0!important;background:#fff}
#bhf-igm .bhf-igp-btns{margin-bottom:24px}
@media (max-width:900px){#bhf-igm .bhf-igp{overflow:visible!important}#bhf-igm .bhf-igp-main{overflow:visible}}
/* View on Instagram + Pin It side by side; Visit {Brand} wraps to its own line */
#bhf-igm .bhf-igp-btns{flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:12px}
#bhf-igm .bhf-igp-btns #bhf-igm-brand{flex-basis:auto}
#bhf-igm .bhf-igp-visit{margin-top:16px}
/* credits: clean two-column list, no dashes; several handles stack under each other */
#bhf-igm .bhf-igp-cred{display:grid!important;grid-template-columns:max-content 1fr;column-gap:20px;row-gap:8px}
#bhf-igm .bhf-igp-cred div{display:contents!important}
#bhf-igm .bhf-igp-cred dt::after{content:none!important}
#bhf-igm .bhf-igp-cred dt{color:#8A8A8A!important}
#bhf-ig .bhf-ig-top2>.bhf-ig-center{grid-column:2;text-align:center}
#bhf-ig .bhf-ig-top2 .bhf-ig-center .bhf-ig-eyebrow{margin:4px 0 6px}
#bhf-ig .bhf-ig-top2 .bhf-ig-center .bhf-ig-title{text-align:center}
@media (max-width:600px){#bhf-ig .bhf-ig-top2>.bhf-ig-center{grid-column:1}}

/* ---- additions to the prototype (2026-10-20) ---- */
.bhf-igm[hidden]{display:none!important}
/* Reels: the cover image + a small play marker; the pop-up's "View on Instagram" plays it there */
.bhf-ig-pic{position:relative}
.bhf-ig-reel::after{content:"";position:absolute;top:10px;right:10px;width:0;height:0;border-style:solid;border-width:7px 0 7px 12px;
  border-color:transparent transparent transparent #fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
/* Panel scrolling (2026-10-20 review): the prototype pinned Explore Related and scrolled only the details above it, so a
   post with long credits (Nest Studio) clipped its "Visit …" button under Explore Related behind a full-height scrollbar.
   Now the whole column scrolls as one; Explore Related still sits at the bottom when there is room (margin-top:auto)
   and simply follows the credits when there isn't. Thin, quiet scrollbar. */
@media (min-width:901px){
  #bhf-igm .bhf-igp{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent}
  #bhf-igm .bhf-igp-main{flex:0 0 auto!important;overflow:visible!important;padding-right:0}
  #bhf-igm .bhf-igp-relrow{margin-top:auto!important}
  #bhf-igm .bhf-igp::-webkit-scrollbar{width:6px}
  #bhf-igm .bhf-igp::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}
  #bhf-igm .bhf-igp::-webkit-scrollbar-track{background:transparent}
}
