.contrast-checker-links-header {
  background: #2c2a33;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 550px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.th8-padding-top-md {
  padding-top: 23px !important;
}

.contrast-checker-links-header-content {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.contrast-checker-links-header-title {
  color: #ffffff !important;
  font-weight: 400;
  font-size: 82px !important;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .contrast-checker-links-header-title {
    font-size: 48px !important;
  }
}

@media (max-width: 480px) {
  .contrast-checker-links-header-title {
    font-size: 36px !important;
  }
}

.contrast-checker-links-header-description {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  max-width: 650px;
}

.contrast-checker-links-header-subtitle {
  margin-top: 60px;
  font-size:18px;
  font-weight:400;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 0 !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.contrast-checker-links-header-subtitle:hover,
.contrast-checker-links-header-subtitle:focus {
  color: #ffffff !important;
  outline-offset: 2px;
}

.contrast-checker-links-header-nav {
  margin-top: 36px;
}

.contrast-checker-links-header-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* gap: 12px; */
  padding: 0;
  margin: 0;
  list-style: none;
}

.contrast-checker-links-header-item {
  display: flex;
  align-items: center;
}

.contrast-checker-links-header-item
  + .contrast-checker-links-header-item::before {
  content: "/";
  margin: 0 12px;
  color: rgba(186, 255, 207, 1);
}

@media (max-width: 1200px) {
  .contrast-checker-links-header {
    padding-inline: 20px;
  }
}

@media (max-width: 630px) {
  .contrast-checker-links-header-list {
    gap: 7px;
  }
}

.contrast-checker-links-header-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.contrast-checker-links-header-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contrast-checker-links-header-link:focus-visible {
  outline: 2px solid #f0f5ff;
  outline-offset: 4px;
  border-radius: 4px;
}

.contrast-checker-links-header-link--active {
  color: rgba(186, 255, 207, 1);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(186, 255, 207, 1);
  text-underline-offset: 5px;
}

.contrast-checker-links-header-link--active:hover {
  color: rgba(186, 255, 207, 1);
}

@media (max-width: 500px) {
  .contrast-checker-links-header-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .contrast-checker-links-header-item
    + .contrast-checker-links-header-item::before {
    content: "";
    margin: 0;
  }
}
