* {
  box-sizing: border-box;
}
.wp-block-template-part {
  margin-block-start: 0 !important;
}

/* 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;
}

.menu-item-has-children button {
  transition: transform ease-in-out 0.3s;
}
@media (max-width: 1024px) {
  .menu-item-has-children.menu-item--toggled-on button > svg {
    transform: rotate(180deg);
  }
}
@media (min-width: 1025px) {
  .menu-item-has-children:hover button {
    transform: rotate(180deg);
  }
}

:root .kb-nav-link-content:where(a:where(:not(.wp-element-button)):hover) {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed) !important;
  /* font-weight: 700 !important; */
}

.wp-block-kadence-navigation.kb-nav-desktop-horizontal-layout-stretch.navigation-desktop-orientation-horizontal
  > .navigation
  > .menu-container
  > .menu {
  justify-content: flex-start;
}

/**
 * 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;
}

#icon-check {
  #front-circle {
    color: var(--wp--preset--color--accent);
    fill: var(--wp--preset--color--accent);
  }
  #back-circle {
    color: var(--wp--preset--color--base-3);
    fill: var(--wp--preset--color--base-3);
  }
}

.podcast-dd-button__icon {
  color: var(--wp--preset--color--accent);
  fill: var(--wp--preset--color--accent);
}

.wp-block-wdb-podcast-button:has(.podcast-dd-input:checked)
  .podcast-dd-button__icon {
  transform: rotate(180deg);
}
