/* Avoid stacking section padding and plan margins between related content. */
body[data-pathway=scholarship] .ref-why{padding-bottom:20px}
body[data-pathway=scholarship] .ref-details{padding-bottom:0}
body[data-pathway=scholarship] .ref-details>section{padding-block:20px}
body[data-pathway=scholarship] .ref-details h2{margin-bottom:12px}
body[data-pathway=scholarship] .ref-details p{margin:10px 0;line-height:1.6}
body[data-pathway=scholarship] .membership-plan-section{margin-top:20px;margin-bottom:24px;padding:24px}
@media(max-width:600px){body[data-pathway=scholarship] .membership-plan-section{padding:20px}}

/* Preserve a small inner gutter on the newly framed plan cards. */
body.vip-framed-page[data-pathway=scholarship] .membership-plan-section{padding-bottom:20px}
/* Bring the introduction close to navigation after removing the breadcrumb. */
body[data-pathway=scholarship] #overview.ref-intro{padding-top:20px}

/* Provider chooser shares the primary action slot on desktop and mobile. */
@layer vip-b-design {
body.vip-ui-b[data-pathway=scholarship] .ref-start-box>.scholarship-provider-picker{grid-area:primary!important;align-self:center!important;position:relative;width:100%;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
body.vip-ui-b[data-pathway=scholarship] .scholarship-provider-picker>summary.btn{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%!important;min-height:48px;box-sizing:border-box;margin:0!important;list-style:none;cursor:pointer;color:white!important;background:var(--b-red,#c9004c)!important}
.scholarship-provider-picker>summary::-webkit-details-marker{display:none}
body.vip-ui-b[data-pathway=scholarship] .scholarship-provider-picker>summary span{color:inherit!important}
.scholarship-provider-picker[open]>summary span{transform:rotate(180deg)}
.scholarship-provider-options{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;display:grid;gap:4px;padding:8px;border:1px solid #dce2ec;border-radius:14px;background:white;box-shadow:0 12px 32px #202b4526}
body.vip-ui-b[data-pathway=scholarship] .ref-start-box .scholarship-provider-options>a{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:8px;color:#202b45!important;text-decoration:none;font-weight:700;min-height:48px;box-sizing:border-box}
.scholarship-provider-options>a:hover,.scholarship-provider-options>a:focus-visible{background:#fff0f5;color:#bc0046}
.scholarship-provider-picker>summary:focus-visible,.scholarship-provider-options>a:focus-visible{outline:3px solid #234c8c;outline-offset:3px}
}
