.usefullinks_component{
    margin-bottom: 20px;
    margin-top: 60px;
}

.usefullinks_title {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 40px;
    letter-spacing: 3%;
}

.usefullinks_list{
    overflow: hidden;
    position: relative;
}

.usefullinks_list_wrapper{
    display: grid;
}
.usefullinks_list_wrapper a{
    text-align: left;
}

.useful_link_unit img{
border-radius: 30px;
max-height: 50px;
}

.useful_link_unit a{
  display: flex;
  justify-content: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
}

.usefullinks_expand{
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    color: #004EA6;
    margin-top: 20px;
    margin-bottom: 40px;
}

.usefullinks_content_expanded{
    max-height:none !important;
}

.links-text {
    color: #050625 !important;
    text-decoration: none !important;
}

.link-items a {
    text-decoration: none !important;
}

.useful_link_unit{
    display: flex;
}

.useful_link_unit div{
    font-size: 18px;
    text-decoration: underline;
    margin-left:  20px;
    padding: 0;
    line-height: 20px;
}

@media (min-width: 1023px) {
    .usefullinks_list_wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .usefullinks_list {
        max-height: 170px;
        /* margin-left: 40px;
        margin-right: 40px; */
    }
}

@media (max-width: 1023px) and (min-width: 426px) {
    .usefullinks_list_wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .usefullinks_list {
        max-height: 150px;
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-width: 426px) {
    .usefullinks_list_wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .usefullinks_list {
        max-height: 140px;
            margin-left: 15px;
    margin-right: 15px;
    }
}