.gk-home-scope {
  --red: #ed123d;
  --red2: #c8002e;
  --blue: #35a9df;
  --ink: #222;
  --muted: #969da2;
  --line: #eceff1;
  margin: 0;
  background: #f6f8fa;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.gk-home-scope * {
  box-sizing: border-box;
}

.gk-home-scope.page {
  min-width: 1180px;
}

.gk-home-scope a {
  color: inherit;
  text-decoration: none;
}

/* 顶部通栏广告 */
.gk-home-scope .ad-wrap {
  height: 82px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gk-home-scope .ad-slider {
  position: relative;
  width: 1200px;
  height: 60px;
  overflow: hidden;
  background: #ab1d13;
}

.gk-home-scope .ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  transform: translateY(100%);
  transition: transform .65s ease;
  pointer-events: none;
}

.gk-home-scope .ad-slide.current {
  transform: translateY(0);
  z-index: 2;
  pointer-events: auto;
}

.gk-home-scope .ad-slide.prev {
  transform: translateY(-100%);
}

.gk-home-scope .ad-slide a,
.gk-home-scope .ad-slide img {
  display: block;
  width: 100%;
  height: 60px;
}

.gk-home-scope .ad-slide img {
  object-fit: cover;
}

/* 导航 */
.gk-home-scope .header {
  height: 72px;
  background: linear-gradient(90deg, var(--red), #ed092b 55%, var(--red2));
  color: #fff;
}

.gk-home-scope .header-inner {
  width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}

.gk-home-scope .brand {
  display: flex;
  align-items: center;
  width: 226px;
  height: 60px;
  flex: 0 0 226px;
}

.gk-home-scope .brand-logo {
  display: block;
  width: 226px;
  height: 60px;
  object-fit: contain;
}

.gk-home-scope .nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 45px;
}

.gk-home-scope .nav a {
  position: relative;
  padding: 26px 30px 23px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.gk-home-scope .nav a.active::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 12px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* 主体 */
.gk-home-scope main {
  width: 1200px;
  margin: 24px auto 50px;
  display: grid;
  grid-template-columns: 850px 330px;
  gap: 20px;
}

/* 新闻列表 */
.gk-home-scope .news-card {
  position: relative;
  min-height: 184px;
  height: auto;
  margin-bottom: 18px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 28px;
  background: #fff;
  box-shadow: 0 1px 9px rgba(22, 58, 77, .08);
  transition: .2s;
}

.gk-home-scope .news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(22, 58, 77, .14);
}

.gk-home-scope .news-card.headline {
  border-top: 4px solid #df0020;
  background: linear-gradient(105deg, #fff 0%, #fff 78%, #fff7f8 100%);
}

.gk-home-scope .news-card.headline .news-copy h2 {
  font-size: 26px;
  line-height: 1.42;
}

/* 临时横幅：第一条新闻后，第二条稿件位置 */
.gk-home-scope .news-temp-banner {
  width: 850px;
  margin: 0 0 18px;
  background: #fff;
  box-shadow: 0 1px 9px rgba(22, 58, 77, .08);
  text-align: center;
  overflow: hidden;
}

.gk-home-scope .news-temp-banner img {
  display: block;
  width: 850px;
  height: 97px;
  margin: 0 auto;
  border: 0;
}

.gk-home-scope .news-thumb-link {
  display: block;
}

.gk-home-scope .thumb {
  display: block;
  width: 286px;
  height: 148px;
  object-fit: cover;
  border-radius: 2px;
  background: #dbeaf0;
}

.gk-home-scope .news-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gk-home-scope .news-copy h2 {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  word-break: break-word;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.gk-home-scope .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a2a9ae;
  font-size: 14px;
}

.gk-home-scope .external {
  margin-left: auto;
  font-size: 20px;
  color: #b8c0c4;
}

/* 无图稿件：高度自适应，标题完整显示 */
.gk-home-scope .news-card.no-image {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  padding: 32px 44px 28px;
}

.gk-home-scope .news-card.no-image .news-copy {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.gk-home-scope .news-card.no-image .news-copy h2 {
  display: block;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 52px 18px 0 !important;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}

.gk-home-scope .news-card.no-image .meta {
  margin-top: 0 !important;
  min-height: 24px;
  line-height: 24px;
}

.gk-home-scope .news-card.no-image .external {
  float: right;
  margin-top: -26px;
}

/* 右侧通用模块 */
.gk-home-scope .side-box {
  margin-bottom: 18px;
  padding: 18px 17px;
  background: #fff;
  box-shadow: 0 1px 9px rgba(22, 58, 77, .08);
}

.gk-home-scope .side-title {
  margin: 0 0 14px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  color: #df0020;
  font-size: 16px;
  line-height: 30px;
  border-bottom: 2px solid #df0020;
}

.gk-home-scope .side-title span {
  background: none;
  border-radius: 0;
  padding: 0;
}

.gk-home-scope .side-history-link {
  margin-left: auto;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.gk-home-scope .side-history-link:hover {
  color: #df0020;
}

.gk-home-scope .side-feature-link {
  display: block;
  margin: 0 0 10px;
  text-decoration: none;
}

.gk-home-scope .side-feature-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0;
  object-fit: cover;
  border-radius: 2px;
}

/* 右侧广告 */
.gk-home-scope .slider-box {
  height: auto !important;
  padding: 14px 0 8px !important;
  overflow: hidden;
}

.gk-home-scope .mini-carousel {
  width: 330px;
  height: 78px;
  margin: 0 0 6px;
}

.gk-home-scope .mini-window {
  position: relative;
  width: 330px !important;
  height: 60px !important;
  overflow: hidden;
}

.gk-home-scope .mini-slide {
  position: absolute;
  inset: 0;
  width: 330px !important;
  height: 60px !important;
  opacity: 0;
  transform: translateY(8px);
  transition: .4s;
  pointer-events: none;
}

.gk-home-scope .mini-slide.show {
  opacity: 1;
  transform: none;
  z-index: 2;
  pointer-events: auto;
}

.gk-home-scope .mini-slide a,
.gk-home-scope .mini-slide img {
  display: block;
  width: 330px !important;
  height: 60px !important;
}

.gk-home-scope .mini-slide img {
  object-fit: cover;
}

.gk-home-scope .mini-dots {
  width: 330px;
  height: 18px;
  padding-top: 7px;
  text-align: center;
  line-height: 11px;
}

.gk-home-scope .mini-dots:empty {
  display: none;
}

.gk-home-scope .mini-dots i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border-radius: 50%;
  background: #d4d6d8;
  cursor: pointer;
}

.gk-home-scope .mini-dots i.on {
  width: 27px;
  border-radius: 5px;
  background: #df0020;
}

.gk-home-scope .report-banner-box {
  height: 60px;
  padding: 0 !important;
  overflow: hidden;
}

.gk-home-scope .report-banner-box a,
.gk-home-scope .report-banner-box img {
  display: block;
  width: 330px;
  height: 60px;
}

.gk-home-scope .report-banner-box img {
  object-fit: cover;
}

/* 右侧列表 */
.gk-home-scope .bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gk-home-scope .bullet-list li {
  position: relative;
  padding: 8px 0 8px 13px;
  border-bottom: 1px solid #f1f3f4;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-all;
}

.gk-home-scope .bullet-list li a {
  display: block;
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-all;
}

.gk-home-scope .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #df0020;
}

.gk-home-scope .bullet-list li:last-child {
  border-bottom: 0;
}

/* 晚报订阅 / 今日封面 */
.gk-home-scope .digital-report {
  min-height: 0;
  padding: 18px 17px;
}

.gk-home-scope .digital-report .side-title {
  margin: 0 0 14px;
}

.gk-home-scope .newspaper-subscribe-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: auto;
  min-height: 0;
  background: #fff;
  overflow: visible;
}

.gk-home-scope .subscribe-cover {
  flex: 0 0 138px;
  width: 138px;
  min-width: 0;
}

.gk-home-scope .today-cover-img {
  display: block;
  width: 100%;
  max-width: 138px;
  height: auto;
  max-height: 190px;
  object-fit: contain;
}

.gk-home-scope .subscribe-qr-box {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gk-home-scope .subscribe-qr {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.gk-home-scope .subscribe-qr-box p {
  margin: 0;
  color: #8b8f94;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

/* 师说 */
.gk-home-scope .teacher-box {
  background: #fff;
}

.gk-home-scope .side-title.teacher-title {
  position: relative;
  display: block;
  margin: 0 0 14px;
  padding-bottom: 0;
  height: 46px;
  min-height: 46px;
  line-height: normal;
}

.gk-home-scope .side-title.teacher-title .teacher-heading {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  line-height: normal;
}

.gk-home-scope .side-title.teacher-title .teacher-name {
  position: absolute;
  left: 0;
  bottom: 7px;
  display: block;
  color: #df0020 !important;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.gk-home-scope .side-title.teacher-title a.teacher-name:hover {
  color: #c8002e !important;
}

.gk-home-scope .side-title.teacher-title .teacher-review {
  position: absolute;
  right: 0;
  bottom: 7px;
  display: block;
  margin-left: 0;
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.gk-home-scope .side-title.teacher-title .teacher-review:hover {
  color: #df0020 !important;
}

.gk-home-scope .side-title.teacher-title .teacher-slogan-img {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  display: block;
  width: 130px;
  max-width: 130px;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  object-fit: contain;
}

.gk-home-scope .teacher-avatar-list,
.gk-home-scope .teacher-avatars {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 2px;
}

.gk-home-scope .teacher-avatar {
  display: block;
  flex: 0 0 48px;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22, 58, 77, .2);
  background: #f4f4f4;
}

.gk-home-scope .teacher-avatar img,
.gk-home-scope .teacher-avatar-list img,
.gk-home-scope .teacher-avatars img {
  display: block;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* 媒体矩阵 */
.gk-home-scope .media-poster {
  position: relative;
  height: 96px;
  margin: 0 0 12px;
  padding: 14px 12px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(135deg, #df0020, #a90024);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 12px rgba(223, 0, 32, .14);
  text-align: center;
}

.gk-home-scope .media-poster::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -48px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}

.gk-home-scope .media-poster strong {
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.gk-home-scope .media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gk-home-scope .media-tile {
  min-height: 54px;
  padding: 9px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c90025;
  background: linear-gradient(135deg, #fffafb, #fff3f5);
  border: 1px solid #f0c4cc;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  transition: .2s;
}

.gk-home-scope .media-tile:hover {
  color: #fff;
  background: #df0020;
  border-color: #df0020;
}

/* 晚报订阅、信息 */
.gk-home-scope .subscribe {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gk-home-scope .qr {
  width: 100px;
  height: 100px;
  background: url("https://image.dsrb.cq.cn/uploads/2023-09-11/1694403031554.jpg") center / cover no-repeat;
}

.gk-home-scope .subscribe p {
  margin: 0;
  color: #999;
  font-size: 12px;
  line-height: 1.6;
}

.gk-home-scope .info {
  width: 1200px;
  margin: 0 auto 28px;
  padding: 22px 34px 26px;
  background: #fff;
  box-shadow: 0 1px 9px rgba(22, 58, 77, .08);
  color: #6e797e;
  font-size: 13px;
  line-height: 1.8;
}

.gk-home-scope .info .side-title {
  width: 230px;
  margin: 0 0 16px;
  padding: 0;
  display: block;
  min-height: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  border: 0 !important;
}

.gk-home-scope .info .side-title span {
  display: block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
  letter-spacing: 0;
}

.gk-home-scope .info-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 150px;
  padding: 6px 0 2px;
}

.gk-home-scope .info-logo-box {
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding-right: 38px;
  border-right: 1px solid #edf0f2;
}

.gk-home-scope .info-img {
  display: block;
  width: 230px;
  max-width: 230px;
  height: auto;
  margin: 0;
}

.gk-home-scope .info-text {
  flex: 0 1 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  column-gap: 56px;
  align-items: start;
}

.gk-home-scope .info-text p {
  margin: 0;
  color: #768087;
  font-size: 13px;
  line-height: 1.65;
  white-space: nowrap;
}

.gk-home-scope .info-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gk-home-scope .info-text span {
  color: #5d666d;
  font-weight: 700;
}

/* 视频模块 */
.gk-home-scope .video-module {
  margin: 28px 0 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 9px rgba(22, 58, 77, .08);
}

.gk-home-scope .video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #df0020;
}

.gk-home-scope .video-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gk-home-scope .video-heading h3 {
  margin: 0;
  color: #df0020;
  font-size: 20px;
  line-height: 1.3;
  white-space: nowrap;
}

.gk-home-scope .video-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 11px;
  border: 1px solid rgba(223, 0, 32, .22);
  border-radius: 999px;
  background: rgba(223, 0, 32, .06);
  color: #df0020;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
}

.gk-home-scope .video-heading a {
  color: #999;
  font-size: 13px;
}

.gk-home-scope .video-grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  padding: 0 0 10px;
  cursor: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #df0020 #eee;
  user-select: auto !important;
  -webkit-overflow-scrolling: touch;
}

.gk-home-scope .video-grid::-webkit-scrollbar {
  display: block;
  height: 8px;
}

.gk-home-scope .video-grid::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 99px;
}

.gk-home-scope .video-grid::-webkit-scrollbar-thumb {
  background: #df0020;
  border-radius: 99px;
}

.gk-home-scope .video-item {
  position: relative;
  display: block;
  flex: 0 0 176px;
  width: 176px;
  height: 235px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gk-home-scope .video-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(22, 58, 77, .18);
}

.gk-home-scope .video-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, .42));
  pointer-events: none;
}

.gk-home-scope .video-thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 176px;
  height: 235px;
  object-fit: cover;
  background: #eee;
}

.gk-home-scope .play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #df0020;
  color: #fff;
  text-align: center;
  line-height: 54px;
  font-size: 25px;
  padding-left: 3px;
  pointer-events: none;
}

.gk-home-scope .video-item p {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  display: block;
  max-height: none;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  pointer-events: none;
}

/* 底部 */
.gk-home-scope .footer {
  padding: 28px 0 24px;
  background: #707070;
  color: #f0f0f0;
  border-top: 1px solid #7b7b7b;
}

.gk-home-scope .footer-inner {
  width: 1080px;
  margin: auto;
}

.gk-home-scope .friend-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.gk-home-scope .friends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-bottom: 24px;
  font-size: 13px;
}

.gk-home-scope .friends a:hover {
  color: #fff;
}

.gk-home-scope .footer-line {
  height: 1px;
  margin-bottom: 20px;
  background: #8d8d8d;
}

.gk-home-scope .copyright {
  margin-top: 17px;
  color: #dedede;
  font-size: 12px;
}

@media (max-width: 1240px) {
  .gk-home-scope .header-inner,
  .gk-home-scope main,
  .gk-home-scope .footer-inner {
    width: calc(100% - 40px);
  }

  .gk-home-scope .ad-slider {
    width: calc(100% - 40px);
  }

  .gk-home-scope main {
    grid-template-columns: minmax(0, 2fr) 330px;
  }
}
