/*
 * GUMA DIGITAL — V5-C12
 * Homepage editorial finishing.
 * No Joomla content changes.
 */

/* =========================================
   PARTNERS — SHARED GRID ALIGNMENT
   ========================================= */

body.is-home #partenaires {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

body.is-home #partenaires > .guma-container {
    max-width: 1180px;
    margin-inline: auto;
}

body.is-home #partenaires .mod-custom {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body.is-home #partenaires .guma-section-heading {
    width: 100%;
    max-width: 760px;
    margin: 0;
    padding: 0;
    text-align: left;
    transform: none;
}

body.is-home #partenaires .guma-section-heading h2,
body.is-home #partenaires .guma-section-heading p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* =========================================
   NEWS — REDUCE EMPTY SPACE
   ========================================= */

body.is-home #actualites {
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

body.is-home #actualites .guma-section-heading {
    margin-bottom: 0;
}

/* =========================================
   PRESIDENT — BETTER TWO-COLUMN BALANCE
   ========================================= */

body.is-home #mot-du-president .guma-president-layout {
    align-items: center;
}

body.is-home #mot-du-president .guma-president-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

body.is-home #mot-du-president .guma-president-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    min-height: 0;
}

body.is-home #mot-du-president .guma-president-content .guma-eyebrow {
    margin: 0;
}

body.is-home #mot-du-president .guma-president-open {
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    body.is-home #partenaires,
    body.is-home #actualites {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    body.is-home #mot-du-president .guma-president-content {
        gap: 1rem;
    }

    body.is-home #mot-du-president .guma-president-open {
        margin-top: 0.25rem;
    }
}
