@media (max-width: 1023px) {
  body {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  p {
    margin-bottom: 12px;
  }
  #programs {
    padding: 50px 0px;
  }
}

/*                        SCROLL TO              */
@media (max-width: 767px) {
  .scrollTo {
    right: 20px;
  }
}
@media (max-width: 420px) {
  .scrollTo {
    right: 10px;
  }
}

/*                           HEADER                                 */
@media (max-width: 1366px) {
  .header {
    flex-wrap: wrap;
    padding-right: 28px;
  }
  .header-item {
    font-size: 16px;
    padding: 20px 0;
    height: 60px;
    order: 2;
  }
  .header-item:first-child {
    padding: 20px 0 20px 5px;
  }
  .header-item:last-child {
    order: 1;
    flex-basis: 100%;
    height: 100%;
    padding: 20px 0 20px 40px;
  }
  .header-item:not(:last-child):after {
    border-bottom-width: 60px;
    border-right-width: 28px;
  }
  .header-item_logo,
  .header_menu:not(.show) {
    display: none;
  }
  .header_menu-container {
    height: 36px;
  }
  .header_menu {
    position: absolute;
    top: 100%;
    left: 40px;
    margin-top: 24px;
    width: 100%;
    max-width: 400px;
    background: white;
    color: black;
    z-index: 10;
  }
  .header_menu ul {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
    font-size: 16px;
  }
  .header_menu ul li {
    height: 100%;
  }
  .header_menu > ul > li {
    text-align: left;
    padding: 0 40px;
  }
  .header_menu > ul > li > a {
    font-weight: 700;
  }
  .header_menu ul a {
    width: 100%;
    display: block;
  }
  .header_menu ul > li ul {
    position: static;
    padding: 24px 0 0;
    transform: translateX(0);
    width: 100%;
  }
  .header_menu ul > li ul.show {
    display: flex;
  }
  .header_menu > ul > li.parents > a > * {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header_menu > ul > li.parents > a .menu-arrow {
    display: flex;
    justify-content: flex-end;
    width: 20px;
  }
  .header_menu > ul > li.parents > a .menu-arrow.show:after {
    transform: rotate(180deg);
  }
  .header_menu > ul > li.parents > a {
    gap: 10px;
    justify-content: space-between;
    border-bottom: 2px solid #eaeaea;
  }
  .header_menu > ul > li.parents > a .menu-arrow:after {
    border-top-color: black;
  }
  .header_menu ul > li ul li:not(:first-child) {
    margin-top: 0;
  }
  .section-banner .btn {
    width: auto;
  }
}
@media (min-width: 1367px) {
  .header_menu ul > li:hover ul {
    display: flex;
  }
  .header_menu > ul > li.parents:hover > a .menu-arrow:after {
    transform: rotate(180deg);
  }
}
@media (min-width: 768px) {
  .header-item_mobile-logo {
    flex: 1;
  }
}
@media (max-width: 767px) {
  .header-item:last-child {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0 20px 20px;
    justify-content: center;
  }
  .header-item_mobile-logo {
    text-align: center;
  }
  .header-item {
    padding-left: 20px;
  }
  .header_menu {
    left: 0;
    padding: 0 24px;
    background: transparent;
  }
  .header_menu ul {
    padding: 24px 0;
    background: white;
  }
  .header_menu > ul > li {
    padding: 0 24px;
  }
}
@media (max-width: 420px) {
  .header-item:not(:last-child) {
    font-size: 12px;
  }
}

/*                           FOOTER                                   */

@media (max-width: 1344px) {
  .footer {
    padding: 34px 0;
  }
  .footer_menu ul {
    margin-bottom: 40px;
  }
  .footer_body {
    flex-direction: column;
    gap: 24px;
  }
  .footer_text {
    line-height: 16px;
  }
}

@media (max-width: 767px) {
  .footer_menu ul {
    flex-direction: column;
  }
}
/*              BREADCRUMB                   */
@media (max-width: 1023px) {
  .breadcrumb {
    margin-bottom: 64px;
  }
}
@media (max-width: 767px) {
  .breadcrumb {
    margin-bottom: 40px;
  }
}
@media (max-width: 420px) {
  .breadcrumb {
    margin-bottom: 24px;
  }
}

/*                  INFO                 */
@media (max-width: 1365px) {
  .info-wafer {
    margin-top: 64px;
    padding-top: 64px;
    margin-bottom: 40px;
    color: black;
  }
  .info-wafer:before {
    height: 266px;
    min-height: 266px;
  }
  .info-grid {
    gap: 24px;
    grid-template: "A A" "C C" "B B";
  }
  .info-grid_title {
    color: white;
    width: 100%;
  }
  .info-grid_picture {
    max-height: 160px;
    object-fit: contain;
  }
  .info-float_v2 {
    display: grid;
  }
  .info-float_v2 .info-float_text {
    order: 2;
  }
  .info-float_v2 .info-float_picture {
    float: initial;
    width: 100%;
    order: 1;
    margin-bottom: 40px;
  }
  .info-float_v2 .info-float_title,
  .info-float_v2 .info-float_text {
    padding-right: 0;
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .wafer.section-info {
    padding: 64px 0;
  }
  .section-info:not(.wafer) {
    margin: 64px 0;
  }
  .section-info_block {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .info_portrait-text {
    margin-bottom: 0;
    margin-top: 24px;
  }
  .section-info_item ~ .section-info_item {
    margin-top: 64px;
  }
  .info-float_title,
  .info-float_text {
    padding-right: 24px;
  }
  .info-float_picture {
    max-height: 490px;
    width: calc(50% - 24px);
  }
  .info-cart_picture {
    height: 223px;
    margin-bottom: 24px;
  }
  .info-cart_title {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .info_portrait-text {
    margin-bottom: 40px;
    margin-top: 0;
  }

  .info-wafer:before {
    height: 208px;
    min-height: 208px;
  }

  .info-float {
    display: grid;
  }
  .info-float_picture {
    float: initial;
    width: 100%;
    order: 1;
  }
  .info-float_text {
    order: 2;
  }
  .info-float_title,
  .info-float_picture {
    margin-bottom: 24px;
  }
  .info-float_v2 .info-float_picture {
    margin-bottom: 24px;
  }
  .info-float_title,
  .info-float_text {
    padding-right: 0;
    width: 100%;
  }
  .info-cart_picture {
    height: 322px;
  }
  .list-link_item {
    padding: 12px 0;
  }
}

/*                  FAQ                  */

@media (max-width: 1023px) {
  .section-faq {
    padding: 40px 0;
  }
}

/*                  BANNER                */

@media (max-width: 1023px) {
  .section-mission_banner {
    height: 363px;
  }
  .mission_banner-footer_item {
    height: 32px;
  }
  .mission_banner-footer {
    gap: 64px;
    margin-top: 40px;
  }
  .mission_banner-footer_item:first-child:after {
    border-bottom: 32px solid var(--theme-purole);
    border-right: 32px solid transparent;
  }
  .mission_banner-footer_item:last-child:before {
    border-bottom: 32px solid var(--theme-purole);
    border-left: 32px solid transparent;
  }
  .section-mission_number {
    padding: 40px 0 64px;
  }
  .mission_banner-body {
    gap: 24px;
  }
  .mission_banner-body .h3 {
    font-size: 16px;
  }
  .mission_banner-body .triangle {
    align-items: center;
  }
}
@media (max-width: 767px) {
  .section-mission_banner {
    height: 289px;
  }
  .mission_banner-footer {
    margin-top: 24px;
  }
}

/*              CONTACTS                    */
@media (max-width: 1365px) {
  .section-contacts {
    margin-top: 64px;
  }
  .section-contacts_body {
    padding: 0;
  }
  .section-contacts_map {
    height: 500px;
  }
  .section-contacts_item {
    gap: 24px;
    margin-top: 40px;
  }
  .section-contacts_item-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .section-contacts_item-btn .btn:first-child {
    width: 100%;
  }
  .section-contacts_item-btn .btn:not(:first-child) {
    flex: 1;
    width: calc(50% - 10px);
  }
  .section-contacts_item-btn .btn .icon {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 767px) {
  .section-contacts_map {
    height: 380px;
  }
  .section-contacts_map iframe {
    width: 100%;
  }
  .section-contacts_item-btn .btn .icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 360px) {
  .section-contacts_item-btn .btn:not(:first-child) {
    width: 100%;
  }
}

/*                  BANNER                */
@media (max-width: 1365px) {
  .section-banner {
    flex-direction: column;
  }
  .section-banner_body-picture img {
    height: 555px;
    object-position: center;
  }
  .section-banner_body {
    text-align: center;
    align-items: center;
    gap: 24px;
    padding: 24px 40px;
  }

  .section-banner_body-picture:after {
    /* background: url("../picture/icon/triangle_mobile.svg") top/contain no-repeat; */
    left: 0;
    top: -1px;
  }
  .wafer-maroon .section-banner_body-picture:after {
    background: url("../picture/icon/triangle_maroon_mobile.svg") top/contain
      no-repeat;
  }

  .section-banner-easy .section-banner_body {
    max-width: 767px;
    order: 2;
    text-align: start;
    align-items: baseline;
  }
  .section-banner-easy {
    align-items: center;
    text-align: center;
    padding-bottom: 64px;
  }
  .section-banner-easy .section-banner_body-picture {
    padding: 24px 0;
  }
}
@media (max-width: 767px) {
  .section-banner-easy .section-banner_body {
    max-width: 100%;
  }
  .section-banner-easy {
    max-width: 500px;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-banner_body-picture img {
    height: 100%;
    object-position: right;
  }
  .section-banner_body-picture.camp img {
    height: 467px;
    object-position: right;
  }
  .section-banner-easy .section-banner_body-picture img {
    object-position: center;
  }
  .section-banner_body {
    padding: 24px 12px;
    text-align: center;
  }
  .section-banner-easy .section-banner_body {
    padding: 0;
    padding-bottom: 64px;
    align-items: stretch;
  }
}

@media (max-width: 380px) {
  .section-banner_btn .btn:not(:first-child) {
    flex: 1;
    width: 100%;
  }
}

/*                   SERVICE                     */
@media (max-width: 1023px) {
  .service-cart,
  .service-cart_big {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .service-cart {
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .service-cart_big-picture,
  .service-cart_picture {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }
  .service-cart_big {
    padding: 24px;
    height: 100%;
    gap: 24px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
  }
}
/*                  PRICE              */

@media (max-width: 1023px) {
  .price_cart {
    padding: 24px;
    gap: 20px;
  }
  .price_cart ul li {
    font-size: 16px;
  }
  .price_cart-btn {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .swiper-slider_price {
    margin: 20px;
  }
}
@media (max-width: 599px) {
  .price_cart {
    height: auto;
  }
}

/*              NEWS                   */
@media (min-width: 1024px) {
  .news-video_item {
    font-size: 20px;
  }
}

@media (max-width: 1365px) {
  .news-detail .swiper-slide_picture {
    height: 300px;
  }
  .news-list {
    margin: 64px 0;
  }
  .news-video {
    margin-bottom: 64px;
  }
  .news-item {
    margin-bottom: 40px;
  }
  .news_page-count {
    margin: 40px 0;
  }
  .news_picture {
    max-height: 375px;
  }

  .news-item_text {
    padding-left: 0;
  }
  .news_text {
    margin: 64px 0;
  }
  .news-detail {
    margin-bottom: 64px;
  }

  .row-item_picture {
    height: 60px;
  }
  .new_list-padding {
    margin-top: 40px;
  }
  .tabs-list_item.first {
    min-height: 360px;
    padding: 24px;
  }
  .tabs-list_item {
    padding: 24px;
    min-height: 140px;
  }
  .tabs-list_item.first .heading {
    font-size: 20px !important;
  }
  .news-detail__picture {
    max-height: 400px;
  }
}
@media (max-width: 1023px) {
  .line-item {
    padding: 24px;
  }
  .news-detail .swiper-slide_picture {
    height: 200px;
  }
  .news-detail__picture {
    max-height: 300px;
  }
}
@media (max-width: 1365px) and (min-width: 768px) {
  .news-video .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .news_picture {
    max-height: 688px;
  }
  .news-detail .swiper-slide_picture {
    height: 380px;
  }
  .news-list {
    margin: 40px 0;
  }
  .news-item {
    margin-bottom: 24px;
  }
  .news_page-count {
    margin: 24px 0;
  }
  .news-video {
    margin-bottom: 40px;
  }
  .news_text {
    margin: 40px 0;
  }
  .news-detail {
    margin-bottom: 40px;
  }

  .news-video_item-time {
    font-size: 12px;
    padding: 6px;
  }
  .row-item_picture {
    height: 40px;
  }
  .tabs-list_item.first {
    min-height: 283px;
  }
  .tabs-list_item {
    min-height: 110px;
  }
  .tabs-list_item.first .heading {
    font-size: 16px !important;
  }
  .tabs-list_item:not(.first) {
    justify-content: center;
  }

  .news-slide_picture {
    max-height: 233px;
  }
}

@media (max-width: 420px) {
  .news_picture {
    max-height: 340px;
  }
  .news-video .btn {
    width: 100%;
  }
  .tabs-list_item.first {
    min-height: 169px;
  }
  .tabs-list_item {
    min-height: 67px;
  }
}
/*              PAGINATION                   */
@media (max-width: 1023px) {
  .nav-page {
    padding: 2px 8px;
  }
  .view_step:after {
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-top: 10px solid black;
  }
}
@media (max-width: 767px) {
  .navigation {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .navigation-pages {
    gap: 20px;
  }
}

/*             IMPORTANT                   */
.block-important .swiper-wrapper {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .block-important {
    padding: 24px;
    max-width: 100%;
  }
  .block-important .btn-closes {
    top: 24px;
    margin-right: 24px;
  }
  .block-important .btn-closes .icon {
    width: 20px;
    height: 20px;
  }
  .block-important .swiper-slide > *:first-child {
    margin-right: 30px;
  }

  .block-important .swiper-slide .preview-text {
    margin-top: 0;
  }
}

/*             CONTACT                  */
@media (max-width: 1365px) {
  .block_contact-item {
    flex-wrap: wrap;
  }
}

/*                    404                     */
@media (max-width: 1023px) {
  .block_not-found_title {
    font-size: 5em;
  }
}

@media (max-width: 1600px) and (min-width: 1366px) {
  .showcase__card .heading {
    font-size: 22px;
  }
}
@media (max-width: 767px) {
  .showcase__card-big,
  .showcase__card {
    gap: 20px;
    padding: 20px;
  }
  .showcase__picture-big,
  .showcase__picture {
    max-height: 220px;
  }
  .showcase__picture-big {
    min-height: 220px;
  }
  .showcase__triangle:before {
    display: none;
  }
  .showcase__item-big {
    padding: 0;
  }
}

/*CATALOG*/
@media (max-width: 1365px) {
  .catalog-item__info {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .catalog-list {
    padding: 64px 0;
  }
  .catalog-detail__picture {
    max-height: 380px;
  }
  .picture-content-min {
    max-height: 200px;
  }
}
@media (max-width: 1023px) {
  .catalog-item.row {
    row-gap: 24px;
  }
}
@media (max-width: 767px) {
  .catalog-item__info {
    padding-top: 0;
    padding-bottom: 0;
  }

  .picture-content {
    max-height: 360px;
  }
  .catalog-item__picture {
    max-height: 240px;
  }
  .catalog-list {
    padding: 40px 0;
  }
}
@media (max-width: 500px) {
  .picture-content {
    max-height: 240px;
  }
}
@media (max-width: 420px) {
  .catalog-item__button {
    width: 100%;
    flex: 1;
  }
}
