﻿.rv-tabs {
    background: #fff;
    border-bottom: 1px solid #eaecf0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.rv-tabs__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
    .rv-tabs__list::-webkit-scrollbar {
        display: none;
    }
.rv-tabs__item {
    flex-shrink: 0;
}
.rv-tabs__link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
    .rv-tabs__link i {
        font-size: 13px;
        opacity: 0.7;
    }
    .rv-tabs__link:hover {
        color: #1d4ed8;
        text-decoration: none;
    }
.rv-tabs__item--active .rv-tabs__link {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}
    .rv-tabs__item--active .rv-tabs__link i {
        opacity: 1;
    }
/* ── PAGE SECTION ── */
.ads-section {
    background: #f8fafc;
    min-height: 60vh;
    padding: 2rem 0 3rem;
}
/* ── TOP BAR ── */
.ads-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.75rem;
}
.ads-topbar__title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ads-topbar__page {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 3px 10px;
}
.ads-topbar__filter select {
    padding: 9px 14px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
    min-width: 180px;
}
    .ads-topbar__filter select:focus {
        border-color: #3b82f6;
    }
/* ── CARDS GRID ── */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
/* ── CARD ── */
.ads-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
    .ads-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.09);
        transform: translateY(-2px);
    }
.ads-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.ads-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.ads-card:hover .ads-card__img {
    transform: scale(1.04);
}
.ads-card__body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ads-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ads-card__desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ads-card__footer {
    padding: 0.75rem 1.1rem 1rem;
    border-top: 1px solid #f3f4f6;
}
.ads-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
    .ads-card__btn:hover {
        background: #1e40af;
        color: #fff;
        text-decoration: none;
    }
    .ads-card__btn i {
        font-size: 12px;
    }
/* ── EMPTY STATE ── */
.ads-empty {
    text-align: center;
    padding: 5rem 1rem;
    grid-column: 1 / -1;
}
.ads-empty__icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 1rem;
}
.ads-empty__text {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}
