/* GUMA V4 — blocs éditoriaux : charger seulement après vérification des CSS existants */
.guma-editorial{color:#2f1252;max-width:1120px;margin-inline:auto;padding:clamp(20px,4vw,52px) 0;font-family:inherit}
.guma-editorial-kicker{color:#b85412;font-size:.78rem;letter-spacing:.14em;font-weight:800;text-transform:uppercase}
.guma-editorial h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.12;max-width:820px;margin:.5rem 0 1.2rem}
.guma-editorial-lead{font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.7;max-width:850px;color:#51445e}
.guma-editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:32px 0}
.guma-editorial-card{border:1px solid #e9e0ee;border-left:3px solid #54207a;padding:26px;background:#fff;min-width:0}
.guma-editorial-card h3{font-size:1.28rem;margin:0 0 10px;color:#2f1252}
.guma-editorial-card p{line-height:1.65;margin:0;color:#574a61}
.guma-editorial-number{display:block;color:#b85412;font-weight:800;margin-bottom:12px}
.guma-editorial-quote{margin:34px 0;padding:25px 30px;background:#faf8fc;border-left:4px solid #ed6d16;font-size:1.3rem}
.guma-editorial-quote p{margin:0 0 8px}.guma-editorial-quote footer{font-size:.83rem;color:#62556b}
.guma-editorial-highlight{background:linear-gradient(120deg,#54207a,#2f1252);padding:clamp(26px,4vw,42px);color:#fff;margin:32px 0;border-radius:6px}
.guma-editorial-highlight h3,.guma-editorial-highlight p{color:#fff}.guma-editorial-highlight .guma-editorial-kicker{color:#ffc49d}
.guma-editorial-note{font-size:.8rem;color:#6d6275;line-height:1.5}
@media(max-width:700px){.guma-editorial-grid{grid-template-columns:1fr}.guma-editorial-card{padding:20px}}

/* ==================================================
   GUMA V4-E — FINITION ÉDITORIALE
   À PROPOS ET NOS ACTIONS
   ================================================== */

body:has(.guma-editorial.guma-about) .article-info,
body:has(.guma-editorial.guma-actions) .article-info,
body:has(.guma-editorial.guma-about) .article-info-term,
body:has(.guma-editorial.guma-actions) .article-info-term {
    display: none !important;
}

body:has(.guma-editorial.guma-about) .page-header,
body:has(.guma-editorial.guma-actions) .page-header {
    margin-bottom: 0.75rem;
}

body:has(.guma-editorial.guma-about) .guma-editorial,
body:has(.guma-editorial.guma-actions) .guma-editorial {
    padding-top: 12px;
}

.guma-editorial h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.18;
    max-width: 850px;
}

.guma-editorial-grid {
    align-items: stretch;
}

@media (max-width: 700px) {
    .guma-editorial-grid {
        grid-template-columns: 1fr;
    }

    .guma-editorial h2 {
        font-size: clamp(1.75rem, 7vw, 2.3rem);
    }
}


/* ==================================================
   GUMA V4-F — BIBLIOTHÈQUE RESSOURCES
   ================================================== */

.guma-resource-intro {
    max-width: 850px;
    margin: 22px 0 36px;
    padding: 16px 24px;
    border-left: 3px solid #ed6d16;
    background: #faf8fc;
    color: #51445e;
    line-height: 1.7;
}

.guma-resource-intro p {
    margin: 0;
}

.guma-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 32px 0 42px;
}

.guma-resource-card {
    position: relative;
    padding: 30px;
    border: 1px solid #e9e0ee;
    border-left: 3px solid #54207a;
    background: #fff;
    min-width: 0;
}

.guma-resource-number {
    display: block;
    color: #b85412;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.guma-resource-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: #54207a;
    margin-bottom: 20px;
}

.guma-resource-card h3 {
    color: #2f1252;
    font-size: 1.3rem;
    margin: 0 0 14px;
}

.guma-resource-card p {
    color: #574a61;
    line-height: 1.7;
    margin-bottom: 24px;
}

.guma-resource-status {
    display: inline-block;
    padding: 8px 0;
    border-top: 1px solid #e9e0ee;
    color: #866e98;
    font-size: .82rem;
    font-weight: 700;
}

.guma-resource-highlight {
    margin-top: 36px;
}

body:has(.guma-editorial.guma-resources) .article-info,
body:has(.guma-editorial.guma-resources) .article-info-term {
    display: none !important;
}

body:has(.guma-editorial.guma-resources) .page-header {
    margin-bottom: .75rem;
}

body:has(.guma-editorial.guma-resources) .guma-editorial {
    padding-top: 12px;
}

@media (max-width: 700px) {
    .guma-resource-grid {
        grid-template-columns: 1fr;
    }

    .guma-resource-card {
        padding: 24px;
    }
}


/* ==================================================
   GUMA V4-F2 — ICONES SVG INSTITUTIONNELLES
   ================================================== */

.guma-resource-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #54207a;
}

.guma-resource-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 700px) {
    .guma-resource-icon {
        width: 42px;
        height: 42px;
    }
}


/* ==================================================
   GUMA V4-I1 — PARTENAIRES ET CONTACT
   ================================================== */

body:has(.guma-editorial.guma-partners) .article-info,
body:has(.guma-editorial.guma-contact) .article-info,
body:has(.guma-editorial.guma-partners) .pagenavigation,
body:has(.guma-editorial.guma-contact) .pagenavigation {
    display: none !important;
}

.guma-partners,
.guma-contact {
    max-width: 900px;
    margin: 0 auto;
    padding: 12px 0 32px;
}

.guma-partners .guma-editorial-kicker,
.guma-contact .guma-editorial-kicker {
    color: #bd5718;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.guma-partners .guma-editorial-intro,
.guma-contact .guma-editorial-intro {
    background: #faf8fc;
    border-left: 4px solid #54207a;
    padding: clamp(26px, 4vw, 42px);
}

.guma-partners .guma-editorial-intro h2,
.guma-contact .guma-editorial-intro h2 {
    color: #341452;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.25;
    margin: 0 0 16px;
}

.guma-partners .guma-editorial-intro p,
.guma-contact .guma-editorial-intro p {
    color: #61556b;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 680px) {
    .guma-partners,
    .guma-contact {
        padding: 4px 0 20px;
    }
}

/* ==================================================
   GUMA V5-A1 — CONTACT OFFICIEL
   ================================================== */

.guma-contact-v5 {
    max-width: 100%;
    margin: 0;
    padding: 0 0 30px;
}

.guma-contact-v5-kicker {
    color: #e65100;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.guma-contact-v5-heading {
    margin-bottom: 30px;
}

.guma-contact-v5-heading h2 {
    color: #32134e;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1.2;
    margin: 0 0 14px;
}

.guma-contact-v5-heading p {
    color: #666;
    line-height: 1.75;
    max-width: 750px;
}

.guma-contact-v5-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.guma-contact-v5-card {
    background: #faf8fc;
    border: 1px solid #eee7f4;
    border-top: 3px solid #6b3fa0;
    padding: 28px 22px;
    min-width: 0;
}

.guma-contact-v5-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #eee5f6;
    color: #6b3fa0;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.guma-contact-v5-card h3 {
    color: #32134e;
    font-size: 1.15rem;
    margin: 0 0 15px;
}

.guma-contact-v5-card p,
.guma-contact-v5-card address {
    color: #666;
    font-size: .98rem;
    line-height: 1.75;
    font-style: normal;
    margin: 0 0 8px;
}

.guma-contact-v5-card a {
    color: #54207a;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.guma-contact-v5-card a:hover {
    color: #e65100;
    text-decoration: underline;
}

.guma-contact-v5-legal {
    border-left: 4px solid #2e7d32;
    background: #f7faf7;
    padding: 25px 30px;
    margin-top: 35px;
}

.guma-contact-v5-legal h3 {
    color: #2e5533;
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.guma-contact-v5-legal p {
    color: #555;
    margin: 5px 0;
    line-height: 1.65;
}

/* Le contenu Contact utilise toute la largeur disponible. */

body:has(.guma-contact-v5) .guma-editorial,
body:has(.guma-contact-v5) .guma-contact {
    max-width: 100%;
}

body:has(.guma-contact-v5) .article-info,
body:has(.guma-contact-v5) .pagenavigation {
    display: none !important;
}

/* ==================================================
   GUMA V5-A1 — FOOTER INSTITUTIONNEL
   ================================================== */

.guma-v5-footer {
    background: #2f154a;
    color: #fff;
    padding: 56px 24px 24px;
    margin-top: 0;
}

.guma-v5-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 42px;
}

.guma-v5-footer h2,
.guma-v5-footer h3 {
    color: #fff;
    margin: 0 0 18px;
}

.guma-v5-footer h2 {
    font-size: 1.4rem;
}

.guma-v5-footer h3 {
    font-size: 1rem;
}

.guma-v5-footer p,
.guma-v5-footer li {
    color: #e8dff0;
    line-height: 1.8;
    font-size: .94rem;
}

.guma-v5-footer a {
    color: #fff;
    text-decoration: none;
}

.guma-v5-footer a:hover {
    color: #ffb17b;
    text-decoration: underline;
}

.guma-v5-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guma-v5-footer li {
    margin-bottom: 8px;
}

.guma-v5-footer-bottom {
    max-width: 1160px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.2);
    color: #e8dff0;
    font-size: .85rem;
}

@media (max-width: 850px) {
    .guma-contact-v5-grid {
        grid-template-columns: 1fr;
    }

    .guma-v5-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .guma-v5-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .guma-v5-footer {
        padding: 40px 20px 24px;
    }

    .guma-contact-v5-legal {
        padding: 22px;
    }
}

/* GUMA V5-A2 — ICONES CONTACT PREMIUM */

.guma-contact-v5-icon {
    width: 52px;
    height: 52px;
    background: #eee5f6;
    color: #6b3fa0;
    margin-bottom: 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.guma-contact-v5-icon svg {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
}


/* GUMA V5-B4G — ABOUT ARTICLE NAVIGATION */

/*
 * La page À propos possède déjà une navigation principale.
 * On masque uniquement les liens précédent/suivant Joomla.
 * Les paginations des catégories restent intactes.
 */

body.itemid-102 .pagenavigation,
body.itemid-102 .com-content-article__navigation,
body.itemid-102 nav[aria-label="Navigation des articles"] {
  display: none !important;
}
