/* ==========================================================================
   DESIGN SYSTEM OFFICIAL STATE PORTAL - ASSEMBLEE PROVINCIALE DU TANGANYIKA
   Inspiré des standards visuels des portails républicains de la RDC (La Primature / Assemblée Nationale)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
    --primary-navy: #1B365D;      /* Deep Royal Blue Primature style */
    --primary-dark: #0F233F;      /* Darker shade for footers & contrast */
    --primary-blue: #2563EB;
    --gold-accent: #EAB308;       /* République Yellow/Gold */
    --gold-hover: #CA8A04;
    --crimson: #CE1126;          /* True DRC Flag Red */
    --cyan-drc: #00A3E0;         /* DRC Flag Blue */
    --slate-bg: #F1F5F9;
    --card-bg: #FFFFFF;
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--slate-bg);
    color: var(--text-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ==========================================================================
   OFFICIAL STATE HEADER (STYLE LA PRIMATURE RDC)
   ========================================================================== */
.state-header {
    background: var(--primary-navy);
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.state-header::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, var(--cyan-drc) 0% 33.33%, var(--gold-accent) 33.33% 66.66%, var(--crimson) 66.66% 100%);
}

.header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO BRANDING WITH DRC TRICOLOR VERTICAL BAR */
.official-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.official-logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.drc-vertical-bar {
    width: 4px;
    height: 44px;
    background: linear-gradient(to bottom, var(--cyan-drc) 33%, var(--gold-accent) 33% 66%, var(--crimson) 66%);
    border-radius: 2px;
}

.official-text-wrap h1 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.official-text-wrap p {
    font-size: 0.75rem;
    color: #CBD5E1;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* NAV LINKS IN HEADER */
.state-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-link-item {
    font-size: 0.925rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
    padding: 8px 0;
    position: relative;
}

.nav-link-item:hover, .nav-link-item.active {
    opacity: 1;
    color: var(--gold-accent);
}

.nav-link-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 2px;
}

/* RIGHT SOCIAL ICONS & SEARCH */
.header-right-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icons-group {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 1rem;
}

.social-icons-group a {
    opacity: 0.85;
    transition: var(--transition);
}

.social-icons-group a:hover {
    opacity: 1;
    color: var(--gold-accent);
    transform: translateY(-1px);
}

.search-icon-btn {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.search-icon-btn:hover {
    background: var(--gold-accent);
    color: var(--primary-dark);
}

/* ==========================================================================
   HERO BANNER - PRIMATURE STYLE
   ========================================================================== */
.primature-hero {
    position: relative;
    width: 100%;
    height: 520px;
    background: #000000;
    overflow: hidden;
}

.primature-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) contrast(1.05);
}

.primature-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 35, 63, 0.9) 0%, rgba(15, 35, 63, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%),
                linear-gradient(to right, rgba(15, 35, 63, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
}

.hero-text-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 35px 50px 35px;
    color: #FFFFFF;
}

.hero-accent-line {
    width: 40px;
    height: 4px;
    background: white;
    margin-bottom: 15px;
    border-radius: 2px;
}

.hero-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-sub-president {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-circle-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-circle-arrow-btn:hover {
    background: white;
    color: var(--primary-navy);
    transform: scale(1.08);
}

/* ==========================================================================
   BRÈVE PRÉSENTATION BANNER (WHITE SECTION BEFORE PRESIDENT SPEECH)
   ========================================================================== */
.breve-presentation-banner {
    background: #FFFFFF;
    color: var(--text-body);
    padding: 70px 0;
    border-bottom: 1px solid var(--border-light);
}

.breve-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: center;
}

.breve-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
    min-width: 0;
}

.breve-col-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.breve-col-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.breve-img-item {
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

.breve-img-1 { border-radius: 40px 10px 10px 10px; height: 220px; }
.breve-img-2 { border-radius: 10px 10px 10px 40px; height: 280px; }
.breve-img-3 { border-radius: 10px 40px 10px 10px; height: 280px; }
.breve-img-4 { border-radius: 10px 10px 40px 10px; height: 220px; }

.breve-sub-title {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.breve-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 25px;
    line-height: 1.15;
}

.breve-text-p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
    font-weight: 400;
}

/* ==========================================================================
   PRESIDENT SPEECH & OFFICIAL CARDS SECTION (EXACT DESIGN WITH RED ACCENTS)
   ========================================================================== */
.president-speech-banner {
    background: #0B2875;
    color: #FFFFFF;
    padding: 60px 0;
    box-shadow: var(--shadow-md);
}

.speech-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 50px;
    align-items: center;
}

.speech-photo-frame-wrap {
    position: relative;
    padding-top: 18px;
    padding-left: 18px;
}

.speech-photo-frame-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 150px;
    border-top: 7px solid #CE1126;  /* TRUE VIBRANT DRC FLAG RED */
    border-left: 7px solid #CE1126; /* TRUE VIBRANT DRC FLAG RED */
    z-index: 1;
}

.speech-photo-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: block;
}

.speech-content-box {
    color: #FFFFFF;
}

.speech-sub-label {
    color: #CE1126;  /* TRUE VIBRANT DRC FLAG RED */
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.speech-main-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.speech-paragraph {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #E2E8F0;
    margin-bottom: 16px;
    font-weight: 400;
}

.drc-tricolor-line-short {
    height: 4px;
    width: 180px;
    background: linear-gradient(to right, #00A3E0 0% 33.33%, #FCD116 33.33% 66.66%, #CE1126 66.66% 100%);
    margin-top: 30px;
    border-radius: 2px;
}

.speech-content h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.speech-content h4 {
    font-size: 1.1rem;
    color: var(--gold-hover);
    font-weight: 700;
    margin-bottom: 20px;
}

.speech-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body);
    font-style: italic;
    background: var(--slate-bg);
    padding: 25px;
    border-left: 5px solid var(--gold-accent);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

/* ==========================================================================
   LAYOUT MODULES & GRID CARDS
   ========================================================================== */
.main-wrapper {
    max-width: 1360px;
    margin: 40px auto;
    padding: 0 25px;
}

.section-head {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-head h2 {
    font-size: 1.6rem;
    color: var(--primary-navy);
    position: relative;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold-accent);
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* BUREAU CUSTOM GRID */
.bureau-grid-custom {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 25px;
}

.bureau-grid-custom .member-bureau-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.bureau-grid-custom .member-bureau-card:nth-child(1) .member-card-body {
    flex: 1;
}

.bureau-grid-custom .member-bureau-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.bureau-grid-custom .member-bureau-card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* Swapping positions of Rapporteur Adjoint (4th) and Questeur (5th) in grid */
.bureau-grid-custom .member-bureau-card:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.bureau-grid-custom .member-bureau-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* BUREAU MEMBERS REAL CARDS */
.member-bureau-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.member-bureau-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
}

.member-card-body {
    padding: 22px;
}

.member-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.member-role {
    color: var(--gold-hover);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* PAGINATION DEPUTES */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover {
    background: var(--gray-light);
    border-color: var(--primary-blue);
}

.page-btn.active {
    background: var(--primary-navy);
    color: var(--gold-accent);
    border-color: var(--primary-navy);
}

/* DEPUTES SEARCH & CARDS */
.deputes-search-bar {
    background: white;
    padding: 18px 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 15px;
}

/* PAGINATION */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--primary-navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.page-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-btn.active {
    background: var(--gold-accent);
    color: var(--primary-dark);
    border-color: var(--gold-accent);
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.search-wrap {
    position: relative;
}

/* COMMUNIQUES CARDS */
.communique-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
}

.search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.depute-item-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

/* EDITS TABLE */
.edits-container-box {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.edits-table {
    width: 100%;
    border-collapse: collapse;
}

.edits-table th {
    background: var(--primary-navy);
    color: white;
    padding: 14px 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.edits-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
}

/* BACKOFFICE MODAL OVERLAY */
.admin-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 63, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 20px;
}

.admin-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-box {
    background: #0F233F;
    color: white;
    width: 100%;
    max-width: 1100px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-accent);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.admin-box-header {
    background: #081629;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* FOOTER */
.state-footer {
    background: var(--primary-dark);
    color: #94A3B8;
    padding-top: 60px;
    position: relative;
}

.state-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--cyan-drc) 0% 33.33%, var(--gold-accent) 33.33% 66.66%, var(--crimson) 66.66% 100%);
}

.footer-grid {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 25px 40px 25px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-bottom-bar {
    background: #071220;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .state-nav { display: none; }
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .bureau-grid-custom { grid-template-columns: repeat(2, 1fr); }
    .bureau-grid-custom .member-bureau-card:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .bureau-grid-custom .member-bureau-card:nth-child(n+2) { grid-column: auto; grid-row: auto; }
    .speech-container { grid-template-columns: 1fr; }
    .breve-container { grid-template-columns: 1fr; gap: 30px; }
    .deputes-search-bar { grid-template-columns: 1fr 1fr; }
    .hero-main-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .cards-grid-3, .cards-grid-2, .bureau-grid-custom { grid-template-columns: 1fr; }
    .bureau-grid-custom .member-bureau-card:nth-child(n) { grid-column: 1 / -1; }
    .deputes-search-bar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .news-hero-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MODULE 7: MAGAZINE LAYOUT (ACTUALITÉS)
   ========================================================================== */

/* Top Section: Hero + Side List */
.news-hero-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 20px;
    margin-bottom: 40px;
}

/* Hero Article */
.hero-article-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.hero-article-card:hover {
    transform: translateY(-5px);
}
.hero-article-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 70%);
    z-index: 2;
}
.hero-article-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
}
.hero-badge {
    background: var(--gold-accent);
    color: var(--primary-dark);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}
.hero-date {
    color: white;
    font-size: 0.8rem;
    margin-left: 10px;
    opacity: 0.8;
}
.hero-title {
    color: white;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 10px 0 15px;
}

/* Side List */
.side-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.side-news-item {
    display: flex;
    gap: 15px;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.2s;
    height: 120px;
}
.side-news-item:hover {
    transform: translateX(5px);
}
.side-news-img {
    width: 120px;
    height: 100%;
    object-fit: cover;
}
.side-news-content {
    padding: 10px 10px 10px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.side-badge {
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
    align-self: flex-start;
}
.side-title {
    color: var(--primary-navy);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Section À LA UNE */
.a-la-une-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-left: 4px solid #ff4757;
    padding-left: 15px;
}
.a-la-une-header h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}
.voir-plus-link {
    color: #ff4757;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}
.voir-plus-link:hover {
    color: #ff6b81;
}

/* Cards À la une */
.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    text-decoration: none;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.news-card-img-wrapper {
    position: relative;
    height: 180px;
}
.news-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}
.news-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-title {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}
.news-card-desc {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}
.news-card-footer {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}
.news-card-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   MOBILE & RESPONSIVE DESIGNS (AJOUTS)
   ========================================================================== */

/* Toggle mobile menu button (caché par défaut sur PC) */
.mobile-menu-toggle {
    display: none;
}

.hemicycle-grid-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1024px) {
    /* 1. En-tête public réactif */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.12);
        color: white;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-size: 1.1rem;
        cursor: pointer;
        border: none;
        outline: none;
        transition: var(--transition);
        margin-left: 8px;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--gold-accent);
        color: var(--primary-dark);
    }
    
    .state-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-dark);
        padding: 20px;
        gap: 12px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    
    .state-nav.show {
        display: flex !important;
    }
    
    .nav-link-item {
        width: 100%;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
    }
    
    .nav-link-item.active::after {
        display: none; /* Évite la barre horizontale sur mobile */
    }
    
    .social-icons-group {
        display: none; /* Cache les réseaux sur mobile pour gagner de la place */
    }
    
    .header-inner {
        position: relative;
        flex-wrap: wrap;
    }
    
    /* 2. Hero banner réactif */
    .primature-hero {
        height: auto;
        min-height: 420px;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .hero-text-container {
        padding: 40px 20px;
    }
    
    /* 3. Grilles et mise en page */
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bureau-grid-custom {
        grid-template-columns: 1fr;
    }
    
    .bureau-grid-custom .member-bureau-card:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* 4. Section Hémicycle */
    .hemicycle-grid-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Grilles sur mobile */
    .cards-grid-3, .cards-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .official-text-wrap h1 {
        font-size: 0.95rem;
    }
    
    .official-text-wrap p {
        font-size: 0.65rem;
    }
    
    /* 5. RESPONSIVENESS DU PANEL D'ADMINISTRATION */
    body:has(.sidebar) {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        position: sticky !important;
        top: 0;
        z-index: 1000 !important;
        padding: 10px 0 !important;
        border-bottom: 2px solid var(--gold-accent) !important;
    }
    
    .sidebar .brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px !important;
        border-bottom: none !important;
    }
    
    .admin-menu-toggle {
        display: block !important;
        cursor: pointer;
    }
    
    .sidebar-menu {
        display: none;
        margin: 10px 0 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-menu.show {
        display: block !important;
    }
    
    .sidebar-menu li a {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-content {
        padding: 15px !important;
        width: 100% !important;
    }
    
    .admin-form {
        padding: 15px !important;
    }
    
    /* Rendre les tableaux admin scrollables horizontalement sur petit écran */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}
