/**
 * Styles specifiques - Pages Actualités
 * 1000 Mains et Merveilles
 */

/* ========== SECTION À LA UNE ========== */
.actualites-une {
    padding: 80px 0;
    background: #faf8f5;
}

.une-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.une-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(43, 81, 159, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.une-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 81, 159, 0.12);
}

.une-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.une-card-large .une-image {
    height: 100%;
    min-height: 300px;
}

.une-card-large .une-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.une-card-large h3 {
    font-size: 28px;
}

.une-image {
    height: 200px;
    overflow: hidden;
}

.une-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.une-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f7f8 0%, #e8f0ff 100%);
}

.une-content {
    padding: 25px 30px;
}

.une-date {
    display: inline-block;
    font-size: 13px;
    color: #f17f0a;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.une-content h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.une-content p {
    color: #8b7e74;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.une-link {
    color: #20b4b7;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.une-link:hover {
    color: #2b519f;
}

/* ========== LISTE ACTUALITÉS ========== */
.actualites-liste {
    padding: 80px 0;
    background: linear-gradient(180deg, #faf8f5 0%, #e0f7f8 100%);
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.actualite-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(43, 81, 159, 0.08);
    transition: all 0.3s ease;
}

.actualite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(43, 81, 159, 0.12);
}

.actualite-image {
    height: 160px;
    overflow: hidden;
}

.actualite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.actualite-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5e6d3 0%, #faf8f5 100%);
}

.actualite-placeholder-size {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 20px;
}

.actualite-content {
    padding: 20px;
}

.actualite-date {
    display: inline-block;
    font-size: 12px;
    color: #f17f0a;
    font-weight: 600;
    margin-bottom: 8px;
}

.actualite-content h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 10px;
    line-height: 1.3;
}

.actualite-content p {
    color: #8b7e74;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.actualite-link {
    color: #20b4b7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.actualite-link:hover {
    color: #2b519f;
}

/* ========== MESSAGE VIDE ========== */
.actualites-vide {
    padding: 100px 0;
    background: #faf8f5;
}

.vide-message {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.vide-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.vide-message h2 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 28px;
    color: #2b519f;
    margin-bottom: 15px;
}

.vide-message p {
    color: #8b7e74;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ========== PAGE ARTICLE (DÉTAIL) ========== */
.article-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #2b519f 0%, #20b4b7 100%);
    color: white;
}

.article-hero-content {
    max-width: 800px;
}

.article-back {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.article-back:hover {
    color: white;
}

.article-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-hero h1 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-excerpt {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    opacity: 0.8;
}

/* ========== CONTENU ARTICLE ========== */
.article-section {
    padding: 60px 0 80px;
    background: #faf8f5;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.article-main {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(43, 81, 159, 0.08);
}

.article-featured-image {
    margin: -40px -40px 30px -40px;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}

.article-body p {
    margin-bottom: 20px;
}

.article-share {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e8e4e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    color: #8b7e74;
    font-size: 14px;
}

.share-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #0d6efd;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #0dcaf0;
}

/* ========== SIDEBAR ========== */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-block {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(43, 81, 159, 0.08);
    margin-bottom: 25px;
}

.sidebar-block h3 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2b519f;
    margin-bottom: 20px;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.sidebar-news-item:hover {
    background: #faf8f5;
}

.sidebar-news-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-news-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f7f8 0%, #e8f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.sidebar-news-date {
    display: block;
    font-size: 11px;
    color: #8b7e74;
    margin-bottom: 4px;
}

.sidebar-news-item h4 {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2b519f;
    line-height: 1.3;
}

.sidebar-cta {
    background: linear-gradient(135deg, #2b519f 0%, #20b4b7 100%);
    color: white;
    text-align: center;
}

.sidebar-cta h3 {
    color: white;
}

.sidebar-cta p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-cta .btn-cta-final {
    background: white;
    color: #2b519f;
}

.sidebar-cta .btn-cta-final:hover {
    background: #faf8f5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .une-card-large {
        grid-template-columns: 1fr;
    }

    .une-card-large .une-image {
        min-height: 250px;
    }

    .actualites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .actualites-une,
    .actualites-liste {
        padding: 60px 0;
    }

    .une-card-large h3 {
        font-size: 24px;
    }

    .article-hero {
        padding: 100px 0 40px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .article-main {
        padding: 25px;
    }

    .article-featured-image {
        margin: -25px -25px 25px -25px;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

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

    .une-content {
        padding: 20px;
    }

    .une-content h3 {
        font-size: 20px;
    }
}
