/* ============================================================
   頁首作者／更新署名列共用樣式（2026-11-30）
   用於文章頁 hero 下方，YMYL 信任訊號
   ⚠️ 共用檔，不動各頁專屬 CSS
   ============================================================ */

.eeat-byline {
    max-width: var(--maxw, 900px);
    margin: 0 auto 2rem;
    padding: 0.85rem 1.1rem;
    background: #f8f9fc;
    border: 1px solid #e3e7f0;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #414961;
}

.eeat-byline-item {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.eeat-byline-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.eeat-byline-label {
    font-weight: 700;
    color: #1b2952;
}

.eeat-byline a {
    color: #1b2952;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eeat-byline a:hover {
    color: #3a4260;
}

.eeat-byline time {
    color: #414961;
}

/* 免責提示：可換行、較淡 */
.eeat-byline-note {
    white-space: normal;
    flex-basis: 100%;
    color: #5b6480;
    font-size: 0.82rem;
    padding-top: 0.55rem;
    border-top: 1px dashed #dde2ee;
}

/* ⚠️ 2026-12-01 修正對比度（axe：4.47:1 < 4.5:1）
   根因：頁面專屬 CSS 的 `.page-hero p { opacity: 0.9 }`
   （選擇器特異性 0,1,1）會命中本元素（0,1,0），
   疊加背景後把 #5b6480 變成 #6b738c → 對比度不足。
   ⚠️ 不修改專屬 CSS → 改用共用 CSS 以更高特異度（0,2,0）覆蓋。
   → 引用此 CSS 的頁面需 bump ?v=。 */
.eeat-byline .eeat-byline-note {
    opacity: 1;
    color: #414961;
}

@media (max-width: 640px) {
    .eeat-byline {
        margin: 0 1rem 1.5rem;
        padding: 0.75rem 0.9rem;
        font-size: 0.83rem;
        gap: 0.4rem 1rem;
    }

    .eeat-byline-item {
        white-space: normal;
    }
}
