/* ============================================
   ARTICLE - PAGE STYLES
   Individual article page layout & typography
   ============================================ */

/* Article Content */
.article-content {
    padding: 60px 0 80px;
    padding-top: 140px;
    background: #fff;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Back link */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 32px;
    transition: var(--transition);
}

.article-back:hover {
    text-decoration: underline;
    color: var(--accent-dark);
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* Title */
.article-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 32px;
}

/* Section headings */
.article-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--primary);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.article-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

/* Paragraphs */
.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.article-content p strong {
    color: var(--accent);
    font-weight: 700;
}

/* Lead paragraph (intro) */
.article-lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

/* Lists */
.article-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.article-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* Specs (pill/tag style for chantier articles) */
.article-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
}

.article-specs span {
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

/* Article image (inline images within article body) */
.article-image {
    width: 100%;
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-body-img {
    width: 100%;
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-body-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-body-img figcaption {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-alt);
    text-align: center;
}

/* Highlight box */
.article-highlight {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0;
    border-left: 4px solid var(--accent);
}

.article-highlight p {
    margin-bottom: 0;
}

/* Section card (for VMC-style numbered sections) */
.article-section-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin: 28px 0;
}

.article-section-card h3 {
    margin-top: 0;
    color: var(--accent);
}

/* Summary box */
.article-summary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-radius: var(--radius);
    padding: 28px 32px;
    margin: 40px 0 0;
}

.article-summary h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
}

.article-summary p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .article-content {
        padding: 40px 0 60px;
        padding-top: 120px;
    }

    .article-container {
        padding: 0 16px;
    }

    .article-content h1 {
        margin-bottom: 24px;
    }

    .article-content h2 {
        margin-top: 36px;
    }

    .article-content h3 {
        margin-top: 24px;
    }

    .article-specs {
        gap: 8px;
    }

    .article-specs span {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .article-section-card {
        padding: 20px 20px;
    }

    .article-lead {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding-top: 100px;
    }

    .article-content h1 {
        font-size: 1.6rem;
    }
}
