/* About Container */
.a-propos-container {
    padding: var(--padding-section);
    gap: 40px !important;
    max-width: 920px;
    margin: 0 auto;

    h2,
    h3 {
        font-weight: 700 !important;
    }

    h3 {
        margin-top: 15px !important;
    }

    ul {
        margin-bottom: 17px !important;
        padding-left: 20px !important;
    }

    ul+strong {
        margin-top: 15px !important;
    }
    p+ul {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    p+ul>li:first-child {
        margin-top: 0 !important;
    }

    ol {
        padding-inline-start: 20px !important;
        margin: 0 !important;
    }

    ol li {
        font-weight: 700 !important;
    }

    table td {
        > ul:last-child,
        > ol:last-child {
            margin-bottom: 0 !important;

            > li:last-child {
                margin-bottom: 0 !important;
            }
        }
    }

    a {
        color: inherit;
    }

    .custom-dropdown {
        margin-bottom: 40px;
    }

    .wp-block-buttons {
        gap: 10px !important;
        margin-bottom: 40px;

        a:hover{
            text-decoration: none !important;
        }
    }

    .wp-element-button {
        font-size: 18px;
        padding: 2px 10px;
        background-color: var(--blanc);
        color: var(--bleu-100-texte);
        border: 1px solid var(--bleu-80-principal);
        border-radius: 17px;
        font-weight: 500;

        &:hover {
            background-color: var(--bleu-40-bg);
        }
    }

    .contenu {
        display: flex;
        flex-direction: column;
        gap: 19px !important;
        margin-bottom: 45px !important;

        .hanging-indent {
            padding-left: 20px;
            text-indent: -20px;
            color: var(--bleu-100-texte) !important;
        }
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .a-propos-container {
        padding: var(--padding-section-tablet) !important;
    }
}

/* Mobile Breakpoint */
@media (max-width: 640px) {
    .a-propos-container {
        padding: var(--padding-section-mobile) !important;

        .custom-dropdown {
            display: block;
            margin-left: auto;
            margin-right: auto;
            max-width: 247px !important;
            ul{
                li a{
                    text-decoration: none !important;
                }
            }
        }

        .contenu {
            gap: 10px !important;
            margin-bottom: 30px !important;
        }
    }

    .wp-block-buttons.is-content-justification-center {
        display: none;
    }
}

/* Desktop Breakpoint */
@media (min-width: 641px) {
    .a-propos-container {
        .custom-dropdown {
            display: none;
        }
    }

}