:root {
    --z-index-max: 2147483647;
    --z-index-mid: 1073741824;
}

.visibility-hidden,
.visibility_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.single_content_container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.single_content_container_sz {
    display: block;
    width: calc(100% - 20px);
    max-width: 1280px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0;
    padding: 0;
    margin: 0px 0px;
    line-height: 1.7;
    font-size: 1.3em;
}


/* Typographie */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
}

h1 {
    color: #E61B46;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
    color: #024343;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Liens */
a {
    color: #E61B46;
    text-decoration: none !important;
}

a:hover {
    color: #41acdd;
    text-decoration: underline;
}

/* Boutons */
.wp-element-button,
.wp-block-button__link {
    background-color: #024343;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    background-color: #E61B46;
    color: #ffffff;
}

/* Listes */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images et Médias */
.wp-block-image img,
.wp-block-video video,
.wp-block-audio audio {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

figcaption {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

/* Citations */
.wp-block-quote {
    border: unset;
    padding-left: 1rem;
    color: #024343;
    font-style: italic;
    margin: 1rem 0;
}

.wp-block-quote strong {
    color: #E61B46;
}

/* Tableaux */
.wp-block-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

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

.wp-block-table th,
.wp-block-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

/* Séparateurs */
.wp-block-separator {
    border: none;
    border-top: 1px solid #E61B46;
    margin: 2rem 0;
}

/* Accordéons (Détails) */
details {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

summary {
    font-weight: 600;
    cursor: pointer;
}

/* Fichiers */
.wp-block-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wp-block-file__button {
    background-color: #E61B46;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
}

.wp-block-file__button:hover {
    background-color: #024343;
}

.wp-block-file > a:not(.wp-element-button) {
    color: #E61B46 !important;
}

.wp-block-file:hover > a:not(.wp-element-button) {
    color: #024343 !important;
}

/* Galeries */
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.wp-block-gallery .wp-block-image {
    flex: 1 1 calc(33.333% - 0.5rem);
}

/* Groupes (Sections avec Fond) */
.wp-block-group {
    background-color: #f4f4f4;
    padding: 2rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}


body.page .single_page {
    display: flex;
    width: 100%;
    justify-content: center;
}

body.page .single_page .single_page_sz {
    display: block;
    width: calc(100% - 20px);
    max-width: 1280px;
    font-size: 1.2em;
}

#cmplz-document {
    max-width: unset !important;
}

@media (max-width: 1024px) {
    body.page .single_page .single_page_sz {
        width: calc(100% - 60px);
    }
}
