/**
 * Bongdalu Banner – frontend styles
 * Render logic lives in bongdalu-banner.js.
 * Add zone-specific CSS here as zones are implemented.
 */

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

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

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

.bdl-slot-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.bdl-dual-wrapper {
    margin-top: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;

    .bdl-slot {
        width: 100%;

        ins, a {
            display: block;
            width: 100%;
        }
    }
    img {
        height: 60px;
    }
}

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

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

        img {
            max-height: 70px;
        }
    }
    
    .bdl-catfish-mb, #bdl_mobile_top_slot {
        display: none !important;
    }
}

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

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

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

        ins, ins a {
            width: 100%;
            display: block;
        }
        img {
            max-height: 50px;
            width: 100%;
        }
    }

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

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

        img {
            height: 50px;

        }
    }
}