/* Q-CERT ISO badges: home banner, about us intro, footer. Source: template-parts/components/iso-badges.php */
.iso-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iso-badges .iso-badges-item {
  margin: 0;
  padding: 0;
}

.iso-badges a {
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}

.iso-badges a:hover,
.iso-badges a:focus-visible {
  transform: translateY(-2px);
}

.iso-badges img {
  display: block;
  width: auto;
  height: 100px;
}

/* Home banner: under the "Let's work together" button. */
.iso-badges.is-hero {
  margin-top: 32px;
}

/* Badges now close the left column, so its bottom aligns with the right logo row. */
.home-banner__left:has(.iso-badges) {
  padding-bottom: 0;
}

/* About us intro: under the button, above the text. */
.iso-badges.is-about {
  margin: 32px 0 40px;
}

/* .about-intro has max-height + overflow hidden; with the badges the 182px text gap pushed the text out of view. */
.about-intro__content:has(.iso-badges) .about-intro__text {
  margin-top: 0;
}

/* Footer: small, on dark background. */
.iso-badges.is-footer {
  gap: 10px;
  margin-bottom: 10px;
}

.iso-badges.is-footer img {
  height: 52px;
}

.site-footer-main__certs {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .home-banner .iso-badges.is-hero {
    order: 3;
    margin-top: 28px;
  }
}

@media (max-width: 575px) {
  .iso-badges {
    gap: 12px;
  }

  .about-intro .iso-badges.is-about {
    justify-content: center;
    margin-bottom: 0;
  }

  .iso-badges img {
    height: 80px;
  }

  .iso-badges.is-footer img {
    height: 46px;
  }
}
