/* Homepage trip CTA postcard collage only. */
.vm2-trip-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 12px;
    min-height: 365px;
    padding: 26px 38px 26px 58px;
}

.vm2-trip-cta-content {
    z-index: 4;
    min-width: 0;
    max-width: 620px;
    padding: 30px 8px;
}

.vm2-trip-cta-content h2 {
    max-width: 590px;
}

.vm2-trip-postcards {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(100%, 500px);
    height: 310px;
    margin: 0 8px 0 0;
}

.vm2-postcard {
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    padding: 8px 8px 31px;
    border: 1px solid rgba(67, 76, 65, .08);
    border-radius: 13px;
    background: #fffdf7;
    box-shadow: 0 17px 38px rgba(7, 42, 39, .28), 0 3px 9px rgba(7, 42, 39, .12);
}

.vm2-postcard picture {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #dce8df;
}

.vm2-postcard-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.vm2-postcard figcaption {
    position: absolute;
    right: 10px;
    bottom: 8px;
    left: 10px;
    overflow: hidden;
    color: #38534f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11px;
    font-style: italic;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm2-postcard--borobudur {
    z-index: 1;
    top: 4%;
    left: 3%;
    width: 62%;
    height: 83%;
    transform: rotate(-4deg);
}

.vm2-postcard--budaya {
    z-index: 2;
    top: 13%;
    right: 0;
    width: 45%;
    height: 65%;
    transform: rotate(4deg);
}

.vm2-postcard--kuliner {
    z-index: 3;
    bottom: 0;
    left: 24%;
    width: 54%;
    height: 61%;
    transform: rotate(2deg);
}

@media (max-width: 900px) {
    .vm2-trip-cta {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        min-height: 0;
        padding: 34px 34px 24px;
    }

    .vm2-trip-cta-content {
        max-width: 680px;
        padding: 8px 8px 0;
    }

    .vm2-trip-postcards {
        justify-self: center;
        width: min(100%, 470px);
        height: 290px;
        margin: 8px auto 0;
    }
}

@media (max-width: 700px) {
    .vm2-trip-cta {
        padding: 31px 18px 19px;
        border-radius: 20px;
    }

    .vm2-trip-cta-content {
        padding: 7px 8px 0;
    }

    .vm2-trip-cta-content h2 {
        font-size: 34px;
    }

    .vm2-trip-cta-content p {
        max-width: 38ch;
    }

    .vm2-trip-postcards {
        width: 100%;
        height: clamp(230px, 66vw, 276px);
        margin-top: 8px;
    }

    .vm2-postcard {
        padding: 6px 6px 27px;
        border-radius: 11px;
    }

    .vm2-postcard picture,
    .vm2-postcard-image {
        border-radius: 7px;
    }

    .vm2-postcard figcaption {
        right: 7px;
        bottom: 7px;
        left: 7px;
        font-size: 10px;
    }
}
