/* index.css — PC 端样式（应急网络传播平台）
   设计稿 2600×4667，内容区 1402px 居中；TDesign token 命名 + MUI 图标体系 */
:root {
  --td-brand-color: #054eb5;
  --td-brand-color-hover: #1a68cf;
  --td-brand-color-light: #eaf2ff;
  --td-text-color-primary: #333;
  --td-text-color-secondary: #6b7789;
  --td-text-color-placeholder: #9aa6b8;
  --td-bg-color-page: #f6f9ff;
  --td-bg-color-container: #fff;
  --td-border-level-1-color: #e8eef7;
  --td-radius-default: 12px;
  --td-shadow-1: 0 6px 26px rgba(20, 70, 150, .07);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  background: var(--td-bg-color-page);
  color: var(--td-text-color-primary);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
    min-width: 1200px;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

img {
  display: block;
  max-width: 100%
}

button,
input {
  font-family: inherit
}

button {
  cursor: pointer
}

.container {
  width: 1402px;
  max-width: calc(100% - 40px);
  margin: 0 auto
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -.15em;
  flex: none
}

.hide {
  display: none
}

/* ---------- 顶部工具条 ---------- */
.topbar {
  height: 44px;
  background: #eef5ff;
  font-size: 13px;
  color: #687a95
}

.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.topbar .login a {
  padding: 0 6px;
  color: #3f6fbb
}

.topbar .login span {
  color: #c5d3e8
}

/* ---------- 导航 ---------- */
.nav {
  height: 116px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(16, 64, 140, .06);
}

.nav .container {
  height: 100%;
  display: flex;
  align-items: center
}

.logo {
  width: 63px;
  height: 63px;
  flex: none
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: 38px
}

.nav-menu a {
  position: relative;
  height: 116px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #2d3a4f;
  white-space: nowrap;
  transition: color .18s
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--td-brand-color);
  font-weight: 700
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: var(--td-brand-color)
}

.ai-entry {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 134px;
  height: 42px;
  border-radius: 21px;
  transition: filter .18s
}

.ai-entry img {
  width: 134px;
  height: 42px;
  display: block
}

.ai-entry:hover {
  filter: brightness(1.08)
}

/* ---------- Banner ---------- */
.hero {
  height: 586px;
  background: url("../assets/banner.jpg") center center/cover no-repeat #07489c;
  position: relative;
  color: #fff
}

.hero .container {
  position: relative;
  height: 100%
}

.hero h1 {
  position: absolute;
  left: 8px;
  top: 141px;
  margin: 0;
  font-size: 60px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 30, 90, .18)
}

.hero h2 {
  position: absolute;
  left: 8px;
  top: 223px;
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #eaf3ff
}

.t-input__wrap {
  position: absolute;
  left: 4px;
  top: 325px;
  width: 544px;
  height: 63px;
  display: flex;
  align-items: center;
  padding: 0 6px 0 27px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 32px;
  background: rgba(255, 255, 255, .13)
}

.t-input__wrap input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 18px
}

.t-input__wrap input::placeholder {
  color: rgba(255, 255, 255, .82)
}

.t-button.t-button--shape-circle {
  width: 51px;
  height: 51px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0b52b5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform .18s
}

.t-button.t-button--shape-circle:hover {
  transform: scale(1.06)
}

.hot-search {
  position: absolute;
  left: 20px;
  top: 412px;
  font-size: 16px;
  color: #e7f0ff;
  display: flex;
  gap: 12px;
  align-items: center
}

.hot-search b {
  font-weight: 500;
  color: #fff
}

.hot-search a {
  color: #fff
}

.hot-search .ai-link {
  color: #ffd970;
  font-weight: 700
}

/* ---------- 通用卡片 / 栏目标题 ---------- */
.t-card {
  background: var(--td-bg-color-container);
  border-radius: var(--td-radius-default);
  box-shadow: var(--td-shadow-1)
}

.section-heading {
  position: relative;
  height: 98px
}

.section-heading .badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 27px;
  display: block
}

.section-heading .en {
  position: absolute;
  left: 42px;
  top: 8px;
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #8a98ac;
  text-transform: uppercase
}

.section-heading h2 {
  position: absolute;
  left: 2px;
  top: 38px;
  margin: 0;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--td-brand-color)
}

.section-heading .more {
  position: absolute;
  right: 2px;
  top: 44px;
  font-size: 16px;
  color: #1a56b0;
  display: flex;
  align-items: center;
  gap: 6px
}

.more:hover {
  color: var(--td-brand-color)
}

.more .icon {
  font-size: 16px
}

/* ---------- 头条 ---------- */
.headline {
  margin-top: 50px;
  min-height: 469px;
  padding: 23px 21px;
  display: flex;
  gap: 29px
}

.headline-swiper {
  width: 716px;
  max-width: 53%;
  height: 443px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #eef4fb
}

.headline-swiper .swiper-slide {
  height: 100%;
  overflow: hidden
}

.headline-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.headline-swiper .swiper-pagination {
  bottom: 14px;
  line-height: 1
}

.headline-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #fff;
  opacity: .6;
  margin: 0 4px !important;
  border-radius: 50%;
  transition: width .2s, opacity .2s
}

.headline-swiper .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  opacity: 1
}

.headline-swiper .swiper-button-prev,
.headline-swiper .swiper-button-next {
  --swiper-navigation-size: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 38, 86, .42);
  color: #fff;
  opacity: 0;
  transition: opacity .2s
}

.headline-swiper:hover .swiper-button-prev,
.headline-swiper:hover .swiper-button-next {
  opacity: 1
}

.headline-swiper .swiper-button-prev::after,
.headline-swiper .swiper-button-next::after {
  font-size: 15px;
  font-weight: 700
}

.headline-body {
  flex: 1;
  min-width: 0;
  padding: 10px 4px 0 0
}

.column-head {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e8f3;
  position: relative
}

.column-head .bar {
  width: 23px;
  height: 53px;
  flex: none;
  object-fit: contain
}

.column-head strong {
  font-size: 18px;
  color: var(--td-brand-color)
}

.column-head small {
  display: block;
  margin-top: -5px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8a98ac;
  zoom: 0.8;
}

.column-head .more {
  margin-left: auto;
  font-size: 16px;
  color: #1a56b0;
  position: static
}

.headline-main {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 700;
  color: #1a2942;
  line-height: 1.4
}

.headline-main em {
  font-style: normal;
  color: #0d57b8
}

.headline-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #68758a
}

.headline-desc a {
  color: #0d57b8
}

.headline-list {
  margin-top: 18px
}

.headline-list li {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #41506a;
  border-bottom: 1px dashed #e8eef7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.headline-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7d9d8;
  flex: none
}

.headline-list li:hover {
  color: var(--td-brand-color)
}

/* ---------- 三列网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 41px
}

.resource {
  margin-top: 64px
}

.res-card,
.dl-card {
  padding: 24px
}

.res-card {
  /* min-height: 577px */
}

.card-head {
  display: flex;
  align-items: center;
  height: 49px
}

.card-head img {
  width: 49px;
  height: 49px;
  flex: none
}

.card-head h3 {
  margin: 0 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #1f2d45
}

.card-head .more {
  margin-left: auto;
  font-size: 16px;
  color: #1a56b0
}

.cover {
  width: 100%;
  height: 204px;
  object-fit: contain;
  border-radius: 4px;
  margin-top: 22px
}

.news-list {
  margin-top: 24px
}

.news-list li {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #424f65;
  border-bottom: 1px solid #edf2f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.news-list li:last-child {
  /* border-bottom: 0 */
}

/* .news-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9c8de;
  flex: none
} */

.news-list li:hover {
  color: var(--td-brand-color)
}

/* ---------- 隐患随手拍 ---------- */
.snap {
  margin-top: 21px;
  height: 592px;
  background: url("../assets/snap-bg.png") center center/cover no-repeat;
  position: relative;
  overflow: hidden;
  color: #fff
}

.snap .container {
  position: relative;
  height: 100%
}

.snap-phone {
  position: absolute;
  left: 62%;
  top: 129px;
  width: 439px;
  max-width: none;
  pointer-events: none
}

.snap-tag {
  position: absolute;
  left: 40px;
  top: 112px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #cfe2ff
}

.snap-tag .badge {
  width: 32px;
  height: 27px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.snap-tag .badge .icon {
  font-size: 16px
}

.snap h2 {
  position: absolute;
  left: 44px;
  top: 158px;
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px
}

.snap-desc {
  position: absolute;
  left: 44px;
  top: 268px;
  font-size: 23px;
  line-height: 1.75;
  letter-spacing: 1px
}

.snap-desc strong {
  font-size: 25px
}

.snap-actions {
  position: absolute;
  left: 37px;
  top: 438px;
  display: flex;
  align-items: center;
  gap: 42px
}

.t-button.t-button--variant-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 216px;
  height: 66px;
  border: 0;
  border-radius: 33px;
  background: url("../assets/btn-report.png") center/100% 100% no-repeat;
  color: #0b4da3;
  font-size: 22px;
  font-weight: 700
}

.t-button.t-button--variant-base:hover {
  filter: brightness(1.03);
  transform: translateY(-2px)
}

.t-button--variant-base .cam {
  width: 36px;
  height: 34px;
  object-fit: contain;
  flex: none
}

.t-button--variant-base .icon {
  font-size: 18px
}

.snap-monthly {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px
}

.snap-monthly .icon {
  font-size: 18px
}

.snap-monthly:hover {
  color: #ffe08a;
  border-color: #ffe08a
}

/* ---------- 预警信息 + 推广位 ---------- */
.split {
  display: grid;
  grid-template-columns: 676px minmax(0, 1fr);
  gap: 50px;
  margin-top: 54px
}

.warning-card {
  margin-top: 31px;
  /* min-height: 404px; */
  padding: 24px 30px;
  min-width: 0
}

.warning-card li {
  height: 4.2vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #3e4b61;
  border-bottom: 1px solid #edf2f9;
  overflow: hidden
}

.warning-card li a {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.warning-card li:last-child {
  /* border-bottom: 0 */
}

/* .warning-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d7fe0;
  flex: none
} */

.warning-card li:hover {
  color: var(--td-brand-color)
}

.promo-col {
  padding-top: 53px;
}.promo-col div{
  display: flex;
  flex-direction: column;
  gap: 34px
}
.promo {
  width: 100%;
  height: auto;/*205px*/
  object-fit: cover;
  /* border-radius: 12px; */
  transition: transform .2s, box-shadow .2s
}

.promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 60, 130, .18)
}

/* ---------- 下载专区 ---------- */
.download {
  margin-top: 68px
}

.dl-card {
  /*min-height: 877px;*/
  margin-top: 28px
}

.dl-list {
  margin-top: 26px
}

.dl-list li a {
  height: 124px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf2f9
}

.dl-list li:last-child {
  border-bottom: 0
}

.dl-list img {
  width: 146px;
  height: 104px;
  object-fit: cover;
  border-radius: 4px;
  flex: none
}

.dl-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 12px
}

.dl-meta b {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #3a475d;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden
}

.dl-meta time {
  font-size: 14px;
  color: #a0abbd
}

.dl-load {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #a2a3a2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none
}

.dl-list li a:hover .dl-load {
  background: var(--td-brand-color);
  color: #fff
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 62px;
  padding-bottom: 84px
}

.footer h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--td-brand-color)
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 30px;
  font-size: 16px;
  color: #5b6a80
}

.footer-links a:hover {
  color: var(--td-brand-color);
  text-decoration: underline
}

.footer hr {
  border: 0;
  border-top: 2px solid #d8e3f3;
  margin: 44px 0 24px
}

.copyright {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: #8d9aad
}

/* ---------- 交互反馈 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translate(-50%, 16px);
  padding: 12px 24px;
  border-radius: 8px;
  background: rgba(18, 44, 84, .92);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 20
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0)
}

.mui-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 10
}

/* ---------- 组件库同名类的兜底覆盖 ---------- */
.t-button {
  border: 0;
  background: none;
  padding: 0;
  line-height: normal
}

.t-link {
  color: inherit;
  cursor: pointer
}