body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
button,
textarea,
p,
blockquote,
th,
td {
  padding: 0;
  margin: 0;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

ol,
ul {
  list-style: none;
}

button {
  font-size: 100%;
  font: inherit;
  border: 0;
  outline: 0;
  cursor: pointer;
  background: none;
}

a {
  color: #333;
  text-decoration: none;
}

div {
  box-sizing: border-box;
}

body {
  font:
    14px/1.5 "Microsoft YaHei",
    "PingFang SC",
    Arial,
    "Helvetica Neue",
    Helvetica,
    "STHeiTi",
    sans-serif;
  color: #333;
  min-width: 1200px;
  background: #fae4d3;
}

.page {
  min-width: 1200px;
  overflow: hidden;
}

/* hero */
.hero {
  position: relative;
  width: 100%;
  min-width: 1200px;
  height: 730px;
  min-height: 730px;
  flex-shrink: 0;
  overflow: visible;
  margin-bottom: 130px;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/header.png") no-repeat center top;
  background-size: cover;
}
.hero .hero-inner {
  position: relative;
  z-index: 1;
  width: 1200px;
  min-width: 1200px;
  height: 730px;
  margin: 0 auto;
}
.hero .hero-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}
.hero .hero-logos a,
.hero .hero-logos .hero-logo-static {
  display: block;
  line-height: 0;
}
.hero .hero-logos img {
  height: 25px;
  width: auto;
}
.hero .hero-logos .logo-divider {
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.hero .hero-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 34px;
}
.hero .hero-titles .hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.hero .hero-titles .hero-leaf {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  bottom: 34px;
  position: absolute;
  left: -90px;
}
.hero .hero-titles .hero-title {
  width: 654px;
  height: auto;
}
.hero .hero-titles .hero-subtitle {
  width: 650px;
  margin-top: -18px;
}
.hero .schedule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -94px;
  display: flex;
  justify-content: center;
  gap: 80px;
}
.hero .schedule .schedule-line {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 1200px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    #fff 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.hero .schedule .schedule-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}
.hero .schedule .schedule-date {
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  padding: 8px 30px;
  border-radius: 16px;
  background: #fff0d0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.hero .schedule .schedule-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  padding: 20px 0 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 140, 60, 0.15);
  overflow: hidden;
}
.hero .schedule .schedule-card > img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 10px solid #f1f5f9;
  border-radius: 12px;
  margin-bottom: 5px;
}
.hero .schedule .schedule-card .schedule-topic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 8px 0;
  border-radius: 0 0 16px 16px;
  background: #00a9ef;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
}

/* responsive: only scale header bg on wide screens; hero-inner stays fixed */
@media screen and (min-width: 1921px) {
  .hero {
    height: calc(100vw * 730 / 1920);
    min-height: 730px;
  }
  .hero .hero-inner {
    height: 730px;
  }
}

/* main */
.main {
  min-width: 1200px;
}

.section {
  width: 1200px;
  min-width: 1200px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.section-title .section-leaf {
  width: 48px;
  height: auto;
}
.section-title .section-title-text {
  color: #1a1a1a;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
}

/* experts */
.expert-section {
  padding: 48px 0 100px;
}
.expert-section .section-banner {
  display: block;
  width: 480px;
  height: auto;
  margin: 0 auto 20px;
}
.expert-section .expert-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 180, 120, 0.25);
}
.expert-section .expert-card {
  border-radius: 16px;
  border: 1px solid #ffe0c2;
  background: #fff;
  overflow: hidden;
}
.expert-section .expert-card .card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(
    270deg,
    rgba(255, 205, 97, 0) 0%,
    #ffcd61 44.88%,
    #ff5c0f 100%
  );
}
.expert-section .expert-card .card-bar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.expert-section .expert-card .card-bar .card-tag {
  color: #fff4b3;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}
.expert-section .expert-card .card-bar .card-label {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}
.expert-section .expert-card .card-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.expert-section .expert-card .card-bar .live-icon {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}
.expert-section .expert-card .card-bar .card-time {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.expert-section .expert-card .card-body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.expert-section .expert-card .expert-avatar {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 152px;
  border-radius: 16px;
  overflow: visible;
  cursor: default;
  transition: box-shadow 0.2s ease;
}
.expert-section .expert-card .expert-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.expert-section .expert-card .expert-avatar .play-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #00a9ef;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}
.expert-section .expert-card .expert-avatar .play-btn img {
  width: 14px;
  height: 14px;
}
.expert-section .expert-card .expert-avatar .live-qrcode {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
}
.expert-section .expert-card .expert-avatar .live-qrcode img {
  width: 110px;
  height: 110px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}
.expert-section .expert-card .expert-avatar.live:hover .live-qrcode {
  display: flex;
}
.expert-section .expert-card .expert-avatar.live:hover .play-btn {
  opacity: 0;
}
.expert-section .expert-card .expert-avatar.live:hover,
.expert-section .expert-card .expert-avatar.clickable:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.expert-section .expert-card .expert-avatar.live:hover .play-btn,
.expert-section .expert-card .expert-avatar.clickable:hover .play-btn {
  background: #06a1de;
}
.expert-section .expert-card .expert-avatar.clickable {
  cursor: pointer;
}
.expert-section .expert-card .expert-detail {
  flex: 1;
  min-width: 0;
}
.expert-section .expert-card .expert-detail .expert-name {
  color: #333;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.expert-section .expert-card .expert-detail .expert-title {
  margin-top: 12px;
  color: #555;
  font-size: 16px;
  line-height: 1;
}
.expert-section .expert-card .expert-detail .course-intro {
  margin-top: 26px;
  color: #444;
  font-size: 14px;
  line-height: 1;
}
.expert-section .expert-card .expert-detail .course-intro .intro-label {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.expert-section .expert-card .expert-detail .course-intro .intro-label::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 16px;
  border-radius: 8px;
  background: #00a9ef;
}
.expert-section .expert-card .expert-detail .course-intro p {
  display: block;
  margin: 0;
}

/* courses */
.course-section {
  padding-bottom: 100px;
}
.course-section .section-title-img,
.past-section .section-title-img {
  display: block;
  height: 32px;
  width: auto;
  margin: 0 auto 36px;
}
.course-section .course-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  background-color: #ffc16f;
  border-radius: 24px;
  padding: 40px;
}
.course-section .course-cards .course-card {
  position: relative;
  display: block;
  width: 542px;
  line-height: 0;
  transition: transform 0.2s ease;
}
.course-section .course-cards .course-card-bg {
  display: block;
  width: 100%;
  height: auto;
}
.course-section .course-cards .course-card-info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.course-section .course-cards .course-card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-section .course-cards .course-card-title-row {
  display: flex;
  align-items: center;
}
.course-section .course-cards .course-card-title {
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}
.course-section .course-cards .course-card-subtitle {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}
.course-section .course-cards .course-card--policy .course-card-title,
.course-section .course-cards .course-card--policy .course-card-subtitle {
  color: #fff;
}
.course-section .course-cards .course-card--school .course-card-title,
.course-section .course-cards .course-card--school .course-card-subtitle {
  color: #000;
}
.course-section .course-cards .course-card--policy .course-card-info {
  left: 30px;
}
.course-section .course-cards .course-card--policy .course-card-title-row {
  gap: 15px;
}
.course-section .course-cards .course-card--school .course-card-info {
  left: 30px;
}
.course-section .course-cards .course-card--school .course-card-title-row {
  gap: 15px;
}
.course-section .course-cards .course-card-arrow {
  width: 35px;
  height: auto;
  flex-shrink: 0;
}
.course-section .course-cards .course-card:hover {
  transform: translateY(-4px);
}

/* past live */
.past-section {
  padding-bottom: 72px;
}
.past-section .past-live-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  background-color: #f8d9c1;
  border-radius: 24px;
  padding: 20px 15px;
}
.past-section .past-live-list .past-live-item {
  display: block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.past-section .past-live-list .past-live-item img {
  width: 285px;
  height: 107px;
  object-fit: cover;
}
.past-section .past-live-list .past-live-item:hover {
  transform: translateY(-3px);
}

/* footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1200px;
  height: 56px;
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

/* back to top */
.side-bar {
  position: fixed;
  right: 40px;
  bottom: 160px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 74px;
  padding: 13px 21px;
  box-sizing: border-box;
  border: none;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffad66 0%, #ff7a3d 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
}
.side-bar.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.side-bar .side-leaf {
  width: 40px;
  height: auto;
  margin-bottom: 6px;
}
.side-bar span {
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
.side-bar:hover {
  background: #ff5c0f;
}
