/**
 * State Locations Grid – Static Grid (no filtering)
 * Same card styling as locations-filter.css but without Shuffle
 */

.state-locations-container {
    margin: 0 auto;
    width: 100%;
}

/* Static Grid */
.state-locations-grid {
    margin: -16px; /* gutter control */
    flex-wrap: wrap;
    display: flex;
}

/* Grid Items */
.state-locations-grid .location-card {
    box-sizing: border-box;
    width: 33.333%;
    padding: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .state-locations-grid .location-card {
        width: 50%;
    }
}
@media (max-width: 768px) {
    .state-locations-grid .location-card {
        width: 100%;
    }
}

/* Card */
.state-locations-grid .location-card-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e9ec !important;
    background: var(--light2);
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    height: 100%;
}
.state-locations-grid .location-card-inner:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Image */
.state-locations-grid .location-card-image {
    overflow: hidden;
    height: 200px;
    width: 100%;
}
.state-locations-grid .location-card-image img {
    transition: transform 0.3s ease;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.state-locations-grid .location-card-inner:hover .location-card-image img {
    transform: scale(1.05);
}

/* Content */
.state-locations-grid .location-card-content {
    flex-direction: column;
    display: flex;
    padding: 20px;
    flex: 1;
}
.state-locations-grid .location-brand {
    border-bottom: 1px solid var(--accent1);
    justify-content: start;
    padding-bottom: 12px;
    margin-bottom: 16px;
    align-items: center;
    column-gap: 10px;
    display: flex;
}
.state-locations-grid .location-brand p.brand-name {
    text-transform: lowercase;
    font-family: var(--MontB);
    font-weight: 600;
    font-size: 12px;
}
.state-locations-grid .title-and-state {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.state-locations-grid .location-title {
    font-weight: 700;
    line-height: 1.3;
    font-size: 20px;
    margin: 0;
}
body #content .state-locations-grid .location-title a {
    transition: color 0.3s ease;
    text-decoration: none;
    color: var(--accent2);
}
body #content .state-locations-grid .location-title a:hover {
    transition: color 0.3s ease;
    text-decoration: none;
    color: var(--accent1);
}
.state-locations-grid .location-state {
    margin-bottom: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    color: #666;
}
.state-locations-grid .location-excerpt {
    margin-bottom: 12px;
    line-height: 1;
    font-size: 14px;
    color: #555;
    flex: 1;
}
.state-locations-grid .location-service-areas {
    min-height: 69px;
    margin-top: 16px;
}
.state-locations-grid .location-service-areas p.sa-title {
    margin-bottom: 6px !important;
    color: var(--black);
    font-size: 13px;
    line-height: 1;
}
.state-locations-grid .location-service-areas ul.areas {
    justify-content: start;
    padding: 0 !important;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    column-gap: 8px;
    display: flex;
    row-gap: 5px;
}
.state-locations-grid ul.areas li {
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e9ec !important;
    background: var(--light3);
    border-radius: 50px;
    color: var(--black);
    font-size: 10px;
    line-height: 1;
    padding: 5px;
}
.state-locations-grid .location-buttons {
    justify-content: start;
    align-items: center;
    column-gap: 10px;
    margin-top: 18px;
    display: flex;
}
.state-locations-grid .location-buttons a.btn-bt {
    padding: 5px 10px !important;
    justify-content: center;
    min-width: 130px;
    font-size: 12px;
}
.state-locations-grid .location-buttons a.btn-bt::after {
    height: 10px !important;
    width: 10px !important;
}
.state-locations-grid .location-link {
    transition: color 0.2s ease;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    font-size: 14px;
    color: #0073aa;
}
.state-locations-grid .location-link:hover {
    color: #005a87;
}

/* No results */
.state-locations-container .no-results-message {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #666;
    width: 100%;
}