/* Complex Accordion Block */
.text-inform {
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8.19px 0 0 #E4E4E4;
    margin-bottom: 30px;
}

.text-inform h2 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 600;
    color: #E7370A;
}

.text-inform p {
    font-size: 16px;
    color: #3C3C3C;
    font-weight: 400;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
    line-height: 180%;
}

.text-inform .text-inform-list {
    padding-left: 22px;
    margin-bottom: 20px;
}

.text-inform .text-inform-list li {
    font-size: 16px;
    font-weight: 400;
    color: #3C3C3C;
    line-height: 180%;
}

.text-inform .text-inform-list li::marker {
    font-size: 12px;
}

/* Complex Accordion - новые стили */
.text-inform .complex-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-inform .complex-accordion-item {
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.text-inform .complex-accordion-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.text-inform .complex-accordion-head {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    gap: 20px;
}

.text-inform .complex-accordion-number {
    padding: 12px 20px;
    border-radius: 10px;
    background-color: #F5F5F5;
    color: rgb(51, 51, 51, 50%);
    font-size: 20px;
    font-weight: 600;
    min-width: 30px;
}

.text-inform .complex-accordion-head h3 {
    margin: 0;
    font-size: 24px;
    color: #000;
    font-weight: 600;
    line-height: 150%;
    padding-right: 40px;
    display: inline;
}

/* Аккордеон без нумерации */
.text-inform .complex-accordion-list.no-numbering .complex-accordion-number {
    display: none;
}

.text-inform .complex-accordion-toggle {
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background-image: url(/wp-content/uploads/2025/05/arrow-menu.svg);
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.25s;
    padding: 0;
}

.text-inform .complex-accordion-item.open .complex-accordion-toggle {
    transform: rotate(180deg);
}

.text-inform .complex-accordion-body {
    padding-top: 15px;    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    opacity: 0;
    max-height: 0;
}

.text-inform .complex-accordion-item.open .complex-accordion-body {
    opacity: 1;
    max-height: 2000px;}

.text-inform .complex-accordion-body h4 {
    margin-top: 20px;
    font-size: 20px;
    color: #000;
    font-weight: 600;
    line-height: 150%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.text-inform .complex-accordion-body h4:first-child {
    margin-top: 0;
}

.text-inform .complex-accordion-body p {
    margin-top: 10px;
    font-size: 16px;
    color: #3C3C3C;
    font-weight: 400;
    line-height: 180%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

/* Старые стили toogle-spisok для совместимости */
.text-inform .toogle-spisok-item {
    padding: 20px 0;
    border-bottom: 1px solid #E4E4E4;
}

.text-inform .toogle-spisok-item:last-child {
    border-bottom: none;
}

.text-inform .toogle-spisok-item .toogle-spisok-item-head {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.text-inform .toogle-spisok-item .toogle-spisok-item-head h3 {
    margin: 0;
    font-size: 24px;
    color: #000;
    font-weight: 600;
    line-height: 150%;
    padding-right: 40px;
}

.text-inform .toogle-spisok-item .toogle-spisok-item-head .toogle-spisok-item-button {
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background-image: url(/wp-content/uploads/2025/05/arrow-menu.svg);
    background-size: 12px;
    background-position: center;
    cursor: pointer;
    background-repeat: no-repeat;
    transition: .25s;
}

.text-inform .toogle-spisok-item.open .toogle-spisok-item-head .toogle-spisok-item-button {
    transform: rotate(180deg);
}

.text-inform .toogle-spisok-item .toogle-spisok-item-body {
    display: none;
}

.text-inform .toogle-spisok-item.open .toogle-spisok-item-body {
    display: block;
}

.text-inform .toogle-spisok-item h4 {
    margin-top: 20px;
    font-size: 20px;
    color: #000;
    font-weight: 600;
    line-height: 150%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.text-inform .toogle-spisok-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #3C3C3C;
    font-weight: 400;
    line-height: 180%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

/* Mobile */
@media (max-width: 1024px) {
    .text-inform {
        padding: 20px;
    }

    .text-inform h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .text-inform p {
        font-size: 14px;
    }

    .text-inform .text-inform-list li {
        font-size: 14px;
    }

    .text-inform .toogle-spisok-item .toogle-spisok-item-head h3 {
        font-size: 18px;
    }

    .text-inform .toogle-spisok-item h4 {
        font-size: 16px;
        margin-top: 15px;
    }

    .text-inform .toogle-spisok-item p {
        font-size: 14px;
    }

    /* Complex Accordion Mobile */
    .text-inform .complex-accordion-number {
        font-size: 16px;
        padding: 2px 0;
    }

    .text-inform .complex-accordion-head h3 {
        font-size: 18px;
    }

    .text-inform .complex-accordion-body h4 {
        font-size: 16px;
        margin-top: 15px;
    }

    .text-inform .complex-accordion-body p {
        font-size: 14px;
    }
}
