*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    padding: 0;
}

html {
    direction: rtl;
}

body {
    background-color: #fff;
    color: #333;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
    text-align: right;
}

html[lang="ar"] body,
html[lang="fa"] body {
    font-family: Tahoma, Arial, sans-serif;
}

html[lang="he"] body {
    font-family: Arial, Tahoma, sans-serif;
}

main {
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: 100vh;
    padding: 35px;
    width: 100%;
}

h1,
h2 {
    color: #8c6553;
    font-weight: 500;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin: 34px 0 20px;
}

h2 {
    border-bottom: 2px solid #d0eeef;
    font-size: 1.7rem;
    margin: 50px 0 30px;
    padding-bottom: 12px;
}

.menu-float {
    direction: rtl;
    display: flex;
    justify-content: center;
    margin: 0 auto 34px;
    position: relative;
    width: 100%;
    z-index: 20;
}

.menu-button {
    position: relative;
}

.menu-button.menu-global {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
}

.menu-button > button {
    background-color: #8c6553;
    border: 2px solid #8c6553;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 22px;
}

.menu-button > button:hover,
.menu-button > button:focus {
    background-color: #fff;
    color: #8c6553;
}

.menu-button.menu-global > button {
    align-self: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 180px;
    width: auto;
}

.menu-global-dropdown {
    align-self: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: none;
    gap: 24px;
    margin: 12px auto 0;
    max-width: calc(100vw - 36px);
    min-width: 0;
    padding: 0;
    position: static;
    transform: none;
    width: min(720px, calc(100vw - 36px));
    z-index: 30;
}

.menu-global-dropdown[aria-hidden="false"] {
    align-items: flex-start;
    display: flex;
    justify-content: center;
}

.menu-section {
    flex: 1 1 160px;
    min-width: 160px;
    text-align: center;
}

.menu-titre {
    border-bottom: 1px solid #d0eeef;
    color: #8c6553;
    font-weight: bold;
    margin: 0 0 10px;
    padding-bottom: 6px;
    text-align: center;
}

.menu-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-liste li {
    margin: 0;
    padding: 0;
}

.menu-liste a {
    color: #333;
    display: block;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.menu-liste a:hover,
.menu-liste a:focus,
.menu-liste a[aria-current="page"] {
    background-color: #f0e5e1;
    color: #8c6553;
}

.introduction {
    margin: 0 auto 28px;
    max-width: 720px;
    text-align: center;
}

.bouton-container {
    margin: 30px 0;
    text-align: center;
}

.bouton-commentaire {
    background-color: #8c6553;
    border: 2px solid #8c6553;
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: 1.05rem;
    font-weight: bold;
    padding: 14px 24px;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.bouton-commentaire:hover,
.bouton-commentaire:focus {
    background-color: #fff;
    color: #8c6553;
}

.information {
    color: #666;
    font-size: 0.9rem;
    margin-top: 14px;
    text-align: center;
}

.liste-commentaires {
    margin-top: 25px;
}

.aucun-commentaire {
    color: #777;
    font-style: italic;
    text-align: center;
}

.commentaire {
    background-color: #f7fbfb;
    border-inline-start: 5px solid #a47864;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 20px 24px;
    text-align: start;
}

.entete-commentaire {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nom-commentaire {
    color: #8c6553;
    font-size: 1.05rem;
    font-weight: bold;
}

.date-commentaire {
    color: #777;
    font-size: 0.85rem;
}

.texte-commentaire {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: start;
}

footer {
    color: #666;
    font-size: 0.85rem;
    margin-top: 45px;
    text-align: center;
}

@media (max-width: 760px) {
    main {
        padding: 25px 18px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .menu-button {
        max-width: 280px;
        width: 100%;
    }

    .menu-button.menu-global {
        max-width: none;
        width: 100%;
    }

    .menu-button > button {
        width: 100%;
    }

    .menu-button.menu-global > button {
        max-width: 280px;
        width: 100%;
    }

    .menu-global-dropdown {
        max-width: none;
        min-width: 100%;
        width: 100%;
    }

    .menu-global-dropdown[aria-hidden="false"] {
        display: block;
    }

    .menu-section {
        margin-bottom: 18px;
    }

    .entete-commentaire {
        align-items: flex-start;
        flex-direction: column;
    }
}