/* ScreenLab: verifiable expert credentials, shared by the regional home pages. */
.sl-credentials {
  --credential-ink: #211924;
  --credential-muted: #625566;
  --credential-purple: #6f2b79;
  --credential-orange: #c74600;
  scroll-margin-top: 110px;
}
.sl-credentials .sl-credentials__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}
.sl-credentials__intro,
.sl-credentials__documents { min-width: 0; }
.sl-credentials .sl-credentials__eyebrow {
  margin: 0 0 14px;
  color: #f2cdbb;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.sl-credentials .section__title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.13;
  letter-spacing: -.025em;
}
.sl-credentials .sl-credentials__person {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 23px;
}
.sl-credentials__portrait {
  display: block;
  flex: 0 0 116px;
  width: 116px;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 10px;
  background: #5b306a;
}
.sl-credentials__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}
.sl-credentials__person h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.25;
  font-weight: 750;
}
.sl-credentials__person p {
  margin: 0;
  color: #e6dce9;
  font-size: 15px;
  line-height: 1.5;
}
.sl-credentials .sl-credentials__lead {
  margin: 0 0 24px;
  max-width: 540px;
  color: #ede5ef;
  font-size: 17px;
  line-height: 1.65;
}
.sl-credentials__facts { margin: 0 0 28px; }
.sl-credentials__facts > div {
  padding: 16px 0 16px 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 3px solid #e88a5b;
}
.sl-credentials__facts > div + div { border-left-color: #cfa1da; }
.sl-credentials__facts dt {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 750;
}
.sl-credentials__facts dd {
  margin: 0;
  color: #e6dce9;
  font-size: 15px;
  line-height: 1.55;
}
.sl-credentials .sl-credentials__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid #ffb794;
  border-radius: 8px;
  background: var(--credential-orange);
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.sl-credentials .sl-credentials__cta:hover { background: #a83900; }
.sl-credentials__documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sl-credentials .sl-credentials__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #decfdc;
  border-radius: 12px;
  background: #fff8f3;
  color: var(--credential-ink);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(10,4,15,.13);
  transition: border-color .18s, transform .18s;
}
.sl-credentials .sl-credentials__card--certificate { background: #f5edf8; }
.sl-credentials .sl-credentials__card:hover {
  transform: translateY(-3px);
  border-color: #e88a5b;
  text-decoration: none;
}
.sl-credentials__preview {
  display: grid;
  place-items: center;
  padding: 16px;
  height: 218px;
  border-bottom: 1px solid #e2d6e2;
  background: #fff;
}
.sl-credentials__preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 184px;
  object-fit: contain;
}
.sl-credentials__card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 18px 18px;
}
.sl-credentials__tag {
  display: block;
  margin: 0 0 9px;
  color: #94410e;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}
.sl-credentials__card--certificate .sl-credentials__tag { color: #6f2b79; }
.sl-credentials__card h3 {
  margin: 0 0 12px;
  color: var(--credential-ink);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.sl-credentials__card p {
  margin: 0 0 12px;
  color: var(--credential-muted);
  font-size: 14px;
  line-height: 1.55;
}
.sl-credentials__card .sl-credentials__date {
  margin: auto 0 16px;
  padding-top: 6px;
  color: #403145;
  font-size: 14px;
  font-weight: 650;
}
.sl-credentials__open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #decedf;
  color: #6f2b79;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}
.sl-credentials .sl-credentials__privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: #d8cddd;
  font-size: 13px;
  line-height: 1.55;
}
.sl-credentials a:focus-visible,
.sl-credentials button:focus-visible,
.sl-credentials-dialog a:focus-visible,
.sl-credentials-dialog button:focus-visible {
  outline: 3px solid #f49e73;
  outline-offset: 4px;
}

/* Native dialog stays separate from the lead form and regional picker. */
.sl-credentials-dialog {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cdbacf;
  border-radius: 12px;
  background: #f7f1f7;
  color: #211924;
  box-shadow: 0 24px 100px rgba(16,7,22,.4);
}
.sl-credentials-dialog::backdrop { background: rgba(26,15,32,.8); }
.sl-credentials-dialog:not([open]) { display: none; }
.sl-credentials-dialog__panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 34px);
  max-height: calc(100dvh - 34px);
}
.sl-credentials-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd0e0;
  background: #fff;
}
.sl-credentials-dialog__head h2 {
  margin: 0;
  color: #211924;
  font: 750 20px/1.35 var(--font, sans-serif);
}
.sl-credentials-dialog__close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d0bfd5;
  border-radius: 8px;
  background: #f5edf8;
  color: #4b2456;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.sl-credentials-dialog__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 20px;
  overscroll-behavior: contain;
}
.sl-credentials-dialog__viewport img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
}
.sl-credentials-dialog__note {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid #ddd0e0;
  background: #fff;
  color: #645369;
  font-size: 13px;
  line-height: 1.6;
}
.sl-credentials-dialog__note a { color: #6f2b79; text-decoration: underline; text-underline-offset: 3px; }
body.sl-credentials-open { overflow: hidden; }
@media (max-width: 960px) {
  .sl-credentials .sl-credentials__grid { grid-template-columns: minmax(0,1fr); }
  .sl-credentials__documents { max-width: 720px; }
  .sl-credentials .sl-credentials__lead { max-width: 720px; }
  .sl-credentials__preview { height: 248px; }
  .sl-credentials__preview img { max-height: 214px; }
}
@media (max-width: 540px) {
  .sl-credentials .sl-credentials__eyebrow { font-size: 12px; }
  .sl-credentials .section__title { margin-bottom: 24px; font-size: 30px; }
  .sl-credentials .sl-credentials__person { gap: 16px; }
  .sl-credentials__portrait { flex-basis: 86px; width: 86px; height: 108px; }
  .sl-credentials__person h3 { font-size: 20px; }
  .sl-credentials__person p { font-size: 14px; }
  .sl-credentials .sl-credentials__lead { font-size: 16px; }
  .sl-credentials__documents { grid-template-columns: minmax(0,1fr); }
  .sl-credentials .sl-credentials__card { display: grid; grid-template-columns: 112px minmax(0,1fr); }
  .sl-credentials__preview { height: 100%; min-height: 230px; padding: 10px; border: 0; border-right: 1px solid #e2d6e2; }
  .sl-credentials__preview img { max-height: 170px; }
  .sl-credentials__card-copy { padding: 18px 15px; }
  .sl-credentials__card h3 { font-size: 20px; }
  .sl-credentials__card p { font-size: 13px; }
  .sl-credentials__open { font-size: 13px; }
  .sl-credentials .sl-credentials__cta { width: 100%; }
  .sl-credentials-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .sl-credentials-dialog__panel { max-height: calc(100dvh - 18px); }
  .sl-credentials-dialog__head { gap: 10px; padding: 12px; }
  .sl-credentials-dialog__head h2 { font-size: 17px; }
  .sl-credentials-dialog__viewport { padding: 10px; }
  .sl-credentials-dialog__note { padding: 12px; font-size: 12px; }
}
@media (max-width: 360px) {
  .sl-credentials .sl-credentials__card { grid-template-columns: 90px minmax(0,1fr); }
  .sl-credentials__card-copy { padding: 16px 12px; }
  .sl-credentials__card h3 { font-size: 18px; }
  .sl-credentials__person h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-credentials .sl-credentials__card { transition: none; }
  .sl-credentials .sl-credentials__card:hover { transform: none; }
}
