/* Etkinlik ve kültür detayındaki makale içi 300x300 ve 600x300 reklamlar. */
.article-square-ad-host {
    display: flow-root;
}

.article-square-ad {
    position: relative;
    float: right;
    clear: right;
    width: 300px !important;
    max-width: 100%;
    margin: .25rem 0 1.5rem 1.5rem !important;
}

.article-square-ad > .ad-fixed-slot__canvas {
    display: grid !important;
    width: 300px !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 1rem !important;
    background: #f3f1ec;
}

.article-square-ad .ad-fixed-slot__link,
.article-square-ad .ad-fixed-slot__media {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.article-square-ad .ad-fixed-slot__media {
    object-fit: cover !important;
}

.article-square-ad > .ad-fixed-slot__label {
    position: absolute;
    z-index: 3;
    top: .55rem;
    left: .55rem;
    padding: .22rem .48rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(17, 17, 25, .76);
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* Kültür yazısındaki iki kare reklamın tam ortasında kullanılan geniş alan. */
.article-feature-ad {
    position: relative;
    clear: both;
    width: 600px !important;
    max-width: 100%;
    margin: 1.75rem auto 2rem !important;
}

.article-feature-ad > .ad-fixed-slot__canvas {
    display: grid !important;
    width: 600px !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 2 / 1;
    margin: 0 auto !important;
    overflow: hidden;
    border-radius: 1rem !important;
    background: #f3f1ec;
}

.article-feature-ad .ad-fixed-slot__link,
.article-feature-ad .ad-fixed-slot__media {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.article-feature-ad .ad-fixed-slot__media {
    object-fit: cover !important;
}

.article-feature-ad > .ad-fixed-slot__label {
    position: absolute;
    z-index: 3;
    top: .55rem;
    left: max(.55rem, calc((100% - 600px) / 2 + .55rem));
    padding: .22rem .48rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(17, 17, 25, .76);
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

@media (min-width: 769px) {
    .article-square-ad--alternate {
        float: left;
        clear: left;
        margin: .25rem 1.5rem 1.5rem 0 !important;
    }
}

@media (max-width: 768px) {
    .article-square-ad {
        float: none;
        clear: both;
        width: min(300px, 100%) !important;
        margin: 1.25rem auto 1.4rem !important;
    }

    .article-square-ad > .ad-fixed-slot__canvas {
        width: 100% !important;
    }

    .article-feature-ad {
        width: 100% !important;
        margin: 1.4rem auto 1.6rem !important;
    }

    .article-feature-ad > .ad-fixed-slot__canvas {
        width: 100% !important;
    }
}
