/* ==========================================================================
   Taimei Insights (行业观点) — Expert insights listing page
   Native CSS, 1440px design, pixel-based positioning.
   Hero 与 News 页同款：径向渐变底 + 光晕 + 渐变方块 + 白色大圆角框。
   卡片区自 y:298 起叠于白色框之上（负 margin 上提）。
   ========================================================================== */

:root {
  --page-width: 1440px;
  --blue: #0A47ED;
  --dark-blue: #041884;
  --text-dark: #3E3E3E;
  --light-blue: #5EA4FF;
  --white: #FFFFFF;
  --gray: #97999B;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-cn: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero 光晕超出 1440 内容框，横向溢出统一由 html 裁剪。
   clip 彻底禁止横向滚动（含程序滚动），旧浏览器回退 hidden */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.page {
  position: relative;
  width: var(--page-width);
  margin: 0 auto;
}

/* ==========================================================================
   Hero (Insights)
   ========================================================================== */

.ins-banner {
  position: relative;
  height: 800px;
}

/* 装饰裁剪容器：100vw 全宽、超出即裁剪，光晕不产生横向溢出；
   子元素坐标以视口中线为基准（50% ± 设计稿相对页面中线 720px 的偏移） */
.ins-decor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  overflow: hidden;
  pointer-events: none;
}

.ins-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(180deg, rgba(4, 24, 132, 1) 63%, rgba(4, 24, 132, 0) 100%);
}

/* 底部白色辉光：必须显式指定椭圆尺寸，否则浏览器按 farthest-corner 取半径，
   不透明的蓝色会一直铺到两侧与底部，在宽屏下露出蓝带 */
.ins-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(300% 100% at 50% 100%, rgba(255, 255, 255, 1) 14%, rgba(20, 64, 242, 1) 55%, rgba(0, 15, 96, 1) 94%);
}

.ins-glow {
  position: absolute;
  display: block;
}

.ins-glow--1 {
  top: -321px;
  left: calc(50% + 226px);
  width: 683px;
  height: 642px;
  background: var(--blue);
  filter: blur(112px);
}

.ins-block {
  position: absolute;
  top: -294px;
  left: calc(50% - 468px);
  width: 1185px;
  height: 673px;
}

.ins-glow--2 {
  top: 78px;
  left: calc(50% - 455px);
  width: 910px;
  height: 570px;
  background: rgba(140, 69, 255, 0.4);
  filter: blur(150px);
}

.ins-glow--3 {
  top: 250px;
  left: calc(50% - 591px);
  width: 1183px;
  height: 169px;
  background: #6756ff;
  filter: blur(25px);
}

.ins-frame {
  position: absolute;
  top: 273px;
  left: 80px;
  width: 1280px;
  height: 600px;
  background: var(--white);
  border-radius: 40px;
}

.ins-title {
  position: absolute;
  top: 136px;
  left: 0;
  width: 100%;
  font-size: 64px;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--white);
}

/* ==========================================================================
   Insights grid (3 x 3 cards)
   卡片首行 y:298 → 800 - 298 = 502px 上提叠于白色框上
   ========================================================================== */

.ins-list {
  position: relative;
  width: 1230px;
  margin: -502px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 45px;
  z-index: 1;
}

.ins-card {
  position: relative;
  width: 380px;
  min-height: 340px;
  padding-bottom: 26px;
  background: var(--white);
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
}

.ins-card__cover {
  position: relative;
  width: 380px;
  height: 200px;
  overflow: hidden;
  background: #7cb1f3;
}

.ins-card__cover img {
  position: absolute;
  top: -9px;
  left: -7px;
  width: 387px;
  height: 218px;
  object-fit: cover;
}

.ins-card__title {
  padding: 0 20px;
  margin-top: 15px;
  min-height: 60px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 标签：标题下方蓝色 #标签# 串 */
.ins-card__tags {
  padding: 0 20px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 26px;
  color: var(--blue);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Pagination（页码导航，与新闻列表页一致）
   每项都是服务端链接（?page=N），保持 MPA / SEO 友好，无 JS 依赖。
   ========================================================================== */

.news-pager {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 62px;
  z-index: 1;
}

/* 页码 / 前后翻页 / 省略号：统一的白色方块 */
.news-pager__item,
.news-pager__nav,
.news-pager__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #e6eaf3;
  border-radius: 8px;
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  color: var(--text-dark);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.news-pager__item:hover,
.news-pager__nav:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* 当前页：蓝底白字，不可点 */
.news-pager__item.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  cursor: default;
}

/* 首页 / 末页时置灰的前后翻页按钮 */
.news-pager__nav.is-disabled {
  color: #c8ccd6;
  cursor: not-allowed;
}

/* 省略号：仅保留方块轮廓，弱化文字 */
.news-pager__gap {
  color: var(--gray);
  cursor: default;
}

/* 页脚（设计稿 y:2007，分页底部 1865 → 间距 142px） */
.page .footer {
  position: relative;
  z-index: 1;
  margin-top: 142px;
}

/* ==========================================================================
   窄屏 PC（980px–1439px）：修正 .ins-decor 全屏出血层的对齐
   该层用「left: 50% + translateX(-50%)」把 100vw 铺满视口，这个写法同样以
   「.page(1440px) 居中」为前提。视口窄于 1440px 时 CSS 会把 .page 的
   margin:auto 解析为 0（不产生负边距），.page 左边缘落在 0 而非居中，
   该层因此整体右移 G = 720 - 视口宽/2，左侧露出缺口。
   这里直接钉在左边缘，并清掉 translateX(-50%)——否则会被推左半个视口出屏；
   ≥1440px 不命中本规则，PC 效果不变。
   ========================================================================== */

@media (min-width: 980px) and (max-width: 1439px) {
  .ins-decor {
    left: 0;
    transform: none;
  }
}
