/* =========================
   FORCE FULL WIDTH (FIX SIDEBAR ISSUE)
========================= */
body.all-locations .all-locations-wrapper {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    display: block !important;
}

/* REMOVE ANY THEME FLEX */
body.all-locations .container {
    display: block !important;
}

/* =========================
   HEADER CENTER
========================= */
body.all-locations .page-header {
    text-align: center;
    margin-bottom: 30px;
}

body.all-locations .page-header h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

body.all-locations .page-header p {
    color: #666;
}

/* =========================
   GRID (4 COLUMN)
========================= */
body.all-locations .location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

/* =========================
   CARD
========================= */
body.all-locations .card {
    display: block;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: 0.25s;
}

body.all-locations .card:hover {
    transform: translateY(-4px);
    border-color: #0073ff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

body.all-locations .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

body.all-locations .count {
    font-size: 12px;
    color: #0073ff;
    font-weight: 600;
}

body.all-locations .card h3 {
    font-size: 16px;
    margin: 8px 0;
}

body.all-locations .bottom {
    font-size: 13px;
    color: #0073ff;
    font-weight: 600;
}

/* =========================
   PAGINATION CENTER
========================= */
body.all-locations .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 40px;
}

body.all-locations .pagination a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

body.all-locations .pagination a.active {
    background: #0073ff;
    color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 1024px) {
    body.all-locations .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    body.all-locations .location-grid {
        grid-template-columns: 1fr;
    }
}