/* Native Cover blocks remain visible and editable without JavaScript/in Gutenberg. */
.is-style-lgb-hero-carousel>.wp-block-group__inner-container{padding:0;max-width:none}
.lgb-hero-carousel.is-enhanced{position:relative;display:grid;isolation:isolate;overflow:hidden}
.lgb-hero-carousel.is-enhanced>.wp-block-group__inner-container{display:contents}
.lgb-hero-carousel.is-enhanced .lgb-hero-slide{grid-area:1/1;margin:0;min-width:0;transform:translateX(calc(var(--lgb-slide-offset,0) * 100%));transition:transform .65s cubic-bezier(.22,.61,.36,1);pointer-events:none}
.lgb-hero-carousel.is-enhanced .lgb-hero-slide.is-active{pointer-events:auto}
.lgb-hero-carousel .lgb-hero-controls{position:absolute;inset:0;pointer-events:none;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(8px,2vw,28px)}
.lgb-hero-carousel .lgb-hero-controls button{pointer-events:auto;display:grid;place-items:center;background:#0002;color:#fff;border:0;border-radius:3px;width:44px;height:52px;padding:14px;cursor:pointer;opacity:.7}
.lgb-hero-carousel .lgb-hero-controls button:hover{opacity:1;background:#0005}
.lgb-hero-carousel .lgb-hero-controls button:focus-visible{outline:2px solid #fff;outline-offset:3px;opacity:1}
.lgb-hero-controls svg{width:14px;height:20px;fill:currentColor}
.lgb-hero-carousel .lgb-hero-controls .lgb-hero-toggle{position:absolute;bottom:12px;right:clamp(8px,2vw,28px);height:40px;width:40px;padding:12px}
.lgb-hero-carousel.is-enhanced .wp-block-cover__inner-container{padding-inline:44px}
@media(prefers-reduced-motion:reduce){.lgb-hero-carousel.is-enhanced .lgb-hero-slide{transition:none}}
/* Reusable inset: full-width image, site-width frame, right-aligned gold panel. */
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-frame{width:100%;max-width:1200px;margin-inline:auto;box-sizing:border-box;}
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-frame>.wp-block-group__inner-container{padding:0;max-width:none;}
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel{box-sizing:border-box;width:36%;max-width:440px;margin-left:auto;margin-right:0;background:var(--gold,#ffc415);color:var(--forest,#284f3e);border-radius:18px;padding:clamp(24px,3vw,40px);text-align:left;}
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel>.wp-block-group__inner-container{padding:0;max-width:none;}
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel h2{font-family:var(--fs-font-heading);font-size:clamp(30px,3vw,42px);line-height:1.1;font-weight:600;color:inherit;text-align:left;margin:0 0 22px;}
:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel p{font-family:var(--fs-font-body);font-size:18px;line-height:1.5;color:inherit;text-align:left;margin:0 0 24px;}
.is-style-lgb-hero-panel .wp-block-buttons{margin:0;}
.is-style-lgb-hero-panel .wp-block-button__link{background:var(--forest,#284f3e);color:var(--paper,#faf7f0);}
.wp-block-cover:has(.is-style-lgb-hero-frame)>.wp-block-cover__inner-container{width:100%;max-width:none;}
@media(max-width:1000px){:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel{width:46%;}}
@media(max-width:767px){:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel{width:100%;max-width:440px;border-radius:14px;padding:24px;}:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel h2{font-size:30px;}:where(body,.editor-styles-wrapper) .is-style-lgb-hero-panel p{font-size:17px;}.lgb-hero-carousel.is-enhanced .wp-block-cover__inner-container{padding-inline:32px;}.lgb-hero-carousel.is-enhanced .lgb-hero-slide{padding:28px 16px 56px;}.lgb-hero-carousel .lgb-hero-controls{padding-inline:0;}.lgb-hero-carousel .lgb-hero-controls button{width:32px;padding:9px;}}
/* Override GP's legacy Group padding and Cover's half-width positioned-content rule. */
.wp-block-group.is-style-lgb-hero-frame>.wp-block-group__inner-container,
.wp-block-group.is-style-lgb-hero-panel>.wp-block-group__inner-container{padding:0;max-width:none;width:100%;}
.wp-block-cover.has-custom-content-position:has(.is-style-lgb-hero-frame)>.wp-block-cover__inner-container{width:100%;max-width:none;flex:1 1 100%;box-sizing:border-box;}

/* Separate the full-width hero from the next content section. */
.is-style-lgb-hero-carousel{margin-bottom:clamp(32px,4vw,56px);}
