.hero-bg {
    position: relative;
    background-image:
        linear-gradient(
            rgba(5, 18, 28, 0.45),
            rgba(5, 18, 28, 0.45)
        ),
        url("news-banner.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 991.98px) {
    .hero-bg {
        min-height: 430px;
        background-position: center center;
    }
}

@media (max-width: 575.98px) {
    .hero-bg {
        min-height: 520px;
        background-position: center center;
    }

    .hero-bg h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-bg .lead {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* DIT Media Network - Instagram Reels */
.reels-grid .reel-card {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.reels-grid .reel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.13);
}

.reel-thumb-wrap {
    position: relative;
    aspect-ratio: 9 / 12;
    background: #111;
    overflow: hidden;
}

.reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 5px 20px rgba(0,0,0,.22);
}

.reel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .75rem;
}

.reel-caption {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

.reel-date {
    font-size: .8rem;
}

.reels-error {
    border-left: 4px solid #dc3545;
}

@media (max-width: 575.98px) {
    .reel-thumb-wrap {
        aspect-ratio: 9 / 12;
    }
}
