/* ==================== 新闻页面样式 ==================== */

/* 主内容区域 */
.main-content {
    min-height: 60vh;
    background: white;
}

/* ==================== 页面Banner ==================== */
.page-banner {
    position: relative;
    width: 100%;

    overflow: hidden;
    margin-bottom: 0;
}

.page-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-banner-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 0.8s ease-out;
}

.page-banner-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out 0.3s both;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 16px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffb503;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

/* 动画效果 */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ==================== 新闻列表区域 ==================== */
.news-list-section {
    padding: 20px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.news-list-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.news-layout {
    display: grid;
    gap: 40px;
}

/* ==================== 左侧主要内容 ==================== */
.news-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 置顶新闻卡片 */
.featured-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.featured-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.featured-image {
    position: relative;
    width: 45%;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.featured-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-news-card:hover .featured-title {
    color: #8d0004;
}

.featured-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.meta-date,
.meta-views {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-date i,
.meta-views i {
    color: #8d0004;
}

.read-more {
    font-size: 14px;
    color: #8d0004;
    font-weight: 500;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.featured-news-card:hover .read-more {
    transform: translateX(5px);
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.news-item.show {
    opacity: 1;
    transform: translateY(0);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.news-image {
    position: relative;
    width: 320px;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(141, 0, 4, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.badge-day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 3px;
}

.badge-month {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}
.badge-month1{
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #8d0004;
}

.news-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.meta-item {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #8d0004;
    font-size: 14px;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #8d0004;
    color: white;
    border-color: #8d0004;
    transform: translateY(-2px);
}

.pagination .active {
    background: #8d0004;
    color: white;
    border-color: #8d0004;
}

/* ==================== 右侧边栏 ==================== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #8d0004;
}

/* 搜索框 */
.sidebar-search {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.search-input-group {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #8d0004;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-btn {
    padding: 0 25px;
    background: #8d0004;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #c41e3a;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #8d0004;
    color: white;
    transform: translateX(5px);
}

.category-link.active {
    background: #8d0004;
    color: white;
}

.category-link i {
    font-size: 16px;
}

/* 热门新闻 */
.hot-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-news-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-news-item:hover {
    background: #8d0004;
    transform: translateX(5px);
}

.hot-news-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.hot-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.hot-news-item h4 {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.hot-news-item:hover h4 {
    color: white;
}

.hot-news-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.hot-news-item:hover .hot-news-date {
    color: rgba(255, 255, 255, 0.8);
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 8px 18px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #8d0004;
    color: white;
    transform: translateY(-2px);
}

/* 联系信息 */
.sidebar-contact {
    background: linear-gradient(135deg, #8d0004, #c41e3a);
    color: white;
}

.sidebar-contact .sidebar-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.sidebar-contact .contact-item i {
    font-size: 18px;
    opacity: 0.9;
}

/* ==================== 新闻详情页 ==================== */
.news-detail-section {
    padding: 20px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.news-detail-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* 新闻文章 */
.news-article {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-summary {
    margin-top: 30px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #fff5f5, #f8f9fa);
    border-left: 4px solid #8d0004;
    border-radius: 8px;
    position: relative;
}

.summary-icon {
    position: absolute;
    top: 20px;
    left: -15px;
    width: 30px;
    height: 30px;
    background: #8d0004;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.article-summary p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    font-style: italic;
}

/* 文章正文 */
.article-content {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h2,
.article-content h3 {
    color: #333;
    margin: 30px 0 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.tags-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    padding: 6px 15px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #8d0004;
    color: white;
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn.weixin {
    background: #07C160;
}

.share-btn.weibo {
    background: #E6162D;
}

.share-btn.qq {
    background: #12B7F5;
}

.share-btn.link {
    background: #666;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 上下篇导航 */
.article-navigation {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* 当只有一篇导航时，让其居中显示 */
.article-navigation:has(.nav-link:only-child) {
    justify-content: center;
}

.article-navigation .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex: 1;
}

.article-navigation .nav-link:hover {
    background: #8d0004;
    color: white;
    transform: translateY(-3px);
}

/* 确保不影响头部导航 */


header .nav-menu .nav-link:hover,
header .nav-menu .nav-link.active {
    background: rgba(255,255,255,0.1) !important;
    color: #ffb503 !important;
    transform: none !important;
}

header .nav-menu .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: #ffb503 !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
}

header .nav-menu .nav-link:hover::after,
header .nav-menu .nav-link.active::after {
    width: 80% !important;
}

.nav-label {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.article-navigation .nav-link:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.next-link {
    flex-direction: row-reverse;
}

.article-navigation .next-link .nav-label {
    justify-content: flex-end;
}

/* 禁用显示"没有了!"的导航链接的动画效果 */
.no-animation,
.no-animation:hover,
.no-animation:focus,
.no-animation:active {
    pointer-events: none !important;
    opacity: 0.6 !important;
    transform: none !important;
    background: #f8f9fa !important;
    color: #666 !important;
    box-shadow: none !important;
    border: none !important;
    transition: none !important;
    animation: none !important;
}

.no-animation * {
    color: #666 !important;
}

.no-animation:hover * {
    color: #666 !important;
}

.nav-title {
    font-size: 15px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 相关新闻 */
.related-news {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.related-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-title i {
    color: #8d0004;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-news-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(141, 0, 4, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-news-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 36px;
}

.related-news-info {
    padding: 18px;
}

.related-news-info h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.related-news-item:hover .related-news-info h4 {
    color: #8d0004;
}

.related-news-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 详情页侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 最新新闻 */
.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-news-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-news-item:hover {
    background: #8d0004;
    transform: translateX(5px);
}

.latest-news-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.latest-news-item h4 {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.latest-news-item:hover h4 {
    color: white;
}

.latest-news-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.latest-news-item:hover .latest-news-date {
    color: rgba(255, 255, 255, 0.8);
}

/* 热门阅读 */
.hot-reading-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-reading-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-reading-item:hover {
    background: #8d0004;
    transform: translateX(5px);
}

.hot-rank {
    width: 30px;
    height: 30px;
    background: #8d0004;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.hot-reading-item:nth-child(1) .hot-rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.hot-reading-item:nth-child(2) .hot-rank {
    background: linear-gradient(135deg, #C0C0C0, #999);
}

.hot-reading-item:nth-child(3) .hot-rank {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
}

.hot-reading-info {
    flex: 1;
    min-width: 0;
}

.hot-reading-item h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.hot-reading-item:hover h4 {
    color: white;
}

.hot-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.hot-reading-item:hover .hot-meta {
    color: rgba(255, 255, 255, 0.8);
}

.hot-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 在线咨询表单 */
.sidebar-contact-form {
    background: linear-gradient(135deg, #fff5f5, #f8f9fa);
    border: 2px solid #8d0004;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8d0004;
    box-shadow: 0 0 0 3px rgba(141, 0, 4, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-yellow {
    background: #ffb503;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-yellow:hover {
    background: #ffd700;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 181, 3, 0.3);
}

.btn-block {
    width: 100%;
}

/* 公司信息 */
.sidebar-company {
    background: white;
}

.sidebar-company .company-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 确保不影响头部导航中的公司信息 */
header .company-info {
    flex: 1;
}

.company-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.company-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8d0004, #c41e3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.company-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.company-text .label {
    font-size: 12px;
    color: #999;
}

.company-text .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}


/* ==================== 响应式设计 ==================== */
@media (min-width: 2200px) {
    .nav-title{
        font-size: 24px !important;
    }
    .nav-label{
        font-size: 24px !important;
    }
    .article-content {
        font-size: 24px !important;
    }
    .article-title{
        font-size: 48px !important;
    }
    .article-summary p{
        font-size: 24px !important;
    }
    .badge-month1{
        font-size: 24px !important;
    }
    .pages{
        font-size: 30px !important;
    }
    .breadcrumb{
        font-size: 24px !important;
    }
    .news-image{
        width: 400px !important;
        height: 320px !important;
    }
    .section-title {
        font-size: 48px !important;
    }
    .news-title{
        font-size: 30px !important;
    }
    .meta-item{
        font-size: 20px !important;
    }
    .section-subtitle {
        font-size: 24px !important;
    }
    .news-info span{
        font-size: 24px !important;
    }
    .news-info time{
        font-size: 20px !important;
    }
    .news-desc{
        font-size: 24px !important;
    }
    .news-icon{
        width: 120px !important;
        height: 120px !important;
    }
    .news-item h4{
        font-size: 24px !important;
    }
    .news-item p{
        font-size: 24px !important;
    }
    .news-item time{
        font-size: 20px !important;
    }
    .news-item h4{
        font-size: 24px !important;
    }
    .news-item p{
        font-size: 24px !important;
    }
    .news-item time{
        font-size: 20px !important;
    }
}

/* 平板设备 */
@media (max-width: 1024px) {
    .page-banner {
        height: 300px;
    }
    
    .page-banner-title {
        font-size: 38px;
    }
    
    .news-layout,
    .detail-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
    
    .featured-link {
        flex-direction: column;
    }
    
    .featured-image {
        width: 100%;
        height: 250px;
    }
    
    .news-image {
        width: 250px;
        height: 180px;
    }
    
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    
    .page-banner-title {
        font-size: 32px;
    }
    
    .page-banner-desc {
        font-size: 16px;
    }
    
    .news-list-section{
        padding: 15px 0;
    }

    .news-detail-section {
        padding: 15px 0;
    }
    
    .news-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .news-link {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-article {
        padding: 30px 25px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .related-news {
        padding: 25px 20px;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 小型移动设备 */
@media (max-width: 480px) {
    .page-banner {
        height: 200px;
    }
    
    .page-banner-title {
        font-size: 24px;
    }
    
    .page-banner-desc {
        font-size: 14px;
    }
    
    .news-list-section{
        padding: 10px 0;
    }
    .news-detail-section {
        padding: 10px 0;
    }
    
    .featured-content {
        padding: 25px 20px;
    }
    
    .featured-title {
        font-size: 20px;
    }
    
    .featured-meta {
        gap: 15px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-article {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .article-content {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .article-share,
    .article-tags {
        flex-wrap: wrap;
    }
    
    .sidebar-box {
        padding: 20px;
    }
}

