/* Adsterra placement styles */

.ad-slot {
    position: relative;
    clear: both;
    margin: 34px auto;
    text-align: center;
}

.ad-slot-label {
    display: block;
    margin-bottom: 6px;
    color: #5b6b82;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ad-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.ad-leaderboard {
    max-width: 1000px;
    min-height: 112px;
}

.ad-leaderboard .ad-frame {
    min-height: 90px;
}

.ad-native {
    max-width: 1140px;
    min-height: 220px;
    padding: 12px 0;
}

.ad-native-frame {
    display: block;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 4 / 1;
    border: 0;
    overflow: hidden;
    background: transparent;
}

.ad-rectangle {
    width: 300px;
    max-width: 100%;
    min-height: 274px;
}

.ad-rectangle .ad-frame {
    min-height: 250px;
}

.ad-wide-rail {
    position: fixed;
    top: 96px;
    right: 12px;
    z-index: 900;
    display: none;
    width: 160px;
    min-height: 300px;
    margin: 0;
    padding: 8px;
    border: 1px solid #e2e9f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.1);
}

.ad-wide-rail .ad-slot-label {
    margin-bottom: 4px;
}

@media (min-width: 1500px) {
    .ad-wide-rail {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .ad-leaderboard {
        min-height: 82px;
        margin: 28px auto;
    }

    .ad-leaderboard .ad-frame {
        min-height: 60px;
    }

    .ad-native {
        min-height: 190px;
    }
}

@media (max-width: 575.98px) {
    .ad-slot {
        margin: 24px auto;
    }

    .ad-leaderboard {
        min-height: 66px;
    }

    .ad-leaderboard .ad-frame {
        min-height: 50px;
    }

    .ad-native {
        min-height: 170px;
        padding: 8px 0;
    }

    .ad-native #container-5e82d0a9dd476972dc9dbe21d160c9f5 {
        min-height: 150px;
    }
}

@media (max-width: 339.98px) {
    .ad-rectangle,
    .ad-leaderboard {
        display: none;
    }
}

@media print {
    .ad-slot,
    .ad-wide-rail {
        display: none !important;
    }
}

/* Global leaderboard immediately below the navigation */
.ad-after-nav {
    padding: 0 0 2px;
    background: #fff;
    border-bottom: 1px solid #eef2f8;
}

.ad-after-nav .ad-slot {
    margin: 0 auto;
}

@media (max-width: 575.98px) {
    .ad-after-nav {
        padding-top: 0;
    }
}
