/* Banner样式 */
.banner {
    height: 280px;
    background: linear-gradient(135deg, #1e5aa0, #3c8ce7);
    position: relative;
    overflow: hidden;
}

.banner__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.banner__title h1 {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner__decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: url(../images/decoration.png) no-repeat;
    background-size: contain;
    opacity: 0.6;
}

/* 新闻模块调整 */
.news {
    padding: 30px 0;
}

.news__section {
    margin-bottom: 30px;
}

.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.news__title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

.news__more {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.news__more:hover {
    color: var(--primary-color);
}

.news__item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.news__date {
    flex-shrink: 0;
    width: 70px;
    color: #999;
    font-size: 12px;
}

.news__link {
    flex: 1;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.news__link:hover {
    color: var(--primary-color);
}

/* 新闻分栏布局 */
.news__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.news__column {
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* 新闻列表样式补充 */
.news__source,
.news__type {
    color: var(--primary-color);
    margin-right: 5px;
}

.news__item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.news__date {
    flex-shrink: 0;
    width: 70px;
    color: #999;
    font-size: 12px;
}

.news__link {
    flex: 1;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.news__link:hover {
    color: var(--primary-color);
}

/* 快速索引样式 */
.quick-links {
    margin: 30px 0;
}

.quick-links__header {
    margin-bottom: 20px;
}

.quick-links__header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.quick-links__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
}

.quick-link--blue { background: #2196f3; }
.quick-link--cyan { background: #00bcd4; }
.quick-link--orange { background: #ff9800; }
.quick-link--green { background: #4caf50; }
.quick-link--yellow { background: #ffc107; }
.quick-link--blue-light { background: #03a9f4; }

.quick-link__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-library { background-image: url(../images/icon-library.png); }
.icon-study { background-image: url(../images/icon-study.png); }
.icon-portal { background-image: url(../images/icon-portal.png); }
.icon-purchase { background-image: url(../images/icon-purchase.png); }
.icon-theory { background-image: url(../images/icon-theory.png); }
.icon-report { background-image: url(../images/icon-report.png); }

.quick-link__text {
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .quick-links__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .quick-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 轮播图样式调整 */
.banner {
    background: #f5f5f5;
    padding: 0;
}

.banner__inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.carousel {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.carousel__wrapper {
    position: relative;
    height: 850px;
}

.carousel__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel__item.active {
    opacity: 1;
}

.carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.carousel__caption h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.carousel__caption p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel__control:hover {
    background: rgba(0,0,0,0.7);
}

.carousel__control--prev {
    left: 20px;
}

.carousel__control--next {
    right: 20px;
}

.carousel__indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel__dot.active {
    background: #fff;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .carousel__wrapper {
        height: 500px;
    }
    
    .carousel__caption h3 {
        font-size: 20px;
    }
    
    .carousel__caption p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .carousel__wrapper {
        height: 300px;
    }
    
    .carousel__control {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
} 