/* ============================================================
   SOLUTIONS PAGE — solutions.css
   内页通用覆盖 + 解决方案列表页专属样式
   ============================================================ */

/* ============================================================
   INNER PAGE — Header 始终白底深色文字
   ============================================================ */
body.inner-page .header {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, .1) !important;
}

body.inner-page .header .nav-item {
  color: #333 !important;
}

body.inner-page .header .nav-item:hover,
body.inner-page .header .nav-item.active {
  color: var(--blue-dark) !important;
}

body.inner-page .header .nav-item.active::after {
  background: var(--blue-dark) !important;
}

body.inner-page .header .nav-sep {
  background: rgba(0, 0, 0, .15) !important;
}

body.inner-page .header .lang-switch {
  color: #333 !important;
}

body.inner-page .header .lang-switch .lang-active {
  color: var(--blue-dark) !important;
  font-weight: 600;
}

body.inner-page .header .search-btn {
  background: rgba(0, 0, 0, .06) !important;
}

body.inner-page .header .search-btn img {
  filter: none !important;
}

body.inner-page .header .hamburger span {
  background: #333 !important;
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  /* 内页 header 高度为 80px，通过 margin-top 推开 */
  margin-top: 80px;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(25, 30, 40, 0.4);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb a {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  margin: 0 2px;
}

.breadcrumb-current {
  font-size: 14px;
  color: #fff;
}

.page-hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 10px;
}

.page-hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ============================================================
   SOLUTIONS LIST SECTION
   ============================================================ */
.sol-list {
  background: #f0f0f0;
  padding: 60px 0 80px;
}

/* ---- 单个方案卡片 ---- */
.sol-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  background: #fff;
  transition: box-shadow .3s;
}

.sol-card:last-child {
  margin-bottom: 0;
}

.sol-card:hover {
  box-shadow: 0 6px 32px rgba(0, 0, 0, .12);
}

/* ---- 左侧图片 ---- */
.sol-card-img {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.sol-card-img--link {
  display: block;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.sol-card-img--link:focus-visible {
  box-shadow: inset 0 0 0 3px var(--orange);
}

.sol-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.sol-card:hover .sol-card-img img {
  transform: scale(1.04);
}

/* ---- 右侧内容 ---- */
.sol-card-body {
  padding: 44px 50px 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sol-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 16px;
  letter-spacing: 0.02em;
}

/* 医疗专项稿：标题下短粗橙色装饰线 */
.sol-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.sol-card-title-link {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.sol-card-title-link:hover {
  color: var(--blue-dark);
}

.sol-card-title-link:focus-visible {
  border-radius: 2px;
  box-shadow: 0 0 0 2px var(--orange);
}

.sol-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #777;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ---- 二级分类（医疗专项稿）：两列网格、大列间距、行间透气 ---- */
.sol-card-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 7vw, 88px);
  row-gap: 0;
  align-items: start;
  width: 100%;
  margin-top: 4px;
}

.sol-link-col {
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-link-item {
  margin: 0;
}

.sol-link {
  display: block;
  max-width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.55;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  word-break: break-word;
}

.sol-link:focus-visible {
  color: var(--blue-dark);
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(5, 109, 177, 0.28);
}

.sol-link-active {
  color: var(--blue-dark);
  font-weight: 600;
}

.sol-link:not(.sol-link-active):hover,
.sol-link:not(.sol-link-active):focus-visible {
  color: var(--blue-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(5, 109, 177, 0.35);
  text-underline-offset: 5px;
}

/* ---- 了解更多按钮 ---- */
.sol-btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ============================================================
   RESPONSIVE — Tablet  (1024px – 1280px)
   ============================================================ */
@media (max-width: 1280px) {
  .sol-card-body {
    padding: 36px 40px;
  }

  .sol-card-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .sol-link {
    font-size: 15px;
  }

  .sol-card-links {
    column-gap: clamp(32px, 5vw, 56px);
  }

  .sol-link-col {
    gap: 12px;
  }
}

@media (max-width: 1023px) {
  .sol-card {
    grid-template-columns: 1fr 1fr;
  }

  .sol-card-img {
    height: 320px;
  }

  .sol-card-body {
    padding: 32px 36px;
  }

  .sol-card-title {
    font-size: 22px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .sol-card-desc {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 20px;
  }

  .sol-link {
    font-size: 15px;
  }

  .sol-card-links {
    column-gap: 28px;
  }

  .sol-link-col {
    gap: 10px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile  (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  /* Header on mobile inner page */
  body.inner-page .header-inner {
    height: 60px;
  }

  body.inner-page .nav-item {
    color: rgba(255, 255, 255, .9) !important;
  }

  /* Page hero */
  .page-hero {
    height: 280px;
    margin-top: 60px;
  }

  .page-hero-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .page-hero-sub {
    font-size: 13px;
  }

  .breadcrumb {
    margin-bottom: 12px;
  }

  /* Solutions list */
  .sol-list {
    padding: 36px 0 52px;
  }

  .sol-card {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    border-radius: 10px;
  }

  .sol-card-img {
    height: 220px;
  }

  .sol-card-body {
    padding: 24px 20px 28px;
  }

  .sol-card-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .sol-card-desc {
    font-size: 13px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  /* 子导航：小屏单列纵向，顺序左列→右列 */
  .sol-card-links {
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
    margin-top: 2px;
  }

  .sol-link-col {
    gap: 8px;
  }

  .sol-link-col--2 {
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .sol-link {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 按钮适配 */
  .sol-btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — Very small  (< 480px)
   ============================================================ */
@media (max-width: 479px) {
  .page-hero {
    height: 240px;
  }

  .page-hero-title {
    font-size: 24px;
  }

  .sol-card-img {
    height: 190px;
  }

  .sol-card-body {
    padding: 20px 16px 24px;
  }

  .sol-card-title {
    font-size: 18px;
  }

  .sol-card-desc {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .sol-link {
    font-size: 13px;
    line-height: 30px;
  }
}
