.page-cases .site-footer { display: none !important; }
.page-cases { background: #fff; }

.cases_page { background: #fff; }
.cases_shell { width: 100%; background: #fff; padding-top: 80px; overflow: hidden; }

.cases_hero { width: 100%; background: #f5f7fa; padding: 38px 0 44px; }
.cases_hero_inner {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(248px, 280px) minmax(0, 1fr) 280px;
  column-gap: clamp(24px, 2.8vw, 56px);
  align-items: start;
}

.cases_filter_panel { width: 100%; }
.cases_filter_field {
  width: 100%;
  height: 48px;
  margin: 0 0 14px;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  color: #000;
  font-size: 14px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 48px;
  text-align: left;
  cursor: pointer;
}
.cases_filter_field img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 12px;
}
.cases_filter_field i {
  width: 9px;
  height: 9px;
  border-right: 1px solid #8a929d;
  border-bottom: 1px solid #8a929d;
  transform: rotate(45deg);
  margin: -4px 0 0 12px;
  flex-shrink: 0;
}
.cases_filter_field.is-placeholder { color: #b6bcc4; }
.cases_filter_field.is-input { cursor: text; margin-bottom: 18px; }
.cases_filter_field input,
.cases_filter_field select {
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  line-height: 48px;
}
.cases_filter_field input { color: #111; }
.cases_filter_field input::placeholder { color: #b6bcc4; }
.cases_filter_field.is-select { position: relative; padding-right: 14px; }
.cases_filter_field select {
  color: #111;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.cases_filter_field.is-placeholder select { color: #b6bcc4; }
.cases_filter_actions { width: 100%; gap: 14px; }
.cases_filter_actions button,
.cases_filter_actions a {
  flex: 1 1 0;
  height: 48px;
  border: 0;
  font-size: 14px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.cases_search_btn { background: #005daa; color: #fff; }
.cases_clear_btn { background: #fff; color: #7b838d; }

.cases_map_wrap { width: 100%; padding-top: 14px; }
.cases_map_stage {
  position: relative;
  width: 100%;
  height: 356px;
  overflow: hidden;
  background: #fff;
}
.cases_map_stage--static {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.cases_map_canvas {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1920 / 900;
}
.cases_map_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cases_map_points,
.cases_map_focus {
  position: absolute;
  inset: 0;
}
.cases_map_focus { pointer-events: none; }
.cases_map_point {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.cases_map_point img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 6px 10px rgba(0, 93, 170, .18));
}
.cases_map_points .cases_map_point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d6fc2;
  box-shadow: 0 2px 6px rgba(29, 111, 194, 0.18);
}
.cases_map_points .cases_map_point img {
  display: none;
}
.cases_map_point.is-active { z-index: 3; }
.cases_map_point.is-active img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 8px 14px rgba(245, 166, 35, .36));
}

.cases_site_wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
.cases_site_card {
  width: 100%;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
}
.cases_site_title {
  height: auto;
  align-items: center;
  gap: 8px;
  color: #3e3e3e;
  font-size: 14px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  padding-top: 2px;
}
.cases_site_title img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.cases_site_gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 356px;
  overflow: auto;
}
.cases_site_img {
  width: 100%;
  aspect-ratio: 169 / 123;
  object-fit: cover;
  display: block;
  background: #f4f6f9;
}
.cases_site_empty {
  min-height: 180px;
  background: #f5f7fa;
  color: #7b838d;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cases_list { width: 100%; padding: 58px 0 82px; }
.cases_list_inner {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 84px;
}
.cases_item {
  display: grid;
  grid-template-columns: minmax(420px, 540px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(36px, 4vw, 88px);
}
.cases_item.is-reverse { grid-template-columns: minmax(0, 1fr) minmax(420px, 540px); }
.cases_item.is-reverse .cases_item_media { grid-column: 2; grid-row: 1; }
.cases_item.is-reverse .cases_item_text { grid-column: 1; grid-row: 1; }
.cases_item_media {
  width: 100%;
  aspect-ratio: 540 / 358;
  overflow: hidden;
  background: #f4f6f9;
}
.cases_item_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cases_item_text {
  width: 100%;
  min-width: 0;
  max-width: 620px;
  justify-content: flex-start;
}
.cases_item_text h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 30px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.cases_item_meta {
  margin: 0 0 32px;
  color: #7c848d;
  font-size: 14px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
}
.cases_point { width: 100%; }
.cases_point + .cases_point { margin-top: 28px; }
.cases_point h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  color: #005daa;
  font-size: 18px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 24px;
}
.cases_point h3 span {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  display: inline-block;
  flex-shrink: 0;
  background: url('/images/case-point-icon.svg') center/contain no-repeat;
  transform: translateY(1px);
}
.cases_point p {
  margin: 0;
  color: #7c848d;
  font-size: 18px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
  font-weight: 300;
  line-height: 1.85;
  text-align: left;
}
.cases_empty {
  width: 100%;
  min-height: 220px;
  background: #f5f7fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b838d;
  font-size: 18px;
  font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
}

@media (max-width: 1919px) {
  .page-cases .scale-wrapper { width: 100% !important; zoom: 1 !important; transform: none !important; height: auto !important; margin: 0 !important; }
  .page-cases .page { width: 100% !important; height: auto !important; overflow: hidden !important; }
}

@media (max-width: 1919px) and (min-width: 769px) {
  .page-cases #footer_nav.section_4,
  .page-cases #footer_nav .text-wrapper_19 { width: 100% !important; left: auto !important; }
  .page-cases #footer_nav .footer_top,
  .page-cases #footer_nav .group_5,
  .page-cases #footer_nav .footer_main { width: min(1660px, calc(100% - 64px)) !important; }
}

@media (max-width: 1440px) {
  .cases_hero_inner {
    width: min(1280px, calc(100% - 48px));
    grid-template-columns: 240px minmax(0, 1fr) 244px;
    column-gap: 24px;
  }
  .cases_map_stage { height: 320px; }
  .cases_map_canvas { max-width: 680px; }
  .cases_site_gallery { max-height: 320px; }
  .cases_list_inner { width: min(1280px, calc(100% - 48px)); gap: 68px; }
  .cases_item { grid-template-columns: minmax(360px, 480px) minmax(0, 1fr); column-gap: 40px; }
  .cases_item.is-reverse { grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); column-gap: 40px; }
  .cases_item_text h2 { font-size: 28px; }
  .cases_point p { font-size: 16px; }
}

@media (max-width: 1180px) {
  .cases_hero { padding: 32px 0 36px; }
  .cases_hero_inner { grid-template-columns: 1fr; row-gap: 24px; }
  .cases_filter_panel { max-width: 420px; }
  .cases_map_stage { height: 340px; }
  .cases_map_canvas { max-width: none; }
  .cases_site_wrap {
    width: 100%;
    max-width: 420px;
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .cases_site_card { width: 100%; padding: 14px; }
  .cases_site_gallery { grid-template-columns: 1fr 1fr; gap: 12px; max-height: none; }
  .cases_list_inner { gap: 56px; }
  .cases_item,
  .cases_item.is-reverse { grid-template-columns: 1fr; gap: 24px; }
  .cases_item.is-reverse .cases_item_media,
  .cases_item.is-reverse .cases_item_text { grid-column: 1; }
  .cases_item.is-reverse .cases_item_media { grid-row: 1; }
  .cases_item.is-reverse .cases_item_text { grid-row: 2; }
}

@media (max-width: 768px) {
  .cases_shell { padding-top: 52px; }
  .cases_hero { padding: 24px 0 28px; }
  .cases_hero_inner,
  .cases_list_inner { width: calc(100% - 32px); }
  .cases_filter_panel,
  .cases_site_wrap { max-width: none; }
  .cases_filter_field {
    height: 44px;
    margin-bottom: 12px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 44px;
  }
  .cases_filter_field input,
  .cases_filter_field select {
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    color: #111;
  }
  .cases_filter_actions { gap: 10px; }
  .cases_filter_actions button,
  .cases_filter_actions a { height: 44px; font-size: 13px; }
  .cases_map_stage { height: 280px; }
  .cases_map_stage--static { padding: 12px; }
  .cases_site_title { font-size: 13px; }
  .cases_site_gallery { grid-template-columns: 1fr; gap: 10px; }
  .cases_list { padding: 36px 0 46px; }
  .cases_list_inner { gap: 40px; }
  .cases_item { gap: 18px; padding-bottom: 40px; border-bottom: 1px solid #edf1f4; }
  .cases_item:last-child { padding-bottom: 0; border-bottom: 0; }
  .cases_item_media { border-radius: 10px; }
  .cases_item_text h2 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; white-space: normal; }
  .cases_item_meta { margin-bottom: 22px; font-size: 13px; }
  .cases_point + .cases_point { margin-top: 20px; }
  .cases_point h3 { font-size: 16px; margin-bottom: 10px; }
  .cases_point p { font-size: 14px; line-height: 1.8; }
}
