#achievements .section-content {
    padding: 0;
    margin-bottom: 0;
}

#blog .section-content {
    padding: 0;
    margin-bottom: 0;
}

.tab-pane {
    padding: 0 !important;
    margin: 0 !important;
}

.blog-section-title {
    margin: 0 !important;
    padding: 0 !important;
}

.blog-section-content {
    margin: 0 !important;
    padding: 0 !important;
}

.blog-section-title h1 {
    text-align: middle;
    color: #aba9a9;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 20px;
}

.blog-section-content ul {
    list-style: none;
    padding: 0;
}

.blog-section-content ul li {
    margin-bottom: 20px;
}

.blog-section-content h3 a {
    color: #3754c6;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.38;
}

.blog-section-content p {
    font-size: 20px;
    line-height: 1.85;
}

.container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

.row {
    padding: 0 !important;
    margin: 0 !important;
}

.col-md-12 {
    padding: 0 !important;
    margin: 0 !important;
}

/* Styling for the tab navigation */
.nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.nav-tabs .nav-item {
    flex: 0 0 auto;
    min-width: 90px; /* 减小最小宽度 */
    text-align: center;
    margin-right: 2px; /* 减少标签间距 */
}

.nav-tabs .nav-link {
    color: #fff !important;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 12px; /* 减小内边距 */
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px; /* 缩小字体大小 */
    width: 100%;
    display: block;
    text-align: center;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-tabs .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.2);
    border: none;
    border-bottom: 3px solid #1da1f2;
}

/* Tag filtering styles */
.tag-filter {
    padding: 15px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tag-filter span {
    margin-right: 10px;
    font-weight: 600;
    color: #333;
}

.tag-btn {
    background-color: #f1f1f1;
    border: none;
    padding: 8px 15px;
    margin-right: 8px;
    margin-bottom: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.tag-btn:hover {
    background-color: #e0e0e0;
}

.tag-btn.active {
    background-color: #333;
    color: white;
}

/* Blog post tags */
.post-tags {
    margin: 15px 0;
}

.tag {
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 15px;
    padding: 5px 12px;
    margin-right: 5px;
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

/* Newsletter signup */
.newsletter-signup {
    background-color: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-signup h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 18px;
}

.newsletter-signup .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.newsletter-signup .btn-primary {
    background-color: #1da1f2;
    border-color: #1da1f2;
    margin-top: 10px;
}

/* Social sharing buttons */
.social-sharing {
    margin-top: 15px;
}

.share-btn {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 8px;
    color: #fff;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.facebook {
    background-color: #3b5998;
}

/* Blog item styling */
.blog-item {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-item h3 {
    margin-bottom: 15px;
}

.blog-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-item h3 a:hover {
    color: #1da1f2;
}

.blog-item p {
    color: #555;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tag-btn {
        padding: 6px 12px;
        margin-bottom: 8px;
    }
    
    .blog-item {
        padding: 20px 15px;
    }
    
    /* 移动设备上导航标签的优化 */
    .nav-tabs .nav-item {
        min-width: 70px;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 6px;
        font-size: 13px;
    }
}

/* 紧凑型导航标签样式 */
.compact-tabs {
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

.compact-tabs .nav-item {
    flex: 1 1 auto;
    min-width: 60px;
    text-align: center;
    margin-right: 1px;
}

.compact-tabs .nav-link {
    color: #fff !important;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 5px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 13px;
    width: 100%;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-tabs .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.compact-tabs .nav-link.active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.2);
    border: none;
    border-bottom: 3px solid #1da1f2;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tag-btn {
        padding: 6px 12px;
        margin-bottom: 8px;
    }
    
    .blog-item {
        padding: 20px 15px;
    }
    
    /* 移动设备上导航标签的优化 */
    .nav-tabs .nav-item {
        min-width: 70px;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 6px;
        font-size: 13px;
    }
    
    /* 移动设备上紧凑型导航标签的优化 */
    .compact-tabs .nav-item {
        min-width: 50px;
    }
    
    .compact-tabs .nav-link {
        padding: 8px 3px;
        font-size: 12px;
    }
}
