/**
 * Blog Styles - SEO RankLab
 * Styles pour les pages du blog
 */

/* Layout principal */
.blog-main {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-title {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.blog-subtitle {
    color: #4b5563;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Grille d'articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Carte article */
.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-card a:hover {
    color: #667eea;
}

/* Image/Header article */
.article-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-header-small {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradients pour les headers */
.gradient-purple { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gradient-violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.gradient-deep-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.gradient-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.gradient-purple-deep { background: linear-gradient(135deg, #a855f7, #9333ea); }

/* Icône blog */
.blog-icon {
    width: 80px;
    height: 80px;
    stroke: white;
    fill: none;
    opacity: 0.9;
}

/* Contenu article */
.article-content {
    padding: 25px;
}

/* Tags/Badges */
.article-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.tag-guide { background: #dbeafe; color: #1d4ed8; }
.tag-erreurs { background: #fef3c7; color: #d97706; }
.tag-strategie { background: #dbeafe; color: #1d4ed8; }
.tag-comparatif { background: #f3e8ff; color: #7c3aed; }
.tag-tutoriel { background: #fee2e2; color: #dc2626; }
.tag-backlinks { background: #cffafe; color: #0891b2; }
.tag-seo-local { background: #fef3c7; color: #d97706; }
.tag-performance { background: #fee2e2; color: #dc2626; }
.tag-redaction { background: #dbeafe; color: #1d4ed8; }
.tag-ecommerce { background: #d1fae5; color: #059669; }

/* Titre article */
.article-title {
    color: #1f2937;
    margin: 15px 0 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.article-title-small {
    color: #1f2937;
    margin: 15px 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Description article */
.article-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-excerpt-small {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Meta article (date, temps lecture) */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4b5563;
    font-size: 0.9rem;
}

.article-meta-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4b5563;
    font-size: 0.85rem;
}

/* Section titre */
.section-title {
    color: #1f2937;
    font-size: 2rem;
    margin: 60px 0 30px;
    text-align: center;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 50px;
    border-radius: 16px;
    margin-top: 60px;
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-text {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
}

/* Footer blog */
.blog-footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.blog-footer p {
    color: #6b7280;
}

/* Nav logo link */
.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
