/* Hero banner presets only. Original is deliberately not targeted. */
.mhs-hero[data-hero-layout="center"] .mhs-copy-frame{display:flex;justify-content:center;text-align:center}
.mhs-hero[data-hero-layout="center"] .mhs-copy{width:min(100%,820px)}
.mhs-hero[data-hero-layout="center"] .mhs-description{margin-inline:auto!important}
.mhs-hero[data-hero-layout="center"] .mhs-shade{background:linear-gradient(90deg,#080c1430,#080c14ee 50%,#080c1430)}
.mhs-hero[data-hero-layout="right"] .mhs-copy-frame{display:flex;justify-content:flex-end;text-align:right}
.mhs-hero[data-hero-layout="right"] .mhs-description{margin-left:auto!important}
.mhs-hero[data-hero-layout="right"] .mhs-shade{background:linear-gradient(270deg,#080c14,#080c14ed 29%,#080c1470 60%,#080c1400)}
.mhs-hero[data-hero-layout="bottom"] .mhs-slide{align-items:flex-end}
.mhs-hero[data-hero-layout="bottom"] .mhs-shade{background:linear-gradient(0deg,#080c14,#080c14c0 38%,transparent 95%)}
.mhs-hero[data-hero-layout="top"] .mhs-slide{align-items:flex-start}
.mhs-hero[data-hero-layout="top"] .mhs-shade{background:linear-gradient(180deg,#080c14,#080c1490 50%,transparent)}
.mhs-hero[data-hero-layout="glass"] .mhs-copy{background:color-mix(in srgb,var(--mhs-bg,#10141c) 83%,transparent);border:1px solid #ffffff45;border-radius:20px;padding:clamp(18px,2.4vw,38px);box-shadow:0 15px 40px #0004}
.mhs-hero[data-hero-layout="glass"] .mhs-shade{display:none}
.mhs-hero[data-hero-layout="editorial"] .mhs-copy{border-inline-start:5px solid var(--mhs-accent,#ff9800);padding-inline-start:clamp(14px,2vw,30px)}
.mhs-hero[data-hero-layout="editorial"] .mhs-eyebrow{display:inline-block;background:var(--mhs-accent,#ff9800);color:var(--mhs-hero-button-text,#111);padding:6px 10px;letter-spacing:.08em;font-size:13px}
.mhs-hero[data-hero-layout="editorial"] .mhs-title{font-weight:700;letter-spacing:-.035em}
/* Split layouts keep original image pixels unfiltered and use the existing
   background setting for the text panel. Height remains shared across slides. */
.mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-shade{display:none}
.mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-copy-frame{width:calc(50% - clamp(36px,8%,100px));max-width:650px;margin-left:clamp(18px,4%,50px);margin-right:auto}
.mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-bg{width:50%!important;inset:0 0 0 auto;object-fit:cover;filter:none!important;opacity:1!important}
.mhs-hero[data-hero-layout="split-left"] .mhs-bg{inset:0 auto 0 0}
.mhs-hero[data-hero-layout="split-left"] .mhs-copy-frame{margin-left:calc(50% + clamp(18px,4%,50px));margin-right:clamp(18px,4%,50px)}
.mhs-hero[data-hero-layout="inset"] .mhs-bg{inset:clamp(12px,2.5vw,32px) clamp(12px,2.5vw,32px) auto auto;width:calc(50% - clamp(12px,2.5vw,32px))!important;height:calc(100% - 2 * clamp(12px,2.5vw,32px))!important;border-radius:18px;box-shadow:0 12px 36px #0004}
.mhs-hero[data-hero-layout="inset"] .mhs-copy-frame{margin-right:auto}
.mhs-hero[data-hero-layout="stacked"] .mhs-slide{flex-direction:column;justify-content:flex-start;align-items:stretch;padding-top:0;gap:var(--mhs-text-gap,16px)}
.mhs-hero[data-hero-layout="stacked"] .mhs-bg{position:relative;inset:auto;z-index:auto;flex:none;height:clamp(150px,calc(var(--mhs-height,365px) * .55),460px)!important;filter:none!important;opacity:1!important}
.mhs-hero[data-hero-layout="stacked"] .mhs-shade{display:none}
.mhs-hero[data-hero-layout="stacked"] .mhs-copy-frame{padding-top:var(--mhs-text-gap,16px);flex:1;display:flex;align-items:center}
.mhs-hero[data-hero-layout="stacked"] .mhs-copy{width:min(100%,900px)}
.mhs-hero[data-hero-layout="caption"] .mhs-slide{align-items:flex-end;padding-top:max(var(--mhs-vertical,42px),calc(var(--mhs-height,365px) * .35));padding-bottom:0}
.mhs-hero[data-hero-layout="caption"] .mhs-shade{display:none}
.mhs-hero[data-hero-layout="caption"] .mhs-copy-frame{width:100%;max-width:none;margin:0;padding:clamp(18px,3vw,36px) max(var(--mhs-pad,6%),var(--mhs-frame-left,0px));background:color-mix(in srgb,var(--mhs-bg,#10141c) 88%,transparent)}
.mhs-hero[data-hero-layout="caption"] .mhs-copy{width:100%;max-width:var(--mhs-frame-width,var(--mhs-content-width,1200px))}
.mhs-hero[data-hero-layout="caption"] .mhs-description{max-width:850px}
.mhs-hero[data-hero-layout="caption"]:has(.mhs-controls) .mhs-copy-frame{padding-bottom:60px}
.mhs-hero[data-hero-layout="boxed"] .mhs-slide{border:clamp(8px,2vw,24px) solid var(--mhs-bg,#10141c);border-radius:clamp(16px,3vw,36px);overflow:hidden}
.mhs-hero[data-hero-layout="boxed"] .mhs-copy-frame{margin-inline:auto;width:calc(100% - 2 * var(--mhs-pad,6%));max-width:var(--mhs-content-width,1200px)}
.mhs-hero[data-hero-layout="boxed"][data-content-matched="1"] .mhs-copy-frame{max-width:var(--mhs-frame-width,var(--mhs-content-width,1200px))}
@media(max-width:767px){
 .mhs-hero[data-hero-layout="right"] .mhs-copy-frame{text-align:left;justify-content:flex-start}
 .mhs-hero[data-hero-layout="right"] .mhs-description{margin-left:0!important}
 .mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-slide{flex-direction:column;align-items:stretch;justify-content:flex-start;padding-top:0;gap:var(--mhs-text-gap,16px)}
 .mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-bg{position:relative;inset:auto;z-index:auto;flex:none;width:100%!important;height:clamp(150px,45vw,260px)!important;border-radius:0;box-shadow:none}
 .mhs-hero:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-copy-frame{width:calc(100% - 36px);max-width:none;margin-inline:18px;flex:1;display:flex;align-items:center}
 .mhs-hero[data-hero-layout="inset"] .mhs-bg{width:calc(100% - 24px)!important;margin:12px 12px 0!important;border-radius:12px}
 .mhs-hero[data-hero-layout="caption"] .mhs-copy-frame{padding-inline:18px}
 .mhs-hero[data-hero-layout="stacked"] .mhs-bg{height:clamp(150px,45vw,260px)!important}
}
/* Dashboard thumbnails use the same presets and a compact sample size. */
.mhs-layout-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.mhs-admin .mhs-layout-choice{border:1px solid #c3c4c7;border-radius:8px;padding:10px;cursor:pointer;min-width:0;gap:8px!important}
.mhs-layout-choice:has(input:checked){outline:2px solid #2271b1;background:#f0f6fc}
.mhs-layout-label{display:flex;align-items:center;gap:5px;min-height:24px}
.mhs-admin .mhs-layout-label input[type=radio]{width:16px!important;flex:none;margin:0}
.mhs-layout-sample.mhs-hero{--mhs-height:154px!important;--mhs-mobile-height:154px!important;--mhs-vertical:12px!important;--mhs-pad:6%!important;--mhs-content-width:100%!important;--mhs-text-gap:5px!important;--mhs-margin:0px!important;min-height:154px;border-radius:5px;font-family:system-ui,sans-serif;font-weight:400}
.mhs-layout-sample .mhs-slide{min-height:154px!important}
.mhs-layout-sample .mhs-demo-art{background:radial-gradient(ellipse at 80% 40%,#f1ad69 0%,#98596a 16%,transparent 48%),linear-gradient(115deg,#101a30,#294b68 55%,#ad795d)}
.mhs-layout-sample .mhs-eyebrow{font-size:7px!important;display:block;line-height:1.3}
.mhs-layout-sample .mhs-title{font-size:15px!important;line-height:1.12!important;display:block}
.mhs-layout-sample .mhs-description{font-size:8px!important;line-height:1.3!important;display:block}
.mhs-layout-sample .mhs-cta{font-size:8px!important;padding:4px 8px!important;border-radius:20px!important;display:inline-flex!important}
.mhs-layout-sample[data-hero-layout="glass"] .mhs-copy{padding:9px;border-radius:8px;width:75%}
.mhs-layout-sample[data-hero-layout="editorial"] .mhs-copy{border-width:3px;padding-inline-start:8px}
.mhs-layout-sample[data-hero-layout="editorial"] .mhs-eyebrow{padding:2px 4px}
.mhs-layout-sample:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-slide{flex-direction:row!important;align-items:center!important;padding-top:12px!important;gap:0!important}
.mhs-layout-sample:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-copy-frame{width:42%!important;flex:none!important;margin:0 4%!important}
.mhs-layout-sample[data-hero-layout="split-left"] .mhs-copy-frame{margin-left:54%!important}
.mhs-layout-sample:is([data-hero-layout="split-right"],[data-hero-layout="split-left"],[data-hero-layout="inset"]) .mhs-bg{position:absolute!important;inset:0 0 0 auto!important;width:50%!important;height:100%!important;margin:0!important;z-index:-2!important}
.mhs-layout-sample[data-hero-layout="split-left"] .mhs-bg{inset:0 auto 0 0!important}
.mhs-layout-sample[data-hero-layout="inset"] .mhs-bg{inset:9px 9px auto auto!important;width:calc(50% - 9px)!important;height:calc(100% - 18px)!important;border-radius:7px!important}
.mhs-layout-sample[data-hero-layout="stacked"] .mhs-bg{height:63px!important}
.mhs-layout-sample[data-hero-layout="stacked"] .mhs-copy-frame{padding-top:0}
.mhs-layout-sample[data-hero-layout="caption"] .mhs-slide{padding-top:52px!important}
.mhs-layout-sample[data-hero-layout="caption"] .mhs-copy-frame{padding:8px!important}
.mhs-layout-sample[data-hero-layout="boxed"] .mhs-slide{border-width:8px;border-radius:14px}
@media(max-width:1000px){.mhs-layout-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mhs-layout-choices{grid-template-columns:1fr}}
