/* ACTU INNOVATION - STRICT BLACK & WHITE THEME */

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #e5e7eb;
    --hover-border-color: #000000;
    --font-main: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* NAVIGATION - Inherited from style.css */


/* MAIN LAYOUT */
main {
    max-width: 1400px;
    margin: 180px auto 2rem;
    padding: 0 2rem;
}

.page-header {
    margin-bottom: 3rem;
    border-bottom: 4px solid black;
    padding-bottom: 1rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.last-updated {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-family: monospace;
}

/* NEWSPAPER GRID LAYOUT */
.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Columns */
.column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ARTICLE CARDS */
.article-card {
    border: 1px solid var(--border-color);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
}

.article-card:hover {
    border-color: var(--hover-border-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-image {
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.article-card:hover .article-image {
    filter: grayscale(0%);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
}

.article-title {
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* COLUMN SPECIFIC STYLES */

/* Left Column (Medium) */
.col-left .article-image {
    height: 220px;
}

.col-left .article-title {
    font-size: 1.5rem;
}

/* Center Column (Large) */
.col-center .article-image {
    height: 320px;
}

.col-center .article-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.col-center .article-excerpt {
    font-size: 1.1rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* Right Column (Small/Briefs) */
.col-right .article-card {
    border-bottom: 1px solid var(--border-color);
    border-top: none;
    border-left: none;
    border-right: none;
    padding-bottom: 1rem;
}

.col-right .article-card:hover {
    border: 1px solid var(--hover-border-color);
}

.col-right .article-image {
    height: 150px;
    margin-bottom: 1rem;
}

.col-right .article-title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.col-right .article-excerpt {
    display: none;
}

.col-right .article-content {
    padding: 1rem;
}


/* FOOTER */
.app-footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

/* ─── SKELETON LOADING ──────────────────────────────────────────────────────── */
@keyframes skeleton-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.skeleton {
    pointer-events: none;
    cursor: default;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden;
}

.skeleton-img {
    width: 100%;
    border-radius: 0;
}

/* Hauteurs skeleton calquées sur les vraies images */
.skeleton-large  .skeleton-img { height: 320px; }
.skeleton-medium .skeleton-img { height: 220px; }
.skeleton-small  .skeleton-img { height: 150px; }

.skeleton-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skeleton-line {
    height: 14px;
    border-radius: 4px;
    width: 100%;
}

.skeleton-line.short  { width: 40%; height: 10px; }
.skeleton-line.medium { width: 75%; }

/* Animation shimmer sur tous les éléments skeleton */
.skeleton .skeleton-img,
.skeleton .skeleton-line {
    background: linear-gradient(
        90deg,
        #ebebeb 25%,
        #f5f5f5 37%,
        #ebebeb 63%
    );
    background-size: 1200px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 2fr 1fr;
    }

    .col-left {
        display: none;
        grid-column: 1 / 2;
    }

    .col-center {
        grid-column: 1 / 2;
    }

    .col-right {
        grid-column: 2 / 3;
    }
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .col-left,
    .col-center,
    .col-right {
        grid-column: 1 / -1;
    }

    .col-right .article-excerpt {
        display: block;
    }

    .col-right .article-image {
        height: 200px;
    }
}