.official-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.official-block .title {
    text-align: left;
}

.official-block p {
    margin: 0;
}

.official-block .frame:last-child {
    margin-bottom: 0;
}

.official-map {
    margin: 40px 0;
}

.official-contacts__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-weight: 400;
    line-height: 130%;
}

.official-contacts__info-title {
    color: #818181;
    font-size: 14px;
}

.official-contacts__info-text {
    font-weight: 500;
    line-height: normal;
}

.frame .official-contacts__info-text:not(.email) a {
    color: #333;
    font-size: 20px;
    line-height: normal;
}

.official__socials {
    display: flex;
    gap: 15px;
}

.official__socials-text {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
}

.director-block {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.director-block .button,
.director-block .button__link {
    width: fit-content;
}

.director__item {
    width: fit-content;
    display: flex;
    gap: 10px;
}

.director__item .official-contacts__info-text.phone a {
    color: #333;
    font-size: 20px;
    line-height: normal;
}

.director__item .contacts__icon {
    flex-shrink: 0;
    margin-top: 10px;
}

.official-hospital {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.official__hospital-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 30px;
}

.official__hospital-contact {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.official__contact-title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
}

.official__contact-text {
    font-weight: 500;
    line-height: 160%;
}

@media (max-width: 991px) {
    .director-block {
        flex-direction: column;
        gap: 15px;
    }

    .official__hospital-contact {
        width: 100%;
    }
}

@media (max-width: 758px) {
    .official-block .title {
        font-size: 24px;
    }

    .official__socials {
        flex-direction: column;
    }

    .director-block {
        margin: 30px 0;
    }

    .director-block .button, .director-block .button__link {
        width: 100%;
    }
}