/* 新增：锚点跳转平滑滚动（提升体验） */
html {
    scroll-behavior: smooth;
    /* 解决锚点跳转被导航栏遮挡问题 */
    scroll-padding-top: 100px;
}
/* 新增：站群友情链接样式 */
.friend-links-module {
    background-color: #fff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.friend-link-item {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.friend-link-item:hover {
    background-color: #e63946;
    color: #fff;
    transform: translateY(-2px);
}

/* 原有样式保持不变 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", Arial, sans-serif;
}
/* 新增：内容区块间距 */
.content-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}
.content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 新增：关于我们联系框样式 */
.contact-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}
.contact-box p {
    margin-bottom: 10px !important;
}

/* 新增：侧边栏提示文字 */
.tips {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* 原有样式保持不变，仅补充以上内容 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", Arial, sans-serif;
}
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
a:hover {
    color: #e63946;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb {
    padding: 12px 0;
    background-color: #fff;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}
.breadcrumb a {
    color: #666;
}
.breadcrumb span {
    margin: 0 6px;
}
.breadcrumb .current {
    color: #e63946;
    font-weight: 500;
}
.main-header {
    background-color: #fff;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo a {
    font-size: 26px;
    font-weight: bold;
    color: #e63946;
    letter-spacing: 1px;
}
.main-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
.main-nav li {
    margin-left: 32px;
}
.main-nav a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.main-nav a.active, .main-nav a:hover {
    color: #e63946;
}
.hero {
    background: linear-gradient(135deg, #e63946, #ff707a);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.hero h1 {
    font-size: 38px;
    margin-bottom: 22px;
}
.hero h1 span {
    color: #fff880;
}
.hero p {
    font-size: 19px;
    margin-bottom: 35px;
    opacity: 0.9;
}
.hero .btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #fff;
    color: #e63946;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero .btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
.about-hero {
    padding: 50px 0;
}
.about-hero h1 {
    font-size: 32px;
}
.about-hero p {
    font-size: 18px;
}
.carousel {
    padding: 40px 0;
    background-color: #fff;
}
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.carousel-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.8);
    color: #e63946;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-prev {
    left: 20px;
}
.carousel-next {
    right: 20px;
}
.carousel-prev:hover, .carousel-next:hover {
    background-color: #fff;
}
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.carousel-indicators span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
    display: inline-block;
}
.carousel-indicators span.active {
    background-color: #fff;
    width: 30px;
    border-radius: 7px;
    transition: width 0.3s ease;
}
.content {
    padding: 50px 0;
}
.content .container {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}
.main-content {
    flex: 3;
    min-width: 700px;
}
.sidebar {
    flex: 1;
    min-width: 280px;
}
.section-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e63946;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ff9a9f;
}
.section-title a {
    color: #333;
}
.section-title a:hover {
    color: #e63946;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.article-item {
    display: flex;
    gap: 24px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.article-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.article-item a {
    display: flex;
    gap: 24px;
    width: 100%;
}
.article-item img {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.article-info {
    flex: 1;
}
.article-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}
.article-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    font-size: 13px;
    color: #999;
}
.publish-time {
    color: #e63946;
    font-weight: 500;
}
.sidebar-module {
    background-color: #fff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    margin-bottom: 25px;
}
.sidebar-module h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}
.sidebar-module ul {
    list-style: none;
}
.sidebar-module li {
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 2px solid #eee;
}
.sidebar-module li:hover {
    border-left-color: #e63946;
}
.sidebar-module a {
    font-size: 15px;
    color: #666;
}
.qrcode {
    width: 100%;
    height: auto;
    margin-top: 12px;
    border-radius: 6px;
    border: 1px solid #eee;
    padding: 8px;
}
.about-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.about-section {
    margin-bottom: 35px;
}
.about-section h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 18px;
    position: relative;
    padding-left: 15px;
}
.about-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 20px;
    background-color: #e63946;
    border-radius: 3px;
}
.about-section h3 {
    font-size: 18px;
    color: #333;
    margin: 15px 0 10px 0;
}
.about-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 12px;
    font-size: 15px;
}
.about-section ul {
    list-style: disc;
    margin-left: 25px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}
.about-section ul li {
    margin-bottom: 8px;
}
.footer-links {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
    margin-top: 30px;
}
.footer-links .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-column {
    flex: 1;
    min-width: 220px;
}
.footer-column h4 {
    font-size: 18px;
    margin-bottom: 22px;
    color: #fff;
    border-bottom: 1px solid #555;
    padding-bottom: 12px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
}
.footer-column a {
    color: #ccc;
}
.footer-column a:hover {
    color: #e63946;
}
.copyright {
    background-color: #222;
    color: #999;
    padding: 20px 0;
    font-size: 14px;
}
.copyright .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.copyright-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}
.copyright-info a {
    color: #ccc;
}
.copyright-info a:hover {
    color: #e63946;
}
.copyright-text {
    text-align: center;
    font-size: 13px;
}
@media (max-width: 992px) {
    .main-content {
        min-width: 100%;
    }
    .sidebar {
        min-width: 100%;
    }
    .article-item {
        flex-direction: column;
        gap: 15px;
    }
    .article-item img {
        width: 100%;
        height: auto;
    }
    .carousel-wrapper {
        height: 300px;
    }
    .main-nav li {
        margin-left: 20px;
        margin-top: 10px;
    }
}
@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    .carousel-wrapper {
        height: 220px;
    }
    .carousel-caption {
        font-size: 16px;
        padding: 15px;
    }
    .footer-column {
        min-width: 100%;
    }
}