/* Locations Directory, rebuilt to mirror the existing Oxygen Locations page while using Website Locations as the data source. */
.cs-locations {
    max-width: 1200px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cs-locations *,
.cs-locations *::before,
.cs-locations *::after {
    box-sizing: border-box;
}

.cs-locations-inner {
    background: var(--cs-surface, #ffffff);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    border: 1px solid rgba(148, 163, 184, 0.3);
    width: 100%;
}

.cs-locations-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cs-locations-body section + section {
    margin-top: 2.25rem;
}

.cs-state-heading {
    font-size: clamp(1.15rem, 1vw + 0.85rem, 1.45rem);
    text-align: center;
    color: var(--cs-navy, #003b70);
    margin: 0 0 1.2rem;
    font-weight: 800;
}

.cs-region + .cs-region {
    margin-top: 1.8rem;
}

.cs-region-title {
    font-size: clamp(1rem, 0.8vw + 0.8rem, 1.25rem);
    color: var(--cs-navy, #003b70);
    text-align: center;
    margin: 0 0 0.35rem;
    font-weight: 800;
}

.cs-region-subcopy {
    margin: 0 auto 1rem;
    color: #6b7280;
    max-width: 52rem;
    font-size: 0.95rem;
    text-align: center;
}

.cs-city-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
}

@media (min-width: 720px) {
    .cs-city-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cs-city-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

details.cs-city {
    border-radius: 0.9rem;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.65rem 0.9rem;
    transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

details.cs-city:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.4);
}

details.cs-city[open] {
    background: #eef2ff;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.15);
}

.cs-city > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cs-city > summary::-webkit-details-marker {
    display: none;
}

.cs-city-chevron {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #4b5563;
    background: #ffffff;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

details.cs-city[open] .cs-city-chevron {
    transform: rotate(90deg);
    background: #1d4ed8;
    color: #eff6ff;
    border-color: #1d4ed8;
}

details.cs-city:focus-within {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

.cs-city-services {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cs-service-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    color: var(--cs-link, #1f2937);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

.cs-service-link:hover,
.cs-service-link:focus-visible {
    background: #1d4ed8;
    color: #eff6ff;
    border-color: #1d4ed8;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.3);
    transform: translateY(-1px);
}

.cs-top-cta {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
    color: #6b7280;
    justify-content: center;
    text-align: center;
}

.cs-top-cta a.cs-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: #1d4ed8;
    color: #eff6ff;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.cs-top-cta a.cs-cta-btn:hover,
.cs-top-cta a.cs-cta-btn:focus-visible {
    background: #1e40af;
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.45);
    transform: translateY(-1px);
    color: #eff6ff;
}

.cs-top-cta span.cs-cta-text {
    opacity: 0.9;
}

.cs-locations-empty {
    margin: 0.6rem 0 0;
    text-align: center;
    color: #6b7280;
}

@media (max-width: 640px) {
    .cs-locations {
        padding-inline: 1rem;
        text-align: center;
    }

    .cs-locations-inner {
        padding-inline: 1.25rem;
    }

    .cs-city > summary,
    .cs-city-services {
        justify-content: center;
        text-align: center;
    }
}
