/* The homepage shell is shared; transparent only over a dark title banner. */
html body.gcc-staging:has(.page-title){padding-top:0!important;}
html body.gcc-staging:has(.page-title) .main-header:not(.fixed-header){background:transparent!important;box-shadow:none!important;}
html body.gcc-staging:has(.page-title) .main-header:not(.fixed-header) .header-middle .logo img{filter:brightness(0) invert(1);}
html body.gcc-staging:has(.page-title) .main-header:not(.fixed-header) .header-lower .navigation>li>a{color:#fff!important;}
html body.gcc-staging:has(.page-title) .main-header:not(.fixed-header) .mobile-nav-toggler .icon-bar{background:#fff!important;}
html body.gcc-staging:has(.page-title) .page-title{padding-top:156px!important;padding-bottom:48px!important;min-height:280px;box-sizing:border-box;}
html body.gcc-staging:has(.page-title) .page-title:before{background:#102532!important;opacity:.84!important;}
html body.gcc-staging:has(.page-title) .page-title .content-box{position:relative;z-index:1;}
html body.gcc-staging .main-footer{clear:both;width:100%;margin-top:0;}
html body.gcc-staging .main-footer .footer-bottom .copyright p{margin:0;line-height:1.7;}

/* Compact, shared bilingual footer: preserve every link and office image. */
html body.gcc-staging .main-footer .footer-top{padding:26px 0!important;}
html body.gcc-staging .main-footer .footer-top .auto-container>.row{
grid-template-columns:1.25fr 1.25fr 1.1fr 1fr!important;
grid-template-areas:"brand quick programmes gallery" "social quick programmes gallery"!important;
grid-template-rows:auto 1fr!important;column-gap:26px!important;row-gap:10px!important;align-items:start;
}
html body.gcc-staging .main-footer .footer-widget,
html body.gcc-staging .main-footer .single-footer-widget{margin:0!important;padding:0!important;}
html body.gcc-staging .main-footer .footer-logo{margin:0 0 12px!important;}
html body.gcc-staging .main-footer .footer-logo img{max-width:175px!important;height:auto;}
html body.gcc-staging .main-footer .logo-widget .text,
html body.gcc-staging .main-footer .logo-widget p{margin:0!important;padding:0!important;font-size:14px!important;line-height:1.7!important;}
html body.gcc-staging .main-footer .widget-title{margin:0 0 12px!important;padding:0!important;min-height:0;}
html body.gcc-staging .main-footer .widget-title:before,
html body.gcc-staging .main-footer .widget-title:after{display:none!important;}
html body.gcc-staging .main-footer .widget-title :is(h2,h4){margin:0!important;padding:0!important;font-size:18px!important;line-height:1.5!important;}
html body.gcc-staging .main-footer .menu{margin:0!important;padding:0!important;}
html body.gcc-staging .main-footer .menu li{margin:0!important;padding:0!important;list-style:none;}
html body.gcc-staging .main-footer .menu li:before,
html body.gcc-staging .main-footer .menu li:after{display:none!important;}
html body.gcc-staging .main-footer .menu a{display:flex!important;align-items:center;min-height:32px;padding:4px 0!important;font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere;}
html body.gcc-staging .main-footer .footer-column:has(.widget_nav_menu):not(:has(#nav_menu-5)):not(:has(#nav_menu-14)) .menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;}
html body.gcc-staging .main-footer .wp-block-social-links{gap:8px!important;margin:0!important;padding:0!important;}
html body.gcc-staging .main-footer .wp-block-social-links a{min-width:36px;min-height:36px;}
html body.gcc-staging .main-footer .image-list{gap:6px!important;max-width:228px!important;}
html body.gcc-staging .main-footer .image-list figure{height:54px!important;}
html body.gcc-staging .main-footer .footer-bottom{padding:6px 16px!important;min-height:0!important;}
html body.gcc-staging .main-footer .bottom-inner{padding:0!important;min-height:0!important;}
html body.gcc-staging .main-footer .copyright p{font-size:12px!important;line-height:1.6!important;}
@media(min-width:601px) and (max-width:991px){
html body.gcc-staging .main-footer .footer-top .auto-container>.row{grid-template-columns:1fr 1fr!important;grid-template-areas:"brand quick" "social quick" "programmes gallery"!important;gap:18px 26px!important;}
}
@media(max-width:600px){
html body.gcc-staging .main-footer .footer-top{padding:22px 0!important;}
html body.gcc-staging .main-footer .footer-top .auto-container{padding-inline:20px!important;}
html body.gcc-staging .main-footer .footer-top .auto-container>.row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"brand brand" "social social" "quick programmes" "gallery gallery"!important;gap:16px 20px!important;margin:0!important;}
html body.gcc-staging .main-footer .footer-logo img{max-width:165px!important;}
html body.gcc-staging .main-footer .logo-widget p{font-size:13px!important;line-height:1.65!important;}
html body.gcc-staging .main-footer .widget-title{margin-bottom:8px!important;}
html body.gcc-staging .main-footer .widget-title :is(h2,h4){font-size:16px!important;}
html body.gcc-staging .main-footer .menu a{min-height:36px;font-size:13px!important;}
html body.gcc-staging .main-footer .footer-column:has(.widget_nav_menu):not(:has(#nav_menu-5)):not(:has(#nav_menu-14)) .menu{display:block;}
html body.gcc-staging .main-footer .image-list{grid-template-columns:repeat(6,minmax(0,1fr))!important;max-width:100%!important;gap:5px!important;}
html body.gcc-staging .main-footer .image-list figure{width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1;}
html body.gcc-staging .main-footer .image-list:before,html body.gcc-staging .main-footer .image-list:after{display:none!important;content:none!important;}
}

@media(max-width:1199px){
html body.gcc-staging:has(.page-title) .page-title{padding-top:138px!important;min-height:260px;}
}
@media(max-width:767px){
html body.gcc-staging:has(.page-title) .page-title{padding-top:124px!important;padding-bottom:32px!important;min-height:230px;}
html body.gcc-staging:has(.page-title) .page-title h1{font-size:clamp(25px,7vw,34px);line-height:1.5;overflow-wrap:anywhere;}
}
@media(prefers-reduced-motion:reduce){html body.gcc-staging .main-header{transition:none;}}
