/*
Theme Name: St Leonard's Catholic School Theme
Description: A Wordpress theme made for St Leonard's Catholic School
Version:: 1.0
Author: Mr S Errington
*/

/* ------------------------------------------------------------------------------------------------ */
/* Root Styles */
/* ------------------------------------------------------------------------------------------------ */
@import url('//fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Vollkorn:wght@400;500;700&display=swap');
:root {
    --bg-primary:#393939;
    --bg-secondary: #333;

    --accent-primary: #054233;
    --accent-secondary: #6392ca;
    --accent-third: #ea2f48;

    --text-primary: #2e2e2d;
    --text-secondary: #fff;

    --text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 10px;
    border: 3px solid var(--bg-secondary);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
@media screen and (max-width:1366px) {
    html {
        font-size: 50%;
    }
}
body {
    color: var(--text-primary);
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    overflow-y: scroll;
    overflow-x: hidden;
    min-width: 360px;
}
.container {
    width: 130rem;
    max-width: 90%;
    margin: 0 auto;
}
.--wide {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.--wide > * {
    width: 116rem;
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
}
.--wide img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
}


h1 {
    font-size: 7.2rem;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}
.slide-fix {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
    overflow-x: hidden;
}


/* ------------------------------------------------------------------------------------------------ */
/* Nav-bar Styles */
/* ------------------------------------------------------------------------------------------------ */
#late-bar {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-secondary);
    transition: height .3s ease;
    box-shadow: var(--text-shadow);
    overflow: hidden;

    display: flex;
    justify-content: space-between;
    padding: 0 10rem;
}
.late-toggle {
    height: 4rem !important;
    overflow: visible !important;
}
#late-bar .menu-main-menu-container {
    height: 100%;
}
#late-bar ul {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}
#late-bar li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#late-bar a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color .3s ease;
    display: block;
}
#late-bar a:hover {
    color: var(--accent-secondary);
}
#late-bar .current-menu-item a {
    color: var(--accent-secondary);
}
#late-bar .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 4rem;
    left: 500rem;
    width: max-content;
    height: max-content;
    font-size: 1.4rem;

    opacity: 0;
    background-color: var(--bg-secondary);
    transition: left .3s ease, opacity .3s ease;
    box-shadow: var(--text-shadow);
}
#late-bar li:hover .sub-menu {
    opacity: 1;
    left: -1rem;
    left: 0;
}
#late-bar ul .menu-item-has-children a::after {
    content: " \25BE";
}
#late-bar ul .menu-item-has-children .sub-menu a::after {
    content: "";
}



#late-bar .sub-menu li a:hover {
    color: var(--text-secondary);
}
#late-bar .sub-menu li {
    padding: 0;
    transition: background-color .3s ease;
    width: 100%;
    display: block;

    justify-content: flex-start;
}
#late-bar .sub-menu li:hover {
    background-color: var(--accent-primary);
}
#late-bar .sub-menu li a {
    display: block;
    padding: .5rem 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0) !important;
    color: var(--text-secondary);
}








#nav-bar {
    position: absolute;
    z-index: 5;
    width: 100%;
    padding: 1rem 10rem;
    
    height: 18rem;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.nav-logo {
    text-decoration: none;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    height: 80%;
    transition: color .3s ease;

    animation: fadeIn .5s ease-in;
}
.nav-logo:hover {
    color: #bbb;
}
.nav-logo img {
    height: 65%;
}
.nav-text h1 {
    font-size: 3.6rem;
    line-height: 1;
    text-shadow: var(--text-shadow);
}
.nav-text h2 {
    font-size: 1.8rem;
    line-height: 1.8;
    text-shadow: var(--text-shadow);
}
#nav-bar nav {
    border-top: 1px solid var(--text-secondary);
    display: flex;
    gap: 5rem;
    align-items: flex-end;
}
#nav-bar nav ul {
    list-style-type: none;
    display: flex;
    gap: 3rem;
}
#nav-bar nav ul li {
    position: relative;
    padding: 1rem 0;
    cursor: pointer;
}
#nav-bar nav ul li a {
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color .3s ease, border .3s ease;
    position: relative;
}
#nav-bar nav ul li a::before {
    content : "";
    position: absolute;
    bottom  : -1rem;
    height  : 1px;
    width   : 30px;  /* or 100px */
    left: 50%;
    margin-left: -15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    transition: border .3s ease;
}
#nav-bar nav ul .menu-item-has-children a::after {
    content: " \25BE";
}
#nav-bar nav ul .menu-item-has-children .sub-menu a::after {
    content: "";
}
#nav-bar nav ul li:hover a,
#nav-bar nav ul .current_page_item a,
#nav-bar nav ul .current-menu-ancestor a {
    color: var(--accent-secondary);
    text-shadow: var(--text-shadow);
}
#nav-bar nav ul .current_page_item a::before,
#nav-bar nav ul li:hover a::before,
#nav-bar nav ul .current-menu-ancestor a::before {
    border-bottom: 2px solid var(--accent-secondary);
  }
#nav-bar nav ul li .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 5rem;
    left: 200rem;
    width: max-content;

    background-color: var(--bg-secondary);
    opacity: 0;
    transition: left .3s ease, opacity .3s ease;
}
#nav-bar nav ul li:hover .sub-menu {
    opacity: 1;
    left: -1rem;
}
#nav-bar nav ul li .sub-menu li a::before {
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}
#nav-bar nav ul li .sub-menu li a:hover {
    color: var(--text-secondary);
}
#nav-bar nav ul li .sub-menu li {
    padding: 0;
    transition: background-color .3s ease;
}
#nav-bar nav ul li .sub-menu li:hover,
#nav-bar nav ul li .sub-menu .current_page_item {
    background-color: var(--accent-primary);
}

#nav-bar nav ul li .sub-menu li a {
    display: block;
    padding: .5rem 1rem;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0) !important;
    color: var(--text-secondary);
}
.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    animation: fadeIn .5s ease-in;
}
.nav-right h3 {
    font-size: 2.4rem;
    text-align: right;
    color: var(--text-secondary);
}
.nav-right h3 span {
    font-weight: 700;
}
.nav-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}
.nav-icons i {
    color: var(--text-secondary);
    font-size: 1.6rem;
}





@media screen and (max-width:1024px) {
    #nav-bar {
        display: none;
    }
}







#mob-bar {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.mob-top {
    height: 5rem;
    width: 100%;
    background-color: var(--accent-secondary);
    padding: 0 10rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.mob-main {
    height: 10rem;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 2rem 10rem;
}
@media screen and (max-width:1024px) {
    .mob-top {
        padding: 0 2rem;
    }
    .mob-main {
        padding: 2rem 2rem;
    }
}
.mob-main .nav-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
.mob-main .nav-logo img {
    height: 100%;
}
.mob-main h1 {
    font-size: 2.4rem;
}
.mob-main h2 {
    font-size: 1.6rem;
}
.mob-main h1,
.mob-main h2 {
    color: var(--text-secondary) !important;
}
.mobmenur-container {
    margin-right: 0 !important;
    right: 2rem !important;
    top: 8rem !important;
}
.mobmenu {
    width: min-content !important;
}
.mobmenu .mob-menu-icon {
    color: var(--text-secondary) !important;
}
.mobmenu .mob-menu-icon::before {
    margin-right: 0 !important;
    margin-left: 0 !important;
}


@media screen and (max-width:1024px) {
    #mob-bar {
        display: block;
    }
}
@media screen and (max-width:768px) {
    .mob-main .nav-text {
        display: none;
    }
}









.mobToggle {
    top: 2rem !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;
}

















/* ------------------------------------------------------------------------------------------------ */
/* Slideshow Styles */
/* ------------------------------------------------------------------------------------------------ */
#backdrop {
    position: absolute;
    min-height: 650px;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-secondary);
}
#slideshow {
    height: 100vh;
    min-height: 650px;
    width: 100%;
    overflow: hidden !important;
    position: relative;

    background-color: var(--bg-secondary);
    animation: fadeIn .5s ease-in;
}
.slider-overlay {
    position: absolute;
    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,.9));
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}
.logo-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;

    height: 100%;
    width: 100%;
}
.logo-overlay img {
    margin-bottom: -50rem;
    margin-left: -15rem;
    height: 90%;
    aspect-ratio: 1;
}
.slider-one, .slider-two, .slider-three, .slider-four {
    width: 100%;
    height: 100vh;

    position: absolute;
    top: 0;
    left: 0;
    
}
.slider-one-image, .slider-two-image, .slider-three-image, .slider-four-image {
    width: 107%;
    height: 107%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: .3;
    animation: zoom-out 7.5s linear infinite;
}

.slider-one {
    animation: slider-one 30s linear infinite;
}
.slider-two {
    animation: slider-two 30s linear infinite;
}
.slider-three {
    animation: slider-three 30s linear infinite;
}
.slider-four {
    animation: slider-four 30s linear infinite;
}


.slider-text {
    z-index: 3;
    position: absolute;
    bottom: 10rem;
    left: 10rem;
    color: #fff;
    width: 60rem;

    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-shadow: var(--text-shadow);

    animation: fadeIn .5s ease-in;
}
.slider-text h1 {
    font-size: 4.8rem;
    line-height: 1.2;
    font-weight: 400;
}
.slider-text h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 400;
}
.slider-text p {
    font-size: 18px;
    line-height: 28px;
    text-transform: capitalize;
}
@media screen and (max-width:1024px) {
    .slider-text {
        left: 2rem;
        padding-right: 2rem;
        max-width: 100%;
    }
}



/* ------------------------------------------------------------------------------------------------ */
/* Front block Styles */
/* ------------------------------------------------------------------------------------------------ */
#front-blocks {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.block {
    height: 50rem;
    position: relative;
    overflow: hidden;
}
.block figure {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
}
.block:hover figure {
    transform: scale(1.4) rotate(5deg);
}
.block img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.block-logo {
    width: 100%;
    transform: translateY(20%);
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
}
.block-logo img {
    width: 80%;
}
.block-overlay {
    top: 0;
    left: 0;
    z-index: 3;
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(0,0,0,.9));

    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.block-overlay h2 {
    color: var(--text-secondary);
    text-align: center;
    padding: 5rem 0;
    font-size: 3.6rem;
    font-weight: 400;
    text-shadow: var(--text-shadow);
}






@media screen and (max-width:1024px) {
    #front-blocks {
        grid-template-columns: 1fr;
    }
    .block {
        height: 35rem;
    }
    .block-overlay {
        background-image: linear-gradient(to bottom, rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(0,0,0,.6));
    }
}





/* ------------------------------------------------------------------------------------------------ */
/* Welcome Styles */
/* ------------------------------------------------------------------------------------------------ */
#welcome {
    background-color: var(--accent-primary);
    position: relative;
    overflow: hidden;
}
#welcome .container:first-of-type {
    padding: 10rem 0;

    display: grid;
    grid-template-columns: 10rem 1fr 1fr;
    gap: 5rem;

    position: relative;
    z-index: 3;
}
#welcome h1 {
    color: var(--accent-secondary);
}
.sideh1 {
    display: inline-block;
    line-height: 1;

    writing-mode: vertical-rl;
    text-orientation: mixed;
    
    transform: scale(-1, -1);
    text-align: right;
}
#welcome .welcome-info {
    color: var(--text-secondary);

    display: flex;
    flex-direction: column;
    gap: 2rem;
}
#welcome .welcome-info h3 {
    font-size: 2.4rem;
    line-height: 1.6;
}
.welcome-image {
    width: 100%;
    height: auto;
    background-image: linear-gradient(to bottom, rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(5,66,51,.5), rgba(0,0,0,.9));
    z-index: 3;
    position: relative;
}
.welcome-image img {
    object-fit: contain;
    width: 95%;
    position: absolute;
    bottom: 0;
    right: 0;
    
}
#welcome .welcome-bg {
    position: absolute;
    top: 0;
    right: 10rem;
    z-index: 2;

    width: 35%;
    aspect-ratio: 1;
}
#welcome .welcome-text {
    position: absolute;
    bottom: 10rem;
    left: 5rem;
    color: var(--text-secondary);
    z-index: 3;
}
#welcome .welcome-text h3 {
    font-size: 2.4rem;
    line-height: 1.2;
}
#welcome .welcome-text p {
    line-height: 1.2;
    font-size: 1.6rem;
}

@media screen and (max-width:1024px) {
    #welcome .container:first-of-type {
        grid-template-columns: 10rem 1fr;
    }
    #welcome .welcome-image {
        display: none;
    }
}
@media screen and (max-width:768px) {
    #welcome .container:first-of-type {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    #welcome .welcome-image {
        display: none;
    }
    .sideh1 {
        display: block;
    
        writing-mode: horizontal-tb;
        text-orientation: inherit;
        
        transform: scale(1, 1);
        text-align:left;
    }
}





/* ------------------------------------------------------------------------------------------------ */
/* Values Styles */
/* ------------------------------------------------------------------------------------------------ */
#values {
    min-height: 50rem;
    width: 100%;
    background-color: var(--accent-primary);
}
#values .container {
    padding: 10rem 0;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}
#values h1 {
    color: var(--text-secondary);
}
#values p {
    color: var(--text-secondary);
}






#facebookFeed {
    min-height: 50rem;
    width: 100%;
    background-color: var(--accent-secondary);
}
#facebookFeed .container {
    padding: 10rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
#facebookFeed h1 {
    color: var(--text-secondary);
}


/* ------------------------------------------------------------------------------------------------ */
/* Diary Dates Styles */
/* ------------------------------------------------------------------------------------------------ */
#diary-dates {
    width: 100%;
    position: relative;

    background-image: url(https://birtleystjosephsjuniors.org/wp-content/themes/bwcet-stl/img/let-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#diary-dates .container:first-of-type {
    padding: 10rem 0;

    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 5rem;

    position: relative;
    z-index: 3;
}
#diary-dates h1 {
    color: var(--accent-secondary);
}
#diary-dates h3 {
    color: var(--text-secondary);
    font-size: 2.4rem;
}
.diary-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.diary-right p {
    color: var(--text-secondary);
}
.diary-letters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}




.letter {
    height: 5rem;
    width: 100%;
    background-color: var(--bg-primary);
    display: grid;
    grid-template-columns: 15rem 1fr min-content;
    transition: all .3s ease;
    box-shadow: var(--text-shadow);
    text-decoration: none;
}
.letter:hover {
    transform: scale(.99);
    box-shadow: none;
}
.letter-date {
    font-size: 1.2rem;
    line-height: 1;
    width: 100%;
    height: 100%;
    background-color: var(--accent-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .2rem;
}
.letter-title {
    padding: 0 2rem;
    display: flex;
    align-items: center;
}
.pdfIcon {
    height: 5rem;
    width: 5rem;
    background-color: var(--accent-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}


@media screen and (max-width:768px) {
    #diary-dates .container:first-of-type {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sideh1 {
        display: block;
    
        writing-mode: horizontal-tb;
        text-orientation: inherit;
        
        transform: scale(1, 1);
        text-align:left;
    }
    .letter {
        grid-template-columns: 1fr min-content;
    }
    .letter-date {
        display: none;
    }
}





/* ------------------------------------------------------------------------------------------------ */
/* Letter Styles */
/* ------------------------------------------------------------------------------------------------ */
#let-cal {
    width: 100%;
    min-height: 50rem;
    position: relative;
}
#let-cal-bg {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url(img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#let-cal-bg2 {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    background-image: linear-gradient(rgba(51, 51, 51, 0.97), rgba(51, 51, 51, 0.97)), url(https://birtleystjosephsjuniors.org/wp-content/themes/bwcet-stl/img/background2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#let-cal .container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
#let-cal .calendar {
    padding: 10rem 0 10rem 10rem;
    color: var(--text-secondary);
}
#let-cal .letters {
    padding: 10rem 10rem 10rem 0;
}
#let-cal .letters ul {
    margin-top: 2.4rem;
    padding-left: 2rem;
    line-height: 1;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#let-cal .letters ul span {
    font-size: 1.2rem;
}


.ics-calendar {
    margin: 0 !important;
    margin-top: 2rem !important;
}
.ics-calendar h4 {
    font-weight: 400;
}
.homeCalendar .recurrence {
    display: none;
}
.ics-calendar-date-wrapper {
    display: grid;
    grid-template-columns: 14rem 1fr;
}
.ics-calendar-date-wrapper h4 {
    white-space: nowrap;
}
.ics-calendar-list-wrapper .ics-calendar-date,
.ics-calendar dl.events {
    padding: 0;
    margin: 0;
}
.ics-calendar .event .descloc,
.ics-calendar .event .descloc div,
.all-day-indicator {
    display: none;
}
.ics-calendar-title,
.ics-calendar-label,
.time-inline {
    display: none !important;
}
.ics-calendar dl.events {
    margin: 0 !important;
    color: var(--text-secondary) !important;
}









/* ------------------------------------------------------------------------------------------------ */
/* News Styles */
/* ------------------------------------------------------------------------------------------------ */
.news__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.news__top h1 {
    color: var(--text-secondary);
}
.news__top h2 {
    color: var(--text-secondary);
    font-size: 2.4rem;
    font-weight: 400;
}
.news_bg {
    background-color: var(--accent-primary);
    padding: 10rem 0;
    position: relative;
    z-index: 5;
}
.newsHead {
    max-width: 100%;
    width: 100% !important;
}
.news__articles {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.article__thumbnail {
    width: 100%;
    height: 300px;
}
.article__thumbnail img {
    width: 100%;
	height: 100%;
	object-fit: cover;
}
@media screen and (max-width:1024px) {
    .news__articles {
        grid-template-columns: 1fr;
    }
}


.news__articles .news__article {
    background-color: var(--text-secondary);
    color: var(--text-primary);
    transition: all .3s ease;

    box-shadow: var(--text-shadow);
}
.news__articles .news__article .article_wrap h2 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.news__articles .news__article .article_wrap {
    padding: 2rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.news__articles .news__article:hover {
    transform: scale(.98);
    box-shadow: none;
}

.article__preview {
    width: 100%;
    height: 80px;
}
.article__preview p {
    font-size: 1.4rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.article__date {
    font-size: 1.2rem;
    color: var(--text-primary);
}


.news__articles__archive {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}
.news__articles__archive .news__article {
    background-color: #eee;
}
.news__articles__archive .news__article .article_wrap {
    padding: 2rem !important;
}
.article__thumbnail__archive {
    width: 100%;
    height: 200px;
}
.article__thumbnail__archive img {
    width: 100%;
	height: 100%;
	object-fit: cover;
}
.article__date__archive {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}
.news__articles__archive h2 {
    margin-top: 0 !important;
}
@media screen and (max-width:1024px) {
    .news__articles__archive {
        grid-template-columns: 1fr;
    }
}









/* ------------------------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------------------------ */
#footer {
    color: var(--text-secondary);
    position: relative;
    background-color: var(--bg-secondary);
}
#footer .footer-top {
    width: 100%;
    height: 3.5rem;
    background-color: var(--bg-secondary);
}
#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(--bg-secondary);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    min-height: 50rem;

    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 .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;
    }
}



/* ------------------------------------------------------------------------------------------------ */
/* Page Styles */
/* ------------------------------------------------------------------------------------------------ */
.page__content table {
    border-collapse: separate;
    padding: 1rem 0;
    box-sizing: border-box;
}
.page__content table thead {
    text-align: left;
    border-bottom: 2px solid #2e2e2d;
}
.page__content table thead th {
    background-color: var(--accent-primary);
    color: var(--text-secondary);
    padding: 1rem 0;
    border: none !important;
}
.page__content table tr th {
    padding: 1rem;
}
.page__content table td {
    padding: 1rem;
    border: none !important;
}
.page__content table tr:nth-child(odd) {
    background-color: #efefef;
}
.page__content table tr:nth-child(even) {
    background-color: #f7f7f7;
}







.landing ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.landing ul li {
    height: 10rem;
    background-color: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color .3s ease;
}
.landing ul li:hover {
    background-color: var(--accent-secondary);
}
.landing ul a {
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 3rem;
}
@media screen and (max-width:1024px) {
    .landing ul {
        grid-template-columns: 1fr;
    }
}





.page__content {
    background-color: var(--bg-secondary);
}
.page__content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 400;
}
.page__content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    font-weight: 400;
}
.page__content__thumbnail {
    height: 60rem;
    width: 100%;
    position: fixed;
    top: 0;
    overflow: hidden;
}
@media screen and (max-width:1024px) {
    .page__content__thumbnail {
        top: 15rem;
    }
}
.page__content__thumbnail__fix {
    height: 60rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.page__thumbnail {
    width: 100%;
    height: 100%;
}
.page__thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.thumbnail__info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thumbnail__info img {
    width: 8rem;
    margin-bottom: 2rem;
}
.thumbnail__info h1 {
    color: var(--text-secondary);
    font-size: 3.6rem;
    text-shadow: 0px 0px 9px #000;
    line-height: 1.2;
}
.thumbnail__info .divider {
    border: 2px solid var(--accent-secondary);
    width: 5rem;
    display: inline-block;
    margin: 0 0 2rem 0;
}
.thumbnail__info p {
    color: var(--text-secondary);
    text-shadow: 0px 0px 9px #000;
}
.thumbnail__overlay {
    position: absolute;
    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,.9));
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}




.page__sidebar {
    padding: 5rem 0;
    color: var(--text-secondary);
    height: 100%;
    position: relative;
}
.page__sidebar .sideHead {
    color: var(--text-secondary);
}
.page__sidebar .sideArrow {
    height: 1.6rem;
}
.page__sidebar ul {
    list-style: none;
}
.page__sidebar ul li {
    padding: .5rem 0;
    border-top: 1px solid #043227;
}
.page__sidebar ul li:last-of-type {
    border-bottom: 1px solid #043227;
}
.page__sidebar a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .3s ease;
    font-size: 1.4rem;

    display: flex;
    align-items: center;
    gap: 1rem;
}
.page__sidebar a:hover {
    color: var(--text-secondary);
}
.page__sidebar h3 {
    font-size: 3.6rem;
}
.page__sidebar .current_page_item a {
    font-weight: 700;
}
.sideWrap {
    position: sticky;
    top: 2rem;
}






.page__content__content {
    width: 100%;
    min-height: 50rem;
    background-color: var(--accent-primary);
    position: relative;
    z-index: 3;
}
.page__content__content__bg {
    position: absolute;
    height: 50rem;
    width: 50rem;
    background-image: url('https://birtleystjosephsjuniors.org/wp-content/themes/bwcet-stl/img/logofade3.png');
    background-size: contain;
    top: 0;
    right: 0;
    transform: rotate(20deg);
}
.page__content__content .container {
    min-height: 50rem;
    display: grid;
    grid-template-columns: 30rem 1fr;
    padding-bottom: 5rem;
    gap: 2rem;
}
.page__content__content .containerWide {
    grid-template-columns: 1fr !important;
}

.page__pull {
    width: 100%;
    height: 100%;
    background-color: var(--text-secondary);
    box-shadow: var(--text-shadow);


    height: calc(100% + 10rem);

    position: relative;
    margin-top: -10rem;
    z-index: 5;

    padding: 3rem 5rem;
}
.page__pull ul {
    padding-left: 2rem;
    list-style-image: url('https://birtleystjosephsjuniors.org/wp-content/themes/bwcet-stl/img/bpoint.png');
    margin-bottom: 1.5rem;
}
.page__pull ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.page__pull h2 {
    color: var(--accent-primary);
    font-size: 2.4rem;
    margin-top: 2rem;

    border-left: 5px solid var(--accent-secondary);
    padding-left: 1rem;
}





.tdInfo {
    padding-top: 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background-color: #eee;
    position: relative;
    z-index: -1;

    margin-bottom: 2rem;
    margin-left: -1.4rem;
}
.cov2 {
    position: absolute;
    height: 1.5rem;
    width: 1.4rem;
    top: 0;
    left: 0;
    background-color: var(--text-secondary);
}
.yelBar {
    position: absolute;
    height: 100%;
    width: 1rem;
    top: 0;
    right: 0;
    background-color: var(--accent-secondary);
}
.page__pull .title {
    background-color: var(--accent-secondary);
    display: inline-block;
    color: var(--text-secondary);
    position: relative;

    box-shadow: var(--text-shadow);
    z-index: 3;
}
.page__pull .title p {
    font-weight: 400;
    font-size: 2.4rem;
    padding: 1rem 8rem 1rem 2rem;
    margin: 0 !important;
}
.page__pull .title::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    right: 0;
    top: 0;
    background-color: #eee;
    transform: translate(50%, 0) rotate(45deg);
}
.page__pull .desc {
    background-color: #eee;
    display: inline-block;
    position: relative;
}
.page__pull .desc p {
    font-size: 1.2rem;
    margin-bottom: 0;
    padding: .5rem 4rem .5rem 4rem;
}
.page__pull .squ {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1.4rem;
    background-color: var(--text-secondary);
    z-index: 1;
}
.page__pull .tri {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    background-color: #4a80c1;
    transform: translate(.4rem, -50%) rotate(45deg);
    z-index: 2;
}
.triCover {
    position: absolute;
    top: 0;
    left: 1.4rem;
    height: 100%;
    width: 2rem;
    background-color: #eee;
    z-index: 3;
}




@media screen and (max-width:768px) {
    .page__pull .title::after {
        content: unset;
    }
}




.page__pull p {
    margin-bottom: 1.5rem;
}
.page__pull__info {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.page__pull__info a {
    color: var(--text-primary);
    cursor: pointer;
}




.page__bottom {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.page__views {
    font-size: 1.2rem;
}
.page__edited {
    font-size: 1.2rem;
}




@media screen and (max-width:1024px) {
    .page__content__content .container {
        grid-template-columns: 1fr;
    }
    .page__sidebar {
        display: none;
    }
    .page__pull {
        padding: 2rem 2rem;
    }
}







/* -----------------------------------------------------------------------------------------------*/
/* Search Styles */
/* -----------------------------------------------------------------------------------------------
*/
.search__results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

    margin-top: 5rem;
}

@media screen and (max-width:1024px) {
    .search__results {
        grid-template-columns: 1fr !important;
    }
}


.result {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    background-color: #eee;
    padding: 2rem;
}
.resultDescription{
    width: 100%;
    height: 6rem;
}
.result p {
    margin-bottom: 0;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

}
.result h2 {
    margin-top: 0;
    margin-bottom: 0rem;
}


.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(--bg-primary);
    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 {
    margin-right: 5rem;
}





/* ------------------------------------------------------------------------------------------------ */
/* Animation Styles */
/* ------------------------------------------------------------------------------------------------ */
@keyframes zoom-out {
    0% {
        opacity: .3;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: .3;
        width: 100%;
    }
}

@keyframes slider-one {
    0% {
        visibility: visible;
    }
    25% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    75% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}
@keyframes slider-two {
    0% {
        visibility: hidden;
    }
    25% {
        visibility: hidden;
    }
    50% {
        visibility: visible;
    }
    75% {
        visibility: hidden;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes slider-three {
    0% {
        visibility: hidden;
    }
    25% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    75% {
        visibility: visible;
    }
    100% {
        visibility: hidden;
    }
}
@keyframes slider-four {
    0% {
        visibility: hidden;
    }
    25% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    75% {
        visibility: hidden;
    }
    100% {
        visibility: visible;
    }
}
@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(100%);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}
.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}






/* ------------------------------------------------------------------------------------------------ */
/* Utility Styles */
/* ------------------------------------------------------------------------------------------------ */
.mt-1 {
    margin-top: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}




.banner-sep {
    height: 1rem;
    width: 100%;
    background-color: var(--accent-primary);
}
button {
    cursor: pointer;
    font-family: 'Montserrat', Helvetica, sans-serif;
    border: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}
button:hover {
    transform: scale(.98) !important;
}
.btn-hero {
    font-size: 3.2rem;
    font-weight: 400 !important;
    color: var(--text-secondary);
    background-color: var(--accent-primary);
    padding: 2rem 5rem;
    position: relative;
    box-shadow: var(--text-shadow);
}
.btn-hero:hover {
    box-shadow: none;
}
.btn-hero::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    background-color: var(--accent-secondary);

    top: 0;
    right: 0;
    transform: translateX(100%);
}
.btn-hero::before {
    content: '';
    background: url("img/btn-arrow.png");

    width: 8px;
    height: 13px;
    position: absolute;
    top: 3.4rem;
    right: -4.5rem;
    z-index: 10;
}




.btn-primary {
    font-size: 1.4rem;
    font-weight: 400 !important;
    color: var(--text-secondary);
    background-color: var(--accent-primary);
    padding: 1.5rem 2rem;
    position: relative;
    box-shadow: var(--text-shadow);
}
.btn-primary:hover {
    box-shadow: none;
}
.btn-primary::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    background-color: var(--accent-secondary);

    top: 0;
    right: 0;
    transform: translateX(100%);
}
.btn-primary::before {
    content: '';
    background: url("img/btn-arrow.png");

    width: 8px;
    height: 13px;
    position: absolute;
    top: 2rem;
    right: -3rem;
    z-index: 10;
}




.btn-secondary {
    font-size: 1.4rem;
    font-weight: 400 !important;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 1.5rem 2rem;
    position: relative;
    box-shadow: var(--text-shadow);
}
.btn-secondary:hover {
    box-shadow: none;
}
.btn-secondary::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    background-color: var(--accent-secondary);

    top: 0;
    right: 0;
    transform: translateX(100%);
}
.btn-secondary::before {
    content: '';
    background: url("img/btn-arrow.png");

    width: 8px;
    height: 13px;
    position: absolute;
    top: 2rem;
    right: -3rem;
    z-index: 10;
}

.btn-third {
    font-size: 1.4rem;
    font-weight: 400 !important;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 1.5rem 2rem;
    position: relative;
    box-shadow: var(--text-shadow);
}
.btn-third:hover {
    box-shadow: none;
}
.btn-third::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    background-color: var(--accent-primary);

    top: 0;
    right: 0;
    transform: translateX(100%);
}
.btn-third::before {
    content: '';
    background: url("img/btn-arrow.png");

    width: 8px;
    height: 13px;
    position: absolute;
    top: 2rem;
    right: -3rem;
    z-index: 10;
}
.rbuttonFix {
    padding-right: 4.8rem;
}







.wp-block-button__link {
    padding: 1.2rem 2rem;
}
.wp-block-quote {
    background-color: var(--accent-primary);
    color: var(--text-secondary);
    padding: 2rem;
    position: relative;
    margin-bottom: 1.5rem;
}
.wp-block-quote a {
    color: var(--text-secondary);
}
.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);
}













.goog-te-gadget-icon {
    display:none;
}
.goog-te-gadget-simple {
    background-color: var(--text-secondary) !important;
    color: var(--text-primary);
    border:0 !important;
    display: inline-block;
    cursor: pointer;
    zoom: 1;
}
.goog-te-gadget-simple  span {
    color:var(--text-primary) !important;

}





.custom-shape-divider-bottom-1665069050 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 3;
}

.custom-shape-divider-bottom-1665069050 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 8rem;
}

.custom-shape-divider-bottom-1665069050 .shape-fill {
    fill: var(--accent-primary);
}



.custom-shape-divider-bottom-1665141888 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1665141888 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 8rem;
}

.custom-shape-divider-bottom-1665141888 .shape-fill {
    fill: var(--bg-secondary);
}










.wp-block-buttons {
    margin-bottom: 2rem;
}
.wp-block-button__link {
    font-size: 1.4rem;
    font-weight: 400 !important;
    color: var(--text-secondary);
    background-color: var(--accent-primary);
    padding: 1.5rem 2rem;
    position: relative;
    box-shadow: var(--text-shadow);
    border-radius: 0;
    line-height: 1.2;
    transition: all .3s ease;

    margin-right: 5rem;
}
.wp-block-button__link:hover {
    box-shadow: none;
    transform: scale(.98);
}
.wp-block-button__link::after {
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1;
    background-color: var(--accent-secondary);

    top: 0;
    right: 0;
    transform: translateX(100%);
}
.wp-block-button__link::before {
    content: '';
    background: url("img/btn-arrow.png");

    width: 8px;
    height: 13px;
    position: absolute;
    top: 1.7rem;
    right: -3rem;
    z-index: 10;
}










.has-background {
    padding: 2rem;
    margin-bottom: 1rem;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.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);
}






figure {
    margin: 0;
}
.wpb_page_list {
    padding-left: 0 !important;
}
.staff-img {
    gap: 0;
}
.staff-img img {
    border-left: .5rem solid var(--text-secondary);
    border-right: .5rem solid var(--text-secondary);
    border-top: .5rem solid var(--text-secondary);
    border-bottom: .5rem solid var(--accent-secondary);
    margin-bottom: 2rem !important;
}

#conForm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#conForm input {
    width: 100%;
    padding: 1rem;
    background-color: #eee;
    border: 0;
    font-family: 'Montserrat', Helvetica, sans-serif !important;
}
#conForm input:focus {
    outline: none !important;
    border: 0;
}

#conForm textarea {
    width: 100%;
    padding: 1rem;
    background-color: #eee;
    border: 0;
    font-family: 'Montserrat', Helvetica, sans-serif !important;
    resize: vertical;
}
#conForm textarea:focus {
    outline: none !important;
    border: 0;
}
#conForm button {
    width: auto;
    margin-top: 1rem;
}
.conBanner {
    margin-bottom: 0 !important;
}



.ub_image_slider .swiper-slide img {
    max-height: max-content !important;
}















.map {
    width: 100%;
}



















.page__content__content__post .container {
    max-width: 760px;
    min-height: 40rem;
    padding-bottom: 5rem;
    gap: 2rem;
}
.post__thumbnail {
    width: 100%;
    height: 30rem;

    border-right: .5rem solid #eee;
    border-bottom: .5rem solid #eee;
    border-left: .5rem solid #eee;
}
.post__thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.post__date {
    background-color: #eee;
    margin-bottom: 1rem;
    
}
.post__date p {
    padding: .5rem 2.5rem .5rem 2.5rem;
    font-size: 1.2rem;
    margin-bottom: 0;
}
























.wp-block-file {
    background-color: #eee !important;
    padding: 1rem !important;

    width: 100%;

    display: grid;
    grid-template-columns: 3fr 1fr;
}
.wp-block-file object {
    grid-column: 1 / span 4;
}
.wp-block-file a:first-of-type {
    display: none;
}


.wp-block-file a {
    margin-left: 0 !important;
    margin-top: 1rem;

    font-size: 1.4rem !important;
    font-weight: 400 !important;
    background-color: var(--accent-primary) !important;
    padding: 1.5rem 2rem !important;
    border-radius: 0 !important;
    box-shadow: var(--text-shadow) !important;
    line-height: 1.2 !important;

    width: max-content !important;
    margin-right: 5rem !important;
    position: relative !important;

}
.wp-block-file a::after {
    content: '' !important;
    position: absolute !important;
    height: 100% !important;
    aspect-ratio: 1 !important;
    background-color: var(--accent-secondary) !important;

    top: 0 !important;
    right: 0 !important;
    transform: translateX(100%) !important;
}

.wp-block-file a::before {
    content: '' !important;
    background: url("img/btn-arrow.png") !important;

    width: 8px !important;
    height: 13px !important;
    position: absolute !important;
    top: 2rem !important;
    right: -3rem !important;
    z-index: 10 !important;
}






.wp-block-columns {
    margin-bottom: 2rem;
}










#awards {
    background-color: var(--accent-primary);
    min-height: 10rem;
    padding: 2rem 0;
}
.awards__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
}
.awards__inner img {
    padding: 1rem;
    background-color: #fff;
    width: 100%;
    height: 100%;
}