/* Medium-style article layout */

.article-container {
    max-width: 680px;
    margin: 100px auto 0;
    padding: 0 24px 60px;
    color: var(--text-primary);
}

/* Back nav */
.back-nav {
    margin-bottom: 32px;
}

.back-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.back-nav a:hover {
    color: var(--text-primary);
}

/* Header */
.article-header {
    margin-bottom: 32px;
}

.article-header h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

/* Article body */
.article-content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.article-content > p:first-child {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.article-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.7;
}

.article-content li strong {
    color: var(--text-primary);
}

/* Highlight / callout box — simple left border */
.highlight-box {
    border-left: 3px solid var(--primary-blue);
    padding: 16px 20px;
    margin: 28px 0;
    background: transparent;
    border-radius: 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.highlight-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-primary);
}

.highlight-box p {
    font-size: 15px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Workflow steps — subtle numbered style */
.workflow-step {
    background: transparent;
    color: var(--text-primary);
    border-radius: 0;
    padding: 0;
    margin: 28px 0 12px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 16px;
}

.workflow-step h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin: 0 0 4px;
}

.workflow-step p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
}

/* Tool cards — simple list instead of grid */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0 28px;
}

.tool-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.tool-card h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.tool-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Category sections (browser-productivity) */
.category-section {
    margin: 32px 0;
}

.category-intro {
    background: transparent;
    color: var(--text-primary);
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 16px;
}

.category-intro h3 {
    color: var(--text-primary) !important;
    font-size: 20px;
    margin: 0 0 4px;
}

.category-intro p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
}

/* Extension cards — compact */
.extension-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    position: relative;
}

.extension-header {
    margin-bottom: 10px;
}

.extension-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.extension-category {
    background: var(--primary-blue);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    top: -7px;
    right: 16px;
}

.extension-description {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.extension-features {
    margin-bottom: 12px;
    font-size: 14px;
}

.extension-features strong {
    font-size: 13px;
    color: var(--text-primary);
}

.extension-features ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.extension-features li {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.extension-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #fbbf24;
    font-size: 12px;
}

/* CTA section — minimal */
.cta-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    margin: 36px 0;
    text-align: center;
    background: transparent;
    border-radius: 0;
}

.cta-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .article-container {
        margin-top: 80px;
        padding: 0 20px 48px;
    }

    .article-header h1 {
        font-size: 26px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}
