.vn-journey-section {
    height: auto;
    min-height: 0;
}

.vn-journey-section .vn-reference-heading {
    height: auto;
    padding: 0;
    margin-bottom: 32px;
}

.vn-journey-title-en {
    display: block;
    font-size: clamp(22px, 2.3vw, 35px);
    line-height: 1.3;
}

.vn-journey-title-vi {
    display: block;
    margin-top: 10px;
    font-family: var(--vn-font);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.vn-journey-section .vn-video-card {
    background: #111712;
}

.vn-video-card__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.vn-journey-section .vn-video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .16);
    pointer-events: none;
}

.vn-journey-section .vn-video-card::after {
    content: attr(data-caption);
    z-index: 2;
    width: calc(100% - 40px);
    max-width: 1000px;
    line-height: 1.55;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .9);
}

.vn-journey-section .vn-play-button {
    z-index: 2;
}

.vn-video-modal {
    z-index: 100000;
    padding: 56px 24px 24px;
}

.vn-video-modal .vn-video-modal__dialog {
    width: min(1000px, 100%);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    border-radius: 6px;
    background: #080b0f;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .4);
}

.vn-video-modal .vn-video-modal__close {
    display: grid;
    place-items: center;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    line-height: 1;
}

.vn-journey-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    aspect-ratio: 854 / 480;
    background: #000;
    object-fit: contain;
    border-radius: 6px 6px 0 0;
}

.vn-journey-help,
.vn-journey-error {
    margin: 0;
    padding: 10px 16px;
    color: #e3e8ed;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.vn-journey-help a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vn-journey-error {
    color: #ffd6bd;
}

.vn-journey-error[hidden] {
    display: none;
}

@media (max-width: 560px) {
    .vn-journey-title-en {
        font-size: 22px;
    }
    .vn-journey-title-vi {
        font-size: 16px;
    }
    .vn-journey-section .vn-video-card::after {
        bottom: 12px;
        font-size: 10px;
        letter-spacing: .025em;
        line-height: 1.45;
    }
    .vn-video-modal {
        padding: 56px 12px 20px;
    }
    .vn-journey-help,
    .vn-journey-error {
        padding: 10px 12px;
        font-size: 12px;
    }
}
