/**
 * HRH Trust Bar — final polish (scoped .hrh-trust-bar*)
 * Desktop: 5 cols | Tablet/mobile: 3 + centered 2
 */

.hrh-trust-bar {
  padding: 6px 0;
  background: transparent;
}

.hrh-trust-bar .container {
  max-width: 1240px;
  padding-left: 12px;
  padding-right: 12px;
}

.hrh-trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.hrh-trust-bar__item {
  background: linear-gradient(180deg, #5fa8b4 0%, #5b98a7 55%, #528896 100%);
  border-radius: 8px;
  min-height: 86px;
  padding: 6px 9px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 3px 12px rgba(18, 52, 62, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.hrh-trust-bar__logo-wrap {
  width: 56px;
  height: 30px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hrh-trust-bar__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.hrh-trust-bar__title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
}

.hrh-trust-bar__title {
  font-size: 12.5px;
  line-height: 1.18;
  font-weight: 700;
  color: #ffffff;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.hrh-trust-bar__desc {
  font-size: 12px;
  opacity: 0.88;
  margin-top: 4px;
  line-height: 1.25;
  text-align: center;
  color: #ffffff;
  max-width: 100%;
}

.hrh-trust-bar__check {
  width: 15px;
  height: 15px;
  min-width: 15px;
  border-radius: 50%;
  background: #2bb673;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* tablet + mobil */
@media (max-width: 991.98px) {
  .hrh-trust-bar__inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .hrh-trust-bar__item {
    min-height: 78px;
    padding: 6px 8px 5px;
  }

  .hrh-trust-bar__item:nth-child(1),
  .hrh-trust-bar__item:nth-child(2),
  .hrh-trust-bar__item:nth-child(3) {
    grid-column: span 2;
  }

  .hrh-trust-bar__item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .hrh-trust-bar__item:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .hrh-trust-bar__logo-wrap {
    width: 52px;
    height: 28px;
    margin-bottom: 3px;
  }

  .hrh-trust-bar__title {
    font-size: 12px;
    line-height: 1.15;
  }

  .hrh-trust-bar__desc {
    font-size: 11px;
  }

  .hrh-trust-bar__check {
    width: 14px;
    height: 14px;
    min-width: 14px;
    font-size: 9px;
  }
}

@media (max-width: 575.98px) {
  .hrh-trust-bar {
    padding: 5px 0;
  }

  .hrh-trust-bar .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hrh-trust-bar__inner {
    gap: 9px;
  }

  .hrh-trust-bar__item {
    min-height: 74px;
    border-radius: 7px;
    padding: 5px 7px 5px;
  }

  .hrh-trust-bar__logo-wrap {
    width: 48px;
    height: 26px;
    margin-bottom: 2px;
  }

  .hrh-trust-bar__title {
    font-size: 11px;
    line-height: 1.12;
  }

  .hrh-trust-bar__desc {
    font-size: 10px;
  }

  .hrh-trust-bar__check {
    width: 13px;
    height: 13px;
    min-width: 13px;
    font-size: 9px;
  }
}
