/* Original fixed desktop dimensions; narrow screens get the same content in rows. */
@media (max-width: 1250px) {
  #container > div[style*="min-width"] { min-width: 0 !important; width: calc(100% - 40px) !important; }
  #header_content { max-width: calc(100% - 40px); gap: 18px; }
  .slick-track { width: 100% !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slick-track::before, .slick-track::after { display: none; }
  .slick-slide { float: none; width: auto; min-width: 0; }
  .white-card { padding: 30px 16px; box-sizing: border-box; }
  .white-card .card-image { height: 170px; }
  .white-card .card-footer .btn { min-width: 0; }
  .ros-h3 { white-space: normal; font-size: 19px; }
  .about-block { width: calc(100% - 40px); }
  .about-block .block-image { width: 34%; left: -20px; }
  .about-block .block-image2 { width: 30%; left: 0; }
  .about-block #line1, .about-block #line2 { max-width: 80%; }
  .about-block #line1 { margin-left: 10%; }
  .preview_picture { max-width: 100%; height: auto; }
  #eight_block #inner_block { width: 100%; display: flex; }
  #eight_block #text { width: 65%; }
  #eight_block #img { width: 38%; }
  #footer { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  #header { height: auto; min-height: 100px; }
  #header_content { flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 8px 0; }
  #company_logo { width: 50px; height: 50px; }
  .logo-descr h4 { font-size: 21px; }
  #company_phone { margin-left: 0; }
  #phone_txt .tel-link { font-size: 18px; }
  #header_content .btn { font-size: 14px; padding: 7px 22px; }
  .cards-section { margin-top: 25px; padding-bottom: 30px; }
  .slick-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-slider .slide { padding: 0 7px 15px; height: auto; }
  .white-card { padding: 24px 10px; }
  .white-card .card-image { height: 130px; margin-bottom: 20px; }
  .white-card .card-content { margin-bottom: 8px; }
  .ros-h3 { font-size: 17px; line-height: 22px; margin-bottom: 16px; }
  .about-block { width: 100%; margin-top: 50px !important; }
  .about-block .block-content, .about-block .block-content2 { width: 100%; }
  .about-block .block-image, .about-block .block-image2 { width: 100%; max-width: 410px; float: none; top: 0; left: 0; margin: 0 auto 20px; }
  .about-block h2 { font-size: 32px !important; }
  .ros-typography p { font-size: 18px; line-height: 26px; padding: 0 20px !important; text-align: left; }
  div.news-list { margin-left: 0; }
  #image_change { float: none !important; margin-left: 0 !important; width: 100%; }
  #image_change #left_arrow, #image_change #right_arrow { width: 32px; height: 32px; }
  #moidom-date { font-size: 15px; padding: 8px 12px; white-space: nowrap; }
  .middle b { font-size: 16px; }
  .block-content2 > div[style*="margin-left"] { margin-left: 0 !important; display: flex; justify-content: center; gap: 10px; }
  .block-content2 .btn { padding: 8px 16px; }
  #eight_block { height: auto; padding-bottom: 0; }
  #eight_block #inner_block { display: flex; flex-direction: column; }
  #eight_block #text { width: 100%; margin: 60px 0 0; font-size: 17px; }
  #eight_block #text h2 { font-size: 32px; }
  #eight_block #text p { padding: 0 20px 10px; }
  #eight_block #text ul { padding: 0 20px 0 40px; }
  #eight_block #text img { width: 140px; max-width: 100%; }
  #eight_block #img { width: 100%; height: 540px; margin: 20px 0 0; }
  #footer { gap: 14px; text-align: center; }
  .vertical_line { display: none; }
  .archive-notice { margin: 30px 20px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
