/* ================================================================
   BANNER STRIP SECTION
   Two low-height image banners per row, rounded, no text
   ================================================================ */

.bn-section {
    padding: 2.5rem 0;
    background: #ffffff;
    position: relative;
}

/* Grid — exactly 2 per row */
.bn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 0 0.25rem;
}

/* ================================================================
   BANNER ITEM
   ================================================================ */
.bn-item {
    display: block;
    position: relative;
    height: 170px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(2, 6, 24, 0.05);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    opacity: 0;
    transform: translateY(16px);
    animation: bnFadeIn 0.55s ease forwards;
}

.bn-item:nth-child(1) { animation-delay: 0.05s; }
.bn-item:nth-child(2) { animation-delay: 0.12s; }
.bn-item:nth-child(3) { animation-delay: 0.19s; }
.bn-item:nth-child(4) { animation-delay: 0.26s; }
.bn-item:nth-child(5) { animation-delay: 0.33s; }
.bn-item:nth-child(6) { animation-delay: 0.40s; }

@keyframes bnFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image fills the strip */
.bn-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover — lift, green edge, gentle zoom */
.bn-item:hover {
    transform: translateY(-4px);
    border-color: var(--main-green);
    box-shadow: 0 14px 30px rgba(0, 201, 80, 0.16);
}

.bn-item:hover img {
    transform: scale(1.05);
}

/* Thin accent line reveals on hover */
.bn-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-green), var(--main-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bn-item:hover::after {
    transform: scaleX(1);
}

/* Non-clickable banner (no URL) */
.bn-item.bn-static {
    cursor: default;
}

.bn-item.bn-static:hover {
    transform: none;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(2, 6, 24, 0.05);
}

.bn-item.bn-static:hover img {
    transform: none;
}

.bn-item.bn-static::after {
    display: none;
}

/* Keyboard focus */
.bn-item:focus-visible {
    outline: 3px solid var(--main-green);
    outline-offset: 3px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 991.98px) {
    .bn-section {
        padding: 2rem 0;
    }

    .bn-grid {
        gap: 1rem;
    }

    .bn-item {
        height: 140px;
        border-radius: 14px;
    }
}

/* Mobile — stack to one per row for readability */
@media (max-width: 575.98px) {
    .bn-section {
        padding: 1.5rem 0;
    }

    .bn-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 0 0.5rem;
    }

    .bn-item {
        height: 115px;
        border-radius: 12px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bn-item,
    .bn-item img,
    .bn-item::after {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}