/* States Overview Section */
.states-overview {
    margin: 40px 0 0;
    padding: 30px 0;
    background: #FBFBFE;
    border-radius: 12px;
}

.states-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.states-list .section-title {
    font-weight: 700;
    font-style: 800;
    font-size: 45px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #1F4388;
    text-align: left;
}

.state-link {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #2c5aa0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.state-link:hover {
    background: #2c5aa0;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.3);
}

.state-link:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.2);
}

/* State Page Hero Section Styles */
.container-hero-internal {
    padding: 24px 0 40px 0;
    background: #FBFBFE;
    border-bottom: 1px solid #AEC7F9;
}

    .container-hero-internal .search-section {
        background: #FBFBFE;
    }

.hero-content {
    margin: 0 auto;
}

.hero-title {
    font-size: 55px;
    font-weight: 700;
    color: #1F4388;
    margin: 0 0 30px 0;
    line-height: 67px;
    letter-spacing: 0;
}

.search-section {
    margin-top: 30px;
}

.search-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
}

.search-form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input-group {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    z-index: 2;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 16px;
    border: 1px solid #1F4388;
    border-radius: 6px 0 0 6px;
    border-right: none;
    background: #ffffff;
    color: #333333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.search-input::placeholder {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.3px;
    text-align: left;
    color: #1f4388
}

.search-button {
    padding: 14px 24px;
    background: #FFCD55;
    color: #1F4388;
    border: 1px solid #1F4388;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 0 6px 6px 0;
}

.search-button:hover {
    background-color: #efb52e;
}

.search-button:active {
    transform: translateY(0);
}

#city-search-form {
    display: flex;
    gap: 20px;
}

.clear-search-link {
    background: none;
    border: none;
    color: #1A1A1A;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin: 0;
    align-self: center;
    transition: color 0.3s ease;
}

.clear-search-link:hover {
    color: #1e3d6f;
    text-decoration: none;
}

/* No Search Results Message */
.no-search-results {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    margin: 20px 0;
    text-align: center;
}

.no-search-results p {
    margin: 0;
    color: #666666;
    font-size: 16px;
}

/* State Page Specific Styles */
.states-list {
    background: #FBFBFE;
}

.states-list .letter-group {
    max-width: 100%;
}

.letter-group {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #1F4388;
    box-shadow: 8px 8px 0px 0px #95CFF8;
}

.letter-header {
    margin-bottom: 24px;
}

.letter-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FFCD55;
    color: #1f4388;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    font-size: 20px;
    margin: 0;
}

.cities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 20px;
    align-items: start;
}

.city-link-item {
    margin-bottom: 8px;
}

.city-link {
    display: inline-block;
    color: #1F4388;
    text-decoration: underline;
    font-size: 16px;
    line-height: 160%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.city-link:hover {
    color: #0F2A5A;
    text-decoration: none;
    transform: translateX(2px);
}

.no-cities {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Breadcrumbs */
.breadcrumb-container {
    background: #FBFBFE;
    padding: 15px 0;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #1A1A1A;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumbs .current {
    font-weight: 700;
    font-size: 14px;
    color: #1A1A1A;
}



/* Responsive Design */
@media (max-width: 768px) {

    .container-hero-internal {
        padding-bottom: 24px !important;
    }

    .hero-title {
        font-size: 30px;
        text-align: left;
        line-height: 120%;
        letter-spacing: 0%;
    }
    
    .search-section {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 20px;
        align-items: flex-start;
    }

    .search-title{
        text-align: left;
        margin: 0;
        font-weight: 700;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: 0%;
    }

    .search-form-container {
        width: 100%;
    }



    .clear-search-link {
        align-self: self-start;
    }

    #city-search-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .search-input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-input {
        border-radius: 6px;
        border: 2px solid #cccccc;
        padding-left: 48px;
    }
    
    .search-button {
        border-radius: 6px;
        border: 2px solid #f39c12;
        margin-top: 15px;
    }
    
    .states-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .state-link {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
    
    .cities-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px 15px;
    }
    
    .letter-header {
        text-align: left;
    }
    
    .letter-group {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .breadcrumb-separator {
        margin: 0 5px;
    }

    .location-list.states-list .section-title{
        font-size: 24px;
        line-height: 120%;
        letter-spacing: 0%;
        align-self: self-start;
    }

    .city-link {
        font-size: 12px;
        line-height: 150%;
        letter-spacing: 0%;
    }

    .search-button {
        border-radius: 4px;
        border-width: 1px;
        padding-top: 15px;
        padding-right: 21px;
        padding-bottom: 15px;
        padding-left: 21px;
        background: #FFCD55;

        font-weight: 600;
        line-height: 120%;
        letter-spacing: 0%;
        font-size: 16px;
        border: 1px solid #FFFFFF;
    }
}

@media (max-width: 480px) {
    .container-hero {
        padding: 30px 0 40px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .search-title {
        font-size: 16px;
    }
    
    .states-overview {
        margin: 20px 0;
        padding: 20px 15px;
    }
    
    .state-link {
        padding: 10px 20px;
        font-size: 14px;
    }

    .letter-group {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .cities-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px 12px;
    }
} 

