/* Scoped, image-first lightbox. Theme fonts only; no libraries or external requests. */
html.hbb-cm-popup-open{overflow:hidden}
html.hbb-cm-popup-open body{overflow:hidden;padding-right:var(--hbb-cm-popup-scrollbar,0px)}
html dialog.hbb-cm-popup{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #ffffff26;border-radius:18px;background:#0b2923;color:#f8f6ed;box-shadow:0 28px 100px #041a1677;overflow:hidden;font-family:"DM Sans",Arial,sans-serif;text-align:left}
html dialog.hbb-cm-popup--lightbox{width:min(1024px,calc(100% - 48px))}
html .hbb-cm-popup::backdrop{background:rgb(4 20 17 / 82%)}
.hbb-cm-popup *{box-sizing:border-box}
.hbb-cm-popup__inner{max-height:calc(100vh - 34px);max-height:calc(100dvh - 34px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#86a79b #0b2923}
.hbb-cm-popup__content{padding:32px}
.hbb-cm-popup--lightbox .hbb-cm-popup__content{padding:20px 28px 22px;text-align:center;border-top:1px solid #ffffff1a}
.hbb-cm-popup__close{position:absolute;z-index:2;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#0b2923;color:#fff;box-shadow:0 3px 14px #0004;cursor:pointer;font-family:Arial,sans-serif;font-size:28px;line-height:1}
.hbb-cm-popup__image{display:block;width:100%;height:auto;max-height:65vh;max-height:65dvh;object-fit:contain;margin:0;background:#071e19}
.hbb-cm-popup__picture{display:block}
.hbb-cm-popup__details-compact,.hbb-cm-popup__details-back{display:none}
.hbb-cm-popup__label{margin:0 52px 14px 0;color:#bad9cb;font-size:13px;font-weight:700;letter-spacing:.035em}
.hbb-cm-popup .hbb-cm-popup__title{margin:0 32px 18px 0;font-family:Fraunces,Georgia,serif;font-size:clamp(28px,5vw,38px);font-weight:600;line-height:1.2;overflow-wrap:anywhere;color:#fffdf5}
.hbb-cm-popup--lightbox .hbb-cm-popup__title{margin:0;font-size:26px;line-height:1.25}
.hbb-cm-popup__body{font-size:16px;line-height:1.65;overflow-wrap:anywhere;color:#d3e1d9}
.hbb-cm-popup__summary{margin:0 0 20px;font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.hbb-cm-popup__details{max-width:68ch;margin:4px auto 0}
.hbb-cm-popup__details>summary{display:list-item;list-style:disclosure-closed inside;width:fit-content;max-width:100%;margin:0 auto;padding:10px 4px;min-height:44px;color:#cfdfd5;font-size:14px;line-height:24px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hbb-cm-popup__details[open]>summary{list-style-type:disclosure-open}
.hbb-cm-popup__details .hbb-cm-popup__copy{text-align:left;padding:14px 0 6px}
.hbb-cm-popup__details .hbb-cm-popup__summary{font-size:16px;margin-bottom:12px}
.hbb-cm-popup__body>:first-child{margin-top:0}
.hbb-cm-popup__body>:last-child{margin-bottom:0}
.hbb-cm-popup__body p{margin:0 0 1em}
.hbb-cm-popup__body ul,.hbb-cm-popup__body ol{padding-left:1.5em;list-style:revert;margin:1em 0}
.hbb-cm-popup__body a{color:#f8be7f;text-decoration:underline;text-underline-offset:3px}
.hbb-cm-popup__body img{max-width:100%;height:auto}
.hbb-cm-popup__body table{display:block;max-width:100%;overflow:auto}
.hbb-cm-popup__body pre{white-space:pre-wrap;overflow-wrap:anywhere}
.hbb-cm-popup__body h1,.hbb-cm-popup__body h2,.hbb-cm-popup__body h3,.hbb-cm-popup__body h4{font-family:Fraunces,Georgia,serif;font-size:24px;line-height:1.25;margin:1em 0 .5em}
.hbb-cm-popup__actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px}
.hbb-cm-popup--lightbox .hbb-cm-popup__actions{justify-content:center;margin-top:6px;gap:12px 20px}
.hbb-cm-popup__cta,.hbb-cm-popup__dismiss{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:12px 24px;border:1px solid transparent;border-radius:999px;font:700 16px/1.35 "DM Sans",Arial,sans-serif;text-decoration:none;text-align:center;overflow-wrap:anywhere;cursor:pointer}
.hbb-cm-popup__cta{background:#F47D20;color:#112e27}
.hbb-cm-popup__dismiss{background:transparent;border-color:#5d8274;color:#f3f7f0}
.hbb-cm-popup--lightbox .hbb-cm-popup__dismiss{border-color:transparent;padding-inline:8px;text-decoration:underline;text-underline-offset:4px}
.hbb-cm-popup__cta:hover{background:#F47D20;box-shadow:0 5px 16px #f47d2033;text-decoration:underline}
.hbb-cm-popup__dismiss:hover,.hbb-cm-popup__close:hover{background:#254e40}
.hbb-cm-popup :focus-visible{outline:3px solid #ffd666;outline-offset:3px}
.hbb-cm-popup .hbb-cm-popup__title:focus{outline:none}
.hbb-cm-popup__cta,.hbb-cm-popup__dismiss,.hbb-cm-popup__close{transition:box-shadow .18s,background-color .18s}
@media(max-width:600px){html dialog.hbb-cm-popup{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.hbb-cm-popup__inner{max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px)}.hbb-cm-popup__content{padding:26px 20px}.hbb-cm-popup--lightbox .hbb-cm-popup__content{padding:18px 16px}.hbb-cm-popup--lightbox .hbb-cm-popup__title{font-size:23px}.hbb-cm-popup__close{top:8px;right:8px}.hbb-cm-popup__actions{gap:8px}.hbb-cm-popup--lightbox .hbb-cm-popup__actions{gap:8px 12px}.hbb-cm-popup__cta{padding-inline:20px;font-size:15px}.hbb-cm-popup__dismiss{font-size:15px}}
/* Reserve a close-control bar on phones so it never covers poster lettering. */
@media(max-width:600px){.hbb-cm-popup--lightbox .hbb-cm-popup__inner{padding-top:60px}}
/* Keep the action in view on a landscape phone without cropping the artwork. */
@media(max-height:500px){.hbb-cm-popup__image{max-height:max(100px,calc(100vh - 190px));max-height:max(100px,calc(100dvh - 190px))}.hbb-cm-popup--lightbox .hbb-cm-popup__content{padding:12px 16px}.hbb-cm-popup--lightbox .hbb-cm-popup__title{font-size:20px}.hbb-cm-popup__details{margin-top:0}.hbb-cm-popup--lightbox .hbb-cm-popup__actions{margin-top:4px}}
/* Optional phone artwork has its own square lightbox; the desktop layout stays intact. */
@media(max-width:600px),(max-width:959px) and (max-height:500px){
  html dialog.hbb-cm-popup--mobile-poster{width:min(calc(100vw - 24px),calc(100vh - 24px));width:min(calc(100vw - 24px),calc(100dvh - 24px));aspect-ratio:1;height:auto;max-height:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__inner{position:relative;aspect-ratio:1;max-height:none;overflow:hidden;padding:0}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__picture{width:100%;height:100%;aspect-ratio:1}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__image{width:100%;height:100%;aspect-ratio:1;max-height:none;object-fit:contain}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__content{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 8px;border:0;background:linear-gradient(transparent,#071e19 28%);min-height:44px}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details{margin:0;max-width:none;flex:0 0 auto}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details>summary{display:flex;align-items:center;justify-content:center;padding:8px;min-width:44px;min-height:44px;font-size:13px;line-height:1.25;list-style:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details>summary::-webkit-details-marker{display:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details-full{display:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details-compact{display:inline}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__actions{margin:0;gap:0;flex:0 1 auto;min-width:0}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__cta{min-height:44px;padding:9px 16px;font-size:13px;line-height:1.3}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__dismiss{display:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__close{z-index:4}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__content{inset:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:8px 16px 12px;background:#0b2923}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__details{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;text-align:left}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__details>summary{position:sticky;top:0;z-index:1;width:calc(100% - 48px);margin:0 48px 0 0;justify-content:flex-start;flex-shrink:0;background:#0b2923}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__details-back{display:inline}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__details-compact{display:none}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__copy{padding:8px 0 12px}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__actions{flex-shrink:0;justify-content:center}
}
/* Compact phone controls: the visible pill/ring is smaller than its 44px tap area. */
@media(max-width:600px),(max-width:959px) and (max-height:500px){
  .hbb-cm-popup .hbb-cm-popup__cta,
  .hbb-cm-popup .hbb-cm-popup__dismiss{min-height:44px;min-width:44px;max-width:100%;padding:6px 10px;font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:break-word}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__content{gap:6px;padding-inline:8px}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__actions{max-width:calc(100% - 56px)}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__cta{border:4px solid transparent;background-clip:padding-box;padding:4px 10px;font-size:12px;line-height:1.35;box-shadow:none}
  .hbb-cm-popup--mobile-poster .hbb-cm-popup__details>summary{padding:6px;font-size:12px;line-height:1.35}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__content{padding:8px 16px 12px}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__actions{max-width:100%}
  .hbb-cm-popup--mobile-poster.hbb-cm-popup--details-open .hbb-cm-popup__details>summary{font-size:13px}
  .hbb-cm-popup .hbb-cm-popup__close{width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:transparent;box-shadow:none;font-size:22px;line-height:1}
  .hbb-cm-popup .hbb-cm-popup__close::before{content:"";position:absolute;inset:6px;z-index:-1;border:1px solid #ffffff80;border-radius:50%;background:#0b2923;pointer-events:none}
  .hbb-cm-popup .hbb-cm-popup__close:hover{background:transparent}
  .hbb-cm-popup .hbb-cm-popup__close:hover::before{background:#254e40}
}
@media(prefers-reduced-motion:reduce){.hbb-cm-popup *{transition:none!important;scroll-behavior:auto!important}}
