:root {
  --panel-bg: #fff7f0;
  --line-color: #f0d6c7;
  --theme-red: #c73421;
  --theme-dark-red: #8f1b12;
}
body {
    margin: 0;
    color: #7d241b;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background-color: #fff7f1;
    background-image: url(../images/index_top_bg.jpg);
    background-position: center top;
    background-size: max(1920px, 100vw) auto;
    background-repeat: no-repeat;
}
.home-main {
  padding-bottom: 100px;
}
.hero {
  position: relative;
  min-height: 778px;
  overflow: hidden;
  background: transparent;
}
.home-live {
  width: min(1099px, calc(100% - 48px));
  margin: 0 auto;
  background: var(--panel-bg);
  border: 1px solid #f1dfd1;
  box-shadow: 0 8px 20px rgba(156, 43, 16, 0.08);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  padding: 28px;
}

.home-live-cover {
  position: relative;
  border: 1px solid #f3b09a;
  background: #fff;
  padding: 8px;
}

.home-live-cover img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.home-live-cover .cover-tag {
  position: absolute;
  right: 16px;
  top: 16px;
  min-width: 72px;
  text-align: center;
  color: #fff;
  line-height: 26px;
  height: 26px;
  border-radius: 14px;
  font-size: 12px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #b93223 0%, #de4c37 100%);
  box-shadow: 0 4px 10px rgba(170, 33, 20, 0.25);
}

.home-live-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-right: 8px;
}

.home-live-side h2 {
  margin: 0;
  color: var(--theme-red);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}

.live-meta {
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  padding: 16px 0;
  display: grid;
  gap: 14px;
}

.live-meta-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #f3e2d7;
  color: #6f3a28;
  font-size: 14px;
}

.live-meta-item strong {
  text-align: center;
  color: var(--theme-red);
  font-size: 15px;
}

.live-meta-item span {
  padding-right: 10px;
  line-height: 1.6;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: 42px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(180deg, #d74733 0%, #b32417 100%);
  box-shadow: 0 6px 12px rgba(173, 39, 25, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(173, 39, 25, 0.28);
  text-decoration: none;
}

.recap-wrap {
  width: min(1099px, calc(100% - 48px));
  margin: 36px auto 0;
  background: #fffdfb;
  border: 1px solid #f1dfd1;
  box-shadow: 0 8px 20px rgba(156, 43, 16, 0.07);
  overflow: hidden;
}

.recap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  min-height: 60px;
  background: linear-gradient(90deg, #b52518 0%, #ce4333 55%, #d45d4a 100%);
  color: #fff;
}

.recap-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 700;
}

.recap-list {
  padding: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background:
    linear-gradient(0deg, rgba(246, 230, 220, 0.45), rgba(246, 230, 220, 0.45)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 26px,
      rgba(229, 206, 192, 0.35) 27px
    );
}

.recap-card {
  display: grid;
  grid-template-columns: 178px 1fr;
  min-height: 128px;
  border: 1px solid #f1ddd0;
  background: #fff;
  overflow: hidden;
}

.recap-thumb {
  position: relative;
  background: #c33122;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.recap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recap-thumb::after {
  content: "播放";
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 12px;
  color: #fff;
  background: rgba(166, 24, 11, 0.85);
  border-radius: 12px;
  width: 50px;
  height: 22px;
  line-height: 22px;
  text-align: center;
}

.recap-body {
  padding: 12px;
  display: grid;
  align-content: space-between;
  gap: 10px;
}

.recap-body h3 {
  margin: 0;
  color: #8d1e15;
  font-size: 16px;
  line-height: 1.5;
}

.recap-body p {
  margin: 0;
  color: #6f3a28;
  font-size: 13px;
  line-height: 1.6;
}

.recap-link {
  justify-self: start;
  color: var(--theme-dark-red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 27, 18, 0.45);
}

.site-footer {
  margin-top: 70px;
}

@media (max-width: 1024px) {
  .home-live {
    grid-template-columns: 1fr;
  }

  .home-live-side h2 {
    font-size: 30px;
  }

  .recap-card {
    grid-template-columns: 1fr;
  }

  .recap-thumb {
    min-height: 170px;
  }
}

@media (max-width: 700px) {
  .home-main {
    padding-bottom: 64px;
  }

  .home-live,
  .recap-wrap {
    width: calc(100% - 24px);
  }

  .home-live {
    padding: 14px;
    gap: 14px;
  }

  .home-live-side {
    gap: 10px;
    padding-right: 0;
  }

  .home-live-side h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .live-meta-item {
    grid-template-columns: 60px 1fr;
    font-size: 13px;
  }

  .enter-btn {
    width: 100%;
  }

  .recap-header {
    padding: 10px 12px;
  }

  .recap-title {
    font-size: 20px;
  }

  .recap-tabs {
    gap: 8px;
  }

  .tab-btn {
    min-width: 76px;
    height: 30px;
    font-size: 12px;
  }

  .recap-list {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }
}

.home-main {
  padding-bottom: 0;
}

/* .home-main .hero {
  min-height: 708px;
} */

.home-main .hero-inner {
  padding-top: 44px;
}

.home-live {
  width: min(1100px, calc(100% - 48px));
  aspect-ratio: 1100 / 427;
  margin-top: -22px;
  padding: 18px 36px 28px 16px;
  grid-template-columns: 686px 1fr;
  gap: 36px;
  align-items: flex-start;
  background: url("../images/zbsetion_big_bg.jpg") center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.home-live-cover {
  padding: 12px;
  border: 0;
  background: #c92819;
  box-shadow: 0 0 0 1px rgba(255, 202, 159, 0.45) inset;
}

.home-live-cover img {
  width: 100%;
  aspect-ratio: 676 / 360;
  object-fit: cover;
  border: 2px solid #ffb08a;
  border-radius: 0;
}

.home-live-side {
  min-height: 0;
  height: 100%;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  position: relative;
  overflow: visible;
}

.live-title-img {
  width: 280px;
  height: auto;
  margin: -46px 0 25px;
  align-self: center;
  position: relative;
  z-index: 2;
}

.live-meta {
  width: 100%;
  max-width: 280px;
  padding: 0;
  border: 0;
  gap: 10px;  align-self: center;}

.live-meta-item {
  display: block;
  aspect-ratio: 556 / 164;
  min-height: 0;
  padding: 14px 12px 6px;
  border: 0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  text-align: center;
  color: #000;
  font-size: 15px;
}

.live-meta-item:first-child {
  background-image: url("../images/time_img.png");
}

.live-meta-item:nth-child(2) {
  background-image: url("../images/location_img.png");
}

.live-meta-item strong {
  display: block;
  height: 23px;
  overflow: hidden;
  opacity: 0;
}

.live-meta-item span {
  display: block;
  padding: 0;
  line-height: 1.45;
  margin-top: 5px;
}

.enter-btn {
  width: 235px;
  aspect-ratio: 470 / 157;
  height: auto;
  margin: 14px 0 0;
  align-self: center;
  border-radius: 0;
  background: url("../images/enter_bg.png") center / 100% 100% no-repeat;
  box-shadow: none;
  color: #fff;
  font-size: 22px;
  line-height: 78px;
  letter-spacing: 3px;
}

.enter-btn::after {
  content: "";
  width: 30px;
  height: 30px;
  margin-left: 14px;
  border: 0;
  border-radius: 50%;
  background: url("../images/enter_ico.png") center / contain no-repeat;
}

.enter-btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.recap-wrap {
  width: min(1099px, calc(100% - 48px));
  margin-top: 72px;
  border: 1px solid #eac9b3;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  box-sizing: border-box;
  padding-left: 3px;
  background-color: #f7ece5;
  background-image: linear-gradient(90deg, #c03a2c 0 3px, transparent 3px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 7px 20px rgba(126, 54, 21, 0.13);
}

.recap-header {
  min-height: 50px;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
  background: url("../images/vedio_head_bg.png") top center / 100% 100% no-repeat;
  border-bottom: 0;
}

.recap-title-box {
  width: 214px;
  height: 77px;
  display: flex;
  align-items: center;
  padding-left: 28px;
  background: #fffdf9;
  color: #7b1d12;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.recap-mark {
  width: 3px;
  height: 16px;
  margin-right: 14px;
  background: url("../images/wq_icon.png") center / 100% 100% no-repeat;
}

.recap-title {
  font-size: 18px;
  letter-spacing: 2px;
  color: #7b1d12;
}

.recap-topic {
  flex: 1;
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: transparent;
  color: #fff;
  border-bottom: 4px solid #fff;
}

.topic-select {
  display: block;
  width: 139px;
  height: 36px;
  padding: 0 54px 0 18px;
  border: 2px solid #fff;
  border-radius: 2px;
  background:
    url("../images/down_icon.png") right 13px center / 16px 14px no-repeat,
    linear-gradient(#fff, #fff) right top / 42px 100% no-repeat;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  line-height: 32px;
  appearance: none;
  -webkit-appearance: none;
}

.topic-select:focus,
.topic-select:focus-visible {
  border-color: #fff;
  outline: none;
  box-shadow: none;
}

.topic-select option {
  color: #7b1d12;
  background: #fffdf9;
}

.recap-topic p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.recap-content {
  background: url("../images/vedio_bg_repeat.png") top center / 100% auto repeat-y;
}

.recap-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px 0 14px 44px;
  background: transparent;
}

.tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 139px;
  width: 139px;
  height: 57px;
  padding: 0;
  border: 0;
  background: url("../images/vedio_btn.png") center / 100% 100% no-repeat;
  color: #c73528;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: url("../images/vedio_btn_active.png") center / 100% 100% no-repeat;
  color: #fff;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 12px;
  height: 10px;
  background: url("../images/vedio_btn_active_icon.png") center / contain no-repeat;
}

.recap-list {
  padding: 20px 45px 53px 45px;
  gap: 18px 26px;
  background: transparent;
}

.recap-card {
  grid-template-columns: 228px 1fr;
  align-items: start;
  min-height: 0;
  height: 160px;
  border: 0;
  background: #fff;
  padding: 2px;
}

.recap-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: #fff;
  gap: 2px;
  align-self: start;
  height: 158px;
}

.recap-thumb img {
  display: block;
  width: 100%;
  height: 130px;
  /* height: 109px; */
  object-fit: cover;
  cursor: pointer;
}

.recap-thumb::after {
  content: none;
}

.recap-thumb::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 40px;
  z-index: 1;
  width: 31px;
  height: 25px;
  background: url("../images/play_icon.png") center / contain no-repeat;
  pointer-events: none;
}

.recap-thumb .recap-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 27px;
  width: 100%;
  background: #cf3327;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.recap-thumb .recap-link::before {
  content: "";
  width: 15px;
  height: 15px;
  background: url("../images/jiangyi_icon.png") center / contain no-repeat;
}

.recap-body {
  display: flex;
  flex-direction: column;
  height: 158px;
  padding: 20px 12px 24px 12px;
  gap: 3px;
  /* overflow: hidden; */
}

.recap-body h3 {
  font-size: 15px;
  line-height: 23px;
  color: #bd2c22;
  font-weight: 700;
  margin: 0 0 4px 0;
  flex: 0 0 auto;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recap-body p {
  margin: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.65;
}

.recap-body .speaker {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 1px;
}

.recap-body .affiliation {
  color: #303030;
  font-size: 12px;
  line-height: 1.6;
}

.recap-link {
  display: none;
}

.recap-thumb .recap-link {
  display: flex;
}

.recap-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 0;
  color: #7b1d12;
  font-size: 14px;
  text-align: center;
}

.recap-video-layer {
  background: #111;
}

.recap-video-layer .layui-layer-title {
  background: #c03a2c;
  color: #fff;
}

.recap-video-layer .layui-layer-setwin {
  top: 10px;
  right: 14px;
}

.recap-video-layer .layui-layer-setwin .layui-layer-close1 {
  position: relative;
  width: 22px;
  height: 22px;
  margin-left: 0;
  background: none;
  overflow: hidden;
}

.recap-video-layer .layui-layer-setwin .layui-layer-close1::before,
.recap-video-layer .layui-layer-setwin .layui-layer-close1::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
  background: #fff;
}

.recap-video-layer .layui-layer-setwin .layui-layer-close1::before {
  transform: rotate(45deg);
}

.recap-video-layer .layui-layer-setwin .layui-layer-close1::after {
  transform: rotate(-45deg);
}

.recap-video-layer .layui-layer-content {
  height: calc(100% - 42px);
  background: #000;
}

.layer-video-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.layer-video-player video,
.layer-video-player iframe,
.layer-video-player object {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.site-footer {
  margin-top: 84px;
}

@media (max-width: 1120px) {
  .home-live,
  .recap-wrap {
    width: calc(100% - 36px);
  }

  .home-live {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 32px;
  }

  .recap-card {
    grid-template-columns: 190px 1fr;
  }
}

@media (max-width: 800px) {
  .home-main .hero {
    min-height: 460px;
  }

  .home-live {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    height: auto;
    margin-top: -8px;
    padding: 24px 24px 44px;
    gap: 18px;
    background-size: cover;
  }

  .home-live-side {
    height: auto;
    gap: 14px;
  }

  .live-title-img {
    margin: -36px 0 8px;
  }

  .live-title-img,
  .live-meta {
    width: min(330px, 100%);
  }

  .enter-btn {
    margin-left: 0;
  }

  .recap-header,
  .recap-topic {
    display: block;
  }

  .recap-title-box {
    width: 100%;
  }

  .recap-topic {
    padding: 12px;
  }

  .recap-topic p {
    margin-top: 12px;
    white-space: normal;
  }

  .recap-tabs {
    padding: 14px 12px 0;
  }

  .recap-list {
    grid-template-columns: 1fr;
    padding: 14px 12px 18px;
  }

  .recap-wrap {
    margin-top: 40px;
  }

  .site-footer {
    margin-top: 50px;
  }
}

@media (max-width: 520px) {
  .home-live,
  .recap-wrap {
    width: calc(100% - 20px);
  }

  .home-live {
    padding: 16px 16px 42px;
    min-height: auto;
  }

  .home-live-cover {
    padding: 7px;
  }

  .home-live-side {
    min-height: auto;
  }

  .live-title-img {
    width: min(170px, 100%);
    margin-top: 0;
  }

  .live-meta-item {
    font-size: 13px;
  }

  .enter-btn {
    width: 190px;
    height: 56px;
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 56px;
  }

  .enter-btn::after {
    width: 24px;
    height: 24px;
  }

  .recap-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .recap-thumb {
    height: auto;
  }

  .recap-body {
    height: auto;
  }

  .recap-body h3 {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .recap-thumb img {
    height: auto;
    max-height: 210px;
  }

  .recap-thumb::before {
    left: 10px;
    top: auto;
    bottom: 35px;
    width: 40px;
    height: 40px;
  }

  .recap-tabs {
    gap: 10px;
    padding: 12px 10px 0;
  }

  .tab-btn {
    flex: 1 1 0;
    width: auto;
    max-width: 139px;
    height: 48px;
  }

  .recap-wrap {
    margin-top: 28px;
  }

  .site-footer {
    margin-top: 50px;
  }
}
