/* Site B Editorial Collections v0.3.1 — two-column layout with the existing Site B sidebar retained. */
.sbx-collection-main{display:block;min-width:0}
.sbx-collection-page{padding:0!important;overflow:hidden;min-width:0}
.sbx-collection-page,.sbx-collection-page *{box-sizing:border-box}
.sbx-hero{position:relative;display:flex;align-items:stretch;isolation:isolate;width:100%;aspect-ratio:var(--sbx-hero-ratio,16/7);min-height:280px;max-height:560px;overflow:hidden;background:linear-gradient(130deg,#203542,#10222e);color:#fff;margin:0;padding:0}
.sbx-hero .sbx-media,.sbx-card .sbx-media{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
.sbx-hero .sbx-media img,.sbx-card .sbx-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:var(--sbx-pcx,50%) var(--sbx-pcy,60%);transform-origin:var(--sbx-pcx,50%) var(--sbx-pcy,60%);transform:scale(var(--sbx-pcz,1));max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:none!important}
.sbx-hero .sbx-shade,.sbx-card .sbx-shade{position:absolute;inset:0;display:block;pointer-events:none;z-index:1}
.sbx-fade-bottom>.sbx-shade{background:linear-gradient(0deg,rgba(0,0,0,var(--sbx-fade,.7)) 0%,rgba(0,0,0,.34) 38%,transparent 85%)}
.sbx-fade-top>.sbx-shade{background:linear-gradient(180deg,rgba(0,0,0,var(--sbx-fade,.7)) 0%,rgba(0,0,0,.30) 37%,transparent 85%)}
.sbx-fade-both>.sbx-shade{background:linear-gradient(180deg,rgba(0,0,0,var(--sbx-fade,.68)) 0%,rgba(0,0,0,.18) 28%,rgba(0,0,0,.20) 55%,rgba(0,0,0,var(--sbx-fade,.78)) 100%)}
.sbx-fade-solid>.sbx-shade{background:rgba(0,0,0,var(--sbx-fade,.7))}
.sbx-fade-none>.sbx-shade{background:none}
.sbx-hero-inner{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;width:100%;min-width:0;padding:clamp(24px,4vw,42px)}
.sbx-hero-copy{display:flex;flex-direction:column;gap:12px;max-width:min(92%,920px);margin-top:auto}
.sbx-hero-eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:760;letter-spacing:.11em;text-transform:uppercase;color:#e6eef2;line-height:1.6;text-shadow:0 1px 6px rgba(0,0,0,.55)}
.sbx-hero-eyebrow-slash{font-weight:900;color:#c94253;font-size:20px;letter-spacing:-4px;margin-right:2px}
.sbx-hero-title{font-size:clamp(30px,4.8vw,60px)!important;font-weight:850!important;line-height:1.14!important;letter-spacing:-.03em!important;max-width:100%;color:var(--sbx-title-color,#fff)!important;margin:0!important;padding:0!important;border:0!important;text-shadow:0 2px 12px rgba(0,0,0,.58);overflow-wrap:anywhere;text-wrap:balance}
.sbx-hero-description{display:block;color:var(--sbx-description-color,#fff)!important;font-size:clamp(14px,1.45vw,19px)!important;line-height:1.75!important;max-width:920px;text-shadow:0 1px 8px rgba(0,0,0,.68);margin:0!important;padding:0!important;overflow-wrap:anywhere}
.sbx-content-flow{display:flex;flex-direction:column;gap:0;padding:clamp(20px,3vw,34px)}
.sbx-content-flow>.sbx-body-text{min-width:0;width:100%;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.sbx-content-flow>.sbx-body-text>*:first-child{margin-top:0!important}
.sbx-content-flow>.sbx-body-text>*:last-child{margin-bottom:0!important}
.sbx-content-flow>.sbx-card-grid + .sbx-body-text,.sbx-content-flow>.sbx-body-text + .sbx-card-grid{margin-top:24px}
.sbx-content-flow>.sbx-body-text + .sbx-body-text{margin-top:16px}
.sbx-body-text{line-height:1.9;font-size:16px;color:#283d49;overflow-wrap:anywhere}
.sbx-body-text h2{font-size:clamp(22px,2vw,28px);margin:18px 0 12px;padding:0 0 10px;border-bottom:1px solid #d8e0e6;color:#1b2e3a}
.sbx-body-text h3{font-size:18px;margin:15px 0 8px;color:#1f3441}
.sbx-body-text p{margin:0 0 14px}
.sbx-body-text ul,.sbx-body-text ol{margin:0 0 14px 1.2em}
.sbx-body-text img{max-width:100%;height:auto}
.sbx-card-grid{display:grid;grid-template-columns:repeat(var(--sbx-cols,3),minmax(0,1fr));gap:16px;width:100%;min-width:0;max-width:100%;margin:0;padding:0}
.sbx-card{display:block;position:relative;isolation:isolate;overflow:hidden;min-width:0;max-width:100%;aspect-ratio:var(--sbx-ratio,16/9);min-height:160px;margin:0!important;border:1px solid #bccbd4;border-radius:3px;text-decoration:none!important;color:#fff!important;background:#19313f;box-shadow:0 5px 16px rgba(20,36,46,.08);transition:transform .18s,box-shadow .18s}
.sbx-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,36,46,.18)}
.sbx-card:focus-visible{outline:3px solid #3a789a;outline-offset:4px}
.sbx-card-text{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:4px;z-index:2;padding:14px 15px;color:#fff!important;text-shadow:0 1px 6px rgba(0,0,0,.82);overflow-wrap:anywhere}
.sbx-card-title{display:block;font-size:clamp(17px,1.5vw,21px);line-height:1.35;font-weight:800;color:var(--sbx-title-color,#fff)!important;margin:0}
.sbx-card-description{display:block;font-size:clamp(11px,1vw,14px);line-height:1.55;font-weight:400;color:var(--sbx-description-color,#fff)!important}
.sbx-card-badge{font-size:10px;font-weight:760;color:#f4ddb0;letter-spacing:.06em;text-transform:uppercase}
.sbx-empty-media{display:block;width:100%;height:100%;background:linear-gradient(135deg,#334956,#172630)}

@media(max-width:1180px){
  .sbx-card-grid{grid-template-columns:repeat(min(var(--sbx-cols,3),2),minmax(0,1fr))}
}
@media(max-width:700px){
  .sbx-hero{aspect-ratio:4/5;min-height:360px;max-height:none}
  .sbx-hero .sbx-media img,.sbx-card .sbx-media img{object-position:var(--sbx-mox,85%) var(--sbx-moy,55%);transform-origin:var(--sbx-mox,85%) var(--sbx-moy,55%);transform:scale(var(--sbx-moz,1))}
  .sbx-hero-inner{padding:22px 19px 24px}
  .sbx-hero-copy{gap:8px;max-width:100%}
  .sbx-hero-title{font-size:clamp(28px,8vw,42px)!important;max-width:100%}
  .sbx-hero-description{font-size:14px!important;line-height:1.6!important}
  .sbx-content-flow{padding:18px 17px}
  .sbx-card-grid{grid-template-columns:1fr!important;gap:12px}
  .sbx-card{min-height:185px}
  .sbx-card-title{font-size:19px}
  .sbx-card-description{font-size:12px}
  .sbx-body-text{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.sbx-card{transition:none}}
