#PageBody {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1760px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
    gap: 1%;
}

#PageBody #Right {
    flex: 0 0 50%;
}

#PageBody #Right h1 {
    text-align: center;
}

#PageBody #Left {
    flex: 0 0 49%;
}

#PageBody #Left img {
    height: auto;
}

#Pishnehad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 5px;
    box-shadow: var(--BoxShadow);
    flex-wrap: wrap;
    width: -webkit-fill-available;
}

section#Pishnehad h1 {
    flex: 0 0 100%;
}

section#PageContent {
    flex: 0 0 100%;
}

section#Pishnehad ul {
    flex: 0 0 100%;
    padding-right: 0;
    line-height: 30px;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    list-style: none;
}

section#AfterRules {
    line-height: 30px;
}

section#Pishnehad ul button p {
    font-size: 13px;
    font-weight: 600;
}

section#Pishnehad ul button {
    border: 1px solid var(--Primary);
    text-align: unset;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    padding: 16px;
    border-radius: 8px;
    background: var(--White);
    transition: .5s;
}
section#Pishnehad ul button:hover {
    background: var(--Primary);
    color: var(--White);
}
section#Pishnehad ul button.active {
    background: var(--Primary);
    color: var(--White);
}

section#Pishnehad ul li {
    margin: 5px 0;
    padding: 0;
    border-radius: 5px;
}

section#Pishnehad ul li.open button:after {
    transform: rotate(45deg);
}

@media screen and (max-width:1150px) {
    #PageBody #Right {
        flex: 0 0 100%;
    }
    #PageBody #Left {
        flex: 0 0 100%;
    }
}