/* 云南省节能协会门户 - 对齐蓝湖标注（画布 1920） */
:root {
  --portal-green: #016935; /* rgb(1,105,53) */
  --portal-green-active: #0a7841;
  --portal-green-dark: #016935;
  --portal-green-deep: #014628;
  --portal-text: #333333;
  --portal-muted: #777777;
  --portal-border: #e6e6e6;
  --portal-bg: #f7f8f7;
  --portal-content: 1400px;
}

.portal-body {
  color: var(--portal-text);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  font-size: clamp(13px, 1.05vw + 10px, 15px);
  /* 个人中心引入 frontend.css 会给 body 加 60px，抵消掉 */
  padding-top: 0 !important;
}

.portal-header {
  background: #fff;
}

.portal-header .container,
.portal-navbar > .container,
.portal-section > .container,
.portal-links > .container,
.portal-footer > .container,
.portal-mid-banner > .container,
.portal-sub-hero .container,
.portal-auth-page .container {
  width: 1400px !important;
  max-width: calc(100% - 40px) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* 顶栏与导航内容区：PC 左右贴齐；手机保留边距 */
@media (min-width: 992px) {
  .portal-header .container.portal-topbar,
  .portal-navbar > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .portal-navbar > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .portal-navbar .navbar-header {
    padding-left: 4px;
    padding-right: 4px;
  }
  .portal-navbar .navbar-brand,
  .navbar.portal-navbar > .container .navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .portal-navbar .navbar-toggle {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* 顶栏：设计稿高约 130，LOGO 高 81 */
.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.portal-brand {
  display: block;
  line-height: 0;
  text-decoration: none !important;
  flex: 0 0 auto;
  margin: 0;
  margin-right: auto;
}

/* LOGO 整图：设计 341x81，资源 2x */
.portal-logo-img {
  height: 81px;
  width: auto;
  display: block;
}

.portal-footer-logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.portal-qrcode-img {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
}

/* 注册/登录：78.5x33.9，描边 2px，字号 16，色 #016935 */
.portal-auth {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  margin-left: auto;
}

.portal-auth .btn.btn-portal-outline,
.portal-auth .btn-portal-outline {
  box-sizing: border-box;
  display: inline-block;
  min-width: 79px;
  width: auto;
  height: 34px;
  margin: 0 0 0 24px;
  padding: 0 18px !important;
  line-height: 30px !important;
  text-align: center;
  font-size: 16px !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em;
  color: #016935 !important;
  background: transparent !important;
  background-image: none !important;
  border: 2px solid #016935 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  vertical-align: middle;
}

.portal-auth .btn-portal-outline:first-child {
  margin-left: 0;
}

.portal-auth .btn-portal-outline:hover,
.portal-auth .btn-portal-outline:focus {
  color: #fff !important;
  background: #016935 !important;
  border-color: #016935 !important;
}

/* 导航：高 64，底 #016935，文字 16 白；横向均分不换行 */
.portal-navbar.navbar {
  background: #016935;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  min-height: 64px;
}

.portal-navbar .navbar-collapse {
  padding-left: 0;
  padding-right: 0;
}

.portal-navbar .navbar-nav {
  float: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin: 0;
  text-align: center;
}

.portal-navbar .navbar-nav > li {
  float: none;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  vertical-align: top;
}

.portal-navbar .navbar-nav > li > a {
  color: #fff !important;
  font-size: 16px !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 400;
  height: 64px;
  line-height: 64px !important;
  padding: 0 8px !important;
  white-space: nowrap;
  text-align: center;
}

.portal-navbar .navbar-nav > li.active > a,
.portal-navbar .navbar-nav > li.active > a:hover,
.portal-navbar .navbar-nav > li.active > a:focus,
.portal-navbar .navbar-nav > li > a:hover,
.portal-navbar .navbar-nav > li > a:focus {
  background: #0a7841 !important;
  color: #fff !important;
}

.portal-navbar .navbar-toggle {
  border-color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
}

.portal-navbar .navbar-toggle .icon-bar {
  background: #fff;
}

.portal-navbar .navbar-brand {
  color: #fff;
  height: 64px;
  line-height: 34px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.portal-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #0a3d28;
}

.portal-hero .carousel,
.portal-hero .carousel-inner,
.portal-hero .item {
  line-height: 0;
}

.portal-hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.portal-hero .carousel-indicators {
  bottom: 18px;
  margin-bottom: 0;
}

.portal-hero .carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.portal-hero .carousel-indicators li.active {
  background: #0daa5c;
  width: 10px;
  height: 10px;
}

.portal-hero .carousel-control {
  width: 8%;
  background: none !important;
  text-shadow: none;
  opacity: .85;
}

.portal-hero .carousel-control .portal-carousel-arrow {
  position: absolute;
  top: 50%;
  margin-top: -18px;
  width: 36px;
  height: 36px;
  line-height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 22px;
  display: inline-block;
}

.portal-hero .carousel-control.left .portal-carousel-arrow { left: 16px; }
.portal-hero .carousel-control.right .portal-carousel-arrow { right: 16px; }

.portal-feature-box {
  position: relative;
  overflow: hidden;
}

.portal-feature-box .carousel-indicators.portal-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  width: auto;
  margin: 0;
  padding-left: 0;
  text-align: center;
  line-height: 0;
  z-index: 3;
}

.portal-feature-box .carousel-indicators.portal-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-indent: 0;
  border: 0;
}

.portal-feature-box .carousel-indicators.portal-dots span.active {
  background: #0daa5c;
}

.portal-sub-hero {
  position: relative;
  height: 220px;
  max-height: 220px;
  min-height: 0;
  display: flex;
  align-items: center;
  background-color: #016935;
  background-image: url("../img/portal/sub-banner.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.portal-sub-hero:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(1, 70, 40, 0.18);
}

.portal-sub-hero .container {
  position: relative;
  z-index: 1;
}

.portal-sub-hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    -2px -2px 0 #016935,
     2px -2px 0 #016935,
    -2px  2px 0 #016935,
     2px  2px 0 #016935,
    -3px  0 0 #016935,
     3px  0 0 #016935,
     0 -3px 0 #016935,
     0  3px 0 #016935;
}

.portal-sub-hero-sub {
  margin: 12px 0 0;
  font-size: 20px;
  color: #e8f5ee;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.portal-mid-banner {
  padding: 40px 0 52px;
  background: #f5f7fa;
}

.portal-mid-banner img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.portal-feature-img {
  height: 220px;
  border-radius: 2px;
  background: #eee center/cover no-repeat;
}

.portal-feature-img-sm {
  height: 160px;
  margin-bottom: 12px;
}

/* 旧会员卡片尺寸覆盖，统一用设计稿 260x180 */
.portal-member-card{
  background:#FFFFFF!important;
  box-shadow:2px 1px 6px 1px rgba(160,160,160,0.1)!important;
  border-radius:14px!important;
  border:0!important;
}

.portal-section {
  padding: 48px 0;
}

.portal-section .row {
  margin-left: -20px;
  margin-right: -20px;
}

.portal-section .row > [class*="col-"] {
  padding-left: 20px;
  padding-right: 20px;
}

.portal-section-alt {
  background: var(--portal-bg);
}

.portal-tabs {
  border-bottom: 2px solid var(--portal-border);
  margin-bottom: 20px;
}

.portal-tabs > li > a {
  color: #666;
  border: 0 !important;
  border-radius: 0;
  margin-right: 24px;
  padding: 10px 4px;
  font-size: 16px;
}

.portal-tabs > li.active > a,
.portal-tabs > li.active > a:hover,
.portal-tabs > li.active > a:focus {
  color: var(--portal-green);
  background: transparent;
  border: 0 !important;
  border-bottom: 3px solid var(--portal-green) !important;
}

.portal-feature-title {
  margin-top: 0;
  font-size: 20px;
  line-height: 1.4;
}

.portal-feature-title a {
  color: #016935;
  text-decoration: none;
}

.portal-feature-summary {
  color: var(--portal-muted);
  line-height: 1.7;
}

.portal-meta {
  color: #999;
  font-size: 13px;
  margin-bottom: 8px;
}

.portal-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--portal-border);
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.portal-block-head h2 {
  margin: 0;
  font-size: 22px;
  color: #222;
}

.portal-block-head a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
}

.portal-block-head a:hover {
  color: var(--portal-green);
}

.portal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.portal-list li a {
  color: #444;
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  font-size: 14px;
}

.portal-list li a i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #3b82f6;
  margin: 6px 8px 0 0;
  flex-shrink: 0;
}

.portal-list li a:hover {
  color: var(--portal-green);
}

.portal-list-date li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.portal-list-date li span {
  color: #999;
  white-space: nowrap;
}

.col-md-15 {
  width: 20%;
  float: left;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.portal-links {
  background: #f0f1f0;
  padding: 24px 0;
  border-top: 4px solid #016935;
}

.portal-links-title {
  font-weight: 700;
  margin-bottom: 12px;
  color: #444;
}

.portal-links a {
  display: inline-block;
  color: #666;
  margin-bottom: 8px;
  text-decoration: none;
}

.portal-footer {
  background: var(--portal-green-deep);
  color: rgba(255, 255, 255, 0.9);
  padding: 36px 0 28px;
}

.portal-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-footer p {
  margin: 4px 0;
  font-size: 14px;
}

.portal-qrcode-tip {
  margin-top: 8px;
  font-size: 12px;
}

.portal-side-col {
  width: 200px;
  float: left;
  padding-right: 0;
}

@media (min-width: 992px) {
  .portal-section .col-md-9 {
    width: calc(100% - 230px);
    float: right;
  }
}

.portal-side .list-group {
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
}

.portal-side .list-group-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  max-width: 100%;
  height: 60px;
  box-sizing: border-box;
  border-radius: 0 !important;
  border: 0 !important;
  margin: 0 0 8px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 60px;
  color: #666;
  background: transparent;
  text-align: center;
}

.portal-side .list-group-item:hover {
  background: #f3faf6;
  color: #0daa5c;
}

.portal-side .list-group-item.active,
.portal-side .list-group-item.active:hover,
.portal-side .list-group-item.active:focus {
  background: #0daa5c !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 400;
  font-size: 16px;
  box-shadow: none;
}

.portal-content-head {
  margin-bottom: 24px;
  border-bottom: 0;
  padding-bottom: 0;
}

.portal-content-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #016935;
  position: relative;
  display: inline-block;
  padding: 0 0 10px;
}

.portal-content-head h1:before {
  display: none;
}

.portal-content-head h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #016935;
}

.portal-media-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.portal-media-item .portal-thumb {
  display: block;
  overflow: hidden;
  background: #f3f6f4;
}

.portal-media-item .portal-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.portal-media-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.portal-media-item h3 a {
  color: #333;
  text-decoration: none;
}

.portal-media-item h3 a:hover {
  color: #016935;
}

.portal-media-item p {
  color: #777;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-media-item .portal-meta {
  color: #999;
  font-size: 13px;
  text-align: left;
}

.portal-card {
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.portal-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.portal-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.portal-card-body {
  padding: 12px 14px 16px;
}

.portal-card-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  height: 44px;
  overflow: hidden;
}

.portal-card-body h3 a {
  color: #333;
  text-decoration: none;
}

.portal-card-body p {
  color: #888;
  font-size: 13px;
  height: 40px;
  overflow: hidden;
}

.portal-pagination {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.portal-pagination .pagination.portal-pager {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.portal-pagination .pagination.portal-pager > li {
  display: inline-block;
  float: none;
  margin: 0;
}

.portal-pagination .pagination.portal-pager > li > a,
.portal-pagination .pagination.portal-pager > li > span {
  float: none;
  display: inline-block;
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  margin: 0;
  padding: 0 8px;
  line-height: 30px;
  font-size: 13px;
  color: #016935;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
}

.portal-pagination .pagination.portal-pager > li.page-num > a,
.portal-pagination .pagination.portal-pager > li.page-num > span {
  min-width: 32px;
  width: 32px;
  padding: 0;
}

.portal-pagination .pagination.portal-pager > li.page-nav > a,
.portal-pagination .pagination.portal-pager > li.page-nav > span {
  min-width: 52px;
  padding: 0 10px;
}

.portal-pagination .pagination.portal-pager > li > a:hover,
.portal-pagination .pagination.portal-pager > li > a:focus {
  color: #fff;
  background: #016935;
  border-color: #016935;
}

.portal-pagination .pagination.portal-pager > .active > a,
.portal-pagination .pagination.portal-pager > .active > span,
.portal-pagination .pagination.portal-pager > .active > a:hover,
.portal-pagination .pagination.portal-pager > .active > span:hover {
  color: #fff;
  background: #016935;
  border-color: #016935;
  cursor: default;
}

.portal-pagination .pagination.portal-pager > .disabled > span,
.portal-pagination .pagination.portal-pager > .disabled > a {
  color: #016935;
  background: #fff;
  border-color: #d9d9d9;
  opacity: 1;
  cursor: default;
}

.portal-article-img {
  margin-bottom: 24px;
  border-radius: 2px;
  max-height: 298px;
  width: auto;
  object-fit: cover;
}

.portal-article-body {
  margin-top: 20px;
  line-height: 2;
  color: #555;
}

.portal-article-body p,
.portal-article p {
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

.portal-article-body img {
  max-width: 100%;
  height: auto;
}

.portal-article-body .portal-article-hero,
.portal-article-body img.portal-article-hero {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  margin: 0 0 24px;
  border-radius: 2px;
}

.portal-article-body ul,
.portal-article-body ol {
  padding-left: 1.4em;
  margin: 0 0 16px;
  color: #555;
  line-height: 2;
}

.portal-staff-list {
  margin-top: 8px;
}

.portal-staff-item {
  margin-bottom: 28px;
}

.portal-staff-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}

.portal-staff-item h3 span {
  font-weight: 400;
  color: #666;
  margin-left: 4px;
}

.portal-staff-item p {
  margin: 0;
  color: #666;
  line-height: 2;
  text-align: justify;
}

.portal-committee-list {
  margin-top: 8px;
}

.portal-committee-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.portal-committee-row .col-role {
  flex: 0 0 120px;
  color: #333;
}

.portal-committee-row .col-post {
  flex: 0 0 88px;
  color: #666;
}

.portal-committee-row .col-org {
  flex: 1 1 auto;
  min-width: 0;
  color: #333;
}

.portal-committee-note {
  margin-top: 20px;
  color: #999;
  font-size: 13px;
}

.portal-download-list {
  margin-top: 8px;
}

.portal-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.portal-download-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.portal-download-btn {
  flex: 0 0 auto;
  display: inline-block;
  min-width: 96px;
  height: 34px;
  line-height: 32px;
  padding: 0 14px;
  text-align: center;
  color: #016935;
  background: #fff;
  border: 1px solid #016935;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.portal-download-btn:hover,
.portal-download-btn:focus {
  color: #fff;
  background: #016935;
  text-decoration: none;
}

.portal-honor-grid {
  margin-left: -13px;
  margin-right: -13px;
}

.portal-honor-grid > [class*="col-"] {
  padding-left: 13px;
  padding-right: 13px;
  margin-bottom: 26px;
}

.portal-honor-card {
  display: block;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(160, 160, 160, 0.12);
  transition: box-shadow 0.2s ease;
}

.portal-honor-card:hover {
  box-shadow: 0 8px 22px rgba(160, 160, 160, 0.2);
}

.portal-honor-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f7f7f7;
}

.portal-card-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -13px;
  margin-right: -13px;
}

.portal-card-grid > [class*="col-"] {
  display: flex;
  float: none;
  margin-bottom: 26px;
  padding-left: 13px;
  padding-right: 13px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(160, 160, 160, 0.1);
  background: #fff;
  margin-bottom: 0;
}

.portal-card img {
  height: 180px;
  border-radius: 14px 14px 0 0;
}

.portal-card-body {
  flex: 1 1 auto;
}

.portal-card-body h3 {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.portal-card-body p {
  display: none;
}

.portal-map {
  border: 0;
  margin: 8px 0 0;
  overflow: hidden;
  background: #f5f7fa;
}

.portal-contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin: 28px 0 8px;
  padding: 0;
  color: #016935;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.btn-portal {
  background: var(--portal-green);
  border-color: var(--portal-green);
  color: #fff;
  min-width: 120px;
  border-radius: 0;
}

.btn-portal:hover {
  background: var(--portal-green-active);
  border-color: var(--portal-green-active);
  color: #fff;
}

.portal-cert-form {
  max-width: 520px;
  margin: 40px auto 20px;
  padding: 0;
  background: transparent;
  border: none;
}

.portal-cert-form .form-group {
  margin-bottom: 18px;
}

.portal-cert-form .form-control {
  height: 44px;
  border-radius: 0;
  border-color: #ddd;
  box-shadow: none;
}

.portal-cert-form .form-control:focus {
  border-color: #016935;
  box-shadow: none;
}

.portal-cert-actions {
  margin-top: 28px;
}

.portal-cert-form .btn-portal.btn-block {
  height: 44px;
  min-width: 100%;
  font-size: 16px;
}

.portal-cert-result {
  display: none;
  margin-top: 8px;
}
.portal-cert-result-panel {
  text-align: center;
}
.portal-cert-preview {
  display: inline-block;
  max-width: 647px;
  width: 100%;
  margin: 12px auto 0;
  background: #fff;
}
.portal-cert-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.portal-cert-back-wrap {
  margin: 36px 0 8px;
  text-align: center;
}
.portal-cert-back {
  min-width: 160px;
  height: 44px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 0;
}
@media (max-width: 767px) {
  .portal-cert-preview {
    max-width: 100%;
  }
  .portal-cert-back {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 991px) {
  .portal-topbar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 16px 12px;
    text-align: center;
    gap: 12px;
  }

  .portal-brand {
    margin: 0 auto;
  }

  .portal-logo-img {
    height: 60px;
    max-width: 100%;
  }

  .portal-auth {
    margin: 0 auto;
    justify-content: center;
    width: 100%;
  }

  .portal-auth .btn-portal-outline {
    margin: 0 10px !important;
  }

  .portal-navbar .navbar-nav {
    display: block;
    width: auto;
    text-align: left;
  }

  .portal-navbar .navbar-nav > li {
    display: block;
    flex: none;
    text-align: left;
  }

  .portal-navbar .navbar-nav > li > a {
    height: 44px;
    line-height: 44px !important;
    padding: 0 16px !important;
  }

  .col-md-15 {
    width: 33.3333%;
  }

  .portal-sub-hero {
    min-height: 160px;
  }

  .portal-sub-hero h1 {
    font-size: 32px;
  }

  .portal-side {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .portal-topbar {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: auto;
    min-height: 0;
    padding: 14px 12px;
    text-align: center;
  }

  .portal-brand {
    margin: 0 auto;
  }

  .portal-logo-img {
    height: 56px;
    max-width: 100%;
  }

  .portal-auth {
    margin: 0 auto;
    justify-content: center;
    width: 100%;
  }

  .portal-auth .btn-portal-outline {
    min-width: 88px;
    width: auto;
    height: 34px;
    line-height: 30px !important;
    font-size: 15px !important;
    margin: 0 10px !important;
    padding: 0 18px !important;
  }

  .col-md-15 {
    width: 50%;
  }

  .portal-hero-img {
    max-height: 220px;
  }

  .text-center-xs {
    text-align: center;
  }

  .portal-footer-brand {
    justify-content: center;
    margin-bottom: 16px;
  }

  .portal-footer-inner > div {
    margin-bottom: 18px;
  }

  .portal-committee-row {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px 0;
  }

  .portal-committee-row .col-role,
  .portal-committee-row .col-post {
    flex: 0 0 auto;
  }

  .portal-committee-row .col-org {
    flex: 1 1 100%;
  }

  .portal-download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .portal-honor-card img {
    height: 180px;
  }

  .portal-card img {
    height: 160px;
  }
}
/* ===== UI 对齐覆盖（首页区块） ===== */
.portal-tabs{border-bottom:1px solid #e5e5e5!important;margin-bottom:22px}
.portal-tabs>li{float:none;display:inline-block;margin:0 40px 0 0}
.portal-tabs>li>a{display:inline-block!important;width:auto;height:auto;margin:0!important;padding:8px 4px 12px!important;color:#999!important;border:0!important;font-size:18px!important;font-weight:400;background:transparent!important;line-height:1.4!important}
.portal-tabs>li.active>a,.portal-tabs>li.active>a:hover,.portal-tabs>li.active>a:focus{color:#016935!important;font-weight:700!important;background:transparent!important;border:0!important;border-bottom:4px solid #016935!important}
.portal-tag{display:inline-block;background:#7ec58a;color:#fff;font-size:12px;line-height:1;padding:6px 10px;margin-bottom:12px}
.portal-feature-box{position:relative;margin-bottom:16px;overflow:hidden}
.portal-feature-box > a{display:block}
.portal-feature-box img,
.portal-feature-cover{width:100%;height:298px;max-height:298px;object-fit:cover;display:block}
.portal-feature-title{margin:0 0 10px;font-size:20px;font-weight:700;line-height:1.45}
.portal-feature-title a{color:#222;text-decoration:none}
.portal-feature-title a:hover{color:#016935}
.portal-feature-summary{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-meta{color:#999;font-size:13px;margin-bottom:16px}
.portal-block-head{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:0!important;margin-bottom:16px;padding-bottom:10px;position:relative}
.portal-block-head:after{display:none}
.portal-block-head h2{margin:0;font-size:22px;font-weight:700;color:#222;position:relative;display:inline-block;padding-bottom:10px}
.portal-block-head h2:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:#016935}
.portal-block-head a{color:#7ec58a!important;text-decoration:none;font-size:14px;white-space:nowrap;padding-bottom:10px}
.portal-block-head a:hover{color:#016935!important}
.portal-list{list-style:none;margin:0;padding:0}
.portal-list li{padding:9px 0;border-bottom:0!important}
.portal-list li a{color:#333;text-decoration:none;display:flex;align-items:center;font-size:14px;line-height:1.5;min-width:0}
.portal-list li a i{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #016935!important;margin:0 10px 0 0!important;flex-shrink:0}
.portal-list li a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-list li a:hover{color:#016935}
.portal-list-date li{display:flex;align-items:center;justify-content:space-between;gap:12px}
.portal-list-date li a{flex:1;min-width:0}
.portal-list-date li em{color:#999;font-style:normal;white-space:nowrap;font-size:13px}
.portal-media-feature{margin-bottom:20px}
.portal-media-feature > a{display:block}
.portal-media-feature img{width:100%;height:298px;max-height:298px;object-fit:cover;margin-bottom:18px;display:block}
.portal-media-feature h4{margin:0 0 12px;font-size:16px;font-weight:700;line-height:1.45}
.portal-media-feature h4 a{color:#222;text-decoration:none}
.portal-media-feature h4 a:hover{color:#016935}
.portal-media-feature p{color:#888;font-size:13px;line-height:1.7;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-members{padding-top:clamp(28px,5vw,48px);padding-bottom:clamp(28px,5vw,48px)}
.portal-members .portal-block-head{margin-bottom:22px}
.portal-member-slider{
  position:relative;
  padding:16px 48px;
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.portal-member-viewport{
  overflow:hidden;
  max-width:100%;
}
.portal-member-track{
  display:flex;
  flex-wrap:nowrap;
  gap:26px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:4px 0 8px;
}
.portal-member-track::-webkit-scrollbar{display:none;width:0;height:0}
.portal-member-card{
  flex:0 0 260px !important;
  width:260px !important;
  min-width:260px !important;
  max-width:260px !important;
  height:180px !important;
  background:#FFFFFF !important;
  border:0 !important;
  border-radius:14px !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  padding:20px;
  margin:0 !important;
  box-shadow:2px 1px 6px 1px rgba(160,160,160,0.1) !important;
  text-decoration:none !important;
  overflow:hidden;
  box-sizing:border-box;
}
.portal-member-card img{
  max-width:100%;
  max-height:140px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.portal-arrow{
  position:absolute;
  top:50%;
  margin-top:-16px;
  z-index:3;
  width:32px !important;
  height:32px !important;
  border:0;
  border-radius:50%;
  background:#c8c8c8;
  color:#fff;
  font-size:16px;
  line-height:32px !important;
  padding:0;
  cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}
.portal-arrow.prev{left:8px}
.portal-arrow.next{right:8px}
.portal-arrow:hover{background:#016935}
.portal-links{background:#fff!important;padding:28px 0;border-top:4px solid #016935}
.portal-links-wrap{display:flex;align-items:flex-start;gap:40px}
.portal-links-brand .en{color:#016935;font-size:36px;font-weight:700;line-height:1}
.portal-links-brand .zh{color:#016935;font-size:14px;margin-top:6px}
.portal-links-grid{flex:1;display:grid;grid-template-columns:repeat(5,1fr);gap:10px 24px}
.portal-links-grid a{color:#999;text-decoration:none;font-size:13px;line-height:1.8}
.portal-links-grid a:hover{color:#016935}
.portal-footer{
  background-color:#014628!important;
  background-image:url("../img/portal/footer-bg.png")!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  color:rgba(255,255,255,.92);
  padding:clamp(24px,4vw,40px) 0 clamp(20px,3vw,32px);
}
.portal-footer-brand{justify-content:flex-start!important;margin-bottom:16px}
.portal-footer-text p,
.portal-footer-text .portal-footer-line{
  margin:6px 0;
  font-size:clamp(12px,0.9vw + 10px,14px);
  line-height:1.75;
  opacity:.92;
  word-break:break-word;
}
.portal-footer-mobile-only{display:none}
.portal-qrcode-img{width:clamp(72px,12vw,96px);height:clamp(72px,12vw,96px)}
.portal-footer-logo{height:clamp(48px,6vw,64px)}
.portal-qrcode-img{width:110px;height:110px;background:#fff;padding:6px}
.portal-auth-page{padding:48px 0 64px;background:linear-gradient(180deg,#f3f8f4,#fff 40%)}
.portal-auth-card{max-width:460px;margin:0 auto;background:#fff;border:1px solid #e8eee9;box-shadow:0 8px 28px rgba(1,105,53,.08);padding:36px 40px 40px}
.portal-auth-card .auth-logo{display:block;height:64px;margin:0 auto 24px}
.portal-auth-card h2{margin:0 0 24px;text-align:center;font-size:22px;color:#016935;font-weight:700}
.portal-auth-card .form-control{height:42px;border-radius:0;border-color:#d7e0d9;box-shadow:none}
.portal-auth-card .form-control:focus{border-color:#016935;box-shadow:none}
.portal-auth-card .btn-auth{height:44px;border-radius:0;background:#016935;border-color:#016935;font-size:16px}
.portal-auth-card .btn-auth:hover{background:#0a7841;border-color:#0a7841}
.portal-auth-card .auth-switch{margin-top:18px;text-align:center;color:#888}
.portal-auth-card .auth-switch a{color:#016935}
.portal-auth-card .btn-forgot{color:#016935!important;font-size:13px;line-height:34px;text-decoration:none}
.portal-auth-card .btn-forgot:hover{color:#0a7841!important}
.portal-auth-card .control-label{font-weight:600;color:#333;margin-bottom:6px}
.portal-user-menu{
  position:relative;
  margin-left:8px;
}
.portal-user-toggle{
  display:flex;
  align-items:center;
  gap:15px;
  color:#333 !important;
  text-decoration:none!important;
  font-size:16px;
  font-weight:400;
  line-height:1;
  padding:0;
  height:38px;
}
.portal-user-toggle > span{
  display:inline-block;
  max-width:120px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  line-height:38px;
  color:#333;
}
.portal-user-toggle:hover,
.portal-user-toggle:focus{
  color:#016935 !important;
}
.portal-user-toggle:hover > span,
.portal-user-toggle:focus > span{
  color:#016935;
}
.portal-user-toggle .caret{
  margin:0;
  margin-left:-5px;
  border-top:5px solid #333;
  border-right:5px solid transparent;
  border-left:5px solid transparent;
  vertical-align:middle;
}
.portal-user-toggle:hover .caret,
.portal-user-toggle:focus .caret,
.portal-user-menu.open > .portal-user-toggle .caret{
  border-top-color:#016935;
}
.portal-user-avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  border:0;
  background:#016935;
  flex:0 0 38px;
}
.portal-user-menu.open > .portal-user-toggle,
.portal-user-menu.open > .portal-user-toggle > span{
  color:#016935 !important;
}
.portal-user-menu .dropdown-menu{
  left:50% !important;
  right:auto !important;
  min-width:148px;
  margin-top:10px;
  padding:6px 0;
  border:1px solid #e6eee8;
  border-radius:6px;
  background:#fff;
  box-shadow:0 8px 24px rgba(1,105,53,.12);
  overflow:hidden;
  transform:translateX(-50%);
  -webkit-transform:translateX(-50%);
}
.portal-user-menu.open > .dropdown-menu,
.portal-user-menu .dropdown-menu.dropdown-menu-right{
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%);
  -webkit-transform:translateX(-50%);
}
.portal-user-menu .dropdown-menu>li>a{
  display:block;
  padding:10px 18px;
  color:#333;
  font-size:14px;
  line-height:1.4;
  text-align:center;
  transition:background .15s ease,color .15s ease;
}
.portal-user-menu .dropdown-menu>li>a:hover,
.portal-user-menu .dropdown-menu>li>a:focus{
  background:#f3faf6;
  color:#016935;
}
.portal-user-menu .dropdown-menu>li.divider{
  height:1px;
  margin:6px 12px;
  overflow:hidden;
  background-color:#e8eee9;
  border:0;
}
.portal-user-menu .dropdown-menu>li>a.btn-logout{
  color:#666;
}
.portal-user-menu .dropdown-menu>li>a.btn-logout:hover,
.portal-user-menu .dropdown-menu>li>a.btn-logout:focus{
  background:#fff5f5;
  color:#c0392b;
}
@media (max-width:767px){
  .portal-user-toggle{
    height:clamp(30px,8vw,36px);
    gap:clamp(8px,2.5vw,12px);
    font-size:clamp(13px,3.6vw,16px);
  }
  .portal-user-toggle > span{
    line-height:clamp(30px,8vw,36px);
    max-width:clamp(64px,22vw,100px);
  }
  .portal-user-avatar{
    width:clamp(30px,8vw,36px);
    height:clamp(30px,8vw,36px);
    flex-basis:clamp(30px,8vw,36px);
  }
  .portal-user-menu .dropdown-menu{
    min-width:clamp(132px,36vw,148px);
    border-radius:6px;
  }
  .portal-user-menu .dropdown-menu>li>a{
    padding:clamp(9px,2.5vw,11px) 14px;
    font-size:clamp(13px,3.6vw,14px);
  }
}
.portal-apply-section {
  background: #fff;
}

.portal-apply-card {
  background: #fff;
  border: 1px solid #e8eee9;
  padding: 28px 32px 16px;
  max-width: 760px;
  box-shadow: 0 4px 18px rgba(1, 105, 53, 0.05);
}

.portal-apply-form {
  max-width: 100%;
  padding-top: 0;
  color: #333;
}

.portal-apply-form .form-group {
  margin-bottom: 20px;
}

.portal-apply-form .control-label {
  padding-top: 10px;
  font-weight: 600;
  color: #333 !important;
  text-align: right;
}

.portal-apply-form .form-control {
  height: 42px;
  border-radius: 0;
  border: 1px solid #d7e0d9;
  background: #fff !important;
  color: #333 !important;
  box-shadow: none;
  -webkit-text-fill-color: #333;
}

.portal-apply-form .form-control:focus {
  border-color: #016935;
  box-shadow: none;
  background: #fff !important;
}

.portal-code-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.portal-code-row .form-control {
  flex: 1;
  min-width: 0;
}

.portal-captcha-img {
  flex: 0 0 120px;
  width: 120px;
  height: 42px;
  border: 1px solid #d7e0d9;
  cursor: pointer;
  background: #f7f8f7;
  object-fit: cover;
}

.btn-portal-ems {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 14px;
  color: #016935 !important;
  background: #fff !important;
  border: 1px solid #016935;
  text-decoration: none !important;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.2;
  box-sizing: border-box;
}

.btn-portal-ems:hover,
.btn-portal-ems:focus {
  color: #fff !important;
  background: #016935 !important;
}

.btn-portal-ems.disabled,
.btn-portal-ems[disabled] {
  color: #999 !important;
  background: #f5f5f5 !important;
  border-color: #ddd;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-portal-submit {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: #016935 !important;
  color: #fff !important;
  font-size: 16px;
}

.btn-portal-submit:hover,
.btn-portal-submit:focus {
  background: #0a7841 !important;
  color: #fff !important;
}

/* 个人中心：侧栏 + 内容卡，保留左右间距 */
.portal-member-section{
  background:#f5f7fa;
  padding:28px 0 56px;
}
.portal-member-section > .container{
  width:1400px !important;
  max-width:calc(100% - 80px) !important;
  margin-left:auto;
  margin-right:auto;
  padding-left:20px !important;
  padding-right:20px !important;
  box-sizing:border-box;
}
.portal-uc-row{
  display:flex;
  align-items:stretch;
  margin-left:0;
  margin-right:0;
}
.portal-member-section .portal-side-col{
  float:none;
  flex:0 0 200px;
  width:200px;
  padding:0;
  margin-right:24px;
}
.portal-member-section .portal-uc-main{
  float:none;
  flex:1;
  width:auto;
  max-width:none;
  background:#fff;
  border:1px solid #e8ece9;
  padding:28px 40px 40px;
  min-height:560px;
  box-sizing:border-box;
}
.portal-member-section .portal-side .list-group{
  margin:0;
  border:0;
  box-shadow:none;
}
.portal-member-section .portal-side .list-group-item{
  position:relative;
  width:100%;
  max-width:none;
  height:60px;
  margin:0 0 8px;
  border:0!important;
  border-radius:0!important;
  background:#fff;
  color:#666;
  font-size:16px;
  box-shadow:none;
}
.portal-member-section .portal-side .list-group-item:last-child{
  margin-bottom:0;
}
.portal-member-section .portal-side .list-group-item:hover{
  background:#f3faf6;
  color:#0daa5c;
}
.portal-member-section .portal-side .list-group-item.active,
.portal-member-section .portal-side .list-group-item.active:hover,
.portal-member-section .portal-side .list-group-item.active:focus{
  background:#0daa5c!important;
  color:#fff!important;
  font-weight:400;
}
.portal-member-section .portal-side .list-group-item.active:before{
  content:"";
  display:block;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:2px;
  background:#016935;
}
.portal-uc-main .portal-content-head{
  margin:0 0 28px;
  text-align:left;
}
.portal-uc-main .portal-content-head h1{
  position:relative;
  display:inline-block;
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#016935;
  line-height:1.2;
  padding:0 0 10px;
}
.portal-uc-main .portal-content-head h1:after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:100%;
  height:2px;
  background:#016935;
}
.portal-uc-form{
  max-width:680px;
  margin:0 auto;
}
.portal-uc-form .form-group{
  display:flex;
  align-items:flex-start;
  margin:0 0 18px;
}
.portal-uc-form .control-label{
  flex:0 0 140px;
  width:140px;
  margin:0;
  padding-top:14px;
  padding-right:16px;
  font-size:15px;
  color:#333;
  font-weight:400;
  text-align:right;
  line-height:1.2;
}
.portal-uc-form .portal-uc-field{
  flex:1;
  min-width:0;
  position:relative;
}
.portal-uc-form .form-control{
  height:52px;
  border-radius:6px;
  border:1px solid #dcdcdc;
  box-shadow:none;
  font-size:15px;
  background:#fff;
}
.portal-uc-form select.form-control{
  padding-right:28px;
  border-radius:6px;
}
.portal-uc-form .form-control:focus{
  border-color:#016935;
  box-shadow:none;
}
.portal-uc-form .form-control[disabled],
.portal-uc-form .form-control[readonly]{
  background:#f1f1f1;
  color:#666;
  cursor:not-allowed;
  border-radius:6px;
}
.portal-uc-form .btn-portal-submit{
  margin-top:4px;
  height:52px;
  font-size:16px;
  border-radius:6px;
  width:100%;
}
.portal-uc-form .portal-code-row{
  display:flex;
  gap:12px;
  align-items:stretch;
  flex-wrap:wrap;
}
.portal-uc-form .portal-code-row .form-control{
  flex:1;
  min-width:0;
  border-radius:6px;
}
.btn-portal-sms{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  height:52px;
  padding:0 16px;
  color:#fff!important;
  background:#016935!important;
  border:0;
  border-radius:6px;
  text-decoration:none!important;
  font-size:14px;
  white-space:nowrap;
  line-height:1.2;
  box-sizing:border-box;
}
.btn-portal-sms:hover,
.btn-portal-sms:focus{
  color:#fff!important;
  background:#0a7841!important;
}
.btn-portal-sms.disabled,
.btn-portal-sms[disabled]{
  opacity:.75;
  cursor:not-allowed;
  pointer-events:none;
}
/* 校验提示改到底部，避免盖住「获取验证码」 */
.portal-uc-form .msg-box,
.portal-uc-form .msg-box.n-right,
.portal-uc-form .msg-box.n-top,
.portal-uc-form .msg-box.n-bottom{
  position:static!important;
  display:block;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  width:100%!important;
  margin:6px 0 0!important;
  float:none!important;
  text-align:left!important;
}
.portal-uc-form .msg-box .msg-wrap{
  position:static!important;
  margin:0!important;
}
.portal-uc-form .portal-code-row .msg-box{
  flex:0 0 100%;
  order:3;
}
.portal-uc-form .portal-code-row{
  flex-wrap:wrap;
}
@media (max-width:991px){
  .portal-member-section > .container{
    width:100%!important;
    max-width:100%!important;
    padding-left:clamp(12px,4vw,16px)!important;
    padding-right:clamp(12px,4vw,16px)!important;
  }
  .portal-uc-row{
    flex-direction:column;
    gap:10px;
    margin-left:0!important;
    margin-right:0!important;
  }
  .portal-member-section .portal-side-col{
    flex:none;
    width:100%;
    margin:0!important;
    padding:0!important;
  }
  .portal-member-section .portal-side .list-group{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .portal-member-section .portal-side .list-group-item{
    height:clamp(42px,11vw,48px);
    margin:0;
    line-height:clamp(42px,11vw,48px);
    font-size:clamp(14px,3.8vw,16px);
    border-radius:6px!important;
    overflow:hidden;
  }
  .portal-member-section .portal-side .list-group-item.active:before{
    display:none;
  }
  .portal-member-section .portal-uc-main{
    min-height:0;
    padding:clamp(14px,4vw,20px) clamp(12px,3.5vw,18px);
    margin:0 auto!important;
  }
}
@media (max-width:767px){
  .portal-uc-form .form-group{
    flex-direction:column;
  }
  .portal-uc-form .control-label{
    flex:none;
    width:100%;
    text-align:left;
    padding:0 0 clamp(6px,1.8vw,10px);
    font-size:clamp(14px,3.8vw,16px);
  }
  .portal-uc-form .form-control{
    height:clamp(44px,12vw,52px);
    font-size:clamp(14px,3.8vw,16px);
  }
  .portal-uc-form .btn-portal-submit{
    height:clamp(44px,12vw,52px);
    font-size:clamp(15px,4vw,17px);
  }
  .portal-uc-form .portal-code-row{
    flex-direction:column;
    gap:clamp(8px,2.5vw,12px);
  }
  .btn-portal-sms{
    width:100%;
    height:clamp(44px,12vw,52px);
    font-size:clamp(14px,3.8vw,16px);
  }
}

/* 兼容旧结构（勿用 portal-member-card，会与首页会员 Logo 卡冲突） */
.portal-uc-panel{
  display:none;
}

.portal-footer-text .portal-footer-line {
  margin: 6px 0;
  word-break: break-word;
}
.portal-code-row{display:flex;gap:12px;align-items:stretch}
.portal-code-row .form-control{flex:1;min-width:0}
.btn-portal-code{flex:0 0 120px;height:42px;border:0;border-radius:0;background:#016935;color:#fff;font-size:14px}
.btn-portal-code:hover,.btn-portal-code:focus{background:#0a7841;color:#fff}
.btn-portal-code:disabled{opacity:.7;cursor:not-allowed}
.btn-portal-submit{display:block;width:100%;max-width:100%;height:44px;border:0;border-radius:0;background:#016935;color:#fff;font-size:16px}
.btn-portal-submit:hover,.btn-portal-submit:focus{background:#0a7841;color:#fff}
@media (max-width:991px){
.portal-side-col{width:100%;float:none;padding-right:15px}
.portal-section .col-md-9{width:100%;float:none}
.portal-side{width:100%;margin:0 auto 20px}
.portal-side .list-group{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  justify-content:stretch;
}
.portal-side .list-group-item{
  margin:0;
  width:100%;
  max-width:none;
  min-width:0;
  height:48px;
  line-height:48px;
  font-size:15px;
}
.portal-member-card{flex:0 0 260px!important;width:260px!important;min-width:260px!important;height:180px!important}
.portal-links-grid{grid-template-columns:repeat(3,1fr)}
.portal-links-wrap{flex-direction:column;gap:16px}
.portal-sub-hero{height:200px;max-height:200px}
.portal-media-feature img{height:200px;max-height:200px}
.portal-section{padding:36px 0}
.portal-section .row > [class*="col-"]{margin-bottom:28px}
.portal-section .row > [class*="col-"]:last-child{margin-bottom:0}
.portal-block-head{margin-bottom:18px;padding-bottom:12px}
.portal-list-date{margin-bottom:0;padding-bottom:8px}
.portal-members{margin-top:8px}
.portal-member-slider{padding:16px 44px}
.portal-member-track{gap:26px}
.portal-arrow{width:32px!important;height:32px!important;line-height:32px!important;font-size:16px}
}
@media (max-width:767px){
.portal-topbar{flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:0;padding:14px 12px;text-align:center;gap:12px}
.portal-brand{margin:0 auto}
.portal-auth{margin:0 auto;justify-content:center;width:100%}
.portal-auth .btn-portal-outline{margin:0 10px!important}
.portal-logo-img{height:56px;max-width:100%}
.portal-member-card{flex:0 0 200px!important;width:200px!important;min-width:200px!important;height:140px!important;border-radius:14px!important;padding:16px}
.portal-member-card img{max-height:100px}
.portal-member-slider{padding:14px 40px;margin-top:4px}
.portal-member-track{gap:16px}
.portal-members .portal-block-head{margin-bottom:18px}
.portal-section .row > [class*="col-"]{margin-bottom:32px}
.portal-list{margin-bottom:0}
.portal-list-date{margin-bottom:0;padding-bottom:4px}
.portal-arrow{width:32px!important;height:32px!important;line-height:32px!important;font-size:15px}
.portal-links-grid{grid-template-columns:repeat(2,1fr)}
.portal-auth-card{padding:28px 20px;margin:0 12px}
.portal-apply-form .control-label{text-align:left;margin-bottom:6px}
.portal-apply-card{padding:20px 16px 8px}
.portal-captcha-img{flex:0 0 110px;width:110px}
.portal-footer-inner{text-align:center}
.portal-footer-brand{justify-content:center!important}
.portal-footer-text{text-align:center}
.portal-footer-qr{display:none!important}
.portal-footer-desktop{display:none!important}
.portal-footer-mobile-only{display:block!important}
.portal-footer{
  background-color:#014628!important;
  background-image:none!important;
  padding:28px 12px 22px!important;
}
.portal-footer-logo{height:48px!important}
.portal-mid-banner{display:none!important}
.portal-qrcode-img{width:72px;height:72px}
.portal-side .list-group{justify-content:stretch}
.portal-side .list-group-item{width:100%;max-width:none}
.portal-content-head,.portal-block-head,.portal-tabs{text-align:left}
.portal-hero .carousel-indicators{bottom:10px}
.portal-news-row > [class*="col-"]{margin-bottom:16px}
}

/* ===== 首页滚动显现 ===== */
.portal-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.portal-reveal-ready [data-reveal="left"] {
  transform: translate3d(-48px, 0, 0);
}
.portal-reveal-ready [data-reveal="right"] {
  transform: translate3d(48px, 0, 0);
}
.portal-reveal-ready [data-reveal="zoom"] {
  transform: scale(0.94);
}
.portal-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@media (max-width: 767px) {
  .portal-reveal-ready [data-reveal="left"],
  .portal-reveal-ready [data-reveal="right"] {
    transform: translate3d(0, 24px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 蓝湖首页像素对齐（1920稿 / 1400内容区） ===== */
.portal-body{background:#f5f7fa}
.portal-header,.portal-hero,.portal-news,.portal-service-band,.portal-members,.portal-links{background:#fff}
.portal-dual{background:#f5f7fa!important;padding:48px 0 0!important}
.portal-news{padding:22px 0 36px!important}
.portal-service-band{
  position:relative;
  background:#fff url("../img/portal/ditu.png") left bottom / 481px 325px no-repeat!important;
  padding:40px 0 48px!important;
  overflow:hidden;
}
.portal-members{background:#fff!important;padding:36px 0 48px!important}
.portal-mid-banner{background:#f5f7fa!important;padding:40px 0 52px!important}
.portal-mid-banner img{width:100%;max-width:1400px;height:204px;object-fit:cover;display:block;margin:0 auto}

.portal-tabs{border-bottom:0!important;margin:0 0 18px!important;padding:0}
.portal-tabs>li{float:none;display:inline-block;margin:0 30px 0 0!important}
.portal-tabs>li>a{
  display:inline-block!important;margin:0!important;padding:0 0 10px!important;color:#666!important;border:0!important;
  font-size:18px!important;font-weight:400!important;background:transparent!important;line-height:1.2!important;position:relative;
}
.portal-tabs>li.active>a,.portal-tabs>li.active>a:hover,.portal-tabs>li.active>a:focus{
  color:#016935!important;font-weight:700!important;background:transparent!important;border:0!important;
}
.portal-tabs>li.active>a:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:5px;border-radius:2.5px;background:#016935}

.portal-news .col-md-5{width:42.8%}
.portal-news .col-md-7{width:57.2%}
.portal-feature-box{margin-bottom:0!important}
.portal-feature-box img,.portal-feature-cover{width:100%!important;height:327px!important;max-height:327px!important;object-fit:cover!important;display:block}
.portal-tag{
  display:inline-block!important;background:#d5f8e1!important;color:#016935!important;font-size:14px!important;
  line-height:34px!important;height:34px;padding:0 12px!important;border-radius:4px!important;margin-bottom:14px!important;font-weight:400!important;
}
.portal-feature-title{margin:0 0 10px!important;font-size:18px!important;font-weight:700!important;line-height:1.35!important;color:#333!important}
.portal-feature-title a{color:#333!important}
.portal-feature-title a:hover{color:#016935!important}
.portal-feature-summary{
  display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  color:#666!important;font-size:14px!important;line-height:24px!important;margin:0 0 10px!important;max-height:48px;
}
.portal-meta{color:#999!important;font-size:14px!important;margin:0 0 18px!important}

.portal-list li{padding:9px 0!important;border:0!important}
.portal-list li a{color:#000!important;font-size:14px!important}
.portal-list li a i{border-left-color:#016935!important}
.portal-list-date li{padding:7px 0!important}
.portal-list-date li em{color:#000!important;font-size:14px!important}

.portal-block-head{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 16px;padding:0 0 10px;border:0!important;position:relative}
.portal-block-head h2{margin:0;font-size:24px!important;font-weight:700!important;color:#000!important;line-height:1.2;position:relative;display:inline-block;padding:0}
.portal-block-head h2:after{display:none!important}
.portal-block-head a{color:#016935!important;font-size:14px!important;text-decoration:none;white-space:nowrap;padding:0}
.portal-block-head a:hover{color:#0a7841!important}
.portal-block-head--plain{padding-bottom:14px;margin-bottom:0}
.portal-block-head--line{border-bottom:2px solid #016935!important;padding-bottom:12px;margin-bottom:18px}

.portal-white-card{background:#fff;border-top:2px solid #016935;min-height:440px;padding:18px 28px 12px;box-sizing:border-box}
.portal-dual .row{margin-left:-12px;margin-right:-12px}
.portal-dual .row > [class*="col-"]{padding-left:12px;padding-right:12px;margin-bottom:0}
.portal-dual .portal-list li{padding:13px 0!important}
/* 双栏列表标题允许两行，减少过早省略 */
.portal-dual .portal-list li a span,
.portal-list-clamp li a span{
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.45;
}

.portal-service-band .portal-media-feature{margin-bottom:14px}
.portal-service-band .portal-media-feature img{width:100%;height:300px!important;max-height:300px!important;object-fit:cover;margin-bottom:16px;display:block}
.portal-service-band .portal-media-feature h4{margin:0 0 10px;font-size:16px;font-weight:700;line-height:1.35;color:#333}
.portal-service-band .portal-media-feature h4 a{color:#333;text-decoration:none}
.portal-service-band .portal-media-feature p{color:#666;font-size:14px;line-height:24px;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:72px}
.portal-service-band .row > [class*="col-"]{margin-bottom:0}

.portal-members .portal-block-head--line{border-bottom:2px solid #016935!important}
.portal-member-slider{padding:20px 48px 8px;margin-top:4px}
.portal-hero-img{max-height:523px!important;width:100%;object-fit:cover}
.portal-hero .carousel-indicators li{width:11px;height:11px;border-radius:50%;margin:0 4px;background:rgba(255,255,255,.55);border:0}
.portal-hero .carousel-indicators .active{background:#8cc81f;width:11px;height:11px}

.btn-portal-outline{
  width:79px!important;height:34px!important;line-height:32px!important;padding:0!important;
  border:1px solid #016935!important;color:#016935!important;background:#fff!important;border-radius:4px!important;font-size:16px!important;
}
.btn-portal-outline:hover{background:#016935!important;color:#fff!important}

@media (max-width:991px){
  .portal-news .col-md-5,.portal-news .col-md-7{width:100%}
  .portal-feature-box img,.portal-feature-cover{height:220px!important;max-height:220px!important}
  .portal-white-card{min-height:0;margin-bottom:20px}
  .portal-service-band{background-size:280px auto!important}
  .portal-service-band .portal-media-feature img{height:200px!important;max-height:200px!important}
  .portal-mid-banner img{height:auto}
  .portal-mid-banner{display:none!important}
  .portal-hero-img{max-height:280px!important}
}

/* ===== 蓝湖内页对齐 + 手机端优化 ===== */
.portal-body .portal-section{
  background:#f5f7fa;
  padding:20px 0 56px;
}
.portal-sub-hero{
  height:220px;
  max-height:220px;
}
.portal-sub-hero h1{
  font-size:48px;
  letter-spacing:2px;
}
.portal-side-col{
  width:200px;
  float:left;
  padding-right:0;
}
@media (min-width:992px){
  .portal-section .portal-main-col,
  .portal-section .col-md-9.portal-main-col{
    width:calc(100% - 230px);
    float:right;
    background:#fff;
    padding:28px 36px 40px;
    min-height:480px;
    box-sizing:border-box;
  }
}
.portal-side .list-group-item{
  position:relative;
  margin:0 0 0;
  background:#fff;
  color:#666;
  font-size:16px;
  box-shadow:none;
}
.portal-side .list-group-item + .list-group-item{
  margin-top:0;
}
.portal-side .list-group-item:hover{
  background:#f3faf6;
  color:#0daa5c;
}
.portal-side .list-group-item.active,
.portal-side .list-group-item.active:hover,
.portal-side .list-group-item.active:focus{
  background:#0daa5c!important;
  color:#fff!important;
}
.portal-side .list-group-item.active:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:2px;
  background:#016935;
}
.portal-content-head{
  margin:0 0 28px;
  padding:0;
  border:0;
}
.portal-content-head h1{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#016935;
  line-height:1.2;
  padding:0 0 10px;
  display:inline-block;
  position:relative;
}
.portal-content-head h1:after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:100%;
  height:2px;
  background:#016935;
}

/* 列表页 */
.portal-media-list{margin-top:4px}
.portal-media-item{
  display:flex;
  gap:20px;
  align-items:flex-start;
  padding:20px 0;
  border-bottom:1px solid #eee;
}
.portal-media-item .portal-thumb{
  flex:0 0 180px;
  width:180px;
  height:120px;
  overflow:hidden;
  background:#f3f6f4;
}
.portal-media-item .portal-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.portal-media-body{flex:1;min-width:0}
.portal-media-item h3{
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  line-height:1.45;
}
.portal-media-item h3 a{color:#333;text-decoration:none}
.portal-media-item h3 a:hover{color:#016935}
.portal-media-item p{
  color:#666;
  font-size:14px;
  line-height:1.7;
  margin:0 0 10px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.portal-media-item .portal-meta{color:#999;font-size:13px;margin:0}

/* 会员风采卡片：三列 图+标题+摘要+日期 */
.portal-card-grid{
  display:flex;
  flex-wrap:wrap;
  margin-left:-27px;
  margin-right:-27px;
}
.portal-card-grid > [class*="col-"]{
  display:flex;
  float:none;
  padding-left:27px;
  padding-right:27px;
  margin-bottom:36px;
}
.portal-card{
  width:100%;
  background:#fff;
  border:0;
  border-radius:4px;
  box-shadow:none;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:box-shadow .2s ease;
}
.portal-card:hover{
  box-shadow:0 8px 24px rgba(1,105,53,.1);
}
.portal-card-cover{
  display:block;
  overflow:hidden;
  background:#f3f6f4;
}
.portal-card-cover img,
.portal-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  border-radius:0;
}
.portal-card-body{
  padding:16px 18px 18px;
  flex:1;
  box-sizing:border-box;
}
.portal-card-body h3{
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  height:auto;
  min-height:0;
  max-height:none;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.portal-card-body h3 a{color:#333;text-decoration:none;transition:color .2s ease}
.portal-card-body h3 a:hover{color:#016935}
.portal-card-body p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#666;
  font-size:14px;
  line-height:22px;
  height:auto;
  max-height:66px;
  margin:0 0 12px;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.portal-card-date{
  color:#999;
  font-size:13px;
  line-height:1.2;
}

/* 荣誉双列 */
.portal-honor-grid{
  margin-left:-14px;
  margin-right:-14px;
}
.portal-honor-grid > [class*="col-"]{
  padding-left:14px;
  padding-right:14px;
  margin-bottom:28px;
}
.portal-honor-card{
  display:block;
  background:#fff;
  border:1px solid #f0f0f0;
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
  transition:box-shadow .2s ease;
}
.portal-honor-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08)}
.portal-honor-card img{
  width:100%;
  height:320px;
  object-fit:contain;
  background:#fafafa;
  display:block;
  padding:16px;
  box-sizing:border-box;
}

/* 文件下载 */
.portal-download-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid #eee;
}
.portal-download-main{flex:1;min-width:0}
.portal-download-title{
  color:#333;
  font-size:16px;
  font-weight:700;
  line-height:1.5;
  margin:0 0 8px;
}
.portal-download-desc{
  color:#666;
  font-size:14px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.portal-download-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:130px;
  height:52px;
  padding:0 18px;
  color:#016935!important;
  background:#fff!important;
  border:1px solid #016935;
  text-decoration:none!important;
  font-size:16px;
  white-space:nowrap;
  box-sizing:border-box;
}
.portal-download-btn:hover,
.portal-download-btn:focus{
  color:#fff!important;
  background:#016935!important;
}

/* 证书查询 */
.portal-cert-form{
  max-width:480px;
  margin:56px auto 24px;
}
.portal-cert-form .form-control{
  height:52px;
  border-radius:0;
  border:1px solid #ddd;
  text-align:center;
  font-size:16px;
  color:#333;
  box-shadow:none;
}
.portal-cert-form .form-control::placeholder{color:#999;text-align:center}
.portal-cert-form .form-control:focus{border-color:#016935;box-shadow:none}
.portal-cert-form .btn-portal.btn-block{
  height:52px;
  font-size:16px;
  background:#016935;
  border-color:#016935;
}

/* 会员申请 */
.portal-apply-section{background:#f5f7fa}
.portal-apply-card{
  max-width:720px;
  margin:8px auto 0;
  border:0;
  box-shadow:none;
  background:transparent;
  padding:8px 0 0;
}
.portal-apply-form .control-label{
  font-weight:400;
  color:#333!important;
  font-size:16px;
  padding-top:16px;
}
.portal-apply-form .form-control{
  height:52px;
  border:1px solid #ddd;
  border-radius:0;
  font-size:16px;
  padding:0 18px;
}
.portal-apply-form .form-group{margin-bottom:18px}
.btn-portal-ems{
  min-width:162px;
  height:52px;
  font-size:16px;
  border:1px solid #016935;
  color:#016935!important;
  background:#fff!important;
}
.btn-portal-ems:hover,
.btn-portal-ems:focus{
  color:#fff!important;
  background:#016935!important;
}
.btn-portal-submit{
  height:52px;
  font-size:16px;
  max-width:480px;
}

/* 联系我们 / 文章 */
.portal-map{
  border:0;
  margin:8px 0 0;
  overflow:hidden;
  background:#f5f7fa;
}
.portal-map iframe{
  display:block;
  width:100%;
  height:349px;
  min-height:349px;
  border:0;
}
.portal-contact-info{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:48px;
  margin:28px 0 8px;
  padding:0;
  color:#016935;
  font-size:18px;
  font-weight:700;
  line-height:1.6;
  text-align:center;
}
.portal-contact-info .portal-contact-item{
  display:inline-block;
  white-space:nowrap;
}
.portal-contact-info p{margin:0}
.portal-detail-meta{margin-bottom:18px!important}
.portal-staff-item h3{color:#016935}
.portal-committee-row{font-size:15px}

/* ---------- 平板 ---------- */
@media (max-width:991px){
  .portal-body .portal-section{padding:16px 0 40px}
  .portal-sub-hero{height:160px;max-height:160px}
  .portal-sub-hero h1{font-size:34px;letter-spacing:1px}
  .portal-side-col{
    width:100%;
    float:none;
    padding:0 15px;
    margin-bottom:16px;
  }
  .portal-section .portal-main-col,
  .portal-section .col-md-9.portal-main-col{
    width:100%;
    float:none;
    background:#fff;
    padding:22px 18px 28px;
    min-height:0;
  }
  .portal-side{margin:0}
  .portal-side .list-group{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:8px;
    padding:2px 2px 10px;
    scrollbar-width:none;
  }
  .portal-side .list-group::-webkit-scrollbar{display:none;height:0}
  .portal-side .list-group-item{
    flex:0 0 auto;
    width:auto;
    min-width:108px;
    max-width:none;
    height:44px;
    line-height:44px;
    margin:0;
    padding:0 18px;
    font-size:14px;
    background:#fff;
    box-shadow:0 2px 10px rgba(1,105,53,.06);
  }
  .portal-side .list-group-item.active:before{display:none}
  .portal-card-grid{margin-left:-10px;margin-right:-10px}
  .portal-card-grid > [class*="col-"]{padding-left:10px;padding-right:10px;margin-bottom:24px}
  .portal-card-cover img,.portal-card img{height:200px}
  .portal-honor-card img{height:260px;padding:12px}
  .portal-media-item .portal-thumb{flex:0 0 140px;width:140px;height:96px}
  .portal-apply-card{max-width:100%;padding:0}
  .portal-apply-form .control-label{text-align:left;padding-top:0;margin-bottom:8px}
  .btn-portal-submit{max-width:100%}
}

/* ---------- 手机 ---------- */
@media (max-width:767px){
  .portal-sub-hero{height:132px;max-height:132px}
  .portal-sub-hero h1{font-size:28px;text-shadow:-1px -1px 0 var(--portal-green),1px -1px 0 var(--portal-green),-1px 1px 0 var(--portal-green),1px 1px 0 var(--portal-green)}
  .portal-section .portal-main-col,
  .portal-section .col-md-9.portal-main-col{
    padding:18px 14px 24px;
    border-radius:0;
  }
  .portal-content-head{margin-bottom:18px}
  .portal-content-head h1{font-size:17px}
  .portal-side .list-group-item{
    min-width:96px;
    height:40px;
    line-height:40px;
    font-size:13px;
    padding:0 14px;
  }
  .portal-media-item{
    flex-direction:column;
    gap:12px;
    padding:16px 0;
  }
  .portal-media-item .portal-thumb{
    width:100%;
    flex-basis:auto;
    height:180px;
  }
  .portal-media-item h3{font-size:15px}
  .portal-card-grid{margin-left:-8px;margin-right:-8px}
  .portal-card-grid > [class*="col-"]{
    width:100%;
    padding-left:8px;
    padding-right:8px;
    margin-bottom:22px;
  }
  .portal-card-cover img,.portal-card img{height:200px}
  .portal-card-body h3{font-size:15px;-webkit-line-clamp:2}
  .portal-honor-grid > [class*="col-"]{width:100%;margin-bottom:16px}
  .portal-honor-card img{height:220px;padding:10px}
  .portal-download-item{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:18px 0;
  }
  .portal-download-title{font-size:15px}
  .portal-download-btn{
    width:100%;
    min-width:0;
    height:46px;
    font-size:15px;
  }
  .portal-cert-form{margin:28px 0 16px;max-width:100%}
  .portal-cert-form .form-control,
  .portal-cert-form .btn-portal.btn-block{height:48px;font-size:15px}
  .portal-apply-form .form-control,
  .btn-portal-ems,
  .btn-portal-submit{height:48px;font-size:15px}
  .portal-code-row{flex-direction:column;gap:10px}
  .btn-portal-ems{width:100%;min-width:0}
  .portal-map iframe{height:240px!important;min-height:240px}
  .portal-contact-info{
    flex-direction:column;
    gap:10px;
    margin:18px 0 4px;
    font-size:15px;
    text-align:center!important;
  }
  .portal-contact-info .portal-contact-item{white-space:normal}
  .portal-pagination{margin-top:24px;padding-top:16px}
  .portal-pagination .pagination.portal-pager{gap:4px}
  .portal-pagination .pagination.portal-pager > li > a,
  .portal-pagination .pagination.portal-pager > li > span{
    min-width:30px;
    height:30px;
    line-height:28px;
    font-size:12px;
    padding:0 6px;
  }
  .portal-article-body{font-size:15px;line-height:1.9}
  .portal-staff-item{margin-bottom:22px}
  .portal-staff-item h3{font-size:15px}
  .portal-committee-row{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    padding:14px 0;
  }
  .portal-committee-row .col-role,
  .portal-committee-row .col-post,
  .portal-committee-row .col-org{flex:none;width:100%}
  .portal-member-card{
    flex:0 0 168px!important;
    width:168px!important;
    min-width:168px!important;
    height:120px!important;
    border-radius:12px!important;
    padding:14px;
  }
  .portal-member-slider{padding:10px 36px}
  .portal-footer{
    background-color:#014628!important;
    background-image:none!important;
    padding:28px 12px 22px;
  }
  .portal-footer-qr{display:none!important}
  .portal-footer-text p,
  .portal-footer-text .portal-footer-line{font-size:13px;line-height:1.8}
}

/* ===== 行业专家：五列头像卡 ===== */
.portal-expert-grid{
  display:flex;
  flex-wrap:wrap;
  margin:4px -14.5px 0;
}
.portal-expert-col{
  width:20%;
  padding:0 14.5px;
  margin-bottom:36px;
  box-sizing:border-box;
}
.portal-expert-card{
  display:block;
  color:inherit;
  text-decoration:none!important;
}
.portal-expert-card:hover .portal-expert-name{color:#016935}
.portal-expert-photo{
  width:100%;
  height:240px;
  overflow:hidden;
  background:#f3f6f4;
}
.portal-expert-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.portal-expert-name{
  margin:12px 0 8px;
  text-align:center;
  font-size:16px;
  font-weight:700;
  color:#333;
  line-height:1.4;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.portal-expert-desc{
  margin:0;
  color:#666;
  font-size:14px;
  line-height:22px;
  max-height:66px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  word-break:break-word;
}
@media (max-width:1199px){
  .portal-expert-col{width:25%}
  .portal-expert-photo{height:220px}
}
@media (max-width:991px){
  .portal-expert-grid{margin-left:-10px;margin-right:-10px}
  .portal-expert-col{width:33.3333%;padding:0 10px;margin-bottom:24px}
  .portal-expert-photo{height:200px}
}
@media (max-width:767px){
  .portal-expert-grid{margin-left:-8px;margin-right:-8px}
  .portal-expert-col{width:50%;padding:0 8px;margin-bottom:20px}
  .portal-expert-photo{height:180px}
  .portal-expert-name{font-size:15px;margin:10px 0 6px}
  .portal-expert-desc{font-size:13px;line-height:20px;max-height:60px;-webkit-line-clamp:3}
}
@media (max-width:380px){
  .portal-expert-col{width:100%}
  .portal-expert-photo{height:220px}
}

/* ===== 全站：标题悬停变色 + 超长不换行兜底 ===== */
.portal-feature-title,
.portal-feature-title a,
.portal-feature-summary,
.portal-card-body h3,
.portal-card-body h3 a,
.portal-card-body p,
.portal-media-item h3,
.portal-media-item h3 a,
.portal-media-item p,
.portal-media-feature h4,
.portal-media-feature h4 a,
.portal-media-feature p,
.portal-list li a,
.portal-list li a span,
.portal-download-title,
.portal-download-desc,
.portal-expert-name,
.portal-expert-desc,
.portal-honor-card .portal-honor-title,
.portal-article-body,
.portal-content-head h1,
.portal-detail-title {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.portal-feature-title a,
.portal-card-body h3 a,
.portal-media-item h3 a,
.portal-media-feature h4 a,
.portal-list li a,
.portal-download-item a,
.portal-expert-card,
.portal-honor-card {
  transition: color .2s ease;
}

.portal-feature-title a:hover,
.portal-card-body h3 a:hover,
.portal-media-item h3 a:hover,
.portal-media-feature h4 a:hover,
.portal-list li a:hover,
.portal-list li a:hover span,
.portal-download-item:hover .portal-download-title,
.portal-expert-card:hover .portal-expert-name,
.portal-honor-card:hover .portal-honor-title {
  color: #016935 !important;
}

.portal-service-band .portal-media-feature h4 a:hover {
  color: #016935 !important;
}

/* ===== 个人中心布局兜底（覆盖后面通用内页 float 规则） ===== */
.portal-body .portal-member-section > .container{
  width:1400px !important;
  max-width:calc(100% - 80px) !important;
  padding-left:20px !important;
  padding-right:20px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box;
}
.portal-body .portal-member-section .portal-uc-row{
  display:flex !important;
  align-items:stretch;
  margin-left:0 !important;
  margin-right:0 !important;
}
.portal-body .portal-member-section .portal-side-col{
  float:none !important;
  flex:0 0 200px;
  width:200px !important;
  max-width:200px;
  padding:0 !important;
  margin:0 24px 0 0 !important;
}
.portal-body .portal-member-section .portal-main-col.portal-uc-main{
  float:none !important;
  flex:1 1 auto;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  background:#fff !important;
  border:1px solid #e8ece9;
  border-radius:6px;
  padding:36px 56px 48px !important;
  min-height:560px;
  box-sizing:border-box;
}
.portal-body .portal-member-section .portal-uc-form{
  max-width:640px;
  margin-left:auto;
  margin-right:auto;
}
.portal-body .portal-member-section .portal-uc-form .form-control,
.portal-body .portal-member-section .portal-uc-form select.form-control,
.portal-body .portal-member-section .portal-uc-form .btn-portal-submit,
.portal-body .portal-member-section .btn-portal-sms{
  border-radius:6px !important;
}
.portal-body .portal-member-section .portal-side .list-group-item{
  position:relative;
  border-radius:0 !important;
  overflow:visible;
}
.portal-body .portal-member-section .portal-side .list-group-item.active:before{
  content:"" !important;
  display:block !important;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:2px;
  background:#016935;
}
@media (max-width:991px){
  .portal-body .portal-member-section{
    padding:12px 0 28px;
  }
  .portal-body .portal-member-section > .container{
    width:100% !important;
    max-width:100% !important;
    padding-left:clamp(12px,4vw,16px) !important;
    padding-right:clamp(12px,4vw,16px) !important;
    box-sizing:border-box;
  }
  .portal-body .portal-member-section .portal-uc-row.row,
  .portal-body .portal-member-section .portal-uc-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch;
    gap:10px !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .portal-body .portal-member-section .portal-side-col,
  .portal-body .portal-member-section .portal-main-col.portal-uc-main,
  .portal-body .portal-member-section .portal-uc-row > [class*="col-"]{
    float:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    margin-bottom:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .portal-body .portal-member-section .portal-side-col{
    margin-bottom:0 !important;
  }
  .portal-body .portal-member-section .portal-side .list-group{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:0 !important;
    overflow:visible !important;
  }
  .portal-body .portal-member-section .portal-side .list-group-item{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:clamp(42px,11vw,48px) !important;
    line-height:clamp(42px,11vw,48px) !important;
    margin:0 !important;
    padding:0 8px !important;
    font-size:clamp(14px,3.8vw,16px) !important;
    border-radius:6px !important;
    overflow:hidden;
    box-shadow:none !important;
  }
  .portal-body .portal-member-section .portal-side .list-group-item.active:before{
    display:none !important;
  }
  .portal-body .portal-member-section .portal-main-col.portal-uc-main{
    min-height:0;
    border-radius:6px;
    padding:clamp(14px,4vw,20px) clamp(12px,3.5vw,18px) clamp(18px,4.5vw,24px) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box;
  }
  .portal-body .portal-member-section .portal-uc-main .portal-content-head{
    margin:0 0 14px;
    text-align:center;
  }
  .portal-body .portal-member-section .portal-uc-main .portal-content-head h1{
    font-size:clamp(16px,4.5vw,18px);
  }
  .portal-body .portal-member-section .portal-uc-form{
    width:100%;
    max-width:420px;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .portal-body .portal-member-section .portal-uc-form .form-group{
    flex-direction:column;
    margin-bottom:12px;
  }
  .portal-body .portal-member-section .portal-uc-form .control-label{
    flex:none;
    width:100%;
    text-align:left;
    padding:0 0 6px;
    font-size:clamp(13px,3.6vw,15px);
  }
  .portal-body .portal-member-section .portal-uc-form .form-control,
  .portal-body .portal-member-section .portal-uc-form select.form-control{
    height:clamp(42px,11vw,48px) !important;
    font-size:clamp(14px,3.8vw,16px) !important;
    border-radius:6px !important;
    padding-left:12px;
    padding-right:12px;
  }
  .portal-body .portal-member-section .portal-uc-form .btn-portal-submit,
  .portal-body .portal-member-section .btn-portal-sms{
    height:clamp(42px,11vw,48px) !important;
    font-size:clamp(15px,4vw,16px) !important;
    border-radius:6px !important;
  }
  .portal-body .portal-member-section .portal-uc-form .portal-code-row{
    flex-direction:column;
    gap:8px;
  }
  .portal-body .portal-member-section .btn-portal-sms{
    width:100%;
    min-width:0;
  }
}
@media (max-width:380px){
  .portal-body .portal-member-section > .container{
    padding-left:10px !important;
    padding-right:10px !important;
  }
  .portal-body .portal-member-section .portal-side .list-group-item{
    font-size:13px !important;
  }
  .portal-body .portal-member-section .portal-uc-form{
    max-width:100%;
  }
}

/* ---------- 全站图片悬停浮动放大 ---------- */
.portal-body img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img) {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* 容器裁剪，避免放大溢出破坏布局 */
.portal-body .portal-card,
.portal-body .portal-thumb,
.portal-body .portal-feature-box,
.portal-body .portal-media-feature,
.portal-body .portal-media-item,
.portal-body .portal-honor-card,
.portal-body .portal-member-card,
.portal-body .portal-expert-card,
.portal-body .portal-mid-banner,
.portal-body .portal-cert-preview,
.portal-body .carousel-inner .item,
.portal-body .portal-article-body p,
.portal-body a:has(> img) {
  overflow: hidden;
}

.portal-body a:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-thumb:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-feature-box:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-media-feature:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-media-item:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-honor-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-member-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-expert-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-mid-banner:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-cert-preview:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .carousel-inner .item:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-article-body img:hover:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
.portal-body .portal-article-img:hover {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .portal-body img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img) {
    transition: none;
  }
  .portal-body a:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-thumb:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-feature-box:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-media-feature:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-media-item:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-honor-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-member-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-expert-card:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-mid-banner:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-cert-preview:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .carousel-inner .item:hover img:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-article-body img:hover:not(.portal-logo-img):not(.portal-footer-logo):not(.portal-user-avatar):not(.portal-qrcode-img):not(.portal-captcha-img),
  .portal-body .portal-article-img:hover {
    transform: none;
  }
}

/* ---------- 手机端：内容区加宽 + 导航/内容左右留白 ---------- */
@media (max-width: 991px) {
  .portal-body .portal-section > .container,
  .portal-body .portal-links > .container,
  .portal-body .portal-mid-banner > .container,
  .portal-body .portal-footer > .container,
  .portal-body .portal-sub-hero .container,
  .portal-body .portal-auth-page .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .portal-body .portal-navbar > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .portal-body .portal-navbar .navbar-brand,
  .portal-body .navbar.portal-navbar > .container .navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .portal-body .portal-navbar .navbar-toggle {
    margin-right: 0 !important;
  }
  .portal-body .portal-section .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  .portal-body .portal-section .row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .portal-body .portal-dual .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .portal-body .portal-dual .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .portal-body .portal-white-card {
    padding: 14px 14px 10px !important;
  }
}

@media (max-width: 767px) {
  .portal-body .portal-section > .container,
  .portal-body .portal-links > .container,
  .portal-body .portal-mid-banner > .container,
  .portal-body .portal-footer > .container,
  .portal-body .portal-sub-hero .container,
  .portal-body .portal-auth-page .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .portal-body .portal-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .portal-body .portal-navbar > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .portal-body .portal-navbar .navbar-brand,
  .portal-body .navbar.portal-navbar > .container .navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .portal-body .portal-navbar .navbar-toggle {
    margin-right: 0 !important;
  }
  .portal-body .portal-dual {
    padding: 28px 0 0 !important;
  }
  .portal-body .portal-dual .portal-block-head {
    margin-bottom: 10px !important;
  }
  .portal-body .portal-white-card {
    padding: 12px 12px 8px !important;
  }
  .portal-body .portal-news .col-md-5,
  .portal-body .portal-news .col-md-7 {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .portal-body .portal-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .portal-body .portal-section .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

