/* 应用案例列表 / 详情 */

.g-case-detail-page .g-main {
 
}

.g-case-detail-page .g-case-detail-related-container {

}

.g-case-detail-page .g-case-detail-hr {
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-top: 1px solid #E7E7E7;
}

.g-cases-page .g-cases-hero {
  position: relative;
  aspect-ratio: 1920 / 528;
  background: #2c3e50;
  width: 100%;
}
.g-cases-page .g-cases-hero img{
  width: 100%;
  height:100%;
  object-fit: cover;
}

.g-cases-page .g-cases-hero__inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 48px;
  color: #fff;
}

.g-cases-page .g-cases-hero__title {
  margin: 0;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: bold;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.04em;
}

.g-cases-page .g-cases-hero__search {
  margin-top: 24px;
  max-width: 672px;
}

.g-cases-page .g-cases-hero__search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.g-cases-page .g-cases-hero__search-input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 999px;
  padding: 14px 52px 14px 22px;
  font-size: 16px;
  background: #fff;
  color: #2b2b2b;
  outline: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.g-cases-page .g-cases-hero__search-input::placeholder {
  color: #888;
}

.g-cases-page .g-cases-hero__search-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.g-cases-page .g-cases-hero__search-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

/* 案例详情 Banner：居中标�?+ 白底圆角搜索（与参考稿一致） */
.g-case-detail-page .g-case-detail-banner {
 
}

.g-case-detail-page .g-case-detail-banner .g-products-banner__overlay {
  background: rgba(0, 0, 0, 0.2);
}

.g-case-detail-page .g-case-detail-banner__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 14vh, 120px) 24px 40px;
  text-align: center;
  box-sizing: border-box;
}

.g-case-detail-page .g-case-detail-banner__title {
  margin: 0 0 clamp(16px, 3vw, 32px);
  max-width: 896px;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(19.20px, 3.5vw, 40px);
  line-height: 1.28;
  color: #fff;
  letter-spacing: 0.02em;
}

.g-case-detail-page .g-case-detail-banner__search {
  position: relative;
  width: 100%;
  max-width: 672px;
  margin: 0;
}

.g-case-detail-page .g-case-detail-banner__search-input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 999px;
  padding: 16px 56px 16px 24px;
  font-size: 16px;
  background: #fff;
  color: #2b2b2b;
  outline: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1236px) {
  .g-case-detail-page .g-case-detail-banner__search-input {
    padding: 10px 16px;
  }
}

.g-case-detail-page .g-case-detail-banner__search-input::placeholder {
  color: #888;
}

.g-case-detail-page .g-case-detail-banner__search-submit {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.g-case-detail-page .g-case-detail-banner__search-submit:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.g-case-detail-page .g-case-detail-banner__search-submit iconify-icon {
  font-size: 24px;
}

.g-case-detail-page .g-case-detail-main {
  padding: 40px 0 96px;
  background: #fff;
}

/* 案例详情主区域：参�?container 1200px 居中 + padding 20px（覆�?Bootstrap .container 断点宽度�?*/
.g-case-detail-page .g-case-detail-main > .container.g-case-detail-container {
  
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.g-product-card{
  max-width:none;
  flex:1;
  
}

@media (max-width: 1236px) {
  .g-product-card {
    
    flex: unset;
  }
}

@media (min-width: 992px) {
  .g-case-detail-page .g-case-detail-main {
    padding-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .g-case-detail-page .g-case-detail-main {
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }
}

/* 主文卡片（移动端全宽居中；lg+ 与侧栏同�?max 600px�?*/
.g-case-detail-article {
  width: 100%;
  max-width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 12px;
  padding: 0;
}

.g-case-detail-h1 {
  font-family: 'Source Han Sans', sans-serif;
  font-weight: bold;
  max-width: 100%;
  font-size: clamp(21.60px, 5vw, 40px);
  color: #333;
  margin: 0 0 24px;
  line-height: 1.3;
  text-align: left;
}

@media (max-width: 1236px) {
  .g-case-detail-h1 {
    margin-bottom: 20px;
    word-break: break-word;
  }
}

.g-case-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.g-case-detail-back-link iconify-icon {
  font-size: 1.5em;
}

.g-case-detail-back-link:hover {
  color: #f5a200;
}

.g-case-detail-spec {
  margin: 12px 0 0;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 600;
  color: #f5a200;
}

/* 发布时间 + 标签（设计稿：左侧时间，右侧标签胶囊�?*/
.g-case-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  

  margin-bottom:24px;
}

.g-case-detail-meta__date {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.4;
  color: #888;
}

.g-case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;

 
  min-width: 0;
}

@media (max-width: 575px) {
  .g-case-detail-tags {
    justify-content: flex-start;
  }

  .g-case-detail-h1 {
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
  }
}

.g-case-detail-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #2b2b2b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.g-case-detail-thumb {
  margin: 20px 0 0;
  padding: 0;
}

.g-case-detail-thumb__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.g-case-detail-page .g-case-detail-content {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  max-width: 100%;
  margin: 20px 0 0;
}

/* 桌面：正文居�?+ 右侧侧栏（与正文间距 25px），高度随正文撑开 */
@media (min-width: 992px) {
  .g-case-detail-layout .g-case-detail-article {
    max-width: 1680px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.g-case-detail-page .g-case-detail-content img {
  max-width: 100%;
  height: auto;
}

.g-cases-list-grid {
  display: flex;
  flex-wrap: wrap;
  
  padding: 32px 0 64px;
  justify-content: flex-start;
}

.g-cases-list-card {
  flex: 0 0 calc(308px - 20px);
  min-width: calc(308px - 20px);
  max-width: calc(308px - 20px);
}

@media (max-width: 1236px) {
  .g-cases-list-grid {
    padding-inline: 0;
   
  }

  .g-cases-list-card {
    flex: 0 0 calc((100% - 2.5% * 2 - 16px * 2) / 3);
    min-width: 308px;
    max-width: calc((100% - 2.5% * 2 - 16px * 2) / 3);
  }
}

@media (max-width: 991px) {
  .g-cases-list-card {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 308px;
    max-width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 575px) {
  .g-cases-list-grid {
    width: 100%;
    padding-inline: 0;

  }

  .g-cases-list-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.g-cases-list-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.g-cases-list-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.g-cases-list-card__media {
  display: block;
  position: relative;
  padding-top: 69.40%;
  background: #f0f0f0;
}

.g-cases-list-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-cases-list-card__body {
  padding: 25px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f6f6f7;
  position: relative;
  box-sizing: border-box;
  min-height: 120px;
}

.g-cases-list-card__float-btn {
  position: absolute;
  right: 32px;
  top: -28px;
  width: 56px;
  height: 56px;
  background: #f5a200;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.g-cases-list-card__float-btn iconify-icon {
  font-size: 24px;
}

.g-cases-list-card:hover .g-cases-list-card__float-btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1236px) {
  .g-cases-list-card__float-btn {
    display: none;
  }
}

.g-cases-list-card__title {
  margin: 0;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 500;
  font-size:18px;
  line-height: 1.35;
  transition: font-size 0.25s ease, color 0.25s ease;
}

.g-cases-list-card__title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 20px;
}

.g-cases-list-card:hover .g-cases-list-card__title a {
  color: #f5a200;
}

@media (max-width: 1236px) {
  .g-cases-list-card:hover .g-cases-list-card__title a {
    color: inherit;
  }
}

.g-cases-list-card__title a:hover {
  color: #f5a200;
}

.g-cases-list-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
  flex-wrap: wrap;
}

.g-cases-list-card__spec {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
}

.g-cases-list-card__spec-icon {
  position: relative;
  display: inline-flex;
  color: #5F6279;
  font-size: 21.60px;
  flex-shrink: 0;
}

.g-cases-list-card__spec-icon iconify-icon.g-cases-list-card__bolt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #5F6279;
}

.g-cases-list-card__spec-text {
  font-family: 'Source Han Sans', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #666;
}

/* 地图样式�?common-global.css�?g-global-map�?*/

/* 应用案例列表 �?案例分类侧栏 */

.g-cases-page .g-cases-sidebar .g-products-sidebar__inner {
  border-radius: 10px;
  margin:0 16px;
  overflow: hidden;
}

.g-cases-page .g-cases-sidebar .g-products-sidebar__header {
  background: #fff;
}
.g-products-sidebar__header{
  padding-bottom: 0;
}
.g-cases-page .g-cases-sidebar .g-products-sidebar__toggle {
  padding: 18px 20px;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.01em;
  padding-left: 0;
}

@media (max-width: 1236px) {
  .g-cases-page .g-cases-sidebar .g-products-sidebar__toggle {
    padding-left: 0;
    padding-right: 0;
  }
}

.g-cases-page .g-cases-sidebar .g-products-sidebar__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .g-cases-page .g-cases-sidebar .g-products-sidebar__icon {
    display: none;
  }
}

.g-cases-page .g-cases-sidebar .g-products-sidebar__content {
  padding: 0;
}

.g-cases-page .g-cases-sidebar__row {
 
}

.g-cases-page .g-cases-sidebar__row:last-child {
  border-bottom: none;
}

.g-cases-page .g-cases-sidebar__link {
  display: block;
  margin: 0;
  padding: 12px 20px;
  background: #f0f0f0;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom:14px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.g-cases-page .g-cases-sidebar__link:hover {
  background: #f7f7f8;
  color: #1a1a1a;
}

.g-cases-page .g-cases-sidebar__link.is-active {
 
 
  color: #f5a200;
}

.g-cases-page .g-cases-sidebar__row.is-active {
  background: #f0f0f0;
  border-radius: 8px;
}

/* 分类数量样式 */
.g-cases-page .g-cases-sidebar__count {
  display: inline-block;
  margin-left: 8px;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}

/* 案例页 ≤992：侧栏与列表上下排布，主区接近全宽 */
@media (max-width: 991.98px) {
  .g-cases-page .g-products-layout__inner {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .g-cases-page .g-products-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .g-products-sidebar__arrow {
    display: block;
    margin-left: auto;
    transition: transform 0.3s ease;
  }

  .g-products-sidebar__arrow svg {
    display: block;
  }

  .g-products-sidebar__toggle[aria-expanded="true"] .g-products-sidebar__arrow {
    transform: rotate(180deg);
  }
}

/* 案例列表布局 */
.g-cases-layout .g-products-layout__content {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 36px;
}

.g-cases-layout .g-cases-list-grid {
  padding: 0;
}

/* 案例列表与分页间�?*/
.g-cases-layout .g-cases-list-grid {
  margin-bottom: 32px;
}
