/* Shared SEO image hero for non-home landing pages. */
.seo-image-hero {
    background: #f5f7fa;
    border-top: 1px solid #e5e7eb;
    overflow-x: hidden;
}

.seo-image-hero__inner {
    padding: 8px 18px;
}

.seo-image-hero__breadcrumb {
    color: #6b7280;
    font-size: 14px;
    position: relative;
}

.seo-image-hero .seo-image-hero__breadcrumb {
    margin: 0 0 16px !important;
    padding: 0 0 8px !important;
}

.seo-image-hero__breadcrumb::after {
    background: #e5e7eb;
    bottom: 0;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 100vw;
}

.seo-image-hero__breadcrumb a {
    color: #111827;
    text-decoration: none;
}

.seo-image-hero__breadcrumb a:hover {
    color: #00c569;
}

.seo-image-hero__images {
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 14px;
    overflow: hidden;
}

.seo-image-hero__image-item {
    background: #fff;
    display: block;
    min-width: 0;
    overflow: hidden;
}

.seo-image-hero__image-link {
    display: block;
}

.seo-image-hero__image-item img {
    display: block;
    height: 140px;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

a.seo-image-hero__image-link:hover img {
    transform: scale(1.025);
}

.seo-image-hero__description {
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
    line-height: 1.75;
    margin-top: 10px;
    padding: 16px 18px;
}

@media only screen and (min-width: 641px) {
    .seo-image-hero + .am-container > .landing-list-sidebar {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width: 640px) {
    .seo-image-hero__inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .seo-image-hero__images {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .seo-image-hero__image-item {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .seo-image-hero__image-item img {
        height: 132px;
    }

    .seo-image-hero__description {
        padding: 14px;
    }
}
