/* Accessibility layer, preserving AbilNova's established visual identity. */
:root {
  --a11y-blue: #0069b4;
  --a11y-gray: #595959;
}
[hidden] {
  display: none !important;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -10rem;
  z-index: 2147483647;
  padding: 1.2rem 2rem;
  background: #fff;
  color: #03365a;
  font-size: 1.8rem;
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}
body:not(.a11y-pointer) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #03365a !important;
}
#main:focus {
  outline: none;
}
html {
  scroll-padding-top: 11rem;
}
:target,
input,
textarea,
select,
button {
  scroll-margin-top: 11rem;
}
.header__menu-desktop a {
  display: inline-block;
}
.header-mobile__trigger,
.search-popup__trigger {
  background: transparent;
  border: 0;
  color: #064b7c;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.a11y-dialog-open {
  overflow: hidden;
}
.menu-tendina {
  z-index: 100010;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  max-width: min(45rem, 100vw);
  overflow: auto;
  overscroll-behavior: contain;
  transform: none;
  transition: none;
  padding: 2rem;
}
.menu-tendina > .flex {
  height: auto;
  padding: 0;
}
.menu-tendina__inner {
  width: 100%;
  padding: 1rem 0;
  align-content: start;
}
.menu-tendina nav {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.4;
}
.menu-tendina .title-xl li {
  margin: 0.5rem 0;
}
.menu-tendina a {
  display: block;
  padding: 1rem;
  overflow-wrap: anywhere;
}
.menu-close {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  padding: 1rem;
  min-height: 44px;
  color: #fff;
  font-size: 1.8rem;
  background: transparent;
  border: 2px solid #fff;
}
.menu-close span {
  font-size: 2.8rem;
}
.backplate--open {
  z-index: 100005 !important;
}
:is(#site-search, #job-application) {
  position: fixed;
  inset: 0;
  z-index: 100010;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
}
:is(#site-search, #job-application) .o-popup__body {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(80rem, calc(100% - 4rem));
  min-width: 0;
  max-width: none;
  margin: 12rem auto 3rem;
  background: #fff;
  opacity: 1;
}
:is(#site-search, #job-application) .o-popup__close {
  width: 44px;
  height: 44px;
  padding: 6px;
}
:is(#site-search, #job-application) .o-popup__close > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.accessible-search {
  width: 100%;
  color: #333;
}
.accessible-search label {
  display: block;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.search-fields {
  align-items: stretch;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.search-fields > input,
.search-fields > button {
  margin: 0;
  min-height: 48px;
  box-sizing: border-box;
}
.search-fields input {
  min-width: 0;
  flex: 1 1 18rem;
  border: 2px solid #595959;
  padding: 1rem;
  font-size: 1.8rem;
}
.search-fields button {
  min-height: 44px;
}
/* Text must never depend on animation completion or JavaScript. */
.element-animate,
.element-animate--done,
.section-animate .opacity-0 {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
.cover,
.cover::before,
.cover::after {
  animation: none !important;
}
.lax-scroll-1,
.lax-scroll-2,
.lax-scroll-3 {
  transform: none !important;
}
a,
button,
.header-v1,
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  transition-duration: 0.1s !important;
  transition-delay: 0s !important;
}
.text-gray,
.text-black-light,
.card-post__info {
  color: var(--a11y-gray);
}
.text-brand_01 {
  color: var(--a11y-blue);
}
.button-v1:not(.button-v1--light):not(.button-v1--outline) {
  background-color: var(--a11y-blue);
  color: #fff;
}
#main p a:not(.button):not(.button-v1),
#main li a:not(.button),
.accessibility-content a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
#main .has-vivid-cyan-blue-color {
  color: var(--a11y-blue) !important;
}
.card-pt__img > .title-xs {
  background: #064b7c;
}
.breadcrumbs,
.breadcrumb {
  color: #595959;
}
.footer__newsletter .form-item {
  flex-wrap: wrap;
}
.newsletter-label {
  display: block;
  flex: 0 0 100%;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.footer__newsletter input[type="email"] {
  width: 100%;
  min-width: 0;
  flex: 1 1 15rem;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 1rem;
}
.footer__newsletter .form-submit {
  min-height: 44px;
  min-width: 10rem;
}
.footer__newsletter input[type="checkbox"] {
  appearance: auto;
  width: 20px;
  height: 20px;
  margin: 1rem 0.8rem 1rem 0;
  vertical-align: middle;
}
.footer .form-checkbox + label::before,
.footer .form-checkbox + label::after {
  display: none;
}
.wpcf7 .field > label {
  display: block;
  font-size: 1.6rem;
  color: #333;
}
.wpcf7
  :is(input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]), textarea, select) {
  border: 2px solid #595959;
  background: #fff;
  color: #333;
}
.wpcf7-not-valid-tip {
  color: #a80000;
}
.footer a {
  overflow-wrap: anywhere;
}
.accessibility-content {
  max-width: 90rem;
  padding: 14rem 2rem 6rem;
  margin: auto;
  color: #333;
  font-size: 1.8rem;
  line-height: 1.65;
}
.accessibility-content h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #064b7c;
}
.accessibility-content h2 {
  font-size: 2.6rem;
  margin: 3rem 0 1rem;
  color: #064b7c;
}
.accessibility-content p,
.accessibility-content ul {
  margin-bottom: 1.5rem;
}
.accessibility-content ul {
  padding-left: 2.5rem;
}
@media (max-width: 767px) {
  .header .logo img {
    max-width: 100%;
    height: auto;
    max-height: 6rem;
  }
  .header .logo {
    min-width: 0;
  }
  .header-mobile__trigger {
    margin-left: 0.3rem;
    padding: 0 0.5rem;
  }
  .share-buttons {
    position: static;
  }
  .share-buttons > div {
    flex-direction: row;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.footer__newsletter label.option {
  visibility: visible !important;
  position: static !important;
  display: inline !important;
}
#wp_access_helper_container:not(.active) #access_container {
  visibility: hidden;
}
body {
  overflow-x: clip;
}
.page-id-2572 #main > .wp-block-heading {
  margin: 13rem auto 2rem;
  padding: 0 2rem;
  max-width: 120rem;
  font-size: 3.2rem;
  color: #064b7c;
}

/* Keep WAH's launcher on screen without an off-canvas box widening the page. */
#wp_access_helper_container:not(.active) {
  right: 0 !important;
  width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#wp_access_helper_container.active {
  max-width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.footer__newsletter input::placeholder {
  color: #fff !important;
  opacity: 1;
}
.footer__newsletter label {
  color: #fff !important;
}
.head .breadcrumbs,
.head .breadcrumb,
.head-v1 .breadcrumbs,
.head-v2 .breadcrumbs,
.head-v1 .breadcrumb,
.head-v2 .breadcrumb {
  color: #fff;
}
#wp_access_helper_container:not(.active) #access_container {
  position: fixed;
  right: 0;
  top: 0;
  width: 350px;
  transform: translateX(100%);
}
#wp_access_helper_container:not(.active) .wah-free-credits {
  position: fixed;
  right: 0;
  top: 95%;
  width: 350px;
  transform: translateX(100%);
}
html {
  overflow-x: clip;
}

#job-application .o-popup__body {
  max-height: none;
}
#job-application .o-popup__close {
  position: sticky;
  top: 1rem;
  margin-left: auto;
  display: block;
}
/* WAH's narrow-screen rule overlaps the hamburger; keep its launcher below navigation. */
body #wp_access_helper_container .aicon_link {
  position: fixed !important;
  top: auto !important;
  bottom: 8rem !important;
  right: 1rem !important;
  left: auto !important;
  transform: none !important;
}
body.a11y-dialog-open .aicon_link {
  visibility: hidden;
}

.footer__contact-row {
  width: 100%;
  min-width: 0;
}
.footer__contact-row > div {
  min-width: 0;
}

/* Validation feedback stays in the reading flow instead of covering adjacent fields. */
body .wpcf7 span.wpcf7-not-valid-tip { position:static !important; display:block; margin:.5rem 0; padding:.5rem !important; font-size:1.4rem !important; line-height:1.5; }

/* Keep explicit labels in normal flow, including at narrow widths. */
.footer__newsletter .newsletter-label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 .8rem;
  line-height: 1.5;
}
.footer__newsletter .form-item {
  margin: 0 0 1rem;
  align-items: stretch;
}
.footer__newsletter .form-item > input {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 48px;
}
.footer a:not(.button):not(.button-v1):hover, .footer a:not(.button):not(.button-v1):focus-visible {
  text-decoration: underline;
  text-underline-offset: .18em;
}
@keyframes a11y-entrance {
  from { opacity: .92; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.remove_animations) .element-animate.a11y-enter img {
    animation: a11y-entrance .3s ease-out both !important;
  }
}
/* Legacy Customizer rules replace labels with absolutely positioned text. */
.footer--v1 .footer__newsletter label,
.footer--v1 .footer__newsletter label a {
  visibility: visible !important;
  position: static !important;
}
.footer--v1 .footer__newsletter label::after,
.footer--v1 .footer__newsletter label a::after {
  content: none !important;
  display: none !important;
}
.footer a[href$="/privacy-policy/"],
.footer a[href$="/cookie-policy/"] {
  visibility: visible !important;
  pointer-events: auto !important;
}
.footer a[href$="/privacy-policy/"]::after,
.footer a[href$="/cookie-policy/"]::after {
  content: none !important;
}
.footer__newsletter .form-submit {
  flex: 0 0 auto;
  width: auto;
  padding-inline: 1.2rem;
}
.footer--v1 .footer__newsletter input::placeholder {
  color: #fff !important;
  opacity: 1;
}

/* Prose links remain recognizable without hovering; buttons already have a shape. */
.footer p a:not(.button):not(.button-v1),
.footer .footer__newsletter label a,
.footer .footer__bottom a:not(.button):not(.button-v1) {
  text-decoration: underline;
  text-underline-offset: .18em;
}
body:not(.is_underline) .footer :is(a.button, a.button-v1, button),
body:not(.is_underline) .footer :is(a.button, a.button-v1, button):hover,
body:not(.is_underline) .footer :is(a.button, a.button-v1, button):focus-visible {
  text-decoration: none;
}
/* No residual ring after pointer-triggered programmatic focus restoration. */
body.a11y-pointer:not(.wah_keyboard_access) :is(.header button, .o-popup button, .o-popup input):focus {
  outline: none !important;
  box-shadow: none !important;
}
body:not(.a11y-pointer) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  transition: none !important;
}
/* Focus changes must be immediate in both directions, including blur. */
.header :is(.search-popup__trigger, .header-mobile__trigger) {
  transition: none !important;
}
.header :is(.search-popup__trigger, .header-mobile__trigger):not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
