﻿.page-hero--res {
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(44, 122, 242, 0.16), transparent 60%),
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.res-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.res-tabs__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.res-tabs__item {
  flex: 0 0 auto;
  padding: 0.95rem 1.45rem;
  border-radius: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s var(--ease);
}

.res-tabs__item:hover {
  color: var(--blue);
  background: transparent;
}

.res-tabs__item.is-active {
  color: var(--blue);
  background: rgba(44, 122, 242, 0.08);
  font-weight: 700;
  border-radius: 8px 8px 0 0;
}

.res-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(44, 122, 242, 0.12);
}

.res-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.res-block {
  margin-bottom: 2.25rem;
}

.res-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.res-block__head h2 {
  font-size: 1.25rem;
  color: var(--ink);
}

.res-block__head a {
  color: var(--blue);
  font-size: 0.88rem;
  text-decoration: none;
}

.res-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.res-feat-grid--top {
  margin-bottom: 2rem;
}

.res-feat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 1.25rem 1.2rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(160deg, #1e65d8 0%, #1547a0 55%, #0f172a 120%);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.res-feat:nth-child(2) {
  background: linear-gradient(160deg, #2c7af2 0%, #1e65d8 60%, #0f172a 130%);
}

.res-feat:nth-child(3) {
  background: linear-gradient(160deg, #0d9488 0%, #0f766e 55%, #0f172a 130%);
}

.res-feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.res-feat__badge {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.18);
}

.res-feat h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.55rem;
}

.res-feat p {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.88;
}

.res-feat__cta {
  margin-top: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.95;
}

.res-hot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.res-hot {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.res-hot:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.res-hot__num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.res-hot h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.res-hot p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.res-side-card {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  margin-bottom: 1rem;
}

.res-side-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.res-side-card__lead {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.res-side-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.res-side-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.res-side-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.res-side-list span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.res-side-list a:hover strong {
  color: var(--blue);
}

.res-side-list--compact li + li {
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.res-side-more {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--blue);
  font-size: 0.86rem;
  text-decoration: none;
}

.res-filters {
  position: relative;
  z-index: 2;
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.res-filters__row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.55rem 0.85rem;
  align-items: start;
}

.res-filters__row + .res-filters__row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #dbe7f5;
}

.res-filters__label {
  font-size: 0.86rem;
  color: var(--ink);
  padding-top: 0.4rem;
  font-weight: 600;
}

.res-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.res-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #d7e3f4;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.res-chip.is-on,
.res-chip:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #2c7af2 0%, #1e65d8 100%);
  box-shadow: 0 6px 14px rgba(44, 122, 242, 0.28);
}

.res-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.res-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.res-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.res-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: linear-gradient(135deg, var(--blue-soft), #fff 60%);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
}

.res-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-card__cover--video {
  background: linear-gradient(145deg, #0f172a, #1e65d8);
  color: #fff;
}

.res-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
}

.res-play::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--blue);
}

.res-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
}

.res-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.res-card__body h3 {
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
}

.res-card__body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.res-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.res-card__meta span {
  font-size: 0.74rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
}

.res-article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 统一混合文章卡：分类列表共用，含视频/下载标记 */
.res-mix-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 资源中心列表：横排 4 列 */
.res-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.85rem 1.6rem;
}

.res-grid-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.res-grid-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.res-grid-card__cover {
  position: relative;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 600;
  overflow: hidden;
}

.res-grid-card__cover img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.res-grid-card__cover--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.res-grid-card__play {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b65ff'%3E%3Cpath d='M9 7.5v9l8-4.5-8-4.5z'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.res-grid-card__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
}

.res-grid-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
  min-width: 0;
  gap: 0.15rem;
}

.res-grid-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.res-grid-card__body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-grid-card__body p {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-grid-card__meta {
  margin-top: auto;
  padding-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .res-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem 1.35rem;
  }
}

@media (max-width: 800px) {
  .res-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.1rem;
  }

  .res-grid-card__cover {
    height: 140px;
  }

  .res-grid-card__body {
    padding: 1rem 1.05rem 1.1rem;
  }
}

@media (max-width: 520px) {
  .res-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.res-mix {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition:
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.res-mix:hover {
  border-color: rgba(44, 122, 242, 0.38);
  box-shadow: 0 16px 36px rgba(44, 122, 242, 0.14);
  transform: translateY(-4px);
}

.res-mix__cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.res-mix__cover img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.res-mix:hover .res-mix__cover img {
  transform: scale(1.05);
}

.res-mix__cover--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.res-mix__play {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b65ff'%3E%3Cpath d='M9 7.5v9l8-4.5-8-4.5z'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.res-mix__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
}

.res-mix__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.res-mix__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.res-mix__tag--soft {
  color: #475569;
  background: #f1f5f9;
}

.res-mix__tag--video {
  color: #9a3412;
  background: #ffedd5;
}

.res-mix__tag--dl {
  color: #166534;
  background: #dcfce7;
}

.res-mix__body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
  line-height: 1.45;
  color: #0f172a;
  transition: color 0.22s var(--ease);
}

.res-mix:hover .res-mix__body h3 {
  color: var(--blue);
}

.res-mix__tags .title-quote,
.res-mix__body .title-quote {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--blue, #2c7af2);
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  background: var(--blue-soft, #eaf2fe);
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
}

.res-mix__body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-mix__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: auto;
}

/* 案例 / 动态软翻页列表入场 */
.res-mix-list.is-page-in {
  animation: res-soft-in 0.42s var(--ease) both;
}

html.is-list-paging .res-mix-list {
  opacity: 0.45;
  filter: blur(2px);
  transition: opacity 0.2s var(--ease), filter 0.2s var(--ease);
}

@media (max-width: 700px) {
  .res-mix {
    grid-template-columns: 1fr;
  }

  .res-mix__cover {
    width: 100%;
    height: 180px;
    min-height: 180px;
  }
}

.res-article {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.res-article:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.res-article__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 600;
  overflow: hidden;
}

.res-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-article__body h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.res-article__body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.res-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.res-event-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.res-event {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.res-event:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.res-event__date strong {
  display: block;
  color: var(--blue);
  font-size: 0.95rem;
}

.res-event__date span {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #fff;
  background: var(--blue);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.res-event__body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.res-event__body p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.res-event__cta {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.res-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
}

.res-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* 资源下载头图：对齐纷享 .whitepaper-header（图 330 + 间距 40 + 文案 422） */
.res-dl-hero {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 792px; /* 330 + 40 + 422 */
  box-sizing: border-box;
  margin: 0 0 2rem;
  padding: 0;
  background: transparent;
  border: none;
  gap: 0;
}

.res-dl-hero__cover {
  flex: 0 0 330px;
  width: 330px;
  margin-right: 40px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #dee1e6;
  box-shadow:
    0 0 32px rgba(0, 0, 0, 0.04),
    0 0 5px rgba(24, 28, 37, 0.12);
  background: #fff;
  aspect-ratio: auto;
  align-self: flex-start;
}

.res-dl-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: top;
}

.res-dl-hero__body {
  flex: 1 1 auto;
  width: 422px;
  max-width: 422px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 0;
}

.res-dl-hero__main {
  display: block;
  width: 100%;
}

.res-dl-hero__title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 700;
  color: #181c25;
}

.res-dl-hero__desc {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 26px;
  color: #545861;
}

.res-dl-hero__meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  color: #545861;
}

.res-dl-hero__meta li {
  margin: 0;
  padding: 0;
}

.res-dl-hero__body > .res-dl-btn {
  margin-top: 4px;
  min-width: 148px;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
}

.res-dl-hero--no-cover,
.res-dl-hero:not(:has(.res-dl-hero__cover)) {
  max-width: 422px;
}

.res-dl-hero--no-cover .res-dl-hero__body,
.res-dl-hero:not(:has(.res-dl-hero__cover)) .res-dl-hero__body {
  width: 100%;
  max-width: 100%;
}

.res-side-dl-cover {
  width: 72px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  aspect-ratio: 3 / 4;
  background: #f1f5f9;
}

.res-side-dl-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.res-side-dl__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.res-side-dl__info {
  flex: 1;
  min-width: 0;
}

.res-side-dl-title {
  margin: 0 0 0.35rem !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a !important;
  opacity: 1 !important;
}

.res-side-dl-desc {
  margin: 0 0 0.4rem !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  opacity: 1 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.res-side-pages {
  margin: 0 !important;
  font-size: 0.8rem;
  color: #94a3b8;
  opacity: 1;
}

.res-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.res-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 148px;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #2f7bff 0%, #1b65ff 48%, #1554d9 100%);
  box-shadow: 0 10px 22px rgba(27, 101, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.res-dl-btn::before {
  content: "";
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.res-dl-btn:hover {
  color: #fff !important;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(27, 101, 255, 0.34);
}

/* 资源详情右侧：白底卡片 */
.res-article-page .case-side-card {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.res-article-page .case-side-card h3 {
  color: #0f172a;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

.res-article-page .case-side-card p {
  color: #64748b;
  opacity: 1;
}

.res-article-page .case-side-card .res-dl-btn {
  width: 100%;
  margin-top: 0.15rem;
  background: linear-gradient(135deg, #2f7bff 0%, #1b65ff 48%, #1554d9 100%);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(27, 101, 255, 0.22);
}

.res-article-page .case-side-card .res-dl-btn::before {
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.res-article-page .case-side-card .res-dl-btn:hover {
  color: #fff !important;
  filter: brightness(1.04);
  background: linear-gradient(135deg, #2f7bff 0%, #1b65ff 48%, #1554d9 100%);
  box-shadow: 0 12px 24px rgba(27, 101, 255, 0.28);
}

.res-article-page .case-side-card a,
.res-article-page .case-side-card .res-side-mini a {
  color: #334155;
}

.res-article-page .case-side-card a:hover,
.res-article-page .case-side-card .res-side-mini a:hover {
  color: #1b65ff;
  text-decoration: none;
}

.res-article-page .res-side-mini a {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
}

.res-article-page .res-side-mini li + li {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.55rem;
  margin-top: 0.55rem;
}

.res-article-page .case-side-card > p a {
  color: #1b65ff;
  font-weight: 600;
}

.res-article-video {
  margin: 0 0 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
}

.res-article-video video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #000;
}

.res-article-video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.res-article-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.res-article-video__link {
  display: block;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #1b65ff, #0b3fa8);
}

.res-article-cover {
  margin: 0 0 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}

.res-article-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.res-article-video__poster {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
}

.res-article-video__poster img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .res-dl-hero {
    max-width: 100%;
  }

  .res-dl-hero__cover {
    flex: 0 0 240px;
    width: 240px;
    margin-right: 28px;
  }

  .res-dl-hero__body {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  .res-dl-hero {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    text-align: center;
    gap: 1.15rem;
  }

  .res-dl-hero__cover {
    width: min(240px, 70vw);
    flex: 0 0 auto;
    margin-right: 0;
  }

  .res-dl-hero__body {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .res-dl-hero__title,
  .res-dl-hero__desc,
  .res-dl-hero__meta {
    text-align: center;
  }

  .res-dl-hero__body > .res-dl-btn {
    width: 100%;
    max-width: 280px;
  }
}

.res-side-mini {
  list-style: none;
  margin: 0;
  padding: 0;
}

.res-side-mini li + li {
  margin-top: 0.55rem;
}

.res-prose p + p {
  margin-top: 1rem;
}

.res-prose strong {
  color: var(--ink);
}

.res-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(27, 101, 255, 0.1);
  color: #1b65ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.res-block-card {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line, #e6ebf2);
  border-radius: 14px;
  background: #fff;
}

.res-block-card__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.res-block-card__desc {
  margin: 0 0 0.9rem;
  color: var(--muted, #64748b);
  font-size: 0.9rem;
  line-height: 1.6;
}

.res-block-card--download {
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
  border-color: rgba(27, 101, 255, 0.22);
}

.res-page--detail .page-hero--compact {
  padding-bottom: 1.25rem;
}

.res-detail__cover {
  margin: 0 0 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}

.res-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.res-detail__video {
  margin: 0 0 1.35rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.res-detail__player {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #000;
}

.res-detail__iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.res-detail__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.res-detail__video-link {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1b65ff, #0b3fa8);
}

.res-detail__video-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.res-detail__video-link span {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  font-weight: 600;
}

.res-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.res-detail__related h2 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.res-empty {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
}

@media (max-width: 960px) {
  .page-hero--res {
    padding: 1.75rem 0 1.25rem;
  }

  .page-hero--res h1 {
    font-size: 1.65rem;
  }

  .res-hub,
  .res-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .res-feat-grid,
  .res-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .res-article {
    grid-template-columns: 1fr;
  }

  .res-article__cover {
    min-height: 160px;
  }

  .res-event {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .res-event__cta {
    justify-self: start;
  }

  .res-filters__row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .res-tabs__inner {
    margin: 0 -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media (max-width: 640px) {
  .page-hero--res h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .page-hero--res p {
    font-size: 0.88rem;
  }

  .res-tabs {
    top: calc(var(--nav-h) - 2px);
  }

  .res-tabs__inner {
    gap: 0.15rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .res-tabs__inner::-webkit-scrollbar {
    display: none;
  }

  .res-tabs__item {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }

  .res-feat-grid,
  .res-card-grid,
  .res-feat-grid--top {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .res-feat {
    min-height: 168px;
    padding: 1.1rem 1rem;
  }

  .res-feat h3 {
    font-size: 0.98rem;
  }

  .res-block {
    margin-bottom: 1.5rem;
  }

  .res-block__head {
    margin-bottom: 0.75rem;
  }

  .res-block__head h2 {
    font-size: 1.1rem;
  }

  .res-hot {
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 0.85rem 0.9rem;
  }

  .res-filters {
    padding: 0.85rem 0.9rem;
    margin-bottom: 1.1rem;
  }

  .res-chip {
    padding: 0.32rem 0.65rem;
    font-size: 0.78rem;
  }

  .res-card__cover {
    height: 150px;
  }

  .res-card__body {
    padding: 0.9rem 0.95rem 1rem;
  }

  .res-article {
    padding: 0.85rem;
    gap: 0.85rem;
  }

  .res-event {
    padding: 0.95rem 1rem;
  }

  .res-detail__actions {
    flex-direction: column;
  }

  .res-detail__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .res-side-card {
    padding: 1.05rem 1rem;
  }

  .res-prose {
    font-size: 0.92rem;
  }
}

.res-page--dry .section--tight {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.res-page--dry.is-loading [data-res-list] {
  opacity: 0.28;
  filter: blur(4px);
  transform: scale(0.992);
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.res-page--dry.is-swap-in [data-res-list] {
  animation: res-soft-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes res-soft-in {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(16px) scale(0.99);
  }
  55% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .res-page--dry.is-loading [data-res-list],
  .res-page--dry.is-swap-in [data-res-list] {
    filter: none !important;
    transform: none !important;
    animation: none !important;
    transition: opacity 0.15s ease;
  }
}

.res-hero {
  position: relative;
  width: 100%;
  height: clamp(240px, 28vw, 340px);
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}

.res-hero__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
}

.res-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.18) 45%, rgba(15, 23, 42, 0.35) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.28) 100%);
  pointer-events: none;
}

.res-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}

.res-hero--whitepaper .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(30, 101, 216, 0.55) 0%, rgba(15, 23, 42, 0.2) 52%, rgba(15, 23, 42, 0.55) 100%);
}

.res-hero--news .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(14, 116, 144, 0.5) 0%, rgba(15, 23, 42, 0.22) 50%, rgba(15, 23, 42, 0.58) 100%);
}

.res-hero--video .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(67, 56, 202, 0.48) 0%, rgba(15, 23, 42, 0.25) 48%, rgba(15, 23, 42, 0.6) 100%);
}

.res-hero--baike .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(13, 148, 136, 0.5) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0.55) 100%);
}

.res-hero--events .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(37, 99, 235, 0.48) 0%, rgba(15, 23, 42, 0.22) 52%, rgba(15, 23, 42, 0.58) 100%);
}

.res-hero--ai .res-hero__shade {
  background:
    linear-gradient(115deg, rgba(2, 132, 199, 0.52) 0%, rgba(79, 70, 229, 0.28) 45%, rgba(15, 23, 42, 0.62) 100%);
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
}

.wp-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.wp-card__cover {
  height: 168px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(160deg, #2c7af2, #1547a0 70%);
  box-shadow: var(--shadow);
}

.wp-card__cover[data-tone="1"] {
  background: linear-gradient(160deg, #1e65d8, #0f172a 80%);
}

.wp-card__cover[data-tone="2"] {
  background: linear-gradient(160deg, #0d9488, #115e59 75%);
}

.wp-card__cover[data-tone="3"] {
  background: linear-gradient(160deg, #3b82f6, #1e3a8a 78%);
}

.wp-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-card__cover span {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wp-card__body {
  padding: 0.85rem 0.1rem 0;
}

.wp-card__body h3 {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wp-card__body p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wp-card:hover .wp-card__body h3 {
  color: var(--blue);
}

.res-pagebox {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.res-pagebox .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.res-pagebox .pagination a,
.res-pagebox .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.res-pagebox .pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.res-pagebox .pagination .active span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.res-pagebox .pagination .disabled span {
  color: #94a3b8;
  background: #f8fafc;
  cursor: default;
}

@media (max-width: 960px) {
  .wp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .res-hero {
    height: clamp(200px, 40vw, 260px);
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .wp-grid {
    grid-template-columns: 1fr;
  }

  .res-hero {
    height: 180px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
  }

  .res-filters {
    padding: 0.95rem 0.9rem;
  }

  .res-filters__row {
    grid-template-columns: 1fr;
  }

  .res-tabs__item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .res-tabs__item.is-active::after {
    left: 1rem;
    right: 1rem;
  }
}