
/* 文章样式 */
.single-article {
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.entry-title {
    font-size: 28px;
    margin: 0 0 15px;
    color: #333;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    color: #999;
    gap: 15px;
}

.entry-meta span {
    display: flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 5px;
}

.entry-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.entry-meta a:hover {
    color: var(--primary-color);
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    margin: 30px 0 15px;
    color: #333;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags i {
    color: #999;
}

.post-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 文章导航 */
.post-navigation {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    max-width: 48%;
}

.nav-previous a, .nav-next a {
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-previous a:hover, .nav-next a:hover {
    color: var(--primary-color);
}

.nav-previous i, .nav-next i {
    margin: 0 5px;
}

/* 留言表单 */
.contact-form-section {
    background-color: #f8f9fa;
}

.form-title {
    font-size: 20px;
    margin: 0 0 15px;
    color: #333;
}

.form-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.form-field {
    margin-bottom: 15px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-field textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-field {
    flex: 1;
    margin-bottom: 0;
}

.form-submit {
    margin-top: 20px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* 自定义菜单样式 */
.custom-menu-section {
    padding: 30px 0 15px;
    margin-bottom: 0px;
}

.page-links-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-links-menu li {
    text-align: center;
    padding: 20px 15px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.page-links-menu li:hover, .page-links-menu .current-menu-item {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #007bff;
    color: white;
}

/* 为不同菜单项设置不同背景色 */

.page-links-menu li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.page-links-menu li:hover a, .page-links-menu .current-menu-item a {
    color: white;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .page-links-menu li a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-links-menu li a {
font-size: 11px;
    }
}

.form-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .form-title {
        font-size: 20px;
        margin: 0;
        color: #0066cc;
    }

    .form-phone {
        display: inline-block;
        background-color: #f0f7ff;
        color: var(--primary-color);
        padding: 6px 12px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s;
    }

    .form-phone:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .form-phone i {
        margin-right: 5px;
    }
    .form-tip em {
    font-style: normal;
    color: #ef4444;
    font-weight: bold;
}
    .form-tip {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px dashed #ddd;
    }
    .contact-form-section .button-group {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .contact-form-section .button-group .submit-btn,
    .contact-form-section .button-group .baidu-service-btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 20px;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .contact-form-section .button-group .submit-btn {
        background-color: var(--primary-color);
        color: white;
        border: none;
    }

    .contact-form-section .button-group .submit-btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    }

    .contact-form-section .button-group .baidu-service-btn {
        background-color: #ff6600;
        color: white;
    }

    .contact-form-section .button-group .baidu-service-btn:hover {
        background-color: #e55c00;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    }

    .contact-form-section .button-group .baidu-service-btn i {
        margin-right: 5px;
    }