.trusted-entity-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
  background: #ffffff;
}

.trusted-entity__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.trusted-entity__header h2 {
  margin: 0 0 10px;
  color: #2f3a8f;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
}

.trusted-entity__header p {
  margin: 0;
  color: #6b7280;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}

.trusted-entity__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trusted-entity__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(47, 58, 143, 0.08);
  border: 1px solid #eef0f6;
  text-decoration: none;
  color: inherit;
  min-height: 92px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.trusted-entity__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 58, 143, 0.12);
  text-decoration: none;
  color: inherit;
}

.trusted-entity__text {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.trusted-entity__text h3 {
  margin: 0 0 6px;
  color: #1b2559;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.trusted-entity__text span {
  display: block;
  color: #98a2b3;
  font-size: 0.82rem;
  line-height: 1.5;
}

.trusted-entity__badge {
  flex-shrink: 0;
  width: 64px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #a670f2;
  border-radius: 10px;
  color: #7b46c7;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(166, 112, 242, 0.04);
  text-align: center;
  line-height: 1.2;
  padding: 4px;
}

.trusted-entity__badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .trusted-entity__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .trusted-entity-section {
    padding: 40px 0 24px;
  }

  .trusted-entity__card {
    padding: 14px 12px;
  }

  .trusted-entity__text h3 {
    font-size: 0.92rem;
  }

  .trusted-entity__badge {
    width: 58px;
    height: 48px;
    font-size: 0.72rem;
  }
}
