/* ADI /our-accreditations/ page styles
   Added 2026-09-06 for the EEAT rebuild: a key summary block above the fold, a
   verification link on every accreditation, and a visible split between what
   ADI holds today and what it is working towards.

   The page also loads style.css and pages.css. The existing .accreditation-card,
   .accreditations-grid and .certification-2024-* rules live in pages.css and are
   shared, so nothing here changes them; these rules only style the new blocks. */

/* ---- hero summary strip -------------------------------------------------- */
/* .hero-content is text-align:center and color:white, so both are inherited.
   .hero is overflow:hidden, so this block is kept short on purpose. */
.acc-hero-lede {
  max-width: 46em;
  margin: 0 auto 22px;
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}
.acc-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.acc-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}
.acc-hero-chip:hover,
.acc-hero-chip:focus {
  background: #ff5b03;
  border-color: #ff5b03;
  color: #ffffff;
}
.acc-hero-chip:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.acc-hero-chip .acc-tick {
  flex: none;
  width: 14px;
  height: 14px;
}

/* ---- key accreditation summary ------------------------------------------- */
.acc-summary-section {
  position: relative;
  z-index: 5;
  padding-top: 56px;
  padding-bottom: 8px;
  background: #ffffff;
}
.acc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.acc-h2 {
  margin: 0 0 10px;
  color: #161e6f;
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  scroll-margin-top: 90px;
}
.acc-h2 .acc-h2-accent {
  color: #2d99ca;
}
.acc-intro {
  max-width: 62em;
  margin: 0 0 26px;
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}
.acc-summary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acc-summary-list li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: #f5f9fc;
  border: 1px solid #dbe6ee;
  border-left: 4px solid #2d99ca;
  border-radius: 10px;
}
.acc-summary-list .acc-tick {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #1c9c4b;
}
.acc-summary-body {
  min-width: 0;
}
.acc-summary-name {
  display: block;
  margin: 0 0 4px;
  color: #161e6f;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.acc-summary-body p {
  margin: 0 0 8px;
  color: #333333;
  font-size: 15px;
  line-height: 1.65;
}
.acc-summary-body p:last-child {
  margin-bottom: 0;
}

/* ---- the verification and related-service links on each card ------------- */
.acc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 14px;
}
.acc-verify {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #161e6f;
  border-radius: 6px;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.acc-verify:hover,
.acc-verify:focus {
  background: #2d99ca;
  color: #ffffff;
}
.acc-verify:focus-visible {
  outline: 3px solid #ff5b03;
  outline-offset: 2px;
}
.acc-verify .acc-ext {
  flex: none;
  width: 12px;
  height: 12px;
}
.acc-related {
  color: #1a5c86;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.acc-related a {
  color: #1a5c86;
  text-decoration: underline;
}
.acc-related a:hover,
.acc-related a:focus {
  color: #ff5b03;
}

@media (max-width: 768px) {
  .acc-hero-lede {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .acc-hero-chips {
    gap: 8px;
  }
  .acc-hero-chip {
    padding: 8px 13px;
    font-size: 13px;
  }
  .acc-summary-section {
    padding-top: 40px;
  }
  .acc-h2 {
    font-size: 24px;
  }
  .acc-summary-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .acc-hero-lede {
    font-size: 14px;
  }
  .acc-hero-chip {
    padding: 7px 11px;
    font-size: 12px;
  }
  .acc-h2 {
    font-size: 21px;
  }
  .acc-intro,
  .acc-summary-body p {
    font-size: 14px;
  }
  .acc-verify {
    width: 100%;
    justify-content: center;
  }
}

/* .certification-2024-card and .accreditation-card are flex columns in pages.css,
   so an inline-flex child stretches to the full card width unless told not to.
   Measured live 2026-09-06: the Safecontractor button came out 1318px wide. */
.certification-2024-card > .acc-verify {
  align-self: flex-start;
}

/* The hero chips are in-page jumps to these headings, so keep the landing point
   clear of the sticky header. */
.accreditation-title {
  scroll-margin-top: 100px;
}
