.content-middle-ad-slot,
.mobile-search-ad-slot {
    background-color: #eee;
    margin-bottom: 20px;
    text-align: center;
}

.panorama-ad {
    text-align: center;
    overflow: hidden;
}

#header-ad-slot {
    background: #000;
}

.panorama-ad * {
    max-width: 100%;
    margin: auto;
    line-height: 0;
}

.panorama-ad ins {
    margin: 0 auto;
}

/* --- Skyscraper ad --- */
.skyscraper-ad {
    width: 300px;
    text-align: center;
    position: absolute;
    right: 16px;
    top: 0;
    padding: 0;
    transition: transform 0.3s;
}

.skyscraper-ad.skyscraper-left {
    left: 16px;
    right: auto;
}

@media (max-width: 1800px) {
    .skyscraper-ad {
        display: none;
    }
}

.ad-chat-view {
    display: flex;
    max-width: 390px;
    justify-content: center;
}

/*
This selector basically means that apply these styles when ad is queried and is shown
Otherwise these empty whitespace if we apply these styles always
 */
.ad-chat-view > div:first-child {
    margin: 16px 0;
}
