/* Аккордеон FAQ — блок «Перед подачей обращения» (страница обращений) */
.appeals-faq-accordion .faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.appeals-faq-accordion .faq-item:last-child {
    border-bottom: none;
}

.appeals-faq-accordion .faq-item__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    text-align: left;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
}

.appeals-faq-accordion .faq-item__title:hover {
    color: #005AA9;
}

@media (max-width: 767px) {
    .appeals-faq-accordion .faq-item__title {
        margin-bottom: 1.3rem;
    }
}

.appeals-faq-accordion .faq-item__title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L0 1.51351L1.4 0L6 4.97297L10.6 0L12 1.51351L6 8Z' fill='%23343434' fill-rule='nonzero'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.2s ease;
}

.appeals-faq-accordion .faq-item__title:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L0 1.51351L1.4 0L6 4.97297L10.6 0L12 1.51351L6 8Z' fill='%23005AA9' fill-rule='nonzero'/%3E%3C/svg%3E");
}

.appeals-faq-accordion .faq-item__title[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.appeals-faq-accordion .faq-item__body {
    overflow: hidden;
    font-size: 16px;
    line-height: 1.8em;
    max-height: 0;
    margin-top: 0;
    padding-bottom: 0;
    transition: max-height 0.35s ease, margin-top 0.35s ease, padding-bottom 0.35s ease;
}
.appeals-faq-accordion .faq-item__body ul {
    gap: 0;
}
.appeals-faq-accordion .faq-item__body li {
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 6px;
    margin-left: 0;
}
.appeals-faq-accordion .faq-item__body li::before {
    margin-left: -11px;
}

.appeals-faq-accordion .faq-item__body--open {
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
}
.appeals-faq-accordion .faq-item__body p {
    display: block;
}
.appeals-faq-accordion .faq-item__body ul {
    margin: 0 0 0.75rem 0;
    padding: 0 0 1rem 0;
}

.appeals-faq-accordion .faq-item__body p:last-child,
.appeals-faq-accordion .faq-item__body ul:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.appeals-faq-accordion .faq-item__body ul {
    padding-left: 1.25rem;
}

.appeals-faq-accordion .faq-item__body a {
    color: #005AA9;
}

.appeals-faq-accordion .faq-item__body a:hover {
    text-decoration: underline;
}

/* Форма обращений: три колонки на десктопе, одна на остальных */
#appeals-form .form-fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    #appeals-form .form-fields-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Блок «Создать обращение»: буллеты списка */
.modal-feedback-info ul li {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-left: 2px;
    margin-left: 0;
}

.modal-feedback-info ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #0044CC;
}
/* Список с буллетами-дефисами (страница обращений и др.) */
.style-list__dash {
    margin-top: .5rem !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.style-list__dash li {
    position: relative !important;
    padding-left: 1.25rem !important;
}

.style-list__dash li::before {
    content: "-" !important;
    font-size: 12px !important;
    position: absolute !important;
    left: 16px !important;
    top: -1px !important;
    color: inherit !important;
}

/* Globally disable textarea resize */
.form-group textarea {
    resize: none !important;
}
ul.list_ul li {
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
}
.modal.is-open ul.list_ul {
    margin-left: 2px;
}
.modal.is-open ul.list_ul li {
    padding-left: 10px;
}

@media (max-width: 768px) {
    .appeals-faq-accordion .faq-item__body {
        font-size: 14px;
        line-height: 1.4em;
    }
    .appeals-faq-accordion .faq-item__body li {
        font-size: 14px;
        line-height: 1.4em;
    }
}

