/* ================================
   LOCATION / CATEGORY ARCHIVE
================================ */

.ws-location-archive {
    background: #f8fafc;
}

/* ----- Header ----- */
.ws-archive-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 70px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ws-archive-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.ws-archive-header-content {
    position: relative;
    z-index: 2;
}

.ws-archive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 18px;
}

.ws-archive-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
    color: #fff;
}

.ws-archive-count {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0 0 12px;
    font-weight: 500;
}

.ws-archive-desc {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ----- Grid ----- */
.ws-archive-content {
    padding: 50px 0 80px;
}

.ws-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* ----- Card ----- */
.ws-business-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.ws-business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
    border-color: transparent;
}

.ws-business-card.is-premium {
    border-color: #fbbf24;
}

.ws-business-image {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.ws-business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ws-business-card:hover .ws-business-image img {
    transform: scale(1.06);
}

.ws-business-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    font-size: 42px;
}

.ws-badge-premium {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.ws-badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

.ws-business-content {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ws-business-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.ws-business-title a {
    color: #0f172a;
    text-decoration: none;
}

.ws-business-title a:hover {
    color: #2563eb;
}

.ws-business-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.ws-business-excerpt {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.ws-business-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.ws-business-btn:hover {
    gap: 12px;
}

/* Pagination */
.ws-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ws-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ws-pagination .page-numbers:hover,
.ws-pagination .page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Empty */
.ws-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.ws-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #94a3b8;
}

.ws-empty-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.ws-empty-state p {
    color: #64748b;
    margin: 0 0 24px;
}

.ws-empty-state .ws-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.ws-empty-state .ws-primary-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .ws-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 576px) {
    .ws-archive-header {
        padding: 50px 0 40px;
    }

    .ws-archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ws-archive-content {
        padding: 30px 0 60px;
    }
}