/* 首页专用（母版已含全局变量与页头页尾） */
.main-content {
    padding: 28px 0;
}

.banner-section {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    margin-bottom: 28px;
    align-items: stretch;
}

.disease-tags-section {
    margin-bottom: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
}

.disease-tags-header {
    margin-bottom: 14px;
}

.disease-tags-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disease-tags-header i {
    color: var(--primary);
}

.disease-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.disease-tag-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.disease-tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.slider {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.slides {
    position: relative;
    height: 420px;
    background: #1a6aa3;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: linear-gradient(transparent,rgba(0,0,0,0.72));
    color: #fff;
    padding: 28px 30px;
    width: 100%;
}

.slide-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.45;
    font-weight: 700;
}

.slide-content p {
    font-size: 14px;
    opacity: .88;
    line-height: 1.6;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: var(--tr);
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 5;
}

.slider-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.85);
    color: var(--dark);
    cursor: pointer;
    transition: var(--tr);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.slider-controls button:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.headlines {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.headlines-header {
    padding: 15px 20px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
}

.headlines-header h2 {
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.headlines-header h2 i {
    color: #ff5722;
}

.headlines-body {
    flex: 1;
    overflow: hidden;
    padding: 4px 0;
}

.headline-item {
    border-bottom: 1px solid #f0f0f0;
    transition: var(--tr);
}

.headline-item:last-child {
    border-bottom: none;
}

.headline-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: inherit;
    transition: var(--tr);
}

.headline-item a:hover {
    background: var(--primary-bg);
    padding-left: 26px;
}

.headline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.headline-text {
    flex: 1;
    min-width: 0;
}

.headline-text h4 {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    padding-right: 10px;
}

.headline-item a:hover h4 {
    color: var(--primary);
}

.headline-date {
    color: #bbb;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-sections {
    margin-bottom: 36px;
}

.section-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.news-section {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-header {
    padding: 16px 20px 13px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.section-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--tr);
}

.section-more:hover {
    color: var(--primary-light);
}

.news-latest .section-title {
    color: var(--primary);
}

.news-interview .section-title {
    color: var(--accent-orange);
}

.news-research .section-title {
    color: var(--accent-purple);
}

.news-academic .section-title {
    color: var(--accent-red);
}

.section-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

.news-latest .section-icon {
    background: var(--primary);
}

.news-interview .section-icon {
    background: var(--accent-orange);
}

.news-research .section-icon {
    background: var(--accent-purple);
}

.news-academic .section-icon {
    background: var(--accent-red);
}

.article-item {
    display: flex;
    padding: 13px 20px;
    border-bottom: 1px solid #eee;
    transition: var(--tr);
    text-decoration: none;
    color: inherit;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: var(--primary-bg);
}

.article-image {
    width: 76px;
    height: 76px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 13px;
    flex-shrink: 0;
}

.article-image-ph {
    width: 76px;
    height: 76px;
    border-radius: 6px;
    margin-right: 13px;
    flex-shrink: 0;
    background: linear-gradient(135deg,#fde8ef,#f9c5d1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.article-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 12px;
}

.article-title {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.45;
    color: var(--mid);
    padding-right: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--mid);
    align-items: center;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-author {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(233,67,115,0.2);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8;
}

.sections-container {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.column-section, .meetings-section {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.section-title-large {
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}

.column-list, .meeting-list {
    list-style: none;
}

.column-list li, .meeting-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column-list li:last-child, .meeting-list li:last-child {
    border-bottom: none;
}

.column-list i, .meeting-list i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.column-list a, .meeting-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--tr);
}

.column-list a:hover, .meeting-list a:hover {
    color: var(--primary);
}

.meeting-date {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.no-data {
    padding: 28px 20px;
    text-align: center;
    color: var(--mid);
    font-size: 13px;
}

@media(max-width:1200px) {
    .section-row {
        flex-wrap: wrap;
    }
    .news-section {
        min-width: calc(50% - 10px);
    }
}

@media(max-width:992px) {
    .banner-section {
        grid-template-columns: 1fr;
    }
    .sections-container {
        flex-direction: column;
    }
    .slides {
        height: 320px;
    }
    .news-section {
        min-width: 100%;
    }
}

@media(max-width:768px) {
    .slides {
        height: 260px;
    }
}
