/* PC 首页 r3 — 学霸说保险（深蓝保式分栏 + 大图热榜） */
:root {
  --hx-blue: #1a6fd4;
  --hx-blue-deep: #0d4f9e;
  --hx-ink: #1a2332;
  --hx-muted: #6b7785;
  --hx-line: #e8eef5;
  --hx-bg: #f6f7f8;
  --hx-orange: #ff8c1a;
  --hx-radius: 14px;
}

.home-page {
  background: var(--hx-bg);
  padding-bottom: 8px;
  min-height: 60vh;
}

.hx-empty {
  padding: 28px;
  text-align: center;
  color: #9aa5b1;
  font-size: 14px;
}

.hx-more {
  flex: 0 0 auto;
  font-size: 13px;
  color: #8a97a8;
  text-decoration: none;
  white-space: nowrap;
}

.hx-more:hover {
  color: var(--hx-orange);
}

.hx-sec {
  padding: 24px 0 0;
}

.hx-sec-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.hx-sec-title {
  flex: 0 0 auto;
  min-width: 160px;
}

.hx-sec-title h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: var(--hx-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hx-sec-title p {
  margin: 0;
  font-size: 13px;
  color: #9aa5b1;
}

/* ===== Split Hero ===== */
.hx-hero {
  padding: 24px 0 0;
  background: transparent;
}

.hx-hero-inner {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.hx-banner-wrap {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  border-radius: var(--hx-radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 79, 158, 0.12);
  background: transparent;
  display: flex;
}

.hx-banner {
  flex: 1;
  min-height: 320px;
  width: 100%;
  height: auto !important;
}

.hx-banner .swiper-wrapper,
.hx-banner .swiper-slide {
  height: 100%;
}

.hx-banner a {
  display: block;
  width: 100%;
  height: 100%;
}

.hx-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hx-banner-dots {
  bottom: 14px !important;
}

.hx-banner-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hx-banner-dots .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}

.hx-hero-side {
  width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hx-promo {
  display: block;
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hx-promo:hover {
  transform: translateY(-2px);
  color: inherit;
}

.hx-promo--primary {
  flex: 1;
  background: #fff;
  border: 1px solid #e4ebf3;
  box-shadow: 0 4px 14px rgba(20, 40, 70, 0.04);
  color: var(--hx-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hx-promo--primary:hover {
  color: var(--hx-ink);
  border-color: #c5daf0;
  box-shadow: 0 8px 20px rgba(26, 111, 212, 0.1);
}

.hx-promo-kicker {
  display: inline-flex;
  align-self: flex-start;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255, 140, 26, 0.12);
  color: #c45f00;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 10px;
}

.hx-promo strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--hx-ink);
}

.hx-promo em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--hx-muted);
  line-height: 1.5;
}

.hx-promo-btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 14px;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  background: var(--hx-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  align-items: center;
}

.hx-promo--primary:hover .hx-promo-btn {
  background: #f07d0c;
}

.hx-promo--soft {
  background: #fff;
  border: 1px solid #e4ebf3;
  box-shadow: 0 4px 14px rgba(20, 40, 70, 0.04);
}

.hx-promo--soft strong {
  font-size: 15px;
  color: var(--hx-ink);
  margin-bottom: 4px;
}

.hx-promo--soft em {
  color: var(--hx-muted);
  opacity: 1;
}

.hx-promo--soft:hover {
  border-color: #c5daf0;
  box-shadow: 0 8px 20px rgba(26, 111, 212, 0.1);
}

/* ===== Hot rank (深蓝保式三卡切换) ===== */
.hx-hot .hx-sec-title h2 {
  font-weight: 400;
}

.hx-hot-panel {
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 22px 24px 28px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
  overflow: visible;
}

.hx-hot-head {
  margin-bottom: 18px;
  align-items: center;
}

.hx-hot-tabs {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  min-width: 0;
}

.hx-hot-tabs a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  background: #f5f7fa;
  border: 1px solid transparent;
  color: #556677;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.hx-hot-tabs a:hover {
  color: var(--hx-blue);
  background: #eef5fc;
}

.hx-hot-tabs a.is-on {
  color: #fff;
  background: var(--hx-blue);
}

.hx-hot-swiper-wrap {
  position: relative;
  padding: 4px 28px 6px;
  overflow: visible;
}

.hx-hot-swiper {
  overflow: hidden;
  padding-bottom: 6px;
  margin-bottom: -2px;
}

.hx-hot-swiper,
.hx-hot-swiper .swiper-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hx-hot-swiper::-webkit-scrollbar,
.hx-hot-swiper .swiper-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hx-hot-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
  padding-bottom: 2px;
}

.hx-hot-prev,
.hx-hot-next {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2eaf2;
  box-shadow: 0 4px 12px rgba(20, 40, 70, 0.08);
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hx-hot-prev { left: -6px; }
.hx-hot-next { right: -6px; }

.hx-hot-prev::after,
.hx-hot-next::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #8a97a8;
  border-right: 2px solid #8a97a8;
  box-sizing: border-box;
}

.hx-hot-prev::after {
  margin: -5px 0 0 -3px;
  transform: rotate(-135deg);
}

.hx-hot-next::after {
  margin: -5px 0 0 -7px;
  transform: rotate(45deg);
}

.hx-hot-prev:hover,
.hx-hot-next:hover {
  border-color: #b7d4f0;
  background: #f7fbff;
}

.hx-hot-prev:hover::after,
.hx-hot-next:hover::after {
  border-color: var(--hx-blue);
}

.hx-hot-prev.swiper-button-disabled,
.hx-hot-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.hx-rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8eef5;
  box-shadow: 0 4px 14px rgba(20, 40, 70, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.hx-rank-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 79, 158, 0.12);
  color: inherit;
}

.hx-rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  height: 24px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(26, 35, 50, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0.04em;
}

.hx-rank-card.is-top1 .hx-rank-badge {
  background: linear-gradient(90deg, #f0b429, #e08a00);
}

.hx-rank-card.is-top2 .hx-rank-badge {
  background: linear-gradient(90deg, #9aa8b8, #7a8799);
}

.hx-rank-card.is-top3 .hx-rank-badge {
  background: linear-gradient(90deg, #d4926a, #b8734a);
}

.hx-rank-cover {
  display: block;
  height: 168px;
  background: #e8eef5;
  overflow: hidden;
}

.hx-rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hx-rank-card:hover .hx-rank-cover img {
  transform: scale(1.04);
}

.hx-rank-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}

.hx-rank-body strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--hx-ink);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hx-rank-card:hover .hx-rank-body strong {
  color: var(--hx-blue);
}

.hx-rank-body > em {
  font-style: normal;
  font-size: 12px;
  color: var(--hx-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hx-rank-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f3f7;
}

.hx-rank-meta i {
  font-style: normal;
  font-size: 12px;
  color: #8a97a8;
}

.hx-rank-meta b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff9f2e 0%, #f97316 100%);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hx-rank-card:hover .hx-rank-meta b {
  filter: brightness(1.04);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.36);
  transform: translateY(-1px);
}

/* ===== Classroom ===== */
.hx-class-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.hx-class-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 20px 22px 16px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
}

.hx-class-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f3f7;
}

.hx-class-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--hx-ink);
  line-height: 1.2;
}

.hx-feature {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid #f0f3f7;
  text-decoration: none;
  color: inherit;
}

.hx-feature:hover {
  color: inherit;
}

.hx-feature-cover {
  flex: 0 0 220px;
  width: 220px;
  height: 132px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #d7e8f8, #eef3f8);
}

.hx-feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hx-feature-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hx-feature-body em {
  align-self: flex-start;
  font-style: normal;
  font-size: 12px;
  color: var(--hx-blue);
  background: #eef6fc;
  padding: 0 8px;
  line-height: 22px;
  border-radius: 4px;
  font-weight: 700;
}

.hx-feature-body strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--hx-ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-feature:hover .hx-feature-body strong {
  color: var(--hx-blue);
}

.hx-feature-body p {
  margin: 0;
  font-size: 13px;
  color: var(--hx-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-feature-body i {
  font-style: normal;
  font-size: 12px;
  color: #9aa5b1;
}

.hx-class-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.hx-class-list > li {
  border-bottom: 1px solid #f3f5f7;
}

.hx-class-list > li:last-child {
  border-bottom: 0;
}

.hx-class-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 0;
}

.hx-class-list a:hover strong {
  color: var(--hx-blue);
}

.hx-class-cover {
  flex: 0 0 120px;
  width: 120px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f5;
}

.hx-class-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hx-class-cover.is-empty,
.hx-class-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #eef5fc;
  color: #8a97a8;
  font-size: 12px;
  font-weight: 700;
}

.hx-class-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.hx-class-list strong {
  display: -webkit-box;
  font-size: 15px;
  font-weight: 700;
  color: var(--hx-ink);
  line-height: 1.45;
  margin-bottom: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-class-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #9aa5b1;
  line-height: 1;
}

.hx-class-meta i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hx-class-meta i::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  opacity: 0.55;
}

.hx-meta-cat::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='1.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='9.5' y='1.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='1.5' y='9.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='9.5' y='9.5' width='5' height='5' rx='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='1.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='9.5' y='1.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='1.5' y='9.5' width='5' height='5' rx='1' fill='black'/%3E%3Crect x='9.5' y='9.5' width='5' height='5' rx='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hx-meta-date::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M8 4.5V8l2.4 1.6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M8 4.5V8l2.4 1.6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hx-meta-hits::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8s2.6-4.5 6.5-4.5S14.5 8 14.5 8 11.9 12.5 8 12.5 1.5 8 1.5 8z' fill='none' stroke='black' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='2.2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8s2.6-4.5 6.5-4.5S14.5 8 14.5 8 11.9 12.5 8 12.5 1.5 8 1.5 8z' fill='none' stroke='black' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='2.2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hx-class-list em {
  display: none;
}

.hx-class-side {
  width: 320px;
  flex: 0 0 320px;
}

.hx-class-side .hx-side-card {
  height: 100%;
  box-sizing: border-box;
}

.hx-side-card {
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 18px 18px 16px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
}

.hx-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f3f7;
}

.hx-side-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--hx-ink);
}

.hx-side-head a {
  font-size: 12px;
  color: #8a97a8;
  text-decoration: none;
}

.hx-side-card ol {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.hx-side-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
}

.hx-side-card li span {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 4px;
  background: #c5ccd6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.hx-side-card li span.is-top {
  background: var(--hx-orange);
}

.hx-side-card li a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #334455;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-side-card li a:hover {
  color: var(--hx-blue);
}

.hx-side-cta {
  display: block;
  margin-top: 8px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f3fb, #fff3e0);
  text-decoration: none;
  color: inherit;
}

.hx-side-cta strong {
  display: block;
  font-size: 15px;
  color: var(--hx-ink);
  margin-bottom: 4px;
}

.hx-side-cta span {
  font-size: 12px;
  color: var(--hx-muted);
}

.hx-side-cta:hover strong {
  color: var(--hx-blue);
}

/* ===== QA ===== */
.hx-qa-panel {
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 20px 22px 18px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
}

.hx-qa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f3f7;
}

.hx-qa-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--hx-ink);
  line-height: 1.2;
}

.hx-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hx-qa-item {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hx-qa-item:hover {
  background: #eef5fc;
  border-color: #d5e6f5;
  box-shadow: none;
  color: inherit;
}

.hx-qa-q,
.hx-qa-a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hx-qa-a {
  margin-top: 12px;
}

.hx-qa-q b,
.hx-qa-a b {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  text-align: center;
  line-height: 22px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.hx-qa-q b {
  background: var(--hx-blue);
}

.hx-qa-a b {
  background: #c5ccd6;
}

.hx-qa-q strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hx-ink);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hx-qa-item:hover .hx-qa-q strong {
  color: var(--hx-blue);
}

.hx-qa-a em {
  flex: 1;
  min-width: 0;
  font-style: normal;
  font-size: 13px;
  color: var(--hx-muted);
  line-height: 1.55;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Video ===== */
.hx-video-panel {
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 20px 22px 18px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
}

.hx-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f3f7;
}

.hx-video-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--hx-ink);
  line-height: 1.2;
}

.hx-video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.hx-video-card {
  display: block;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--hx-ink);
  border: 0;
  box-shadow: none;
  transition: color 0.15s ease;
}

.hx-video-card:hover {
  transform: none;
  box-shadow: none;
  color: var(--hx-blue);
}

.hx-video-cover {
  position: relative;
  display: block;
  height: 128px;
  background: #e8eef5;
  overflow: hidden;
  border-radius: 10px;
}

.hx-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hx-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.hx-play::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}

.hx-video-card strong {
  display: -webkit-box;
  padding: 10px 2px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  min-height: 0;
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Partners ===== */
.hx-partner-panel {
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 20px 22px 18px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.04);
}

.hx-partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f3f7;
}

.hx-partner-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--hx-ink);
  line-height: 1.2;
}

.hx-partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.hx-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 4px 6px;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  background: #fafbfc;
  box-sizing: border-box;
}

.hx-partner-item img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== Links ===== */
.hx-links {
  padding: 24px 0 28px;
}

.hx-links .wd-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--hx-radius);
  padding: 14px 18px;
  border: 1px solid #eef2f6;
}

.hx-links span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  line-height: 28px;
}

.hx-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.hx-links a {
  font-size: 13px;
  color: #777;
  line-height: 28px;
  text-decoration: none;
}

.hx-links a:hover {
  color: var(--hx-orange);
}

@media (max-width: 1280px) {
  .hx-hero-side {
    width: 260px;
    flex-basis: 260px;
  }

  .hx-feature-cover {
    flex-basis: 220px;
    width: 220px;
    height: 140px;
  }

  .hx-class-side {
    width: 280px;
    flex-basis: 280px;
  }
}
