:root {
    --primary: #8B4513;
    --primary-dark: #6b3410;
    --accent: #c9a96e;
    --text: #333;
    --text-light: #666;
    --bg: #faf8f3;
    --bg-alt: #f5f0e8;
    --white: #fff;
    --border: #e0d5c5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

/* ===== 導航 ===== */
.nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { text-decoration: none; color: var(--primary); }
.logo h1 { font-size: 24px; letter-spacing: 2px; }
.logo span { font-size: 12px; color: var(--text-light); display: block; margin-top: -4px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* ===== 按鈕 ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    background: var(--primary);
    color: var(--white);
    margin-top: 10px;
}

/* ===== 首屏 ===== */
.hero {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8ddd0 100%);
    padding: 80px 5%;
    text-align: center;
}
.hero h2 { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.hero p { font-size: 17px; color: var(--text-light); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 5%;
    text-align: center;
}
.page-header h2 { font-size: 32px; margin-bottom: 10px; }
.page-header p { font-size: 16px; opacity: 0.8; }

/* ===== 區塊通用 ===== */
section, .container { padding: 60px 5%; max-width: 1100px; margin: 0 auto; }
section h2, .container h2 {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 40px;
}
section h3, .container h3 {
    font-size: 22px;
    color: var(--primary);
    margin: 40px 0 20px;
}

/* ===== 產品 ===== */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border);
    text-align: center;
}
.product-card h3 { font-size: 18px; margin: 0 0 10px; }
.product-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.product-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -25px -25px 15px;
    width: calc(100% + 50px);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* ===== 優勢 ===== */
.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.feature-item {
    text-align: center;
    padding: 20px;
}
.feature-item h3 { font-size: 17px; margin: 0 0 10px; }
.feature-item p { font-size: 14px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; padding: 60px 5%; }
.faq details {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq summary {
    padding: 18px 20px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    background: var(--bg-alt);
    list-style: none;
}
.faq summary::after {
    content: '+';
    float: right;
    font-size: 20px;
}
.faq details[open] summary::after { content: '-'; }
.faq details p {
    padding: 15px 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* ===== 表格 ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--primary); color: var(--white); }
tr:hover { background: var(--bg-alt); }

/* ===== 年份卡片 ===== */
.year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}
.year-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}
.year-card strong {
    display: block;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 5px;
}

/* ===== 服務 ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
}
.service-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); }

/* ===== 表單 ===== */
form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    margin-bottom: 15px;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
.note { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 15px; }

/* ===== 聯繫方式 ===== */
.contact-info { text-align: center; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.contact-grid div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    font-size: 14px;
    color: var(--text-light);
}
.contact-grid strong { color: var(--primary); display: block; margin-bottom: 8px; }

/* ===== 列表 ===== */
ul { margin-left: 25px; }
ul li { padding: 8px 0; }

/* ===== 頁腳 ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 25px;
    font-size: 14px;
}
footer a { color: rgba(255,255,255,0.8); text-decoration: none; margin: 0 8px; }
footer a:hover { color: var(--accent); }

/* ===== 每日陳皮故事 ===== */
.daily-article {
    background: linear-gradient(135deg, #fff9f0 0%, #fdf5e6 100%);
}
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.article-card::before {
    content: '❝';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    color: var(--accent);
    opacity: 0.3;
}
.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.article-date {
    color: var(--text-light);
    font-size: 14px;
}
.article-tag {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.article-card h3 {
    margin: 0 0 15px;
}
.article-card a,
.article-card a:link,
.article-card a:visited,
.article-card a:hover,
.article-card a:active,
.article-card a:focus,
.product-card a,
.product-card a:link,
.product-card a:visited,
.product-card a:hover,
.product-card a:active,
.product-card a:focus,
.yingying-card a,
.yingying-card a:link,
.yingying-card a:visited,
.yingying-card a:hover,
.yingying-card a:active,
.yingying-card a:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.article-card > a {
    display: block;
    color: inherit;
}
.article-card h3 a,
.article-card h3 a:link,
.article-card h3 a:visited,
.article-card h3 a:hover,
.article-card h3 a:active,
.article-card h3 a:focus {
    color: var(--primary) !important;
}
.article-card .read-more,
.article-card .read-more:link,
.article-card .read-more:visited,
.article-card .read-more:hover,
.article-card .read-more:active,
.article-card .read-more:focus {
    color: var(--primary) !important;
}
.article-card .article-cta .btn,
.article-card .article-cta .btn:link,
.article-card .article-cta .btn:visited,
.article-card .article-cta .btn:hover,
.article-card .article-cta .btn:active,
.article-card .article-cta .btn:focus {
    color: var(--white) !important;
}
.article-card h3 a {
    color: var(--primary);
    text-decoration: none;
    font-size: 20px;
    line-height: 1.5;
}
.article-card h3 a:hover,
.article-card .read-more:hover {
    text-decoration: none;
}
.article-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}
.read-more:hover {
    text-decoration: none !important;
}

/* ===== 文章列表頁 ===== */
.article-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 5%;
}
.article-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}
.article-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.article-item .article-meta { margin-bottom: 10px; }
.article-item h3 { margin: 0 0 10px; font-size: 18px; }
.article-item h3 a { color: var(--primary); text-decoration: none; }
.article-item h3 a:hover { text-decoration: underline; }
.article-item p { color: var(--text-light); font-size: 14px; line-height: 1.7; }
.article-item .read-more { font-size: 14px; }

/* ===== 文章詳情頁（以 article-20260904-2247 为模板统一） ===== */
.article-detail {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 5vw 60px;
}
.article-detail .breadcrumb {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 24px;
}
.article-detail .breadcrumb a {
    color: #8b4513;
    text-decoration: none;
}
.article-detail .breadcrumb a:hover {
    text-decoration: underline;
}
.article-detail .article-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0e6d8;
}
.article-detail .article-header h1 {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}
.article-detail .article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.article-detail .article-meta span {
    background: #f5f0eb;
    padding: 4px 12px;
    border-radius: 12px;
}
.article-detail .article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.article-detail .article-tags a {
    font-size: 0.82rem;
    color: #8b4513;
    background: #f5f0eb;
    padding: 4px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}
.article-detail .article-tags a:hover {
    background: #8b4513;
    color: #fff;
}
.article-content a {
    color: inherit;
    text-decoration: none;
}
.article-content a:hover,
.article-content a:focus-visible {
    color: var(--primary);
    text-decoration: none;
}
.article-content a,
.article-content a:link,
.article-content a:visited,
.article-content a:hover,
.article-content a:active,
.article-content a:focus,
.article-content u,
.article-content ins {
    color: inherit !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.article-content h2 {
    color: #2c2c2c;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-left: 12px;
    border-left: 3px solid #8b4513;
    line-height: 1.4;
}
.article-content h3 {
    color: #444;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 12px;
}
.article-content p {
    margin-bottom: 16px;
    font-size: 0.96rem;
    color: #444;
    text-align: justify;
    line-height: 1.8;
}
.article-content blockquote {
    background: #f5f0eb;
    border-left: 3px solid #8b4513;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.article-content blockquote p {
    margin-bottom: 0;
}
.article-content ul {
    margin: 16px 0 16px 24px;
}
.article-content li {
    margin-bottom: 8px;
    font-size: 0.96rem;
    color: #444;
}
.article-content strong {
    color: #8b4513;
}

/* ===== 正文阅读优化 ===== */
.article-content {
    color: #444;
    font-size: 16px;
}
.article-content p {
    margin: 0 0 18px;
    line-height: 1.95;
    letter-spacing: 0.01em;
    text-align: left;
}
.article-content h2 + p {
    margin-top: 2px;
}
.article-content hr {
    margin: 34px auto;
}
.article-content .faq-list > p {
    margin: 0 0 14px;
    padding: 16px 18px 15px;
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(92, 57, 24, 0.04);
}
.article-content .faq-list > p > strong:first-child {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    line-height: 1.6;
}
.article-content .faq-item {
    margin: 0;
    padding: 16px 18px 15px;
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(92, 57, 24, 0.04);
}
.article-content .faq-question {
    margin: 0 0 8px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.6;
}
.article-content .faq-answer {
    margin: 0;
    color: #555;
    line-height: 1.85;
}
.article-content .article-signature {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #eadfce;
    color: #888;
    font-size: 0.88rem;
    line-height: 1.8;
    text-align: center;
}
.article-content .article-signature em {
    font-style: normal;
}
.article-content ul,
.article-content ol {
    margin-top: 8px;
    margin-bottom: 20px;
}
@media (max-width: 480px) {
    .article-content {
        font-size: 15px;
    }
    .article-content p {
        margin-bottom: 16px;
        line-height: 1.9;
    }
    .article-content .faq-item {
        padding: 14px 15px;
    }
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.article-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0d5c5;
}
.article-content th {
    background: #8b4513;
    color: #fff;
    padding: 12px 15px;
}
.article-detail .contact-info {
    background: #f5f0eb;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 0.9rem;
}
.article-detail .cta-box {
    background: linear-gradient(135deg, #8b4513 0%, #6b3410 100%);
    color: #fff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}
.article-detail .cta-box h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.article-detail .cta-box p {
    font-size: 0.92rem;
    margin-bottom: 20px;
    opacity: 0.9;
}
.article-detail .cta-box a {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #8b4513;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}
.article-detail .related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #f0e6d8;
}
.article-detail .related h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 20px;
}
.article-detail .related a {
    color: #8b4513;
    text-decoration: none;
}
.article-detail .related a:hover {
    text-decoration: underline;
}
.article-detail footer {
    text-align: center;
    padding: 32px 5vw;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #eee;
    background: #fff;
    margin-top: 60px;
}
.article-detail footer a {
    color: #8b4513;
    text-decoration: none;
}
.article-detail footer .social {
    margin-top: 12px;
}
.article-detail footer .social a {
    margin: 0 8px;
    font-size: 0.9rem;
    color: #999;
}
@media (max-width: 480px) {
    .article-detail {
        padding: 24px 4vw 40px;
    }
}
/* 场景分隔线 */
.article-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 40px auto;
    max-width: 60%;
}
.article-content hr::before {
    content: '❋';
    display: block;
    text-align: center;
    color: var(--accent);
    font-size: 18px;
    margin-top: -10px;
    background: var(--bg);
    width: 40px;
    margin-left: auto;
    margin-right: auto;
}
/* 对话样式 */
.article-content .dialogue {
    background: var(--bg-alt);
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}
.article-content .dialogue .speaker {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}
.article-content .dialogue p {
    margin-bottom: 0;
    font-size: 16px;
}
/* 首段首字放大（仅第一段） */
.article-content > p:first-of-type {
    text-indent: 0;
}
.article-content > p:first-of-type::first-letter {
    font-size: 1.5em;
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 2px;
    color: var(--primary);
    font-weight: 700;
}
/* 小标题/场景标题 */
.article-content .scene-title {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    margin: 30px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* 联系方式/底部信息 */
.article-content .contact-info {
    background: var(--bg-alt);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 15px;
    color: var(--text-light);
}
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.article-nav a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}
.article-nav a:hover { text-decoration: underline; }

/* ===== 正文标题与图标层次 ===== */
.article-content h2.section-heading {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 34px 0 18px;
    padding: 11px 16px 11px 50px;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, #fff8ed 0%, rgba(255, 248, 237, 0.28) 78%, transparent 100%);
    color: var(--primary-dark);
    font-size: 1.18rem;
    line-height: 1.55;
}
.article-content h2.section-heading::before {
    position: absolute;
    left: 16px;
    font-size: 1.35rem;
    line-height: 1;
}
.article-content h2.section-opening::before { content: '🍊'; }
.article-content h2.section-act::before { content: '🍂'; }
.article-content h2.section-tips::before { content: '🍵'; }
.article-content h2.section-faq::before { content: '❓'; }
.article-content h2.section-ending::before { content: '✦'; }
.article-content .faq-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 24px;
}
.article-content .faq-question::before {
    content: '❔';
    margin-right: 7px;
    font-size: 0.95em;
}
.article-content h2.section-tips + p {
    padding: 15px 18px;
    border: 1px solid #eadfce;
    border-radius: 10px;
    background: #fffdf9;
}
@media (max-width: 480px) {
    .article-content h2.section-heading {
        padding-left: 43px;
        font-size: 1.05rem;
    }
    .article-content h2.section-heading::before { left: 13px; }
}

/* ===== 滢滢個人IP首屏 ===== */
.hero-personal {
    background: linear-gradient(135deg, #fdf6e9 0%, #f5e6cc 50%, #ede0d0 100%);
    padding: 60px 5% 80px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-intro {
    flex: 1;
    max-width: 600px;
}
.hero-image {
    flex: 0 0 400px;
}
.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139,69,19,0.2);
}
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(139,69,19,0.3);
}
.hero-personal h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}
.hero-quote {
    font-size: 18px;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
}

/* ===== 今日更新標籤 ===== */
.section-label {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.live-dot {
    width: 10px;
    height: 10px;
    background: #e94560;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== 滢滢想對你説 ===== */
.yingying-says {
    background: linear-gradient(135deg, #fff9f0 0%, #fdf5e6 100%);
    padding: 60px 5%;
}
.yingying-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    border: 1px solid var(--border);
}
.yingying-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}
.yingying-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.yingying-photo {
    width: 200px;
    margin: 0;
    text-align: center;
}
.yingying-photo img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(92, 57, 24, 0.12);
}
.yingying-photo figcaption,
.feature-photo figcaption,
.live-photo figcaption {
    margin-top: 6px;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}
.feature-photo {
    margin: 0 0 12px;
    text-align: center;
}
.feature-photo img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(92, 57, 24, 0.12);
}
.live-photo {
    width: min(100%, 520px);
    margin: 0 auto 20px;
    text-align: center;
}
.live-photo img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.live-photo figcaption {
    color: rgba(255, 255, 255, 0.75);
}
.yingying-content h3 {
    margin: 0 0 15px;
    font-size: 20px;
}
.yingying-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== 文章配圖 ===== */
.article-inline-image {
    width: min(100%, 520px);
    margin: 18px auto 28px;
    text-align: center;
}
.article-inline-image img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(92, 57, 24, 0.12);
}
.article-inline-image figcaption,
.featured-image figcaption {
    margin-top: 6px;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* ===== 文章卡片增強 ===== */
.article-featured {
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    min-height: 310px;
    box-sizing: border-box;
}
.featured-image {
    width: min(100%, 360px);
    margin: 8px auto 14px;
    text-align: center;
}
.featured-image img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}
.article-featured .article-meta {
    flex-wrap: wrap;
    align-items: center;
}
.article-featured h3 {
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.article-featured > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.article-cta {
    margin-top: auto;
    padding-top: 8px;
    text-align: center;
}

/* ===== 直播區 ===== */
.live-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 5%;
}
.live-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}
.live-section p {
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.live-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.live-btns .btn {
    background: var(--white);
    color: var(--primary);
}
.live-btns .btn:hover {
    background: var(--bg-alt);
}
.live-btns .btn-outline {
    border-color: var(--white);
    color: var(--white);
}
.live-btns .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== 響應式 ===== */
@media (max-width: 768px) {
    .nav { flex-direction: column; gap: 8px; padding: 12px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
    .nav-links a { font-size: 14px; }
    .hero h2 { font-size: 26px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .product-list, .feature-list, .year-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    section, .container { padding: 40px 4%; }
    .article-card::before { font-size: 32px; }
    .article-content p:first-child::first-letter { font-size: 2em; }
    .yingying-card { flex-direction: column; align-items: center; text-align: center; }
    .yingying-avatar { margin: 0 auto 15px; }
    .live-btns { flex-direction: column; align-items: center; }
    .avatar { width: 80px; height: 80px; font-size: 28px; margin: 0 auto 25px; }
    .hero-personal h2 { font-size: 22px; }
    .hero-quote { font-size: 16px; }
    .hero-personal { flex-direction: column; text-align: center; }
    .hero-image { flex: 1; width: 100%; }
}

/* ===== 短視頻頁面 ===== */
.video-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}
.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.video-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.video-thumb {
    background: linear-gradient(135deg, #e8ddd0, #d4c4b0);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.play-icon {
    font-size: 40px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
}
.duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.video-card h3 {
    padding: 15px 15px 8px;
    font-size: 15px;
    margin: 0;
}
.video-card p {
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.video-stats {
    padding: 12px 15px 15px;
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}
.upload-hint {
    text-align: center;
    margin-top: 50px;
    padding: 35px;
    background: var(--bg-alt);
    border-radius: 10px;
}
.upload-hint h3 { margin-bottom: 12px; }
.upload-hint p { color: var(--text-light); margin-bottom: 20px; }
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s;
}
.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 直播間頁面 ===== */
.live-status-bar {
    background: #1a1a2e;
    padding: 12px 5%;
    text-align: center;
}
.live-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.live-text {
    color: #fff;
    font-size: 15px;
}
.btn-live {
    background: #e94560;
    color: #fff;
    border-color: #e94560;
    padding: 8px 20px;
    font-size: 14px;
}
.btn-live:hover {
    background: #c73a50;
}

.live-schedule {
    max-width: 800px;
    margin: 0 auto 50px;
}
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.schedule-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 25px;
    position: relative;
}
.schedule-item.today {
    border-left: 4px solid #e94560;
}
.schedule-date { font-size: 15px; margin-bottom: 5px; }
.schedule-time { color: var(--primary); font-weight: 600; margin-bottom: 5px; }
.schedule-topic { color: var(--text-light); font-size: 14px; }
.schedule-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e94560;
    color: #fff;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* 粉絲留言牆 */
.fan-wall {
    max-width: 800px;
    margin: 0 auto 50px;
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.comment-item {
    display: flex;
    gap: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}
.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}
.comment-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 10px;
    font-size: 11px;
    font-weight: normal;
}
.comment-badge.buyer { background: #e8f5e9; color: #2e7d32; }
.comment-badge.vip { background: #fff3e0; color: #e65100; }
.comment-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}
.comment-time {
    font-size: 12px;
    color: #999;
}

/* 粉絲羣 */
.fan-group {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.group-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
}
.group-benefits div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: var(--text-light);
}
.group-cta {
    margin-top: 25px;
}
.group-cta p { margin-bottom: 12px; color: var(--text-light); }
.wechat-display {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.wechat-display span {
    background: var(--white);
    border: 2px dashed var(--border);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* 響應式補充 */
@media (max-width: 768px) {
    .video-grid { grid-template-columns: 1fr; }
    .group-benefits { grid-template-columns: 1fr; }
    .schedule-tag { position: static; margin-top: 8px; display: inline-block; }
    .comment-item { flex-direction: column; }
    .comment-avatar { align-self: flex-start; }
}

/* ===== 新旧文章模板兼容 =====
   旧文章使用 .nav/.article-detail，近期文章使用
   .site-header/.main-nav。统一视觉，避免新文章出现裸导航和面包屑。 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.site-header .main-nav {
    max-width: none;
    margin: 0;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-nav .logo {
    color: var(--primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.main-nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav ul a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}
.main-nav ul a:hover,
.main-nav ul a.active { color: var(--primary); }
.site-header + .breadcrumb {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 40px 5vw 0;
    font-size: 0.82rem;
    color: #999;
}
.site-header + .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.site-header + .breadcrumb a:hover { text-decoration: underline; }
.site-header + .breadcrumb + .article-detail { padding-top: 0; }
@media (max-width: 768px) {
    .site-header .main-nav { padding: 12px 4vw; }
    .main-nav ul { gap: 16px; }
}
@media (max-width: 480px) {
    .site-header .main-nav {
        flex-direction: column;
        gap: 8px;
    }
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
    }
    .site-header + .breadcrumb {
        padding: 24px 4vw 0;
    }
}
