* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f8f9fa;
}


.header {
    background: linear-gradient(135deg, #4472C4 0%, #5B8FD8 100%);
    padding: 20px 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-icon {
    display: inline-block;
    height: 45px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

.header h1 {
    display: inline-block;
    font-size: 28px;
    color: #fff;
    margin-right: 15px;
    font-weight: bold;
    vertical-align: middle;
}

.header .subtitle {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    opacity: 0.95;
    vertical-align: middle;
}

.nav-container {
    background-color: #fff;
    padding: 0 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #f0f0f0;
}

.nav-tabs {
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.tab-button {
    display: inline-block;
    padding: 18px 30px;
    background-color: transparent;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: #4472C4;
    background-color: #f0f5ff;
}

.tab-button.active {
    color: #4472C4;
    font-weight: bold;
    border-bottom: 3px solid #4472C4;
    background-color: #fff;
}

.main-layout {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 30px;
}

.content-container {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
    width: 100%;
}

.home-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
    width: 100%;
}

.home-slideshow {
    width: 100%;
    display: flex;
    min-width: 0;
}

.home-policy-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-policy-preview .preview-card {
    flex: 1;
}

.slideshow-container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    flex: 1;
    display: block;
    line-height: 0;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    line-height: 0;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.home-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.preview-column {
    display: flex;
    flex-direction: column;
}

.home-preview .preview-column {
    position: relative;
}

.home-preview .preview-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.home-preview .preview-column::before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}

.preview-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 3px solid #4472C4;
    box-sizing: border-box;
    width: 100%;
}

.preview-title {
    font-size: 18px;
    color: #4472C4;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4472C4;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-content {
    flex: 1;
    margin-bottom: 0;
    overflow: hidden;
}

.preview-item {
    margin-bottom: 10px;
    padding: 10px 12px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.preview-item:hover {
    background-color: #e8f0ff;
    padding-left: 17px;
    padding-right: 7px;
}

.preview-item a {
    text-decoration: none;
    display: block;
}

.preview-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-item:hover .preview-text {
    color: #4472C4;
}

.more-button {
    background: none;
    border: none;
    color: #4472C4;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    font-weight: normal;
}

.more-button:hover {
    color: #365a9e;
    text-decoration: underline;
}

.slideshow-indicators {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #4472C4;
    border-color: #fff;
    transform: scale(1.2);
}

.policy-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.policy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
    padding: 15px;
    padding-left: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.policy-link:hover {
    background-color: #f0f5ff;
    padding-left: 20px;
    box-shadow: 0 2px 8px rgba(68, 114, 196, 0.2);
}

.policy-title {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.policy-link:hover .policy-title {
    color: #4472C4;
}

.link-icon {
    font-size: 20px;
    margin-left: 15px;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.policy-link:hover .link-icon {
    opacity: 1;
    transform: scale(1.2) rotate(-15deg);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.file-size {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.policy-link:hover .file-size {
    color: #4472C4;
    font-weight: 500;
}

.sidebar {
    width: 100%;
}

.sidebar-module {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

.sidebar-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.sidebar-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(68, 114, 196, 0.3);
}

.sidebar-icon-only {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sidebar-link:hover .sidebar-icon-only {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .sidebar-links {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .home-top-section {
        grid-template-columns: 1fr;
    }
    
    .home-preview {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 15px 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 22px;
    }
    
    .header .subtitle {
        font-size: 14px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .main-layout {
        padding: 0 20px;
    }
    
    .sidebar-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

.full-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #4472C4;
    box-sizing: border-box;
    width: 100%;
}

.full-card h2 {
    color: #4472C4;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.full-card-content {
    background-color: white;
    padding: 0;
    border-radius: 0;
}


