/* Shared visual overrides for the normalized Django templates. */
#t-header a.t-menu__link-item {
  color: #fff !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

#t-header.t-records .r a.t-menu__link-item.t-active:not(.t978__menu-link) {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration-line: underline;
  text-decoration-color: #d00010;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

#t-header a.t-menu__link-item:focus-visible {
  color: #fff !important;
  outline: 2px solid #fff;
  outline-offset: 5px;
}

#t-header .t-sociallinks__svg path {
  fill: #fff !important;
}

#t-header .t-sociallinks__item a {
  opacity: 1;
  transition: opacity 160ms ease;
}

@media (hover: hover) {
  #t-header .t-sociallinks__item a:hover {
    opacity: 0.72;
  }
}

#t-header .t-sociallinks__item a:focus-visible {
  border-radius: 50%;
  outline: 2px solid #fff;
  outline-offset: 4px;
}

#t-footer .footer-email-copy {
  color: inherit;
  cursor: copy;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

@media (hover: hover) {
  #t-footer .footer-email-copy:hover {
    color: #fff;
    text-decoration-color: currentColor;
  }
}

#t-footer .footer-email-copy:focus-visible {
  color: #fff;
  border-radius: 3px;
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.email-copy-status {
  position: fixed;
  z-index: 2147483001;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  color: #fff;
  background: rgba(15, 15, 15, 0.98);
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.42);
  font: 600 13px/1.4 "Montserrat", Arial, sans-serif;
}

.email-copy-status_error {
  border-color: #d00010;
}

.email-copy-status[hidden] {
  display: none !important;
}

html[dir="rtl"] .email-copy-status {
  right: auto;
  left: 20px;
  text-align: right;
}

@media (max-width: 639px) {
  .email-copy-status,
  html[dir="rtl"] .email-copy-status {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #t-header .t-sociallinks__item a,
  #t-footer .footer-email-copy {
    transition: none;
  }
}
