/* Keep article creatives centred and reserve their space before GPT renders. */
#single-news .article-top-ad,
#single-news .article-top-ad > .container,
#single-news .article-top-ad__frame,
#single-news .article-top-ad .ad-slot--article_richmedia {
    box-sizing: border-box;
    width: 100%;
}

#single-news .article-top-ad > .container,
#single-news .article-top-ad__frame,
#single-news .article-top-ad .ad-slot--article_richmedia {
    align-items: center;
    display: flex;
    justify-content: center;
}

#single-news .article-top-ad__frame {
    margin-bottom: 40px;
    min-height: 250px;
    position: relative;
}

#single-news .article-top-ad .ad-slot--article_richmedia {
    min-height: inherit;
}

#single-news .article-top-ad .ad-slot--article_richmedia iframe {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

#single-news .image-container > img {
    height: auto;
    width: 100%;
}

@media only screen and (min-width: 768px) and (max-width: 969px) {
    #single-news .article-top-ad__frame {
        min-height: 90px;
    }
}

@media only screen and (max-width: 767px) {
    #single-news .article-top-ad {
        padding-top: 12px;
    }

    #single-news .article-top-ad__frame {
        min-height: 100px;
    }

    #single-news .article-top-ad .ad-slot--article_richmedia {
        left: auto !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
}
