#page_index #index_logos.home-awards {
    position: relative;
    z-index: 2;
    margin: 24px 0 56px;
}

.home-awards *,
.home-awards *::before,
.home-awards *::after {
    box-sizing: border-box;
}

.home-awards__panel {
    padding: 12px 0;
}

.home-awards__heading,
.home-awards__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-awards__heading {
    margin-bottom: 24px;
}

.home-awards__eyebrow {
    margin: 0 0 7px;
    color: #526846;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-awards h2 {
    margin: 0;
    color: #263629;
    font-family: var(--smpls-font-secondary, Raleway, sans-serif);
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.3;
}

.home-awards__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--smpls-color-theme, #075108);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-awards__link:hover {
    color: #263629;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-awards__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 6);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-awards__rail::-webkit-scrollbar {
    display: none;
}

.home-awards__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 20px 12px 18px;
    scroll-snap-align: start;
}

.home-awards__item img {
    display: block;
    flex: 0 0 76px;
    width: 100%;
    max-width: 180px;
    height: 76px;
    object-fit: contain;
}

.home-awards__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    color: #596451;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.home-awards :is(a, [tabindex]):focus-visible {
    outline: 2px solid var(--smpls-color-theme, #075108);
    outline-offset: 3px;
}

/* Use the white curve below the hero instead of adding another empty band. */
@media (min-width: 1241px) {
    #page_index #index_hero_slider + #index_logos.home-awards {
        margin-top: -32px;
    }
}

@media (min-width: 1501px) {
    #page_index #index_hero_slider + #index_logos.home-awards {
        margin-top: -96px;
    }
}

@media (max-width: 1199px) {
    .home-awards__rail {
        grid-auto-columns: calc((100% - 36px) / 4);
    }
}

@media (max-width: 767px) {
    #page_index #index_logos.home-awards {
        margin: 48px 0 36px;
    }

    .home-awards__panel {
        padding: 8px 0;
    }

    .home-awards__heading {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 18px;
        text-align: center;
    }

    .home-awards__actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .home-awards__rail {
        grid-auto-columns: calc((100% - 24px) / 2.15);
    }

    .home-awards__item {
        gap: 10px;
        padding: 16px 10px 12px;
    }

    .home-awards__item img {
        flex-basis: 64px;
        height: 64px;
    }

    .home-awards__item span {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-awards * {
        transition: none !important;
    }
}
