/* --- VARIABLES --- */
:root {
    --primary-green: #9CC775;
    --primary-orange: #f7941d;
    --primary-brand: #235292;
    --text-brand: #235292;
    --dark-blue: #020810;
    --card-bg: #0a111a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --font-main: 'Sora', sans-serif;
    --font-tech: 'Good Times', sans-serif;
}

.news-details-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 100px 0;
}

.news-details-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Titre principal */
.news-title {
    font-family: var(--font-tech);
    color: var(--text-white);
    font-size: 44px;
    margin: 0 0 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    width: 100%;
}

/* Info Bar (Date, Type, Share) */
.news-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.news-info-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.news-info-item .label {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.meta-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-share .label {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.share-icon {
    color: var(--primary-green);
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.share-icon:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Image principale */
.news-image-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 40px auto;
    height: 350px;
    overflow: hidden;
}

.news-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contenu texte */
.news-content {
    max-width: 1240px;
    margin: 0 auto;
}

.news-text {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Citation */
/* Citation */
.news-quote {
    margin: 40px auto;
    padding: 30px;
    padding-left: 50px;
    /* Plus d'espace à gauche pour la bordure */
    position: relative;
    /* Pour positionner la bordure */
}

.news-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    /* Commence à 30px du haut */
    bottom: 30px;
    /* S'arrête à 30px du bas */
    width: 4px;
    background-color: var(--primary-green);
}

.quote-text {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 24px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.quote-author {
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    padding-top: 20px;
}

/* Image intégrée dans le texte */
.news-inline-image {
    width: 100%;
    margin: 40px 0;
}

.news-inline-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section de texte */
.news-text-section {
    margin-top: 40px;
}

/* Pour les paragraphes supplémentaires */
.news-content-section {
    margin-bottom: 60px;
}

/* Section Other News */
.other-news-section {
    margin-top: 80px;
    padding: 30px 0;
}

.other-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.other-news-title {
    font-family: var(--font-tech);
    color: var(--text-white);
    font-size: 32px;
    margin: 0;
    text-transform: uppercase;
}

.view-all-link {
    color: var(--primary-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--text-white);
}

/* Grid pour les cartes d'actualités */
.other-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}