﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa !important;
}
a{
    text-decoration: none;
}
.top-bar {
    background-color: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.containers{
max-width: 1200px;
    margin: auto;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 !important;
    border-radius: 15px;

}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.welcome-text {
    color: #666;
}

.top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.top-links a{
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.top-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.top-link:hover {
    color: #2a5298;
}

.separator {
    color: #ddd;
}

.header {
    background: linear-gradient(180deg, #87CEEB 0%, #BDE5F8 100%);
    padding: 45px 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><path d="M0,0h1000v1000h-1000z" fill="%23ffffff"/></svg>');
    opacity: 0.1;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo-section {
    position: relative;
    display: flex;
    /* flex-direction: column; */
    gap: 5px;
}

.logo-title {
    color: #cc0000;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 63px;
    margin-bottom: 10px;
}
.logo-title a{
    text-decoration: none;
     color: #cc0000;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 63px;
}

.logo-url {
    position: absolute;
    bottom: -22px;
    left: 43%;
    margin-left: -59px;
    color: #666;
    font-size: 21px;
}

.header-right {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.accessibility-buttons {
    margin-left: 35px;
}

.accessibility-btn {
    padding: 10px 35px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-read {
    padding: 10px 28px;
    background-color: #fff;
    color: #2a5298;
}

.btn-elder {
    background-color: #f90;
    color: #fff;
}

.search-box {
    display: flex;
    gap: 5px;
    margin-top: 10px;

}

.search-input {
    padding: 8px 12px;
    border: 2px solid #2a5298;
    border-radius: 4px;
    width: 330px;
    height: 42px;
    font-size: 14px;
}

.search-btn {
    height: 42px;
    padding: 8px 20px;
    background-color: #2a5298;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #1e3c72;
}

/* 导航栏 */
.container-navs {
    width: 100%;
    background-color: rgb(35, 70, 130);
}

.header-navs {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-list-navs {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item-navs {
    position: relative;
}

.nav-link-navs {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 0 15px;
    display: block;
    line-height: 57px;
    transition: background-color 0.3s;
}
.nav-link-navs a{
     color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}
.nav-link-navs:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.ol, ul{
    padding-left: 0;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-list-navs {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    .nav-item-navs {
        width: 33.33%;
        text-align: center;
    }

    .nav-link-navs {
        padding: 10px;
        line-height: 1.5;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-item-navs {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .logo-title {
        font-size: 23px;
    }
    .logo-section img{
        width: 50px!important;
        height: 50px!important;
        margin-top: 7px;
    }
    .search-input {
        width: 250px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .logo-url{
        bottom: -9px;
        left: 46%;
    }
}





/* 底部 */
.footer-bottom {
    width: 100%;
    background-color: #003A8C;
    color: #ffffff;
    padding: 20px 0;
    
}

.container-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-bottom {
    width: 52px;
    height: 63px;
}

.report-btn-bottom {
    /* background: #ffffff; */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.report-btn-bottom:hover {
    background-color: #f0f0f0;
}

.center-bottom {
    text-align: center;
    flex: 1;
    margin: 0 20px;
}

.copyright-bottom {
    font-size: 14px;
    margin-bottom: 10px;
}

.address-bottom {
    font-size: 14px;
    margin-bottom: 10px;
}

.registration-bottom {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.registration-bottom span{
    color: white;
}
.police-icon-bottom {
    height: 20px;
    vertical-align: middle;
}

.right-bottom {
    display: flex;
    /* gap: 20px; */
}

.qr-code-bottom {
    width: 120px;
    height: 55px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .container-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .left-bottom {
        justify-content: center;
    }

    .right-bottom {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .registration-bottom {
        flex-direction: column;
        gap: 5px;
    }
}