/* Blog Styles — renmory.com */
/* Inherits design tokens from landing.css */

/* ── Breadcrumb ── */
.breadcrumb {
    padding: 1rem 0 0;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

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

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    margin: 0 0.4rem;
}

/* ── Main container ── */
.blog-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

/* ── Post header ── */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.85rem;
    color: var(--color-text-light);
    flex-wrap: wrap;
}

.post-meta-tag {
    background: rgba(240, 98, 146, 0.1);
    color: var(--color-primary);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.post-title {
    font-family: 'SatsukiGendaiMincho', 'Noto Serif TC', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.4;
    color: var(--color-text-main);
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}

.post-subtitle {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Hero image placeholder ── */
.post-hero {
    width: 100%;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, rgba(240,98,146,0.15), rgba(255,183,77,0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    border: 1px solid rgba(240, 98, 146, 0.12);
}

/* ── Article body ── */
.post-body {
    font-family: 'Noto Serif TC', serif;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text-main);
}

.post-body p {
    margin-bottom: 1.4rem;
}

.post-body h2 {
    font-family: 'SatsukiGendaiMincho', 'Noto Serif TC', serif;
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin: 2.8rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(240, 98, 146, 0.25);
    letter-spacing: 0.02em;
}

.post-body h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin: 2rem 0 0.7rem;
}

/* ── Question cards ── */
.question-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.question-list li {
    background: var(--color-surface-solid);
    border: 1px solid rgba(240, 98, 146, 0.12);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
    padding: 0.75rem 1.1rem;
    font-size: 0.97rem;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.question-list li .q-num {
    color: var(--color-primary);
    font-weight: 600;
    min-width: 1.8rem;
    font-size: 0.85rem;
    padding-top: 0.05rem;
}

/* ── Tip box ── */
.tip-box {
    background: rgba(174, 213, 129, 0.15);
    border: 1px solid rgba(174, 213, 129, 0.4);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.tip-box strong {
    display: block;
    margin-bottom: 0.4rem;
    color: #4a7c37;
}

/* ── Comparison table ── */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.92rem;
    background: var(--color-surface-solid);
}

.comparison-table thead th {
    background: rgba(240, 98, 146, 0.08);
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-text-main);
    border-bottom: 2px solid rgba(240, 98, 146, 0.2);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(93, 64, 55, 0.06);
    text-align: center;
    color: var(--color-text-main);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: rgba(240, 98, 146, 0.03);
}

.check { color: #4a7c37; font-size: 1.1rem; }
.cross { color: #c0392b; font-size: 1.1rem; }
.neutral { color: var(--color-text-light); }

/* ── FAQ section ── */
.faq-section {
    margin-top: 3rem;
}

.faq-section h2 {
    font-family: 'SatsukiGendaiMincho', 'Noto Serif TC', serif;
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(240, 98, 146, 0.25);
}

.faq-item {
    border: 1px solid rgba(93, 64, 55, 0.08);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    background: var(--color-surface-solid);
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.2rem;
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    list-style: none;
    user-select: none;
}

.faq-question::after {
    content: '+';
    color: var(--color-primary);
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1rem;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--color-text-light);
    border-top: 1px solid rgba(93, 64, 55, 0.06);
    margin-top: -0.1rem;
    padding-top: 0.9rem;
}

/* ── CTA block ── */
.cta-block {
    background: linear-gradient(135deg, rgba(240,98,146,0.1), rgba(255,183,77,0.1));
    border: 1px solid rgba(240, 98, 146, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3.5rem;
}

.cta-block h2 {
    font-family: 'SatsukiGendaiMincho', 'Noto Serif TC', serif;
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin-bottom: 0.8rem;
    border: none !important;
}

.cta-block p {
    font-family: 'Noto Serif TC', serif;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.97rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(240, 98, 146, 0.3);
}

.cta-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* ── Footer ── */
.blog-footer {
    background: var(--color-bg);
    border-top: 1px solid rgba(93, 64, 55, 0.08);
    text-align: center;
    padding: 2rem;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.blog-footer a {
    color: var(--color-text-light);
    text-decoration: none;
}

.blog-footer a:hover {
    color: var(--color-primary);
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .blog-container {
        padding: 1.5rem 1rem 4rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .comparison-table {
        font-size: 0.82rem;
    }
}
