/*
Theme Name: Fondation
Description: Fondation Mutuelle des Motards
Version: 1.0
Text Domain: fondation
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
    --primary-color: var(--wp--preset--color--primary);
    --primary-color-light: #6A83DD;
    --button-bg-color: #87a7f8;
    --dark-color: var(--wp--preset--color--dark);
    --light-bg-color: #f9fafa;
    --horizontal-padding: 20px;
}

* {
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--wp--preset--color--dark);
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--horizontal-padding);
    padding-right: var(--horizontal-padding);
}

.wp-block-heading {
    font-weight: 700;
    line-height: 1.2;
    color: var(--wp--preset--color--primary);
    margin-top: 40px;
    margin-bottom: 40px;
}

.editor-styles-wrapper .editor-visual-editor__post-title-wrapper,
.editor-styles-wrapper .wp-block-post-content {
    padding-left: var(--horizontal-padding);
    padding-right: var(--horizontal-padding);
}

body.post-type-post .editor-styles-wrapper .editor-visual-editor__post-title-wrapper,
body.post-type-post .editor-styles-wrapper .wp-block-post-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.lightweight-accordion-group {
    border-left: none !important;
    padding-left: 0 !important;
}

.lightweight-accordion-title {
    color: #fff;
    background-color: var(--wp--preset--color--primary) !important;

    & a {
        font-size: 25px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
    }
}

.lightweight-accordion:not(:first-of-type) {
    margin-top: 4px;
}

.fluentform-guten-wrapper {
    min-height: 0 !important;
}