@charset "UTF-8";
/* CSS Document */
*{
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background-color: #fff;
    padding: 15px 0;
}

.header-content {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 1;
}

.logo {
    width: 384px;
    height: 70px;
    display: block;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-links {
    margin-bottom: 10px;
    font-size: 12px;
}

.header-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.header-links span {
    color: #ccc;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 180px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    font-size: 12px;
}

.search-box button {
    width: 32px;
    height: 28px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

nav{
    width: 100%;
    height: 45px;
    background-color: #275895;
}

ul.first{
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

ul.second{
    width: 160px;
    background-color: #1D3F7E;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

li{
    list-style: none;
    box-sizing: border-box;
}

.first > li{
    height: 45px;
    line-height: 45px;
    position: relative;
    text-align: center;
    flex: 1;
}

.first > li > a {
    font-size: 14px;
    display: block;
    width: 100%;
}

.first > li:hover ul.second{
    max-height: 300px;
    opacity: 1;
}

.second > li{
    width: 100%;
    height: 36px;
    line-height: 36px;
}

li a{
    display: block;
    color: white;
    text-decoration: none;
}

.first > li > a:hover{
    background-color: #1D3F7E;
}

.second > li a{
    padding-left: 15px;
    text-align: left;
    font-size: 13px;
}

.second > li a:hover{
    background-color: #275895;
}

main {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.banner-section {
    margin-bottom: 20px;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.content-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.content-section {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e5e5e5;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #275895;
}

.section-header h3 {
    color: #fff;
    font-size: 15px;
    font-weight: normal;
}

.more-link {
    color: #fff;
    font-size: 11px;
    text-decoration: none;
}

.content-section ul {
    padding: 10px 15px;
}

.content-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-section ul li a {
    color: #333;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-section ul li a:hover {
    color: #275895;
}

.content-section ul li .dot {
    color: #275895;
    margin-right: 5px;
    font-size: 14px;
}

.content-section ul li .date {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

/* 轮播区域样式 */
.carousel-section {
    padding: 0;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    padding: 8px 15px;
}

.carousel-caption p {
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.carousel-indicators span {
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background-color: rgba(255,255,255,0.5);
    color: #333;
    font-size: 11px;
    cursor: pointer;
}

.carousel-indicators span.active {
    background-color: #ff6b6b;
    color: #fff;
}

footer {
    background-color: #275895;
    color: white;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
}
