/* ===== Insights 文章獨立頁面 ===== */
:root {
    --accent-blue: #3b82f6;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans TC', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* 頂部導覽列 */
.article-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.article-nav a { text-decoration: none; color: inherit; }
.article-nav .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.article-nav .back-link:hover { color: var(--accent-blue); }
.article-nav .brand {
    font-family: 'Space Mono', monospace;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

/* 主容器 */
.article-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 0 80px;
}

.article-hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}
.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-content {
    padding: 50px 60px 60px;
}

.article-eyebrow {
    color: var(--accent-blue);
    font-family: 'Space Mono', monospace;
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.article-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 30px;
    letter-spacing: 1px;
}
.article-title + .article-subtitle {
    margin-top: -20px;
}
.article-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 36px;
    letter-spacing: 0.5px;
}
/* 先說重點 — 明顯框 */
.article-keypoint {
    margin: 0 0 40px;
    padding: 26px 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
}
.article-keypoint-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}
.article-keypoint-label::before {
    content: '';
    width: 22px;
    height: 22px;
    background: var(--accent-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}
.article-keypoint p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.article-lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
    padding: 22px 26px;
    border-left: 3px solid var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 40px;
}

.article-content .article-h3 {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 800;
    margin: 45px 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-content .article-h3::before {
    content: '';
    width: 5px;
    height: 26px;
    background: var(--accent-blue);
    display: inline-block;
    border-radius: 2px;
    flex-shrink: 0;
}
.article-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 40px 0 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-content h4::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--accent-blue);
    display: inline-block;
    flex-shrink: 0;
}
.article-content p {
    font-size: 1rem;
    line-height: 1.95;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.75);
}
.article-content p.article-p-bold {
    font-weight: 700;
    color: #fff;
}

.article-inline-img {
    margin: 32px 0;
}
.article-inline-img img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.article-inline-img figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    font-style: italic;
}
.article-inline-img figcaption a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
.article-inline-img figcaption a:hover { color: #60a5fa; }

/* CTA 行動呼籲 */
.article-cta {
    margin: 50px 0 0;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
}
.article-cta p {
    font-size: 1.02rem;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
}
.article-cta p:last-of-type { margin-bottom: 0; }
.article-cta a {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.article-cta a:hover { color: #93c5fd; border-color: #93c5fd; }
.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 28px;
    background: var(--accent-blue);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    border: none !important;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.article-cta-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: #fff !important;
}

/* FAQ 常見問題（手風琴） */
.article-faq {
    margin: 55px 0 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.article-faq-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-faq-title::before {
    content: '';
    width: 6px;
    height: 28px;
    background: var(--accent-blue);
    border-radius: 2px;
    flex-shrink: 0;
}
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(59, 130, 246, 0.5); }
.faq-q {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    line-height: 1.5;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--accent-blue);
    transition: transform 0.25s ease;
    line-height: 1;
}
.faq-item[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
    padding: 0 24px 22px;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
}

/* 頁尾：更多活動精華（三張卡片） */
.article-more {
    max-width: 880px;
    margin: 50px auto 0;
    padding: 40px 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.article-more-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.article-more-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.article-more-all {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.article-more-all:hover { color: var(--accent-blue); }
.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.more-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.more-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 26px rgba(59, 130, 246, 0.15);
}
.more-card-img {
    aspect-ratio: 16 / 10;
    background: #111;
    overflow: hidden;
}
.more-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.more-card:hover .more-card-img img { transform: scale(1.05); }
.more-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    padding: 14px 14px 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .article-content { padding: 35px 25px 45px; }
    .article-title { font-size: 1.5rem; }
    .article-subtitle { font-size: 1rem; }
    .article-lead { font-size: 0.95rem; padding: 16px 20px; }
    .article-keypoint { padding: 20px 22px; }
    .article-keypoint p { font-size: 0.98rem; line-height: 1.85; }
    .article-faq-title { font-size: 1.35rem; }
    .faq-q { font-size: 0.98rem; padding: 16px 48px 16px 18px; }
    .faq-a { padding: 0 18px 18px; font-size: 0.95rem; }
    .article-cta { padding: 26px 22px; }
    .article-cta p { font-size: 0.96rem; line-height: 1.85; }
    .article-cta-btn { width: 100%; justify-content: center; }
    .article-content .article-h3 { font-size: 1.25rem; }
    .article-content h4 { font-size: 1.1rem; }
    .article-content p { font-size: 0.95rem; line-height: 1.85; }
    .article-more { padding: 30px 25px 0; }
    .more-grid { grid-template-columns: 1fr; gap: 14px; }
    .article-more-title { font-size: 1.2rem; }
}
