/**
 * 服务专区样式表（根目录版本）
 * 基于 服务专区.pen 设计稿 1:1 还原
 * 头尾由 header.inc.html / footer.inc.html + common.css 提供
 * 兼容 Chrome / Edge / Firefox / Safari / IE10+
 */

/* ==================== Reset & Base（仅补充页面主体所需） ==================== */
.service-main,
.partners-section {
  /* 字体族与 jyxxinfo 保持一致，继承 common.css 中 body 的定义，无需重复声明 */
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.service-main a,
.partners-section a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
       -o-transition: color 0.2s ease;
          transition: color 0.2s ease;
}

.service-main img,
.partners-section img {
  max-width: 100%;
  border: 0;
}

.service-main button,
.service-main input,
.partners-section button,
.partners-section input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

.service-main button,
.partners-section button {
  cursor: pointer;
  border: 0;
  background: none;
}

.service-main input::-webkit-input-placeholder { color: #c8c8c8; }
.service-main input:-ms-input-placeholder      { color: #c8c8c8; }
.service-main input::-ms-input-placeholder     { color: #c8c8c8; }
.service-main input::placeholder               { color: #c8c8c8; }

/* ==================== Layout ==================== */
.service-main .container,
.partners-section .container,
.service-banner .container {
  width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== Banner ==================== */
.info-hero {
  position: relative;
  width: 100%;
  height: 257px;
  overflow: hidden;
  background-color: #028446;
}

.info-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.info-hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(19, 98, 60, 0.8) 0%, rgba(2, 132, 70, 0.35) 100%);
  pointer-events: none;
}

.info-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 93px 0 0;
}

.info-hero-title {
  margin: 0;
  /* 字体族与 jyxxinfo 的 .hero-title 保持一致，继承 body 定义 */
  font-size: 48px;
  font-weight: normal;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 2px;
}

/* ==================== Hero（模板复用：与 jyxxinfo.css 中的 .hero 样式一致） ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 257px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(2,132,70,0) 0%, #13623c 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 93px 0 0;
}

.hero-title {
  font-size: 48px;
  font-weight: normal;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 0;
}

@media (max-width: 991px) {
  .hero { height: 200px; }
  .hero-inner { padding-top: 60px; }
  .hero-title { font-size: 32px; }
}

/* ==================== Main & Tabs ==================== */
.service-main {
  padding-top: 36px;
  padding-bottom: 36px;
}

.tab-search-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 41px;
  margin-bottom: 19px;
}

.service-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 34px;
}

.service-tabs > * + * {
  margin-left: 34px;
}

.service-tab {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  font-size: 20px;
  line-height: 0.9;
  letter-spacing: -0.165px;
  color: rgba(101, 101, 101, 0.8);
  cursor: pointer;
  -webkit-transition: color 0.2s ease;
       -o-transition: color 0.2s ease;
          transition: color 0.2s ease;
}

.service-tab:hover {
  color: #028446;
}

.service-tab.active {
  font-weight: 700;
  color: #028446;
}

.service-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background-color: #028446;
  border-radius: 1px;
}

.service-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 202px;
  height: 40px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 29px;
  background-color: #f6f9f7;
}

.service-search input {
  width: 130px;
  height: 100%;
  border: 0;
  padding: 0;
  font-size: 14px;
  color: #333333;
  background: transparent;
}

.service-search input::-webkit-input-placeholder { color: #bbcac3; }
.service-search input:-ms-input-placeholder      { color: #bbcac3; }
.service-search input::-ms-input-placeholder     { color: #bbcac3; }
.service-search input::placeholder               { color: #bbcac3; }

.service-search .search-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
}

/* ==================== Service Cards ==================== */
.service-card-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.service-card-list > * + * {
  margin-top: 16px;
}

.service-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 176px;
  padding: 20px 40px 24px;
  border: 1px solid #d5ebe6;
  border-radius: 10px;
  background: #ffffff;
  background: -webkit-gradient(linear, left top, left bottom, from(#eaf7f2), to(#ffffff));
  background: -webkit-linear-gradient(top, #eaf7f2 0%, #ffffff 100%);
  background:      -o-linear-gradient(top, #eaf7f2 0%, #ffffff 100%);
  background:         linear-gradient(180deg, #eaf7f2 0%, #ffffff 100%);
  overflow: hidden;
  -webkit-transition: -webkit-box-shadow 0.25s ease, border-color 0.25s ease;
       -o-transition:         box-shadow 0.25s ease, border-color 0.25s ease;
          transition:         box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
}

.service-card::before {
  width: 103px;
  height: 101px;
  background: -webkit-gradient(linear, left top, left bottom, from(#cff8e5), to(rgba(183, 223, 223, 0)));
  background: -webkit-linear-gradient(top, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  background:      -o-linear-gradient(top, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  background:         linear-gradient(180deg, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  opacity: 0.4;
  border-bottom-left-radius: 100%;
}

.service-card::after {
  width: 103px;
  height: 101px;
  right: 62px;
  top: 31px;
  background: -webkit-gradient(linear, left top, left bottom, from(#cff8e5), to(rgba(183, 223, 223, 0)));
  background: -webkit-linear-gradient(top, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  background:      -o-linear-gradient(top, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  background:         linear-gradient(180deg, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  opacity: 0.4;
  border-bottom-left-radius: 100%;
}

.service-card:hover {
  border-color: #028446;
  -webkit-box-shadow: 0 6px 16px rgba(2, 132, 70, 0.1);
          box-shadow: 0 6px 16px rgba(2, 132, 70, 0.1);
}

.service-card.active {
  border-color: #028446;
}

.card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.card-header > * + * {
  margin-left: 10px;
}

.card-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* width: 69px; */
  height: 62px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.card-logo img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.card-logo .ccb-logo {
  width: 100%;
  height: 100%;
}

.card-bank-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.card-bank-info > * + * {
  margin-left: 8px;
}

.card-bank-name {
  font-size: 20px;
  font-weight: 700;
  color: #2e3033;
  line-height: 1;
}

.service-card.active .card-bank-name {
  color: #028446;
}

.card-divider {
  width: 1px;
  height: 17px;
  background-color: #2e3033;
}

.service-card.active .card-divider {
  background-color: #028446;
}

.card-product-name {
  font-size: 20px;
  font-weight: 700;
  color: #2e3033;
  line-height: 1.2;
}

.service-card.active .card-product-name {
  color: #028446;
}

.card-desc {
  max-width: 889px;
  font-size: 14px;
  font-weight: normal;
  color: #333333;
  line-height: 1.6;
  white-space: pre-line;
  margin-bottom: 16px;
}

.card-action {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
  width: 92px;
  padding: 6px 8px;
  border: 1px solid #028446;
  border-radius: 4px;
  background-color: #e1f7e6;
  color: #028446;
  font-size: 14px;
  line-height: 1;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
       -o-transition: background-color 0.2s ease, color 0.2s ease;
          transition: background-color 0.2s ease, color 0.2s ease;
}

.card-action > * + * {
  margin-left: 4px;
}

.card-action:hover {
  background-color: #028446;
  color: #ffffff;
}

.card-action .arrow-icon {
  width: 14px;
  height: 14px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card.active .card-action {
  background-color: #028446;
  color: #ffffff;
}

.service-card.active .card-action:hover {
  background-color: #026b39;
  border-color: #026b39;
}

/* Pagination styles moved to mricode.pagination overrides at bottom of file */

/* ==================== Partners ==================== */
.partners-section {
  padding-top: 36px;
  padding-bottom: 80px;
}

.section-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 45px;
  margin-bottom: 24px;
}

.title-line {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 1px;
  max-width: 558px;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(rgba(2, 132, 70, 0.4)));
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(2, 132, 70, 0.4));
  background:      -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(2, 132, 70, 0.4));
  background:         linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(2, 132, 70, 0.4) 100%);
}

.title-line-left {
  background: -webkit-gradient(linear, left top, right top, from(rgba(2, 132, 70, 0.4)), to(rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(left, rgba(2, 132, 70, 0.4), rgba(255, 255, 255, 0));
  background:      -o-linear-gradient(left, rgba(2, 132, 70, 0.4), rgba(255, 255, 255, 0));
  background:         linear-gradient(90deg, rgba(2, 132, 70, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

.title-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 6px;
  margin: 0 20px;
}

.title-text > * + * {
  margin-left: 6px;
}

.title-text em {
  font-family: "Wendy One", "Arial Black", sans-serif;
  font-size: 32px;
  font-style: normal;
  letter-spacing: 3px;
  color: #028446;
  background: -webkit-gradient(linear, left top, left bottom, from(#0f8b44), to(rgba(15, 139, 68, 0)));
  background: -webkit-linear-gradient(top, #0f8b44 0%, rgba(15, 139, 68, 0) 100%);
  background:      -o-linear-gradient(top, #0f8b44 0%, rgba(15, 139, 68, 0) 100%);
  background:         linear-gradient(180deg, #0f8b44 0%, rgba(15, 139, 68, 0) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-text strong {
  font-size: 22px;
  font-weight: 500;
  color: #333333;
}

.partners-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.partners-grid > * + * {
  margin-left: 20px;
}

.partner-card {
  position: relative;
  width: 335px;
  height: 371px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f5f5f5;
  -webkit-transition: -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
       -o-transition:         box-shadow 0.3s ease, -o-transform 0.3s ease;
          transition:         box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.partner-card .partner-image {
  position: absolute;
  top: -125px;
  left: 0;
  width: 100%;
  height: 447px;
  -o-object-fit: cover;
     object-fit: cover;
}

.partner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 165px;
  padding: 40px 29px 0px;
  background: -webkit-gradient(linear, left top, right bottom, from(#028446), to(#91c936));
  background: -webkit-linear-gradient(top left, #028446, #91c936);
  background:      -o-linear-gradient(top left, #028446, #91c936);
  background:         linear-gradient(135deg, #028446 0%, #91c936 100%);
  -webkit-clip-path: polygon(0 0, 100% 36.5px, 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 36.5px, 100% 100%, 0 100%);
}

.partner-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.partner-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 277px;
  height: 59px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
  opacity: 0.95;
}

/* ==================== Responsive ==================== */
@media (max-width: 1439px) {
  .service-main .container,
  .partners-section .container,
  .service-banner .container {
    width: auto;
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1199px) {
  .service-main .container,
  .partners-section .container,
  .service-banner .container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .partners-grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .partner-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 991px) {
  .tab-search-bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 16px;
  }
  .service-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .service-search {
    width: 100%;
  }
  .service-search input {
    width: 100%;
  }
  .card-bank-info {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .card-desc {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .service-main .container,
  .partners-section .container,
  .service-banner .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .banner-title {
    padding-top: 90px;
  }
  .banner-title h2 {
    font-size: 32px;
  }
  .service-tab {
    font-size: 16px;
    white-space: nowrap;
  }
  .service-card {
    padding: 20px 16px;
  }
  .card-header {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .card-bank-name,
  .card-product-name {
    font-size: 16px;
  }
  .card-desc {
    font-size: 13px;
  }
  .partner-card {
    width: 100%;
    height: 320px;
  }
  .partner-card .partner-image {
    top: -80px;
    height: 380px;
  }
  .partner-overlay {
    height: 150px;
    padding-top: 30px;
  }
  .section-title {
    height: auto;
  }
  .title-line {
    display: none;
  }
  .title-text {
    margin: 0;
  }
}

@media (max-width: 374px) {
  .partner-card {
    height: 280px;
  }
}

/* ==================== Pagination (mricode 绿色主题) ==================== */
.pager {
  margin-top: 30px;
  text-align: center;
}

#pager .m-pagination-page > li > a {
  height: 30px;
  line-height: 28px;
  padding: 0 11px;
  border-radius: 4px;
  font-size: 14px;
  color: #4e5463;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#pager .m-pagination-page > li:hover > a {
  color: #028446;
  border-color: #028446;
}

#pager .m-pagination-page > li.active > a {
  color: #ffffff;
  font-weight: bold;
  background-color: #028446;
  border-color: #028446;
}

#pager .m-pagination-page > li.disabled > a {
  color: #cccccc;
  cursor: not-allowed;
  border-color: #dedede;
}

#pager .m-pagination-page > li.disabled:hover > a {
  color: #cccccc;
  border-color: #dedede;
}

#pager .m-pagination-info {
  height: 30px;
  line-height: 30px;
  padding-left: 10px;
  font-size: 14px;
  color: #888888;
}

#pager .m-pagination-info > span {
  margin: 0 5px;
  font-weight: bold;
  color: #028446;
}

#pager .m-pagination-jump {
  width: auto;
}

#pager .m-pagination-group > input {
  height: 28px;
  line-height: 28px;
  border-radius: 4px 0 0 4px;
  width: 40px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  color: #4e5463;
  border: 1px solid #dddddd;
  border-right: none;
  outline: none;
}

#pager .m-pagination-group > button {
  height: 30px;
  line-height: 30px;
  border-radius: 0 4px 4px 0;
  padding: 0 8px;
  font-size: 14px;
  color: #4e5463;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#pager .m-pagination-group > button:hover {
  color: #028446;
  border-color: #028446;
}

/* 分页响应式 */
@media (max-width: 575px) {
  #pager .m-pagination-page > li > a {
    height: 28px;
    line-height: 26px;
    padding: 0 8px;
    font-size: 13px;
  }

  #pager .m-pagination-info {
    display: none;
  }

  #pager .m-pagination-jump {
    width: auto;
  }
}

/* ==================== IE Hacks ==================== */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .title-text em {
    background: transparent;
    color: #028446;
  }
  .partner-desc {
    display: block;
    max-height: 84px;
  }
}
