* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5px !important;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    box-sizing: border-box;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c7a7b;
    font-weight: 600;
    margin: 0;
    height: 50px;
    line-height: 50px;
}

.site-logo {
    display: block;
    max-width: 50px;
    height: auto;
    object-fit: contain;
    margin-right: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-title {
    font-size: 1.5rem;
    color: #1a8033;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    height: 70px;
    align-items: center;
}

#nav li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #2c7a7b;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c7a7b;
    background-color: rgba(44, 122, 123, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.has-submenu {
    position: relative;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0; /* 与主导航左侧对齐 */
    transform: translateY(-10px);
    background-color: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 0;
    margin-top: 0;
    pointer-events: none;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.submenu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
    background-color: #fff;
    line-height: 1 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.submenu li:last-child {
    border-bottom: none !important;
}

.submenu-link {
    display: block !important;
    padding: 1.125rem 1.25rem !important; /* 增加高度50% (0.75rem * 1.5 = 1.125rem) */
    color: #555 !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.submenu-link:hover,
.submenu-link.active {
    color: #2c7a7b;
    background-color: rgba(44, 122, 123, 0.1);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-contact-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #1a8033;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background-color: #145a28;
    transform: translateY(-2px);
}

.mobile-contact-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

main {
    min-height: calc(100vh - 200px);
}

.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page .banner {
    background-color: transparent;
    color: white;
    padding: 0;
    margin: 0;
    width: 100%;
}

.page .banner .container {
    max-width: 1200px;
    margin: 0 auto;
    height: 180px;
    display: flex;
    background-color: transparent;
    overflow: hidden;
}

.page .banner-content {
    padding: 0 20px;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

.page .banner-content h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

#home .banner {
    background-color: transparent;
    padding: 0;
}

.home-banner-wrapper {
    width: 100%;
    background-color: #2c7a7b;
}

#home .banner .container {
    padding: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-link {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(44, 122, 123, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-link:hover {
    background-color: #2c7a7b;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    border-color: white;
}

.indicator.active {
    background-color: white;
    border-color: white;
}

.carousel-caption {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 122, 123, 0.2);
    color: white;
    padding: 0.8rem 1.2rem;
    text-align: center;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: inline-block;
    white-space: nowrap;
}

.carousel-caption h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
}

.content-section {
    margin: 2rem 0;
    padding: 2rem 0;
}

.content-section:first-child {
    margin-top: 0;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6 {
    color: #2c7a7b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section h1 { font-size: 2.5rem; }
.content-section h2 { font-size: 2rem; }
.content-section h3 { font-size: 1.5rem; }

.content-section ul,
.content-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.text-content {
    order: 1;
}

.image-content {
    order: 2;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-block {
    margin: 0.5rem 0 !important;
    text-align: center !important;
}

.content-block > div {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

.content-block > div > h1,
.content-block > div > h2,
.content-block > div > h3 {
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

.image-text-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.image-text-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-text-title {
    font-size: 1.5rem;
    color: #2c7a7b;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.image-text-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.no-content {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-style: italic;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

.no-content p {
    margin: 0;
    font-size: 1rem;
}

.news-table {
    margin-top: 0.25rem !important;
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.news-row {
    padding: 0.75rem 0 !important;
    display: table-row;
    transition: background-color 0.3s ease;
    align-items: center;
}

.news-row:hover {
    background-color: rgba(44, 122, 123, 0.05);
}

.news-row.with-border {
    border-bottom: 1px solid #f0f0f0;
}

.news-cell {
    display: table-cell;
    padding: 0.75rem 0.5rem;
    border-bottom: none;
    vertical-align: middle;
}

.news-cell:first-child {
    width: 90px;
}

.news-cell:nth-child(2) {
    width: auto;
}

.news-cell:last-child {
    width: 130px;
    text-align: right;
    color: #999;
    font-size: 0.875rem;
}

.news-table .news-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.news-title-link {
    color: #333;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
}

.news-title-link:hover {
    color: #2c7a7b;
}

.news-dual-section {
    background-color: #fff;
    padding: 2rem 0;
    margin-top: 0.5rem;
}

.news-dual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-column {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007bff;
}

.column-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.column-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.column-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.thumbnail-cell {
    display: table-cell;
    width: 80px;
    padding: 0.5rem;
    text-align: left;
    vertical-align: middle;
}

.title-cell {
    display: table-cell;
    padding-left: 0;
    vertical-align: middle;
}

.title-cell.full-width {
    width: 70%;
}

.date-cell {
    display: table-cell;
    width: 25%;
    text-align: right;
    color: #666;
    font-size: 0.85rem;
    white-space: nowrap;
    vertical-align: middle;
}

.no-data-cell {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

.news-section {
    margin: 2rem 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.news-item {
    background: #fff;
    border-bottom: 1px dashed #e0e0e0;
    overflow: hidden;
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: rgba(44, 122, 123, 0.02);
}

.news-item-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: auto;
}

.news-thumbnail {
    position: relative;
    width: 100px;
    height: 70px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .thumbnail-image {
    transform: scale(1.05);
}

.news-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.news-header .news-title-link {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
    flex: 1;
    min-width: 0;
}

.news-header .news-title-link:hover {
    color: #2c7a7b;
}

.news-header .news-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-header .news-date {
    font-size: 0.875rem;
    color: #999;
    flex-shrink: 0;
}

.news-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-news {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

.richtext-block {
    margin: 2rem 0;
    line-height: 1.6;
}

.richtext-block h1,
.richtext-block h2,
.richtext-block h3,
.richtext-block h4,
.richtext-block h5,
.richtext-block h6 {
    color: #333;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.richtext-block h1 { font-size: 2rem; }
.richtext-block h2 { font-size: 1.75rem; }
.richtext-block h3 { font-size: 1.5rem; }
.richtext-block h4 { font-size: 1.25rem; }
.richtext-block h5 { font-size: 1.1rem; }
.richtext-block h6 { font-size: 1rem; }

.richtext-block p {
    margin-bottom: 1rem;
    color: #555;
}

.richtext-block ul,
.richtext-block ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.richtext-block li {
    margin-bottom: 0.5rem;
    color: #555;
}

.richtext-block blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.richtext-block a {
    color: #007bff;
    text-decoration: none;
}

.richtext-block a:hover {
    text-decoration: underline;
}

.richtext-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.richtext-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.richtext-block th,
.richtext-block td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.richtext-block th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c7a7b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.home-content {
    max-width: 1400px;
    margin: 0 auto;
}

.image-text-section {
    margin: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c7a7b;
    margin-bottom: 2rem;
    font-weight: 600;
}

.image-text-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.image-text-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 1rem 0;
    flex-shrink: 0;
}

.image-text-grid::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    background: #2c7a7b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-btn:hover {
    background: #1e5f60;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.image-text-card {
    flex: 0 0 314px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.image-text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-text-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: white;
}

.card-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-height: 2.8em;
    overflow: hidden;
}

.image-text-card:hover .card-description {
    max-height: 150px;
    overflow-y: auto;
}

.sidebar-categories,
.sidebar-nav {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    color: #2c7a7b;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.category-list,
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.nav-list li {
    margin-bottom: 0.5rem;
}

.category-link,
.nav-list .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #495057;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-link:hover,
.nav-list .nav-link:hover {
    color: #2c7a7b;
    background-color: rgba(44, 122, 123, 0.1);
}

.category-link.active,
.nav-list li.active .nav-link {
    color: #2c7a7b;
    background-color: rgba(44, 122, 123, 0.15);
    font-weight: 600;
}

.category-count {
    color: #999;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #2c7a7b;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
}

.article-detail {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.article-header {
    padding: 1rem 1rem 1rem 1rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    color: #2c7a7b;
    margin-bottom: 1rem;
    margin-top: 1rem;
    line-height: 1.3;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2c7a7b;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.article-abstract {
    background: #f8f9fa;
    padding: 1rem;
    border-left: 4px solid #2c7a7b;
    margin-bottom: 2rem;
    font-style: italic;
    color: #555;
}

.article-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c7a7b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.8rem; }
.article-content h3 { font-size: 1.6rem; }
.article-content h4 { font-size: 1.4rem; }
.article-content h5 { font-size: 1.2rem; }
.article-content h6 { font-size: 1.1rem; }

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.article-content blockquote {
    border-left: 4px solid #2c7a7b;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #666;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.article-content th,
.article-content td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

.article-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.article-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    background-color: transparent;
    border-top: 1px dotted #ddd;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.article-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    margin-bottom: 0;
}

.article-item-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    width: 100%;
}

.article-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.article-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-item-image img {
    transform: scale(1.05);
}

.article-item-text {
    flex: 1;
    padding: 1rem;
}

.article-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

.article-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.article-item a:hover {
    color: #1a8033;
}

.article-item p {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-meta {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.1rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.page-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
}

.page-content-wrapper > .sidebar-nav {
    grid-column: 1;
    grid-row: 1;
}

.page-content-wrapper > .content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.page-content-wrapper .contact-section {
    grid-column: 1 / -1;
}

.sub-nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.sub-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.sub-nav li {
    margin: 0;
}

.sub-nav a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.sub-nav a:hover {
    color: #2c7a7b;
    background-color: #f8f9fa;
}

.sub-nav a.active {
    color: #2c7a7b;
    background-color: white;
    border-bottom: 2px solid #2c7a7b;
    font-weight: 600;
}

.page-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-content h3 {
    color: #2c7a7b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.side-nav ul {
    list-style: none;
}

.side-nav li {
    margin-bottom: 1rem;
}

.side-nav a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.side-nav a:hover,
.side-nav a.active {
    background-color: #2c7a7b;
    color: white;
}

.dynamic-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.section-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.section-card h3 {
    color: #2c7a7b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.article-list {
    margin: 0;
}

.about-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-section h2 {
    color: #2c7a7b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.about-text {
    line-height: 1.8;
}

.about-image img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-section h2 {
    color: #2c7a7b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-qrcode {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    width: fit-content;
}

.contact-qrcode h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #333;
}

.qrcode-image {
    display: block;
    max-width: 160px;
    height: auto;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.contact-form h3 {
    margin-bottom: 1rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c7a7b;
}

.submit-btn {
    background-color: #2c7a7b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1a5a5b;
}

.submit-btn:disabled {
    background-color: #94c1bf;
    cursor: not-allowed;
}

.submit-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.submit-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.submit-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a8033;
    color: white;
    border-radius: 50%;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-size: 1.1rem;
    color: #1a8033;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.contact-qr-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.contact-qr-section .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a8033;
}

.contact-qr-section .qr-codes-grid {
    display: flex !important; /* 改为水平排列 */
    flex-direction: row !important;
    gap: 1.5rem !important;
    justify-content: center !important; /* 使网格内容居中对齐 */
    max-width: 100% !important; /* 限制最大宽度为容器宽度 */
    margin: 0 auto !important; /* 居中对齐 */
    flex-wrap: wrap !important; /* 允许换行以适应空间 */
    overflow-x: visible !important; /* 不显示横向滚动条 */
    width: 100% !important;
}

.contact-qr-section .qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-qr-section .qr-item:hover {
    background-color: #e9ecef;
    transform: translateY(-5px);
}

.contact-qr-section .qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.contact-qr-section .qr-label {
    font-size: 0.9rem;
    color: #495057;
}

.contact-info-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: #2c7a7b;
    margin-bottom: 0.5rem;
}

.contact-form-section {
    margin-top: 2rem;
}

.page-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: transparent;
}

.page-banner-carousel {
    position: relative;
    max-width: 1200px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
}

.page-banner-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 122, 123, 0.85);
    color: white;
    padding: 0.6rem 1.2rem;
    text-align: center;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: inline-block;
    white-space: nowrap;
}

.page-banner-caption h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.page-banner-link {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(44, 122, 123, 0.95);
    color: white;
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.page-banner-link:hover {
    background-color: #2c7a7b;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1a8033;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(26, 128, 51, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #145a28;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26, 128, 51, 0.5);
}

.back-to-top:active {
    transform: translateY(0);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qr-codes-grid {
    display: grid !important; /* 使用grid布局实现两排显示 */
    grid-template-columns: repeat(3, 1fr); /* 三列布局，每排三个 */
    gap: 1.5rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: white;
}

.qr-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.qr-codes-horizontal {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1rem;
}

.qr-item-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-image-medium {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

footer {
    background-color: #1a8033;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center; /* 改为中心对齐，让模块集中在中间 */
    align-items: flex-start;
    gap: 3rem; /* 增加模块之间的间距 */
    margin-bottom: 2rem;
    max-width: 1200px; /* 限制最大宽度为1200px */
    width: 100%; /* 确保占满容器 */
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap; /* 防止footer各模块换行 */
}

/* 合并后的图片网格样式 */
.combined-images-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* 确保所有图片在一行 */
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 1rem 0;
}



.friend-links-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center;
    gap: 0.625rem; /* 10px = 0.625rem，控制logo之间的间距 */
}

/* 确保二维码和logo图片在同一条线上 */
.footer-section.qr-section {
    flex: 1; /* 调整二维码模块的flex比例 */
    min-width: 250px; /* 二维码模块最小宽度 */
    max-width: 400px; /* 限制二维码模块最大宽度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-section:nth-child(3) { /* 公益支持部分 */
    flex: 0.4; /* 减少公益支持模块的flex比例 */
    min-width: 120px; /* 设置公益支持模块最小宽度 */
    max-width: 180px; /* 限制公益支持模块最大宽度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* 只对friend-links使用flex布局，二维码保持grid布局 */
.friend-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* 强制不换行，保持单排 */
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    overflow-x: auto; /* 如果内容超出容器宽度则启用横向滚动 */
    padding: 0.5rem 0; /* 添加一点内边距 */
}

/* 调整联系方式模块的宽度 */
.footer-section.contact-section {
    flex: 0.4; /* 进一步减少联系方式模块的宽度 */
    min-width: 120px; /* 设置更小的最小宽度 */
    max-width: 180px; /* 限制最大宽度，防止过度拉伸 */
}

.footer-section {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.friend-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row; /* 改为水平排列 */
    align-items: center;
    gap: 1rem;
    max-width: none; /* 移除宽度限制以适应一行显示 */
    margin-left: auto;
    margin-right: auto;
}

.friend-link-item {
    margin: 0;
}

.friend-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.friend-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.friend-link-logo-wrapper {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 150px;
    height: 80px;
}

.friend-link:hover .friend-link-logo-wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.friend-link-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 130px;
    max-height: 60px;
}

.friend-link-name {
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section.contact-section .footer-address,
.footer-section.contact-section .footer-phone,
.footer-section.contact-section .footer-email {
    font-weight: bold;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap; /* 在较小屏幕上允许换行 */
    }
}

@media (max-width: 768px) {
    #nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    #nav.active {
        left: 0;
    }

    #nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-contact-link {
        display: flex;
    }

    .has-submenu.active .submenu {
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .submenu li {
        border-bottom: none;
    }

    .submenu-link {
        padding: 0.75rem 0;
        color: #555;
    }

    .submenu-link:hover {
        background-color: #f8f9fa;
        color: #2c7a7b;
    }

    .has-submenu.active .submenu {
        opacity: 1;
        visibility: visible;
    }

    .home-banner-wrapper {
        background-color: #2c7a7b;
    }

    .carousel {
        height: 300px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .dynamic-sections {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 0.75rem 0;
    }

    .news-item-inner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .news-thumbnail {
        width: 100%;
        height: 80px;
        align-self: center;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-content h4 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .news-meta {
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .news-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section ul li a:hover {
        transform: none;
    }

    .sidebar-nav {
        display: none;
    }

    .sidebar-categories {
        display: none;
    }

    .page-content-wrapper {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .footer-section.contact-section {
        display: none;
    }

    .footer-section.qr-section {
        display: none;
    }

    .friend-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .qr-codes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    .contact-wrapper {
        padding: 1rem;
    }

    .contact-content {
        padding: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .contact-qr-section .qr-codes-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 在中等屏幕上每排2个 */
    }

    .contact-qr-section .qr-image {
        width: 180px;
        height: 180px;
    }

    .news-dual-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-column {
        padding: 1.5rem;
    }

    .news-column-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .column-link {
        align-self: flex-end;
    }

    .title-cell {
        width: 60%;
    }

    .date-cell {
        width: 40%;
        font-size: 0.8rem;
    }

    .page-banner {
        background-color: #2c7a7b;
    }

    .page-banner-carousel {
        height: 150px;
    }

    .page-banner-caption h2 {
        font-size: 1rem;
    }

    .page-banner-link {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .article-item p {
        display: none;
    }
  
    .article-meta {
        display: none;
    }
  
    .article-item-text {
        padding: 0.8rem;
    }
  
    .article-item h4 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .text-content,
    .image-content {
        order: unset;
    }

    .content-section h1 { font-size: 2rem; }
    .content-section h2 { font-size: 1.5rem; }
    .content-section h3 { font-size: 1.2rem; }

    .page-header h1 {
        font-size: 2rem;
    }

    .image-text-container {
        gap: 0.5rem;
    }

    .image-text-card {
        flex: 0 0 160px;
    }

    .image-text-grid {
        gap: 0.5rem;
        width: calc((160px + 0.5rem) * 1 - 0.5rem);
    }

    .card-image-wrapper {
        height: 150px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .scroll-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .prev-btn,
    .next-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .friend-links {
        grid-template-columns: 1fr;
    }

    /* 在小屏幕上调整二维码为每排2个 */
    .qr-codes-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 每排2个二维码 */
    }

    .home-banner-wrapper {
        background-color: #2c7a7b;
    }

    .carousel {
        height: 250px;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h2 {
        font-size: 1.25rem;
    }

    .carousel-caption p {
        font-size: 0.875rem;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 0.6rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    header .container {
        padding: 0.5rem 20px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .about-section,
    .contact-section {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section ul li a:hover {
        transform: none;
    }

    .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        font-size: 0.8rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

    .article-content p {
        font-size: 0.95rem;
    }

    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }

    .page-banner {
        background-color: #2c7a7b;
    }

    .page-banner-carousel {
        height: 120px;
    }

    .page-banner-caption {
        bottom: 20%;
        padding: 0.4rem 0.8rem;
    }

    .page-banner-caption h2 {
        font-size: 0.9rem;
    }

    .page-banner-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        bottom: 6%;
    }

    .card-image-wrapper {
        height: 180px;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn,
.page-num {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pagination-btn:hover,
.page-num:hover {
    color: #2c7a7b;
}

.page-num.active {
    text-decoration: underline;
    color: #2c7a7b;
}

.pagination-btn:disabled,
.page-num:disabled {
    color: #ccc;
    cursor: not-allowed;
}
