/* v99 — pełna szerokość hero i twarde rozdzielenie tekstu od grafiki */
@media (max-width: 680px) {
  .hero .hero__grid.container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 0 16px 12px !important;
    box-sizing: border-box;
  }

  .hero__content {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    box-sizing: border-box;
    overflow: hidden !important;
    clip-path: inset(0);
    contain: paint;
  }

  .hero-rotator,
  .hero-rotator__viewport,
  .hero-message {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden !important;
  }

  .hero-message {
    left: 0 !important;
    right: 0 !important;
    padding: 0 10px 0 0 !important;
  }

  .hero-message__label,
  .hero-message__title,
  .hero-message__text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-wrap: anywhere !important;
    word-break: normal;
  }

  .hero-message__title {
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 1.1;
  }

  .hero-message__text {
    font-size: 10.5px;
    line-height: 1.38;
  }

  .hero::after {
    left: 56% !important;
    right: 0 !important;
    width: 44% !important;
    max-width: 44% !important;
    box-sizing: border-box;
    overflow: hidden;
    background-position: right center !important;
    background-size: contain !important;
  }
}

@media (max-width: 390px) {
  .hero .hero__grid.container {
    padding-left: 9px !important;
  }

  .hero__content {
    width: 51% !important;
    max-width: 51% !important;
    flex-basis: 51% !important;
  }

  .hero-message {
    padding-right: 8px !important;
  }

  .hero-message__title {
    font-size: clamp(17px, 5vw, 20px);
  }

  .hero-message__text {
    font-size: 10px;
  }

  .hero::after {
    left: 57% !important;
    width: 43% !important;
    max-width: 43% !important;
  }
}
