.forex-wrapper-body {
  font-size: 16rem;
}
.flex-center {
  display: flex;
  justify-content: center;
}

/* 全局样式确保能覆盖 teleport 后的元素 */
:where(.el-drawer__body) {
  height: 100%;
}

:where(.el-drawer.btt) {
  border-top-left-radius: 48rem !important;
  border-top-right-radius: 48rem !important;
  overflow: hidden;
}

:where(.el-drawer__container) {
  border-top-left-radius: 48rem;
  border-top-right-radius: 48rem;
  overflow: hidden;
}

.section1 {
  /* background: url("/ebc-static/image/forex/webinars/index_bg.png");
  background-repeat: no-repeat;
  background-size: 461rem 337rem;
  background-position: right center; */
  /* min-height: 337rem; */
  /* padding-right: 550rem; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100rem;
}
.section1-bg {
  flex-shrink: 0;
  width: 380rem;
}
.section1 h1 {
  font-weight: 700;
}
/* .section1 h1 {
  color: var(--Text-Primary, #000);
  font-size: 72rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.22;
}

.section1 .title-intro {
  margin-top: 24rem;
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 18rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.44;
} */
.section1-btn-box {
  margin-top: 72rem;
}

.section1-btn-box > a {
  min-width: 200rem;
}

.section2,
.section3,
.section4,
.section5,
.section6 {
  margin-top: 90rem;
}
/* .section2 h2 {
  color: var(--Text-Primary, #000);
  font-size: 24rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
} */
.section2 .titlex-box,
.section3 .titlex-box,
.section4 .titlex-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.section2-card-list {
  margin-top: 32rem;
  display: flex;
  flex-direction: column;
  gap: 20rem;
}
.section2-card {
  display: flex;
  padding: 20rem 32rem 20rem 20rem;
  border-radius: var(--Corner-Radius-RC12, 12rem);
  background: var(--Neutral-BG_B, #f7f7f7);
  gap: 32rem;
}
.section2-card-avatar-box {
  width: 122rem;
  height: 122rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 8rem;
  flex-shrink: 0;
  align-self: center;
}
.section2-card-avatar {
  height: 122rem;
  width: 122rem;
  flex-shrink: 0;
  object-fit: cover;
}

.section2-card-name {
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 16rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.section2-card-content-title {
  margin-top: 12rem;
  color: #000;
  font-size: 20rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  height: 56rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* 限制显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.section2-card-content {
  flex-grow: 1;
}

.section2-card-btn-box {
  flex-shrink: 0;
  align-self: center;
}
.section2-card-btn-box a {
  transition: all 0.3s;
}
.section2-card-btn-box:hover a {
  color: #fff;
  background: #a52933;
}

.section2-card-content-info {
  margin-top: 18rem;
  display: flex;
  gap: 12rem;
  color: var(--Text-Tertiary, rgba(0, 0, 0, 0.48));
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.57;
}
.date-select-box {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.date-select-box .icon-a-down {
  font-size: 16rem;
  transition: all 0.3s;
}

.date-select-box .rotate {
  transform: rotate(180deg);
}
.btn-text {
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  text-align: right;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  cursor: pointer;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  text-align: right;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  cursor: pointer;
}
.more-btn:hover {
  color: #a52933;
}
.more-btn .icon-chevron_right {
  font-size: 14rem;
  font-style: normal;
  line-height: 1.7;
}

.section3-video-list {
  display: flex;
}
.section3-video {
  display: inline-block;
  position: relative;
  width: 100%;
}

.live-program-list-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 32rem;
  border-bottom: 1px solid #e1e6ed;
}
.swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.live-program-list {
  margin-top: 34rem;
}

.live-program-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  /* width: 353rem; */
  width: 100%;
}

.live-program-item:hover::after {
  position: absolute;
  left: 0;
  bottom: -32rem;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #a52933;
}

.live-program-item-img {
  /* width: 353rem; */
  /* height: 200rem; */
  width: 100%;
  border-radius: 8rem;
}

.live-program-item-title {
  width: 100%;
  margin-top: 32rem;
  color: #232222;
  font-size: 20rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
}

.live-program-item-intro {
  position: relative;
  padding-right: 40rem;
  margin-top: 16rem;
  display: flex;
  align-items: center;
  gap: 10rem;
  color: var(--Text-Tertiary, rgba(0, 0, 0, 0.48));
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.57;
}
.live-program-item-intro-line {
  width: 1px;
  height: 12rem;
  background: var(--Neutral-Stroke, rgba(0, 0, 0, 0.12));
}
.ar .live-program-item-intro {
  padding-left: 40rem;
  padding-right: 0;
}

.section4-card:hover .section4-card-content .p2::after,
.live-program-item:hover .live-program-item-intro::after {
  color: #6a6967;
}

.section4-card-content .p2::after,
.live-program-item-intro::after {
  font-family: "iconfont" !important;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20rem;
  line-height: normal;
  content: "\e618";
  color: #fff;
  cursor: pointer;
}
.ar .live-program-item-intro::after {
  left: 0;
  right: unset;
}

.section4-content {
  margin-top: 32rem;
}

.section4-card {
  width: 100%;
}

.section4-card-content {
  margin-top: 32rem;
}
.section4-card-content .p1 {
  color: #000;
  font-family: Sinter;
  font-size: 20rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}
.section4-card-content .p2 {
  position: relative;
  margin-top: 8rem;
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.57;
  padding-right: 40rem;
}
.ar .section4-card-content .p2 {
  padding-left: 40rem;
  padding-right: 0;
}
.section4-card-img {
  width: 100%;
  height: auto;
  border-radius: 8rem;
}
.section4b-card-box {
  width: 100%;
}
.section4-swiperb {
  padding-bottom: 40rem;
}
.section4b-card {
  height: 260rem;
  width: 100%;
  border-radius: var(--Corner-Radius-RC12, 12rem);
  background: var(--Neutral-BG_B, #f7f7f7);
  display: flex;
  justify-content: space-between;
  gap: 32rem;
  padding: 0 0 0 40rem;
}
.ar .section4b-card{
    padding: 0 40rem 0 0 ;
  }
.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.24);
}
.swiper-pagination-bullet-active {
  background: rgba(0, 0, 0, 0.24);
}
.section4b-card-content {
}
.section4b-card-name {
  margin-top: 42rem;
  color: var(--Text-Primary, #000);
  font-size: 48rem;
  font-style: normal;
  font-weight: 700;
  line-height: 56rem;
}

.section4b-card-lang {
  margin-top: 16rem;
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 22rem;
  display: inline-flex;
  gap: 4rem;
  align-items: center;
}

.section4b-card-lang .icon-forex-language {
  font-size: 20rem;
}

.section4b-card-introduction {
  margin-top: 32rem;
  color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: 24rem;

  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* 限制显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section4b-card-introduction-m {
  display: none;
}

.section4b-card-img {
  flex-shrink: 0;
  align-self: flex-end;
  width: 372rem;
}

/* .section4-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -ms-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
} */

@media (max-width: 996px) {
  .section1 {
    flex-direction: column;
    gap: 56rem;
    padding-top: 56rem;
  }
  .section1-bg {
    order: 1;
  }
  .section1-content {
    order: 2;
  }
  /* .section1 h1 {
    text-align: center;
    font-size: 64rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25; 
  }
  .section1 .title-intro {
    margin-top: 16rem;
    color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
    text-align: center;
    font-size: 28rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.57;
  } */
  .section1-btn-box {
    margin-top: 64rem;
  }
  .section2,
  .section3,
  .section4,
  .section5,
  .section6 {
    margin-top: 80rem;
  }
  .btn-text .icon-chevron_right,
  .btn-text {
    font-size: 28rem;
  }

  .section2-card-list {
    margin-top: 56rem;
  }
  .live-program-item-img {
    border-radius: 16rem;
  }
  .live-program-item-title {
    font-size: 32rem;
    margin-top: 64rem;
  }
  .live-program-item-intro {
    margin-top: 24rem;
    font-size: 28rem;
    gap: 24rem;
  }
  .live-program-item-intro-line {
    height: 24rem;
  }

  .section4-card-content .p1 {
    margin-top: 48rem;
    font-size: 36rem;
  }
  .section4-card-content .p2 {
    font-size: 28rem;
    padding: 0;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
  }
  .section4-card-content .p2::after {
    display: none;
  }
  .live-program-item-intro::after {
    font-size: 28rem;
    line-height: 1.57;
  }
  .section4-card-img {
    border-radius: 16rem;
  }

  .section2-card {
    flex-direction: column;
    gap: 40rem;
    padding: 32rem;
    border-radius: 16rem;
  }
  .section2-card-content-title {
    height: auto;
    margin-top: 0;
    font-size: 36rem;
    line-height: 1.44;
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: unset;
    text-overflow: unset;
  }
  .section2-card-content {
    display: flex;
    gap: 32rem;
  }
  .section2-card-content-info {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 12rem;
  }
  .section2-card-content-data {
    font-size: 28rem;
  }
  .section2-card-name {
    font-size: 28rem;
  }
  .section2-card-avatar-box,
  .section2-card-avatar {
    height: 100rem;
    width: 100rem;
  }

  .section2-card-btn-box {
    align-self: flex-start;
    width: 100%;
  }
  .section2-card-btn-box .ebc-btn-large {
    height: 80rem;
  }

  .section4-swiperb {
    padding-bottom: 50rem;
  }

  .section4b-card {
    height: 200rem;
    border-radius: var(--Corner-Radius-RC12, 16rem);
    gap: 0rem;
    padding: 0 0 0 32rem;
  }
  .ar .section4b-card{
    padding: 0 32rem 0 0 ;
  }
  .section4b-card-content {
  }
  .section4b-card-name {
    margin-top: 50rem;
    font-size: 38rem;
    line-height: 52rem;
  }

  .section4b-card-lang {
    margin-top: 16rem;
    font-size: 24rem;
    line-height: 32rem;
  }

  .section4b-card-lang .icon-forex-language {
    font-size: 28rem;
  }

  .section4b-card-introduction {
    display: none;
  }
  .section4b-card-introduction-m {
    margin-top: 40rem;
    color: var(--Text-Secondary, rgba(0, 0, 0, 0.64));
    font-size: 28rem;
    font-style: normal;
    font-weight: 400;
    line-height: 48rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3; /* 限制显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section4b-card-img {
    width: 288rem;
  }
}
