/**
 * Compact, extensible partner credentials rail.
 * Official artwork stays unmodified and each badge item reserves the
 * clearspace required by its brand guidelines.
 */

.v2-partner-credentials {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 92px;
  gap: 20px;
  margin: 0 0 clamp(32px, calc(100vw * 40 / 1920), 40px) auto;
  padding: 0 10px 0 18px;
  border: 1px dotted rgba(32, 32, 32, 0.16);
  border-radius: 10px;
  background: rgba(235, 235, 235, 0.62);
}

.v2-partner-credentials__label {
  width: 112px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  color: rgba(32, 32, 32, 0.4);
}

.v2-partner-credentials__items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.v2-partner-credentials__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 18px;
  border-radius: 8px;
  background: #f5f5f5;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.v2-partner-credentials__image {
  display: block;
  width: auto;
  height: 56px;
}

.v2-partner-credentials__item:focus-visible {
  outline: 2px solid #44b949;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .v2-partner-credentials__item:hover {
    background: #ffffff;
  }
}

@media (min-width: 1024px) {
  .v2-section--contact .v2-contact {
    position: relative;
  }

  .v2-section--contact .v2-partner-credentials {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    margin: 0;
  }
}

@media (max-width: 1023px) {
  .v2-partner-credentials {
    min-height: 88px;
    gap: 12px;
    margin-bottom: calc(100vw * 28 / 390);
    padding-left: 12px;
    padding-right: 8px;
  }

  .v2-partner-credentials__label {
    width: 96px;
    font-size: 12px;
  }

  .v2-partner-credentials__item {
    padding: 16px;
  }

  .v2-partner-credentials__image {
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-partner-credentials__item {
    transition: none;
  }
}
