.k4com-ad-pair {
    width: 100%;
    margin: 22px auto;
    text-align: center;
}

.k4com-ad {
    box-sizing: content-box;
    position: relative;
    width: var(--ad-width);
    min-height: var(--ad-height);
    max-width: calc(100% - 24px);
    margin: 0 auto;
    padding: 17px 7px 7px;
    overflow: hidden;
    border: 1px solid rgba(16, 23, 47, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    line-height: 0;
    text-align: center;
}

.k4com-ad-frame {
    display: grid;
    min-height: var(--ad-height);
    place-items: center;
}

.k4com-ad iframe {
    display: block !important;
    max-width: 100%;
    margin: 0 auto;
    border: 0;
}

.k4com-ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    color: #8792a8;
    font: 9px/1.2 Arial, sans-serif;
    letter-spacing: .04em;
}

.k4com-ad-mobile { display: none; }
.k4com-ad-infeed { grid-column: 1 / -1; margin: 4px auto; }
.k4com-ad-content-end { margin-top: 28px; margin-bottom: 54px; }
.k4com-ad-sidebar { margin: 18px auto 0; }
.k4com-ad-rail {
    position: fixed;
    z-index: 18;
    top: 94px;
    left: 8px;
    display: none;
    margin: 0;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 35px rgba(16, 23, 47, .09);
}

.k4com-smartlink {
    display: flex;
    align-items: center;
    gap: 15px;
    width: min(680px, calc(100% - 36px));
    margin: 24px auto;
    padding: 14px 16px;
    border: 1px solid rgba(18, 198, 215, .24);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 23, 47, .06);
}

.k4com-smartlink-label {
    flex: 0 0 auto;
    color: #8490a4;
    font-size: 9px;
}

.k4com-smartlink div { min-width: 0; margin-left: auto; }
.k4com-smartlink strong,
.k4com-smartlink small { display: block; }
.k4com-smartlink strong { color: #10172f; font-size: 13px; }
.k4com-smartlink small { margin-top: 1px; color: #778399; font-size: 10px; }
.k4com-smartlink a {
    flex: 0 0 auto;
    padding: 8px 15px;
    border-radius: 9px;
    background: #10172f;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}
.k4com-smartlink a:hover { background: #087f9b; transform: translateY(-1px); }
.k4com-smartlink a:focus-visible { outline: 3px solid rgba(18, 198, 215, .35); outline-offset: 3px; }
.md-sidebar .k4com-smartlink { width: 100%; margin: 0; flex-wrap: wrap; }
.md-sidebar .k4com-smartlink div { flex: 1 1 150px; }

@media (min-width: 1500px) and (min-height: 720px) {
    .k4com-ad-rail { display: block; }
}

@media (max-width: 819px) {
    .k4com-ad-desktop { display: none !important; }
    .k4com-ad-mobile { display: block; }
    .k4com-ad-pair {
        width: calc(100% + 36px);
        max-width: none;
        margin: 14px -18px;
    }
    .k4com-ad {
        max-width: 100%;
        padding: 16px 0 0;
        border-right: 0;
        border-left: 0;
        border-radius: 10px;
    }
    .k4com-ad-content-end { margin-top: 20px; margin-bottom: 34px; }
    .k4com-smartlink {
        align-items: stretch;
        flex-wrap: wrap;
        gap: 8px 12px;
        margin: 18px auto;
        padding: 12px;
    }
    .k4com-smartlink div { flex: 1 1 180px; }
    .k4com-smartlink a { display: grid; min-height: 38px; place-items: center; }
}

@media (max-width: 350px) {
    .k4com-ad[data-ad-placement$="-mobile"] {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* kooora4life premium ad surfaces */
.k4com-ad{border-color:rgba(7,27,38,.1);border-radius:16px;background:rgba(255,255,255,.92)}.k4com-smartlink{border-color:rgba(217,179,76,.32);border-radius:16px;background:#fff;box-shadow:0 11px 30px rgba(7,27,38,.065)}.k4com-smartlink strong{color:#071b26}.k4com-smartlink a{border-radius:999px;background:#00a876}.k4com-smartlink a:hover{background:#007f5d}.k4com-smartlink a:focus-visible{outline-color:rgba(0,185,130,.32)}
