.nav-item {
  transition: all 0.3s ease-in-out;
}

.dropdown-menu-v2-target {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  display: none;
  min-width: 200px;
  background-color: transparent;
  opacity: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  color: #0D2240;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  text-transform: capitalize;
  transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.dropdown-menu-v2-target[data-show] {
  display: block;
  background-color: #F3C300;
  opacity: 1;
}

.dropdown-menu-v2-target a {
  color: #0D2240;
}

.dropdown-menu-v2-target a:hover {
  text-decoration: none;
  color: #0D2240;
}

.dropdown-menu-v2-target .subitem-lvl2[data-menu-open='1'] {
  background-color: #FFE88B;
}

.dropdown-menu-v2-target .subitem1 {
  padding: 10px 24px;
}

.dropdown-menu-v2-target .subitem1:hover {
  background-color: #FFE88B;
}

.dropdown-mega-menu-v2-target {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  min-width: 200px;
  background-color: transparent;
  opacity: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  color: #0D2240;
  padding: 20px;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  text-transform: capitalize;
  transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
  width: 100%;
  gap: 20px;
}

.dropdown-mega-menu-v2-target[data-show] {
  display: grid;
  background-color: #F3C300;
  opacity: 1;
  row-gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .dropdown-mega-menu-v2-target[data-show] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .dropdown-mega-menu-v2-target[data-show] {
    grid-template-columns: repeat(5, 1fr);
  }
}

.dropdown-mega-menu-v2-target a:hover {
  text-decoration: underline;
}

.dropdown-mega-menu-v2-target .subitem-lvl2[data-menu-open='1'] {
  background-color: #FFE88B;
}

.dropdown-mega-menu-v2-target .subitem1 {
  padding: 10px 24px;
}

.dropdown-mega-menu-v2-target .subitem1:hover {
  background-color: #FFE88B;
}

.mega-menu-l2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.mega-menu-l2-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 14px;
  color: #0D2240;
}

.mega-menu-l2-title:hover {
  text-decoration: underline;
  color: #7A2582;
}

.mega-menu-l3-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.mega-menu-l3-title a {
  color: #0D2240;
}

.mega-menu-l3-title a:hover {
  text-decoration: underline;
  color: #0044BE;
}

.nav-item-container {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0D2240;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  text-transform: capitalize;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
}

.nav-item-container a {
  padding: 0;
}

.nav-item-container:hover {
  background-color: #F3C300;
}

.nav-item-container[data-menu-open] {
  background-color: #F3C300;
}

.rotate-180 {
  transform: rotate(180deg);
}

.btn-nav-menu-trigger {
  padding: 0;
  background: transparent;
  border: none;
  transition: all 0.3s ease-in-out;
}

.btn-nav-menu-trigger:focus {
  box-shadow: none;
}

.user-account-heading-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-account-heading-container img {
  padding: 10px 0;
  height: 60px;
  width: 100%;
  border-radius: 50%;
}

.members-area-trigger-button {
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.members-area-trigger-button::after {
  content: "";
  width: 14px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.9263 0.390379C13.1762 0.640416 13.3167 0.979494 13.3167 1.33305C13.3167 1.6866 13.1762 2.02568 12.9263 2.27571L6.65027 8.55171L0.374268 2.27571C0.13139 2.02424 -0.00300312 1.68744 3.52859e-05 1.33784C0.00307274 0.988249 0.143299 0.653832 0.390511 0.406621C0.637721 0.15941 0.972138 0.0191851 1.32173 0.0161476C1.67133 0.0131092 2.00813 0.147502 2.2596 0.390379L6.65027 4.78105L11.0409 0.390379C11.291 0.140418 11.63 -2.86102e-06 11.9836 -2.86102e-06C12.3372 -2.86102e-06 12.6762 0.140418 12.9263 0.390379Z' fill='currentColor'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.members-area-trigger[data-menu-open] .members-area-trigger-button::after,
.members-area-trigger-button[aria-expanded='true']::after {
  transform: rotate(180deg);
}

.members-area-trigger-button:focus-visible {
  outline: 2px solid #0044BE;
  outline-offset: 3px;
  border-radius: 4px;
}

.members-area-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 34, 64, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1250;
}

.members-area-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.members-area-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 92vw;
  height: 100vh;
  background: #F3C300;
  border-left: 1px solid #A48000;
  box-shadow: -14px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1300;
  display: flex;
  flex-direction: column;
}

.members-area-panel.is-open {
  transform: translateX(0);
}

.members-area-panel-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #F3C300;
  border-bottom: 1px solid rgba(13, 34, 64, 0.2);
}

.members-area-panel-back,
.members-area-panel-close {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #0D2240;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease-in-out;
}

.members-area-panel-back svg,
.members-area-panel-close svg {
  display: block;
}

.members-area-panel-back {
  opacity: 0;
  pointer-events: none;
}

.members-area-panel-back.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.members-area-panel-back:hover,
.members-area-panel-close:hover {
  background: #FFE88B;
}

.members-area-panel-back:focus-visible,
.members-area-panel-close:focus-visible {
  outline: 2px solid #0044BE;
  outline-offset: 2px;
}

.members-area-panel-title {
  flex: 1;
}

.members-area-panel-title-main {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: #0D2240;
}

.members-area-panel-title-crumb {
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
  color: #0D2240;
  opacity: 0.8;
}

.members-area-panel-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.members-area-pages {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.members-area-page {
  min-width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 0;
}

.members-area-section {
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #F3C300;
}

.members-area-section-title {
  display: none;
}

.members-area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 10px 24px;
  background: #F3C300;
  border: 0;
  border-bottom: 1px solid rgba(13, 34, 64, 0.16);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  text-align: left;
  color: #0D2240;
  text-decoration: none;
  transition: background 0.18s ease-in-out, color 0.18s ease-in-out;
}

.members-area-item:hover {
  background: #FFE88B;
  color: #0D2240;
  text-decoration: none;
}

.members-area-item:focus-visible {
  outline: 2px solid #0044BE;
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

.members-area-item.is-active,
.members-area-item.is-current,
.members-area-item[aria-current='page'] {
  background: #FFE88B;
  color: #0D2240;
}

.members-area-item:not(a):not(button) {
  cursor: default;
  color: #0D2240;
}

.members-area-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.members-area-item-arrow {
  color: #0D2240;
  min-width: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.members-area-item-arrow svg {
  display: block;
}

.members-area-tree {
  display: none;
}

body.members-area-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .members-area-panel {
    width: 100%;
  }

  .members-area-panel-header {
    padding: 12px;
  }

  .members-area-section-title,
  .members-area-item {
    padding-left: 16px;
    padding-right: 16px;
  }

  .members-area-item {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .members-area-trigger-button::after,
  .members-area-overlay,
  .members-area-panel,
  .members-area-pages {
    transition: none;
  }
}
