.footer-shared-section {
  margin-top: 60px !important;
  padding-top: 84px !important;
  padding-bottom: 52px !important;
}

.page-footer-wrapper .page-footer-inner {
  padding-top: 40px;
}

.pc-captcha {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fafafa;
  margin-bottom: 16px;
}

.pc-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pc-human-check {
  width: 18px;
  height: 18px;
}

.pc-human-note {
  color: #666;
  font-size: 13px;
}

.pc-captcha-image {
  display: grid;
  gap: 8px;
}

.pc-captcha-image img {
  max-width: 200px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.pc-captcha-image input {
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d7d7d7;
}

.pc-captcha-refresh {
  align-self: start;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  color: #333;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
}

.pc-captcha-refresh:hover {
  border-color: #bdbdbd;
}

.pc-captcha-image {
  margin-bottom: 12px;
  position: relative;
}

.pc-captcha-verify {
  align-self: start;
  background: #086ad8;
  border: 1px solid #086ad8;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.pc-captcha-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pc-captcha-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pc-captcha-check--show {
  opacity: 1;
  transform: scale(1);
}

.pc-captcha-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  color: #2e7d32;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.pc-captcha-success--show {
  opacity: 1;
  transform: scale(1);
}

.pc-captcha-failure {
  margin-top: 4px;
  margin-bottom: 12px;
  color: #b00020 !important;
  font-weight: 600;
}

.pc-field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #b00020;
  font-weight: 600;
}

.pc-field-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.pc-captcha-retry {
  align-self: start;
  background: #b00020;
  border: 1px solid #b00020;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.pc-captcha-retry:hover {
  background: #8e001a;
  border-color: #8e001a;
}

.pdf-indicator {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.9em;
  font-weight: 600;
}

.footer-shared-section .tm-heading .heading,
.footer-shared-section .tm-heading .heading a {
  color: #333333;
}

#tm-heading-6967abbb69f49 .heading {
  color: #333333 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  background: #ffffff;
  color: #086ad8;
  padding: 10px 14px;
  border: 2px solid #086ad8;
  border-radius: 6px;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #086ad8;
  outline-offset: 2px;
}

.pc-human-check:disabled + label {
  opacity: 0.6;
}

.tm-contact-form-7 .form-submit {
  margin-top: 20px !important;
}

.tm-contact-form-7 .form-submit input[type="submit"],
.tm-contact-form-7 .contact-form-submit {
  margin-top: 12px !important;
}

.wpcf7-form .pc-captcha {
  margin-bottom: 24px !important;
}

.wpcf7-form .form-submit {
  margin-top: 24px !important;
}

.wpcf7-form .form-submit input[type="submit"],
.wpcf7-form .wpcf7-submit {
  margin-top: 12px !important;
}

/* Contrast improvements */
body {
  color: #333;
}

.page-content,
.page-footer,
.page-footer-wrapper {
  color: #333;
}

.page-content p,
.page-content li,
.page-content .tm-heading .heading,
.page-content .tm-list .title,
.page-content .tm-list .link,
.page-content .tm-list .item-wrapper,
.page-footer .tm-heading .heading,
.page-footer .tm-list .title,
.page-footer .tm-list .link,
.page-footer .tm-list .item-wrapper {
  color: #333;
}

.page-content a:not(.tm-button):not(.button):not(.btn) {
  color: #0a4aa8;
}

.page-content a:not(.tm-button):not(.button):not(.btn):hover,
.page-content a:not(.tm-button):not(.button):not(.btn):focus {
  color: #084a94;
}

.page-footer a:not(.tm-button):not(.button):not(.btn) {
  color: #333;
}

.page-footer a:not(.tm-button):not(.button):not(.btn):hover,
.page-footer a:not(.tm-button):not(.button):not(.btn):focus {
  color: #086ad8;
}

.sm-simple .children a,
.sm-simple .sub-menu a,
.sm-simple .tm-list .item-wrapper {
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
  color: #333;
}

::placeholder {
  color: #666;
  opacity: 1;
}

.page-title-bar-01 .sub-title {
  color: #333;
}

.page-footer .tm-button.style-flat {
  color: #084a94 !important;
  border-color: #084a94 !important;
  background: #fff;
}

.page-footer .tm-button.style-flat:hover,
.page-footer .tm-button.style-flat:focus {
  color: #fff !important;
  background: #084a94;
  border-color: #084a94;
}

.rs-layer[data-type="text"] {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

:focus-visible {
  outline: 3px solid #0a4aa8 !important;
  outline-offset: 2px !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0a4aa8 !important;
  outline-offset: 2px !important;
}

.skip-link:focus-visible {
  outline-offset: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.search-page {
  padding: 40px 0 80px;
}

.search-page__header h2 {
  margin-bottom: 8px;
}

.search-page__form {
  margin: 20px 0 24px;
}

.search-page__label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.search-page__field {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-page__input {
  flex: 1 1 280px;
  min-width: 0;
}

.search-page__status {
  margin-top: 8px;
  color: #333;
}

.search-page__results {
  margin-top: 24px;
}

.search-result {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.search-result__title {
  margin: 0 0 6px;
  font-size: 20px;
}

.search-result__title a {
  color: #0a4aa8;
}

.search-result__url {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.search-result__snippet {
  margin: 0;
}

.search-page__empty {
  margin-top: 16px;
}
