/* One responsive banner frame on every page except Home. */
main>.site-top-banner{
 --top-banner-height:240px;
 display:grid;box-sizing:border-box;height:var(--top-banner-height)!important;min-height:var(--top-banner-height)!important;
 max-height:var(--top-banner-height);grid-template-rows:minmax(0,1fr)!important;overflow:hidden;
}
main>.site-top-banner>.site-banner-copy{
 box-sizing:border-box;align-self:center!important;min-height:0;width:100%;max-width:none;
 padding:24px 7%!important;margin:0;zoom:1!important;container-type:normal;
}
.site-top-banner .grade-five-text{transform:none!important}
.site-top-banner .site-banner-copy h1{position:static;top:auto;transform:none;font:400 clamp(28px,3.3vw,46px)/1.2 Georgia,serif!important;letter-spacing:-.8px;margin:16px 0 14px!important}
.site-top-banner .site-banner-subtitle{font:400 22px/1.4 Georgia,serif!important;letter-spacing:0!important;white-space:normal!important;max-width:none!important;width:auto!important;margin:0!important;position:static;transform:none}
.site-top-banner .audio-strapline-height{display:none!important}
.site-top-banner :is(.grade-five-preview,.about-banner-photo,.fees-banner-photo,.tuition-banner-image-space){min-height:0!important;height:100%!important;align-self:stretch!important;aspect-ratio:auto;overflow:hidden;position:relative}
.site-top-banner .grade-five-preview{padding:0}
.site-top-banner .grade-five-preview>div{height:100%;min-height:0;aspect-ratio:auto;overflow:hidden}
.site-top-banner .grade-five-preview img[src*="abrsm-online-exam"]{width:100%;height:auto;object-fit:contain;top:0;left:0;right:auto}
.site-top-banner .grade-five-preview img[src*="piano-syllabus"]{width:100%;height:100%;object-fit:contain}
.site-top-banner.first-steps-hero{grid-template-columns:minmax(0,44fr) minmax(0,21fr) minmax(0,35fr)!important;gap:0!important}
.site-top-banner.first-steps-hero>.site-banner-copy{grid-column:1!important;grid-row:1!important}
.site-top-banner.first-steps-hero>.audio-banner-chutney{grid-column:2!important;grid-row:1!important;position:static;transform:none!important;width:100%!important;max-width:100%!important;height:85%!important;max-height:85%;margin:0!important;object-fit:contain;justify-self:center;align-self:center}
.site-top-banner.first-steps-hero>.first-steps-covers{grid-column:3!important;grid-row:1!important;width:100%;max-width:100%;height:100%;padding:15px 5% 15px 0;object-fit:contain;justify-self:center;align-self:center}
@media(max-width:800px){
 main>.site-top-banner{--top-banner-height:315px;display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,187.5px) minmax(0,127.5px)!important}
 main>.site-top-banner>.site-banner-copy{grid-column:1!important;grid-row:1!important;padding:24px 7%!important}
 .site-top-banner .site-banner-copy h1{font-size:30px!important}
 .site-top-banner .site-banner-subtitle{font-size:18px!important}
 .site-top-banner>:is(.grade-five-preview,.about-banner-photo,.fees-banner-photo,.tuition-banner-image-space){grid-column:1;grid-row:2;width:100%}
 .site-top-banner.first-steps-hero{grid-template-columns:minmax(0,38fr) minmax(0,62fr)!important;grid-template-rows:minmax(0,187.5px) minmax(0,127.5px)!important}
 .site-top-banner.first-steps-hero>.site-banner-copy{grid-column:1/-1!important}
 .site-top-banner.first-steps-hero>.audio-banner-chutney{grid-column:1!important;grid-row:2!important;height:95%!important;max-height:95%}
 .site-top-banner.first-steps-hero>.first-steps-covers{grid-column:2!important;grid-row:2!important;padding:8px 7% 12px 0}
}
.site-top-banner .grade-five-preview img.gcse-book-stack{inset:0;transform:none;width:100%;height:100%;object-fit:contain;object-position:right center}
/* Right-hand images meet the banner edges, with no padded frame. */
.site-top-banner :is(.grade-five-preview,.tuition-banner-image-space,.fees-banner-photo,.about-banner-photo),
.site-top-banner .grade-five-preview>div{box-sizing:border-box;min-width:0;min-height:0!important;width:100%;height:100%!important;max-height:100%;padding:0!important;margin:0!important;overflow:hidden;background:transparent;position:relative}
.site-top-banner :is(.grade-five-preview,.tuition-banner-image-space,.fees-banner-photo,.about-banner-photo) img{display:block;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0;min-height:0;max-width:100%!important;max-height:none;object-fit:cover!important;object-view-box:none!important;transform:none!important;margin:0!important;padding:0!important}
.site-top-banner .grade-five-preview img[src*="abrsm-online-exam"]{object-position:left top!important}
.site-top-banner .grade-five-preview img[src*="piano-syllabus"]{object-position:center top!important}
.site-top-banner img[src*="sight-singing-pupil"]{object-position:center top!important}
.site-top-banner.first-steps-hero>.first-steps-covers{padding:0!important;margin:0!important;height:100%!important;max-height:100%;align-self:stretch;object-fit:contain;object-position:right center}
/* Compact text insets for the shorter banner, without clipping headings. */
main>.site-top-banner>.site-banner-copy{padding-top:12px!important;padding-bottom:12px!important}
@media(max-width:480px){
 main>.site-top-banner,main>.site-top-banner.first-steps-hero{grid-template-rows:minmax(0,250px) minmax(0,65px)!important}
}
