.design-x7 .x7-photo-story {
    isolation: isolate;
}

.design-x7 .x7-photo-story > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.design-x7 .x7-photo-story::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #081016e0, #08101688 28%, transparent 60%);
    pointer-events: none;
}

.design-x7 .x7-photo-story .photo-copy {
    position: absolute;
    z-index: 1;
    inset: clamp(24px, 4vw, 72px) max(30px, 7vw) auto auto;
    width: min(570px, 58%);
    color: #fff;
    text-shadow: 0 1px 7px #0009;
}

.design-x7 .x7-photo-story .photo-copy p {
    margin-block: 0;
    color: inherit;
    line-height: 1.55;
}

.design-x7 .x7-photo-story .eyebrow {
    display: block;
    margin-bottom: 10px;
    color: inherit;
}

.x7-story-copy {
    text-align: center;
    direction: rtl;
    padding-block: clamp(25px, 3vw, 50px);
    background: #f4f5f5;
    color: #1c2228;
}

.x7-story-copy .eyebrow {
    color: #555e68;
}

.x7-story-copy .eyebrow:empty,
.x7-story-copy p:empty {
    display: none;
}

.x7-story-copy h2 {
    font-size: clamp(24px, 2.7vw, 42px);
    font-weight: 500;
    line-height: 1.25;
    margin: 10px 0 14px;
}

.x7-story-copy p {
    max-width: 54rem;
    margin: 0 auto;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.7;
    color: #34414b;
}

.x7-story-copy p + p {
    margin-top: .55em;
}

@media (max-width: 767px) {
    .design-x7 .x7-photo-story {
        display: flex;
        flex-direction: column;
        background: #121a22;
    }

    .design-x7 .x7-photo-story::before {
        content: none;
    }

    .design-x7 .x7-photo-story .photo-copy {
        position: static;
        order: -1;
        width: auto;
        padding: 24px max(20px, 5vw);
        text-shadow: none;
    }
}
