html {
    overflow-x: hidden;
}

.communal-economy__info {
    gap: 9px;
    margin-bottom: 25px;
}

.communal-economy__info p {
    color: var(--border-color);
}

.communal-economy__statistics {
    flex-direction: column;
    gap: 6px;
    max-width: 530px;
    margin-bottom: 24px;
}

.communal-economy__statistics_item {
    justify-content: space-between;
    gap: 15px;
}

.communal-economy__statistics_value-link {
    color: var(--main-color);
}

.communal-economy__statistics_value-link:hover {
    text-decoration: underline;
}


.communal-economy__defect-list ul {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.defect-list__title {
    margin: 0;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 1.3em;

}

.defect-list__item {
    border: 0.5px solid var(--border-color);
    padding: 6px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.defect__head :hover {
    cursor: pointer;
}


.defect__head h4 {
    width: 90%;
    gap: 5px;
    align-items: center;
    margin: 0;

    font-weight: 400;
    font-size: 1.3em;
}

.defect__head_upper {
    flex-direction: column;
}

.defect__head-upp_wrapper {
    justify-content: space-between;
    margin-bottom: 12px;
}

.defect__head-upp_statistic {
    gap: 10px;
}

.defect__houses-num {
    /*width: 10px;*/
}

.defect__head-upp_statistic p {
    white-space: nowrap;
}

.defect__tag {
    margin-bottom: 10px;
    margin-left: 25px;
    color: var(--border-color);
}

.defect__head_lower {
    justify-content: space-between;
}

.defect__head_lower div {
    align-items: center;
    width: 24%;
    gap: 15px;
}

.defect__body hr {
    border: none;
    border-top: 1px solid var(--border-color);
}

.defect__body_item {
    gap: 10px;
    margin-bottom: 10px;
}

.defect__body_label {
    max-width: 200px;
    width: 100%;
}

.defect__body_result {
    color: var(--main-color);
}

.communal-economy__link_wrapper {
    margin-bottom: 30px;
}

.communal-economy__link {
    font-size: 14px;
    color: var(--main-color);
}

.communal-economy__link:hover {
    text-decoration: underline;
}


/*УСЛОВНЫЕ ОБОЗНАЧЕНИЯ*/
.communal-economy__footer {
    margin-top: 150px;
}

.communal-economy__footer h4 {
    font-size: 1.3em;
    font-weight: 400;
    margin: 0;
    margin-bottom: 12px;
}

.communal-economy__footer_list {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.communal-economy__footer_list li {
    gap: 15px;
}

.communal-economy__footer_list svg{
    width: 30px;
}

.communal-economy__footer_address {
    align-items: center;
    flex-direction: column;
}

.communal-economy__footer_address hr {

    width: 100%;
    border: none;
    border-top: 1px solid var(--border-color);
}


/*Список неисправностей*/

.defects__statistics {
    margin-bottom: 25px;
}

.defects__statistics a {
    color: var(--main-color);
}

.defects__statistics a:hover {
    text-decoration: underline;
}

.defects__ordering {
    margin-bottom: 30px;
}

.defects__ordering_list {
    gap: 25px;
}

.defects__list {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.defects__list__interval {
    font-size: 14px;
}

.defects__ordering_active {
    box-shadow: var(--shadow-btn-active);
}


@media (max-width: 768px) {

    .defect__head-upp_wrapper span {
        width: 90%;
        font-size: 16px;
    }

    .defect__head-upp_wrapper svg {
        width: 30px;
    }

    .defect__head_lower {
        gap: 5px;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .defect__head_lower div {
        width: 48%;
        flex-direction: row;
    }

    .defect__body_result {
        width: 100%;
    }

    .defects__ordering_list {
        flex-direction: column;
        gap: 9px;
    }

    .defect__body :nth-child(2), .defect__body :nth-child(3){
        flex-direction: column;
        gap: 4px;
    }
}