/* Reusable Gutenberg enrollment composition and image placeholders. */
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section{background:var(--sand,#f2e0c9);padding:48px 32px;margin-block:32px 0;}
.lgb-enrollment-content{max-width:1280px;margin-inline:auto;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section h2{font:600 46px/1.12 var(--fs-font-heading,Georgia,serif);margin:0 0 32px;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-layout{display:grid;grid-template-columns:1fr 2fr;gap:28px;margin:0;align-items:center;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-layout>.wp-block-column{min-width:0;}
.lgb-enrollment-options{display:flex;flex-direction:column;gap:24px;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;flex:0 1 auto;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-rate-card{height:100%;background:var(--paper,#faf7f0);border:1px solid #284f3e30;padding:28px;box-sizing:border-box;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-rate-card h3{font:600 27px/1.12 var(--fs-font-body,Arial,sans-serif);margin:0 0 20px;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-price{font:400 18px/1.2 var(--fs-font-body,Arial,sans-serif);margin:0 0 22px;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-price strong{font-size:43px;font-weight:600;letter-spacing:-.025em;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-plan-description{font-size:17px;line-height:1.5;margin:0;}
:is(body.fs-type-system,.editor-styles-wrapper) .lgb-enrollment-options>.wp-block-buttons{justify-content:center;margin:0;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-secondary{display:grid;grid-template-columns:1fr 2fr;gap:28px;padding-top:24px;margin:28px 0 0;border-top:1px solid #284f3e35;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-secondary h3{font:600 23px/1.25 var(--fs-font-heading,Georgia,serif);margin:0 0 8px;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-secondary p{font-size:17px;line-height:1.5;margin:0;}
.lgb-enrollment-secondary-menu{font:400 16px/1.5 var(--fs-font-body,Arial,sans-serif);}
.lgb-enrollment-secondary-menu .wp-block-navigation__container{gap:6px;}
.lgb-enrollment-secondary-menu .wp-block-navigation-item__content{color:var(--forest,#284f3e);text-decoration:underline;text-underline-offset:3px;}
:is(body.fs-type-system,.editor-styles-wrapper) :is(.is-style-lgb-image-placeholder-square,.is-style-lgb-image-placeholder-portrait){display:grid;place-items:center;position:relative;min-width:0;box-sizing:border-box;border:1px dashed #82948a;background:linear-gradient(to top right,transparent calc(50% - .5px),#284f3e30 50%,transparent calc(50% + .5px)),linear-gradient(to bottom right,transparent calc(50% - .5px),#284f3e30 50%,transparent calc(50% + .5px));color:var(--forest,#284f3e);}
:is(.is-style-lgb-image-placeholder-square,.is-style-lgb-image-placeholder-portrait) p{position:relative;background:var(--paper,#faf7f0);padding:8px 12px;margin:0;}
.is-style-lgb-image-placeholder-square{aspect-ratio:1;}
.is-style-lgb-image-placeholder-portrait{min-height:420px;height:100%;}
@media(max-width:900px){:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section{padding:32px 24px;}:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-layout{grid-template-columns:1fr;}.is-style-lgb-image-placeholder-portrait{min-height:280px;height:280px;}:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-secondary{grid-template-columns:1fr;gap:22px;}}
@media(max-width:560px){:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-plans{grid-template-columns:1fr;}:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section h2{font-size:38px;}:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-rate-card{padding:24px;}}
/* GP adds a padded legacy inner wrapper to Groups; these components own their padding. */
:is(body.fs-type-system,.editor-styles-wrapper) :is(.is-style-lgb-enrollment-section,.lgb-enrollment-content,.is-style-lgb-rate-card,.is-style-lgb-image-placeholder-square,.is-style-lgb-image-placeholder-portrait)>.wp-block-group__inner-container{padding:0;max-width:none;margin:0;}
:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section{padding-inline:48px;}
@media(max-width:900px){:is(body.fs-type-system,.editor-styles-wrapper) .is-style-lgb-enrollment-section{padding-inline:24px;}}

/* An actual photograph replaces the wireframe without letting its natural height stretch the plans. */
.is-style-lgb-enrollment-photo{margin:0;}
.is-style-lgb-enrollment-photo img{display:block;width:100%;height:clamp(340px,34vw,460px);object-fit:cover;object-position:center;}
@media(max-width:900px){.is-style-lgb-enrollment-photo img{height:320px;object-position:center 65%;}}
@media(max-width:560px){.is-style-lgb-enrollment-photo img{height:340px;}}
