.title-section {
    display: flex;
    color: var(--global-colour-text-light);
    background-color: var(--global-section-colour-a);
    height: 100vh;
    align-items: center;
    position: relative;
    overflow-y: hidden;
}
@media (max-width: 1024px) {
    .title-section {
    }
}

.title-section video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
    overflow-y: hidden;
}

.title-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    background-color: var(--global-section-colour-a);
    width: 100%;
    height: auto;
    /*padding-top: 85px;*/
}


.title-header {
    display: flex;
    font-size: 88px;
    line-height: 110%;
    padding-top: 5%;
    font-weight: 500;
    letter-spacing: -1.5px;
}
@media (max-width: 1024px) {
    .title-header {
        padding-top: 12%;
        padding-bottom: 3%;
        font-size: 68px;
    }
}
@media (max-width: 769px) {
    .title-header {
        padding-top: 35%;
        font-size: 48px;
    }
}


.title-subheader {
    padding-left: 0.2%;
    padding-top: 2%;
    padding-bottom: 6%;
    display: flex;
    font-size: 36px;
    font-weight: 500;
    line-height: 105%;
}
@media (max-width: 1024px) {
    .title-subheader {
        padding-bottom: 18%;
        font-size: 26px;
    }
}
@media (max-width: 769px) {
    .title-subheader {
        padding-top: 5%;
        font-size: 20px;
    }
}


.body-section {
    display: flex;
    color: var(--global-colour-text-light);
    background-color: black;
    height: auto;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1024px) {
    .body-section {
        padding-top: 0%;
    }
}
@media (max-width: 769px) {
    .body-section {
        padding-top: 0%;
    }
}

.body-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    background-color: black;
    padding-top: 38%;
    height: auto;
    align-items: center;    
}
@media (max-width: 1550px) {
    .body-subsection {
        width: 98%;
        margin-left:1%;
        margin-right:1%;
    }
}
@media (max-width: 1024px) {
    .body-subsection {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


@media (max-width: 1024px) {
    .body-subsection-transition-text {
        padding-top:40%;
        padding-bottom:40%;
    }
}


.body-subsection-arrow {
    padding-top: 4%;

}

.body-subsection-arrow img {
    width: 80px;
    height: 80px;
}
@media (max-width: 1024px) {
    .body-subsection-arrow img {
        display:none;
    }
}


.body-subsection-home-carousel {
    width: 94%;
}

.body-subsection-short {
    padding-top: 3%;
    padding-bottom: 3%;
}
@media (max-width: 769px) {
    .body-subsection-short {
        padding-bottom: 8%;
        padding-top: 2%;        
    }
}

.body-subsection-service-tile {
    padding-top: 4%;
}
@media (max-width: 769px) {
    .body-subsection-service-tile {
        padding-top: 12%;
    } 
}

.body-transition-text {
    font-size: 68px;
}
@media (max-width: 1024px) {
    .body-transition-text {
        font-size: 46px;
        opacity: 0;
        width: 92%;
        text-align: center;
    }
}


.body-section-title-text {
    color: var(--global-colour-text-link);
    font-size: 24px;
}
@media (max-width: 1024px) {
    .body-section-title-text {
        display: none;
    }
}

.body-section-description-text {
    color: var(--global-colour-text-light);
    font-size: 52px;
    padding-bottom: 25px;
    font-weight: 500;
    letter-spacing: -1.5px;
    margin-top: 1%;
    margin-bottom: 1%;
}
@media (max-width: 1024px) {
    .body-section-description-text {
        font-size: 36px;
        text-align: center;
    }
}

.mission-link {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(206, 255, 26, 1); 
    border-radius: 28px;

    color: black;
    background-color: rgba(206, 255, 26, 1);    
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    text-align: center;
    /*line-height: 36px;*/
    padding: 0.5% 0.5% 0.5% 0.5%;

    display: flex;
    flex-direction: row;
    cursor: pointer;
    justify-content: center;
}
@media (max-width: 1024px) {
    .mission-link {
    }
}

.all-content-button {
    width: 200px;
    text-decoration: none;    
    display: inline-block;
}
@media (max-width: 400px) {
    .all-content-button {
    }
}

.all-article-button {
    line-height: 85%;
}
@media (max-width: 1024px) {
    .all-article-button {
        line-height: 105%;
    }
}
@media (max-width: 769px) {
    .all-article-button {
        line-height: 115%;
    }
}

.mission-body {
    width: 100%;
    max-width: 1550px;
}

#missionVideo {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}
@media (max-width: 1024px) {
    #missionVideo {
        width: 300%;
    }
}
.video-overlay-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*top: 50%;*/
    z-index: 2;
    height: 60%;
    justify-content: center;
}
@media (max-width: 1024px) {
    .video-overlay-container {
        height: 100%;
    }
}
@media (max-width: 769px) {
    .video-overlay-container {
        height: 70%;
    }
}


.body-carousel-subsection {
    display: flex;
    flex-direction: row;
    color: var(--global-colour-text-light);
    width: 100%;
    height: auto;
    padding-top: 0; 
    justify-content: center; 
    background-color: var(--global-colour-secondary); 
    padding-bottom: 40px
}
@media (max-width: 1024px) {
    .body-carousel-subsection {
        padding-left: 0%;
    }
}
@media (max-width: 769px) {
    .body-carousel-subsection {
        padding-left: 0%;
    }
}

.body-offset-grid-titles {
    align-content: start;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    padding-bottom: 3%;
    color: var(--global-colour-secondary);
    margin-left: 8%;
}
@media (max-width: 1024px) {
    .body-offset-grid-titles {
        padding-left: 0%;
        padding-bottom: 5%;
        margin-left: 3%;
    }
}
@media (max-width: 769px) {
    .body-offset-grid-titles {
        margin-left: 0%;
    }
}

.body-grid {
    display: grid;    
    width:100%;
    max-width: 1600px;
    grid-column: 2;
    grid-column-gap: 10px;
    grid-row-gap: 4%;
    grid-template-columns: 33% 66%;
    margin: 0 0 3% 0;
    overflow-y: hidden;
    scrollbar-width: none;
}
@media (max-width: 1024px) {
    .body-grid {
        min-width: 700px;
        width: 100%;
        margin: 0 30px 3% 35px;
        overflow-x: scroll;
        grid-template-columns: 50% 50% 50%;
        grid-column-gap: 0;               
    }
}
@media (max-width: 769px) {
    .body-grid {
        min-width: 0;
        width:92%;
        padding-top: 5%;
        font-size: 20px;
        grid-template-columns: 100%;
        margin: 0 0 3% 0;
        grid-row-gap: 0%; 
    }
}

.body-grid-right {
    grid-template-columns: 66% 33%;
}
@media (max-width: 1024px) {
    .body-grid-right {
        grid-template-columns: 100%;
    }
}

@media (max-width: 769px) {
    #insight-slide-1 {
        
    }
}

#insight-slide-2 {
    background-color: #212121;
    border-radius: 28px 28px 28px 28px;
}
@media (max-width: 1024px) {
    #insight-slide-2 {
        width: 92%;
        margin-left: 4%;
    }
}
@media (max-width: 769px) {
    #insight-slide-2 {
        width: 92%;
        padding-left: 8%;
        padding-top: 0%;
        margin-left: 0%;
        border-radius: 10px 10px 10px 10px;
    }
}

.body-grid-tile-container {
    /*aspect-ratio: 1 / 1.5;*/
    width: 100%;
    min-height: 0;
    min-width: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
@media (max-width: 1024px) {
    .body-grid-tile-container {
        aspect-ratio:  1 / 1.3;
        width: 95%;
    }
}
@media (max-width: 769px) {
    .body-grid-tile-container {
        aspect-ratio:  1 / 1.1;
    }
}

.middle-column {
    aspect-ratio: unset;
    width: 100%;
}
@media (max-width: 1024px) {
    .middle-column {
        aspect-ratio: 1.1/1;
    }
}

.body-grid-tile-container a {
    text-decoration: none;
}

.social-mission-bar {
    display: flex;
    align-items: start;
    width: 100%;
    max-width: 1600px;
    justify-content: space-between;
    padding-bottom: 2%;
}
@media (max-width: 1024px) {
    .social-mission-bar {
        flex-direction: column;
        width: 100%;
    }
}
@media (max-width: 769px) {
    .social-mission-bar {
        flex-direction: column;
        width: 92%;
    }
}

.social-mission-subbar {
    display:flex;
    flex-direction: row;
    width: 45%;
    justify-content: space-between;
}
@media (max-width: 1024px) {
    .social-mission-subbar {
        width: 94%;
    }
}
@media (max-width: 769px) {
    .social-mission-subbar {
        padding-top: 10%;
        padding-bottom: 0px;
        width: 100%;
        flex-direction: column;
        row-gap: 15px;
    }
}

.tile-light-green {
    background-color: var(--global-colour-text-accent);
    color: var(--global-colour-text);
}

.tile-mid-grey {
    background-color: var(--global-colour-quinary);
    color: var(--global-colour-text);
}

.tile-dark-grey {
    background-color: var(--global-colour-tertiary);
    color: var(--global-colour-text);
}

.tile-light-grey {
    background-color: var(--global-colour-quaternary);
    color: var(--global-colour-text);
}

.tile-row {
    padding-left: 4%;
    padding-right: 4%;
    display:flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: space-between;
    margin-left: 3%;
}
@media (max-width: 1024px) {
    .tile-row {
        padding-top: 6%;
        padding-bottom: 6%;
        margin-left: 0%;
    }
}
@media (max-width: 769px) {
    .tile-row {
        padding-top: 0%;
        padding-left: 0%;
        padding-right: 0%;
    }
}

.tile-subtitle {
    line-height: 140%;
    padding-bottom: 15px;
    margin-left: 5%;
}
@media (max-width: 1024px) {
    .tile-subtitle {
        margin-left: 3%;
    }
}
@media (max-width: 769px) {
    .tile-subtitle {
        margin-left: 0%;
    }
}
@media (max-width: 400px) {
    .tile-subtitle {
        font-size: 16px;
    }
}

.tile-description {
    line-height: 140%;
    font-weight: 100;
    padding-bottom: 25px;
    margin-left: 5%;
}
@media (max-width: 1024px) {
    .tile-description {
        margin-left: 3%;
    }
}
@media (max-width: 769px) {
    .tile-description {
        margin-left: 0%;
        font-size: 18px;
        padding-bottom: 5px;
    }
}
@media (max-width: 400px) {
    .tile-description {
        font-size: 16px;
    }
}

@media (max-width: 769px) {
    .first-tile-row {
        order: 0;
        padding-right: 8%;
        padding-bottom: 2%;
    }
}

@media (max-width: 1024px) {
    .second-tile-row {
        margin-left: 2%;
    }
}

@media (max-width: 769px) {
    .second-tile-row {
        order: 1;
    }
}

@media (max-width: 1024px) {
    .third-tile-row {
        padding-top: 0;
        padding-bottom: 0%;
    }
}
@media (max-width: 769px) {
    .third-tile-row {
        order: 2;
    }
}

.last-tile-row {
    padding-top:3%;
    padding-bottom:3%;
}
@media (max-width: 1024px) {
    .last-tile-row {
        padding-top: 0;
        padding-bottom: 0%;
    }
}
@media (max-width: 769px) {
    .last-tile-row  {        
        flex-direction: column;
        order: 2;
        padding-top:3%;
        padding-bottom:3%;
    }    
}

/*Text Styles*/

.large-tile-text, .large-tile-text:active, .large-tile-text:link, .large-tile-text:hover, .large-tile-text:visited {
    text-decoration: none;
}

.tile-title {
    font-size: 14px;
    font-weight: 600;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    line-height: 140%;
    padding-bottom: 2%;
}
@media (max-width: 1024px) {
    .tile-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

.large-tile-header-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 100%;
}
@media (max-width: 1024px) {
    .large-tile-header-text {
        font-size: 40px;
    }
}
@media (max-width: 769px) {
    .large-tile-header-text {
        font-size: 40px;
        line-height: 44px;
        font-weight: 600;
        padding-bottom: 25%;
    }    
}

.large-tile-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 100%;
    margin-left: 3%;
}
@media (max-width: 1024px) {
    .large-tile-text {
        font-size: 40px;
    }
}
@media (max-width: 769px) {
    .large-tile-text {
        font-size: 32px;
        margin-left: 0%;
    }    
}
.large-tile-text-dark {
    color: #000;
}

.author-tile-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 105%;
}

.date-tile-text {
    font-size: 36px;
    font-weight: 500;
    line-height: 105%;
    width: 200px;  
    margin-left: 5%;
}
@media (max-width: 1024px) {
    .date-tile-text {
        width: 200px;
        font-size: 26px;
        margin-left: 0%;
        line-height: 150%;
    }
}
@media (max-width: 769px) {
    .date-tile-text {
        font-size: 20px;
        font-weight: 600;
        line-height: 175%;
        padding-top: 3%;
    }    
}
@media (max-width: 400px) {
    .date-tile-text {
    }    
}

.article-link {
    font-size: 16px;
    line-height: 140%;
    margin-right: 3%;
}

@media (max-width: 1024px) {
    .article-link {
    }
}
/* images */

.tile-logo {
    width:100%;
}
.tile-logo img {
    width:100%;
    border-radius: 20px;
}
@media (max-width: 1024px) {
    .tile-logo img {
        border-radius: 10px;
    }
}

.button-bar {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}
@media (max-width: 1024px) {
    .button-bar{
        padding-top: 2%;
        display: none;
    }
}

.flip-body {
    width: 100%;
    height: fit-content;
    max-width: 1550px;
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 3%;
    padding-right: 1.5%;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
@media (max-width: 1024px) {
    .flip-body {
        height: 55vh;
        width: 90%;
        padding-top: 2%;
        padding-bottom: 2%;
        padding-left: 0%;
        padding-right: 0%;
    }
}
@media (max-width: 769px) {
    .flip-body {
        align-self: center;
    }
}

.flip-body img {
        width: 100%; /* or any custom size */
        height: 100%; 
        object-fit: contain;
        border-radius: 20px;
}
@media (max-width: 1024px) {
    .flip-body img {        
        object-fit: cover;
        object-position: 100% 0;        
        height: 90%; 
    }
}
@media (max-width: 769px) {
    .flip-body img {
        object-fit: cover;
        object-position: 100% 0;
        height: 90%; 
    }
}

.flip-overlay-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    /*top: 50%;*/
    z-index: 2;
    height: 63%;
    width: 85%;
    max-width: 1550px;
    justify-content: end;
}

.flip-section-tile-text {
    font-size: 48px;
    padding-bottom: 1%;
    font-weight: 600;
}
@media (max-width: 769px) {
    .flip-section-tile-text {
        font-size: 32px;
        padding-bottom: 0%;
    }
}

.flip-tile-text {
    font-size: 36px;
    font-weight: 500;
    line-height: 105%;
    width: 12%;
    padding-right: 5px;
}
@media (max-width: 1024px) {
    .flip-tile-text {
        font-size: 26px;
        width: 200px;  
        line-height: 150%;
        padding-left: 5px;
    }
}
@media (max-width: 769px) {
    .flip-tile-text {
        font-size: 20px;
        font-weight: 600;
        line-height: 175%;
        padding-top: 3%;
        width: 200px;  
    }    
}

.flip-content-button {
    text-decoration: none;
}


/* Title Bits */
.slider {
    width: 100%;
    height: calc(100vh);
    text-align: center;
    overflow-y: hidden;
    overflow-x: hidden;    
}
@media (max-width: 1024px)  and (min-height: 1024px) {
    .slider {
        height: calc(65vh);
    }
}
@media (max-width: 1024px) and (max-height: 1024px) {
    .slider {
        height: calc(150vh);
    }
}
@media (max-width: 769px) {
    .slider {
        height: calc(85vh);
    }
}


.slides {
    display: flex;
    height: inherit;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
}
@media (max-width: 1024px) {
    .slides {
        overflow-x: scroll;
        scrollbar-width: none;
    }
}

.slide {
    height: 100%;
    width: 100%;
    max-width: 1600px;
    /*padding-right: 13%;*/
    margin-bottom: 10%;
    justify-content: end;
    display: flex;
    flex-direction: column;
    padding-left: 4%;
}
@media (max-width: 1024px) {
    .slide {
        justify-content: space-evenly;
    }
}
@media (max-width: 769px) {
    .slide {
        padding-right: 0%;
        justify-content: center;
    }
}

.slide-sections {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
@media (max-width: 1024px) {
    .slide-sections {
        flex-direction: column;
        justify-content: end;
        height: 100%;
    }
}

.slide-holder {
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 16/16;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}
@media (max-width: 1024px) {
    .slide-holder {
        aspect-ratio: 18/9;
        background-position: right;  
    }
}
@media (max-width: 769px) {
    .slide-holder {
        aspect-ratio: 9/12;
    }
}


.carousel-title-text {
    font-size: 88px;
    color: var(--global-colour-text-light);
    line-height: 96px;
    font-weight: 600;
    margin-top: 0px;    
    text-align: left;
    margin-bottom: 0%;
    width:60%;
    height: auto;
}
@media (max-width: 1024px) {
    .carousel-title-text {
        font-size: 48px;
        line-height: 52px;
        margin-bottom: 3%;
        margin-top: 10%;
        margin-left: 30px;
        letter-spacing: -1.5px;
    }
}
@media (max-width: 769px) {
    .carousel-title-text {
        font-size: 48px;
        line-height: 52px;
        margin-top: 15vh;
        letter-spacing: -1.5px;
    }
}

.carousel-link-text {
    color: var(--global-colour-text-link);
    font-size: 16px;    font-weight: 600;
    flex-basis: auto;
    margin-top: 4%;
    margin-left: 30px;
    margin-right: 10px;
    text-align: left;
    padding-right: 20%;
    width: 200px;
    line-height: 240%;
}
@media (max-width: 1024px) {
    .carousel-link-text {
        margin-top: 3%;
    }
}
@media (max-width: 769px) {
    .carousel-link-text {
        margin-top: 4%;
    }
}

.carousel-link-text a {
    text-decoration: none;
    color: var(--global-colour-text-link);
}

.carousel-description-text {
    color: var(--global-colour-text-light);
    font-size: 18px;
    font-weight: 100;
    line-height: 140%;
    flex-basis: auto;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 10px;
    text-align: left;
    padding-right: 20%;
}
@media (max-width: 1024px) {
    .carousel-description-text {
        font-size: 16px;
        line-height: 22px;
        margin-top: 0px;
    }
}
@media (max-width: 769px) {
    .carousel-description-text {
        padding-right: 8%;
    }
}