/* =========================================================
   PARTNER / GOVERNMENT LOGO SECTION
========================================================= */

.partner-logo-section {
    position: relative;
    padding: 28px 0;
    background: #ffffff;
}

.partner-logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.partner-logo-item {
    width: 20%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 25px;

    border-right: 1px solid #172d55;
}

.partner-logo-item:last-child {
    border-right: none;
}

/* All logos use exactly the same image area */
.partner-logo-item img {
    display: block;
    width: 150px;
    height: 70px;
    object-fit: contain;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .partner-logo-section {
        padding: 25px 0;
    }

    .partner-logo-item {
        height: 75px;
        padding: 8px 15px;
    }

    .partner-logo-item img {
        width: 120px;
        height: 55px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .partner-logo-section {
        padding: 20px 0;
    }

    .partner-logo-row {
        flex-wrap: wrap;
    }

    .partner-logo-item {
        width: 50%;
        height: 75px;
        padding: 10px 15px;

        border-right: 1px solid #172d55;
        border-bottom: 1px solid #172d55;
    }

    .partner-logo-item:nth-child(2n) {
        border-right: none;
    }

    .partner-logo-item:nth-child(4),
    .partner-logo-item:nth-child(5) {
        border-bottom: none;
    }

    .partner-logo-item img {
        width: 110px;
        height: 50px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .partner-logo-item {
        height: 70px;
        padding: 8px;
    }

    .partner-logo-item img {
        width: 100px;
        height: 45px;
    }

}


/* awards */
.awards-row {
    row-gap: 30px;
}

.award-card {
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.award-image-box {
    height: 330px;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.award-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.award-content {
    min-height: 110px;
    padding: 22px 25px;
    display: flex;
    align-items: flex-start;
}
.award-content .title {
    margin: 0;
    color: #0a2a5e;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================
   PROJECT CAROUSEL - EQUAL IMAGE SIZE
========================================= */

.project-carousel-five .image-box {
    height: 280px;
    overflow: hidden;
}

.project-carousel-five .image-box .image {
    width: 100%;
    height: 100%;
    margin: 0;
}

.project-carousel-five .image-box .image a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-carousel-five .image-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.news-section .bg-shape {
    position: absolute;
    left: 0;
    top: 0;
    height: 50%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-image: url(../images/icons/shape-tm-8.png); */
    max-height: 530px;
    background-color: #0a2a5e !important;
}




/* FIX: AWARD IMAGES TOO SMALL */
/* Only affects the Awards section */

.awards-section .award-image-box {
    height: 330px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-section .award-image-box figure,
.awards-section .award-image-box figure a {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-section .award-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .awards-section .award-image-box {
        height: 300px;
    }
}
