main.page-with-top-ad {
    padding-top: 9px;
}

.page-with-top-ad > .ad--top + .moon-phases-table-section {
    padding-top: 20px;
}

.ad--top .ad__inner {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 50px;
}

.ad__slot--top {
    width: 300px;
    height: 50px;
}

@media (min-width: 360px) {
    .ad--top .ad__inner {
        min-height: 100px;
    }

    .ad__slot--top {
        width: 320px;
        height: 100px;
    }
}

@media (min-width: 768px) {
    .ad--top .ad__inner {
        min-height: 90px;
    }

    .ad__slot--top {
        width: 728px;
        height: 90px;
    }
}

@media (min-width: 1040px) {
    .ad__slot--top {
        width: 970px;
    }
}
