/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
}
body.page-home {
    background: #fff;
}
a { color: #1a3a6b; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #152f58;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 单容器：nav 在上 + Logo 在下，整体居中 */
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    position: relative;
}

/* ---- 右上角：语言切换 + 搜索 ---- */
.header-utils {
    position: absolute;
    top: 14px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}
.header-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}
.lang-current { color: #fff; }
.lang-divider { color: rgba(255,255,255,0.3); }
.lang-link {
    color: rgba(255,255,255,0.5);
    transition: color 0.15s;
    text-decoration: none;
}
.lang-link:hover { color: #fff; text-decoration: none; }
/* 隐藏 translate.js 自带的选择框 */
.translateSelectLanguage { display: none !important; }
.header-search {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.15s;
}
.header-search:hover { color: #fff; }

/* ---- 导航菜单（上面，居中） ---- */
.header-nav {
    display: flex;
    margin-top: 8px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item a {
    display: block;
    color: rgba(255,255,255,0.82);
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    border-radius: 4px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}
.nav-item a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}
.nav-item.active a {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* ---- Logo（下面，居中） ---- */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 100px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}
.logo-svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

/* ---- 首页滚动收缩：220px → 60px，切换为水平布局 ---- */
body.page-home .header-inner {
    transition: height 0.35s ease, gap 0.35s ease;
}
body.page-home .site-header.scrolled .header-inner {
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}
body.page-home .site-header.scrolled .header-utils {
    display: none;
}
body.page-home .site-header.scrolled .header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
}
body.page-home .site-header.scrolled .header-nav .nav-item a {
    padding: 6px 12px;
    font-size: 0.85rem;
}
body.page-home .logo-img {
    height: 100px;
    max-width: 400px;
    transition: height 0.35s ease;
}
body.page-home .site-header.scrolled .logo-img {
    height: 44px;
}
body.page-home .logo-svg {
    width: 100px;
    height: 100px;
    transition: width 0.35s ease, height 0.35s ease;
}
body.page-home .site-header.scrolled .logo-svg {
    width: 48px;
    height: 48px;
}

/* ---- 移动端菜单按钮 ---- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 12px;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero Banner ===== */
.hero-banner { position: relative; overflow: hidden; background: #1a3a6b; }
.hero-slider { position: relative; }
.hero-slide {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-color: #2c2c2c;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.hero-slide.hero-default { min-height: 380px; }
.hero-mosaic {
    width: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}
.hero-mosaic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 40px
    );
}
.mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 60px;
    background: rgba(0,0,0,0.4);
}
.hero-title-large {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.hero-title { color: #fff; font-size: 2rem; font-family: 'Libre Baskerville', serif; }
.hero-subtitle { color: rgba(255,255,255,0.85); margin-top: 8px; }

/* ===== Article Banner ===== */
.article-banner {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.article-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}
.banner-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.banner-subtitle {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 12px;
}

/* ===== Page Wrapper ===== */
.page-wrapper { padding: 50px 0; }

/* ===== Home Intro ===== */
.home-intro {
    padding: 60px 0;
    background: #fff;
}
.intro-block h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.intro-content p { margin-bottom: 16px; color: #444; }
.intro-content a { color: #1a3a6b; }

/* ===== Home Featured ===== */
.home-featured { padding: 20px 0 60px; background: #fff; }
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.featured-item { border: 1px solid #e0e0e0; padding: 16px; background: #fff; transition: box-shadow 0.25s ease; }
.featured-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.featured-item a { text-decoration: none; color: inherit; display: block; }
.featured-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ddd;
    position: relative;
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.featured-item a:hover .featured-image img { transform: scale(1.06); }
.featured-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #888 0%, #555 100%); transition: opacity 0.3s; }
.featured-item a:hover .featured-image-placeholder { opacity: 0.8; }
/* 卡片整体 hover 遮罩效果 */
.featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,58,107,0);
    transition: background 0.35s ease;
    pointer-events: none;
}
.featured-item a:hover .featured-image::after {
    background: rgba(26,58,107,0.18);
}
.featured-info { padding: 16px 0 0; }
.featured-item a:hover .featured-info { transform: translateY(-3px); }
.featured-info h3 { font-size: 1rem; font-weight: 600; color: #1a1a1a; line-height: 1.4; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s; }
.featured-item a:hover .featured-info h3 { text-decoration-color: #1a3a6b; color: #1a3a6b; }
.featured-info p { font-size: 0.88rem; color: #555; margin-top: 6px; }
.featured-update-hint { color: #1a3a6b !important; }

/* ===== Home Quote（引言/底部区块）加底纹 ===== */
.home-quote {
    background-color: #f5f0e8;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f0e8'/%3E%3Ccircle cx='1' cy='1' r='0.7' fill='%23d6cbb8' opacity='0.5'/%3E%3Ccircle cx='3' cy='3' r='0.7' fill='%23d6cbb8' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 6px 6px;
    padding: 70px 0;
    position: relative;
}
/* 佛教寺庙背景图（全区域覆盖）+ 阴影遮罩 */
.home-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(30,20,10,0.55) 0%, rgba(30,20,10,0.35) 50%, rgba(30,20,10,0.6) 100%),
        url("https://images.unsplash.com/photo-1542640244-7e672d6cef4e?w=1600&q=80") center / cover no-repeat;
    z-index: 0;
}
.home-quote > * {
    position: relative;
    z-index: 1;
}
.quote-block { text-align: center; max-width: 700px; margin: 0 auto; }
.quote-block h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.quote-block blockquote {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.btn-primary {
    display: inline-block;
    background: #8b7355;
    color: #fff;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-primary:hover { background: #6b5535; text-decoration: none; color: #fff; }
.quote-link-hint { margin-top: 16px; }
.quote-link-hint a { color: #ffd54f; font-size: 0.9rem; }

/* ===== Page Banner (legacy) ===== */
.page-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

/* ===== Inner Page Banner ===== */
.inner-banner {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.inner-banner-default {
    background: linear-gradient(160deg, #1a3a6b 0%, #0d2347 60%, #1a3a6b 100%);
}
.inner-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    display: flex;
    align-items: flex-end;
    width: 100%;
}
.inner-banner-default .inner-banner-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
}
.inner-banner-content {
    padding: 50px 0 52px;
    width: 100%;
    position: relative;
    z-index: 2;
}
.inner-banner-subtitle {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}
.inner-banner-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== List Page ===== */
.list-layout { }
.list-main { }
.list-item {
    display: flex;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.list-item:last-child { border-bottom: none; }
.list-item-image {
    flex-shrink: 0;
    width: 220px;
    height: 160px;
    overflow: hidden;
    background: #ddd;
}
.list-item-image img { width: 100%; height: 100%; object-fit: cover; }
.list-item-content { flex: 1; }
.list-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.list-item-content h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.list-item-content h2 a { color: #1a1a1a; }
.list-item-content h2 a:hover { color: #1a3a6b; text-decoration: none; }
.list-summary { color: #555; font-size: 0.9rem; line-height: 1.6; }
.list-date { display: block; margin-top: 10px; font-size: 0.82rem; color: #888; }
.empty-tip { color: #888; padding: 40px 0; text-align: center; }

/* ===== News List ===== */
.news-list { }
.news-item {
    display: flex;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}
.news-item:last-child { border-bottom: none; }
.news-item-image {
    flex-shrink: 0;
    width: 230px;
    height: 170px;
    overflow: hidden;
    background: #ccc;
}
.news-item-image img { width: 100%; height: 100%; object-fit: cover; }
.news-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #999 0%, #666 100%); }
.news-item-content { flex: 1; }
.news-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.news-item-content h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.news-item-content h2 a { color: #1a1a1a; }
.news-item-content h2 a:hover { color: #1a3a6b; text-decoration: none; }
.news-summary { color: #555; font-size: 0.9rem; line-height: 1.6; }
.news-date { display: block; margin-top: 10px; font-size: 0.82rem; color: #888; }
.load-more-wrap { text-align: center; padding: 40px 0; }
.btn-load-more {
    display: inline-block;
    border: 1px solid #333;
    color: #333;
    padding: 12px 40px;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-load-more:hover { background: #333; color: #fff; text-decoration: none; }

/* ===== Article Page ===== */
.article-content { max-width: 820px; margin: 0 auto; }
.article-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}
.article-subtitle { color: #e74c3c; font-size: 1rem; margin-bottom: 20px; }
.article-body { margin-top: 30px; }
.article-body p { margin-bottom: 20px; color: #333; line-height: 1.8; }
.article-body h2 { font-family: 'Libre Baskerville', serif; font-size: 1.3rem; font-weight: 700; margin: 30px 0 15px; }
.article-body h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 12px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; color: #333; }
.article-body a { color: #1a3a6b; text-decoration: underline; }
.article-body img { margin: 20px 0; max-width: 100%; }
.article-meta { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; color: #888; font-size: 0.85rem; }
.meta-author { margin-right: 20px; }

/* ===== Content with Sidebar ===== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 50px;
    align-items: start;
}
.sidebar {
    position: sticky;
    top: 240px;  /* 220px header + 20px breathing room */
    background: #fafafa;
    border-radius: 6px;
    padding: 20px;
}
.sidebar-toc h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-toc .section-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 18px 0 10px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
}
.sidebar-toc .section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.sidebar-toc ul { }
.sidebar-toc li { margin-bottom: 4px; }
.sidebar-toc a {
    font-size: 0.88rem;
    color: #1a3a6b;
    text-decoration: none;
    display: block;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.sidebar-toc a:hover { background: #e8edf3; color: #0d2347; }
.sidebar-toc a.active { background: #1a3a6b; color: #fff; font-weight: 600; }
.sidebar-nav { margin-top: 0; }
.content-main { }
.content-full {
    max-width: 900px;
    margin: 0 auto;
}
.content-hero-image { margin-bottom: 24px; width: 100%; max-height: 350px; object-fit: cover; }
.content-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}
.content-body p { margin-bottom: 18px; color: #333; line-height: 1.8; }
.content-body h2 { font-family: 'Libre Baskerville', serif; font-size: 1.3rem; font-weight: 700; margin: 28px 0 14px; }
.content-body h3 { font-size: 1.1rem; font-weight: 600; margin: 22px 0 10px; }
.content-body ul, .content-body ol { padding-left: 24px; margin-bottom: 18px; }
.content-body li { margin-bottom: 8px; color: #333; }
.content-body a { color: #1a3a6b; text-decoration: underline; }

/* ===== People ===== */
.page-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
.person-card { }
.person-card a { text-decoration: none; color: inherit; display: block; }
.person-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #ddd;
    margin-bottom: 12px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.person-card a:hover .person-photo img { transform: scale(1.03); }
.person-no-photo {
    background: #1a3a6b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.person-initials { color: #fff; font-size: 2rem; font-weight: 700; }
.person-info h3 { font-size: 1rem; font-weight: 600; color: #1a1a1a; }
.person-title { font-size: 0.85rem; color: #666; margin-top: 4px; }

/* ===== Person Detail ===== */
.person-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}
.person-detail-photo {
    width: 100%;
    max-width: 300px;
    display: block;
}
.person-detail-photo.person-no-photo-large {
    aspect-ratio: 3/4;
    background: #1a3a6b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.person-detail-photo.person-no-photo-large span { color: #fff; font-size: 4rem; font-weight: 700; }
.person-detail-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.person-detail-title { color: #555; font-size: 0.95rem; margin-bottom: 24px; }
.person-detail-meta { }
.meta-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.meta-label { font-size: 0.85rem; color: #888; width: 80px; flex-shrink: 0; }
.meta-value { font-size: 0.9rem; color: #333; }
.meta-value a { color: #1a3a6b; }
.person-bio { margin-bottom: 30px; }
.person-bio p { margin-bottom: 16px; color: #333; line-height: 1.8; }
.person-accordion { margin-bottom: 2px; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a1a;
}
.accordion-icon { font-size: 0.8rem; transition: transform 0.3s; }
.accordion-body { display: none; padding: 0 0 20px; }
.accordion-body.open { display: block; }
.accordion-body ul { padding-left: 20px; }
.accordion-body li { margin-bottom: 6px; color: #333; font-size: 0.9rem; }

/* ===== Search ===== */
.search-box { padding: 40px 0 30px; }
.search-input {
    width: 100%;
    max-width: 600px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    margin-right: 8px;
}
.search-input:focus { border-color: #1a3a6b; }
.search-btn {
    padding: 12px 24px;
    background: #1a3a6b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.search-count { color: #666; margin-bottom: 24px; }
.search-result-item { padding: 20px 0; border-bottom: 1px solid #eee; }
.search-result-item h3 { margin-bottom: 8px; }
.search-result-item p { color: #555; font-size: 0.9rem; }
.search-result-item time { font-size: 0.82rem; color: #888; margin-top: 6px; display: block; }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.pagination a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}
.pagination a:hover, .pagination a.active { background: #1a3a6b; color: #fff; border-color: #1a3a6b; }

/* ===== Footer ===== */
.site-footer {
    background-color: #f5f0e8;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f0e8'/%3E%3Ccircle cx='1' cy='1' r='0.7' fill='%23d6cbb8' opacity='0.5'/%3E%3Ccircle cx='3' cy='3' r='0.7' fill='%23d6cbb8' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 6px 6px;
    border-top: 1px solid #ddd5c4;
    padding: 30px 0;
    text-align: center;
}
.footer-inner p { font-size: 0.85rem; color: #888; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .featured-grid { grid-template-columns: 1fr; gap: 20px; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .person-detail { grid-template-columns: 1fr; }
    .person-detail-photo { max-width: 200px; }
}

@media (max-width: 768px) {
    /* 移动端 header 缩小到 140px */
    .header-inner { height: 140px; padding: 0 16px; gap: 14px; }
    .header-utils { top: 10px; right: 16px; gap: 10px; }
    .header-lang { font-size: 0.8rem; }
    .logo-img { height: 52px; max-width: 220px; }
    .logo-svg { width: 52px; height: 52px; }
    .header-logo { margin-right: auto; }

    /* 移动端：导航默认隐藏，点 hamburger 展开 */
    .nav-toggle { display: flex; }
    .header-nav {
        position: absolute;
        top: 140px;
        left: 0;
        right: 0;
        background: #152f58;
        border-top: 1px solid rgba(255,255,255,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }
    .header-nav.open {
        max-height: 400px;
    }
    .nav-list {
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
    }
    .nav-item a {
        padding: 14px 24px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    /* 移动端首页：滚动缩回 */
    body.page-home .header-inner { height: 140px; }
    body.page-home .site-header.scrolled .header-inner { height: 52px; flex-direction: row; }
    body.page-home .logo-img { height: 52px; }
    body.page-home .site-header.scrolled .logo-img { height: 36px; }
    body.page-home .logo-svg { width: 52px; height: 52px; }
    body.page-home .site-header.scrolled .logo-svg { width: 40px; height: 40px; }
    body.page-home .header-nav { top: 140px; }
    body.page-home .site-header.scrolled .header-nav { top: 52px; }
    body.page-home .site-header.scrolled .header-nav .nav-item a {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .hero-slide { min-height: 260px; }
    .mosaic-overlay { padding: 20px 24px; }
    .hero-title-large { font-size: 2rem; }
    
    .article-banner { min-height: 200px; }
    .banner-title { font-size: 1.8rem; }
    .article-banner-overlay { padding: 20px; }
    
    .inner-banner { min-height: 200px; }
    .inner-banner-title { font-size: 1.8rem; }
    .inner-banner-content { padding: 24px 0 28px; }
    
    .list-item { flex-direction: column; gap: 12px; }
    .list-item-image { width: 100%; height: 200px; }
    
    .news-item { flex-direction: column; gap: 12px; }
    .news-item-image { width: 100%; height: 200px; }
    
    .people-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .container { padding: 0 16px; }
    .page-wrapper { padding: 30px 0; }
    
    .home-intro { padding: 40px 0; }
    .home-featured { padding: 20px 0 40px; }
    .home-quote { padding: 50px 0; }
    .quote-block h2 { font-size: 1.4rem; }
    
    .content-title { font-size: 1.5rem; }
    .article-title { font-size: 1.5rem; }
    
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .people-grid { grid-template-columns: 1fr; }
    .logo-icon { display: none; }
}
