
/* Világvelünk – galéria kiegészítő szövegek és kattintásra betöltődő videó */
.vv-gallery-story-items {
    width: 100%;
    max-width: 860px;
    margin: 24px auto;
    display: grid;
    gap: 20px;
    text-align: left;
}
.vv-gallery-story-item { min-width: 0; overflow-wrap: anywhere; }
.vv-gallery-story-item__title { margin: 0 0 8px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; }
.vv-gallery-story-item__text { font-size: 16px; line-height: 1.75; white-space: normal; }
.vv-trip-video { padding: clamp(28px, 5vw, 64px) 0; }
.vv-trip-video__title { margin: 0 0 24px; text-align: center; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.vv-trip-video__player {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    background: #182c30;
    box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}
.vv-trip-video__player--portrait { max-width: 420px; aspect-ratio: 9 / 16; }
.vv-trip-video__player > iframe,
.vv-trip-video__player > .vv-trip-video__facade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
}
.vv-trip-video__player > .vv-trip-video__facade {
    cursor: pointer;
    color: #fff;
    background: #182c30;
    text-transform: none;
    letter-spacing: normal;
}
.vv-trip-video__facade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgb(0 0 0 / 65%));
    pointer-events: none;
}
.vv-trip-video__facade > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.vv-trip-video__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 76px;
    height: 56px;
    border-radius: 16px;
    background: #c62020;
    box-shadow: 0 4px 20px rgb(0 0 0 / 25%);
}
.vv-trip-video__play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #fff;
}
.vv-trip-video__label { position: absolute; z-index: 1; bottom: 20px; left: 12px; right: 12px; text-align: center; font-size: 16px; line-height: 1.5; font-weight: 600; }
.vv-trip-video__facade:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.vv-trip-video__facade:hover .vv-trip-video__play { background: #a61818; }
@media (max-width: 767px) {
    .vv-trip-video__player--portrait { max-width: none; }
    .vv-trip-video__player { border-radius: 12px; }
    .vv-gallery-story-items { margin-block: 20px; gap: 16px; }
}

/* Laptop/desktop: compact video, bounded by available viewport height. Mobile stays unchanged. */
@media (min-width: 768px) {
    .vv-trip-video { padding-block: 28px; }
    .vv-trip-video__title { margin-bottom: 16px; }
    .vv-trip-video__player { max-width: 720px; width: min(100%, 720px, calc((100vh - 220px) * 1.7777778)); }
    .vv-trip-video__player--portrait { max-width: 315px; width: min(100%, 315px, calc((100vh - 220px) * .5625)); }
}
