/* Shared content spacing below the homepage-derived page header. */
body.page:not(.home) .gss-main{padding-top:1px}
.gss-page-content{max-width:1000px;padding-block:32px 48px}
.gss-page-content .wp-block-post-content{margin-top:0;line-height:1.65}
.gss-page-content :is(h2,h3){color:var(--gss-petrol);line-height:1.25}
.gss-page-content .wp-block-post-content>h2{margin-block:1.65em .55em}
.gss-page-content :where(p,li){line-height:1.65}
.gss-page-content :where(table){width:100%}
.gss-page-content .wp-block-table{overflow-x:auto}
.gss-main :is(.gss-school-page,.gss-bo-page,.gss-life-page,.gss-gt-page,.gss-prevention-page,.gss-mobbing-page,.gss-history-page,.gss-pathways-page,.gss-times-page,.gss-service-page)>:first-child{margin-top:32px!important}
.gss-main :is(.gss-school-page,.gss-history-page,.gss-pathways-page,.gss-prevention-page)>.wp-block-buttons{width:calc(100% - clamp(40px,8vw,128px));max-width:1200px;margin:22px auto 0!important;gap:10px}
.gss-main :is(.gss-school-page,.gss-history-page,.gss-pathways-page,.gss-prevention-page)>.wp-block-buttons .wp-block-button__link{min-height:44px;padding:10px 18px}
.gss-bo-page .gss-bo-nav-wrap{margin-bottom:0!important}
.gss-bo-page :is(.gss-bo-route,.gss-bo-profile-band,.gss-bo-report-band,.gss-bo-question-band,.gss-bo-download-band){padding-block:50px!important}
.gss-main :is(.gss-school-page,.gss-bo-page,.gss-life-page,.gss-gt-page,.gss-prevention-page,.gss-mobbing-page,.gss-history-page,.gss-pathways-page,.gss-times-page,.gss-service-page) :is(.gss-section,.gss-school-section){margin-block:48px!important}
.gss-school-page :is(.gss-school-transition,.gss-school-pupils,.gss-school-day,.gss-school-contact){padding:clamp(22px,3vw,32px);border-radius:14px}
.gss-school-page .gss-school-day-note{border-radius:12px;padding:22px}
.gss-school-page .gss-school-audience{gap:28px;padding-block:32px}
.gss-school-page .gss-school-card{padding:22px}
.gss-history-page>.gss-history-hero-media{width:calc(100% - clamp(40px,8vw,128px));max-width:620px;margin:26px auto!important}
.gss-history-page>.gss-history-hero-media img{display:block;width:100%;height:auto;border-radius:12px}
.gss-bo-page :is(.gss-bo-topics,.gss-bo-section,.gss-bo-latest,.gss-profile-section,.gss-profile-orientation,.gss-profile-download){padding-block:48px!important}
.gss-bo-page :is(.gss-profile-path-band,.gss-profile-compare-band,.gss-profile-cta){padding-block:50px!important}
.gss-bo-page :is(.gss-bo-tile,.gss-bo-report,.gss-profile-card,.gss-profile-compare-card){min-height:0;padding:22px}
.gss-bo-page .gss-profile-card-intro,.gss-bo-page .gss-profile-compare-card h3{min-height:0}
.gss-bo-page :is(.gss-bo-tile-grid,.gss-bo-report-grid,.gss-profile-grid,.gss-profile-compare-grid){gap:14px}
.gss-gt-page .gss-gt-section,.gss-life-page .gss-life-section,.gss-mobbing-page .gss-mobbing-section{padding-block:40px!important}
.gss-main :is(.gss-life-grid,.gss-mobbing-grid)>*{margin-block-start:0!important}
.gss-gt-page :is(.gss-gt-card,.gss-gt-offer),.gss-life-page .gss-life-card,.gss-mobbing-page .gss-mobbing-card{padding:22px;min-height:0}
.gss-prevention-page :is(.gss-prev-topics,.gss-prev-practice,.gss-prev-latest,.gss-prev-help,.gss-prev-faq,.gss-prev-cta),.gss-history-page .gss-history-section{padding-block:44px!important}
.gss-main .gss-card-grid{gap:16px}
@media(max-width:760px){
 .gss-page-content{padding-block:24px 34px}
 .gss-main :is(.gss-school-page,.gss-bo-page,.gss-life-page,.gss-gt-page,.gss-prevention-page,.gss-mobbing-page,.gss-history-page,.gss-pathways-page,.gss-times-page,.gss-service-page)>:first-child{margin-top:24px!important}
 .gss-main :is(.gss-school-page,.gss-history-page,.gss-pathways-page,.gss-prevention-page)>.wp-block-buttons{width:calc(100% - 40px);margin-top:18px!important}
 .gss-main :is(.gss-school-page,.gss-bo-page,.gss-life-page,.gss-gt-page,.gss-prevention-page,.gss-mobbing-page,.gss-history-page,.gss-pathways-page,.gss-times-page,.gss-service-page) :is(.gss-section,.gss-school-section){margin-block:32px!important}
 .gss-bo-page :is(.gss-bo-topics,.gss-bo-section,.gss-bo-latest,.gss-profile-section,.gss-profile-orientation,.gss-profile-download,.gss-profile-path-band,.gss-profile-compare-band,.gss-profile-cta){padding-block:32px!important}
 .gss-gt-page .gss-gt-section,.gss-life-page .gss-life-section,.gss-mobbing-page .gss-mobbing-section,.gss-prevention-page :is(.gss-prev-topics,.gss-prev-practice,.gss-prev-latest,.gss-prev-help,.gss-prev-faq,.gss-prev-cta){padding-block:28px!important}
}
@media(max-width:480px){
 .gss-school-page :is(.gss-school-transition,.gss-school-pupils,.gss-school-day,.gss-school-contact),.gss-bo-page :is(.gss-bo-tile,.gss-bo-report,.gss-profile-card,.gss-profile-compare-card){padding:20px}
}

/* Every regular page uses the homepage hero and quick-link classes from home.css. */
body.page .gss-header-inner,body.blog .gss-header-inner{min-height:88px}
.gss-page-feature .gss-home-hero-copy{justify-content:flex-start;padding-top:64px}
.gss-page-feature .gss-breadcrumbs{margin:0 0 16px;color:#eff7f2;font-size:.85rem;line-height:1.4}
.gss-page-feature .gss-breadcrumbs a,.gss-page-feature .gss-breadcrumbs span{color:inherit}
.gss-page-feature .gss-home-hero-subline{max-width:520px}
.gss-page-feature-hero.is-color{background:linear-gradient(115deg,#173f43 0%,#365f5b 57%,#78988b 100%)}
.gss-page-feature-hero.is-color::before{background:linear-gradient(90deg,rgba(10,37,39,.42),rgba(10,37,39,.18) 58%,transparent)}
.gss-page-feature .gss-home-hero-image img{object-position:center var(--gss-page-image-y,58%)}
.gss-page-feature-quick .gss-home-quick-grid{grid-template-columns:repeat(var(--gss-quick-count,6),minmax(0,1fr))}
body:has(.gss-page-feature-quick) .gss-bo-page>.gss-bo-topics{padding-top:48px!important;margin-top:0!important}
body:has(.gss-page-feature-quick) .gss-life-page>.gss-life-news{margin-top:12px!important;padding-top:32px!important}
body:has(.gss-page-feature-quick) .gss-gt-page>.gss-gt-term{margin-top:18px!important}
@media(max-width:1100px){
 .gss-page-feature-quick .gss-home-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gss-page-feature-quick.gss-quick-count-4 .gss-home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gss-page-feature-quick.gss-quick-count-4 .gss-home-quick-item:nth-child(2){border-right:0;border-bottom:1px solid var(--gss-line)}
 .gss-page-feature-quick.gss-quick-count-4 .gss-home-quick-item:nth-child(3){border-right:1px solid var(--gss-line);border-bottom:0}
}
@media(max-width:700px){
 .gss-page-feature .gss-home-hero-copy{padding:28px 22px}
 .gss-page-feature .gss-breadcrumbs{color:var(--gss-petrol);margin-bottom:14px}
 .gss-page-feature-hero.is-color{background:#f0f3eb}
 .gss-page-feature-hero.is-color::before{display:none}
 .gss-page-feature .gss-home-hero-image img{height:100%;object-fit:cover}
}
@media(max-width:540px){
 body.page .gss-header-inner,body.blog .gss-header-inner{min-height:76px}
 .gss-page-feature .gss-home-hero-copy{padding:24px 18px}
 .gss-page-feature-quick .gss-home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
