/* Footer resources (loaded site-wide) */
.ss-footer-resources a,
.ss-footer-company a,
.ss-footer-whatsapp a {
  color: rgba(255,255,255,.82);
}
.ss-footer-resources a:hover,
.ss-footer-company a:hover,
.ss-footer-whatsapp a:hover {
  color: #fff;
}

/* Certifications page */
body.ss-certs-page .tai-page-hero,
body.ss-certs-page .tai-bottom-cta,
body.ss-certs-page .tai-cta-band {
  display: none !important;
}
body.ss-certs-page .tai-prose,
body.ss-certs-page .tai-content-wrap {
  max-width: none;
  padding-top: 0;
  padding-bottom: 0;
}
body.ss-certs-page .tai-prose > article {
  margin: 0;
}

.tai-certs {
  padding: 1.25rem 0 4rem;
}

.tai-certs__hero {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid #EEF1F5;
  margin-bottom: 1.25rem;
}

.tai-certs .tai-breadcrumbs {
  margin: 0 0 0.75rem;
  color: #8A94A6;
  font-size: 0.8rem;
}
.tai-certs .tai-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.tai-certs .tai-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: #C5CDD6;
}
.tai-certs .tai-breadcrumbs a { color: #8A94A6; }
.tai-certs .tai-breadcrumbs a:hover { color: #0077C8; }

.tai-certs__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0077C8;
  font-weight: 700;
}
.tai-certs__title {
  margin: 0;
  color: #002C5F;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}
.tai-certs__lead {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: #6B7A8D;
  font-size: 1.05rem;
  line-height: 1.55;
}

.tai-certs__az {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #EEF1F5;
}
.tai-certs__az a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 1px solid #D9E0E8;
  border-radius: 4px;
  background: #F5F7FA;
  color: #002C5F;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.tai-certs__az a:hover {
  background: #0077C8;
  border-color: #0077C8;
  color: #fff;
}

.tai-certs__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}
.tai-certs__search input {
  min-width: min(100vw - 3rem, 24rem);
  border: 1px solid #D9E0E8;
  border-radius: 6px;
  padding: 0.75rem 0.95rem;
  background: #fff;
  color: #002C5F;
  font-size: 0.95rem;
}
.tai-certs__search input:focus {
  outline: 2px solid rgba(0,119,200,.25);
  border-color: #0077C8;
}
.tai-certs__count {
  margin: 0;
  color: #6B7A8D;
  font-size: 0.9rem;
  font-weight: 600;
}

.tai-cert-block {
  margin: 0 0 0.9rem;
  border: 1px solid #EEF1F5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 4.5rem;
}
.tai-cert-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  background: #F5F7FA;
  border-bottom: 1px solid #EEF1F5;
}
.tai-cert-block__title {
  margin: 0;
  color: #002C5F;
  font-size: 1.05rem;
  font-weight: 700;
}
.tai-cert-block__n {
  color: #6B7A8D;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.tai-cert-chips {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tai-cert-chip {
  display: inline-block;
  padding: 0.42rem 0.7rem;
  border: 1px solid #D6E8F6;
  border-radius: 999px;
  background: #F3F8FC;
  color: #0077C8;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.tai-cert-chip:hover {
  background: #0077C8;
  border-color: #0077C8;
  color: #fff;
}

.tai-certs__empty {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: #F5F7FA;
  border: 1px dashed #D9E0E8;
  border-radius: 8px;
  color: #3A4656;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (max-width: 640px) {
  .tai-certs__search input { min-width: 100%; width: 100%; }
  .tai-cert-block__head { flex-direction: column; gap: 0.2rem; }
}
