.image-banner-section {
    --image-banner-height: 750px;
    --image-banner-overlay-opacity: 0;
}

.image-banner-section.small {
    --image-banner-height: 450px;
}

.image-banner-section.big {
    --image-banner-height: 1080px;
}

.image-banner-section.adapt {
    --image-banner-height: auto !important;
}

@media (max-width: 959px) {
    .image-banner-section {
        --image-banner-height: 450px;
    }

    .image-banner-section.small {
        --image-banner-height: 250px;
    }

    .image-banner-section.big {
        --image-banner-height: 600px;
    }
}

.image-banner-section {
    position: relative;
    height: auto;
    background-color: rgb(var(--color-background));
}

.image-banner-section .subheading {
    font-family: var(--sort-body-font);
    font-weight: 300;
    line-height: var(--sort-body-line-height);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    word-break: break-word;
}

.image-banner-section .block-description {
    font-weight: 300;
}

.image-banner-section .block-heading,
.image-banner-section .subheading,
.image-banner-section .block-description {
    color: rgb(var(--color-text));
}

.image-banner__image {
    display: flex;
    flex-flow: row nowrap;
    gap: 0;
    width: 100%;
}

.image-banner__image-item {
    position: relative;
    width: 100%;
    height: var(--image-banner-height);
}

.image-banner__image-item img,
.image-banner__image-item svg {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.image-banner__image-item::after {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    content: "";
    user-select: none;
    background-color: rgba(0, 0, 0, var(--image-banner-overlay-opacity));
}

a.image-banner__image-url {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.image-banner__carousel-track>li::after {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    content: "";
    user-select: none;
    background-color: rgba(0, 0, 0, var(--image-banner-overlay-opacity));
}

.image-banner__content {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 4;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.image-banner__container>* {
    pointer-events: auto;
}

.image-banner__container--show-bg {
    background-color: rgb(var(--color-background));
}

.image-banner-section.content-below .image-banner__content {
    position: relative;
    height: auto;
    pointer-events: auto;
}

.image-banner-section:not(.content-below) .image-banner__container:not(.image-banner__container--show-bg) .block-button-group {
    --color-button-secondary-border: 255, 255, 255;
    --color-button-secondary-background: 255, 255, 255, 0;
    --color-button-secondary-text: 255, 255, 255;
    --color-button-background: 255, 255, 255;
    --color-button-text: var(--color-text);
}

.image-banner-section:not(.content-below) .image-banner__container:not(.image-banner__container--show-bg) .block-heading,
.image-banner-section:not(.content-below) .image-banner__container:not(.image-banner__container--show-bg) .subheading,
.image-banner-section:not(.content-below) .image-banner__container:not(.image-banner__container--show-bg) .block-description {
    --color-text: 255, 255, 255;
}

/* 确保移动端和桌面端的响应式显示隐藏正常工作 */
@media (max-width: 959px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 960px) {
    .hidden-desktop {
        display: none !important;
    }
}