/* ===== 置顶合作动态横幅 ===== */
.top-cooperation-banner {
    background-color: #f0f8ff;
    border: 2px solid #005aa6;
    border-radius: 8px;
    padding: 15px 25px;
    margin: 0 40px 30px 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 90, 166, 0.15);
}

.top-cooperation-badge {
    background-color: #005aa6;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.top-cooperation-content {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.top-cooperation-content strong {
    color: #005aa6;
}

.top-cooperation-date {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* ===== 主内容区域 - 三行两列网格 ===== */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 35px 40px;
}

.section {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    background-color: #f0f8ff;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #005aa6;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-link {
    color: #005aa6;
    font-size: 14px;
    font-weight: normal;
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.2s;
    letter-spacing: 0;
}

.more-link:hover {
    color: #003d73;
}

.section-content {
    padding: 22px;
    flex: 1;
}

/* ===== 内嵌滚动图片区 ===== */
.carousel {
    position: relative;
    flex: 1;
    min-height: 366px;
    background: linear-gradient(135deg, #005aa6, #0078d7);
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 14px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    cursor: pointer;
    font-size: 22px;
    transition: background 0.3s;
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-arrow.left {
    left: 0;
    border-radius: 0 6px 6px 0;
}

.carousel-arrow.right {
    right: 0;
    border-radius: 6px 0 0 6px;
}

.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== 合作展示 ===== */
.cooperation-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.showcase-item {
    background-color: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    border-left: 5px solid #005aa6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.showcase-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.showcase-item h4 {
    color: #005aa6;
    margin-bottom: 10px;
    font-size: 16px;
}

.showcase-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* ===== 资源共享 ===== */
.resource-sharing {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-item {
    padding: 14px 18px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: background-color 0.2s;
}

.resource-item:hover {
    background-color: #f0f7ff;
}

.resource-item strong {
    color: #005aa6;
}

/* ===== 列表型条目（新闻/通知/下载） ===== */
.news-item, .notice-item, .download-item {
    padding: 14px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.15s;
}

.news-item:hover, .notice-item:hover, .download-item:hover {
    background-color: #fafcff;
}

.news-item:last-child, .notice-item:last-child, .download-item:last-child {
    border-bottom: none;
}

.news-item h4, .notice-item h4 {
    color: #005aa6;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.4;
}

.news-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-date-block {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    padding: 6px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 4px 4px;
    background-color: #fafafa;
}

.news-day {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.news-month-year {
    font-size: 10px;
    color: #666;
    line-height: 1.2;
}

.news-date, .notice-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.download-item {
    padding-left: 5px;
}

.download-item a {
    color: #005aa6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.download-item a:hover {
    color: #0078d7;
    text-decoration: underline;
}

/* ===== 响应式：大屏幕 ≥1400px ===== */
@media (min-width: 1400px) {
    .main-content {
        gap: 40px;
        padding: 0 0 10px 0;
        width: 1300px;
        margin: 0px calc(50% - 650px); 
    }
    .top-cooperation-banner {
        margin: 0 calc(50% - 650px) 40px calc(50% - 650px);
        width: 1300px;
    }
}

/* ===== 响应式：中屏 768-1199px ===== */
@media (min-width: 768px) and (max-width: 1199px) {
    .main-content {
        gap: 20px;
        padding: 25px 30px;
    }
    .top-cooperation-banner {
        margin: 0 30px 25px 30px;
        padding: 12px 20px;
    }
    .top-cooperation-content { font-size: 14px; }
    .section-header { padding: 14px 16px; font-size: 16px; }
    .section-content { padding: 16px; }
    .cooperation-showcase { gap: 12px; }
    .showcase-item { padding: 14px; }
}

/* ===== 响应式：小屏 <768px ===== */
@media (max-width: 767px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 16px;
    }
    .section-header { padding: 14px 16px; font-size: 15px; }
    .section-content { padding: 14px; }
    .carousel { min-height: 200px; font-size: 18px; }
    .cooperation-showcase { grid-template-columns: 1fr; gap: 10px; }
    .showcase-item { padding: 12px; }
    .showcase-item h4 { font-size: 14px; }
    .showcase-item p { font-size: 13px; }
}