.gs-latest-posts {
    --gs-latest-navy: #002b49;
    --gs-latest-orange: #ff5000;
    --gs-latest-gap: clamp(16px, 4.11vw, 74px);
    box-sizing: border-box;
    width: 100%;
    padding: clamp(48px, 5.1vw, 92px) 20px clamp(56px, 5.9vw, 106px);
    background: var(--gs-latest-navy);
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    text-align: center;
}

.gs-latest-posts .gs-latest-posts__heading {
    margin: 0 0 clamp(32px, 4.75vw, 86px);
    color: inherit;
    font-family: inherit;
    font-size: clamp(24px, 3.3vw, 36px);
    font-weight: 100;
    line-height: 1.16;
    text-transform: uppercase;
}

.gs-latest-posts .gs-latest-posts__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 32px var(--gs-latest-gap);
    max-width: 982px;
    margin: 0 auto;
}

.gs-latest-posts .gs-latest-posts__card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - var(--gs-latest-gap) - var(--gs-latest-gap)) / 3);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 278px;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    color: var(--gs-latest-navy);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}

.gs-latest-posts .gs-latest-posts__media {
    position: relative;
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 278 / 230;
    border-bottom: 9px solid var(--gs-latest-orange);
    background: #e5eaed;
}

.gs-latest-posts .gs-latest-posts__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.gs-latest-posts .gs-latest-posts__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 26px 23px 35px;
    overflow-wrap: anywhere;
}

.gs-latest-posts .gs-latest-posts__title,
.gs-latest-posts .gs-latest-posts__excerpt {
    color: inherit;
    font-family: inherit;
    line-height: 1.35;
}

.gs-latest-posts .gs-latest-posts__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 400;
}

.gs-latest-posts .gs-latest-posts__excerpt {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 300;
}

.gs-latest-posts .gs-latest-posts__button {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 45px;
    max-width: 100%;
    margin: auto 0 0;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--gs-latest-orange);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.gs-latest-posts .gs-latest-posts__button:hover {
    background: #df4600;
    color: #fff;
}

.gs-latest-posts .gs-latest-posts__button:focus-visible {
    outline: 2px solid var(--gs-latest-navy);
    outline-offset: 3px;
}

@media (max-width: 859px) {
    .gs-latest-posts .gs-latest-posts__card {
        flex-basis: calc((100% - var(--gs-latest-gap)) / 2);
    }
}

@media (max-width: 529px) {
    .gs-latest-posts .gs-latest-posts__card {
        flex-basis: 100%;
    }
}
