/* Hero video block: replaces the static illustration with the uploaded
   video and overlays a caption directly on top of the video, as requested. */

.hero-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(16, 144, 203, 0.25);
    line-height: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.hero-video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    color: #fff;
}

.hero-video-caption p {
    color: #fff;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.hero-video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(16, 144, 203, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
}

@media (max-width: 991px) {
    .hero-video-wrap video {
        max-height: 280px;
    }
}

/* Active nav link + small admin-message alert helpers */
.link.active {
    color: var(--mainColor);
    font-weight: 700;
}
