/*
 * Taktimize - Shared Blog Article Styles
 * Used by all individual blog article pages
 * Assumes main.css is already loaded
 */

/* Article Header */
.article-header {
    margin-top: 120px;
    margin-bottom: 40px;
    text-align: center;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-hero-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.2);
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 24px;
    font-weight: 700;
}

.article-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* CTA Box */
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.cta-box h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-box p {
    margin-bottom: 24px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

/* Related Tools CTA */
.related-tools {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-tools h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.related-tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: border-color 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.related-tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.related-tool-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-tool-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
}

.related-tool-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        margin-top: 100px;
    }

    .article-hero-img {
        height: 250px;
        font-size: 50px;
        margin-bottom: 40px;
    }

    .article-content {
        font-size: 16px;
    }

    .cta-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .article-header {
        margin-top: 70px;
        margin-bottom: 24px;
    }

    .article-hero-img {
        height: 180px;
        font-size: 40px;
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .article-content h2 {
        font-size: 22px;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .article-content h3 {
        font-size: 18px;
        margin-top: 24px;
    }

    .cta-box {
        padding: 20px 16px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .cta-box h3 {
        font-size: 20px;
    }

    .back-link {
        margin-bottom: 24px;
    }

    .related-tools {
        margin-top: 40px;
        padding-top: 24px;
    }

    .related-tool-card {
        padding: 20px 16px;
    }
}
