/* ========================================
   TRAVEL TIM — SHARED VIDEO PLAYER
======================================== */

.tt-video {
    width: 100%;
    min-width: 0;
    margin: 0 0 24px;
}

/* Video container */

.tt-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

/* Embedded YouTube player */

.tt-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Vertical YouTube Shorts */

.tt-video-vertical {
    max-width: 360px;
}

.tt-video-vertical .tt-video-frame {
    aspect-ratio: 9 / 16;
}

/* Video title and YouTube link */

.tt-video-details {
    padding: 12px 2px;
}

.tt-video-details h3 {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    overflow-wrap: anywhere;
}

.tt-video-details a {
    display: inline-block;
    color: #d62828;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.tt-video-details a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */

@media (max-width: 600px) {

    .tt-video {
        max-width: 100%;
    }

    .tt-video-vertical {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .tt-video-details h3 {
        font-size: 16px;
    }

}