/**
 * Bongdaso Banner – frontend styles
 * Render logic lives in bongdaso-banner.js.
 */

/* ── Banner containers ───────────────────────────────────────── */
.bds-slot {
    display: block;
    text-align: center;
}

.bds-slot a {
    display: inline-block;
    line-height: 0;
}

.bds-slot img {
    width: 100%;
    height: auto;
    display: block;
}

.bds-slot-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

/* ── Top Banner – .row.header-banners ────────────────────────── */
.bds-dual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;

    .bds-slot {
        width: 100%;

        ins, a {
            display: block;
            width: 100%;
        }
    }

    img {
        height: 65px;
    }

    .bds-slot--single img {
        height: 65px;
    }
}

/* ── Catfish (fixed bottom bar) ──────────────────────────────── */
.bds-catfish {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

.bds-catfish > * {
    pointer-events: auto;
}

.sport_theme_banner_before_content {
    margin: 0 -15px 10px;
}

.banner_show_mobile_bongdaso {
    margin: 10px -6px 10px;

    .banner_top_mb {
        margin-bottom: 4px;
    }
}


@media (min-width: 960px) {
    .bds-catfish-pc {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 730px;
        margin: auto;
        gap: 4px;

        .bds-slot, ins, ins a {
            width: 100%;
            display: block;
        }

        img {
            max-height: 60px;
            width: auto;
            margin: auto;
        }
    }

    .bds-catfish-mb, #bds_mobile_top_slot,
    .banner_show_mobile_bongdaso {
        display: none !important;
    }
}

@media (max-width: 959px) {
    .bds-catfish-pc, .bds-dual-wrapper {
        display: none !important;
    }

    .bds-catfish-mb {
        bottom: 0;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;

        .bds-slot {
            width: calc(100% - 20px);
            margin: 0 10px 4px;
        }

        ins, ins a {
            width: 100%;
            display: block;
        }

        img {
            max-height: 55px;
            width: 100%;
        }
    }

    #bds_mobile_top_slot {
        margin: 0 10px;
        display: flex;
        flex-direction: column;
        gap: 4px;

        ins, ins a {
            width: 100%;
            display: block;
        }

        img {
            height: 55px;
        }
    }
}
