/* Enler listeleri: havuz ölçüsünü değiştirmeden ekrana orantılı sığdır. */
.tr-index .tr-list-ad {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
}

.tr-index .tr-list-ad--feed {
    width: min(100%, 970px);
    --tr-list-ad-ratio: 970 / 313;
}

.tr-index .tr-list-ad--filter {
    width: min(100%, 320px);
    margin: -1.5rem auto 2rem;
    --tr-list-ad-ratio: 320 / 90;
}

.tr-index .tr-list-ad--card {
    width: min(100%, 300px);
    --tr-list-ad-ratio: 300 / 364;
}

.tr-index .tr-list-ad--desktop {
    display: block !important;
}

.tr-index .tr-list-ad--mobile {
    display: none !important;
}

.tr-index .tr-list-ad > .ad-fixed-slot__canvas {
    display: block !important;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: var(--tr-list-ad-ratio);
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 1rem;
}

.tr-index .tr-list-ad .ad-fixed-slot__link {
    position: absolute;
    inset: 0;
}

.tr-index .tr-list-ad .ad-fixed-slot__link,
.tr-index .tr-list-ad .ad-fixed-slot__media {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.tr-index .tr-list-ad .ad-fixed-slot__media {
    object-fit: contain;
}

/* Mevcut Enler şablonunun tek kolona geçtiği sınırla aynı. */
@media (max-width: 800px) {
    .tr-index .tr-list-ad--desktop {
        display: none !important;
    }

    .tr-index .tr-list-ad--mobile {
        display: block !important;
    }
}
