.title-section {
    display: flex;
    color: var(--global-colour-text-light);    
    padding-top: 80px;
    height: 60vh;
    min-height: 50vh;
    align-items: center;
    background-size: cover;
    background-position: center;
}


.title-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    width: 100%;
    height: 100%;
    justify-content: end;
    padding-left: 21.5%;
}
@media (max-width: 1024px) {
    .title-subsection {
        padding-left: 5%;
    }
}

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


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


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


.body-section-dark {
    color: var(--global-colour-text-light);
    background-color: black;
}

.body-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    background-color: var(--global-colour-secondary);
    width: 100%;
    height:100%;

    /*padding-left: 21.5%;*/
    
    align-items: center;
}
.body-section-dark {
    color: var(--global-colour-text-light);
    background-color: black;
}


.body-grid {
    display: grid;    
    width: 100%;
    max-width: 1550px;
    /*grid-column-gap: 30px;*/
    grid-row-gap: 30px;
    grid-template-columns: 33% 33% 33%;
    margin: 0 0 3% 0;
    justify-content: center;
    align-items: center;
    height: 1450px;
    overflow-y: scroll;
    padding-top: 1.5%;
}
@media (max-width: 1220px) {
    .body-grid {
        grid-template-columns: 50% 50%;
    }
}
@media (max-width: 769px) {
    .body-grid {
        min-width: 0;
        width: 92%;
        padding-top: 1%;
        font-size: 20px;
        grid-template-columns: 90%;
        margin: 0 0 3% 0;
        grid-row-gap: 5%; /* controls spacing of videos on mobile */
        padding-bottom: 1%;
    }
}

.body-grid-header-container {
    display: flex;
    aspect-ratio: 2.5 / 1;
    grid-column-start: 1; 
    grid-column-end: 3;
    width: 100%;
    /*border: 1px solid red;*/
    min-height: 0;
    min-width: 0;
    text-decoration: none;
    animation-name: fade-in-opacity;
    animation-duration: 1s;
    transform: translateY(0%);
}
@media (max-width: 769px) {
    .body-grid-header-container{
        visibility: hidden;
        aspect-ratio: 1.3 / 1;
        grid-column-start: 1; 
        grid-column-end: 2;
    }
}
.body-grid-header-container a {
    text-decoration: none;
}

.body-grid-embedded-img {
    width: 50%;
    overflow: hidden;
    min-width:0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 769px) {
    .body-grid-embedded-img {
        display: none;
    }    
}

.body-grid-embedded-tile {
    width: 50% !important;
}
@media (max-width: 769px) {
    .body-grid-embedded-tile {
        width: 100% !important;
        visibility: visible;
    }    
}


.body-grid-tile-container {
    aspect-ratio: 4 / 3;    
    width: 450px;
    height: 600px;
    /*border: 1px solid red;*/
    min-height: 0;
    min-width: 0;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-size: cover;
    border-radius: 20px;
}
@media (max-width: 1024px) {
    .body-grid-tile-container {
        width: 400px;
    }
}
@media (max-width: 1024px) {
    .body-grid-tile-container {
        aspect-ratio: 1 / 1; 
    }
}
@media (max-width: 769px) {
    .body-grid-tile-container {
        width: 98%;
    }
}
@media (max-width: 400px) {
    .body-grid-tile-container {
        width: 98%;
    }
}

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


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

.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: 6%;
    padding-right: 6%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.video-tile-row {
    padding-left: 5px;
    padding-right: 5px;
}

.first-tile-row {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
@media (max-width: 769px) {
    .first-tile-row  {        
        flex-direction: column;
        align-items: start;
    }    
}

.body-offset-grid-titles{
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.media-tile-title {
    font-size: 26px;
    font-weight: 600;
    padding-left: 6%;
}

.tile-title {
    font-size: 12px;
    font-weight: 300;
    margin-top: 4%;
    padding: 2%;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.5px;

    background-image: linear-gradient(to right, rgba(185, 185, 185, 0.769), rgba(125, 125, 125, 0.77));
    /*border-image: linear-gradient(to left, rgba(34,35,33,0.87), rgba(34,35,33,0.45));
    border-style: solid;
    border-width: 1px;*/
    border-radius: 30px;
    backdrop-filter: blur(10px)
}

.tile-subtitle {
    display: flex;
    flex-direction: row;
    padding-top: 2%;
    padding-bottom: 2%;
}

.tile-description {
    display: flex;
    flex-direction: row;
    padding-bottom: 2%;
}

.second-tile-row {
    flex-direction: column;
    align-items: start;
}

.last-tile-row {
    padding-top: 3%;
    padding-bottom: 4%;
}

.video-last-tile-row {
    padding-top: 10px;
    height: 30%;
    overflow-y: visible;
}

/*Text Styles*/

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

.large-tile-text {
    font-size: 36px;
    font-weight: 500;
    line-height: 105%;
    padding-left: 3%;
}
@media (max-width: 1024px) {
    .large-tile-text {
        font-size: 26px;
        padding-top: 5%;
        padding-bottom: 5%;
    }
}
@media (max-width: 769px) {
    .large-tile-text {
        font-size: 20px;
        padding-left: 6%;
    }    
}

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

.date-tile-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 105%;
}
@media (max-width: 769px) {
    .date-tile-text {
        font-size: 14px;
        font-weight: 600;
        line-height: 120%;
        padding-top: 3%;
    }    
}

.article-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 105%;
    text-transform: uppercase;
    border-style: solid;
    border-color: var(--global-colour-text);;
    border-width: 1px 1px 1px 1px;
    border-radius: 100px 100px 100px 100px;
    padding: 8px 12px 8px 12px;
}

.media-pack-all {
    width: 100%;
    max-width: 1550px;
}

.media-pack {
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding-bottom: 5%;
}
@media (max-width: 1024px) {
    .media-pack {
        flex-direction: column;
    }
}

#media-pack-1 {
    width:50%;
    height: auto;
    min-height: 0;
    min-width: 0;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-size: cover;
    border-radius: 20px;
    padding-top: 2%;
    padding-bottom: 2%;
}
@media (max-width: 1024px) {
    #media-pack-1 {
        width:100%;
    }
}

.tile-logo img {
    aspect-ratio: 5/3;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

h6 {
    color: var(--global-colour-primary-light);
    font-size: 75px;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 1024px) {
    h6 {
        font-size: 48px;
    }
}

.mission-link {
    /*border-style: solid;
    border-width: 1px;
    border-color: var(--global-section-colour-a);*/
    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: 240%;
    aspect-ratio: 5/1;
    padding: 0.5% 0.5% 0.5% 0.5%;

    display: flex;
    flex-direction: row;
    cursor: pointer;
    justify-content: center;
}
@media (max-width: 769px) {
    .mission-link {
        margin-top: 1em;
        margin-bottom: 2em;
    }
}


.media-link-button {
    width: 200px;
    text-decoration: none;
}

.filter-bar {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1500px;
}
@media (max-width: 1024px) {
    .filter-bar {
        width: 98%;
    }
}
@media (max-width: 769px) {
    .filter-bar {
        width: 92%;
    }
}

.blog-type, .news-type, .press-type {}

.tile-link {
    border-style: solid;
    border-width: 1px;
    border-color: unset;
    border-radius: 28px;
    color: white;
    background-image: linear-gradient(to right, rgba(185, 185, 185, 0.769), rgba(125, 125, 125, 0.77));
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    text-align: center;
    line-height: 24px;
    padding: 0.5% 0.5% 0.5% 0.5%;
    margin-right: 0.5%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    justify-content: center;
    width: 100px;
}
@media (max-width: 1024px) {
    .tile-link {        
        margin-bottom: 1.5%;
    }
}
@media (max-width: 769px) {
    .tile-link {
        width: 70px;
        line-height: 36px;
        margin-right: 2.5%;
        margin-top: 1.5%;
    }
}

/* Video Library */

.body-grid-video {
    height: 800px;
    overflow-x: hidden;
}
@media (max-width: 769px) {
    .body-grid-video {
        height: 500px;
    }
}

video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-title-section {
    font-size: 48px;
    color: black;
    font-weight: 500;
    width: 98%;
    max-width: 1550px;
}
@media(max-width: 1600px) {
    .video-title-section {
        margin-left: 5%;
    }
}
@media(max-width: 769px) {
    .video-title-section {
        font-size: 30px;
    }
}

.video-grid-tile-container {
    aspect-ratio: 4 / 3;    
    width: 450px;
    height: 500px;
    /*border: 1px solid red;*/
    min-height: 0;
    min-width: 0;
    padding: 10% 20% 10% 0%;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-size: cover;
    border-radius: 20px;
}
@media (max-width: 1024px) {
    .video-grid-tile-container {
        width: 400px;
        padding: 10%;
    }
}
@media (max-width: 769px) {
    .video-grid-tile-container {
        height: 450px;
        padding: 10%;
        padding: 2%;
        width: 96%;
    }
}


.video-subtitle-text {
    margin-top: 2%;
    color: black;
    font-weight: 500;
    font-size: 40px;
}
@media(max-width: 769px) {
    .video-subtitle-text {
        font-size: 30px;
    }
    #upload-date-horizontal-line {
        visibility: hidden;
    }
}

.video-description-text {
    max-height: 100%;
    color: black;
    font-size: 15px;
}

.video-detail-text {
    margin-top: -1%;
    color: black;
    font-size: 15px;
}

.horizontal-line {
    border-bottom: 1px solid black;
    max-width: 100%;
}