/* Fluid desktop container with the existing mobile and tablet widths. */
@media (width > 1024px) {
  :root {
    --container: min(1420px, calc(100vw - 40px));
  }
}

.breadcrumbs__item.current {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.modal .modal__desc {
  max-width: 100%;
}

.infoPage-item.serviceItem iframe {
  max-width: 100%;
}

.infoPage-item.serviceItem iframe[width="405"][height="720"] {
  height: auto;
  aspect-ratio: 405 / 720;
}

@media (width > 1024px) {
  .reviews-sec .reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .reviews-sec .reviews .review {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .reviews-sec .review__img {
    width: 100%;
  }
}

@media (768px < width <= 1024px) {
  .services-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
  }

  .services-header__item {
    display: grid;
    place-items: center;
    min-width: 0;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 1024px) {
  .bx-filter.filter .bx-ui-slider-part > span {
    width: max-content;
    margin-left: 0;
    transform: translateX(-50%);
  }

  .bx-filter.filter .bx-ui-slider-part.p1 > span {
    left: 0;
    transform: none;
  }

  .bx-filter.filter .bx-ui-slider-part.p5 > span {
    right: 0;
    left: auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .contacts-content {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .plans-sec .plan-right {
    width: 100%;
  }

  .plans-sec .plan-block {
    margin-inline: 0;
  }

  .footer-sec > .container {
    padding-inline: 0;
  }
}

@media (max-width: 480px) {
  .handout__title {
    min-width: 0;
  }
}
