/* 侧边栏整体样式 */
.article-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    box-sizing: border-box;
    padding-left: max(2vw, 20px);
    border-left: 1px solid #eee;
}

/* 面包屑导航样式 */
.breadcrumb-nav {
    background: #fff;
    border-radius: 8px;
    margin-bottom: max(1.2vw, 20px);
    font-size: var(--widget-title-p-4-fs);
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-nav a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--theme-color);
}

.breadcrumb-nav span {
    margin: 0 8px;
    color: var(--theme-color);
}

/* 文章导航样式 */
.article-navigation {
    background: #fff;
    border-radius: 8px;
}

.article-navigation h3 {
    font-size: var(--widget-title-p-2-fs);
    font-weight: 600;
    color: #333;
    margin: max(1.3vw, 20px) 0 16px;
}

.article-navigation .nav-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
}

.article-navigation .nav-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-navigation .nav-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-navigation .nav-thumbnail {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
}

.article-navigation .nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--animation-duration) ease;
}

.article-navigation .nav-item a:hover .nav-thumbnail img {
    transform: scale(1.05);
}

.article-navigation .nav-item h4 {
    font-size: var(--widget-title-p-2-fs);
    color: var(--theme-p-color);
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
    margin-bottom: var(1.2vw, 20px);
}

.article-navigation .nav-item a:hover h4 {
    color: var(--theme-color);
}

/* 响应式样式 */
@media (max-width: 991px) {
    .article-sidebar {
        position: static;
        margin-top: max(2vw, 30px);
        padding-left: 0;
        border-left: none;
    }
    .breadcrumb-nav {
        white-space: pre-wrap;
    }
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: max(1.2vw, 20px);
    background: #fff;
    border-radius: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all var(--animation-duration) ease;
}

.contact-single-form {
    margin-bottom: max(1.2vw, 20px);
    padding: max(1.2vw, 20px);
    background: #f2f3f4;
border-radius: 4px;
}

.contact-single-form .form-col {
    display: flex;
    flex-direction: column;
    gap: 24px;  
}
.contact-single-form .form-col .ysm-single {
    display: flex;
}
.contact-single-form .form-col label {
    font-size: 16px;
    color: #1c1c1c;
    margin-bottom: 8px;
}
.contact-single-form .form-col label span {
    color: red;
}

.contact-single-form .form-col .ysm-single-col {
    background-color: #fff;
}
.contact-single-form .form-col .ysm-single-col p {
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-single-form .form-col .ysm-single-col p span {
    flex: 1;
}
.contact-single-form .form-col input{
    line-height: 1 !important;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
    background-color: #fff !important;
    border: 1px solid #fff !important;
    min-width: 100%;
}
.form-submit {
    margin-top: 26px !important;
}
.form-submit p {
    display: flex;
}
.form-submit p .submit-btn {
    flex: 1;
}
.wpcf7-not-valid-tip {
    font-size: 12px !important;
    position: absolute;
    line-height: 1.2;
}
 .wpcf7-form textarea {
     min-height: 80px !important;
     height: 80px;
 }