/* Plans: the design's rotated photo (box 1563×1058 centred at 873.62/301 of the card, image rotated 4.24°).
   plans.js tilts/zooms .znh-plans__photo with transform; parallax moves it with translate (--py). */
.znh-plans__photo {
    position: absolute;
    top: -228.1115px;
    left: 91.904px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1563.432px;
    height: 1058.223px;
    translate: 0 var(--py, 0px);
}

.znh-plans__rot {
    position: relative;
    flex: none;
    width: 1497.267px;
    height: 950.092px;
    transform: rotate(4.24deg);
}

/* the design balances this paragraph's lines */
.znh .znh-plans .znh-panel__body {
    text-wrap: balance;
}

.znh .znh-plans__img {
    position: absolute;
    top: .03%;
    left: .01%;
    width: 99.98%;
    height: 99.94%;
    max-width: none;
}

@media (max-width: 899px) {
    .znh-plans {
        margin-top: 18px;
    }

    .znh-plans .znh-dark {
        height: 625px;
        border-radius: 18px;
        background: #000;
    }

    .znh-plans .znh-dark__media {
        bottom: auto;
        height: 380px;
    }

    .znh-plans__photo {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        translate: none;
    }

    .znh-plans__rot {
        width: 120%;
        height: 120%;
    }

    .znh .znh-plans__img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 44% 40%;
        transform: scale(1.3);
    }

    .znh-plans .znh-dark::after {
        content: "";
        position: absolute;
        top: 250px;
        right: 0;
        left: 0;
        z-index: 1;
        height: 131px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000);
        pointer-events: none;
    }

    .znh-plans .znh-dark__copy {
        z-index: 2;
        justify-content: flex-end;
        padding: 0 15.5px 51px;
    }

    .znh-plans .znh-panel__text {
        margin-bottom: 24px;
    }

    .znh-plans .znh-panel__title {
        width: 225px;
    }

    .znh-plans .znh-btn {
        width: 100%;
    }
}
