/* ============================================================
   LOLA — Blog Design System
   ============================================================ */

.blog-body {
    background-color: var(--white);
}

.blog-header {
    background: linear-gradient(160deg, #fdfaf6 0%, #f5e6d3 40%, #fdf6ef 100%);
    padding: calc(var(--nav-height) + 80px) 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.blog-header .hero-title {
    margin-bottom: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 60px 0 100px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 166, 90, 0.3);
}

.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-card-cat {
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 15px;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--orange-dark);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* ============================================================
   ARTICLE LECTURE
   ============================================================ */

.article-header {
    background: linear-gradient(160deg, #fdfaf6 0%, #f5e6d3 100%);
    padding: calc(var(--nav-height) + 60px) 0 40px;
    border-bottom: 1px solid var(--border);
}

.article-hero-img-wrap {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
    box-shadow: var(--shadow-md);
    background: var(--cream);
}

.article-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto;
}

.article-meta-cat {
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-meta span.separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.5;
}

.article-content {
    max-width: 760px;
    margin: 60px auto 100px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--navy);
    margin: 60px 0 24px;
    line-height: 1.2;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 40px 0 16px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content img {
    margin: 40px auto;
    border-radius: var(--radius-md);
    max-width: 100%;
    box-shadow: var(--shadow-sm);
    display: block;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--navy);
    border-left: 4px solid var(--orange);
    padding-left: 24px;
    margin: 40px 0;
    line-height: 1.5;
}

/* Button retour blog */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 40px;
    transition: color var(--transition-fast);
}

.back-to-blog:hover {
    color: var(--orange);
}

.back-to-blog svg {
    width: 20px;
    height: 20px;
}

/* Loading state */
.loading-blog {
    text-align: center;
    padding: 100px 0;
    color: var(--text-muted);
    grid-column: 1/-1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}