/* ========================================
   鸿博档案官网 - 首页样式
   ======================================== */

/* Hero 横幅 */
.hero {
  position: relative;
  height: var(--hero-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/home_banner.png') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 45px;
  font-weight: 800;
  color: #2E428A;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-title-highlight {
  color: var(--color-red);
}

.hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.hero-subtitle-item {
  color: #2E428A;
  font-weight: 700;
}

.hero-subtitle-item:not(:last-child) {
  margin-right: 40px;
}

/* 首页右侧悬浮二维码 */
.float-contact-qr {
  position: fixed;
  top: 28%;
  right: 28px;
  z-index: 998;
  pointer-events: none;
}

.float-contact-qr-scaled {
  zoom: var(--page-scale);
}

.float-contact-qr-card {
  pointer-events: auto;
  width: 148px;
  padding: 12px 12px 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 43, 91, 0.16);
  border: 1px solid rgba(26, 75, 140, 0.12);
  text-align: center;
}

.float-contact-qr-card img {
  display: block;
  width: 124px;
  height: auto;
  margin: 0 auto;
}

.float-contact-qr-text {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a4b8c;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .float-contact-qr {
    display: none;
  }
}

/* ========================================
   首页 - 我们能为您做什么
   ======================================== */
.home-capabilities {
  background: #F7F8FA;
  padding: 80px 0 72px;
}

.home-capabilities > .container {
  width: 100%;
  max-width: none;
}

.home-capabilities-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
  background: #F7F8FA;
}

.home-capabilities-subtitle {
  margin: 0 auto 52px;
  max-width: 760px;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: #7a7f8c;
}

.home-capabilities-subtitle:empty,
.home-capabilities-subtitle[hidden] {
  display: none;
}

.home-capabilities-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.home-capabilities-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 40px 24px;
  text-decoration: none;
  color: #1a1a1a;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-right: 1px solid #e8ebf0;
  border-bottom: 1px solid #e8ebf0;
  box-sizing: border-box;
  cursor: default;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.home-capabilities-card:nth-child(3n) {
  border-right: none;
}

.home-capabilities-card:nth-last-child(-n + 3) {
  border-bottom: none;
}

.home-capabilities-card.is-color:nth-child(odd) {
  background-color: #ffffff;
}

.home-capabilities-card.is-color:nth-child(even) {
  background-color: #F4F4F4;
}

.home-capabilities-card.is-image {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-capabilities-card.is-image .home-capabilities-icon img {
  filter: brightness(0) invert(1);
}

.home-capabilities-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-capabilities-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.home-capabilities-icon-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.home-capabilities-icon.is-empty {
  border: 1px dashed #d0d4dc;
  opacity: 0.35;
}

.home-capabilities-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.5px;
}

.home-capabilities-card:hover {
  background-color: #e31c23 !important;
  background-image: none !important;
  color: #ffffff;
  text-shadow: none;
  z-index: 1;
}

.home-capabilities-card:hover .home-capabilities-icon img {
  filter: brightness(0) invert(1);
}

.home-capabilities-card.has-hover-icon:hover .home-capabilities-icon-default {
  opacity: 0;
  filter: none;
}

.home-capabilities-card.has-hover-icon:hover .home-capabilities-icon-hover {
  opacity: 1;
  filter: none;
}

.home-capabilities-card:hover .home-capabilities-icon.is-empty {
  border-color: rgba(255, 255, 255, 0.55);
  opacity: 0.8;
}

@media (max-width: 960px) {
  .home-capabilities {
    padding: 56px 0 48px;
  }

  .home-capabilities-title {
    font-size: 26px;
  }

  .home-capabilities-subtitle {
    margin-bottom: 32px;
  }

  .home-capabilities-card {
    min-height: 180px;
    padding: 28px 16px;
  }

  .home-capabilities-icon {
    width: 52px;
    height: 52px;
  }

  .home-capabilities-name {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .home-capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-capabilities-card:nth-child(3n) {
    border-right: 1px solid #e8ebf0;
  }

  .home-capabilities-card:nth-child(2n) {
    border-right: none;
  }

  .home-capabilities-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid #e8ebf0;
  }

  .home-capabilities-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* ========================================
   首页 - 一站式全流程托管
   ======================================== */
.home-full-process {
  background: #ffffff;
  padding: 80px 0 72px;
}

.home-full-process > .container {
  width: 80%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.home-fp-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.home-fp-subtitle {
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: #8a8f9c;
}

.home-fp-subtitle:empty,
.home-fp-subtitle[hidden] {
  display: none;
}

.home-fp-board {
  width: 100%;
}

/* 上中下三层共用同一套 5 列网格，保证竖向对齐 */
.home-fp-flow,
.home-fp-bridges,
.home-fp-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.home-fp-flow {
  position: relative;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 22px;
  background: #f3f5f8;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.06);
}

.home-fp-stage {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-fp-stage-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px 10px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-fp-stage-main:hover {
  border-color: #6aa8f8;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(106, 168, 248, 0.15);
}

a.home-fp-stage-main.is-link,
a.home-fp-item.is-link {
  cursor: pointer;
}

.home-fp-stage-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.home-fp-stage-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(70, 140, 240, 0.28));
}

.home-fp-stage-icon.is-empty {
  border: 1px dashed rgba(106, 168, 248, 0.45);
  border-radius: 14px;
  opacity: 0.55;
}

.home-fp-stage-name {
  font-size: 15px;
  font-weight: 600;
  color: #222833;
  text-align: center;
  line-height: 1.35;
}

/* 绝对定位在当前阶段与下一阶段卡片正中间 */
.home-fp-arrow {
  position: absolute;
  left: 100%;
  top: 38%;
  width: 64px;
  height: 48px;
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.home-fp-arrow img {
  width: 64px !important;
  height: 48px !important;
  max-width: none;
  object-fit: contain;
  display: block;
}

.home-fp-bridges {
  margin: -6px 0 2px;
  position: relative;
  z-index: 2;
}

.home-fp-bridge {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 44px;
}

.home-fp-down {
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-fp-down img {
  width: 48px !important;
  height: 64px !important;
  max-width: none;
  object-fit: contain;
  display: block;
}

.home-fp-map {
  padding-top: 22px;
  padding-bottom: 24px;
  background: #f3f5f8;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.05);
}

.home-fp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.home-fp-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 96px;
  max-width: 100%;
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: #dceeff;
  color: #2f78e8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.home-fp-category-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.home-fp-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.home-fp-category-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-fp-tree {
  --fp-line: #8ec0f8;
  --fp-dot: #6eb0f5;
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding-top: 8px;
}

/* 分类到括号的中心竖线（与括号顶相接） */
.home-fp-stem {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 28px;
  margin-left: -0.75px;
  background: var(--fp-line);
  z-index: 1;
}

.home-fp-tree.is-dashed .home-fp-stem {
  background: repeating-linear-gradient(
    to bottom,
    var(--fp-line) 0 2.5px,
    transparent 2.5px 5px
  );
}

/* 单节点：竖线直接贯通到圆点 */
.home-fp-tree.is-single .home-fp-stem {
  height: 70px;
  background: var(--fp-line);
}

/* 圆角括号：竖边直接落到圆点，不再另接短线 */
.home-fp-bracket {
  position: absolute;
  top: 28px;
  left: 24%;
  right: 24%;
  height: 56px;
  border: 1.5px dashed var(--fp-line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-sizing: border-box;
  z-index: 1;
  pointer-events: none;
}

.home-fp-tree.is-solid .home-fp-bracket {
  border-style: solid;
}

.home-fp-items {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  /* 28(stem/bracket顶) + 56(括号) = 84，圆点落在此处 */
  padding-top: 84px;
  z-index: 2;
}

.home-fp-tree.is-single .home-fp-items {
  padding-top: 70px;
}

.home-fp-tree.is-pair .home-fp-item,
.home-fp-tree.is-multi .home-fp-item {
  flex: 1 1 calc(50% - 10px);
  min-width: 72px;
}

.home-fp-tree.is-grid .home-fp-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-fp-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

/* 堆叠列：上下卡片之间的竖线（仅首项有圆点） */
.home-fp-stack .home-fp-item + .home-fp-item {
  position: relative;
  margin-top: 10px;
}

.home-fp-stack .home-fp-item + .home-fp-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1.5px;
  height: 10px;
  margin-left: -0.75px;
  background: repeating-linear-gradient(
    to bottom,
    var(--fp-line) 0 2.5px,
    transparent 2.5px 5px
  );
}

.home-fp-tree.is-single .home-fp-item {
  min-width: 104px;
}

.home-fp-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  max-width: 100%;
  min-height: 40px;
  /* 圆点在 padding-top 区域，卡片再往下留空 */
  margin-top: 0;
  padding: 9px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e8eef7;
  color: #3b8ef5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(47, 120, 232, 0.1);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.home-fp-tree.is-pair .home-fp-item,
.home-fp-tree.is-multi .home-fp-item,
.home-fp-tree.is-grid .home-fp-stack > .home-fp-item:first-child,
.home-fp-tree.is-single .home-fp-item {
  margin-top: 12px;
}

.home-fp-item-text {
  display: block;
}

/* 圆点落在括号竖边末端，与卡片之间留空 */
.home-fp-item-dot {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--fp-dot);
  box-shadow: 0 0 0 3px rgba(110, 176, 245, 0.18);
  z-index: 3;
}

/* 堆叠列：仅第一个子项保留圆点 */
.home-fp-stack .home-fp-item:not(:first-child) .home-fp-item-dot {
  display: none;
}

a.home-fp-item:hover {
  border-color: #6aa8f8;
  color: #2176e0;
  box-shadow: 0 8px 18px rgba(47, 120, 232, 0.14);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .home-fp-flow {
    padding: 22px 12px 16px;
  }

  .home-fp-stage-icon {
    width: 58px;
    height: 58px;
  }

  .home-fp-stage-icon img {
    width: 50px;
    height: 50px;
  }

  .home-fp-stage-name,
  .home-fp-category {
    font-size: 13px;
  }

  .home-fp-category {
    min-width: 84px;
    height: 36px;
    padding: 0 12px;
  }

  .home-fp-arrow {
    width: 52px;
    height: 40px;
  }

  .home-fp-arrow img {
    width: 52px !important;
    height: 40px !important;
  }

  .home-fp-down img {
    width: 40px !important;
    height: 54px !important;
  }
}

@media (max-width: 960px) {
  .home-full-process {
    padding: 56px 0 48px;
  }

  .home-full-process > .container {
    width: 92%;
  }

  .home-fp-title {
    font-size: 26px;
  }

  .home-fp-board {
    overflow-x: auto;
  }

  .home-fp-flow,
  .home-fp-bridges,
  .home-fp-map {
    min-width: 780px;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
  }
}

/* ========================================
   首页 - 为什么选择鸿博
   ======================================== */
.home-why-us {
  background: #F7F8FA;
  padding: 88px 0 120px;
}

.home-why-us > .container {
  width: 100%;
  max-width: none;
}

.home-why-us-title {
  margin: 0 0 56px;
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 3px;
  background: #F7F8FA;
}

.home-why-us-grid {
  width: 80%;
  /* 固定为选中卡高度，居中后上下各突出 (560-468)/2 */
  height: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  box-sizing: border-box;
}

.home-why-us-card {
  --why-arrow: #C00000;
  --why-dot: #C00000;
  --why-sub: #666b78;
  --why-text: #333846;
  --why-active-bg: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 468px;
  padding: 44px 36px 40px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #1a1a1a;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
  transition:
    flex 0.35s ease,
    flex-basis 0.35s ease,
    width 0.35s ease,
    height 0.35s ease,
    margin 0.35s ease,
    padding 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    background-color 0.35s ease,
    background-image 0.35s ease;
}

.home-why-us-card > * {
  position: relative;
  z-index: 1;
}

/* 深蓝→酒红遮罩，压在背景图之上 */
.home-why-us-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      165deg,
      rgba(22, 36, 68, 0.82) 0%,
      rgba(72, 28, 48, 0.72) 46%,
      rgba(138, 28, 42, 0.78) 100%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

/* 默认选中 / 悬停：抬升；无图保持白底，有图才深色 */
.home-why-us-card.is-featured,
.home-why-us-card:hover {
  flex: 0.78 1 0;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  height: 560px;
  padding: 52px 34px 44px;
  transform: none;
  box-shadow: 0 26px 52px rgba(20, 24, 40, 0.28);
  z-index: 2;
  background-image: none;
  background-color: #ffffff;
}

.home-why-us-card.has-active-bg.is-featured,
.home-why-us-card.has-active-bg:hover {
  --why-arrow: #ffffff;
  --why-dot: #ffffff;
  --why-sub: rgba(255, 255, 255, 0.9);
  --why-text: #ffffff;
  color: #ffffff;
  background-image: var(--why-active-bg);
  background-color: #1a2744;
}

.home-why-us-card.has-active-bg.is-featured::before,
.home-why-us-card.has-active-bg:hover::before {
  opacity: 1;
}

/* 悬停其他卡时，默认选中卡回落为白底 */
.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) {
  --why-arrow: #C00000;
  --why-dot: #C00000;
  --why-sub: #666b78;
  --why-text: #333846;
  color: #1a1a1a;
  flex: 1 1 0;
  width: auto;
  height: 468px;
  margin-left: 0;
  margin-right: 0;
  padding: 44px 36px 40px;
  transform: none;
  box-shadow: none;
  z-index: 1;
  background-image: none;
  background-color: #ffffff;
}

.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover)::before {
  opacity: 0;
}

.home-why-us-icon {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-why-us-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.home-why-us-icon-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.home-why-us-icon.is-empty {
  border: 1px dashed #d0d4dc;
  opacity: 0.35;
}

.home-why-us-card.has-active-bg.is-featured .home-why-us-icon img,
.home-why-us-card.has-active-bg:hover .home-why-us-icon img {
  filter: brightness(0) invert(1);
}

.home-why-us-card.has-hover-icon.is-featured .home-why-us-icon-default,
.home-why-us-card.has-hover-icon:hover .home-why-us-icon-default {
  opacity: 0;
  filter: none;
}

.home-why-us-card.has-hover-icon.is-featured .home-why-us-icon-hover,
.home-why-us-card.has-hover-icon:hover .home-why-us-icon-hover {
  opacity: 1;
  filter: none;
}

.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) .home-why-us-icon img {
  filter: none;
}

.home-why-us-grid:hover .home-why-us-card.has-hover-icon.is-featured:not(:hover) .home-why-us-icon-default {
  opacity: 1;
  filter: none;
}

.home-why-us-grid:hover .home-why-us-card.has-hover-icon.is-featured:not(:hover) .home-why-us-icon-hover {
  opacity: 0;
  filter: none;
}

.home-why-us-name {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
}

.home-why-us-subtitle {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--why-sub);
  transition: color 0.35s ease;
}

.home-why-us-points {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  flex: 1;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.home-why-us-points li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--why-text);
  text-align: left;
  transition: color 0.35s ease;
}

.home-why-us-points li:last-child {
  margin-bottom: 0;
}

.home-why-us-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--why-dot);
  transition: background 0.35s ease;
}

.home-why-us-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 24px;
  margin: 36px auto 0;
  color: var(--why-arrow);
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transition:
    transform 0.25s ease,
    border-color 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    width 0.35s ease,
    height 0.35s ease;
}

.home-why-us-arrow-idle {
  width: 48px;
  height: 16px;
  display: block;
}

.home-why-us-arrow-active {
  display: none;
  width: 22px;
  height: 22px;
}

/* 选中/悬停：切换为圆形 > 箭头 */
.home-why-us-card.is-featured .home-why-us-arrow-idle,
.home-why-us-card:hover .home-why-us-arrow-idle {
  display: none;
}

.home-why-us-card.is-featured .home-why-us-arrow-active,
.home-why-us-card:hover .home-why-us-arrow-active {
  display: block;
}

/* 白底选中/悬停：红底圆 + 白色 > */
.home-why-us-card.is-featured:not(.has-active-bg) .home-why-us-arrow,
.home-why-us-card:hover:not(.has-active-bg) .home-why-us-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-color: transparent;
  background: #C00000;
  color: #ffffff;
}

/* 背景图选中/悬停：白底圆 + 深色 > */
.home-why-us-card.has-active-bg.is-featured .home-why-us-arrow,
.home-why-us-card.has-active-bg:hover .home-why-us-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-color: transparent;
  background: #ffffff;
  color: #2b2f3a;
}

.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) .home-why-us-arrow {
  width: 56px;
  height: 24px;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  color: var(--why-arrow);
}

.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) .home-why-us-arrow-idle {
  display: block;
}

.home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) .home-why-us-arrow-active {
  display: none;
}

.home-why-us-card:hover .home-why-us-arrow {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .home-why-us-card {
    padding: 36px 26px 32px;
  }

  .home-why-us-name {
    font-size: 26px;
  }
}

@media (max-width: 960px) {
  .home-why-us {
    padding: 56px 0 60px;
  }

  .home-why-us-title {
    margin-bottom: 36px;
    font-size: 28px;
  }

  .home-why-us-grid {
    width: 90%;
    height: auto;
    min-height: 0;
    padding-top: 0;
    gap: 0;
    align-items: stretch;
    overflow: visible;
  }

  .home-why-us-card,
  .home-why-us-card.is-featured,
  .home-why-us-card:hover {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 280px;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 28px 16px 24px;
  }

  .home-why-us-name {
    font-size: 22px;
  }

  .home-why-us-subtitle {
    margin-bottom: 18px;
  }

  .home-why-us-arrow {
    margin-top: 22px;
  }
}

@media (max-width: 720px) {
  .home-why-us-grid {
    width: 92%;
    gap: 0;
  }

  .home-why-us-card,
  .home-why-us-card.is-featured,
  .home-why-us-card:hover {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 22px 12px 20px;
  }

  .home-why-us-card.is-featured,
  .home-why-us-card:hover {
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.12);
  }

  .home-why-us-grid:hover .home-why-us-card.is-featured:not(:hover) {
    box-shadow: none;
  }

  .home-why-us-name {
    font-size: 18px;
  }

  .home-why-us-subtitle,
  .home-why-us-points li {
    font-size: 12px;
  }
}

/* ========================================
   首页 - 典型客户案例
   ======================================== */
.home-cases {
  position: relative;
  background: #ffffff;
  padding: 96px 0 88px;
  overflow: hidden;
}

.home-cases > .container,
.home-cases-inner {
  width: 80%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.home-cases-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;
  min-width: 180px;
  max-width: 360px;
  height: 100%;
  background: #FFE8C2;
  pointer-events: none;
}

.home-cases-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.15fr);
  gap: 48px 56px;
  align-items: start;
}

.home-cases-copy {
  position: relative;
  max-width: none;
}

.home-cases-title {
  margin: 0 0 28px;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
  line-height: 1.25;
}

.home-cases-name {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #e31c23;
  line-height: 1.45;
}

.home-cases-desc {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.9;
  color: #555b68;
}

.home-cases-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 148px;
  height: 46px;
  padding: 0 22px;
  background: #e31c23;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px 0 10px 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-cases-btn i {
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.home-cases-btn:hover {
  background: #c41820;
  transform: translateY(-1px);
}

.home-cases-visual {
  position: relative;
  z-index: 2;
}

.home-cases-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1f5;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.1);
}

.home-cases-media::before,
.home-cases-media::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  z-index: 1;
  pointer-events: none;
}

.home-cases-media::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), transparent);
}

.home-cases-media::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 232, 194, 0.45), transparent);
}

.home-cases-media.is-empty {
  background:
    linear-gradient(135deg, #f2f4f7 0%, #e8ecf2 48%, #f7f8fa 100%);
  border: none;
  box-shadow: none;
}

.home-cases-media.is-empty::before,
.home-cases-media.is-empty::after {
  display: none;
}

.home-cases-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.25s ease;
}

.home-cases-media img[hidden] {
  display: none;
}

/* 两按钮交界对齐图片左缘：上一张在图外，下一张叠在图内左下 */
.home-cases-nav {
  --home-cases-nav-w: 75px;
  --home-cases-nav-h: 56px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 0;
  margin: 0;
  transform: translateX(calc(var(--home-cases-nav-w) * -1));
}

.home-cases-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--home-cases-nav-w);
  height: var(--home-cases-nav-h);
  padding: 0;
  border: none;
  background: #ffffff;
  color: #e31c23;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-cases-nav-btn.is-prev {
  background: #e31c23;
  color: #ffffff;
}

.home-cases-nav-btn.is-next {
  background: #ffffff;
  color: #e31c23;
}

/* ‹ › 字面偏下，微上移视觉居中 */
.home-cases-nav-btn.is-prev,
.home-cases-nav-btn.is-next {
  padding-bottom: 2px;
}

.home-cases-nav-btn.is-prev:hover {
  background: #c41820;
  color: #ffffff;
}

.home-cases-nav-btn.is-next:hover {
  background: #fff5f5;
  color: #e31c23;
}

@media (max-width: 960px) {
  .home-cases {
    padding: 64px 0 56px;
  }

  .home-cases > .container,
  .home-cases-inner {
    width: 90%;
  }

  .home-cases-accent {
    width: 120px;
    min-width: 120px;
    max-width: none;
  }

  .home-cases-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-cases-visual {
    padding-left: 75px;
  }

  .home-cases-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .home-cases-name {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .home-cases > .container,
  .home-cases-inner {
    width: 92%;
  }

  .home-cases-accent {
    display: none;
  }

  .home-cases-visual {
    padding-left: 56px;
  }

  .home-cases-nav {
    --home-cases-nav-w: 56px;
    --home-cases-nav-h: 48px;
  }

  .home-cases-nav-btn {
    font-size: 26px;
  }
}

/* ========================================
   首页 - 解决方案（镶嵌宫格）
   ======================================== */
.home-solutions {
  background: #FFFFFF;
  padding: 72px 0 0;
}

.home-solutions-head {
  margin-bottom: 40px;
}

.home-solutions-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.home-solutions-subtitle {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7f8c;
}

.home-solutions-subtitle:empty,
.home-solutions-subtitle[hidden] {
  display: none;
}

.home-solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, 28vh);
  gap: 0;
}

.home-sol-card {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #152238;
}

.home-sol-card:nth-child(1),
.home-sol-card:nth-child(2) {
  grid-row: span 2;
}

.home-sol-card-bg {
  position: absolute;
  inset: 0;
  background-color: #152238;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.55s ease;
  z-index: 0;
}

.home-sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.18) 0%, rgba(6, 12, 24, 0.55) 48%, rgba(6, 12, 24, 0.78) 100%);
  z-index: 1;
  transition: background 0.35s ease;
}

.home-sol-card.is-color::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.36) 100%);
}

.home-sol-card:hover .home-sol-card-bg {
  transform: scale(1.06);
}

.home-sol-card:hover::before {
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.1) 0%, rgba(6, 12, 24, 0.42) 48%, rgba(6, 12, 24, 0.72) 100%);
}

.home-sol-card.is-color:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.28) 100%);
}

.home-sol-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  padding: 28px 24px 30px;
}

.home-sol-card-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.home-sol-card-desc {
  margin: 0;
  max-width: 92%;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-sol-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.home-sol-card-arrow svg {
  width: 14px;
  height: 14px;
}

.home-sol-card:hover .home-sol-card-arrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateX(3px);
}

@media (max-width: 1200px) {
  .home-solutions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, 24vh);
  }

  .home-sol-card:nth-child(1),
  .home-sol-card:nth-child(2) {
    grid-row: span 2;
  }
}

@media (max-width: 960px) {
  .home-solutions {
    padding-top: 56px;
  }

  .home-solutions-head {
    margin-bottom: 28px;
  }

  .home-solutions-title {
    font-size: 26px;
  }

  .home-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, 22vh);
  }

  .home-sol-card:nth-child(1),
  .home-sol-card:nth-child(2) {
    grid-row: span 1;
  }

  .home-sol-card-body {
    padding: 22px 18px 24px;
  }

  .home-sol-card-title {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .home-solutions-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
  }

  .home-sol-card-desc {
    -webkit-line-clamp: 4;
  }
}

/* ========================================
   首页 - 客户信任
   ======================================== */
.home-trust {
  position: relative;
  width: 100%;
  background: #ffffff url('../images/home-trust-bg.png') center bottom / 100% auto no-repeat;
  padding: 72px 0 80px;
  overflow: hidden;
  box-sizing: border-box;
}

.home-trust > .container {
  width: 80%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.home-trust-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.home-trust-subtitle {
  margin: 0 auto 48px;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7f8c;
}

.home-trust-subtitle:empty,
.home-trust-subtitle[hidden] {
  display: none;
}

.home-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.home-trust-stat {
  text-align: center;
  padding: 8px 12px;
}

.home-trust-stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.home-trust-stat-icon.is-empty {
  visibility: hidden;
}

.home-trust-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-trust-stat-text {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
}

.home-trust-stat-label {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 500;
}

.home-trust-logos {
  width: 100%;
}

.home-trust-logo-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-trust-logo-track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
}

.home-trust-logo-track.is-marquee {
  animation: home-trust-marquee var(--trust-marquee-duration, 36s) linear infinite;
}

.home-trust-logo-track.is-marquee:hover {
  animation-play-state: paused;
}

@keyframes home-trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-trust-logo-item {
  flex: 0 0 180px;
  width: 180px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.08);
}

.home-trust-logo-item img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .home-trust {
    padding: 56px 0 64px;
  }

  .home-trust-title {
    font-size: 26px;
  }

  .home-trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
  }

  .home-trust-logo-item {
    flex: 0 0 150px;
    width: 150px;
  }
}

@media (max-width: 640px) {
  .home-trust-stats {
    grid-template-columns: 1fr 1fr;
  }

  .home-trust-stat-text {
    font-size: 22px;
  }

  .home-trust-logo-item {
    flex: 0 0 140px;
    width: 140px;
  }
}

/* ========================================
   首页 - 新闻资讯（三卡悬浮展开）
   ======================================== */
.home-news {
  background: #f5f6f8;
  padding: 72px 0 88px;
  overflow: hidden;
}

.home-news-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.home-news-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 40px;
  font-size: 14px;
  line-height: 1.4;
  color: #7a7f8c;
}

.home-news-cats:empty {
  display: none;
}

.home-news-cats a {
  color: #7a7f8c;
  text-decoration: none;
  padding: 0 14px;
  transition: color 0.2s ease;
}

.home-news-cats a:hover {
  color: var(--color-navy, #002b5b);
}

.home-news-cats-sep {
  color: #c5c9d2;
  user-select: none;
}

.home-news-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px 12px;
}

.home-news-cards {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-height: 340px;
}

.home-news-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 75, 140, 0.18);
  color: inherit;
  text-decoration: none;
  transition:
    flex 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.home-news-card-media {
  position: absolute;
  inset: 0;
  background-color: #1a2a44;
  background-image: var(--home-news-cover);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.4s ease, transform 0.5s ease;
  z-index: 0;
}

.home-news-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 32, 0.22) 0%,
    rgba(8, 16, 32, 0.35) 42%,
    rgba(8, 16, 32, 0.72) 100%
  );
}

.home-news-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: 28px 24px 22px;
  box-sizing: border-box;
  transition: padding 0.35s ease;
}

.home-news-card-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.home-news-card-summary {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.7;
  color: #8a8f9c;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.home-news-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  transition: none;
}

.home-news-card-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  color: #6b7280;
  transition: color 0.3s ease;
}

.home-news-card-ym {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.home-news-card-ym--dot {
  display: none;
}

.home-news-card-day {
  margin-top: 2px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4b5563;
  transition: color 0.3s ease;
}

.home-news-card-arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--color-red, #e60012);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.home-news-card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-news-card:hover .home-news-card-arrow {
  transform: translateX(3px);
}

/* 默认首卡展开；悬浮其它卡时切换 */
.home-news-cards:not(:hover) .home-news-card:first-child,
.home-news-card:hover {
  flex: 2.15 1 0;
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(0, 20, 50, 0.18);
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-media,
.home-news-card:hover .home-news-card-media {
  opacity: 1;
  transform: scale(1);
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-body,
.home-news-card:hover .home-news-card-body {
  padding: 26px 28px 28px;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-summary,
.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-arrow,
.home-news-card:hover .home-news-card-summary,
.home-news-card:hover .home-news-card-arrow {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-title,
.home-news-card:hover .home-news-card-title {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  -webkit-line-clamp: 2;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-foot,
.home-news-card:hover .home-news-card-foot {
  position: absolute;
  top: 24px;
  right: 28px;
  left: auto;
  margin: 0;
  justify-content: flex-end;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-date,
.home-news-card:hover .home-news-card-date {
  align-items: flex-end;
  color: #fff;
  text-align: right;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-ym--slash,
.home-news-card:hover .home-news-card-ym--slash {
  display: none;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-ym--dot,
.home-news-card:hover .home-news-card-ym--dot {
  display: block;
}

.home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-day,
.home-news-card:hover .home-news-card-day {
  color: #fff;
}

@media (max-width: 900px) {
  .home-news-cards {
    flex-direction: column;
    min-height: 0;
  }

  .home-news-card,
  .home-news-cards:not(:hover) .home-news-card:first-child,
  .home-news-card:hover {
    flex: none;
    width: 100%;
  }

  .home-news-card-body,
  .home-news-cards:not(:hover) .home-news-card:first-child .home-news-card-body,
  .home-news-card:hover .home-news-card-body {
    min-height: 220px;
  }
}
