/* ─── BLOG ARTICLE LAYOUT ─── */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--text-dim);
    margin-bottom: 2rem;
}
.breadcrumbs a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs .sep { color: var(--text-dim); }

/* Article Header */
.article-header { margin-bottom: 3rem; }
.article-meta {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--text-dim);
    margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.meta-sep { color: var(--text-dim); }
.article-category {
    background: rgba(74,222,128,0.1); color: var(--green);
    padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 0.7rem;
}
.article-header h1 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 2.8rem; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 1rem;
}
.article-subtitle {
    font-size: 1.15rem; color: var(--text-mid); line-height: 1.6;
}

/* Article Body */
.article-body {
    font-size: 1.05rem; line-height: 1.8; color: var(--text-mid);
}
.article-body h2 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.8rem; color: var(--text);
    margin: 3rem 0 1rem; letter-spacing: -0.02em; line-height: 1.2;
}
.article-body h3 {
    font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.3rem; color: var(--text);
    margin: 2rem 0 0.75rem; letter-spacing: -0.01em;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #6ee7a0; }
.article-body ul, .article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--text); }
.article-body blockquote {
    border-left: 3px solid var(--green);
    padding: 1rem 1.5rem; margin: 1.5rem 0;
    background: rgba(74,222,128,0.04); border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--text);
}
.article-body img {
    width: 100%; border-radius: 12px;
    border: 1px solid var(--border);
    margin: 1.5rem 0;
}
.article-body hr {
    border: none; border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

/* ─── INTERACTIVE BLOCKS ─── */

/* Tool Card — for listicle/roundup articles */
.tool-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem; margin: 2rem 0;
    transition: border-color 0.3s;
}
.tool-card:hover { border-color: rgba(255,255,255,0.12); }
.tool-card.featured {
    border-color: var(--green);
    background: linear-gradient(135deg, rgba(74,222,128,0.04), rgba(74,222,128,0.01));
}
.tool-card-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.2rem;
}
.tool-card-rank {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 1.6rem; color: var(--text-dim);
    min-width: 36px;
}
.tool-card.featured .tool-card-rank { color: var(--green); }
.tool-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    object-fit: contain;
}
.tool-card-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.3rem; color: var(--text);
}
.tool-card-subtitle {
    font-size: 0.85rem; color: var(--text-dim);
}
.tool-card-body { margin-bottom: 1rem; }
.tool-card-body p { font-size: 0.95rem; margin-bottom: 0.75rem; }

/* Pros/Cons Grid */
.pros-cons {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin: 1rem 0;
}
.pros, .cons {
    padding: 1rem; border-radius: 10px; font-size: 0.85rem;
}
.pros {
    background: rgba(74,222,128,0.05);
    border: 1px solid rgba(74,222,128,0.15);
}
.cons {
    background: rgba(239,68,68,0.05);
    border: 1px solid rgba(239,68,68,0.15);
}
.pros h4 { color: var(--green); margin-bottom: 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.cons h4 { color: #ef4444; margin-bottom: 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li::before { content: '✓ '; color: var(--green); font-weight: 600; }
.cons li::before { content: '✗ '; color: #ef4444; font-weight: 600; }
.pros li, .cons li { margin-bottom: 0.35rem; color: var(--text-mid); }

/* Tags / Badges */
.tool-tags {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem;
}
.tool-tag {
    font-size: 0.7rem; padding: 0.25rem 0.6rem;
    border-radius: 4px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 500;
}
.tool-tag.free { background: rgba(74,222,128,0.1); color: var(--green); }
.tool-tag.paid { background: rgba(251,191,36,0.1); color: #fbbf24; }
.tool-tag.offline { background: rgba(96,165,250,0.1); color: #60a5fa; }
.tool-tag.cloud { background: rgba(167,139,250,0.1); color: #a78bfa; }
.tool-tag.mac { background: rgba(255,255,255,0.06); color: var(--text-mid); }
.tool-tag.cross { background: rgba(251,146,60,0.1); color: #fb923c; }
.tool-tag.pick {
    background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(34,211,238,0.1));
    color: var(--green); font-weight: 600;
    border: 1px solid rgba(74,222,128,0.2);
}

/* Comparison Table — blog version */
.blog-table {
    width: 100%; border-collapse: collapse;
    margin: 1.5rem 0; font-size: 0.85rem;
    border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden;
}
.blog-table thead { background: rgba(255,255,255,0.03); }
.blog-table th {
    padding: 0.75rem 1rem; text-align: left; font-weight: 600;
    color: var(--text); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}
.blog-table td {
    padding: 0.75rem 1rem; color: var(--text-mid);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.blog-table tr:last-child td { border-bottom: none; }
.blog-table tr:hover td { background: rgba(255,255,255,0.02); }
.blog-table .yes { color: var(--green); }
.blog-table .no { color: #ef4444; }
.blog-table .partial { color: #fbbf24; }
.blog-table .highlight-col { background: rgba(74,222,128,0.03); }

/* Verdict Box */
.verdict-box {
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(34,211,238,0.03));
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 12px; padding: 1.5rem; margin: 2rem 0;
}
.verdict-box h3 {
    font-family: 'Syne', sans-serif; color: var(--green);
    margin: 0 0 0.5rem; font-size: 1.1rem;
}
.verdict-box p { margin-bottom: 0; font-size: 0.95rem; }

/* Score Badge */
.score-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--card-bg); border: 1px solid var(--border);
    padding: 0.3rem 0.8rem; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600;
}
.score-badge .score-num { color: var(--green); font-size: 1rem; }

/* Key Takeaway */
.key-takeaway {
    background: rgba(96,165,250,0.06);
    border-left: 3px solid #60a5fa;
    padding: 1rem 1.5rem; margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}
.key-takeaway strong { color: #60a5fa; }

/* Step blocks */
.step-block {
    display: flex; gap: 1.2rem; margin: 1.5rem 0;
    padding: 1.5rem; background: var(--card-bg);
    border: 1px solid var(--border); border-radius: 12px;
}
.step-num {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 2rem; color: var(--green);
    line-height: 1; min-width: 40px;
}
.step-content h4 {
    font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.1rem; color: var(--text); margin-bottom: 0.4rem;
}
.step-content p { font-size: 0.9rem; margin-bottom: 0; }

/* CTA Box */
.article-cta {
    margin: 3rem 0 2rem;
}
.article-cta-inner {
    text-align: center; padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(34,211,238,0.03));
    border: 1px solid rgba(74,222,128,0.15);
    border-radius: 16px;
}
.article-cta-inner h3 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.5rem; color: var(--text); margin: 1rem 0 0.5rem;
}
.article-cta-inner p {
    color: var(--text-mid); font-size: 0.95rem; margin-bottom: 1.5rem;
}
.article-cta-inner .btn-primary {
    display: inline-flex; margin: 0 auto;
}

/* ─── BLOG INDEX ─── */
.blog-index {
    max-width: 900px; margin: 0 auto;
    padding: 6rem 2rem 4rem;
}
.blog-index h1 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 2.5rem; letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.blog-index .blog-desc {
    color: var(--text-mid); font-size: 1.05rem; margin-bottom: 3rem;
}
.blog-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.blog-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: all 0.3s; text-decoration: none; color: inherit;
    display: block;
}
.blog-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
    font-size: 0.75rem; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.blog-card h2 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.2rem; color: var(--text); line-height: 1.3;
    margin-bottom: 0.5rem;
}
.blog-card p {
    font-size: 0.85rem; color: var(--text-mid); line-height: 1.6;
}
.blog-card .read-more {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.8rem; color: var(--green);
    margin-top: 0.75rem; font-weight: 500;
}

/* ─── FAQ ACCORDION ─── */
.faq-section { margin: 2rem 0; }
.faq-item {
    border: 1px solid var(--border); border-radius: 12px;
    margin-bottom: 0.75rem; overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.1); }
.faq-item[open] { border-color: rgba(74,222,128,0.2); }
.faq-item summary {
    padding: 1.2rem 1.5rem; cursor: pointer;
    font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.05rem; color: var(--text);
    list-style: none; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.3rem; color: var(--text-dim);
    transition: transform 0.2s, color 0.2s; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; color: var(--green); }
.faq-item p, .faq-item div {
    padding: 0 1.5rem 1.2rem; color: var(--text-mid);
    font-size: 0.95rem; line-height: 1.7;
}
.faq-item p:first-of-type { margin-top: 0; }

/* ─── FEATURE PAGE LAYOUT ─── */
.feature-page {
    max-width: 800px; margin: 0 auto;
    padding: 6rem 2rem 4rem;
}
.feature-page .breadcrumbs { margin-bottom: 2rem; }
.feature-page h1 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 2.5rem; line-height: 1.15;
    letter-spacing: -0.03em; margin-bottom: 1rem;
}
.feature-page .page-subtitle {
    font-size: 1.15rem; color: var(--text-mid); line-height: 1.6;
    margin-bottom: 2.5rem;
}
.feature-page h2 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.8rem; color: var(--text);
    margin: 3rem 0 1rem; letter-spacing: -0.02em; line-height: 1.2;
}
.feature-page h3 {
    font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.3rem; color: var(--text);
    margin: 2rem 0 0.75rem;
}
.feature-page p { font-size: 1.05rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 1.2rem; }
.feature-page a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.feature-page a:hover { color: #6ee7a0; }
.feature-page strong { color: var(--text); }
.feature-page hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.feature-page ul, .feature-page ol { margin: 1rem 0 1.5rem 1.5rem; }
.feature-page li { margin-bottom: 0.5rem; font-size: 1rem; color: var(--text-mid); }

/* Before/After Demo */
.before-after {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin: 1.5rem 0;
}
.before-box, .after-box {
    padding: 1.2rem; border-radius: 10px; font-size: 0.9rem; line-height: 1.7;
}
.before-box {
    background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.15);
    color: var(--text-mid);
}
.after-box {
    background: rgba(74,222,128,0.05); border: 1px solid rgba(74,222,128,0.15);
    color: var(--text-mid);
}
.before-box strong { color: #ef4444; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }
.after-box strong { color: var(--green); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .article-header h1 { font-size: 2rem; }
    .blog-article { padding: 5rem 1.5rem 3rem; }
    .pros-cons { grid-template-columns: 1fr; }
    .tool-card-header { flex-wrap: wrap; }
    .blog-table { font-size: 0.75rem; }
    .blog-table th, .blog-table td { padding: 0.5rem 0.6rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .step-block { flex-direction: column; gap: 0.5rem; }
    .blog-index h1 { font-size: 2rem; }
    .feature-page { padding: 5rem 1.5rem 3rem; }
    .feature-page h1 { font-size: 2rem; }
    .before-after { grid-template-columns: 1fr; }
    .faq-item summary { font-size: 0.95rem; padding: 1rem 1.2rem; }
}
