/*
Theme Name: BWCET Trust Theme
Description: A Wordpress theme made for the BWCET
Version:: 1.0
Author: Mr S Errington
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Vollkorn:wght@400;500;700&display=swap');
:root {
    --bg-primary:#4B667A;

    --accent-primary: #141D3E;
    --accent-secondary: #DDB349;
    --accent-tertiary: #003D72;
    --accent-quaternary: #AE002B;

    --text-primary: #2e2e2d;
    --text-secondary: #fff;

    --shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}
@media screen and (max-width:1366px) {
    html {
        font-size: 50%;
    }
}

body {
    color: var(--text-primary);
    background-color: #efefef;
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    /* cursor: none; */
    overflow-x: hidden;

    position: relative;
}

/* .cursor-dot {
    width: 2rem;
    height: 2rem;
    border: 1px solid white;
    transition-duration: 100ms;
    transition-timing-function: ease-out;
    animation: cursorAnim .5s infinite alternate;

    position: fixed;
    border-radius: 50%;
    z-index: 999;
    pointer-events: none;
}
.cursor-dot::after {
    content: "";
    width: 2rem;
    height: 2rem;
    position: fixed;
    border: 8px solid gray;
    border-radius: 50%;
    opacity: .5;
    z-index: 999;
    top: -9px;
    left: -9px;
    animation: cursorAnim2 .5s infinite alternate;
}
.expand {
    animation: cursorAnim3 .5s forwards;
    border: 1px solid var(--accent-primary);
} */


h1, h2, h3 {
    font-family: 'Montserrat', Helvetica, sans-serif;
}
h2 {
    letter-spacing: .2rem;
    margin-bottom: 2rem;

    color: var(--accent-tertiary);
    line-height: 1.2;
    font-size: 3.6rem;
}
h3 {
    font-size: 1.8rem;
    color: var(--accent-tertiary);
    line-height: 1.2;
    margin-bottom: 1rem;
}
p {
    margin-bottom: 1rem;
}


#welcomeLoader {
    height: 100vh;
    width: 100vw;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    animation: loaderSlideUp 5s ease;
    animation-fill-mode: forwards;
}
#welcomeLoader h2 {
    line-height: 1.2;
}
#welcomeLoader h1 {
    line-height: 1;
    font-size: 6.4rem;
}#welcomeLoader h1 span {
    font-size: 4.2rem;
    font-weight: 400;
}
#welcomeLoader .loaderDate {
    font-weight: 700;
}



#preloader {
    background: #fff url(img/preloader.gif) no-repeat center center;
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 998;
    opacity: 1;
    top: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all .5s ease;
}





@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 1087px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}






@media (max-width: 768px) {
    .siteWrapper {
        max-width: 90vw !important;
        margin: 0 auto;
    }
}










.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}






#hero {
    margin-top: 20rem;
}
#hero .container {
    position: relative;
    height: 60vh;
    min-height: 60rem;
}
#hero .container figure {
    display: flex;
    width: calc(100% + 20rem);
    height: 100%;
    position: relative;
    transform: translateX(-10rem);

    overflow: hidden;
    animation: fadeIn 1s ease forwards;

    opacity: 0;
    animation-delay: 1000ms;
}
#hero .container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 140% !important;
    height: 140%;
    object-fit: cover;
}
#hero .container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__overlay {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.3), rgba(0,0,0,.3), rgba(0,0,0,.3));
}
.downLink {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 3rem;
    color: #fff;
    text-decoration: none;
    animation: slideInFromBottom .5s ease forwards;
    animation-delay: 1400ms;
    animation-timing-function: ease;

    transform: translateY(1000%);
}
.down-arrow {
    display: block;
    height: 2rem !important;
    width: unset !important;
    margin: 1rem auto;
    cursor: pointer;
    transition: 0.2s;
    animation: bounce 2s infinite;
}
.hero__intro {
    top: -12rem;
    left: 0;
    position: absolute;
    z-index: 100;
    width: 50%;
}
.hero__intro p {
    padding-right: 25rem;
    line-height: 1.2;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: var(--shadow);

    border-left: 1px solid var(--text-secondary);
    padding-left: 2rem;
    margin-bottom: 3rem;
}
.hero__intro h2 {
    text-shadow: var(--shadow);

    opacity: 0;
    animation: fadeIn .5s ease forwards;
    animation-delay: 1400ms;
    font-size: 4.8rem;
}
.hero__intro h2 .span1 {
    font-size: 3.6rem;
}
.hero__intro .span2 {
    font-size: 3.6rem;
    line-height: 1.2 !important;

    color: var(--text-secondary);

    opacity: 0;
    animation: fadeIn .5s ease forwards;
    animation-delay: 1800ms;
}
.hero__values {
    position: absolute;
    top: -12rem;
    right: 0;
    width: 0;
    z-index: 100;
    background-color: var(--accent-secondary);
    padding: 0;
    color: var(--text-secondary);

    overflow: hidden;
    animation: valuesSlide .3s ease-in forwards;
    animation-delay: 2200ms;

    height: 32.5rem;
}
.hero__values h2 {
    color: var(--accent-primary);
    line-height: 1.2;
}
.hero__values h2,
.hero__values ul,
.pojo-a11y-toolbar-toggle {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2600ms;
}
.hero__values ul {
    padding-left: 2rem;
}








#CEOWelcome .container {
    display: grid;
    grid-template-columns: 30rem 1fr;
    gap: 5rem;
}
#CEOWelcome .container .nhn {
    position: relative;
}
#CEOWelcome .container .nhn p {
    position: absolute;
    bottom: -1rem;
    right: -5rem;
    color: var(--text-secondary);
    background-color: var(--accent-tertiary);

    padding: .5rem 3rem;
    box-shadow: var(--shadow);
}
#CEOWelcome .container img {
    width: 100%;
    box-shadow: var(--shadow);
}
.byNhn {
    display: none;
}
.smallNhn {
    display: none;
}


@media (max-width: 1087px) {
    #CEOWelcome .container .nhn p {
        display: none;
    }
    .byNhn {
        display: block;
    }
}
@media (max-width: 768px) {
    #CEOWelcome .container {
        grid-template-columns: 1fr;
    }
    .smallNhn {
        display: block;
        float: right;
        width: 15rem !important;
    }
    .nhn {
        display: none;
    }
}









#mapwrap .container {
    position: relative;
}
.mapwrap__inner {
    width: 100%;
    position: relative;
    height: 50rem;
}
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* width: calc(100% + 20rem);
    transform: translateX(-10rem); */
    height: 50rem;
    box-shadow: var(--shadow);
}




.gm-style-iw {
    width: 40rem;
}










#latebar {
    width: 100%;
    background-color: var(--accent-tertiary);
    padding: 0 5rem;

    position: fixed;
    top: 0;
    z-index: 998;

    height: 0;
    overflow: hidden;
    transition: all .3s ease;
}
.late-toggle {
    height: 4rem !important;
    overflow: visible !important;
}
#latebar img {
    display: none;
}
#latebar .menu-main-menu-container {
    height: 100%;
}
#latebar ul {
    display: flex;
    list-style-type: none;
    height: 100%;
}
#latebar ul li:first-of-type {
    padding-left: 0;
}
#latebar ul li {
    height: 100%;
    padding: 0 2rem;
    position: relative;

    display: flex;
    align-items: center;
}
#latebar ul a {
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
}
#latebar ul .menu-item-has-children a::after {
    content: " \25BE";
}
#latebar ul .menu-item-has-children .sub-menu a::after {
    content: "" !important;
}
#latebar ul .sub-menu {
    left: 1000rem;
    font-size: 1.4rem;
    transition: left .3s ease;
    height: max-content;
}
#latebar ul li:hover .sub-menu {
    left: 0;
    flex-direction: column;
}
#latebar ul .sub-menu {
    background-color: var(--text-secondary);
    position: absolute;
    top: 4rem;
    width: max-content;

    box-shadow: var(--shadow);

    padding: 2rem;
}
#latebar ul .sub-menu li {
    padding: 0 1rem;
    height: max-content;
    border-bottom: 1px solid #eee;
    box-sizing: border-box !important;
    transition: background-color .3s ease;
}
#latebar .sub-menu li a {
    color: var(--text-primary);
    line-height: 1.2;
    padding: 1rem 0;
    transition: color .3s ease;
}
#latebar ul .sub-menu li:hover {
    background-color: #eee;
}
#latebar .sub-menu li a:hover {
    color: var(--accent-tertiary);
}

#latebar ul .sub-menu li:first-of-type {
    border-top: 1px solid #eee;
}
#latebar ul .sub-menu li:last-of-type {
    display: none;
}





.mob-menu-header-holder {
    width: 100vw !important;
    left: 0 !important;
    top: 0 !important;
    padding: 0 !important;
}
.mobmenur-container {
    right: 5rem !important;
    margin-right: 0 !important;
}



.mobmenu-content .fa-caret-down {
    display: none;
}
.mobmenu-content #mobmenuright a {
    font-weight: 400;
    font-family: 'Montserrat', Helvetica, sans-serif;
}
.mobmenu-content #mobmenuright .sub-menu a {
    color: var(--text-primary) !important;
}
.mobmenu-content #mobmenuright .sub-menu {
    background-color: transparent !important;
}
.mobmenu-content #mobmenuright li:hover {
    background-color: transparent !important;
}
.mobmenu-content #mobmenuright li a:hover {
    font-weight: 700 !important;
    background-color: transparent !important;
    color: var(--text-primary) !important;
}
.mobmenu-right-panel li, .rightmbottom, .rightmtop {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.mobmenu-content #mobmenuright li {
    border-top: 1px solid #9E9E9E !important;
}
.mobmenu-content #mobmenuright li:first-of-type,
.mobmenu-content #mobmenuright li li {
    border-top: none !important;
}
.mobmenu-content #mobmenuright li li a {
    font-size: 1.4rem;
}
.mobmenur-container i {
    color: var(--text-primary) !important;
}
.mobmenu-content #mobmenuright .sub-menu li:last-of-type {
    display: none;
}







#navbar {
    width: 100vw;
    position: relative;
    top: 0;
    z-index: 500;


    padding: 0 5rem;
    background-color: var(--text-secondary);

    display: grid;
    gap: 5rem;
    grid-template-columns: max-content 1fr max-content;
    box-shadow: var(--shadow);
}
#navbar .logo {
    padding: 2rem 0;
}
#navbar img {
    max-height: 8rem;;
}
#navbar ul {
    display: flex;
    list-style-type: none;
    height: 100%;
}
#navbar ul li {
    position: relative;
    height: 100%;
    padding: 0 2rem;
    transition: background-color .3s ease;
}
#navbar ul a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
}
#navbar .menu-main-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar__icons {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar__icons a {
    color: var(--text-primary);
}
.navbar__logo {
    display: flex;
    align-items: center;
}




#navbar .sub-menu {
    display: grid;
    grid-template-columns: 20rem 25rem;
    column-gap: 1rem;
    height: max-content;
    width: max-content;
    padding: 2rem;
    flex-direction: column;
    background-color: var(--text-secondary);

    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    left: 500rem;
    z-index: 99999;

    box-shadow: var(--shadow);
    opacity: 0;
    transition: left .3s ease, opacity .3s ease;

    font-size: 1.4rem;

}
/* #navbar .sub-menu li:nth-of-type(2) {
    border-top: 1px solid #eee;
} */

#navbar .menu-item-48 .sub-menu {
    grid-template-columns: 30rem 25rem !important;
}


#navbar .sub-menu a {
    line-height: 1.2;
}
#navbar .sub-menu li:last-of-type {
    padding: 1rem 2rem;
    grid-column: 2 / 2;
    grid-row: 1/ 1000;
    border-top: 1px solid #eee;

    background-color: transparent;
}
#navbar .sub-menu li:last-of-type a {
    align-items: flex-start;
    padding: 0;
    flex-direction: column;
    gap: 1rem;
}
#navbar .sub-menu img {
    max-height: 500rem !important;
    width: 100%;
}





#navbar .sub-menu li {
    border-bottom: 1px solid #eee;
}
#navbar .sub-menu li a {
    padding: 1rem 0;
}
#navbar .sub-menu li:first-of-type {
    border-top: 1px solid #eee
}
#navbar ul li:hover > a {
    color: var(--accent-tertiary);
}
#navbar ul li:hover {
    background-color: #eee;
}
#navbar ul li:hover .sub-menu {
    opacity: 1;
    left: 0;
}
#navbar ul .menu-item-has-children a::after {
    content: " \25BE";
}
#navbar ul .menu-item-has-children .sub-menu a::after {
    content: "";
}



#navbar ul .current_page_item a,
#navbar ul .current_page_parent a {
    color: var(--accent-tertiary);
}





@media screen and (max-width:1200px) {
    #navbar ul {
        display: none;
    }
    .navbar__icons {
        display: none;
    }
    .hero__values {
        display: none;
    }
    .hero__intro {
        width: 100%;
    }
    #latebar {
        display: none;
    }
    #navbar {
        position: fixed;
        top: 0;
    }
    .page__content__title {
        margin-top: 22rem !important;
    }
    #hero {
        margin-top: 30rem;
    }
}









/* ------------------------------------------------------------ */
/* ------------------ News Articles */
/* ------------------------------------------------------------ */
.news__articles {
    width: 100%;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width:1200px) {
    .news__articles {
        grid-template-columns: 1fr;
    }
}
.news__articles a {
    text-decoration: none;
    color: var(--accent-tertiary);
}

.news__articles img {
    width: 100%;
    height: 100%;
}
.news__articles .news__article {
    background-color: var(--text-secondary);
    box-shadow: var(--shadow);
    position: relative;
}
.news__articles .news__article .article__category {
    position: absolute;
    top: 3.2rem;
    left: -3.2rem;;
    background-color: var(--accent-quaternary);
    color: var(--text-secondary);
    padding: .5rem 3rem;
    transform: rotate(-90deg);
}
.news__articles .news__article .article__title {
    padding: 0 2rem;
    font-weight: 700;
    color: var(--accent-tertiary);
    font-size: 1.8rem;
}
.news__articles .news__article .article__wrap {
    padding: 0 2rem;
}
.article__date {
    font-size: 1.2rem;
}






/* ------------------------------------------------------------ */
/* ------------------ Page content */
/* ------------------------------------------------------------ */
.page__content__content__wp table {
    border-collapse: separate;
    padding: 1rem 0;
    box-sizing: border-box;
}
.page__content__content__wp table thead {
    text-align: left;
    border-bottom: 2px solid #2e2e2d;
}
.page__content__content__wp table thead th {
    background-color: var(--accent-primary);
    color: var(--text-secondary);
    padding: 1rem 0;
    border: none !important;
}
.page__content__content__wp table tr th {
    padding: 1rem;
}
.page__content__content__wp table td {
    padding: 1rem;
    border: none !important;
}
.page__content__content__wp table tr:nth-child(odd) {
    background-color: #efefef;
}
.page__content__content__wp table tr:nth-child(even) {
    background-color: #f7f7f7;
}







.page__content__title {
    margin-top: 8rem;
    text-shadow: var(--shadow);
}
.page__content__title span {
    font-size: 1.6rem;
}
.page__content__thumbnail {
    width: 100%;
    position: relative;
}
.page__content__thumbnail figure {
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 5rem);
    height: 50rem;
    box-shadow: var(--shadow);
}
.page__content__thumbnail figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page__content__thumbnail__box {
    position: absolute;
    background-color: var(--accent-tertiary);
    width: calc(100% + 5rem);
    top: 7rem;
    left: -5rem;
    height: 50rem;

    padding-left: 5rem;
    padding-right: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-end;
    font-size: 1.4rem;
}
.page__content__thumbnail__box__inner {
    width: 100%;
    height: 7rem;
    display: flex;
    align-items: center;
}
.page__content__thumbnail__box__inner p {
    margin-bottom: 0;
    font-weight: 500;
}





.page__content__content {
    margin-top: 61rem;
}
.page__content__content__top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 500;
}
.page__content__content__top a {
    color: var(--text-primary);
}
.page__content__content__wp img {
    box-shadow: var(--shadow);
}
.page__content__content__wp {
    margin-top: 8rem;
}
.page__content__content__wp ul,
.page__content__content__wp ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.page__content__content__wp h2 {
    margin-top: 10rem;
}
.page__content__content__wp h2:first-of-type {
    margin-top: 0;
}
.page__content__content__wp h3 {
    margin-top: 2rem;
}





.wp-block-cover__inner-container h2 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.wp-block-cover__inner-container h2:last-of-type {
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
}
.wp-block-cover .has-background-dim:not([class*=-background-color]), .wp-block-cover-image .has-background-dim:not([class*=-background-color]), .wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: transparent;
    background-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,.3), rgba(0,0,0,.1), rgba(0,0,0,.1));
}
.wp-block-cover .wp-block-cover__background, .wp-block-cover .wp-block-cover__gradient-background, .wp-block-cover-image .wp-block-cover__background, .wp-block-cover-image .wp-block-cover__gradient-background, .wp-block-cover-image.has-background-dim:not(.has-background-gradient):before, .wp-block-cover.has-background-dim:not(.has-background-gradient):before {
    opacity: 1;
}
.wp-block-cover, .wp-block-cover-image {
    padding: 5rem;
    align-items: flex-end;
}

















.flexPart {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.flexPart h2 {
    line-height: 1;
    margin-bottom: 0;
}






.spacer {
    width: 100%;
    height: 10rem;
}




















/* ------------------------------------------------------------ */
/* ------------------ ANIMATIONS */
/* ------------------------------------------------------------ */
@keyframes cursorAnim {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(.9);
    }
}
@keyframes cursorAnim2 {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(.7);
    }
}
@keyframes cursorAnim3 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
@keyframes loaderSlideUp {
    0% {
        top: 0;
    }
    20% {
        top: 0;
    }
    40% {
        top: 0;
    }
    60% {
        top: 0;
    }
    80% {
        opacity: 1;
        top: 0;
    }
    99% {
        opacity: 0.3;
        top: -100vh;
    }
    100% {
        top: -100vh;
    }
}








@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes slideInFromBottom {
    0% {
        transform: translateY(1000%);
    }
    100% {
        transform: translateY(0);
    }
}















@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes valuesSlide {
    0% {
        width: 0px;
    }
    100% {
        padding: 2rem;
        width: 35%;
    }
}









@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0); transform: translateY(0);}
    40% {-moz-transform: translateY(-30px); transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px); transform: translateY(-15px);}
}
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0); transform: translateY(0);}
    40% {-webkit-transform: translateY(-30px); transform: translateY(-30px);}
    60% {-webkit-transform: translateY(-15px); transform: translateY(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0); -ms-transform: translateY(0); -webkit-transform: translateY(0); transform: translateY(0);}
    40% {-moz-transform: translateY(-30px); -ms-transform: translateY(-30px); -webkit-transform: translateY(-30px); transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px); -ms-transform: translateY(-15px); -webkit-transform: translateY(-15px); transform: translateY(-15px);}
}










/* ------------------------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------------------------ */
#footer {
    color: var(--text-secondary);
    position: relative;
    background-color: var(--accent-tertiary);
}
#footer p {
    margin-bottom: 0;
}
#footer .footer-top {
    width: 100%;
    height: 3.5rem;
    background-color: var(--accent-tertiary);
}
#bg-faded {
    position: absolute;
    height: 200%;
    top: 2rem;
    left: 0;
    transform: rotate(-5deg);
    z-index: 0;
}
#footer a {
    text-decoration: none;
    color: var(--text-secondary);
}
#footer .flogo {
    width: 6rem;
    margin-bottom: 5rem;
}

.school-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.school-trust-group {
    display: flex;
    gap: 1rem;
}
.school-trust-group-mod {
    grid-column: 1 / span 2;
}
.school-trust-group h3 {
    color: var(--text-secondary);
    font-size: 1.2rem;
}
.school-trust-group div {
    display: flex;
    flex-direction: column;
}
.footer-legal {
    background-color: var(--accent-tertiary);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    min-height: 40rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.footer-left {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 2rem 10rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.footer-map {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.footer-map iframe {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
}
.footer-legal .links {
    display: flex;
    margin-bottom: 2rem;
}
.footer-legal .links a {
    padding: 0 1rem;
    border-left: 1px solid var(--text-secondary);
}
.footer-legal .socials {
    display: flex;
    gap: 2rem;
    font-size: 3.2rem;
    margin-bottom: 1rem;
}
.footer-legal .socials a {
    height: min-content;
}
.footer-legal .links a:first-of-type {
    padding-left: 0;
    border-left: 0;
}
.footer-legal-bottom {
    background-color: var(--accent-tertiary);
}
.footer-legal-bottom .container {
    padding: 1rem 0;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
}
#footer .footer-legal-bottom {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    padding: 1rem 10rem;
}
#footer .footer-legal-bottom a {
    color: var(--accent-secondary);
}






@media screen and (max-width:1024px) {
    .footer-legal {
        grid-template-columns: 1fr !important;
    }
    .footer-map {
        display: none;
    }
    .footer-left {
        padding: 0 2rem 2rem 2rem !important;
    }
    #footer .footer-legal-bottom {
        padding: 1rem 2rem;
    }
}

@media screen and (max-width:768px) {
    .footer-left {
        gap: 2rem;
    }
    .school-trust {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .school-trust-group-mod {
        grid-column: 1;
    }
    .school-trust-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .school-trust-group img {
        margin-bottom: 0 !important;
    }
    .footer-legal .socials {
        justify-content: center;
    }
    .footer-legal .links {
        justify-content: center;
    }
    .footer-legal .legal {
        text-align: center;
    }
    #footer .footer-legal-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
























.has-background {
    margin: 2rem 0;
    padding: 5rem;

    display: flex;
    flex-direction: column;
    gap: 2rem;

    box-shadow: var(--shadow);
}
.has-background .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}
.has-background .wp-block-columns .wp-block-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.has-background h2,
.has-background h3 {
    margin-top: 2rem !important;
}
.has-background * {
    margin-bottom: 0 !important;
}
.has-background h3:first-of-type,
.has-background h2:first-of-type {
    margin-top: 0 !important;
}

.has-white-background-color {
    background-color: var(--text-secondary);
}
.has-black-background-color {
    background-color: var(--text-primary);
}
.has-grey-background-color {
    background-color: #eeeeee;
}

.has-accent-1st-background-color {
    background-color: var(--accent-primary);
}
.has-accent-2nd-background-color {
    background-color: var(--accent-secondary);
}

.has-white-color {
    color: var(--text-secondary);
}
.has-black-color {
    color: var(--text-primary);
}
.has-grey-color {
    color: #eeeeee;
}
.has-accent-1st-color {
    color: var(--accent-primary);
}
.has-accent-2nd-color {
    color: var(--accent-secondary);
}









.wp-block-quote {
    background-color: var(--accent-primary);
    color: var(--text-secondary);
    padding: 2rem;
    position: relative;
}
.wp-block-quote::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--accent-primary);
    position: absolute;
    top: 16px;
    left: -12px;
}
.wp-block-quote p {
    display: block;
    font-style: italic;
    margin-bottom: 1rem !important;
}
.wp-block-quote p::before {
    content: "“";
    color: var(--text-secondary);
    line-height: 0;
    display: inline-block;
    margin: 0 6px 0 0;
}
.wp-block-quote p::after {
    content: " ”";
    color: var(--text-secondary);
    line-height: 0;
    display: inline-block;
    margin: 0 0 0 4px;
}
.wp-block-quote cite {
    font-weight: 400;
}
.wp-block-quote cite::before {
    content: "~ ";
    color: var(--text-secondary);
}




.wp-block-quote p:last-of-type {
    font-size: 1.4rem;
    margin-bottom: 0 !important;
}
.wp-block-quote p:last-of-type::before,
.wp-block-quote p:last-of-type::after {
    content: '';
}













.schoolsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 1087px) {
    .schoolsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .schoolsGrid {
        grid-template-columns: 1fr;
    }
}


.wp-container-core-group-is-layout-1 {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 1087px) {
    .wp-container-core-group-is-layout-1 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .wp-container-core-group-is-layout-1 {
        grid-template-columns: 1fr !important;
    }
}




.schoolsGrid__school {
    width: 100%;
    background-color: var(--text-secondary);
    padding: 2rem;
}


.schoolsGrid__school img {
    box-shadow: none;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
}













.btn {
    padding: 1rem 2rem;
    background-color: var(--accent-tertiary);
    border: 0;
    transition: transform .3s ease;
}
.btn:hover {
    transform: scale(.98);
}
.btn a {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-secondary);
}



.wp-block-button__link {
    border-radius: 0;
    background-color: var(--accent-tertiary);
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}


















.wp-block-details {
    padding: .5rem 1rem;
    background-color: #fff;
    margin-bottom: 1rem;
}
.wp-block-details p {
    padding: 0 1rem;
}
.wp-block-details p:first-of-type {
    margin-top: 1rem;
}



















.body-no-scroll {
    overflow: hidden;
}
.js-search-trigger,
.search-overlay__close {
    cursor: pointer;
}
.search-overlay {
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .65);
    color: #fff;

    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(1.09);
            transform: scale(1.09);
    transition: opacity .3s, visibility .3s, -webkit-transform .3s;
    transition: opacity .3s, transform .3s, visibility .3s;
    transition: opacity .3s, transform .3s, visibility .3s, -webkit-transform .3s;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
  }
.search-overlay h2 {
    background-color: var(--accent-tertiary);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 1rem;
	font-size: 2.4rem;
    font-weight: 400;

}
.search-overlay__top {
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.search-overlay--active {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
}
.search__center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    font-size: 2.4rem;
}
.search__center input {
    border: 0;
    padding: .5rem;
    width: 50%;
    font-size: 2.4rem;
    width: 100%;

    background-color: #F9F7F6;
    transition: background-color .3s ease;
}
.search__center input:focus {
    outline: none;
    background-color: #eeeeee;
}
.search__center form {
    padding: 0 1rem 1rem 1rem;
    row-gap: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.search-overlay button {
    color: var(--text-secondary);
    cursor: pointer;
}




.search__results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.search__results .result {
    background-color: var(--text-secondary);
    padding: 2rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.search__results .result button {
    background-color: var(--accent-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
}
.search__results .result .resultDescription {
    height: 9rem;
}
.search__results .result a {
    cursor: default;
}
















.landing ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    gap: 2rem;
    padding: 0;
}
.landing li {
    padding: 2rem 1rem;
    background-color: var(--accent-tertiary);
    text-align: center;
    transition: transform .3s ease;
}
.landing li:hover {
    transform: scale(.98);
}
.landing li a {
    color: var(--text-secondary);
    text-decoration: none;
}