/* Editor Ads Section Styles */
.editor-ads-section {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

body.dark-mode .editor-ads-section {
    background: #2a2a2a;
}

.editor-ads-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: center; /* وسط‌چین کردن ستون‌ها */
}

.editor-ads-column {
    flex: 0 0 calc(50% - 2.5px); /* 50% width minus half the gap */
    display: flex;
    flex-direction: column;
    justify-content: center; /* وسط‌چین افقی */
    gap: 0; /* بدون فاصله بین بنرهای یک ستون */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.editor-ads-column-right,
.editor-ads-column-left {
    align-items: center; /* وسط‌چین عمودی */
}

.editor-ads-banner {
    text-align: center;
    margin: 0;
    padding: 0;
}

.editor-ads-banner img {
    width: 1204px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .editor-ads-container {
        flex-direction: column;
        gap: 5px;
    }
    .editor-ads-column {
        flex: 0 0 100%;
    }
    .editor-ads-column-right,
    .editor-ads-column-left {
        align-items: flex-start; /* در موبایل، تراز از بالا */
    }
    .editor-ads-banner img {
        width: 100%; /* عرض متناسب با کانتینر */
        height: 90px;
    }
}