/* Blog Artemus - Styles v2 */
/* Principe : fond sombre pour l'habillage (hero, nav, footer) */
/* Fond clair creme pour les zones de lecture (articles, liste) */

/* ===== Hero blog (reste sombre) ===== */
.blog-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 50px;
}

.blog-hero-article {
    min-height: 25vh;
    padding-bottom: 30px;
}

.blog-hero-content {
    max-width: 700px;
}

.blog-hero h1 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--or, #d9a84e);
    margin-bottom: 0.5em;
}

.blog-hero p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Meta info (dans le hero sombre) */
.blog-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.blog-category {
    display: inline-block;
    padding: 0.2em 0.8em;
    border: 1px solid var(--or, #d9a84e);
    border-radius: 20px;
    color: var(--or, #d9a84e);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Zone claire : liste d'articles ===== */
.blog-list {
    background: #f5f2ed;
    padding: 50px 20px 80px;
}

.blog-list-inner {
    max-width: 900px;
    margin: 0 auto;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Instrument Sans', sans-serif;
    color: #4a4a46;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-empty a {
    color: #a07830;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.2rem;
}

/* Carte article (sur fond clair) */
.blog-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}

.blog-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(to right, var(--or, #d9a84e), #a07830);
    border-radius: 10px 10px 0 0;
}

.blog-card:hover {
    border-color: rgba(160,120,48,0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.blog-card:hover::before {
    background: linear-gradient(to right, #d9a84e, var(--sarcelle, #4db6ac));
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.6rem 1.8rem 1.8rem;
}

.blog-card-body .blog-category {
    color: #a07830;
    border-color: rgba(160,120,48,0.35);
    font-size: 0.72rem;
    padding: 0.15em 0.7em;
    letter-spacing: 0.12em;
}

.blog-card-body h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0.6em 0 0.7em;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.92rem;
    color: #6a6a64;
    line-height: 1.6;
    margin-bottom: 1.2em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body time {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.78rem;
    color: #b0aea6;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.blog-card-body time::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--or, #d9a84e);
    border-radius: 1px;
}

/* ===== Zone claire : article complet ===== */
.blog-article {
    background: #f5f2ed;
    padding: 50px 20px 80px;
}

.blog-article-content {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a46;
}

.blog-article-content h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 2em 0 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-article-content h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a2a2a;
    margin: 1.5em 0 0.5em;
}

.blog-article-content p {
    margin-bottom: 1.2em;
}

.blog-article-content a {
    color: #a07830;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-content a:hover {
    color: #7a5a20;
}

.blog-article-content blockquote {
    border-left: 3px solid #a07830;
    padding: 0.5em 1.5em;
    margin: 1.5em 0;
    color: #6a6a66;
    font-style: italic;
}

.blog-article-content ul, .blog-article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.blog-article-content li {
    margin-bottom: 0.4em;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em 0;
}

.blog-article-footer {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.blog-back-link {
    font-family: 'Instrument Sans', sans-serif;
    color: #a07830;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.blog-back-link:hover {
    opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero {
        padding: 100px 16px 40px;
        min-height: 25vh;
    }
    
    .blog-list {
        padding: 30px 16px 60px;
    }
    
    .blog-article {
        padding: 30px 16px 60px;
    }
}
