@media only screen and (max-width: 1250px) {
  .gallery-item,
  .reviews-item {
    width: 400px;
  }
  .licenses-item {
    width: 300px;
  }
  .section {
    margin-bottom: 130px;
  }
}
@media (max-width: 1024px) {
  .section {
    margin-bottom: 120px;
  }
}
@media (max-width: 992px) {
  .department_main_block .title {
    text-align: center;
    font-size: 40px;
  }
  .department_main_block .info_wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .department_main_block .info_wrapper .description {
    padding: 0;
    width: 100%;
    border: 0;
    text-align: center;
  }
  .main_block_btn.mobile {
    display: block;
    width: 100%;
  }
  .main_block_btn.desktop {
    display: none;
  }
  .department_main_block_advantages {
    flex-direction: column;
  }
  .main_block_advantage {
    width: 100%;
  }
  .department_about_wrapper {
    gap: 20px;
    flex-direction: column-reverse;
  }
  .department_diseases_wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .list_block__info {
    width: 100%;
    gap: 20px;
  }
  .list_block {
    width: 100%;
  }
  .list_btn {
    width: 100%;
  }
  .department_video_block_wrapper {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .department_video_block {
    gap: 0px;
    width: 100%;
  }
  .department_methods_wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .department_slider_block_wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .department_slider_block_info {
    width: 100%;
    gap: 20px;
  }
  .department_slider_block {
    width: 100%;
  }
  .block-item img {
    width: 100%;
  }
  .department_advantages_header {
    flex-direction: column;
  }
  .department_advantages_header .left {
    width: 100%;
  }
  .price_header {
    flex-direction: column;
    gap: 10px;
  }
  .price_header .description {
    max-width: 100%;
  }
  .all_reviews_link,
  .all_reviews_link:visited {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2a3440;
    font-family: Ubuntu;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    text-decoration: underline;
  }
  .all_reviews_link img {
    width: 12px;
  }
  .department_reviews_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .department_reviews_header .right {
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .reviews_description {
    width: 100%;
  }
  .section {
    margin-bottom: 110px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 95px;
  }

  .achievements_wrapper .achievement_block {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .department_about_info .title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .department_about_info .description {
    margin-bottom: 15px;
    margin-top: 0;
  }
  .swiper-navigation.mobile {
    display: flex;
    margin-bottom: 20px;
  }
  .swiper-navigation.desktop {
    display: none;
  }
  .department_doctors_header {
    gap: 10px;
  }
  .list_item_link,
  .list_item_link:visited {
    background: url(../img/icons/ellipse-arrow.svg) 50% / contain no-repeat;
    flex-shrink: 0;
    height: 30px;
    width: 30px;
    font-size: 0;
  }
  .department_main_block .title,
  .department_about_info .title,
  .department_doctors_header_top .title,
  .department_gallery_header .title,
  .list_block__info_title,
  .department_video_block_info .top h2,
  .department_slider_block_info .top .title,
  .department_advantages_header .left .title,
  .price_header .title,
  .department_reviews_header .left .title,
  .promotions-form__main .title,
  .department_licenses_header .title {
    font-size: 35px;
  }
  .promotions-form__body {
    padding: 20px;
    flex-direction: column-reverse;
  }
  .promotions-form__image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
  }
  .promotions-form__subtitle {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .department_about_wrapper {
    align-items: center;
  }
  .video_list_item,
  .video_list_item:visited {
    width: 100%;
    justify-content: space-between;
  }
  .slider_list_item,
  .slider_list_item:visited {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 480px) {
  .section {
    margin-bottom: 80px;
  }
  .department_main_block .title,
  .department_about_info .title,
  .department_doctors_header_top .title,
  .department_gallery_header .title,
  .list_block__info_title,
  .department_video_block_info .top h2,
  .department_slider_block_info .top .title,
  .department_advantages_header .left .title,
  .price_header .title,
  .department_reviews_header .left .title,
  .promotions-form__main .title,
  .department_licenses_header .title {
    font-size: 28px;
  }
  .department_main_block {
    padding: 15px 10px;
  }
  .main_block_advantage {
    width: calc(100% - 20px);
    padding: 10px;
  }
  .main_block_advantage .advantage_text {
    font-size: 16px;
  }
  .advantage_img {
    width: 35px;
  }
  .about_doctor-item {
    width: 100%;
    flex-shrink: 0;
  }
  .doctor-item {
    width: 100%;
  }
  .gallery-item,
  .reviews-item {
    width: 100%;
  }
  .gallery-item img {
    width: 100%;
  }
  .slider_list_item,
  .slider_list_item:visited {
    font-size: 18px;
    padding: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .video_list_item,
  .video_list_item:visited {
    font-size: 18px;
    padding: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .slider_list_item,
  .slider_list_item:visited {
    font-size: 18px;
    padding: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .contacts_buttons {
    gap: 10px;
    flex-direction: column;
  }
  .appointment_btn,
  .call_btn {
    width: 100%;
  }
  .department_price_row {
    padding: 15px 15px;
  }
  .department_price_row_value {
    font-size: 15px;
    flex-shrink: 0;
  }
  .department_price_row_name {
    font-size: 13px;
    max-width: fit-content;
  }
  .department_price_row {
    padding: 15px;
    gap: 20px;
  }
}
