.bk-ad-wrap {
    box-sizing: border-box;
    clear: both;
    margin: 18px auto;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

.bk-ad-wrap .adsbygoogle {
    margin-left: auto;
    margin-right: auto;
}

.bk-ad-device-mobile {
    display: none;
}

.bk-ad-preview {
    width: min(var(--bk-ad-width, 100%), 100%);
    height: var(--bk-ad-height, 110px);
    min-height: 70px;
    max-height: 600px;
    border: 2px dashed rgba(117, 13, 18, .48);
    background: rgba(247, 239, 220, .72);
    color: #5b1518;
}

.bk-ad-preview-inner {
    width: 100%;
    height: 100%;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    box-sizing: border-box;
}

.bk-ad-preview-inner strong {
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bk-ad-preview-inner span,
.bk-ad-preview-inner small {
    display: block;
}

@media (max-width: 700px) {
    .bk-ad-device-desktop {
        display: none !important;
    }
    .bk-ad-device-mobile {
        display: block;
    }
    .bk-ad-wrap {
        margin: 14px auto;
    }
}


/* Public BeKhmer profile integration. */
.bk-profile-ad-slot {
    box-sizing: border-box;
    width: 100%;
    padding: 0 18px;
}

.bk-profile-ad-slot .bk-ad-wrap {
    max-width: 100%;
}

@media (max-width: 700px) {
    .bk-profile-ad-slot {
        padding-left: 12px;
        padding-right: 12px;
    }
}
