.forex-menu {
  position: sticky;
  top: 144rem;
  left: 270rem;
  width: 224rem;
  /* padding-top: 88rem; */
  /* padding-bottom: 100rem; */
  font-size: 16rem;
  height: 100%;
}

.forex-menu-pc-box {
  display: flex;
  flex-direction: column;
  gap: 40rem;
  max-height: calc(100vh - 88rem);
  overflow-y: auto;
}

.forex-menu-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.forex-menu-group:first-child {
  margin-top: 0;
}

.forex-menu-title {
  position: relative;
  color: #9f734c;
  font-size: 14rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  /* margin-bottom: 6rem; */
  padding-left: 28rem;
  padding-bottom: 12rem;
}
.ar .forex-menu-title {
  padding-left: 0;
  padding-right: 28rem;
}

.menu-icon1::before {
  font-family: "iconfont" !important;
  content: "\e620";
  font-size: 20rem;
  font-weight: normal;
  position: absolute;
  left: 0;
  top: 0;
}
.ar .menu-icon1::before {
  left: unset;
  right: 0;
}
.menu-icon2::before {
  font-family: "iconfont" !important;
  content: "\e622";
  font-size: 20rem;
  font-weight: normal;
  position: absolute;
  left: 0;
  top: 0;
}
.ar .menu-icon2::before {
  left: unset;
  right: 0;
}
.menu-icon3::before {
  font-family: "iconfont" !important;
  content: "\e621";
  font-size: 20rem;
  font-weight: normal;
  position: absolute;
  left: 0;
  top: 0;
}
.ar .menu-icon3::before {
  left: unset;
  right: 0;
}
.forex-menu-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  height: 1px;
  width: 150rem;
  background-color: #e1e6ed;
}

.forex-menu-link {
  position: relative;
  margin-top: 12rem;
  padding-left: 28rem;
  color: #232222;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: all 0.27s;
}
.ar .forex-menu-link {
  padding-left: 0;
  padding-right: 28rem;
}

.isCurrentLink::before,
.forex-menu-link::before {
  font-family: "iconfont" !important;
  content: "\e616";
  font-size: 12rem;
  position: absolute;
  left: 4rem;
  top: 5rem;
  color: #fff;
  transition: color 0.27s;
}
.ar .isCurrentLink::before,
.ar .forex-menu-link::before {
  right: 4rem;
  left: unset;
}
.mn .isCurrentLink::before,
.mn .forex-menu-link::before {
  top: 3rem;
}
.isCurrentLink::before {
  color: #a52933;
}
.isCurrentLink,
.forex-menu-link:hover {
  color: #a52933;
  font-weight: 700;
}

.isCurrentLink,
.forex-menu-link:hover::before {
  color: #a52933;
}

.forex-menu-mobile {
  display: none;
}
@media (max-width: 1440px) {
  .forex-menu {
    left: 40rem;
  }
}
@media (max-width: 996px) {
  .menu-show-btn {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-flex;
    padding-right: 30rem;
    justify-content: flex-end;
    align-items: center;
    height: 130rem;
    background: linear-gradient(
      to right,
      transparent 0,
      #ffffff 40%,
      #ffffff 100%
    );
    width: 150rem;
  }

  .forex-menu-mobile {
    display: block;
    position: sticky;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9998;
  }
  .forex-menu-mobile-link-box {
    display: inline-flex;
    align-items: center;
    height: 130rem;
    width: 100%;
    gap: 40rem;
    overflow: hidden;
    overflow-x: scroll;
    padding: 0 150rem 0 0;
  }
  .forex-menu-mobile-link {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    color: #232222;
    font-size: 28rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  .isCurrentMobileLink,
  .forex-menu-mobile-link:hover {
    color: #a52933;
  }
  .isCurrentMobileLink::after,
  .forex-menu-mobile-link:hover::after {
    content: "";
    width: 40rem;
    height: 2px;
    border-radius: 2px;
    background-color: #a52933;
    position: absolute;
    bottom: -16rem;
    left: calc(50% - 20rem);
  }

  .icon-navigate-down {
    font-size: 40rem;
    color: #b2afad;
    transition: transform 0.3s;
  }

  .all-menu-box {
    display: none;
    padding: 32rem 30rem;
    position: absolute;
    top: 130rem;
    left: -30rem;
    width: calc(100% + 60rem);
    background-color: #fff;
  }
  .forex-menu-mobile-show .all-menu-box {
    display: block;
  }
  .forex-menu-mobile-show .icon-navigate-down {
    transform: rotate(180deg);
  }

  .forex-link-title {
    position: relative;
    color: #9f734c;
    font-size: 28rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 32rem;
    padding-left: 56rem;
    padding-bottom: 0;
  }
  .menu-icon1::before,
  .menu-icon2::before,
  .menu-icon3::before {
    font-size: 40rem;
  }

  .forex-link-tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 24rem;
    margin-bottom: 48rem;
  }
  .forex-link-tag {
    color: #232222;
    font-size: 28rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 8rem;
    background: #f9fafc;
    border: 1px solid #f9fafc;
    height: 68rem;
    padding: 0 28rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .forex-link-tag:hover,
  .forex-link-tag-selected {
    background: #fff;
    border: 1px solid #a52933;
    color: #a52933;
  }
}
