.bn-hero-carousel {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.bn-hero-track {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    min-height: 380px;
}

.bn-hero-slide {
    display: none;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    background: #fff;
}

.bn-hero-slide.active {
    display: grid;
}

.bn-hero-slide-link {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.bn-hero-slide-image {
    background: #eee;
    min-height: 380px;
}

.bn-hero-slide-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.bn-hero-slide-text {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bn-hero-slide-text h1 {
    font-size: 28px;
    line-height: 1.4;
    margin: 12px 0;
}

.bn-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
}

.bn-hero-nav:hover { background: rgba(0,0,0,0.75); }
.bn-hero-prev { left: 32px; }
.bn-hero-next { right: 32px; }

.bn-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.bn-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bn-hero-dot.active { background: #b30000; }

@media (max-width: 800px) {
    .bn-hero-track { min-height: 260px; }
    .bn-hero-slide-link,
    .bn-hero-slide { grid-template-columns: 1fr; }
    .bn-hero-slide-image,
    .bn-hero-slide-image img { min-height: 220px; }
    .bn-hero-slide-text { padding: 16px; }
    .bn-hero-slide-text h1 { font-size: 20px; }
    .bn-hero-nav { width: 32px; height: 32px; font-size: 18px; }
    .bn-hero-prev { left: 10px; }
    .bn-hero-next { right: 10px; }
}

/* ===== Style: Overlay (পুরো ছবির উপর লেখা - ম্যাগাজিন স্টাইল) ===== */
.bn-hero-style-overlay .bn-hero-track { min-height: 420px; }

.bn-hero-style-overlay .bn-hero-slide-link,
.bn-hero-style-overlay .bn-hero-slide.active {
    grid-template-columns: 1fr;
    position: relative;
}

.bn-hero-style-overlay .bn-hero-slide-image,
.bn-hero-style-overlay .bn-hero-slide-image img {
    min-height: 420px;
    height: 420px;
}

.bn-hero-style-overlay .bn-hero-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: #fff;
}

.bn-hero-style-overlay .bn-hero-slide-text h1 {
    color: #fff;
}

.bn-hero-style-overlay .post-time {
    color: #ddd;
}

@media (max-width: 800px) {
    .bn-hero-style-overlay .bn-hero-track,
    .bn-hero-style-overlay .bn-hero-slide-image,
    .bn-hero-style-overlay .bn-hero-slide-image img {
        min-height: 300px;
        height: 300px;
    }
    .bn-hero-style-overlay .bn-hero-slide-text {
        padding: 24px 16px 16px;
    }
}
