/**
 * yilang.css - CAEG艺廊页面样式
 */

/* --- 全局重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --unified-red: #d93826; 
    --text-dark: #333333;
    --bg-blue: #0c3159; 
    --text-grey-bg: #f5f5f5; 
}

html, body {
    width: 100%;
    overflow-x: hidden; 
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 72vw;
    margin: 0 auto;
    position: relative;
}

/* --- 标题与通用组件 --- */
.section-title-center {
    text-align: center; font-size: 32px; margin-bottom: 60px;
    letter-spacing: 4px; font-weight: normal; color: #333;
    position: relative;
}

.highlight-text { position: relative; display: inline-block; }
.highlight-text::after {
    content: ''; display: block; width: 100%; height: 3px;
    background: var(--unified-red); position: absolute; bottom: -10px; left: 0;
}

/* 顶部通用按钮组件 */
.btn-layout-right {
    display: flex; justify-content: flex-end; align-items: center;
    margin-top: 100px; 
    font-size: 14px;
}
.btn-fixed-bottom {
    position: absolute; bottom: 20px; right: 0; margin-top: 0 !important;
}
.showcase-row.reverse .btn-fixed-bottom { right: 50px; }
.btn-red-block {
    background-color: var(--unified-red); color: #fff;
    padding: 5px 15px; cursor: pointer; font-size: 13px; line-height: 1.5;
    display: inline-block;
}

.btn-red-block a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.btn-arrows {
    color: var(--unified-red); margin-left: 10px; font-weight: bold; letter-spacing: 1px;
}

/* --- 板块 1: 历史典藏 --- */
.section-history { background-color: var(--bg-blue); color: #fff; padding: 80px 0; }
.section-history .section-title-center { color: #fff; }
.history-content { display: flex; justify-content: space-between; align-items: flex-start; }
.history-text { width: 40%; padding-top: 10px; }
.history-border-group { border-left: 1px solid var(--unified-red); padding-left: 30px; margin-bottom: 40px; }
.history-title { font-size: 36px; color: #fff; border-bottom: 1px solid var(--unified-red); padding-bottom: 25px; margin-bottom: 25px; }
.history-desc { font-size: 15px; color: #e0e0e0; line-height: 2; text-align: justify; }
.info-row { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: #fff; padding-left: 30px; }
.info-row i { color: var(--unified-red); width: 20px; text-align: center;}
.history-images { width: 55%; display: flex; gap: 40px; justify-content: flex-end; }
.scroll-card { width: 45%; position: relative; }
.scroll-card img { width: 100%; display: block; border: 1px solid #555; }

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 20px 20px;
    pointer-events: none;
}

.artwork-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.artwork-author {
    font-size: 14px;
    color: #555;
}

/* --- 板块 2: 精品展示 --- */
.section-showcase { background-color: #fff; padding: 80px 0; overflow: hidden; }
.showcase-row { display: flex; margin-bottom: 60px; align-items: center; position: relative; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-img { width: 54%; position: relative; z-index: 5; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.showcase-img img { width: 100%; display: block; object-fit: cover; }
.showcase-text { width: 46%; height: 360px; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 40px; position: relative; background-color: transparent; z-index: 2; }
.text-border-container { border-left: 2px solid var(--unified-red); padding-left: 25px; height: 240px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.showcase-row.reverse .showcase-text { margin-right: 0; width: 46%; padding: 0 50px 40px 0; }
.showcase-text::before { content: ''; position: absolute; top: 0; bottom: 0; background-color: #f5f5f5; z-index: -1; }
.showcase-row:not(.reverse) .showcase-text::before { left: 0; width: 200vw; }
.showcase-row.reverse .showcase-text::before { right: 0; width: 200vw; }
.showcase-title { font-size: 24px; margin-bottom: 20px; color: #333; line-height: 1.4; font-weight: bold; margin-top: 0; }
.showcase-desc { font-size: 15px; color: #555; line-height: 1.8; text-align: justify; margin-bottom: 0; }
.showcase-row.reverse { flex-direction: row-reverse; }

/* --- 板块 3: 中展新藏 --- */
.section-new { padding: 60px 0; }

.featured-item { position: relative; width: 100%; height: 520px; margin-bottom: 60px; }
.featured-img { position: absolute; top: 0; left: 0; width: 60%; height: 100%; z-index: 1; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-info { position: absolute; bottom: -30px; right: 0; width: 44%; min-height: 380px; background: #dc3516; color: #fff; padding: 45px 40px; z-index: 2; border-radius: 0 12px 12px 0; display: flex; flex-direction: column; justify-content: center; }
.info-border-group { border-left: 1px solid rgba(255, 255, 255, 0.7); padding-left: 25px; margin-bottom: 40px; }
.featured-title { font-size: 28px; font-weight: normal; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.4); line-height: 1.4; padding-left: 0; }
.featured-desc { font-size: 15px; line-height: 1.8; opacity: 0.95; text-align: justify; margin-bottom: 0; }
.featured-meta { font-size: 16px; }
.meta-row { display: flex; align-items: center; margin-bottom: 15px; }
.meta-row:last-child { margin-bottom: 0; }
.meta-row i { margin-right: 15px; width: 24px; text-align: center; font-size: 20px; opacity: 1; }
.meta-row span { opacity: 0.9; }

.news-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 0; 
    border-top: 1px solid var(--unified-red); 
    padding-top: 0; 
}

.news-card {
    border-right: 1px solid var(--unified-red); 
    padding: 10px 10px 0 10px; 
    display: flex;
    flex-direction: column;
}

.news-card:last-child { border-right: none; }

.news-card img { width: 100%; height: 250px; margin-bottom: 20px; display: block; object-fit: cover; }
.news-card h4 { font-size: 16px; font-weight: bold; margin-bottom: 15px; color: #333; line-height: 1.4; }

.news-card h4 a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.news-card p { font-size: 13px; color: #666; line-height: 1.8; text-align: justify; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.center-btn-area { text-align: center; margin-top: 50px; display: flex; justify-content: center; align-items: center; gap: 15px; }
.btn-small-red { background-color: var(--unified-red); color: #fff; padding: 5px 12px; font-size: 14px; cursor: pointer; line-height: 1.5; }
.btn-arrow-icon { color: var(--unified-red); font-size: 16px; font-weight: bold; font-family: sans-serif; letter-spacing: 2px; }

/* --- 板块 4: 中展馆线 --- */
.section-venues { padding: 40px 0 80px 0; }
.venues-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.venue-card { 
    background-color: #f9f9f9; 
    padding: 40px; 
    transition: transform 0.3s; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.venue-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.venue-header-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin-bottom: 15px; 
    color: #222;
    line-height: 1.4;
}

.venue-header-desc { 
    font-size: 14px; 
    color: #313131; 
    margin-bottom: 40px; 
    line-height: 1.8;
    text-align: justify;
}

.venue-content { 
    display: flex; 
    gap: 20px; 
    margin-top: 0; 
    border-top: none; 
    padding-top: 0;
}

.venue-content img { 
    width: 240px; 
    height: 160px; 
    object-fit: cover; 
    flex-shrink: 0;
    margin-right: 0;
}

.venue-detail h5 { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 10px; 
    color: #333;
    line-height: 1.4;
}

.venue-detail p { 
    font-size: 14px;
    margin-top: 20px; 
    color: #313131; 
    line-height: 1.6; 
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

