/** 
* Theme Name: 培训网站通用模板 
* Theme URI: https://www.mnkh.cn
* Author: LPY 
* Author URI: https://www.mnkh.cn
* Description: 培训网站通用模板
* Version: 1.0
* Tags: training, website, template, responsive
*/
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header样式 */
.header {
    width: 100%;
}

.logo-section {
    background-image: url('images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-height: 200px;
    max-width: 90%;
    object-fit: contain;
}

.navbar {
    background-color: #C91818;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-item:first-child {
    border-left: none;
}

.nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-icon {
    margin-right: 8px;
    font-size: 18px;
    color: white;
}

.nav-icon i {
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon i {
    transform: scale(1.2);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #C91818;
    list-style: none;
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-box button {
    padding: 8px 12px;
    background-color: #f1faee;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #a8dadc;
}

/* 主内容样式 */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 内容区域通用样式 */
.content-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* 动画效果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同内容区域设置不同的动画延迟 */
.headline {
    animation-delay: 0.1s;
}

.banner-section {
    animation-delay: 0.2s;
}

.projects-section {
    animation-delay: 0.3s;
}

/* 头条通告 */
.headline {
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #C91818;
}

.headline a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.headline h2 {
    font-size: 20px;
    color: #C91818;
    flex: 1;
    line-height: 1.4;
    margin: 0;
    transition: all 0.3s ease;
}

.headline-label {
    width: 110px;
    display: inline-block;
    background-color: #C91818 !important;
    color: #ffffff !important;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.4;
}

.headline-label i,
.headline-label b {
    color: #ffffff !important;
    font-weight: 500;
}

.headline-label i {
    margin-right: 5px;
}

.headline a:hover {
    transform: translateY(-2px);
}

.headline a:hover h2 {
    color: #9e1313;
    font-size: 22px;
}

/* 轮播图和文字列表 */
.banner-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.banner {
    flex: 5;
    height: 360px;
    overflow: hidden;
    position: relative;
}

/* 确保Swiper容器正确显示 */
.swiper {
    width: 100%;
    height: 100%;
}

.text-list {
    flex: 4;
    /* border: 1px solid #ddd; */
    overflow: hidden;
    background-color: white;
}

.tab-container {
    display: flex;
    border-bottom: 2px solid #C91818;
    background-color: white;
    overflow: hidden;
    justify-content: space-between;
    align-items: center;
}

.tab {
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #eee;
    background-color: #f5f5f5;
}

.tab:last-child {
    border-right: none;
}

.tab:hover {
    background-color: rgba(201, 24, 24, 0.1);
    color: #C91818;
    transform: translateY(-2px);
}

.tab.active {
    background-color: #C91818;
    color: white;
    box-shadow: 0 2px 8px rgba(201, 24, 24, 0.3);
}

.tab-more {
    margin-left: auto;
    padding: 12px 20px;
}

.more-link {
    color: #C91818;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #9e1313;
    text-decoration: underline;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #9e1313;
    border-radius: 0 0 8px 8px;
}

.tab-content {
    padding: 20px;
    display: none;
    background-color: white;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    list-style: none;
}

.tab-content li {
    margin-bottom: 10px;
    padding-bottom: 8px;
    /* border-bottom: 1px solid #eee; */
    position: relative;
    line-height: 1.6;
}

.tab-content li::before {
    content: '•';
    color: #e63946;
    font-size: 18px;
    line-height: 1.6;
    position: absolute;
    left: -15px;
    top: 0;
}

.tab-content li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.6;
    min-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tab-content li a:hover {
    color: #C91818;
    transform: translateX(5px);
}

.tab-content li .tab-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab-content li .tab-date {
    flex-shrink: 0;
    margin-left: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
}

/* 工程案例 */
.services-section {
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    gap: 20px;
}

.service-item {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #C91818;
}

.service-item:hover .service-icon {
    color: white;
}

.service-item:hover .service-info h4 {
    color: white;
}

.service-item:hover .service-info p {
    color: rgba(255, 255, 255, 0.8);
}

.service-item:hover .service-action {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:hover .service-link {
    background-color: white;
    color: #C91818;
    border: 1px solid white;
}

.service-item:hover .service-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #C91818;
}

.service-content {
    display: flex;
    padding: 30px;
    align-items: flex-start;
}

.service-icon {
    margin-right: 20px;
    color: #C91818;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.service-action {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-link {
    display: inline-block;
    background-color: transparent;
    color: #C91818;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border: 1px solid #C91818;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-link:hover {
    background-color: rgba(201, 24, 24, 0.1);
    color: #C91818;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(201, 24, 24, 0.2);
}

.service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

.projects-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C91818;
}

.section-header h3 {
    font-size: 26px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.section-header .more-link {
    color: #C91818;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.section-header .more-link:hover {
    color: #9e1313;
    text-decoration: underline;
}

.projects-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    margin-bottom: 20px;
}

.projects-prev-btn,
.projects-next-btn {
    background-color: #C91818;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.projects-prev-btn:hover,
.projects-next-btn:hover {
    background-color: #9e1313;
    transform: scale(1.1);
}

.projects-prev-btn i,
.projects-next-btn i {
    font-size: 18px;
}

.projects-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.projects-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.project-item {
    min-width: 200px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
    flex-shrink: 0;
    padding-bottom: 10px;
}

.project-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item h4 {
    padding: 15px;
    font-size: 16px;
    color: #333;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.project-item p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* Footer样式 */
.footer {
    background-color: #333333;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    border-bottom: 2px solid #C91818;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-section p {
    margin-bottom: 10px;
    color: #cccccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #C91818;
}

.social-icons {
    display: flex;
}

.footer-qr {
    display: block;
    width: 110px;
    height: auto;
    border-radius: 4px;
    background: #fff;
    padding: 4px;
    box-sizing: content-box;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #555555;
    color: #cccccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
        padding: 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-item {
        border-left: none;
    }

    .nav-link {
        padding: 10px 15px;
        justify-content: center;
    }

    .nav-icon {
        display: none;
    }

    .search-box {
        margin-top: 10px;
    }

    .headline-label {
        display: none;
    }

    .banner-section {
        flex-direction: column;
    }

    .banner {
        height: 300px;
    }

    .services-container {
        flex-direction: column;
    }

    .service-item {
        margin-bottom: 20px;
    }

    .service-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .projects-container {
        flex-wrap: wrap;
    }

    .project-item {
        min-width: calc(50% - 10px);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .main-content {
        margin: 20px auto;
        padding: 0 15px;
    }

    .content-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .headline h2 {
        font-size: 20px;
    }

    .projects-section h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo-section {
        height: 150px;
    }

    .logo {
        max-height: 120px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 14px;
    }

    .emoji {
        font-size: 16px;
    }

    .search-box input {
        padding: 6px 10px;
    }

    .search-box button {
        padding: 6px 10px;
    }

    .headline h2 {
        font-size: 18px;
    }

    .banner {
        height: 200px;
    }

    .project-item {
        min-width: 100%;
    }

    .main-content {
        margin: 15px auto;
        padding: 0 10px;
    }

    .content-section {
        padding: 12px;
        margin-bottom: 15px;
    }

    .projects-section h3 {
        font-size: 22px;
    }

    .project-item h4 {
        font-size: 14px;
        padding: 10px;
    }

    .project-item p {
        padding: 0 10px 10px;
        font-size: 12px;
    }
}

/* 导航栏动态效果 */
.nav-item {
    transition: transform 0.3s ease;
}

.nav-item:hover {
    transform: scale(1.05);
}

/* 轮播图样式 */
.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    z-index: 10;
    margin: 0;
    box-sizing: border-box;
}

/* 调整分页器位置 */
.swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    width: auto !important;
    z-index: 20;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: white !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-button-prev,
.swiper-button-next {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 滚动条样式 */
.projects-container::-webkit-scrollbar {
    height: 8px;
}

.projects-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.projects-container::-webkit-scrollbar-thumb {
    background: #e63946;
    border-radius: 4px;
}

.projects-container::-webkit-scrollbar-thumb:hover {
    background: #c1121f;
}

/* 列表页布局 */
.list-layout {
    display: flex;
    gap: 30px;
}

.list-main {
    flex: 1;
    min-width: 0;
}

.list-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C91818;
    font-weight: 600;
}

.sidebar-article-list {
    list-style: none;
}

.sidebar-article-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-article-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-article-list a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 15px;
    margin-bottom: 5px;
}

.sidebar-article-list a:hover {
    color: #C91818;
    transform: translateX(5px);
}

.sidebar-date {
    color: #666;
    font-size: 13px;
}

/* 侧边栏内 WP 区块小工具兼容：后台配置了小工具时也套用模板外观 */
.sidebar-section .wp-block-heading {
    font-size: 20px;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C91818;
    font-weight: 600;
}

.sidebar-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-section ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    word-break: break-word;
}

.sidebar-section ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-section li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

.sidebar-section li a:hover {
    color: #C91818;
}

.sidebar-section .wp-block-search__label {
    display: none;
}

.sidebar-section .wp-block-search__input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sidebar-section .wp-block-search__button {
    margin-top: 8px;
    padding: 8px 16px;
    background: #C91818;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.sidebar-section .wp-block-search__button:hover {
    background: #a31414;
}

/* 响应式设计 - 列表页 */
@media (max-width: 992px) {
    .list-layout {
        flex-direction: column;
    }
    
    .list-sidebar {
        width: 100%;
    }
}

/* 详情页布局 */
.detail-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 响应式设计 - 详情页 */
@media (max-width: 992px) {
    .detail-layout {
        flex-direction: column;
    }
    
    .detail-sidebar {
        width: 100%;
    }
}

/* 列表页和详情页通用样式 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: #C91818;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-list {
    list-style: none;
}

.article-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.article-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
}

.article-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #e63946;
}

.article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #e63946;
    color: white;
    border-color: #e63946;
}

.pagination a.active {
    background-color: #e63946;
    color: white;
    border-color: #e63946;
}

/* 列表页特有样式 */
.list-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.list-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C91818;
}

.list-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

/* 详情页特有样式 */
.detail-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.detail-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C91818;
}

.detail-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.detail-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: right;
}

.detail-meta span {
    margin-right: 0;
}

.detail-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.detail-content h2 {
    font-size: 20px;
    color: #C91818;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #C91818;
}

.detail-content h3 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 15px;
}

.detail-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C91818;
}

.related-list {
    list-style: none;
}

.related-item {
    margin-bottom: 10px;
}

.related-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-item a:hover {
    color: #e63946;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-nav a:hover {
    color: #e63946;
}