/* ============================================================
   Banner Component Styles
   ============================================================ */

.banner-section {
    --banner-primary: var(--primary-color, var(--bs-primary, #0d6efd));
    --banner-secondary: var(--secondary-color, var(--bs-secondary, #6c757d));
    --banner-surface: var(--bs-body-bg, #ffffff);
    --banner-surface-muted: var(--bs-light, #f8f9fa);
    --banner-border: var(--bs-border-color, #dee2e6);
    --banner-text: var(--bs-body-color, #212529);
    --banner-text-muted: var(--bs-secondary-color, #6c757d);
    --banner-radius: 0.85rem;

    position: relative;
    overflow: hidden;
    background: var(--banner-surface-muted);
}

.banner-grid {
    position: relative;
    z-index: 1;
}

.banner-decor-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.2;
}

.banner-decor-1 {
    width: 260px;
    height: 260px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, var(--banner-primary) 0%, rgba(0, 0, 0, 0) 70%);
}

.banner-decor-2 {
    width: 220px;
    height: 220px;
    bottom: -90px;
    right: -70px;
    background: radial-gradient(circle, var(--banner-secondary) 0%, rgba(0, 0, 0, 0) 70%);
}

.banner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--banner-surface);
    border: 1px solid var(--banner-border);
    border-radius: var(--banner-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.banner-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--banner-surface-muted);
    border-bottom: 1px solid var(--banner-border);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: revert;
    /* object-fit: cover; */
    object-position: center center;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.banner-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.banner-title {
    margin: 0;
    color: var(--banner-text);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
}

.banner-description {
    margin: 0;
    color: var(--banner-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    word-break: break-word;
}

.banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.banner-actions .btn {
    padding: 0.42rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
}

.banner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--banner-text-muted);
    text-align: center;
    padding: 1rem;
}

.banner-placeholder i {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.banner-placeholder p {
    margin: 0;
    font-size: 0.88rem;
}

.fallback-banner .banner-image-container {
    background: var(--banner-surface-muted);
}

@media (max-width: 575.98px) {
    .banner-decor-1,
    .banner-decor-2 {
        width: 170px;
        height: 170px;
        opacity: 0.16;
    }

    .banner-content {
        padding: 0.9rem;
    }

    .banner-title {
        font-size: 1rem;
    }

    .banner-description {
        font-size: 0.88rem;
    }

    .banner-actions .btn {
        flex: 1 1 100%;
    }
}

@media (min-width: 1200px) {
    .banner-content {
        padding: 1.1rem 1.2rem 1.2rem;
    }

    .banner-title {
        font-size: 1.15rem;
    }
}
