.h-card {
    color: #111;
    max-width: 1780px;
    padding-left: 5px;
    padding-right: 5px;
}

.h-card__item {
    padding: 20px;
    background-color: #FFFFFF;
    border: 2px solid #92DAA2;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.h-card__map {
    width: 532px;
    position: relative;
    margin-right: 30px;
}


.h-card__main {
    width: calc(100% - 560px);
}
.h-card__name {
    font-size: 28px;
    font-weight: 500;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 25px;
    color: #373737;
}
.h-card__name:hover {
    text-decoration: none;
}
.h-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 6px;
}
.h-metro {
    display: flex;
    align-items: flex-start;
}
.h-metro img {
    display: block;
    margin-right: 10px;
}
.h-metro__text {
    display: flex;
    flex-direction: column;
}
.h-metro__name-purple {
    color: #8e479b;
}
.h-metro__name-blue {
    color: #3168DC;
}
.h-metro__name {
    font-size: 24px;
    font-weight: 600;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 6px;
}
.h-metro__name:hover {
    text-decoration: none;
}
.h-metro__address {
    font-size: 18px;
}

.h-sch__title {
    font-weight: 500;
    display: inline-block;
    margin-bottom: 6px;
}
.h-sch__main {
    font-size: 18px;
}
.h-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.h-phone__num {
    color: #f62d51;
    font-weight: 600;
    font-size: 24px;
    display: inline-block;
    margin-bottom: 15px;
}
.h-phone__btn {
    display: inline-block;
    padding: 15px;
    border: 4px solid #FFDB4D;
    text-transform: uppercase;
    background-color: #fff;
    font-weight: 600;
    font-size: 18px;
    color: #777777;
    transition: .2s;
}
.h-phone__btn:hover {
    background-color: #FFDB4D;
    color: #fff;
}

.h-service {
    margin-bottom: 12px;
}
.h-service__title {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}
.h-service__item {
    padding: 8px 26px;
    background-color: #FFFFFF;
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
}
.h-service__item > span:not(:last-child) {
    margin-right: 15px;
}
.h-service__item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    background-color: #0ABF32;
}
.h-card__map > * {
    height: 446px;
}
.h-service__time {
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    background-color: #0ABF32;
}

.map-point {
    display: inline-flex;
    align-items: center;
    text-align: left;
    width: 220px;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 52px;
    padding-right: 20px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
}
.map-point img {
    display: block;
    margin-right: 13px;
}

.h-card__photos {
    display: flex;
    justify-content: space-between;
}
.h-card__photo {
    width: calc(25% - 10px);
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
}
.h-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1600px) {
    .h-card__slider {
        width: 420px;
        margin-right: 20px;
    }
    .h-card__main {
        width: calc(100% - 440px);
    }
    .h-phone {
        flex-shrink: 0;
    }
    .h-metro__name {
        font-size: 20px;
    }
    .h-metro__address {
        font-size: 15px;
    }
    .h-sch {
        max-width: 240px;
    }
    .h-phone__num {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .h-phone__btn {
        padding: 10px;
        font-size: 16px;
        border-width: 3px;
    }
}

@media screen and (max-width: 1250px) {
    .h-card__item {
        flex-direction: column;
        align-items: center;
    }
    .h-card__map {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
        margin-right: 0;
    }
    .h-card__main {
        width: 100%;
    }
}

@media screen and (max-width: 876px) {
    .h-card__name {
        font-size: 22px;
        width: 100%;
        text-align: center;
    }
    .h-card__row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }
    .h-card__row > *:not(:last-child) {
        margin-bottom: 20px;
    }
    .h-service__item {
        font-size: 15px;
    }
}

@media screen and (max-width: 700px) {
    .h-service__item {
        padding-left: 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .h-service__item::before {
        left: 10px;
        width: 6px;
        height: 6px;
    }
    .h-service__time {
        margin-top: 5px;
    }
    .h-card__photos {
        flex-wrap: wrap;
    }
    .h-card__photo {
        width: calc(50% - 10px);
        margin-bottom: 20px;
        height: 30vw;
    }
}

@media screen and (max-width: 600px) {
    .h-card__item {
        padding: 13px;
    }
    .h-card__map > * {
        height: 50vw;
    }
    .h-card__photo {
        width: calc(50% - 5px);
        margin-bottom: 10px;
    }
}