.strip {
    padding-top: 1rem;
    height: 95%;
    visibility: hidden;
}

.scroll-hint {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #333333;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-hint.hidden {
    opacity: 0;
}

.image-panel {
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-object {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-object img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    left: calc(100% + 2rem);
    bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #333333;
    min-width: 12rem;
}

.image-object.image-size-75 img {
    max-height: 75%;
}

.image-object.image-size-75 .image-caption {
    bottom: 12.5%;
}

.image-object.caption-below {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.image-object.caption-below img {
    max-height: calc(100% - 4rem);
    width: auto;
}

.image-object.caption-below .image-caption {
    position: static;
    font-size: 1rem;
    line-height: 1.4;
    color: #333333;
    text-align: center;
    width: auto;
    min-width: 0;
    padding-top: 0;
}

.text-panel {
    width: 40%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-panel p {
    width: 100%;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.5;
}

.text-panel p + p {
    margin-top: 3rem;
}

.fixed-spacer {
    width: 30%;
    height: 100%;
    flex-shrink: 0;
}

.first-spacer {
    width: var(--first-spacer-width, 0px);
    height: 100%;
    flex-shrink: 0;
}

.second-spacer {
    width: var(--second-spacer-width, 0px);
    height: 100%;
    flex-shrink: 0;
}

.third-spacer {
    width: max(0px, calc(var(--second-spacer-width, 0px) - 6rem));
    height: 100%;
    flex-shrink: 0;
}

.end-spacer {
    width: var(--end-spacer-width, 0px);
    height: 100%;
    flex-shrink: 0;
}

@media (max-width: 800px) {
    .strip {
        height: 100%;
        padding-top: 0;
        scroll-snap-type: x mandatory;
    }

    .image-panel,
    .text-panel {
        width: 100%;
        padding: 1rem;
        scroll-snap-align: center;
    }

    .image-object {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .image-object img {
        max-width: 100%;
        max-height: calc(100% - 5rem);
        width: auto;
        height: auto;
    }

    .image-caption {
        position: static;
        min-width: 0;
        margin-top: 1rem;
        font-size: 0.9rem;
        line-height: 1.35;
        text-align: center;
    }

    .image-object.image-size-75 img {
        max-height: calc(100% - 5rem);
    }

    .image-object.image-size-75 .image-caption {
        bottom: auto;
    }

    .image-object.caption-below {
        gap: 1rem;
    }

    .image-object.caption-below img {
        max-height: calc(100% - 4rem);
    }

    .text-panel {
        height: 100%;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 2rem 1.25rem 4rem 1.25rem;        
    }

    .text-panel p {
        width: 100%;
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .text-panel p + p {
        margin-top: 1.5rem;
    }

    .fixed-spacer,
    .first-spacer,
    .second-spacer,
    .third-spacer,
    .end-spacer {
        width: 1rem;
        min-width: 1rem;
    }

    .scroll-hint {
        right: 1rem;
        bottom: 1rem;
        top: auto;
        transform: none;
        font-size: 0.9rem;
    }
}