/* 统一样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, "SF UI Text", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Zen Hei", sans-serif;
    font-size: 14px;
    color: #101010;
    line-height: 1.6;
    background-image: url('images/v2_t45i9d.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 1920px auto;
    min-height: 100vh;
}

/* 小屏幕背景 */
@media (max-width: 1199px) {
    body {
        background-image: url('images/bg_n.png');
        background-size: 100% auto;
    }
}

/* 隐藏链接区域 */
.hidden-links {
    max-width: 1200px;
    height: 375px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hidden-links .top-links {
    height: 30%;
    display: flex;
}

.hidden-links .top-links .left-link,
.hidden-links .top-links .right-link {
    width: 50%;
    height: 100%;
}

.hidden-links .bottom-link {
    height: 70%;
    width: 100%;
}

/* 小屏幕隐藏链接区域 */
@media (max-width: 1199px) {
    .hidden-links {
        width: 100%;
        height: 25vw;
    }
}

/* 顶部文字区域 */
.intro-text {
    max-width: 1158px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: left;
    text-indent: 2em;
    line-height: 30px;
    font-size: 16px;
}

/* 内容区域 */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播图区域 */
.carousel-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.carousel-left {
    flex: 1;
}

.carousel-right {
    flex: 1;
    padding-left: 20px;
}

.carousel-image {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-titles {
    list-style: none;
}

.carousel-titles li {
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.carousel-titles li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.carousel-titles li:hover,
.carousel-titles li.active {
    color: #BD1A2D;
    font-weight: bold;
}

.carousel-titles li:hover a,
.carousel-titles li.active a {
    color: #BD1A2D;
}

/* 内容展示区域 */
.content-sections {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-title {
    color: #BD1A2D;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-link {
    color: #BD1A2D;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
}

.more-link:hover {
    text-decoration: underline;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    flex: 1;
}

.news-list li {
    padding: 8px 0;
    line-height: 28px;
    position: relative;
    padding-left: 20px;
}

.news-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('images/v2_t45jxp.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.news-list li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.news-list li a:hover {
    color: #BD1A2D;
    text-decoration: underline;
}

/* 图片网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
}

/* 文明影像页面专用样式 */
.images-page .image-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1200px) {
    .images-page .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1600px) {
    .images-page .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-item a {
    display: block;
    text-decoration: none;
}

.image-item a:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.image-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

.image-item .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
}

.play-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    background-image: url('images/v2_t45kfl.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* 页脚 */
.footer {
    background-color: #BD1A2D;
    margin-top: 60px;
    padding: 50px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    font-size: 18px;
    line-height: 30px;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-text {
        /* margin-top: 200px; */
        padding: 0 15px;
    }
    
    .carousel-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .carousel-right {
        padding-left: 0;
    }
    
    .carousel-image {
        max-width: 100%;
    }
    
    .content-sections {
        flex-direction: column;
        gap: 30px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .footer-content {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 480px) {
    .intro-text {
        margin-top: 150px;
        padding: 0 10px;
    }
    
    .content-area {
        padding: 0 10px;
    }
    
    .carousel-image {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-content {
        font-size: 14px;
        line-height: 24px;
    }
}
