/* Geometry correction, 10 November. Keep the approved type, colour and silhouettes. */
html:has(.mm-navigation-page){scroll-padding-top:0}
/* Reserve the video slot before React mounts, including portrait guest reviews. */
#root [data-video-island]:not([data-video-background="true"]){display:block;width:100%;aspect-ratio:16/9}
#root [data-video-island][data-vertical="true"]{aspect-ratio:9/16}
#root .home-review-videos [data-video-island]{max-height:510px}
@media(max-width:759px){#root .home-review-videos [data-video-island]{max-height:none}}

/* A landscape scene keeps its entire composition, without artificial beige bands. */
#root .home-trials-r8 .home-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
#root .home-trial-image{display:block;min-width:0}
#root .home-trial-image img{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;background:transparent;object-fit:cover!important}
#root .home-trial-image>span{display:block;padding:14px 0 0;font:12px/1.6 Manrope,Arial,sans-serif;color:#806440}
#root .home-trials-r8 .home-split>div>.home-button{margin-top:20px}
#root .home-trial-steps{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:25px;padding-top:18px;border-top:1px solid #ddceb2;color:#95743f;font-size:11px}

/* Printed material is not a decorative photograph. Its edges and text stay visible. */
#root .p-menu-art{width:100%;max-width:420px;height:auto!important;aspect-ratio:auto!important;margin-inline:auto;background:transparent}
#root .fp-archive-menu-note{margin:0 0 16px!important;font-size:11px!important;line-height:1.6;color:#806440!important}
#root .p-menu-art>img,#root img[data-photo-fit="document"]{position:static!important;display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:50% 50%!important;transform:none!important}
#root .p-book-world img{height:100%!important;object-fit:contain!important;object-position:center!important;padding:24px}
#root .fp-photo[data-frame="document"]{aspect-ratio:auto;max-width:350px;justify-self:center;width:100%;background:transparent;border-radius:0}
#root #pass-gift .fp-story-split>div>.home-button{margin-top:24px}

/* Definite frames: intrinsic image height must never stretch a grid track. */
#root .fp-photo:not([data-frame="document"]),#root .cc-photo,.mf-editorial .mf-photo{position:relative;min-width:0;min-height:0}
#root .fp-photo:not([data-frame="document"])>img,#root .cc-photo>img,.mf-editorial .mf-photo>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}

/* One decorative arrow per CTA, with a fixed, centred optical box. */
.home-button{box-sizing:border-box;max-width:100%;gap:20px;text-align:center}
.home-button::after{content:""!important;display:block!important;flex:0 0 16px;width:16px!important;height:16px!important;margin:0;padding:0;background:currentColor!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M6 6h12v12'/%3E%3C/svg%3E") center/16px 16px no-repeat;align-self:center;transform:none}

/* Equal row heights continue through the inner copy wrapper to the action. */
#root .fp-editorial-list>article{align-items:stretch;min-width:0}
#root .fp-editorial-list>article>div{display:flex;flex-direction:column;min-width:0;flex:1}
#root .fp-editorial-list>article>div>p{margin-bottom:22px}
#root .fp-editorial-list>article>div>.home-button{align-self:flex-start;margin-top:auto}
#root .fp-grad-card{display:flex;flex-direction:column;min-width:0}
#root .fp-grad-card>ul{margin-bottom:28px}
#root .fp-grad-card>.home-button{align-self:flex-start;margin-top:auto}
#root .fp-photo-strip:has(>:only-child){grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto}
#root .fp-photo-strip:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
#root #other-groups>.container>.fp-editorial-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
#root #other-groups .fp-editorial-list .home-button{font-size:13px;gap:15px;padding-inline:18px}

/* Round controls have a single centre, regardless of text wrapping or old rules. */
#root main :is(.fp-faq,.p-faq,.mf-faq,#home-faq-list) summary,
#root main .home-expand>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;min-height:64px;list-style:none}
#root main :is(.fp-faq,.p-faq,.mf-faq,#home-faq-list) summary::after,
#root main .home-expand>summary::after{content:""!important;display:block!important;box-sizing:border-box;position:static!important;inset:auto!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px;margin:0!important;padding:0!important;align-self:center;border:1px solid #d9c5a0!important;border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23966f34' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/20px 20px no-repeat!important;mask:none!important;clip-path:none!important;transform:none!important;rotate:0deg;transition:rotate .25s}
#root main :is(.fp-faq,.p-faq,.mf-faq,#home-faq-list) details[open]>summary::after,
#root main .home-expand[open]>summary::after{content:""!important;rotate:180deg}
#root main .mf-faq summary>span{display:none}
.fp-dialog-close,.modal-tools .close,.video-lightbox .close{box-sizing:border-box;display:grid!important;place-items:center!important;flex:none;padding:0!important;margin:0;line-height:1!important;text-align:center}
.gradebook-modal .modal-content .record-book.is-fitted .record-pager>button{box-sizing:border-box;display:grid;place-items:center;width:44px!important;height:44px!important;min-width:44px;min-height:44px;flex:0 0 44px;padding:0;font:28px/1 Manrope,Arial,sans-serif}
.wz-video-play>svg,.wz-video-sound>svg{display:block;flex:none;margin:0!important;align-self:center;justify-self:center}
.mm-detail-layout img.mm-detail-illustration{position:static;width:132px;height:132px;max-width:132px;object-fit:contain;margin:20px auto 0;background:none}
.mm-detail-gallery>img{height:auto!important;max-height:none;aspect-ratio:auto;object-fit:contain;background:transparent}
#root .fp-request-grid input:not([type="checkbox"]):not([type="radio"]),#root .fp-request-grid select{height:50px;min-height:50px;box-sizing:border-box;line-height:1.5}

/* Ten locations stay available, without a photo panel stretched by a tall tab list. */
#root .journey-layout{grid-template-columns:minmax(360px,.95fr) minmax(0,1.25fr);align-items:start;gap:32px}
#root .journey-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#root .journey-tabs button{min-width:0;min-height:98px;gap:10px;padding:12px 10px;font-size:13px;line-height:1.5}
#root .journey-tabs button>span{display:none}
#root .journey-panels article{height:auto}
#root .journey-panels img{height:auto!important;max-height:none;aspect-ratio:auto;background:transparent}
#root .journey-controls button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;line-height:1.4}
#root .home-journey-entry>#locations{padding:28px 0 0}
#root .home-journey-entry>#locations>.container{width:100%;max-width:none;padding:0;margin:0}

@media(max-width:1100px){#root #other-groups>.container>.fp-editorial-list{grid-template-columns:minmax(0,1fr);gap:0}#root #other-groups .fp-editorial-list>article>div>.home-button{margin-top:4px}}
@media(max-width:960px){#root .home-trials-r8 .home-split{grid-template-columns:minmax(0,1fr);gap:32px}#root .home-trial-image{max-width:720px;width:100%;margin-inline:auto}#root .fp-request-grid{grid-template-columns:minmax(0,1fr);gap:30px}#root .fp-story-split{grid-template-columns:minmax(0,1fr);gap:30px}#root .fp-story-split>.fp-photo:not([data-frame="document"]){aspect-ratio:4/3}#root .fp-grad-grid{grid-template-columns:minmax(0,1fr);gap:24px}#root .journey-layout{grid-template-columns:minmax(0,1fr);gap:24px}#root .journey-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#root .journey-tabs button{min-height:84px}}
@media(max-width:650px){#root .home-trial-image img{border-radius:48px 18px}#root .home-trial-image>span{font-size:11px}#root .p-menu-preview{padding:24px}#root .fp-editorial-list>article>div>.home-button{margin-top:4px}#root main :is(.fp-faq,.p-faq,.mf-faq,#home-faq-list) summary,#root main .home-expand>summary{gap:18px}.home-button{gap:14px}.home-button::after{flex-basis:15px;width:15px!important;height:15px!important}}
@media(prefers-reduced-motion:reduce){#root main summary::after{transition:none!important}}
