/* ============================================
   ACTUALITE PAGE
   ============================================ */

.actualite-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(76, 0, 130, 0.277) 0%, rgba(148, 112, 219, 0.178) 100%),
                url('https://media.istockphoto.com/id/1355800658/photo/business-conference.jpg?s=612x612&w=0&k=20&c=iTT8Odg7bW5wDug8DDFQ1GBp_ahzHJbzRCmp6g-BA-o=');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 0, 130, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.7;
}

/* Stats Section */
.actualite-stats {
    padding: 80px 0;
    background: var(--background-light);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.stat-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}
/* Filters */
.actualite-filters {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
}

.filters-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(75, 0, 130, 0.3);
}

/* Content Section */
.actualite-content {
    padding: 80px 0;
}

.actualites_kacel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.actualite-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.actualite-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.2);
}

.actualite-image {
    position: relative;
    height: 250px;
    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.1);
}

.actualite-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.badge-blue {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.badge-green {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.badge-gray {
    background: linear-gradient(135deg, #7f8c8d 0%, #626567 100%);
}

.badge-purple {
    background: var(--gradient-primary);
}

.actualite-content-body {
    padding: 30px;
}

.actualite-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-date,
.meta-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.meta-date i,
.meta-category i {
    color: var(--secondary-color);
}

.actualite-content-body h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 60px;
}

.actualite-content-body > p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.actualite-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--background-light);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.actualite-location i {
    color: var(--secondary-color);
    font-size: 16px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
}

/* No Content */
.no-content {
    text-align: center;
    padding: 100px 40px;
    background: var(--white);
    border-radius: 20px;
}

.no-content i {
    font-size: 80px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.no-content h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.no-content p {
    font-size: 16px;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-large {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--background-light);
    flex-wrap: wrap;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-meta-item i {
    font-size: 18px;
    color: var(--secondary-color);
}

.modal-content-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 30px;
    white-space: pre-wrap;
}

.modal-medias {
    margin-top: 40px;
}

.modal-medias h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.medias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.media-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--white);
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.media-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-embed {
    width: 100%;
    min-height: 250px;
    border-radius: 15px;
    border: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

   @media (max-width: 1024px) {
.actualite-hero {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

.actualite-hero {
    height: 500px;
} 

.hero-title {
    font-size: 36px;
}

.hero-subtitle {
    font-size: 18px;
}
}

@media (max-width: 768px) {
    .actualite-stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filters-wrapper {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .actualites_kacel-grid {
        grid-template-columns: 1fr;
    }

    .modal-header-img {
        height: 250px;
    }

    .modal-body {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-meta {
        flex-direction: column;
        gap: 15px;
    }

    .medias-grid {
        grid-template-columns: 1fr;
    }
    
    .media-item img {
        height: 200px;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
}

@media (max-width: 480px) {
    .actualite-card {
        margin: 0 10px;
    }

    .actualite-content-body {
        padding: 20px;
    }

    .actualite-content-body h3 {
        font-size: 18px;
        min-height: auto;
    }
    
    .media-item img {
        height: 180px;
    }
}