/* ───────────────────────── Reklam Alanları ───────────────────────── */

.ovk-ad-zone {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.ovk-ad {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #d9e1ea);
}

.ovk-ad::before {
    content: "Reklam";
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted, #64748b);
    background: rgba(255, 255, 255, .82);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

.ovk-ad--html::before {
    display: none;
}

.ovk-ad__link {
    display: block;
    line-height: 0;
}

.ovk-ad__image {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .2s ease;
}

.ovk-ad__link:hover .ovk-ad__image {
    opacity: .92;
}

/* Header ve footer banner: yatayda ortalı, sınırlı yükseklik */
.ovk-ad-zone--site_header,
.ovk-ad-zone--site_footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.ovk-ad-zone--site_header .ovk-ad__image,
.ovk-ad-zone--site_footer .ovk-ad__image {
    max-height: 160px;
    object-fit: cover;
}

/* Liste üstü / altı: geniş banner */
.ovk-ad-zone--video_section_top,
.ovk-ad-zone--video_section_bottom {
    grid-column: 1 / -1;
}

/* Tekil araç / video sayfası: geniş banner */
.ovk-ad-zone--vehicle_page_top,
.ovk-ad-zone--vehicle_page_bottom,
.ovk-ad-zone--video_detail_top,
.ovk-ad-zone--video_detail_bottom {
    max-width: 100%;
}

/* Kenar çubuğu: birden fazla küçük reklam alt alta */
.ovk-ad-zone--sidebar_stack_top .ovk-ad,
.ovk-ad-zone--sidebar_stack_bottom .ovk-ad {
    max-width: 100%;
}

/* HTML/script tabanlı reklamlar (ör. AdSense) taşmayı önlemek için */
.ovk-ad--html {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    border: none;
    background: transparent;
}

.ovk-ad--html > * {
    max-width: 100%;
}
