/* ============================================
   PUBLICATIONS PAGE
   Based on Figma Design (node 4019-18774)
   Complete Implementation with all sections
   ============================================ */

/* ============================================
   HERO BANNER
   ============================================ */

.publications-hero {
    margin: 50px;
    background: linear-gradient(rgba(0, 85, 150, 0.75), rgba(0, 85, 150, 0.3)),
        url("../images/publications-hero-bg.jpg") center/cover no-repeat;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.publications-hero .hero-overlay {
    text-align: center;
    border-radius: 5px;
}

.publications-hero h1 {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.publications-breadcrumb {
    padding: 16px 0;
    background: #fff;
    /* border-bottom: 1px solid #f1f1f1; */
}

.publications-breadcrumb .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.publications-breadcrumb a,
.publications-breadcrumb .current {
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.publications-breadcrumb a {
    color: #525252;
    text-decoration: none;
    transition: color 0.2s ease;
}

.publications-breadcrumb a:hover {
    color: #0065B0;
}

.publications-breadcrumb .current {
    color: #0065B0;
}

.publications-breadcrumb .separator {
    color: #525252;
    font-size: 10px;
}

.badge-text {
    align-items: center;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.publications-main {
    background: #fff;
}

.publications-container {
    /* max-width: 1440px; */
    margin: var(--section-margin);
    /* padding: 48px 100px 80px; */
}

/* ============================================
   COMMON SECTION STYLES
   ============================================ */

.publication-section {
    text-align: center;
    margin-bottom: 80px;
}

.publication-section:last-child {
    margin-bottom: 0;
}

/* Section Badge - Styles moved to index.css */

/* Section Titles */
.publication-section h2 {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #292929;
    margin: 0 0 20px 0;
}

/* Section Intro - Styles moved to index.css */

/* Section CTA */
.section-cta {
    margin-top: 40px;
    text-align: center;
}

/* Link Voir Plus - Styles moved to index.css */

/* ============================================
   SECTION 1: SÛRETÉ INFO (REVUES)
   ============================================ */

.revues-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.revue-card {
    background: #F1F1F1;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.revue-image {
    width: 100%;
    aspect-ratio: 5/6;
    overflow: hidden;
    border-radius: 12px;
}

.revue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revue-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px 4px;
}

.revue-title {
    font-family: 'Sansation', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #292929;
}

/* Lien Image Cliquable */
.revue-image-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.revue-image-link:hover {
    transform: scale(1.02);
}

.revue-image-link:hover .revue-image img {
    transform: scale(1.05);
}

.revue-image img {
    transition: transform 0.4s ease;
}

/* Lien Titre Cliquable */
.revue-title-link {
    font-family: 'Sansation', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #292929;
    text-decoration: none;
    transition: color 0.2s ease;
}

.revue-title-link:hover {
    color: #0065B0;
}

.btn-download-revue {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0065B0;
    text-decoration: none;
}

.btn-download-revue i {
    font-size: 16px;
}

/* ============================================
   SECTION 2: RAPPORTS OFFICIELS (TABLE LAYOUT)
   ============================================ */

.rapports-section {
    text-align: left;
}


.section-header-center {
    text-align: center;
    margin-bottom: 32px;
}

.section-header-center .section-badge {
    justify-content: center;
}

.badges {
    display: flex;
    align-items: center;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 0.8rem;
    margin-bottom: 10px;
    justify-content: center;

}

.section-header-center h2 {
    text-align: center;
}

.rapports-table {
    width: 100%;
}

.rapport-row {
    display: grid;
    grid-template-columns: 60px 200px 1fr 60px;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.rapport-row:first-child {
    border-top: 1px solid #e5e5e5;
}

.rapport-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0065B0;
}

.rapport-icon svg {
    stroke: #0065B0;
}

.rapport-info {
    text-align: left;
}

.rapport-info h3 {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    margin: 0 0 4px 0;
}

.rapport-date {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.rapport-description {
    text-align: left;
}

.rapport-description p {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.btn-download {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0065B0;
    color: #0065B0;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-download:hover {
    background: #004a85;
    color: #fff;
    border: 1px solid #fff;
}

.btn-download svg {
    stroke: #fff;
}

.rapports-section .section-cta {
    text-align: center;
}

/* ============================================
   SECTION 3: MÉDIATHÈQUE
   ============================================ */

.mediatheque-grid {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.mediatheque-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   SECTION 4: VIDÉOTHÈQUE
   ============================================ */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button svg {
    color: #0065B0;
    fill: #fff;
    margin-left: 4px;
}

.video-item:hover .play-button {
    background: #0065B0;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item:hover .play-button svg {
    fill: #0065B0;
    color: #fff;
}

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

@media (max-width: 992px) {
    .publications-container {
        padding: 0;
    }

    .publications-breadcrumb .container {
        padding: 0;
    }

    .revues-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rapport-row {
        grid-template-columns: 50px 180px 1fr 50px;
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .publications-hero h1 {
        font-size: 42px;
    }

    .publications-container {
        padding: 32px 40px 60px;
    }

    .publications-breadcrumb .container {
        padding: 0 40px;
    }

    .publication-section h2 {
        font-size: 36px;
    }

    .revues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rapport-row {
        grid-template-columns: 50px 1fr 50px;
    }

    .rapport-description {
        display: none;
    }

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

@media (max-width: 768px) {
    .publications-hero {
        height: 200px;
        margin: 0;
        border-radius: 0;
    }

    .publications-hero h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .publications-container {
        padding: 0px;
    }

    .publications-breadcrumb .container {
        padding: 0 20px;
    }

    .publication-section {
        margin-bottom: 60px;
    }

    .publication-section h2 {
        font-size: 28px;
    }

    .section-intro {
        font-size: 16px;
    }

    .revues-grid {
        grid-template-columns: 1fr;
        /* max-width: 350px; */
        margin-left: auto;
        margin-right: auto;
    }

    .rapport-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .rapport-icon {
        display: none;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .mediatheque-grid {
        flex-direction: column;
    }

    .play-button {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .publications-hero h1 {
        font-size: 24px;
    }

    .publication-section h2 {
        font-size: 24px;
    }

    .publication-section {
        margin-bottom: 48px;
    }

    .revue-title {
        font-size: 16px;
    }

    .rapport-info h3 {
        font-size: 14px;
    }


}