.news-grid-container {
    margin-top: 5.347vw;
}

.news-grid-parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5.347vw;
    margin-bottom: 5.347vw;
    grid-auto-rows: minmax(min-content, max-content);
}

/* First post (1) */
.news-grid-item-1 {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 31.25vw;
}

/* Second post (2) */
.news-grid-item-2 {
    grid-column: 1;
    grid-row: 2 / 4;
    height: 55.556vw;
}

/* Third post (3) */
.news-grid-item-3 {
    grid-column: 2;
    grid-row: 2;
    height: 32.014vw;
}

/* Fourth post (4) */
.news-grid-item-5 {
    grid-column: 1;
    grid-row: 4;
    height: 38.958vw;
}

/* Fifth post (5) */
.news-grid-item-4 {
    grid-column: 2;
    grid-row: 3 / 5;
    height: 55.556vw;
}

/* Sixth post (6) */
.news-grid-item-6 {
    grid-column: 1;
    grid-row: 5;
    height: 32.014vw;
}

/* Seventh post (7) */
.news-grid-item-7 {
    grid-column: 2;
    grid-row: 5;
    height: 38.958vw;
}

/* Second set of posts */
.news-grid-item-8 {
    grid-column: 1 / -1;
    grid-row: 6;
    height: 31.25vw;
}

.news-grid-item-9 {
    grid-column: 1;
    grid-row: 7 / 9;
    height: 55.556vw;
}

.news-grid-item-10 {
    grid-column: 2;
    grid-row: 7;
    height: 32.014vw;
}

.news-grid-item-11 {
    grid-column: 1;
    grid-row: 9;
    height: 38.958vw;
}

.news-grid-item-12 {
    grid-column: 2;
    grid-row: 8 / 10;
    height: 55.556vw;
}

.news-grid-item-13 {
    grid-column: 1;
    grid-row: 10;
    height: 32.014vw;
}

.news-grid-item-14 {
    grid-column: 2;
    grid-row: 10;
    height: 38.958vw;
}

.news-grid-item {
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;   
}

.news-grid-item h2 {
    max-width: 80%;
}

.news-grid-item .post-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 100%;
}

.news-post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-post-category {
    align-self: flex-end;
    margin-top: var(--spacing-32);
    margin-right: var(--spacing-32);
    display: flex;
    padding: 9px 14px 7px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--dark-blue);
    text-transform: uppercase;
    border-radius: 50px;
    font-weight: 500;
    position: relative;
    font-family: 'Martell', sans-serif;
    font-size: 11px;
}

.news-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-post-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.blog .hero-wrapper, 
.archive .hero-wrapper {
    justify-content: center;
    flex-direction: column;
}

.blog .hero-cpt, 
.archive .hero-cpt {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

.news-grid {
    position: relative;
    background-color: var(--white);
}

@media (max-width: 991px) {
    .news-content {
        padding: 16px;
    }

    .news-content .h3, .news-content .h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .news-details .subtitle {
        margin-bottom: 0px;
        font-size: 11px;
    }

    .news-post-category {
        margin-top: 16px;
        margin-right: 16px;
        padding: 6px 14px 5px;
    }
}

@media (max-width: 991px) { 
    .news-grid-parent {
        gap: 21px;
    }
}

@media (max-width: 767px) {
    .news-grid-parent {
        grid-template-columns: 1fr;
    }

    .news-grid-item,
    .news-grid-item-1,
    .news-grid-item-2,
    .news-grid-item-3,
    .news-grid-item-4,
    .news-grid-item-5,
    .news-grid-item-6,
    .news-grid-item-7,
    .news-grid-item-8,
    .news-grid-item-9,
    .news-grid-item-10,
    .news-grid-item-11,
    .news-grid-item-12,
    .news-grid-item-13,
    .news-grid-item-14 {
        grid-column: 1;
        grid-row: auto;
        height: 118.667vw;
    }
}