/* Custom CSS Variables */
:root {
    --primary-blue: #113558;
    --primary-blue-dark: #0D253F;
    --primary-green: #348831;
    --primary-green-light: #2d742b;
    --text-primary: #0D253F;
    --text-secondary: #3D3D3D;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

/* Base Typography */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #cdcdcd;
    color: var(--text-secondary);
}

/* Page Container */
.page-container {
    max-width: 1017px;
    margin: 0 auto;
    background-color: #F8F8F8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}



/* Enhanced Typography */
.article-title {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-blue-dark);
}

.article-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.article-body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    font-size: 1.125rem;
    padding-left: 50px;
    padding-right: 50px;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 0.2rem 0 0.2rem 0.9rem;
    border-left: 4px solid var(--primary-blue);
    color: var(--primary-blue);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.55;
}

.article-body blockquote p {
    margin-bottom: 0;
}

.article-body blockquote strong {
    color: var(--primary-blue-dark);
}

/* Header Styles */
.etp-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
}

.yield-percentage {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Article Styles */
.category-badge {
    color: var(--primary-green);
    box-shadow: none;
    font-size: 1.125rem;
}

.author-avatar {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 0 3px #e8eef5;
}

.author-link {
    color: var(--primary-green-light);
    text-decoration: none;
    font-weight: 500;
}

.author-link:hover {
    text-decoration: underline;
}




/* Sidebar Styles */
.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.awards-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

/* Progress Bar */
.progress-bar {
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-body {
        font-size: 1rem;
        padding: 0;
    }
    
    .sidebar-card {
        margin-bottom: 1.5rem;
    }
}

/* Loading Skeleton */
.loading-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
}

/* Related Articles Cards */
.related-article-card {
    border-radius: 0.5rem;
    overflow: hidden;
}

.related-article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.related-article-content {
    padding: 0;
}

.related-article-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.75rem 0 0.5rem 0;
    color: var(--primary-blue-dark);
}

.related-article-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

.related-article-author {
    font-style: italic;
}

.related-article-share {
    color: var(--primary-green);
    padding: 0.25rem;
    border-radius: 0.25rem;
}

/* Homepage Layout */
.home-main-wrap {
    background: linear-gradient(180deg, #f4f7fb 0%, #f8f8f8 22%, #f8f8f8 100%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    align-items: start;
}

.home-hero-content {
    min-width: 0;
}

.home-lead-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 0.55rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.home-lead-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

.home-lead-body {
    padding: 0.8rem 0 0 0;
}

.home-kicker {
    display: inline-block;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.home-lead-title,
.home-latest-title,
.home-section-featured-title,
.home-section-list-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--primary-blue-dark);
    line-height: 1.2;
}

.home-lead-title {
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.08;
}

.home-lead-title a,
.home-latest-title a,
.home-section-featured-title a,
.home-section-list-title a,
.home-section-more {
    color: inherit;
    text-decoration: none;
}

.home-lead-title a:hover,
.home-latest-title a:hover,
.home-section-featured-title a:hover,
.home-section-list-title a:hover,
.home-section-more:hover {
   text-decoration: none;
}

.home-lead-description,
.home-latest-description,
.home-section-featured-description,
.home-section-list-description {
    color: var(--text-secondary);
    line-height: 1.5;
}

.home-lead-description {
    margin: 0.55rem 0 0 0;
    font-size: 1.04rem;
}

.home-lead-share,
.home-latest-share {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.2rem;
}

.home-latest-list {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.home-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.home-latest-item:last-child {
    border-bottom: none;
}

.home-latest-text {
    flex: 1;
    min-width: 0;
}

.home-latest-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
}

.home-latest-description {
    margin: 0.38rem 0 0 0;
    font-size: 1.02rem;
}

.home-latest-image-link {
    flex-shrink: 0;
}

.home-latest-image {
    width: 210px;
    height: 152px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.home-section {
    margin-bottom: 3.15rem;
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.home-section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: var(--primary-blue-dark);
    margin: 0;
    font-weight: 700;
}

.home-section-more {
    display: inline-flex;
    align-items: center;
    border: 1px solid #b7c6d8;
    border-radius: 0.45rem;
    padding: 0.35rem 0.75rem;
    color: var(--primary-blue);
    font-size: 1em;
    font-weight: 500;
}

.home-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: start;
    border-top: 1px solid var(--border-color);
    padding-top: 1.15rem;
}

.home-section-card {
    padding: 0 0.85rem;
    border-right: 1px solid var(--border-color);
    height: 100%;
}

.home-section-card:first-child {
    padding-left: 0;
}

.home-section-card:last-child {
    border-right: none;
    padding-right: 0;
}

.home-section-card-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

.home-section-card-body {
    padding: 0.85rem 0 0.25rem 0;
}

.home-section-card-title {
    font-size: 20px;
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    line-height: 1.16;
    color: var(--primary-blue-dark);
}

.home-section-card-title a {
    color: inherit;
    text-decoration: none;
}

.home-section-card-title a:hover {
    text-decoration: underline;
}

.home-section-card-description {
    margin: 0.62rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.52;
}

.home-section-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.home-section-card-author {
    color: #747b85;
    font-size: 0.96rem;
}

/* News Section Variant */
.home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.15rem;
    align-items: start;
}


.home-news-featured-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.home-news-featured-body {
    padding-top: 0.85rem;
}

.home-news-featured-title,
.home-news-list-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin: 0;
    line-height: 1.16;
}

.home-news-featured-title {
    font-size: 20px;
}

.home-news-list-title {
    font-size: 20px;
}

.home-news-featured-title a,
.home-news-list-title a {
    color: inherit;
    text-decoration: none;
}

.home-news-featured-title a:hover,
.home-news-list-title a:hover {
    text-decoration: underline;
}

.home-news-featured-footer,
.home-news-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
}

.home-news-author {
    color: #747b85;
    font-size: 0.96rem;
}

.home-news-list {
    padding-left: 1em;
    border-left: 1px solid var(--border-color);
}

.home-news-list-item {
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 0.85rem 0;
    margin-bottom: 0.85rem;
}

.home-news-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-news-ad {
    width: 100%;
}

.home-news-ad-inner {
    background: #f2ecea;
    border: 1px solid #e7ded9;
    border-radius: 0.35rem;
    padding: 1rem;
}

.home-news-ad-brand {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ef5f2f;
    margin-bottom: 0.55rem;
    line-height: 1;
}

.home-news-ad-title {
    color: #30343a;
    font-size: 1.85rem;
    line-height: 1.32;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    margin: 0 0 0.55rem 0;
}

.home-news-ad-copy {
    color: #454b54;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 0.9rem 0;
}

.home-news-ad-bars {
    display: grid;
    grid-template-columns: 60px 1fr 1fr;
    gap: 0.25rem;
}

.home-news-ad-bar {
    height: 6px;
    border-radius: 9999px;
    background: #d7d8dc;
    display: block;
}

.home-news-ad-bar.is-active {
    background: #43a047;
}

/* Tech Section Variant */
.home-tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    align-items: start;
}

.home-tech-list {
    min-width: 0;
}

.home-tech-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 1rem;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-color);
}

.home-tech-item:first-child {
    padding-top: 0.15rem;
}

.home-tech-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-tech-item-text {
    min-width: 0;
}

.home-tech-item-title {
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.home-tech-item-title a {
    color: inherit;
    text-decoration: none;
}

.home-tech-item-title a:hover {
    text-decoration: underline;
}

.home-tech-item-share {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.2rem;
}

.home-tech-item-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.home-tech-ad {
    width: 100%;
}

.home-tech-ad > div {
    max-width: 100%;
}

.home-tech-ad .bg-gray-200 {
    height: 220px;
    padding: 0;
    border-radius: 0.35rem;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .home-main-wrap {
        padding-top: 1.2rem;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-lead-image {
        height: 240px;
    }

    .home-lead-title {
        font-size: 2rem;
    }

    .home-lead-description {
        font-size: 0.98rem;
    }

    .home-latest-item {
        gap: 0.65rem;
    }

    .home-latest-title {
        font-size: 20px;
    }

    .home-latest-description {
        display: none;
    }

    .home-latest-image {
        width: 112px;
        height: 84px;
    }

    .home-section {
        margin-bottom: 2.25rem;
    }

    .home-section-title {
        font-size: 1.6rem;
    }

    .home-section-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0.85rem;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0.85rem;
    }

    .home-news-featured-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .home-news-featured-image {
        height: 208px;
    }

    .home-news-featured-title,
    .home-news-list-title {
        font-size: 20px;
    }

    .home-news-list {
        padding-left: 0;
        margin-bottom: 0.85rem;
    }

    .home-news-ad {
        margin-top: 0.2rem;
    }

    .home-news-ad-brand {
        font-size: 2.2rem;
    }

    .home-tech-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0.85rem;
    }

    .home-tech-item {
        grid-template-columns: minmax(0, 1fr) 160px;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .home-tech-item-title {
        font-size: 20px;
    }

    .home-tech-item-image {
        height: 110px;
    }

    .home-tech-ad {
        margin-top: 0.75rem;
    }

    .home-tech-ad .bg-gray-200 {
        height: 180px;
    }

    .home-section-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.85rem 0;
    }

    .home-section-card:last-child {
        border-bottom: none;
    }

    .home-section-card-image {
        height: 208px;
    }

    .home-section-card-title {
        font-size: 1.6rem;
    }

    .home-section-card-description {
        font-size: 0.95rem;
    }

    .related-article-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0.75rem;
        overflow: hidden;
    }

    .related-article-img {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        border-radius: 0.5rem;
        order: 2;
    }

    .related-article-content {
        flex: 1;
        order: 1;
    }

    .related-article-category {
        display: block;
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
        color: var(--primary-green);
    }

    .related-article-title {
        font-size: 0.95rem;
        margin: 0.25rem 0 0.5rem 0;
        line-height: 1.3;
    }

    .related-article-description {
        display: none;
    }

    .related-article-content > div {
        padding-top: 0;
    }
}


/* Rubrique Layout */
.rubrique-intro {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 42rem;
}

.rubrique-featured {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.rubrique-featured-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.9rem;
}

.rubrique-featured-title,
.rubrique-list-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--primary-blue-dark);
    line-height: 1.15;
}

.rubrique-featured-title {
    font-size: 2rem;
    margin: 0 0 0.55rem 0;
}

.rubrique-featured-description,
.rubrique-list-description {
    color: var(--text-secondary);
    line-height: 1.5;
}

.rubrique-list-wrap {
    display: flex;
    flex-direction: column;
}

.rubrique-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.rubrique-list-item:first-child {
    padding-top: 0;
}

.rubrique-list-text {
    flex: 1;
    min-width: 0;
}

.rubrique-list-category {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
}

.rubrique-list-title {
    font-size: 20px;
    margin: 0 0 0.45rem 0;
}

.rubrique-list-description {
    font-size: 0.98rem;
    margin-bottom: 0.55rem;
}

.rubrique-list-share {
    display: flex;
    justify-content: flex-end;
}

.rubrique-list-image-link {
    flex-shrink: 0;
}

.rubrique-list-image {
    width: 190px;
    height: 135px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.rubrique-topics-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.rubrique-topics-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    text-transform: uppercase;
    margin: 0 0 0.9rem 0;
}

.rubrique-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rubrique-topic-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border: 1px solid #d7dde8;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--primary-blue-dark);
    font-size: 0.8rem;
    text-decoration: none;
}


.rubrique-topic-chip:empty  {
 display:none;
}

/* ===== Floating Social Share Bar ===== */
.floating-share {
    position: fixed;
    left: calc((100vw - 1017px) / 2 - 60px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.floating-share.visible {
    opacity: 1;
    pointer-events: all;
}
.floating-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d1dce8;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.floating-share-btn:hover {
    color: #ffffff;
}
.share-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-facebook:hover { background: #1558c0; border-color: #1558c0; }
.share-x { background: #000000; border-color: #000000; color: #fff; }
.share-x:hover { background: #333333; border-color: #333333; }
.share-linkedin { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-linkedin:hover { background: #084e96; border-color: #084e96; }
.share-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.share-whatsapp:hover { background: #1da851; border-color: #1da851; }
.share-copy { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.share-copy:hover { background: var(--primary-blue-dark, #003380); border-color: var(--primary-blue-dark, #003380); }
.floating-share-tooltip {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue-dark, #003380);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
@media (max-width: 1200px) {
    .floating-share { display: none; }
}
}

.rubrique-topic-chip:hover {
    background: #f6f8fc;
}

.rubrique-pagination-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.rubrique-pagination-wrap .pagination_ancre {
    display: none;
}

.pagination,
.pagination-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-item {
    margin: 0;
}

.pagination a,
.pagination .on,
.pagination strong,
.pagination-item-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    border-radius: 9999px;
    text-decoration: none;
    color: var(--primary-blue-dark);
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .on,
.pagination strong,
.pagination-item-label.on {
    background: var(--primary-blue-dark);
    color: #ffffff;
    font-weight: 700;
}

.pagination a:hover,
.pagination-item-label:hover {
    background: #eef3f8;
}

.pagination-item.tbc .pagination-item-label,
.pagination-item.disabled .pagination-item-label {
    min-width: 20px;
    padding: 0 0.15rem;
    background: transparent;
    color: #7b8794;
}

@media (max-width: 767px) {
    .rubrique-featured-image {
        height: 220px;
    }

    .rubrique-featured-title {
        font-size: 1.7rem;
    }

    .rubrique-list-item {
        gap: 0.75rem;
    }

    .rubrique-list-image {
        width: 120px;
        height: 90px;
    }
}

/* SPIP Summary / Table of Contents */
.article-body .nav-sommaire {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem 0;
}

.article-body .nav-sommaire h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin: 0 0 1rem 0;
}

.article-body .nav-sommaire ul {
    margin: 0;
    padding-left: 1.25rem;
}

.article-body .nav-sommaire li {
    margin-bottom: 0.85rem;
    color: var(--primary-blue-dark);
}

.article-body .nav-sommaire li:last-child {
    margin-bottom: 0;
}

.article-body .nav-sommaire a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.article-body .nav-sommaire a:hover {
    text-decoration: underline;
}

.article-body .nav-sommaire .caps {
    font-variant: normal;
}

/* Article Tables */
.article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 2rem 0;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    font-size: 0.98rem;
}

.article-body table::-webkit-scrollbar {
    height: 8px;
}

.article-body table::-webkit-scrollbar-track {
    background: #EEF8EE;
}

.article-body table::-webkit-scrollbar-thumb {
    background: #BFDDBF;
    border-radius: 9999px;
}

.article-body th,
.article-body td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.article-body th {
    background: #EAF6EA;
    color: var(--primary-blue-dark);
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.article-body tr:nth-child(even) td {
    background: #F5FBF5;
}

.article-body tr:last-child td {
    border-bottom: none;
}

/* Print Styles */
@media print {
    .sidebar-card {
        display: none;
    }
    
    .article-body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
