/* Browser viewport pixels, not monitor resolution or a fixed laptop height. */
:root{--hrs-viewport-height:100dvh}
@media(min-width:901px){
 html body .hrs-viewport-screen{box-sizing:border-box;min-height:var(--hrs-screen-min-height,calc(var(--hrs-viewport-height) - var(--hrs-navigation-height,86px)))!important}
 .mm-hero-intro.hrs-viewport-screen{display:flex;flex-direction:column}
 .mm-hero-intro.hrs-viewport-screen:before,.mm-hero-intro.hrs-viewport-screen:after{width:min(40%,calc(var(--hrs-screen-min-height)*1.125))}
 .mm-hero-intro.hrs-viewport-screen>.mm-classic-intro{flex:1;min-height:0}
}
/* Short laptop windows: reclaim decoration/spacing before touching readable copy. */
@media(min-width:901px) and (max-height:760px){
 html body :is(.about-banner,.services-banner,.events-banner,.blogs-banner,.languages-banner,.affiliate-banner,.mm-banner,.quality-banner,.videos-banner,.reskill-banner,.visa-services-banner,.public-info-banner){height:clamp(120px,22dvh,170px);min-height:0!important}
 html body :is(.services-introduction,.events-introduction,.blogs-introduction,.languages-introduction,.affiliate-introduction){padding-block:18px}
 html body :is(.services-lead,.events-intro-heading,.blogs-intro-heading,.affiliate-heading){margin-bottom:16px;padding-bottom:12px}
 html body :is(.services-intro-columns,.events-intro-columns,.blogs-intro-copy,.affiliate-copy-columns,.language-overview-grid){column-gap:28px}
 html body .reskill-first-content{padding-top:24px;padding-bottom:18px;gap:28px}
 html body .reskill-intro-image img{max-height:calc(var(--hrs-viewport-height)*.38);object-fit:contain}
 html body .mm-page .mm-classic-intro>.mm-wrap{width:76%}
 html body .mm-page .mm-classic-intro{padding-block:18px}
 html body .mm-intro-heading{margin-bottom:16px}
 html body .mm-intro-layout>div:first-child{padding:18px 20px}
 html body .mm-page .mm-intro-layout>div:first-child p:not(#hrs-public-ui-copy){font-size:16px;line-height:1.6}
 html body :is(.services-introduction,.events-introduction,.blogs-introduction,.languages-introduction,.affiliate-introduction) p{margin-bottom:12px}
 html body .government-opening-videos :is(iframe,.government-video-placeholder){height:clamp(90px,16dvh,130px)}
}
@media(min-width:901px) and (max-height:650px){
 html body :is(.about-banner,.services-banner,.events-banner,.blogs-banner,.languages-banner,.affiliate-banner,.mm-banner,.quality-banner,.videos-banner,.reskill-banner,.visa-services-banner,.public-info-banner){height:clamp(100px,20dvh,140px);min-height:0!important}
 html body .quality-content{padding-top:18px}
 html body :is(.about-welcome,.services-introduction,.events-introduction,.blogs-introduction,.languages-introduction,.affiliate-introduction){padding-block:14px!important}
}
