/* ==========================================================================
   1. Subway Line (Main Track)
   ========================================================================== */
.vvt-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding-left: 80px; /* More space for thick subway features */
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Clean transit font */
}

.vvt-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 36px; /* Centered with the station dots */
    height: 100%;
    width: 12px; /* Thick subway track */
    background: #0039A6; /* Classic Metro Blue */
    border-radius: 6px;
}

/* ==========================================================================
   2. Subway Station (Timeline Item & Dot)
   ========================================================================== */
.vvt-timeline-item {
    position: relative;
    margin-bottom: 60px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
}

.vvt-timeline-dot {
    position: absolute;
    left: -58px; /* Position over the track */
    top: 20px; 
    width: 28px; /* Large station node */
    height: 28px;
    background: #fff;
    border: 7px solid #0039A6; /* Match track color */
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ==========================================================================
   3. Content Block (Station Info)
   ========================================================================== */
.vvt-timeline-content {
    position: relative;
    flex-grow: 1;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 2px solid #eaeaea;
}

/* The pointer connecting box to the station node */
.vvt-timeline-content::before {
    content: '';
    position: absolute;
    top: 24px; 
    left: -18px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 18px solid #fff; 
    z-index: 1;
}

.vvt-timeline-content::after {
    content: '';
    position: absolute;
    top: 24px; 
    left: -21px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 18px solid #eaeaea; 
    z-index: 0;
}

/* Station Signage Title */
.vvt-station-name {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
    color: #111;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #0039A6;
    padding-bottom: 10px;
    display: inline-block;
}

/* ==========================================================================
   4. Thumbnail & Overlays (Square Style)
   ========================================================================== */
.vvt-video-trigger {
    position: relative;
    width: 150px; 
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    border: 3px solid #fff;
    outline: 2px solid #eee;
}

.vvt-video-trigger:hover {
    transform: scale(1.05);
}

.vvt-video-trigger::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.1);
    transition: 0.3s;
    z-index: 1;
}
.vvt-video-trigger:hover::before {
    background: rgba(0,0,0,0.4);
}

/* Play & Zoom Buttons */
.vvt-play-btn, .vvt-zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px; 
    color: #fff;
    background: rgba(0, 57, 166, 0.9); /* Metro Blue */
    width: 45px;  
    height: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 2; 
}

.vvt-play-btn { padding-left: 3px; }

/* Text Content */
.vvt-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    clear: both; 
}

/* ==========================================================================
   5. Lightbox Modal 
   ========================================================================== */
.vvt-lightbox {
    display: none;
    position: fixed;
    z-index: 100000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.vvt-lightbox-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    width: 90%;
    max-width: 1000px;
}

.vvt-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.vvt-video-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.vvt-video-wrapper video,
.vvt-video-wrapper img {
    width: 100%;
    max-height: 85vh; 
    background: transparent;
    display: block;
    border-radius: 4px;
    object-fit: contain; /* Prevents image distortion */
}

/* ==========================================================================
   6. Load More Button & Mobile
   ========================================================================== */
.vvt-load-more-container {
    padding-left: 80px; 
}

#vvt-load-more {
    background-color: #0039A6;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#vvt-load-more:hover {
    background-color: #002266;
}

@media only screen and (max-width: 767px) {
    .vvt-timeline-container { padding-left: 50px; }
    .vvt-timeline-container::before { left: 24px; width: 8px; }
    .vvt-timeline-dot { left: -36px; top: 22px; width: 20px; height: 20px; border-width: 5px; }
    .vvt-load-more-container { padding-left: 50px; }
}