/* ─── Pages standards (Mentions Légales, À propos, etc.) ─── */

.generic-page {
    background: var(--fcspe-color-white);
}

.generic-page__header {
    margin: 0;
    padding: 0;
}

.generic-page__header-inner {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(25, 36, 78, 0.72), rgba(25, 36, 78, 0.72)),
        url('../img/team_working_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    box-shadow: var(--fcspe-shadow-soft);
}

.generic-page__title {
    margin: 0;
    font-size: clamp(2.2rem, 4.4vw, 3.75rem);
    font-weight: var(--fcspe-font-weight-black);
    line-height: 1.05;
    color: var(--fcspe-color-white);
}

.generic-page__content {
    padding: 4rem 1.5rem;
}

/* ─── Zone de contenu WordPress ─── */
.generic-page__container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--fcspe-color-blue-dark);
}

/* ─── Cacher le h1 vide généré par l'éditeur classique ─── */
.generic-page__container h1.uk-heading-small {
    display: none;
}

/* ─── Style des sous-titres h3 du contenu ─── */
.generic-page__container h3 {
    color: var(--fcspe-color-orange);
    font-size: 1.45rem;
    font-weight: var(--fcspe-font-weight-bold);
    margin: 3rem 0 1rem;
    border-bottom: 2px solid rgba(234, 88, 12, 0.2);
    padding-bottom: 0.5rem;
}

.generic-page__container h3:first-child {
    margin-top: 0;
}

.generic-page__container h3 strong {
    font-weight: inherit;
}

/* ─── Composant Bulle de Contenu ─── */
.content-bubble {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(25, 36, 78, 0.05);
    margin-bottom: 2rem;
    border: 1px solid rgba(25, 36, 78, 0.05);
}

.content-bubble__title {
    color: var(--fcspe-color-orange);
    font-size: 1.45rem;
    font-weight: var(--fcspe-font-weight-bold);
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid rgba(234, 88, 12, 0.1);
    padding-bottom: 0.75rem;
}

.content-bubble__body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--fcspe-color-blue-dark);
}

.content-bubble__body p {
    margin-bottom: 1rem;
}

.content-bubble__body p:last-child {
    margin-bottom: 0;
}

.content-bubble__body a {
    color: var(--fcspe-color-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: var(--fcspe-font-weight-medium);
    transition: color 0.2s ease;
}

.content-bubble__body a:hover {
    color: #c2410c;
}

.content-bubble__body strong {
    font-weight: var(--fcspe-font-weight-bold);
}

@media (max-width: 768px) {
    .generic-page__header-inner {
        padding: 4rem 1rem;
    }

    .generic-page__content {
        padding: 2.5rem 1rem;
    }

    .generic-page__container h3 {
        font-size: 1.25rem;
    }
}