/* =========================================
   REVUE DETAIL PAGE STYLES
   Based on Figma Design - Pixel Perfect
   ========================================= */

/* ============================================
   HEADER SECTION
   ============================================ */

.revue-detail-header {
    padding: 40px 0 30px;
    background: #fff;
    text-align: center;
}

.revue-detail-header .container {
    flex-direction: column;
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

.revue-date {
    display: block;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0065B0;
    margin-bottom: 12px;
}

.revue-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.title-line {
    flex: 1;
    max-width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0065B0, transparent);
}

.revue-main-title {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #292929;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.revue-detail-content {
    padding: 40px 0 80px;
    background: #fff;
}

.revue-detail-content .container {
    flex-direction: column;
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

.revue-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

/* Cover Image */
.revue-cover-wrapper {
    position: relative;
}

.revue-cover-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow removed as requested */
    object-fit: cover;
}

/* Description & Info */
.revue-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.revue-description {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #525252;
}

.revue-description p {
    margin: 0 0 16px 0;
}

.revue-description p:last-child {
    margin-bottom: 0;
}

/* CTA Buttons */
.revue-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-lire {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    /* Yellow background for Lire button */
    background: #FFC72C;
    color: #292929!important;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-lire:hover {
    background: #e6b328;
    color: white!important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 101, 176, 0.3);
}

.btn-lire svg {
    transition: transform 0.3s ease;
}

.btn-lire:hover svg {
    transform: translateX(4px);
}

.btn-telecharger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: #0065B0!important;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #0065B0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-telecharger:hover {
    background: #0065B0;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 101, 176, 0.3);
}

.btn-telecharger svg {
    transition: transform 0.3s ease;
}

.btn-telecharger:hover svg {
    transform: translate(2px, -2px);
}

/* ============================================
   RELATED REVIEWS SECTION
   ============================================ */

.related-revues-section {
    padding: 80px 0;
    background: #F5F9FC;
}

.related-revues-section .container {
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    text-align: center;
}

/* Section Badge */
.related-revues-section .section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.related-revues-section .section-badge .dot {
    width: 12px;
    height: 12px;
    background: #0065B0;
    border-radius: 50%;
}

.related-revues-section .section-badge .badge-text {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0065B0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Title */
.related-revues-section .section-title {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #292929;
    margin: 0 0 48px 0;
}

/* Related Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

/* Related Card */
.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.related-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 14px;
    background: #0065B0;
    color: #fff;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.related-card-content {
    padding: 20px;
}

.related-date {
    display: block;
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.related-title {
    font-family: 'Sansation', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #292929;
    margin: 0;
    line-height: 1.4;
}

.related-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-title a:hover {
    color: #0065B0;
}

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

@media (max-width: 992px) {

    .revue-detail-header .container,
    .revue-detail-content .container,
    .related-revues-section .container {
        padding: 0 60px;
    }

    .revue-content-grid {
        gap: 40px;
    }

    .revue-main-title {
        font-size: 36px;
    }

    .related-revues-section .section-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {

    .revue-detail-header .container,
    .revue-detail-content .container,
    .related-revues-section .container {
        padding: 0 40px;
    }

    .revue-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .revue-cover-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .revue-main-title {
        font-size: 32px;
    }

    .title-line {
        max-width: 150px;
    }

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

    .related-revues-section .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .revue-detail-header {
        padding: 30px 0 20px;
    }

    .revue-detail-header .container,
    .revue-detail-content .container,
    .related-revues-section .container {
        padding: 0 20px;
    }

    .revue-title-wrapper {
        gap: 16px;
    }

    .title-line {
        max-width: 80px;
    }

    .revue-main-title {
        font-size: 24px;
        white-space: normal;
    }

    .revue-detail-content {
        padding: 30px 0 60px;
    }

    .revue-description {
        font-size: 15px;
    }

    .revue-cta-buttons {
        flex-direction: column;
    }

    .btn-lire,
    .btn-telecharger {
        width: 100%;
        justify-content: center;
    }

    .related-revues-section {
        padding: 60px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .related-revues-section .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .revue-main-title {
        font-size: 20px;
    }

    .title-line {
        display: none;
    }

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