/*=================================================
  *  BREAKPOINTS
  =================================================== */
/*=======================================
* MEDIA MAX
*=======================================*/
/*=======================================
* MEDIA MIN
*=======================================*/
/*=======================================
* MEDIA ONLY
*=======================================*/
/*=======================================
* MEDIA RANGE
*=======================================*/
.rt-menu.is-menu-horizontal {
  --menu-color: var(--wp--preset--color--body);
  --menu-color-active: var(--wp--preset--color--text-link-active);
  --menu-spacing: var(--wp--preset--spacing--40);
}

.rt-menu.is-menu-horizontal > ul {
  display: flex;
  flex-flow: row wrap;
  gap: 10px var(--menu-spacing);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rt-menu.is-menu-horizontal > ul ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rt-menu.is-menu-horizontal > ul ul li {
  list-style: none;
  position: relative;
}

.rt-menu.is-menu-horizontal .menu-item {
  position: relative;
}
.rt-menu.is-menu-horizontal .menu-item a {
  color: var(--menu-color) !important;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.rt-menu.is-menu-horizontal .menu-item a:focus, .rt-menu.is-menu-horizontal .menu-item a:active {
  text-decoration: none;
}
.rt-menu.is-menu-horizontal .menu-item a:focus {
  transform: scale(0.96);
}
.rt-menu.is-menu-horizontal .menu-item a:before {
  position: absolute;
  z-index: -1;
  height: 2px;
  bottom: -5px;
  left: 50%;
  right: 50%;
  visibility: hidden;
  content: "";
  background-color: var(--menu-color-active);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.rt-menu.is-menu-horizontal .menu-item.is-active > a, .rt-menu.is-menu-horizontal .menu-item.current-menu-parent > a, .rt-menu.is-menu-horizontal .menu-item.current-menu-item > a, .rt-menu.is-menu-horizontal .menu-item.current_page_item > a {
  color: var(--menu-color-active);
}
.rt-menu.is-menu-horizontal .menu-item.is-active > .rt-menu-arrow .rt-icon, .rt-menu.is-menu-horizontal .menu-item.current-menu-parent > .rt-menu-arrow .rt-icon, .rt-menu.is-menu-horizontal .menu-item.current-menu-item > .rt-menu-arrow .rt-icon, .rt-menu.is-menu-horizontal .menu-item.current_page_item > .rt-menu-arrow .rt-icon {
  color: var(--menu-color-active);
}
.rt-menu.is-menu-horizontal .menu-item.menu-item-has-children {
  padding-right: 1.25rem;
}

.rt-menu.is-menu-horizontal .rt-menu-arrow {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s linear;
  color: var(--menu-color);
}
.rt-menu.is-menu-horizontal .rt-menu-arrow .rt-icon {
  transition: 0.3s;
}
.rt-menu.is-menu-horizontal .rt-menu-arrow .rt-icon svg {
  width: 0.625rem;
  height: 0.625rem;
  vertical-align: 0.01rem;
}

.rt-menu.is-menu-horizontal .sub-menu {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform, opacity;
  font-size: 0.875rem;
  z-index: 999;
  border-radius: var(--wp--custom--border-radius--medium);
  min-width: 200px;
  background-color: var(--wp--preset--color--background);
  position: absolute;
  box-shadow: var(--wp--preset--shadow--medium);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-family: var(--wp--preset--font-family--body);
  font-weight: var(--wp--custom--font-weight--regular);
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item {
  padding: 0;
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item a {
  padding: 0.5rem 1.25rem !important;
  color: var(--menu-color);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item a:before {
  display: none;
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item a:hover {
  color: var(--menu-color-active);
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item .rt-icon {
  color: var(--menu-color);
  transition: color 0.3s;
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item:hover > .rt-menu-arrow .rt-icon {
  color: var(--menu-color-active);
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item.is-active > a {
  color: var(--menu-color);
  margin-left: 0.3125rem;
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item.is-active > a:before {
  visibility: visible;
  left: 0;
  right: 0;
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item.is-active > .rt-menu-arrow .rt-icon {
  color: var(--menu-color);
}
.rt-menu.is-menu-horizontal .sub-menu .menu-item .rt-menu-arrow {
  transform: rotate(-90deg);
  right: 0.625rem;
}
.rt-menu.is-menu-horizontal .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(15px);
}

.rt-menu.is-menu-horizontal .menu-item.is-active > .sub-menu,
.rt-menu.is-menu-horizontal .menu-item:hover > .sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
  animation: rtDropdownIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rt-menu.is-menu-horizontal .menu-item-has-children > a::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 15px;
  display: block;
}

.rt-menu.is-menu-horizontal .sub-menu .menu-item.is-active > .sub-menu,
.rt-menu.is-menu-horizontal .sub-menu .menu-item:hover > .sub-menu {
  transform: translateX(0);
}

.rt-menu.is-menu-horizontal.is-style-underline .menu-item {
  --menu-color-active: var(--menu-color);
}
.rt-menu.is-menu-horizontal.is-style-underline .menu-item a:hover:before {
  visibility: visible;
  left: 0;
  right: 0;
}
.rt-menu.is-menu-horizontal.is-style-underline .menu-item.is-active > a:before, .rt-menu.is-menu-horizontal.is-style-underline .menu-item.current-menu-parent > a:before, .rt-menu.is-menu-horizontal.is-style-underline .menu-item.current-menu-item > a:before, .rt-menu.is-menu-horizontal.is-style-underline .menu-item.current_page_item > a:before {
  visibility: visible;
  left: 0;
  right: 0;
}
.rt-menu.is-menu-horizontal.is-style-underline .sub-menu .menu-item a:hover {
  transform: translateX(5px);
}
.rt-menu.is-menu-horizontal.is-style-underline .sub-menu .menu-item a:focus {
  transform: translateX(0) scale(0.96);
}
.rt-menu.is-menu-horizontal.is-style-underline .menu-item.is-active > .rt-menu-arrow i {
  transform: rotate(180deg);
}
.rt-menu.is-menu-horizontal.is-style-underline .rt-menu-arrow i {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
}

.rt-menu.is-menu-horizontal.is-style-simple .menu-item {
  line-height: 1.2;
}
.rt-menu.is-menu-horizontal.is-style-simple a:hover, .rt-menu.is-menu-horizontal.is-style-simple a:focus {
  color: var(--menu-color-active);
}

/*=================================================
*  BAR LINK
=================================================== */
.rt-menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 19px;
  min-height: 15px;
  cursor: pointer;
}
.rt-menu-toggle span,
.rt-menu-toggle span:after,
.rt-menu-toggle span:before {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  height: 2px;
  content: "";
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
  background-color: var(--wp--preset--color--text-link);
}
.rt-menu-toggle span:before {
  top: -6px;
}
.rt-menu-toggle span:after {
  bottom: -6px;
}
.rt-menu-toggle:hover span:before {
  transform: translateY(1px);
}
.rt-menu-toggle:hover span:after {
  transform: translateY(-1px);
}
.rt-menu-toggle:active {
  transform: scale(0.85);
}
.rt-menu-toggle.is-active span {
  background-color: transparent !important;
}
.rt-menu-toggle.is-active span:before {
  top: 0;
  transform: rotate(45deg);
}
.rt-menu-toggle.is-active span:after {
  top: 0;
  transform: rotate(-45deg);
}

.rt-menu-toggle.has-toggle-point {
  position: relative;
}
.rt-menu-toggle.has-toggle-point:before {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50px;
  background-color: var(--wp--preset--color--highlight);
  z-index: 1;
}

/*=================================================
*  MOBILE DROPDOWN OFF-CANVAS
=================================================== */
.rt-offcanvas-menu-dropdown {
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
  display: none;
  pointer-events: none;
  box-shadow: var(--wp--preset--shadow--medium);
  background: var(--wp--preset--color--background);
  max-height: 100vh;
  overflow-y: auto;
}
.rt-offcanvas-menu-dropdown.is-active {
  pointer-events: auto;
}

.rt-menu.is-menu-vertical {
  --menu-color: var(--wp--preset--color--body);
  --menu-spacing: .5rem;
}
.rt-menu.is-menu-vertical ul {
  margin: 0;
  padding: 0;
}
.rt-menu.is-menu-vertical ul li {
  list-style: none;
  position: relative;
}
.rt-menu.is-menu-vertical .menu-item a {
  color: var(--menu-color);
  position: relative;
  padding: var(--menu-spacing) 0.9375rem;
  cursor: pointer;
  display: block;
}
.rt-menu.is-menu-vertical .menu-item a:focus, .rt-menu.is-menu-vertical .menu-item a:active {
  text-decoration: none;
}
.rt-menu.is-menu-vertical .rt-menu-arrow {
  color: var(--menu-color);
  position: absolute;
  padding: var(--menu-spacing) 0.9375rem;
  right: 0;
  top: 0;
  display: block;
  cursor: pointer;
}
.rt-menu.is-menu-vertical .rt-menu-arrow .rt-icon {
  display: block;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rt-menu.is-menu-vertical .rt-menu-arrow .rt-icon svg {
  width: 0.625rem;
  height: 0.625rem;
  vertical-align: 0.01rem;
}
.rt-menu.is-menu-vertical .rt-menu-arrow.is-active .rt-icon {
  transform: rotate(180deg);
}
.rt-menu.is-menu-vertical .sub-menu {
  display: none;
  padding-left: 15px;
  list-style: none;
  margin: 0;
}
.rt-menu.is-menu-vertical .sub-menu .sub-menu {
  padding-left: 10px;
}
.rt-menu.is-menu-vertical .sub-menu .menu-item a {
  border: none;
}
.rt-menu.is-menu-vertical .sub-menu .rt-menu-arrow {
  border: none;
}