@media (width < 768px) {
  #strony-www .brix-top-header {
    padding-inline: 18px;
  }

  #strony-www .syn-services-controls,
  #strony-www .brix-cards-track > [aria-hidden="true"] {
    display: none;
  }

  #strony-www .brix-cards-viewport {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    padding: 10px 0 0;
  }

  #strony-www .brix-cards-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 18px;
    padding: 0 18px;
  }

  #strony-www .brix-card {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: clamp(16px, 5vw, 24px);
    border-radius: 26px;
    box-shadow: 0 12px 26px rgb(0 32 23 / .2);
    scroll-snap-align: none;
    transform: none;
  }

  #strony-www .syn-service-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    height: auto;
    gap: 18px;
  }

  #strony-www .syn-service-copy {
    display: contents;
  }

  #strony-www .syn-service-copy > * {
    margin: 0;
  }

  #strony-www .syn-service-visual {
    grid-row: 2;
    height: auto;
  }

  #strony-www .syn-service-visual > div {
    min-width: 0;
    max-width: 440px;
    padding: clamp(10px, 3vw, 20px);
  }

  #strony-www .syn-service-visual :is(.justify-between, .justify-around) {
    flex-wrap: wrap;
    gap: 6px;
  }

  #strony-www .syn-service-cta {
    grid-row: 3;
    padding-top: 0;
  }
}

@media (width < 768px) and (prefers-reduced-motion: reduce) {
  #strony-www .brix-card,
  #strony-www .brix-card * {
    animation: none;
    transition: none;
  }
}
