.licenses {
  overflow: hidden;
  background: #f3f6f9;
}

.licenses-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.licenses-heading .kicker {
  margin-bottom: 12px;
}

.licenses-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.licenses-controls {
  display: flex;
  gap: 8px;
}

.license-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid #b9c6d5;
  border-radius: 8px;
  background: #fff;
  color: #0b4cc9;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.license-arrow:hover:not(:disabled) {
  border-color: #0b4cc9;
  background: #0b4cc9;
  color: #fff;
}

.license-arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.licenses-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.licenses-viewport::-webkit-scrollbar {
  display: none;
}

.licenses-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.license-card {
  width: min(360px, calc((100vw - 84px) / 3));
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #d9e1ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 59, 105, 0.08);
}

.license-card a {
  display: grid;
  height: 470px;
  place-items: center;
  padding: 14px;
  background: #e8eef5;
}

.license-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.license-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  color: #617086;
  font-size: 13px;
  font-weight: 600;
}

.license-card figcaption span {
  color: #0b4cc9;
  font-weight: 800;
}

@media (max-width: 900px) {
  .license-card {
    width: min(340px, calc(50vw - 34px));
  }
}

@media (max-width: 620px) {
  .licenses-heading {
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .license-card {
    width: calc(100vw - 42px);
  }

  .license-card a {
    height: 460px;
  }

  .license-arrow {
    width: 44px;
    height: 44px;
  }

  .licenses-heading .kicker {
    margin-bottom: 8px;
  }
}
