
/* all-ads.css - استایل صفحه نتایج جستجو و همه آگهی‌ها */

.all-ads-section {
    max-width: 1200px;
    margin: 140px auto 40px;
    padding: 0 20px;
}

.all-ads-header {
    text-align: center;
    margin-bottom: 30px;
}

.all-ads-header h1 {
    color: #fff;
    font-size: 2.2rem;
}

.all-ads-header h1 i {
    color: #3498db;
    margin-left: 10px;
}

.all-ads-header p {
    color: #bdc3c7;
    font-size: 1rem;
}

.all-ads-header .search-query {
    color: #3498db;
    font-weight: bold;
}

.no-ads {
    text-align: center;
    color: #bdc3c7;
    padding: 40px 0;
    grid-column: 1 / -1;
}

.no-ads i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.ad-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.loading-ads {
    text-align: center;
    color: #bdc3c7;
    padding: 40px 0;
    grid-column: 1 / -1;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .all-ads-section {
        margin-top: 100px;
    }
    .all-ads-header h1 {
        font-size: 1.6rem;
    }
    .ads-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .all-ads-header h1 {
        font-size: 1.3rem;
    }
}
/* ... بقیه استایل‌ها مثل index.html */