.vlp-hero-video,
.vlp-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 0;
    height: 100%;
    width: 100%;
}

.vlp-hero-content,
.vlp-hero-video-control {
    position: relative;
    z-index: 1;
}

.vlp-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    height: auto;
    max-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1440 / 600;
}

/* Gradient overlay */
.vlp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 54%) 1%, rgb(0 0 0 / 0%) 100%);
    z-index: 1;
}

/* === CONTENT === */
.vlp-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    width: 100%;
}

.vlp-hero-content.container {
    padding-bottom: 64px;
}

.vlp-main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
}

.vlp-hero-year {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 16px;
    flex: 1 0 0;
}

.vlp-hero-tab-item {
    font-family: "HyundaiSansText-Medium";
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    padding: 12px 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.vlp-hero-tab-item:hover {
    opacity: 1;
}

.vlp-hero-tab-item.active {
    border-bottom: 2px solid #00a2c7;
    opacity: 1;
}

.vlp-hero-tab-item.active .vlp-date {
    position: relative;
    top: 2px;
    font-weight: 500;
}

.vlp-hero-title-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.vlp-hero-model {
    color: #fff;
    font-family: "HyundaiSansHead-Medium";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 56px;
    max-width: 600px;
}

.vlp-hero-description {
    color: #fff;
    font-family: "HyundaiSansHead-Regular";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    max-width: 600px;
}

.vlp-caption-container {
    max-width: 450px;
}

.vlp-hero-caption {
    color: #fff;
    font-family: "HyundaiSansText-Regular";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.vlp-controler-text {
    color: #fff;
    font-family: "HyundaiSansText-Bold";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
}

/* === VIDEO CONTROL BUTTON === */
.vlp-hero-video-control {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 80px 64px 0;
    border-radius: 4px;
    z-index: 2;
}

.vlp-hero-video-button {
    display: flex;
    font-family: "HyundaiSansText-Bold";
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    border: none;
    cursor: pointer;
    background: rgba(0 0 0 / 54%);
    padding: 4px 8px;
    align-items: flex-start;
    gap: 4px;
    border-radius: 4px;
}

.vlp-hero-video-button .icon-pause-circle,
.vlp-hero-video-button .icon-play-circle {
    width: 16px;
    height: 16px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 16px;
    border: 1px solid white;
    border-radius: 50%;
}

.vlp-date {
    color: #fff;
    font-family: "HyundaiSansText-Regular";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.vlp-hero-content.author-fix {
    padding: 0 80px 64px;
    margin: 0;
}

@media (max-width: 767px) {
    .vlp-hero {
        flex-direction: column;
        aspect-ratio: 375 / 480;
    }

    .vlp-hero-title-lockup {
       width: 100%;
    }

    .vlp-hero-content {
        align-items: center;
        justify-content: flex-end;
        position: absolute;
        gap: 8px;
        bottom: 0;
        width: 100%;
        padding: 0 16px 24px;
    }

    .vlp-hero-image,
    .vlp-hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .vlp-caption-container {
        width: 100%;
        display: flex;
        margin-top: 16px;
        max-width: none;
    }

    .vlp-hero-year {
        width: 100%;
        justify-content: flex-start;
    }

    .vlp-hero-video-control {
        padding: 0 16px 24px 0;
            right: 10px;
            top: 20px;
    }

    .vlp-hero-description {
        font-size: 18px;
        line-height: 24px;
        max-width: 300px;
    }

    .vlp-hero-model {
        font-size: 32px;
        line-height: 40px;
        max-width: none;
    }

    .vlp-hero-caption {
        font-size: 11px;
        line-height: 14px;
    }

    .vlp-hero-tab-item {
        padding: 8px 4px;
    }
    
    .vlp-hero-video-button {
        padding: 8px;
    }
 
}

@media (min-width: 768px) and (max-width: 1199px) {
    .vlp-hero-description {
        font-size: 20px;
        line-height: 28px;
        max-width: 500px;
    }
    
    .vlp-hero {
        flex-direction: column;
        aspect-ratio: 768 / 360;
    }

    .vlp-hero-content { 
        gap: 8px;
        padding: 32px 0 32px 40px;
    }

    .vlp-hero-content.container{
        padding: 32px 0 32px 40px;
    }

    .vlp-hero-year {
        gap: 4px;
    }

    .vlp-caption-container {
        margin-top: 12px;
        max-width: 415px;
    }

    .vlp-hero-model {
        font-size: 40px;
        line-height: 48px;
        max-width: 500px;
    }

    .vlp-hero-video-control {
        padding: 0 40px 32px 0;
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .vlp-hero {
        aspect-ratio: 3 / 1;
    }
}