:root {
    --storefront-content-width: 82.5rem;
    --storefront-home-gap: clamp(0.875rem, 1.5vw, 1.25rem);
    --storefront-overlay: rgba(10, 24, 38, 0.86);
    --storefront-overlay-border: rgba(255, 255, 255, 0.28);
    --storefront-overlay-text: #fff;
}

#content.page-content--home {
    gap: var(--storefront-home-gap);
}

.home-page__heading {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--storefront-content-width);
    margin: 0 auto;
    padding-inline: var(--bs-gutter-x, 0.75rem);
}

.breadcrumb__wrapper,
.breadcrumb__wrapper .container,
.breadcrumb__wrapper .breadcrumb {
    min-width: 0;
}

.breadcrumb__wrapper .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.125rem;
}

.breadcrumb__wrapper .breadcrumb-item {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ps-imageslider__figcaption {
    right: auto;
    left: 50%;
    width: min(52rem, calc(100% - 2rem));
    padding: 0.875rem 1rem;
    color: var(--storefront-overlay-text);
    text-align: left;
    background: var(--storefront-overlay);
    border: 1px solid var(--storefront-overlay-border);
    border-radius: 0.5rem;
    transform: translateX(-50%);
}

.ps-imageslider__figcaption h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    line-height: 1.1;
}

.ps-imageslider__figcaption h3 {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.ps-imageslider__figcaption p {
    margin-bottom: 0.4rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.ps-imageslider__cta {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    min-height: 2.25rem;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 767.98px) {
    .home-page__heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.15;
    }

    .ps-imageslider__figcaption {
        right: 0.5rem !important;
        bottom: 0.5rem;
        left: 0.5rem !important;
        width: auto !important;
        max-width: none;
        padding: 0.5rem 0.625rem;
        text-align: left;
        transform: none !important;
    }

    .ps-imageslider__figcaption h2 {
        margin-bottom: 0;
        font-size: 0.875rem;
        line-height: 1.2;
        text-transform: none;
    }

    .ps-imageslider__description {
        display: none;
    }

    .ps-imageslider__cta {
        min-height: 2rem;
        margin-top: 0.15rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}
