/**
 * Styles pour la page des actualités
 * Cathédrale Saint-Augustin - Yamoussoukro
 * Utilise les couleurs d'origine du site
 */

/* Variables CSS */
:root {
    --primary-blue: #1a4b8c;
    --secondary-gold: #ffc72c;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 15px;
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    background-attachment: fixed;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* Croix en arrière-plan - VISIBLE EN BLEU */
body::after {
    content: '✟';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 800px;
    color: rgba(26, 75, 140, 0.08) !important;
    z-index: 0;
    pointer-events: none;
    font-weight: 300;
}

/* Pas d'effets de gradient radial */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* S'assurer que le contenu est au-dessus de la croix */
.news-header,
.news-timeline,
.videos-section,
.newsletter,
section,
.container {
    position: relative;
    z-index: 1;
}

/* Pas d'espace au-dessus de la navbar */
body > *:first-child,
body > nav:first-child,
body > .navbar:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

nav.navbar,
.navbar {
    position: fixed !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    z-index: 1200;
}

/* Header Actualités */
.news-header {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.95), rgba(100, 181, 246, 0.95));
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
    backdrop-filter: blur(10px);
    border-radius: 0 0 30px 30px;
    box-shadow: var(--shadow-lg);
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 199, 44, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1.2s ease;
}

.header-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.header-decoration {
    margin-top: 2rem;
    animation: pulse 3s ease-in-out infinite;
}

.header-decoration i {
    font-size: 3rem;
    color: var(--secondary-gold);
    filter: drop-shadow(0 0 10px rgba(255, 199, 44, 0.5));
}

.header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f8f9fa'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-header h2 i {
    color: var(--secondary-gold);
    margin-right: 1rem;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline Container */
.news-timeline {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-gold));
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), var(--shadow-md);
    animation: pulse 3s ease-in-out infinite;
}

.timeline-marker i {
    color: var(--white);
    font-size: 1.5rem;
}

/* Timeline Content */
.timeline-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-content:not(.reverse) {
    flex-direction: row;
    padding-right: 50%;
    padding-left: 2rem;
}

.timeline-content.reverse {
    flex-direction: row-reverse;
    padding-left: 50%;
    padding-right: 2rem;
}

.timeline-date {
    flex-shrink: 0;
    width: 100px;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.1), rgba(255, 199, 44, 0.1));
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.date-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 1rem;
    color: var(--secondary-gold);
    font-weight: 600;
    margin: 0.5rem 0;
}

.date-year {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

/* Timeline Card */
.timeline-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(26, 75, 140, 0.1);
    position: relative;
}

/* Bordure animée au survol */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold), var(--primary-blue));
    background-size: 200% 100%;
    opacity: 0;
    transition: var(--transition);
    animation: shimmer 3s linear infinite;
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 75, 140, 0.25);
    border-color: var(--primary-blue);
}

/* Timeline Image */
.timeline-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.05), rgba(255, 199, 44, 0.05));
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 75, 140, 0.1) 0%,
        transparent 50%,
        rgba(255, 199, 44, 0.1) 100%
    );
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.timeline-card:hover .timeline-image::before {
    opacity: 1;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.95);
}

.timeline-card:hover .timeline-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* Badge "Nouveau" pour les actualités récentes */
.timeline-card.new::after {
    content: 'NOUVEAU';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

/* Timeline Info */
.timeline-info {
    padding: 2.5rem;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(248, 249, 250, 0.5) 100%
    );
}

.timeline-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.timeline-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold));
    transition: var(--transition);
}

.timeline-card:hover .timeline-info h3::after {
    width: 100%;
}

.timeline-card:hover .timeline-info h3 {
    color: var(--secondary-gold);
}

.timeline-info p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    font-size: 1.05rem;
}

.timeline-info p.expanded {
    max-height: none;
}

.timeline-info p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(248, 249, 250, 1));
    pointer-events: none;
    opacity: 1;
    transition: var(--transition);
}

.timeline-info p.expanded::after {
    opacity: 0;
}

/* Timeline Meta */
.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(26, 75, 140, 0.05),
        rgba(255, 199, 44, 0.05)
    );
    border: 1px solid rgba(26, 75, 140, 0.1);
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    transition: var(--transition);
}

.timeline-meta span:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 75, 140, 0.15);
}

.timeline-meta i {
    color: var(--secondary-gold);
    font-size: 1.1rem;
}

/* Timeline Button */
.timeline-btn {
    background: linear-gradient(135deg, var(--primary-blue), #64b5f6);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 75, 140, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.timeline-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.timeline-btn:hover::before {
    width: 300px;
    height: 300px;
}

.timeline-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 75, 140, 0.4);
    background: linear-gradient(135deg, #64b5f6, var(--secondary-gold));
}

.timeline-btn i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.timeline-btn:hover i {
    transform: translateX(5px);
}

/* Timeline Date */
.timeline-date {
    flex-shrink: 0;
    width: 110px;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.95), rgba(100, 181, 246, 0.95));
    backdrop-filter: blur(10px);
    padding: 1.8rem 1.2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(26, 75, 140, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.timeline-date::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.date-day {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.date-month {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-gold);
    font-weight: 700;
    margin: 0.6rem 0;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.date-year {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Section des vidéos */
.videos-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-thumbnail-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 199, 44, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 199, 44, 0.4);
    transition: var(--transition);
}

.play-button i {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 4px;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-card-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-date i,
.video-type i {
    color: var(--secondary-gold);
    margin-right: 0.3rem;
}

.video-type {
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.1), rgba(255, 199, 44, 0.1));
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.05), rgba(255, 199, 44, 0.05));
    backdrop-filter: blur(10px);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.newsletter-content h2 i {
    color: var(--secondary-gold);
    margin-right: 0.5rem;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(26, 75, 140, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

.newsletter-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-gold));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-desabonner {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.btn-annuler {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.desabonnement-link {
    margin-top: 1.5rem;
}

.desabonnement-link a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.desabonnement-link a:hover {
    color: var(--primary-blue);
}

.newsletter-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.newsletter-note i {
    color: var(--secondary-gold);
    margin-right: 0.3rem;
}

/* No Content */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: var(--shadow-md);
}

.no-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Modal Actualité */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
    padding: 1rem;
}

.news-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1;
    cursor: pointer;
}

.news-modal-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.98),
        rgba(248, 249, 250, 0.98)
    );
    backdrop-filter: blur(20px);
    border-radius: 25px;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(26, 75, 140, 0.1);
    animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
    to {
        opacity: 0;
        transform: translateY(-50px) scale(0.95) rotateX(10deg);
    }
}

.news-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 
        0 6px 20px rgba(238, 90, 111, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.news-modal-close:hover {
    transform: rotate(90deg) scale(1.15);
    box-shadow: 
        0 8px 30px rgba(238, 90, 111, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ee5a6f, #c92a2a);
}

.news-modal-close:active {
    transform: rotate(90deg) scale(1.05);
}

.news-modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #4a90e2 50%, #64b5f6 100%);
    padding: 4rem 2.5rem 3rem;
    text-align: center;
    border-radius: 25px 25px 0 0;
    position: relative;
    overflow: hidden;
}

.news-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 199, 44, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.news-modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.news-modal-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.news-modal-icon i {
    font-size: 3rem;
    color: var(--secondary-gold);
    filter: drop-shadow(0 0 15px rgba(255, 199, 44, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.news-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    line-height: 1.3;
}

.news-modal-date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.news-modal-date i {
    color: var(--secondary-gold);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(255, 199, 44, 0.6));
}

.news-modal-body {
    padding: 0;
}

.news-modal-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.news-modal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 75, 140, 0.1) 0%,
        transparent 50%,
        rgba(255, 199, 44, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.news-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(248, 249, 250, 0.98));
    z-index: 2;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05);
    transition: var(--transition);
}

.news-modal-content:hover .news-modal-image img {
    transform: scale(1.03);
}

.news-modal-info {
    padding: 3rem 3rem 2.5rem;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(248, 249, 250, 0.5) 100%
    );
}

.news-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.8rem 2rem;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(26, 75, 140, 0.08),
        rgba(255, 199, 44, 0.08)
    );
    border: 2px solid rgba(26, 75, 140, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.news-modal-meta span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-modal-meta span:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 75, 140, 0.15);
}

.news-modal-meta i {
    color: var(--secondary-gold);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 4px rgba(255, 199, 44, 0.3));
}

.news-modal-content-text {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 2;
    text-align: justify;
    padding: 0 0.5rem;
}

.news-modal-content-text p {
    margin-bottom: 1.8rem;
    text-indent: 2rem;
}

.news-modal-content-text p:first-letter {
    font-size: 3rem;
    font-weight: 700;
    float: left;
    line-height: 0.9;
    margin: 0.1rem 0.5rem 0 0;
    color: var(--primary-blue);
    font-family: 'Playfair Display', serif;
}

/* Scrollbar personnalisée pour le modal */
.news-modal-content::-webkit-scrollbar {
    width: 12px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: linear-gradient(
        to bottom,
        rgba(26, 75, 140, 0.05),
        rgba(255, 199, 44, 0.05)
    );
    border-radius: 10px;
    margin: 10px;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-gold));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.news-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d2447, #cc9f24);
}

/* Responsive Modal */
@media (max-width: 991px) {
    .news-header {
        padding: 7rem 2rem 3rem;
        margin-top: 8rem;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Timeline adaptée pour mobile */
    .timeline-container::before {
        left: 30px;
        transform: none;
    }

    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
    }

    .timeline-marker i {
        font-size: 1.3rem;
    }

    /* Tous les contenus alignés à droite de la ligne */
    .timeline-content:not(.reverse),
    .timeline-content.reverse {
        flex-direction: column !important;
        padding-left: 100px !important;
        padding-right: 2rem !important;
    }

    .timeline-date {
        width: auto;
        margin-bottom: 1rem;
    }

    .timeline-card {
        border-radius: 12px;
    }

    .timeline-image {
        height: 240px;
    }

    .timeline-info {
        padding: 2rem;
    }

    .timeline-info h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .news-header {
        padding: 6rem 1.5rem 2.5rem;
        margin-top: 7rem;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Timeline encore plus compacte */
    .timeline-container::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
        width: 40px;
        height: 40px;
    }

    .timeline-marker i {
        font-size: 1.1rem;
    }

    .timeline-content:not(.reverse),
    .timeline-content.reverse {
        padding-left: 70px !important;
        padding-right: 1rem !important;
    }

    .timeline-item {
        margin-bottom: 3rem;
    }

    .timeline-card {
        border-radius: 10px;
    }

    .timeline-image {
        height: 220px;
    }

    .timeline-info {
        padding: 1.8rem;
    }

    .timeline-info h3 {
        font-size: 1.5rem;
    }

    .timeline-info p {
        max-height: 120px;
        font-size: 1rem;
    }

    .timeline-meta {
        gap: 1rem;
        padding: 1rem;
    }

    .timeline-meta span {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .timeline-date {
        width: 90px;
        padding: 1.3rem 0.8rem;
    }

    .date-day {
        font-size: 2.2rem;
    }

    .date-month {
        font-size: 1rem;
    }

    .timeline-btn {
        padding: 0.8rem 1.8rem;
        width: 100%;
        justify-content: center;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        padding: 2rem 1.5rem;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
    }

    .form-group {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .news-header {
        padding: 5rem 1rem 2rem;
        margin-top: 6rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Timeline minimaliste pour petit écran */
    .timeline-container {
        padding: 0;
    }

    .timeline-container::before {
        left: 15px;
        width: 2px;
    }

    .timeline-marker {
        left: 15px;
        width: 35px;
        height: 35px;
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9), var(--shadow-sm);
    }

    .timeline-marker i {
        font-size: 1rem;
    }

    .timeline-content:not(.reverse),
    .timeline-content.reverse {
        padding-left: 60px !important;
        padding-right: 0.5rem !important;
    }

    .timeline-item {
        margin-bottom: 3rem;
    }

    .timeline-card {
        border-radius: 8px;
    }

    .timeline-image {
        height: 200px;
    }

    .timeline-info {
        padding: 1.5rem;
    }

    .timeline-info h3 {
        font-size: 1.3rem;
    }

    .timeline-info p {
        max-height: 100px;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .timeline-meta span {
        width: 100%;
        justify-content: center;
    }

    .timeline-date {
        width: 80px;
        padding: 1rem 0.6rem;
    }

    .date-day {
        font-size: 2rem;
    }

    .date-month {
        font-size: 0.95rem;
        margin: 0.4rem 0;
    }

    .date-year {
        font-size: 0.9rem;
    }

    .timeline-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .timeline-card.new::after {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .newsletter-content {
        padding: 1.5rem 1rem;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .news-header {
        padding: 4.5rem 1rem 1.5rem;
        margin-top: 5.5rem;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    /* Timeline ultra-compacte */
    .timeline-container::before {
        left: 12px;
    }

    .timeline-marker {
        left: 12px;
        width: 30px;
        height: 30px;
    }

    .timeline-marker i {
        font-size: 0.9rem;
    }

    .timeline-content:not(.reverse),
    .timeline-content.reverse {
        padding-left: 50px !important;
        padding-right: 0.3rem !important;
    }

    .timeline-image {
        height: 180px;
    }

    .timeline-info {
        padding: 1.2rem;
    }

    .timeline-info h3 {
        font-size: 1.2rem;
    }

    .timeline-info p {
        max-height: 80px;
        font-size: 0.9rem;
    }

    .timeline-date {
        width: 75px;
        padding: 0.8rem 0.5rem;
    }

    .date-day {
        font-size: 1.8rem;
    }

    .date-month {
        font-size: 0.9rem;
    }

    .date-year {
        font-size: 0.85rem;
    }

    .timeline-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .read-more-btn {
        font-size: 0.85rem;
    }
}

/* ===========================
   MODAL VIDÉO
=========================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.video-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.video-modal.hidden .video-modal-content {
    transform: scale(0.8);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.video-modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), #2c5ba0);
    color: var(--white);
    text-align: center;
}

.video-modal-icon {
    margin-bottom: 0.5rem;
}

.video-modal-icon i {
    font-size: 2rem;
    color: var(--secondary-gold);
}

.video-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-modal-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.video-modal-body {
    padding: 0;
}

.video-player-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background: #000;
}

.video-player-container iframe,
.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Curseur pointer pour les vignettes vidéo */
.video-thumbnail-link {
    cursor: pointer;
}

/* Responsive pour la modal vidéo */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .video-modal-title {
        font-size: 1.4rem;
    }
    
    .video-modal-header {
        padding: 1rem;
    }
}

