.section--licenses {
  padding-block: 90px;
  display: none;
}

.licenses-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 32px;
}

.license-card {
  display: flex;

  justify-content: center;

  align-items: center;

  padding: 20px;

  border-radius: 24px;

  background: #fff;

  border: none;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.license-card img {
  width: 100%;

  height: auto;

  display: block;
}

@media (min-width: 320px) and (max-width: 600px) {
  .section--licenses {
    display: block;
    padding-block: 16px;
    background-color: #efefef;
  }

  .section--licenses .section-header {
    text-align: center;
  }

  .footer-licenses-wrap {
    display: none !important;
  }
  .section--licenses .licenses-grid {
    display: block;
    margin-bottom: 16px;
  }

  #licenses-carousel {
    display: grid;

    grid-template-columns: 32px minmax(0, 1fr) 32px;

    gap: 8px;

    align-items: center;

    width: 100%;
  }

  #licenses-track {
    width: clamp(198px, calc(100vw - 122px), 478px);

    overflow: hidden;

    justify-self: center;
  }

  #licenses-track .carousel__track-inner {
    gap: 0;

    padding: 0;

    align-items: center;
  }

  #licenses-track .carousel__item {
    flex: 0 0 clamp(198px, calc(100vw - 122px), 478px);

    width: clamp(198px, calc(100vw - 122px), 478px);

    min-width: clamp(198px, calc(100vw - 122px), 478px);

    max-width: clamp(198px, calc(100vw - 122px), 478px);
  }

  #licenses-track .license-card {
    width: clamp(198px, calc(100vw - 122px), 478px);

    height: auto;

    min-height: 0;

    aspect-ratio: 198 / 154;

    padding: 20px;

    border-radius: 20px;

    background: #fff;

    display: flex;

    justify-content: center;

    align-items: center;
  }

  .license-card__image {
    display: block;

    width: 100%;

    max-width: 340px;

    height: auto;

    object-fit: contain;
  }

  #licenses-carousel .carousel__button {
    width: 32px;

    height: 100px;

    padding: 0;

    margin: 0;
  }

  #licenses-carousel .carousel__button img {
    width: 20px;

    height: 20px;
  }
}
