/* Sabit masaüstü reklam alanları. Görsel ölçüler hiçbir zaman ölçeklenmez. */

.ad-fixed-wing-host {
    position: relative;
}

.ad-fixed-wing-host--reserve {
    min-height: var(--ad-fixed-wing-min-height);
}

.ad-fixed-slot {
    --ad-slot-width: 970px;
    --ad-slot-height: 90px;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    container-type: inline-size;
    pointer-events: auto;
    user-select: none;
}

.ad-fixed-slot--rectangle {
    --ad-slot-width: 300px;
    --ad-slot-height: 250px;
}

.ad-fixed-slot--square {
    --ad-slot-width: 300px;
    --ad-slot-height: 300px;
}

.ad-fixed-slot--mobile-card {
    --ad-slot-width: 300px;
    --ad-slot-height: 364px;
}

.ad-fixed-slot--mobile-wide-inline {
    --ad-slot-width: 320px;
    --ad-slot-height: 90px;
}

.ad-fixed-slot--province-sidebar-square {
    --ad-slot-width: 340px;
    --ad-slot-height: 340px;
}

.ad-fixed-slot--large-rectangle {
    --ad-slot-width: 336px;
    --ad-slot-height: 280px;
}

.ad-fixed-slot--halfpage {
    --ad-slot-width: 300px;
    --ad-slot-height: 600px;
}

.ad-fixed-slot--discovery-card {
    --ad-slot-width: 300px;
    --ad-slot-height: 480px;
}

.ad-fixed-slot--skyscraper {
    --ad-slot-width: 160px;
    --ad-slot-height: 600px;
}

.ad-fixed-slot--tall-skyscraper-660 {
    --ad-slot-width: 160px;
    --ad-slot-height: 660px;
}

.ad-fixed-slot--tall-skyscraper {
    --ad-slot-width: 160px;
    --ad-slot-height: 700px;
}

.ad-fixed-slot--compact-leaderboard {
    --ad-slot-width: 468px;
    --ad-slot-height: 60px;
}

.ad-fixed-slot--leaderboard {
    --ad-slot-width: 728px;
    --ad-slot-height: 90px;
}

.ad-fixed-slot--region-grid-wide {
    --ad-slot-width: 840px;
    --ad-slot-height: 480px;
}

.ad-fixed-slot--about-stats-wide {
    --ad-slot-width: 520px;
    --ad-slot-height: 160px;
}

.ad-fixed-slot--home-footer-half {
    --ad-slot-width: 668px;
    --ad-slot-height: 180px;
}

.ad-fixed-slot--province-hero {
    --ad-slot-width: 600px;
    --ad-slot-height: 300px;
}

.ad-fixed-slot--province-hero-mobile {
    --ad-slot-width: 600px;
    --ad-slot-height: 400px;
}

.ad-fixed-slot--super-leaderboard {
    --ad-slot-width: 970px;
    --ad-slot-height: 90px;
}

.ad-fixed-slot--premium-billboard {
    --ad-slot-width: 970px;
    --ad-slot-height: 250px;
}

.ad-fixed-slot--in-feed {
    --ad-slot-width: 970px;
    --ad-slot-height: 120px;
}

.ad-fixed-slot--wide-strip {
    --ad-slot-width: 1352px;
    --ad-slot-height: 120px;
}

.ad-fixed-slot__canvas {
    position: relative;
    isolation: isolate;
    display: none;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 12px;
    width: var(--ad-slot-width);
    height: var(--ad-slot-height);
    margin: 24px auto;
    overflow: hidden;
    border: 1px dashed rgba(192, 57, 43, .42);
    border-radius: 15px;
    background:
        radial-gradient(circle at 78% 15%, rgba(212, 168, 67, .16), transparent 29%),
        linear-gradient(145deg, rgba(192, 57, 43, .075), rgba(255, 255, 255, .97) 58%),
        #fff;
    box-shadow: 0 12px 30px rgba(26, 26, 46, .065);
    color: #1a1a2e;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.ad-fixed-slot__canvas::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    right: -85px;
    bottom: -116px;
    border-radius: 50%;
    background: rgba(192, 57, 43, .09);
}

.ad-fixed-slot__desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1a1a2e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ad-fixed-slot__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ad-fixed-slot__label {
    color: #c0392b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ad-fixed-slot__size {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.05;
}

.ad-fixed-slot__placement {
    max-width: 520px;
    color: #777786;
    font-size: 11px;
    line-height: 1.4;
}

.ad-fixed-slot__note {
    color: #9a9aa6;
    font-size: 10px;
    letter-spacing: .04em;
}

.ad-fixed-slot--green .ad-fixed-slot__canvas {
    border-color: rgba(18, 135, 84, .56);
    background:
        radial-gradient(circle at 78% 15%, rgba(117, 206, 140, .24), transparent 30%),
        linear-gradient(145deg, rgba(18, 135, 84, .12), rgba(255, 255, 255, .98) 58%),
        #fff;
    box-shadow: 0 12px 30px rgba(18, 111, 73, .10);
}

.ad-fixed-slot--green .ad-fixed-slot__canvas::before {
    background: rgba(18, 135, 84, .12);
}

.ad-fixed-slot--green .ad-fixed-slot__desktop {
    background: #0b5f3d;
}

.ad-fixed-slot--green .ad-fixed-slot__label {
    color: #128754;
}

.ad-fixed-slot--green .ad-fixed-slot__note {
    color: #4f846c;
}

.ad-fixed-slot--skyscraper .ad-fixed-slot__canvas,
.ad-fixed-slot--halfpage .ad-fixed-slot__canvas {
    padding: 24px 12px;
    border-radius: 12px;
}

.ad-fixed-slot--skyscraper .ad-fixed-slot__size {
    font-size: 23px;
}

.ad-fixed-slot--skyscraper .ad-fixed-slot__placement {
    max-width: 126px;
    font-size: 10px;
}

.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__canvas,
.ad-fixed-slot--in-feed .ad-fixed-slot__canvas,
.ad-fixed-slot--wide-strip .ad-fixed-slot__canvas {
    gap: 5px;
    padding: 8px 20px;
}

.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__desktop,
.ad-fixed-slot--in-feed .ad-fixed-slot__desktop,
.ad-fixed-slot--wide-strip .ad-fixed-slot__desktop {
    height: 22px;
    font-size: 8px;
}

.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__copy,
.ad-fixed-slot--in-feed .ad-fixed-slot__copy,
.ad-fixed-slot--wide-strip .ad-fixed-slot__copy {
    gap: 3px;
}

.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__size,
.ad-fixed-slot--in-feed .ad-fixed-slot__size,
.ad-fixed-slot--wide-strip .ad-fixed-slot__size {
    font-size: 23px;
}

.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__label,
.ad-fixed-slot--compact-leaderboard .ad-fixed-slot__note,
.ad-fixed-slot--in-feed .ad-fixed-slot__label,
.ad-fixed-slot--in-feed .ad-fixed-slot__note,
.ad-fixed-slot--wide-strip .ad-fixed-slot__label,
.ad-fixed-slot--wide-strip .ad-fixed-slot__note {
    font-size: 8px;
}

/* Gerçek reklam dosyası, doğrulanan sabit alanı boşluksuz doldurur. */
.ad-fixed-slot > .ad-fixed-slot__canvas {
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
}

.ad-fixed-slot > .ad-fixed-slot__canvas::before {
    display: none;
}

.ad-fixed-slot__link,
.ad-fixed-slot__media {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-fixed-slot__link {
    overflow: hidden;
    border-radius: inherit;
    pointer-events: auto;
}

.ad-fixed-slot__media {
    object-fit: fill;
    border: 0;
}

/*
 * Makale içine yerleştirilen reklam medyası, .prose img/video ve
 * .post-content img gibi içerik kurallarından etkilenmemeli. Aksi halde
 * 728x90 sabit kutunun içinde margin ve aspect-ratio uygulanıp reklam kırpılır.
 */
.ad-fixed-slot > .ad-fixed-slot__canvas .ad-fixed-slot__media {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
    aspect-ratio: auto;
}

.ad-fixed-slot > .ad-fixed-slot__canvas .ad-fixed-slot__media:hover {
    transform: none;
    box-shadow: none;
}

/* Kendi kapsayıcısına tam ölçüsü sığmayan banner küçülmez; hiç görünmez. */
@container (min-width: 160px) {
    .ad-fixed-slot--skyscraper > .ad-fixed-slot__canvas,
    .ad-fixed-slot--tall-skyscraper-660 > .ad-fixed-slot__canvas,
    .ad-fixed-slot--tall-skyscraper > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 300px) {
    .ad-fixed-slot--square > .ad-fixed-slot__canvas,
    .ad-fixed-slot--rectangle > .ad-fixed-slot__canvas,
    .ad-fixed-slot--discovery-card > .ad-fixed-slot__canvas,
    .ad-fixed-slot--halfpage > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 320px) {
    .ad-fixed-slot--mobile-wide-inline > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 336px) {
    .ad-fixed-slot--large-rectangle > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 340px) {
    .ad-fixed-slot--province-sidebar-square > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 468px) {
    .ad-fixed-slot--compact-leaderboard > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 520px) {
    .ad-fixed-slot--about-stats-wide > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 600px) {
    .ad-fixed-slot--province-hero > .ad-fixed-slot__canvas,
    .ad-fixed-slot--province-hero-mobile > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 668px) {
    .ad-fixed-slot--home-footer-half > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 728px) {
    .ad-fixed-slot--leaderboard > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 840px) {
    .ad-fixed-slot--region-grid-wide > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 970px) {
    .ad-fixed-slot--super-leaderboard > .ad-fixed-slot__canvas,
    .ad-fixed-slot--premium-billboard > .ad-fixed-slot__canvas,
    .ad-fixed-slot--in-feed > .ad-fixed-slot__canvas {
        display: grid;
    }
}

@container (min-width: 1352px) {
    .ad-fixed-slot--wide-strip > .ad-fixed-slot__canvas {
        display: grid;
    }
}

.ad-fixed-recommendation {
    grid-column: 1 / -1;
}

.directory-feed-ad {
    grid-column: 1 / -1;
}

.directory-feed-ad.hidden-city {
    display: none !important;
}

.ad-fixed-recommendation.ad-fixed-slot--leaderboard > .ad-fixed-slot__canvas,
.ad-fixed-recommendation.ad-fixed-slot--super-leaderboard > .ad-fixed-slot__canvas,
.ad-fixed-recommendation.ad-fixed-slot--in-feed > .ad-fixed-slot__canvas {
    margin-top: 28px;
    margin-bottom: 28px;
}

/* İçerik dışı kanatlar: 160px genişlik; boş kenar alanını tam kullanır. */
.ad-fixed-wings {
    position: absolute;
    inset: 0;
    z-index: 4;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

.ad-fixed-wings__item {
    position: absolute;
    top: var(--ad-wings-top, 0px);
    display: none;
    width: 160px;
    height: var(--ad-wings-height, 600px);
    pointer-events: auto;
}

.ad-fixed-slot--wing > .ad-fixed-slot__canvas {
    margin: 0;
}

.ad-fixed-wing-host--show-left > .ad-fixed-wings > .ad-fixed-wings__item--left {
    display: block;
    left: -160px;
}

.ad-fixed-wing-host--show-right > .ad-fixed-wings > .ad-fixed-wings__item--right {
    display: block;
    right: -160px;
}

/* Detay sayfalarındaki ana sayfa kanatları header ile footer arasında kalır. */
.ad-fixed-wings--bounded {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    height: auto;
}

.ad-fixed-wings--bounded > .ad-fixed-wings__item {
    position: sticky;
    top: var(--ad-wings-top, calc(var(--nav-h, 72px) + 16px));
    margin-top: 12px;
    align-self: start;
}

.ad-fixed-wing-host--show-left > .ad-fixed-wings--bounded > .ad-fixed-wings__item--left {
    grid-column: 1;
    left: auto;
    transform: none;
}

.ad-fixed-wing-host--show-right > .ad-fixed-wings--bounded > .ad-fixed-wings__item--right {
    grid-column: 3;
    right: auto;
    transform: none;
}

@media (min-width: 1280px) {
    /* Ana sayfadaki 160px reklam + 16px boşluk rayını içerik ölçüsünü
       bozmadan il, ilçe ve mahalle detaylarına taşır. */
    body .page-layout.ad-fixed-wing-host--bounded {
        max-width: 1656px;
        padding-right: 176px;
        padding-left: 176px;
    }

    body .d-page.ad-fixed-wing-host--bounded {
        max-width: 1576px;
        padding-right: 176px;
        padding-left: 176px;
    }

    /* Dizinlerde reklamı hero sonrasından başlatır; Enler ve listeyi aynı oranda daraltır. */
    body .directory-page-ad-host.ad-fixed-wing-host--bounded {
        max-width: 1704px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Bölgeler gridinin kart yapısını korur; yalnızca orta alanı daraltır. */
    body .regions-grid.ad-fixed-wing-host--bounded {
        max-width: 1656px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Kültür Rotası kartlarını değiştirmeden iki 160px reklam rayını ayırır. */
    body .kr-layout.ad-fixed-wing-host--bounded {
        max-width: 1656px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Blog kartlarını ve filtre işleyişini değiştirmeden iki 160px reklam rayını ayırır. */
    body .blog-main.ad-fixed-wing-host--bounded {
        max-width: 1656px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Etkinlik kartlarını ve sekme işleyişini değiştirmeden reklam raylarını ayırır. */
    body .ev-con.ad-fixed-wing-host--bounded {
        max-width: 1456px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Etkinlik detay içeriğini değiştirmeden iki 160px reklam rayını ayırır. */
    body .event-container.ad-fixed-wing-host--bounded {
        max-width: 1600px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Bölge detay kartlarını değiştirmeden iki 160px reklam rayını ayırır. */
    body .region-detail-content.ad-fixed-wing-host--bounded {
        max-width: 1688px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Kültür noktası detay içeriğini değiştirmeden reklam raylarını ayırır. */
    body .kultur-layout.ad-fixed-wing-host--bounded {
        max-width: 1656px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }

    /* Blog detay içeriğini değiştirmeden iki 160px reklam rayını ayırır. */
    body .post-page.ad-fixed-wing-host--bounded {
        max-width: 1688px !important;
        padding-right: 176px !important;
        padding-left: 176px !important;
    }
}

@media (max-width: 1023px) {
    .ad-fixed-slot__canvas,
    .ad-fixed-wings__item {
        display: none !important;
    }

    .ad-fixed-slot--mobile-card {
        height: 100%;
    }

    .ad-fixed-slot--mobile-card > .ad-fixed-slot__canvas {
        display: grid !important;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 1.25rem;
    }

    .ad-fixed-slot--mobile-card > .ad-fixed-slot__canvas .ad-fixed-slot__media {
        object-fit: cover;
    }
}
