/* Base style reset - consistent with homepage */
* {
    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: #f9f9f9;
    padding-top: 136px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a3c7c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2a5fbd;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* 顶部固定区域 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 顶部信息栏样式 */
.top-info-bar {
    background-color: #1a3c7c;
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.company-slogan {
    font-weight: 600;
    color: #fff;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    font-size: 0.9rem;
    color: #a3b6e0;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* 文字LOGO样式 */
.text-logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a3c7c;
    background: linear-gradient(135deg, #2a5fbd 0%, #1a3c7c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding: 5px 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(42, 95, 189, 0.1);
    text-decoration: none;
    display: block;
}

.text-logo:hover {
    transform: translateY(-2px);
    text-shadow: 4px 4px 8px rgba(42, 95, 189, 0.2);
}

.text-logo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2a5fbd, #1a3c7c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.text-logo:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    list-style: none;
    white-space: nowrap;
}

.nav-links li {
    margin-left: 22px;
}

.nav-links a {
    font-weight: 600;
    color: #444;
    transition: color 0.3s;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-links a:hover {
    color: #2a5fbd;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2a5fbd;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a3c7c;
}

/* 当页面滚动时的导航栏样式 */
.fixed-header.scrolled .top-info-bar {
    padding: 5px 0;
    font-size: 0.8rem;
}

.fixed-header.scrolled .contact-info {
    gap: 15px;
}

.fixed-header.scrolled header {
    padding: 5px 0;
}

.fixed-header.scrolled .text-logo {
    font-size: 1.5rem;
}

/* Breadcrumb navigation */
.breadcrumb {
    background-color: #f0f5ff;
    padding: 20px 0;
    margin-bottom: 40px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #2a5fbd;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1a3c7c;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
    color: #888;
}

.breadcrumb .current {
    color: #666;
    font-weight: 600;
}

/* Article header area */
.article-header {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #2a5fbd;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1a3c7c;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Article content area */
.article-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.article-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-body h2 {
    color: #1a3c7c;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef3fd;
}

.article-body h3 {
    color: #2a5fbd;
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul, .article-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: #f8faff;
    border-left: 4px solid #2a5fbd;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h4 {
    color: #1a3c7c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.highlight-box h4 i {
    margin-right: 10px;
    color: #2a5fbd;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.grid-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.grid-caption {
    padding: 15px;
    background-color: white;
}

.grid-caption h4 {
    color: #1a3c7c;
    margin-bottom: 8px;
}

.grid-caption p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Article navigation (previous/next) */
.article-navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.nav-item {
    flex: 1;
    min-width: 300px;
    margin: 10px;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(42, 95, 189, 0.1);
}

.nav-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.nav-label i {
    margin-right: 8px;
}

.nav-item h3 {
    color: #1a3c7c;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Related articles area */
.related-articles {
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.related-article {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.related-article-img {
    height: 200px;
    overflow: hidden;
}

.related-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article-content {
    padding: 25px;
}

.related-article-content h3 {
    font-size: 1.3rem;
    color: #1a3c7c;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-article-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #2a5fbd;
    font-weight: 600;
    text-decoration: none;
}

.read-more i {
    margin-left: 8px;
}

/* 评论区域 */
.comments-section {
    background-color: #fff;
}

.comment-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comment-form h3 {
    font-size: 1.8rem;
    color: #1a3c7c;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #2a5fbd;
}

.product-btn {
    display: inline-block;
    background: linear-gradient(to right, #2a5fbd, #1a3c7c);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.product-btn:hover {
    background: linear-gradient(to right, #1a3c7c, #2a5fbd);
    box-shadow: 0 5px 15px rgba(42, 95, 189, 0.3);
}

/* Footer style */
footer {
    background-color: #1a3c7c;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #2a5fbd;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c2d1f0;
    transition: color 0.3s;
    display: inline-block;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a3b6e0;
    font-size: 0.95rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .article-content {
        padding: 30px;
    }
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    .top-info-bar {
        display: none;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 10px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .text-logo {
        font-size: 1.5rem;
    }
    .article-header {
        padding: 25px;
    }
    .article-header h1 {
        font-size: 1.8rem;
    }
    .article-content {
        padding: 25px;
    }
    .article-navigation {
        flex-direction: column;
    }
    .nav-item {
        min-width: 100%;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .comment-form-container {
        padding: 25px;
    }
    .image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-header {
        padding: 20px;
    }
    .article-header h1 {
        font-size: 1.6rem;
    }
    .article-content {
        padding: 20px;
    }
    .highlight-box {
        padding: 20px;
    }
    .text-logo {
        font-size: 1.3rem;
    }
}
