* {
    font-family: Arial, "宋体", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f8f8;
    color: #333;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    color: #FF0000;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Sync with www.99cfw.com header/footer styles */
#smallnav { width: 100%; height: 35px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; font-size: 13px; text-align: left; }
#smallnav #cont { width: 1200px; height: 35px; line-height: 35px; color: #666; margin: 0 auto; display: flex; justify-content: space-between; }
#smallnav #cont .l { color: #666; font-size: 13px; }
#smallnav #cont .r { font-size: 13px; }
#smallnav #cont a { color: #666; transition: color 0.2s; text-decoration: none; }
#smallnav #cont a:hover { color: #ff5a00; text-decoration: none; }

.head-wrapper { width: 100%; background: #fff; }
.head { width: 1200px; margin: 0 auto; background: #fff; padding: 20px 0; text-align: left; display: flex; justify-content: space-between; position: relative; }
.head .logo-box { margin: 0; padding: 0; line-height: 1; width: 235px; padding-right: 20px; border-right: 1px solid #eef2f7; }
.head .logo-box a { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.head img { height: 50px; width: 195px; margin-top: 0; margin-bottom: 5px; }
.head .logo-box span { font-size: 12px; color: #053158; font-weight: normal; line-height: 1.4; display: inline-block; }

.searchbar { margin: 15px 0 0 0; }
.searchbar form { display: flex; align-items: center; }
.searchbar .kw { border: 2px solid #3266A0; height: 32px; padding: 0 10px; width: 300px; outline: none; font-size: 14px; border-right: none; color: #333; border-radius: 4px 0 0 4px; box-sizing: content-box; }
.searchbar .submit { background: #3266A0; color: #fff; border: none; height: 36px; width: 80px; cursor: pointer; font-size: 16px; border-radius: 0 4px 4px 0; font-weight: normal; transition: background 0.2s; }
.searchbar .submit:hover { background: #2557a0; }

.city-title {
    text-align: left;
    font-size: 24px;
    color: #333;
    margin: 25px 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}
.page-intro { text-align: left; color: #666; margin-bottom: 25px; font-size: 14px; line-height: 1.6; }

.district-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.district-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h2.district-name {
    flex: 0 0 120px;
    font-weight: bold;
    font-size: 18px;
    margin: 0; 
    text-align: left;
    padding: 5px 0;
}
 .district-name a{
	color: #ff6600;
 }

.district-links {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
}

.district-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f7ff;
    border-radius: 4px;
    transition: all 0.3s;
}

.district-links a:hover {
    background-color: #e1edff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,102,204,0.2);
}

#footer { clear: both; width: 100%; background: #fff; border-top: 1px solid #e7e7e7; padding: 15px 0 40px 0; margin-top: 30px; font-size: 14px; line-height: 1.8; color: #666; }
#footer #cont { width: 1200px; margin: 0 auto; text-align: center; }
#footer .c1 { margin-bottom: 15px; }
#footer .c1 .sep { color: #dcdcdc; margin: 0 8px; font-family: Arial, sans-serif; }
#footer .c1 a { margin: 0 8px; color: #555; text-decoration: none; }
#footer .c1 a:hover { color: #FF5A00; text-decoration: none; }
#footer .c2 { color: #999; font-size: 13px; font-family: Arial, sans-serif; }
#footer .c2 a { color: #999; text-decoration: none; margin: 0 5px; }
#footer .c2 a:hover { color: #FF5A00; text-decoration: none; }

@media (max-width: 768px) {
    h2.district-name {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .district-links {
        flex: 0 0 100%;
    }
    
    .district-links a {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    .head, #main, #footer #cont, #smallnav #cont { width: 100%; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
    .head { flex-direction: column; align-items: center; height: auto; }
    .head .logo-box { width: auto; border-right: none; padding-right: 0; text-align: center; margin-bottom: 15px; }
    .head .logo-box a { align-items: center; }
    .searchbar .kw { width: 60vw; }
}
