/* City Pages Specific Styles */

/* Search Results Count */
.search-results-count {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* City Page Location Cards */
.location-cards {
    padding: 40px 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.location-card {
    background: #ffffff;
    border: 1px solid #1F4388;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 8px 8px 0px 0px #95CFF8;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-card:hover {
    box-shadow: 0 4px 16px #95CFF8;
    transform: translateY(-2px);
}

.location-card-icon {
    flex-shrink: 0;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FFCD55;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    color: #ffffff;
}

.location-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.location-name a {
    color: #1F4388;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    text-decoration: underline;
}

.location-name a:hover {
    color: #2c5aa0;
    text-decoration: none;
}

.service-type {
    padding-bottom: 8px;
    color: #1F4388;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;

    border-bottom: 1px solid #AEC7F9;
}

.location-address {
    margin-top: 5px;
    margin-bottom: 10px;
    color: #555;
}

.address-line-1,
.address-line-2 {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #1A1A1A;
}

.location-phone a {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #1F4388;
    
}

.location-phone a:hover {
    text-decoration: underline;
}

/* Filter Section (City-specific) */
.filter-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.city-filter-section {
    border-top: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.city-filter-section h3 {
    margin: 0;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.city-filter-section .filter-checkbox {
    background: #F5F5FD;
    width: 171;
    padding: 10px;
    border-radius: 4px;
    border-width: 1px;
    border-color: #EEEEF2;

    /* text styles */
    color: #1A1A1A;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0%;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}


.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #2c5aa0;
    border-color: #2c5aa0;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    display: block;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.no-locations {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.search-form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-city-row {
    display:  flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mobile-city-filter-section {
    display: none;
}

/* City Pages Mobile Responsive */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-checkboxes {
        flex-direction: column;
        gap: 10px;
    }

    .search-city-row,
    .city-filter-section {
        flex-direction: column;
    }

    .search-city-row {
        margin-top: 20px;
    }

    .search-city-row .search-form-container {
        flex-direction: column;
        align-items: unset;
        gap: 15px;
    }

    .search-city-row > div:first-child {
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid #AEC7F9;
    }

    .search-input-group {
        margin-top: 20px;
    }

    .city-locations .hero-title {
        margin: 0;
    }

    .city-locations #zip-code-form {
        margin-bottom: 0px;
    }


    .container-hero-internal.city-locations {
        border-bottom: none;
    }

    .mobile-city-filter-section {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-city-filter-section .filter-button-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: 41px;
    } 

    .filter-button-row .filter-count {
        font-weight: 400;
        font-size: 12px;
        line-height: 150%;
        letter-spacing: 0%;
        color: #1A1A1A;
    }

    .filter-button-row .filter-button {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        font-size: 16px;
        line-height: 120%;
        letter-spacing: 0%;
        color: #1F4388;
        cursor: pointer;
        padding: 8.5px 22.5px;
        border-radius: 4px;
    }

    .filter-button-row .filter-button.open {
        border: 1px solid #0C3A91;
    }
    
    .mobile-city-filter-section .filter-dropdowns-column {
        border: 1px solid #EEEEF2;
        display: flex;
        flex-direction: column;
        gap: 24px;
        border-radius: 16px;
        padding: 16px;
    }

    .mobile-filter-title {
        color: #1A1A1A;
        font-weight: 400;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: 0%;
        text-align: left;
    }

    .mobile-filter-dropdowns-button-row {
        display: flex;
        flex-direction: row;
        gap: 18px;
    }

    .mobile-filter-dropdowns-button-row button {
        padding: 8.5px 37.5px;
        gap: 5px;
        opacity: 1;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 16px;
        line-height: 120%;
        letter-spacing: 0%;
        outline: none;
        border: none;
        cursor: pointer;
    }

    .mobile-filter-dropdowns-button-row .apply-filters-button {
        background: #0C3A91;
        color: #fff;
    }

    .mobile-filter-dropdowns-button-row .clear-filters-button {
        background: transparent;
        color: #1F4388;
    }

    .mobile-filter-dropdowns-row-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-filter-dropdowns-row-container label.filter-checkbox {
        background: #F5F5FD;
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #EEEEF2;

        /* text styles */
        font-weight: 500;
        font-size: 16px;
        line-height: 160%;
        letter-spacing: 0%;
        color: #1A1A1A;
    }

    .filter-section.city-filter-section,
    .search-results-count {
        display: none !important
    }
}

@media (max-width: 480px) {
    .location-cards {
        padding: 20px 0;
    }
    
    .location-card {
        padding: 15px;
        gap: 10px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
    
    .location-name {
        font-size: 16px;
    }
} 