/* ============================================
   嵘鳄 RONGE — 新闻中心页面样式
   ============================================ */

/* ---- 新闻中心 Hero区 ---- */
.news-hero {
    position: relative;
    padding: 0;
    min-height: 380px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E85D04 0%, #F37021 50%, #ff6b25 100%);
}
.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
}
.news-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 12px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}
.news-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    letter-spacing: 4px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.news-hero-line {
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.9);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.news-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* ---- 子页面Hero（深色背景）---- */
.news-sub-hero {
    position: relative;
    padding: 0;
    min-height: 320px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}
.news-sub-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px 20px;
}
.news-sub-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #E85D04;
    letter-spacing: 10px;
    text-shadow: 0 2px 20px rgba(232,93,4,0.3);
    margin-bottom: 14px;
    animation: fadeInUp 0.8s ease-out;
}
.news-sub-hero-line {
    width: 60px;
    height: 3px;
    background: #E85D04;
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ---- 新闻列表网格（主页面）---- */
.news-section {
    background: #fff;
    padding: 80px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ---- 新闻卡片 ---- */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.news-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background: #f5f5f5;
}
.news-card:hover .news-card-img {
    transform: scale(1.05);
}
.news-card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.news-card-body {
    padding: 20px;
}
.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.news-card-title a:hover {
    color: #E85D04;
}
.news-card-date {
    font-size: 0.85rem;
    color: #E85D04;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-card-date i {
    font-size: 0.8rem;
}
.news-card-summary {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- 时间线样式（公司新闻）---- */
.timeline-section {
    background: #f8f6f1;
    padding: 80px 0;
}
.news-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}
.news-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #E85D04, #F37021);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #E85D04;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #E85D04;
    transition: transform 0.3s;
}
.timeline-item:hover::before {
    transform: scale(1.2);
}
.timeline-date {
    font-size: 1rem;
    font-weight: 700;
    color: #E85D04;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timeline-date i {
    font-size: 0.9rem;
}
.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.timeline-summary {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ---- 卡片式报道列表（媒体报道）---- */
.media-section {
    background: #fff;
    padding: 80px 0;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}
.media-card {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.media-card-img {
    flex-shrink: 0;
    width: 200px;
    height: 160px;
    object-fit: cover;
    background: #f5f5f5;
}
.media-card-body {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.media-card-source {
    font-size: 0.85rem;
    color: #E85D04;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.media-card-source i {
    font-size: 0.9rem;
}
.media-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
    line-height: 1.4;
}
.media-card-date {
    font-size: 0.85rem;
    color: #999;
}

/* ---- 图文交错展示（精彩活动）---- */
.activity-section {
    background: #f8f6f1;
    padding: 80px 0;
}
.activity-list {
    max-width: 1000px;
    margin: 0 auto;
}
.activity-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}
.activity-item:nth-child(even) {
    flex-direction: row-reverse;
}
.activity-item:last-child {
    margin-bottom: 0;
}
.activity-img {
    flex-shrink: 0;
    width: 45%;
    height: 320px;
    object-fit: cover;
    background: #f5f5f5;
}
.activity-body {
    flex: 1;
    padding: 30px 40px 30px 0;
}
.activity-item:nth-child(even) .activity-body {
    padding: 30px 0 30px 40px;
}
.activity-date {
    font-size: 0.9rem;
    color: #E85D04;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.activity-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 14px;
    line-height: 1.4;
}
.activity-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* ---- 产品资讯网格 ---- */
.product-news-section {
    background: #fff;
    padding: 80px 0;
}
.product-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.product-news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    border-top: 3px solid transparent;
}
.product-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-top-color: #E85D04;
}
.product-news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
    transition: transform 0.5s;
}
.product-news-card:hover .product-news-img {
    transform: scale(1.05);
}
.product-news-img-wrapper {
    overflow: hidden;
}
.product-news-body {
    padding: 20px;
}
.product-news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-news-date {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-news-date i {
    font-size: 0.8rem;
}

/* ---- 空状态占位 ---- */
.news-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}
.news-placeholder i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 16px;
    display: block;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-hero-title {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }
    .news-hero-subtitle {
        font-size: 1rem;
    }
    .news-sub-hero-title {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .news-card-title {
        font-size: 1rem;
    }
    .news-timeline {
        padding-left: 30px;
    }
    .news-timeline::before {
        left: 10px;
    }
    .timeline-item {
        padding-left: 30px;
    }
    .timeline-item::before {
        left: -28px;
        width: 12px;
        height: 12px;
    }
    .media-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .media-card {
        flex-direction: column;
    }
    .media-card-img {
        width: 100%;
        height: 200px;
    }
    .media-card-body {
        padding: 20px;
    }
    .activity-item {
        flex-direction: column !important;
        gap: 0;
    }
    .activity-img {
        width: 100%;
        height: 220px;
    }
    .activity-body {
        padding: 20px !important;
    }
    .activity-title {
        font-size: 1.2rem;
    }
    .product-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-body {
        padding: 16px;
    }
}

/* ============================================
   新闻详情页样式
   ============================================ */
.news-detail-hero {
    background: linear-gradient(135deg, #E85D04 0%, #F37021 50%, #ff6b25 100%);
    padding: 60px 20px 50px;
    margin-bottom: 0;
    text-align: center;
}
.news-detail-hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.news-detail-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.news-detail-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}
.news-detail-breadcrumb a:hover {
    color: #fff;
}
.news-detail-breadcrumb .breadcrumb-sep {
    color: rgba(255,255,255,0.5);
    margin: 0 8px;
}
.news-detail-breadcrumb .breadcrumb-current {
    color: #fff;
}
.news-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}
.news-detail-meta i {
    margin-right: 5px;
}
.news-detail-content {
    padding: 0;
}
.news-detail-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}
.news-detail-lead {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    background: #f8f8f8;
    padding: 24px 28px;
    border-radius: 10px;
    border-left: 4px solid #E85D04;
    margin-bottom: 36px;
}
.news-detail-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E85D04;
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-detail-heading i {
    color: #E85D04;
    font-size: 1.2rem;
}
.news-detail-subheading {
    font-size: 1.15rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.news-detail-text {
    font-size: 1rem;
    line-height: 2;
    color: #444;
    margin-bottom: 16px;
    text-indent: 2em;
}
.news-detail-text strong {
    color: #E85D04;
}
.news-detail-figure {
    margin: 30px 0;
    text-align: center;
}
.news-detail-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.news-detail-figure {
    text-align: center;
}
.news-detail-figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.news-detail-figure figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}
.news-detail-highlight-box {
    background: linear-gradient(135deg, #E85D04 0%, #ff6b25 100%);
    color: #fff;
    padding: 20px 28px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    margin: 24px 0;
}
.news-detail-ending {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}
.news-detail-ending p {
    font-size: 1.05rem;
    line-height: 2;
    color: #333;
    font-weight: 500;
}
.news-detail-nav {
    margin-top: 40px;
    text-align: center;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #E85D04;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.btn-back:hover {
    background: #d14f00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232,93,4,0.3);
}
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.5rem;
    }
    .news-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    .news-detail-body {
        padding: 30px 16px 40px;
    }
    .news-detail-heading {
        font-size: 1.25rem;
    }
}

/* 动画复用 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ====== 详情页导航(.nav-links) + 温馨提示框修复 ====== */
.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    height: 54px;
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.nav-links li { position: relative; }
.nav-links li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    padding: 16px 20px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2.5px;
    background: linear-gradient(90deg, #E85D04, #ff6b25);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links li a:hover { color: #E85D04; transform: translateY(-1px); }
.nav-links li a:hover::after { width: 70%; }
.nav-links li a.active { color: #E85D04; font-weight: 700; }
.nav-links li a.active::after { width: 60%; }

.mobile-menu-toggle {
    display: none;
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 22px;
    background: none; border: none; cursor: pointer; z-index: 110;
}
.mobile-menu-toggle i { font-size: 22px; color: #333; }

@media (max-width: 960px) {
    .mobile-menu-toggle { display: block; }
    .nav-content { position: relative; }
    .nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.12);
        gap: 0;
        z-index: 999;
    }
    .nav-links.show { display: flex; }
    .nav-links li a {
        padding: 12px 24px;
        text-align: center;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-links li a::after { display: none; }
}

/* 温馨提示框：确保文字清晰可见 */
.news-detail-highlight-box ul li {
    color: #555 !important;
    font-size: 15px;
    line-height: 1.8;
}
.news-detail-highlight-box p {
    color: #555;
    line-height: 1.8;
}

/* ============================================
   详情页顶部信息栏 + 子导航（从about.css迁移）
   ============================================ */

/* ---- 详情页顶部栏（电话/邮箱/日期）---- */
.news-detail-page .top-bar {
    background: #1a1a1a;
    padding: 8px 0;
    border-bottom: none;
    text-align: left;
}
.news-detail-page .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ccc;
}
.news-detail-page .top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.news-detail-page .top-bar-left i {
    color: #E85D04;
}
.news-detail-page .top-bar-left span {
    color: #ddd;
}
.news-detail-page .top-bar-right span {
    color: #999;
    font-size: 12px;
}

/* ---- 详情页子导航（深色胶囊式）---- */
.news-detail-page .about-subnav {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 18px 0;
    position: sticky;
    top: 54px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.news-detail-page .about-subnav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.news-detail-page .about-subnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 10px 28px;
    font-size: 0.92rem;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-detail-page .about-subnav a:hover {
    background: rgba(232,93,4,0.15);
    border-color: #E85D04;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232,93,4,0.25);
}
.news-detail-page .about-subnav a.active {
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,93,4,0.35);
}

@media (max-width: 768px) {
    .news-detail-page .top-bar {
        padding: 6px 0;
    }
    .news-detail-page .top-bar-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        font-size: 11px;
    }
    .news-detail-page .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .news-detail-page .about-subnav {
        position: relative;
        top: auto;
        padding: 12px 0;
    }
    .news-detail-page .about-subnav .container {
        gap: 8px;
    }
    .news-detail-page .about-subnav a {
        padding: 8px 18px;
        font-size: 0.82rem;
    }
}
