* {
  box-sizing: border-box;
}

/* First, reset the default outline */
button:focus,
a:focus {
  outline: none;
}

/* Then, apply a custom focus style ONLY when focus is visible (keyboard navigation) */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast);
  outline-offset: 2px;
}

/* For elements that might not be buttons or links but are interactive,
   you'd apply similar rules: */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

/**
 * Header
 */
header figure {
  display: flex;
  flex-direction: column;
}

/* .kb-nav-link-content {
  font-weight: 800 !important;
  &:hover {
    font-size: 800 !important;
  }
} */

.kb-nav-desktop-horizontal-layout-standard {
  height: fit-content;
}

.wp-block-kadence-header18-cpt-id.header-desktop-transparent {
  max-width: 1304px;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-kadence-off-canvas-triggerwilnaudesign-se__header_3de644-0b:is(
  :active,
  :focus
) {
  color: var(--wp--preset--color--base);
  fill: var(--wp--preset--color--base);
}

.menu-item-has-children button {
  transition: transform ease-in-out 0.3s;
}

.menu-item:not(.btw-header-button) .kb-nav-link-content {
  transition: all ease-in-out 0.2s;
  &:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    color: var(--wp--preset--color--accent-2) !important;
  }
}

.kb-off-canvas-inner
  .menu-item:not(.btw-header-button)
  .kb-nav-link-content:hover {
  color: var(--wp--preset--color--accent) !important;
}

@media (max-width: 1024px) {
  .menu-item-has-children.menu-item--toggled-on button > svg {
    transform: rotate(180deg);
  }
  .kb-nav-arrow-svg {
    color: var(--wp--preset--color--accent);
    fill: var(--wp--preset--color--accent);
  }
}
@media (min-width: 1025px) {
  .menu-item-has-children:hover button {
    transform: rotate(180deg);
  }

  .btw-mega-menu .sub-menu {
    position: relative;
    overflow: visible;
  }

  .btw-mega-menu .sub-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 10px solid var(--wp--preset--color--base);
    pointer-events: none;
  }
}

.btw-header-button a {
  padding: 12px 32px !important;
  border-radius: 2px;
  border: 2px solid var(--wp--preset--color--accent);
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.3),
    0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.btw-header-button:hover a {
  background-color: var(--wp--preset--color--accent);
}

@media (max-width: 1024px) {
  .btw-header-button {
    margin-top: 12px;
  }

  .btw-header-button:not(:hover) a {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--base) !important;
  }

  .btw-header-button:hover a {
    background-color: var(--wp--preset--color--accent-2);
    border-color: var(--wp--preset--color--accent-2);
  }
}

.wp-block-kadence-navigation14-cpt-id.kb-nav-desktop-horizontal-layout-standard {
  height: 100%;
}

/**
 * Footer
 */
/* Disclosure */
#disclosure-toggle svg {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

#disclosure-toggle.is-open svg {
  transform: rotate(180deg);
}

.disclosure-content {
  opacity: 0;
  height: 0px;
  overflow: hidden;
  transition: opacity 0.3s ease-in;
}

.disclosure-content.is-open {
  height: 100%;
  opacity: 1;
}

.wdse-footer-email {
  word-break: break-word;
}
