/* ============================================
   News Detail Page CSS
   Cangzhou Xinghui Pipeline Equipment Co., Ltd.
   ============================================ */

/* News Hero Section */
.xinghui-news-show-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.xinghui-news-show-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.xinghui-news-show-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.xinghui-news-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.xinghui-news-show-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.xinghui-news-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 15px;
    opacity: 0.9;
}

.xinghui-news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Breadcrumb Navigation */
.xinghui-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecef;
}

.xinghui-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.xinghui-breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.xinghui-breadcrumb-list li a {
    color: #1e3c72;
    transition: color 0.3s ease;
}

.xinghui-breadcrumb-list li a:hover {
    color: #2a5298;
    text-decoration: underline;
}

.xinghui-breadcrumb-list li i {
    font-size: 12px;
    color: #999;
}

.xinghui-breadcrumb-list li:last-child {
    color: #333;
    font-weight: 500;
}

/* News Show Content Section */
.xinghui-news-show-content {
    padding: 60px 0 80px;
    background: #fff;
}

.xinghui-news-show-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

/* News Show Main */
.xinghui-news-show-main {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.xinghui-news-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.xinghui-news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.xinghui-news-content-body {
    line-height: 1.8;
    color: #555;
}

.xinghui-news-content-body p {
    font-size: 16px;
    margin-bottom: 20px;
}

.xinghui-news-content-body h2 {
    font-size: 26px;
    color: #1e3c72;
    margin: 35px 0 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.xinghui-news-content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.xinghui-news-content-body ul {
    margin: 20px 0;
    padding-left: 25px;
}

.xinghui-news-content-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
}

.xinghui-news-content-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* News Quote */
.xinghui-news-quote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf1 100%);
    border-left: 4px solid #2a5298;
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.xinghui-news-quote i {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: rgba(42, 82, 152, 0.1);
}

.xinghui-news-quote p {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
}

.xinghui-quote-author {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* News Highlights */
.xinghui-news-highlights {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 35px;
    border-radius: 12px;
    margin: 30px 0;
}

.xinghui-news-highlights h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.xinghui-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.xinghui-highlight-item {
    text-align: center;
}

.xinghui-highlight-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.xinghui-highlight-label {
    font-size: 14px;
    opacity: 0.9;
}

/* News Tags */
.xinghui-news-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8ecef;
    flex-wrap: wrap;
}

.xinghui-tags-label {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.xinghui-tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.xinghui-tag {
    padding: 8px 18px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.xinghui-tag:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

/* News Share */
.xinghui-news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8ecef;
    flex-wrap: wrap;
}

.xinghui-share-label {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.xinghui-share-buttons {
    display: flex;
    gap: 10px;
}

.xinghui-share-btn {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xinghui-share-btn:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    transform: translateY(-3px);
}

/* News Navigation */
.xinghui-news-navigation {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.xinghui-news-nav-prev,
.xinghui-news-nav-next {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.xinghui-news-nav-prev:hover,
.xinghui-news-nav-next:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.xinghui-news-nav-prev i,
.xinghui-news-nav-next i {
    font-size: 24px;
}

.xinghui-nav-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xinghui-news-nav-prev:hover .xinghui-nav-label,
.xinghui-news-nav-next:hover .xinghui-nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.xinghui-nav-title {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.xinghui-news-nav-prev:hover .xinghui-nav-title,
.xinghui-news-nav-next:hover .xinghui-nav-title {
    color: #fff;
}

/* Sidebar */
.xinghui-news-show-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.xinghui-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.xinghui-widget-title {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.xinghui-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Related News */
.xinghui-related-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.xinghui-related-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.xinghui-related-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.xinghui-related-item:hover {
    transform: translateX(5px);
}

.xinghui-related-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.xinghui-related-content h4 {
    font-size: 15px;
    color: #1e3c72;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.xinghui-related-item:hover .xinghui-related-content h4 {
    color: #2a5298;
}

.xinghui-related-content span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Category List */
.xinghui-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xinghui-category-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8ecef;
}

.xinghui-category-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.xinghui-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.xinghui-category-list li a:hover {
    color: #1e3c72;
    padding-left: 10px;
}

.xinghui-category-list li a i {
    margin-right: 10px;
    color: #2a5298;
}

.xinghui-category-list li a span {
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    color: #666;
}

/* Newsletter Form */
.xinghui-sidebar-widget p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.xinghui-newsletter-form {
    display: flex;
    gap: 10px;
}

.xinghui-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.xinghui-newsletter-form input:focus {
    outline: none;
    border-color: #2a5298;
}

.xinghui-newsletter-form button {
    padding: 12px 18px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xinghui-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Contact Info */
.xinghui-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.xinghui-contact-info p i {
    color: #2a5298;
    width: 20px;
}

.xinghui-contact-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.xinghui-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .xinghui-news-show-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .xinghui-news-show-hero h1 {
        font-size: 36px;
    }

    .xinghui-news-show-main {
        padding: 30px;
    }

    .xinghui-news-show-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .xinghui-news-show-hero {
        padding: 60px 0;
    }

    .xinghui-news-show-hero h1 {
        font-size: 28px;
    }

    .xinghui-news-show-content {
        padding: 40px 0 60px;
    }

    .xinghui-news-show-main {
        padding: 20px;
    }

    .xinghui-news-show-sidebar {
        grid-template-columns: 1fr;
    }

    .xinghui-news-content-body h2 {
        font-size: 22px;
    }

    .xinghui-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .xinghui-highlight-number {
        font-size: 28px;
    }

    .xinghui-news-navigation {
        flex-direction: column;
    }

    .xinghui-news-meta {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .xinghui-news-show-hero h1 {
        font-size: 24px;
    }

    .xinghui-news-content-body p {
        font-size: 15px;
    }

    .xinghui-news-content-body h2 {
        font-size: 20px;
    }

    .xinghui-news-quote {
        padding: 20px;
    }

    .xinghui-news-quote p {
        font-size: 16px;
    }

    .xinghui-highlight-grid {
        grid-template-columns: 1fr;
    }

    .xinghui-news-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .xinghui-news-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .xinghui-news-nav-prev,
    .xinghui-news-nav-next {
        padding: 15px;
    }
}
