/* 財經新聞彙整頁面樣式 */
:root {
    --color-bg: #f4f6f8;
    --color-card-bg: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-success: #16a34a;
    --color-border: #e5e7eb;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px 16px 60px;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
    line-height: 1.6;
}

.pageTitle {
    max-width: 860px;
    margin: 0 auto 24px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
}

.sectionTitle {
    max-width: 860px;
    margin: 32px auto 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
}

.newsContainer {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsContainer:empty {
    display: none;
}

.newsCard {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.newsCard:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.newsCard h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.newsDT {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 12px;
}

.newsSummary {
    font-size: 0.98rem;
    color: var(--color-text);
}

.newsSummary p {
    margin: 0 0 8px;
}

.newsSummary p:last-child {
    margin-bottom: 0;
}

.newsSource {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--color-primary);
    text-decoration: none;
}

.newsSource:hover {
    text-decoration: underline;
}

.copyBtn {
    margin-top: 14px;
    margin-left: 8px;
    padding: 6px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copyBtn:hover {
    background: var(--color-primary-hover);
}

.copyBtn.copied {
    background: var(--color-success);
}

@media (max-width: 600px) {
    .newsCard {
        padding: 16px;
    }
}

.reportList {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reportList li {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.reportList li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.reportList a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.reportList a:hover {
    text-decoration: underline;
}
