/* 左边菜单栏样式 开始*/
.hu-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 2px 0 20px rgba(0,0,0,0.08);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #eef2f7;
    z-index: 100;
}

.logo-container {
    padding: 0 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.logo h1 span {
    color: var(--theme-red);
}

.slogan {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.main-nav-header {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 15px 0;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
}

.nav-list {
    list-style: none;
}

.hu-nav-item {
    margin: 2px 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    text-decoration: none;
    color: #555;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #fdf0f0;
    color: var(--theme-red);
    transform: translateX(8px);
}

.nav-link:hover::before {
    background: var(--theme-red);
}

.hu-nav-item.active .nav-link {
    background-color: #fdf0f0;
    color: var(--theme-red);
    font-weight: 500;
}

.hu-nav-item.active .nav-link::before {
    background: var(--theme-red);
}

.nav-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    flex: 1;
}

.recommended-section {
    padding: 0 20px;
    margin-bottom: 30px;
    font-size: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(163, 23, 24, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid var(--theme-red);
}

.recommended-section:hover {
    box-shadow: 0 6px 20px rgba(163, 23, 24, 0.15);
    transform: translateY(-3px);
}

.contact-section {
    padding: 0 20px;
    margin-bottom: 30px;
    font-size: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid #3498db;
}

.contact-section:hover {
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.15);
    transform: translateY(-3px);
}

.social-section {
    padding: 0 20px;
    margin-bottom: 30px;
    font-size: 11px;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--theme-red);
}

.recommended-list {
    list-style: none;
}

.recommended-item {
    margin-bottom: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.recommended-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.recommended-link:hover {
    background-color: #fdf0f0;
    color: var(--theme-red);
    padding-left: 15px;
}

.recommended-text {
    flex: 1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-badge {
    font-size: 0.8rem;
    margin-left: 8px;
    background: var(--theme-red);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
}

.contact-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.7rem;
    padding: 3px 0;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--theme-red);
}

.contact-text {
    flex: 1;
    color: #666;
    word-break: break-all;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    background: #ffffff;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.content-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.content-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.content-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.content-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hu-sidebar {
        width: 260px;
    }
    .main-content {
        margin-left: 260px;
    }
}

@media (max-width: 480px) {
    .hu-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    .content-header h2 {
        font-size: 1.8rem;
    }
    .content-card {
        padding: 20px;
    }
}

/* 表单样式调整 */
.contact-form-box .line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-form-box .line:last-child {
    margin-bottom: 0;
}

.contact-form-box .line .label {
    min-width: 100px;
    text-align: right;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

.contact-form-box .line .field {
    flex: 1;
}

.contact-form-box .line .field .btn {
    padding: 0px 20px;
}

/* 左边菜单栏样式 结束*/

/* 新闻页面的CSS 开始 */

/* 新闻页面的CSS 结束 */