* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top,
.navbar-container,
.container,
.footer-content {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-text {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.logo-text img {
    max-height: 64px;
    width: auto;
    display: block;
}

.search-container {
    display: flex;
    width: 300px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: #0a4d9c;
}

.search-btn {
    background-color: #0a4d9c;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

.search-btn:hover {
    background-color: #1a6dcc;
}

/* 导航：整条底色，内容宽度与页头、正文、页脚一致 */
.navbar-wrapper {
    width: 100%;
    background-color: #0a4d9c;
}

.navbar-container {
    min-height: 56px;
    background-color: #0a4d9c;
}

.navbar-container ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #0a4d9c;
}

.navbar-container li {
    position: relative;
    flex: 1 1 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #0a4d9c;
    text-align: center;
}

.navbar-container a {
    display: block;
    padding: 16px 12px;
    color: #fff !important;
    background-color: transparent !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
}

.navbar-container li:hover,
.navbar-container a:hover {
    background-color: #083f80 !important;
    color: #fff !important;
}

.navbar-container ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 30;
    min-width: 180px;
    width: auto;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.navbar-container li:hover > ul {
    display: flex;
}

.navbar-container ul ul li {
    flex: none;
    width: 100%;
    background-color: #fff;
    text-align: left;
}

.navbar-container ul ul a {
    color: #333 !important;
    background-color: #fff !important;
    text-align: left;
}

.navbar-container ul ul a:hover {
    color: #0a4d9c !important;
    background-color: #eef5ff !important;
}

.main-carousel {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.main-carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.main-carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.main-carousel-item img,
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-carousel-indicators,
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.main-indicator,
.indicator {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.main-indicator.active,
.indicator.active {
    background-color: #fff;
}

.main-carousel-control,
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    z-index: 10;
}

.main-carousel-control.prev,
.carousel-control.prev {
    left: 15px;
}

.main-carousel-control.next,
.carousel-control.next {
    right: 15px;
}

.container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.main-content {
    width: 100%;
}

.first-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.culture-bridge {
    margin-top: 24px;
    height: 88px;
    max-height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f7fbff;
}

.culture-bridge img {
    width: 100%;
    height: 88px;
    max-height: 88px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.second-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.news-dynamic,
.news-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 500px;
    min-width: 0;
}

.section-head {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 3px solid #0a4d9c;
}

.section-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 22px;
    line-height: 32px;
    height: 32px;
    color: #0a4d9c;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-more {
    flex-shrink: 0;
    color: #0a4d9c;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.section-more:hover {
    color: #1a6dcc;
}

.news-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    flex: 1;
    min-height: 0;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 100%;
    min-height: 180px;
}

.carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.section-content,
.news-list,
.simple-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.news-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-title {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.news-title:hover {
    color: #0a4d9c;
}

.news-date {
    color: #888;
    font-size: 14px;
    min-width: 85px;
    margin-left: 12px;
    text-align: right;
}

.footer {
    background-color: #0a4d9c;
    color: #fff;
    padding: 30px 0 20px;
    margin-top: 50px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
}

.footer-info-item {
    margin: 6px 16px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .main-carousel {
        height: 320px;
    }

    .first-row,
    .second-row,
    .news-container {
        grid-template-columns: 1fr;
    }

    .culture-bridge,
    .culture-bridge img {
        height: 72px;
        max-height: 72px;
    }

    .news-dynamic,
    .news-section {
        height: auto;
        min-height: 320px;
    }

    .carousel {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .header-top,
    .navbar-container,
    .container,
    .footer-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        width: 100%;
        margin-top: 12px;
    }

    .navbar-container li {
        flex: 1 1 50%;
    }

    .main-carousel {
        height: 220px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 20px;
    }
}
