/* 部落格與文章頁（沿用 style.css 的配色、導覽列、頁尾） */

.article-page {
    background-color: var(--color-white);
}

.article-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 110px 20px 4rem;
}

.breadcrumb {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    color: var(--color-green-dark);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.4rem;
}

.article-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-green-dark);
    background: rgba(126, 155, 141, 0.15);
    padding: 2px 12px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.article h1 {
    font-size: 2.1rem;
    line-height: 1.35;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.article-meta span + span::before {
    content: "・";
}

.disclosure {
    background: var(--color-cream-bg);
    border-left: 4px solid var(--color-green-morandi);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article h2 {
    font-size: 1.55rem;
    color: var(--color-green-dark);
    margin: 3rem 0 1rem;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.article h3 {
    font-size: 1.18rem;
    color: var(--color-text-main);
    margin: 2rem 0 0.6rem;
    scroll-margin-top: 90px;
}

.article p,
.article li {
    font-size: 1.02rem;
    line-height: 1.9;
}

.article p {
    margin-bottom: 1rem;
}

.article ul,
.article ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.article a {
    color: var(--color-green-dark);
}

.answer-first {
    font-weight: 500;
    background: rgba(126, 155, 141, 0.08);
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
}

.summary-box,
.toc {
    background: var(--color-cream-bg);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.summary-box h2,
.toc h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.summary-box li {
    margin-bottom: 0.4rem;
}

.toc ol {
    margin-bottom: 0;
}

.toc a {
    text-decoration: none;
}

/* 比較表：手機可左右滑動 */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0 0.5rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: 12px;
}

.compare-table {
    width: 100%;
    min-width: 1080px;
    max-width: none;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--color-cream-dark);
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
    line-height: 1.6;
}

.compare-table td {
    min-width: 130px;
}

.compare-table thead th {
    background: var(--color-cream-bg);
    color: var(--color-green-dark);
    white-space: nowrap;
}

.compare-table tbody th {
    white-space: nowrap;
    font-weight: 600;
}

.compare-table .row-own {
    background: rgba(126, 155, 141, 0.08);
}

.own-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-green-dark);
}

.table-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.app-card {
    border: 1px solid var(--color-cream-dark);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
}

.app-card h3 {
    margin-top: 0;
}

.app-card p:last-child {
    margin-bottom: 0;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(126, 155, 141, 0.12), rgba(126, 155, 141, 0.04));
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    margin: 2.5rem 0;
}

.cta-box h2,
.cta-box h3 {
    margin-top: 0;
}

.cta-box p {
    margin-bottom: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--color-cream-dark);
    padding: 1rem 0;
}

.faq-item h3 {
    margin: 0 0 0.4rem;
    color: var(--color-green-dark);
    font-size: 1.08rem;
}

.faq-item p {
    margin-bottom: 0;
}

.sources li {
    font-size: 0.92rem;
    line-height: 1.8;
    word-break: break-word;
}

.related {
    border-top: 1px solid var(--color-cream-dark);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

/* 部落格列表 */
.blog-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.blog-card {
    display: block;
    border: 1px solid var(--color-cream-dark);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.blog-card h2 {
    margin: 0.3rem 0 0.5rem;
    font-size: 1.3rem;
}

.blog-card p {
    margin: 0;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .article-wrap {
        padding-top: 96px;
    }

    .article h1 {
        font-size: 1.6rem;
    }

    .article h2 {
        font-size: 1.3rem;
    }
}

/* App 實機畫面：桌機格狀、手機左右滑動 */
.app-shots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.app-shots figure {
    margin: 0;
    text-align: center;
}

.app-shots img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--color-cream-dark);
    box-shadow: 0 6px 18px rgba(90, 112, 101, 0.12);
    background: var(--color-cream-bg);
}

.app-shots figcaption {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .app-shots {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .app-shots figure {
        flex: 0 0 58%;
        scroll-snap-align: start;
    }
}

.app-shots a {
    display: block;
}

.compare-table.link-table {
    min-width: 640px;
}

.editor-note {
    background: rgba(214, 170, 95, 0.12);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.97rem;
}

.editor-note strong {
    color: #8A6420;
}
