:root {
  --primary-red: #94070a;
  --hover-red: #b0080b;
  --bg-light: #f9f9f9;
  --link-blue: #03386b;
  --record-gold: #dbbc83;
}

body { font-family: "Microsoft YaHei", sans-serif; margin: 0; padding: 0; background: #fff; color: #333; }
ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* 全站链接 hover：红色、无下划线 */
a:hover {
  color: var(--primary-red);
  text-decoration: none;
}

.container-1200 {
  max-width: 1200px;
}

/* Header */
.site-brand {
  min-width: 0;
}

.brand-logo img {
  /* width: 60px; */
  width: auto;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 1px;
  line-height: 1.3;
}

.search-form {
  width: 420px;
  max-width: 100%;
}

.search-input {
  border: 2px solid var(--primary-red);
  border-right: 0;
  height: 42px;
}

.search-btn {
  background: var(--primary-red);
  border-color: var(--primary-red);
  height: 42px;
  padding: 0 22px;
  font-weight: 700;
  color: #fff;
}

.search-btn:hover {
  background: var(--hover-red);
  border-color: var(--hover-red);
}

/* 联系页留言表单：与头部搜索框同色描边（独立字段，四边完整，非 input-group 右侧开口） */
.crc-feedback-form {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 30px 32px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.crc-feedback-form .form-group {
  margin-bottom: 1rem;
}

.crc-feedback-form .form-group:last-of-type {
  margin-bottom: 1.25rem;
}

.crc-feedback-form .crc-feedback-field {
  border: 2px solid var(--primary-red);
  font-size: 16px;
  color: #333;
}

.crc-feedback-form .crc-feedback-field:not(textarea) {
  height: 42px;
}

.crc-feedback-form .crc-feedback-textarea {
  min-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.6;
}

.crc-feedback-form .crc-feedback-field:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(148, 7, 10, 0.2);
}

.crc-feedback-form .crc-feedback-field::placeholder {
  color: #999;
}

.crc-feedback-form .crc-feedback-submit {
  min-width: 120px;
  padding-left: 28px;
  padding-right: 28px;
  margin-top: 4px;
}

.crc-feedback-form .crc-feedback-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Navbar */
.site-navbar {
  background: var(--primary-red);
}

.site-navbar .nav-link {
  color: #fff !important;
  padding: 14px 10px;
  font-size: 18px;
}

/* 去掉下拉菜单右侧默认小三角 */
.site-navbar .dropdown-toggle::after {
  display: none;
}

.site-navbar .nav-item.active > .nav-link,
.site-navbar .nav-link:hover,
.site-navbar .nav-item.show > .nav-link {
  background: var(--hover-red);
  font-weight: 800;
}

.site-navbar .dropdown-menu {
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  margin-top: 0;
}

.site-navbar .dropdown-item {
  padding: 10px 16px;
  font-size: 15px;
}

.site-navbar .dropdown-item:hover {
  background: var(--primary-red);
  color: #fff;
}

/* Banner */
.banner-wrap {
  background: #fff;
  min-height: 300px;
  overflow: hidden;
}

.banner-wrap .carousel,
.banner-wrap .carousel-inner,
.banner-wrap .carousel-item {
  min-height: 300px;
}

.banner-wrap .carousel-item.active {
  display: block;
}

.banner-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* Section head & tabs */
.section-head {
  border-bottom: 2px solid var(--primary-red);
  margin-bottom: 12px;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  padding: 8px 22px;
  color: #fff;
  background: var(--primary-red);
  display: inline-block;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.more-link {
  font-size: 14px;
  color: #666;
  padding-bottom: 8px;
}

.more-link:hover {
  color: var(--primary-red);
}

.section-tabs .nav-link {
  font-size: 18px;
  font-weight: 800;
  color: #444;
  padding: 8px 22px;
  border-radius: 0;
}

.section-tabs .nav-link.active {
  background: var(--primary-red);
  color: #fff;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

/* News list */
.news-list .news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}

.news-list .news-item::before {
  content: "■";
  color: var(--primary-red);
  font-size: 8px;
  margin: 0 12px 0 5px;
  flex: 0 0 auto;
}

.news-list .news-title {
  flex: 1;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list .news-date {
  color: #888;
  font-size: 14px;
  margin-left: 15px;
  flex: 0 0 auto;
}

/* Main carousel */
.main-carousel {
  border-radius: 4px;
  overflow: hidden;
}

.main-carousel-link {
  position: relative;
  text-decoration: none;
}

.main-carousel-link:hover {
  text-decoration: none;
  color: inherit;
}

.main-carousel-link .main-caption h3 {
  color: #fff;
}

.main-img {
  height: 500px;
  object-fit: cover;
}

.main-caption {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.6);
  text-align: left;
}

/* 行业服务入口：参考 stats.gov.cn .wrapper-content4-left / .wrapper-content4-left-item */
.entry-grid {
  padding: 12px 14px 6px;
  border-radius: 4px;
  border: 1px solid #fff6f6;
  background: linear-gradient(180deg, #fdf2f2 0%, #fff6f6 100%);
  box-sizing: border-box;
}

.entry-grid__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 4px;
  min-height: 88px;
}

.entry-grid__list > li {
  flex: 0 0 calc(50% - 5px);
  max-width: calc(50% - 5px);
  min-height: 88px;
  margin-bottom: 16px;
  border-radius: 4px;
  border: 1px solid #d6e3f0;
  background: linear-gradient(180deg, #fbfdff 0%, #ecf2ff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.entry-grid__list > li:hover {
  border-color: #fff6f6;
  background: linear-gradient(180deg, #f2f7ff 0%, #e2ebfb 100%);
}

.entry-grid__list > li > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.entry-grid__list > li > a:hover {
  color: inherit;
}

.entry-grid__list > li > a > div {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 0 6px 0 4px;
  box-sizing: border-box;
}

.entry-grid .entry-btn__icon {
  flex-shrink: 0;
  display: inline-flex;
  line-height: 0;
  margin-left: 10px;
  color: #376fb5;
  transition: color 0.2s;
}

.entry-grid .entry-btn__icon img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.entry-grid .entry-btn__text {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  line-height: 1.25;
  transition: color 0.2s;
}

.entry-grid__list > li > a:hover .entry-btn__icon {
  color: var(--primary-red);
}

.entry-grid__list > li > a:hover .entry-btn__text {
  color: var(--primary-red);
}

@media (max-width: 575px) {
  .entry-grid__list > li {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}

/* Member tabs & grid */
.member-type-tabs {
  gap: 10px;
  margin: 14px 0 12px;
}

.member-tab-btn {
  padding: 6px 16px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 14px;
}

.member-tab-btn.active {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

/* 外层容器只是包裹，不做网格 */
.member-grid {
  width: 100%;
}

/* 首页会员单位：3 列 × 最多 2 行（每 Tab 6 条） */
.member-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.member-grid-empty {
  grid-column: 1 / -1;
}

.member-card-home {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}

.member-card-home:hover {
  background: #fdf2f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
}

.member-card-home__img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}

.member-card-home__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.member-card-home:hover .member-card-home__img img {
  transform: scale(1.05);
}

.member-card-home__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.member-card-home__title {
  font-size: 1rem;
  color: inherit;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.member-card-home__desc {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Friend links */
.friend-links {
  background: #fff;
  padding: 40px 0 20px;
  border-top: 1px solid #eee;
}

.links-title {
  font-size: 18px;
  font-weight: 800;
  border-left: 4px solid var(--primary-red);
  padding-left: 15px;
  color: #333;
  margin-bottom: 18px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 30px;
}

.links-grid a {
  color: #666;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  transition: 0.2s;
}

.links-grid a:hover {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

/* Footer */
.site-footer {
  background: var(--primary-red);
  color: #fff;
  padding: 46px 0 26px;
}

.footer-inner {
  display: flex;
  gap: 40px;
}

.footer-left {
  flex: 1.2;
  line-height: 1.8;
  font-size: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 40px;
}

.footer-left p {
  margin: 0 0 12px 0;
  display: flex;
  align-items: flex-start;
}

.footer-left .label {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
  width: 85px;
}

.footer-right {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  align-items: flex-start;
}

.contact-info {
  line-height: 2;
  font-size: 15px;
}

.qr-code-box {
  text-align: center;
}

.qr-code {
  width: 110px;
  height: 110px;
  background: #fff;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.qr-code img {
  width: 100%;
  height: 100%;
}

.qr-text {
  font-size: 14px;
  opacity: 0.95;
}

.record-bar {
  background: #333;
  color: #dcdcdc;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
}
.record-bar .police-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Navbar dropdown: hover to open (desktop) */
@media (min-width: 992px) {
  #mainNav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  #mainNav .dropdown-menu {
    margin-top: 0;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .brand-logo img {
    /* width: 42px; */
    height: 42px;
  }

  .brand-title {
    font-size: 18px;
  }

  header .search-form {
    display: none !important;
  }

  .main-img {
    height: 360px;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-left {
    border-right: 0;
    padding-right: 0;
  }

  .footer-right {
    justify-content: flex-start;
  }
}

/* 首页会员单位：手机与小屏平板 — 每行 1 张；卡片内左图右文，右侧标题+简介上下排 */
@media (max-width: 767.98px) {
  .member-grid-list {
    grid-template-columns: 1fr;
  }

  .member-card-home {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }

  .member-card-home__img {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
  }

  .member-card-home__body {
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
  }
}

/* ---------------------------
   通用内页布局（列表 / 详情）
---------------------------- */
.breadcrumb {
  width: 1200px;
  margin: 0 auto;
  padding: 12px 0;
  font-size: 16px;
  color: #666;
}

.breadcrumb .icon-location {
  color: var(--primary-red);
  margin-right: 8px;
  margin-left: 10px;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.breadcrumb a:hover {
  color: var(--primary-red);
}

.main-content {
  width: 1200px;
  margin: 30px auto;
  display: flex;
  gap: 30px;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-title {
  background: var(--primary-red);
  color: #fff;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.sidebar-menu li {
  border-bottom: 1px solid #eee;
}

.sidebar-menu li a {
  display: block;
  padding: 15px;
  background: #f9f9f9;
}

.sidebar-menu li a.active,
.sidebar-menu li a:hover {
  background: #fff;
  color: var(--primary-red);
  border-left: 5px solid var(--primary-red);
  font-weight: bold;
}

.list-container {
  flex: 1;
  min-width: 0;
}

.list-title {
  font-size: 24px;
  color: var(--primary-red);
  font-weight: bold;
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.list-title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--primary-red);
  margin-right: 12px;
}

.data-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed #ccc;
}

.data-list-item::before {
  content: "■";
  color: var(--primary-red);
  font-size: 8px;
  margin: 0 12px 0 5px;
  flex: 0 0 auto;
}

.data-list li a {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  margin-right: 20px;
}

.data-list li span {
  color: #999;
  font-size: 14px;
  font-family: Arial;
}

.data-list li:hover a {
  color: var(--primary-red);
  padding-left: 5px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
  padding: 20px 0;
}

.pagination span,
.pagination a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  margin: 0 2px;
  font-size: 14px;
}

.pagination a:hover,
.pagination .current {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

/* 详情页内容 */
.article-container {
  width: 1200px;
  margin: 40px auto;
  border: 1px solid #eee;
  padding: 50px;
  background: #fff;
}

.article-header {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.article-header h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.article-meta {
  font-size: 14px;
  color: #888;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.article-content {
  font-size: 18px;
  line-height: 2;
  color: #444;
  text-align: justify;
  padding:40px 40px 60px 40px;
}

.article-content p {
  margin-bottom: 25px;
  text-indent: 2em;
}

.article-content img {
  display: block;
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
  border: 1px solid #ddd;
  padding: 5px;
}

.article-empty {
  margin: 0 0 24px;
  color: #888;
  text-indent: 0;
}

.contact-feedback-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed #eee;
  text-align: left;
}

.contact-feedback-desc {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.8;
}

.contact-feedback-wrap .detail-content {
  margin-top: 20px;
}

.article-footer {
  margin-top: 50px;
  border-top: 1px dashed #eee;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btns {
  text-align: center;
  margin-top: 40px;
}

.action-btns .btn {
  padding: 8px 25px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  margin: 0 10px;
}

.action-btns .btn:hover {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

/* 会员单位详情：左 logo、右「标题 + 详情」 */
.member-brand-detail .member-brand-summary {
  display: flex;
  gap: 36px;
  margin-bottom: 8px;
  padding-bottom: 28px;
  /* border-bottom: 1px solid #eee; */
  flex-wrap: wrap;
  align-items: flex-start;
}

.member-brand-detail .member-brand-logo {
  flex: 0 0 340px;
  max-width: 100%;
}

.member-brand-detail .member-brand-logo img {
  display: block;
  width: 100%;
  max-width: 400px;
  min-width: 260px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #eee;
  padding: 14px;
  background: #fafafa;
  margin: 0 auto;
}

.member-brand-detail .member-brand-params {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.member-brand-detail .member-brand-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
  margin: 0 0 18px;
  padding: 0;
}

.member-brand-detail .member-brand-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.member-brand-detail .member-brand-detail-body.member-detail-rich {
  text-align: left;
  text-align: justify;
}

.member-brand-detail .member-brand-detail-plain {
  color: #555;
  white-space: normal;
  word-break: break-word;
}

.member-brand-detail .member-brand-detail-empty {
  margin: 0;
  font-size: 15px;
}

/* 兼容旧版参数栅格（其它模板若仍使用） */
.member-brand-detail .member-param-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-bottom: 14px;
}

.member-brand-detail .member-param-row:last-child {
  margin-bottom: 0;
}

.member-brand-detail .member-param-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.member-brand-detail .member-param-label {
  color: #888;
  font-size: 14px;
}

.member-brand-detail .member-param-value {
  color: #333;
  word-break: break-word;
}

.member-brand-detail .member-detail-block {
  margin-top: 32px;
}

.member-brand-detail .member-detail-block-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-red);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-red);
}

.member-brand-detail .member-detail-rich.article-content {
  text-align: left;
}

/* 图片列表页栅格 */
.img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.img-item {
  border: 1px solid #eee;
  transition: 0.3s;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}

.img-item:hover {
  border-color: var(--primary-red);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4f4f4;
}

/* imglist：方形缩略图（详情页荣誉/作品等仍用 1:1） */
.img-grid .img-wrap {
  aspect-ratio: 1 / 1;
}

/* 教师列表页 list-container：卡片缩略图为竖图 3:4（宽:高） */
.list-container .img-grid--teacher-list .img-wrap {
  aspect-ratio: 3 / 4;
  background: none;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-info {
  padding: 15px;
  text-align: center;
}

.img-info h3 {
  font-size: 15px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-red);
  font-weight: 400;
}

/* 教师图片列表：仿南科大教师卡片布局 */
.list-container .img-grid--teacher-list {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.list-container .img-grid--teacher-list .img-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
}

.list-container .img-grid--teacher-list .img-wrap {
  background: #f4f4f4;
}

.list-container .img-grid--teacher-list .img-info {
  padding: 12px 14px 16px;
  text-align: left;
}

.list-container .img-grid--teacher-list .img-info h3 {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-container .img-grid--teacher-list .img-desc {
  padding: 0 14px 14px;
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-container .img-grid--teacher-list .img-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* 会员单位列表：与 AEC 一致的横版 jp-image-card（左图右文，右侧标题+描述） */
.jp-image-grid.jp-image-grid--horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.jp-image-card.jp-image-card--horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: 0.25s ease;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}

.jp-image-card.jp-image-card--horizontal:hover {
  border-color: var(--primary-red);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
}

.jp-image-card.jp-image-card--horizontal .thumb {
  flex: 0 0 140px;
  width: 140px;
  max-width: 38%;
  min-height: 108px;
  align-self: stretch;
  overflow: hidden;
  background: #f4f4f4;
}

.jp-image-card.jp-image-card--horizontal .thumb img {
  width: 100%;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
  display: block;
}

.jp-image-card.jp-image-card--horizontal .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px 14px;
  text-align: left;
}

.jp-image-card.jp-image-card--horizontal .title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.jp-image-card.jp-image-card--horizontal .desc {
  font-size: 14px;
  color: #888;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  flex: 1;
}

/* 图文新闻列表（newslist） */
.newslist-item {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed #ddd;
}

.newslist-thumb {
  width: 180px;
  flex-shrink: 0;
}

.newslist-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.newslist-body {
  flex: 1;
  min-width: 0;
}

.newslist-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newslist-title:hover {
  color: var(--primary-red);
}

.newslist-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  max-height: 40px;
  overflow: hidden;
}

.newslist-meta {
  font-size: 13px;
  color: #999;
}

/* 内页移动端适配 */
@media (max-width: 991.98px) {
  .breadcrumb {
    width: auto;
    padding: 10px 15px;
  }

  .main-content {
    width: auto;
    margin: 20px 15px;
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: none;
  }

  .list-title {
    font-size: 16px;
  }

  .article-container {
    width: auto;
    margin: 20px 15px 30px;
    padding: 20px;
  }

  .article-header h1 {
    font-size: 22px;
  }

  .member-brand-detail .member-brand-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-brand-detail .member-brand-logo {
    flex: 0 0 auto;
    width: 100%;
  }

  .member-brand-detail .member-brand-logo img {
    min-width: 0;
    max-width: min(400px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .member-brand-detail .member-brand-params {
    text-align: left;
    width: 100%;
  }

  .member-brand-detail .member-brand-page-title {
    font-size: 20px;
    text-align: left;
  }

  .member-brand-detail .member-param-row {
    grid-template-columns: 1fr;
  }

  .member-brand-detail .member-param-item {
    text-align: left;
  }

  .article-content {
    font-size: 16px;
    padding:10px;
  }
  .contact-feedback-desc {
    font-size: 14px;
  }
  .img-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jp-image-grid.jp-image-grid--horizontal {
    grid-template-columns: repeat(2, 1fr);
  }

  .newslist-item {
    gap: 12px;
  }

  .newslist-thumb {
    width: 140px;
  }
}

@media (max-width: 575.98px) {
  .breadcrumb {
    font-size: 14px;
  }

  .list-title {
    font-size: 16px;
  }

  .data-list li {
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
  }

  .data-list li a {
    margin-right: 0;
    width: 100%;
  }

  /* news/nolist：移动端字号 */
  .data-list li a {
    font-size: 14px;
  }

  .data-list li span {
    font-size: 12px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .article-footer {
    flex-direction: column;
  }

  .img-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jp-image-grid.jp-image-grid--horizontal {
    grid-template-columns: 1fr;
  }

  .jp-image-card.jp-image-card--horizontal .thumb {
    flex: 0 0 120px;
    width: 120px;
    max-width: 35%;
  }

  .newslist-item {
    flex-direction: row;
  }

  .newslist-thumb {
    width: 120px;
  }

  .newslist-thumb img {
    width: 100%;
    height: 84px;
    object-fit: cover;
  }

  /* teacher/imglist：移动端每行 2 张 */
  .list-container .img-grid--teacher-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ========== 站内搜索条（与示意图：深红描边、圆角、左侧放大镜、右侧「搜索」按钮） ========== */
.crc-search-bar-wrap {
  width: 100%;
  max-width: 640px;
}

.crc-search-bar-wrap--header.search-form {
  width: 420px;
  max-width: 100%;
}

.crc-search-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--primary-red);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.crc-search-bar__field {
  flex: 1 1 78%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 14px;
  background: #f5f5f5;
  cursor: text;
  min-width: 0;
}

.crc-search-bar__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2394070a' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.crc-search-bar__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #333;
  box-shadow: none;
}

.crc-search-bar__input::placeholder {
  color: #888;
}

.crc-search-bar__btn {
  flex: 0 0 22%;
  min-width: 88px;
  border: 0;
  border-left: 1px solid var(--primary-red);
  background: var(--primary-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.crc-search-bar__btn:hover {
  background: var(--hover-red);
  border-left-color: var(--hover-red);
  color: #fff;
}

/* 搜索页表单：手机全宽；PC 宽度 60% 居中（不影响 header 的 .crc-search-bar-wrap--header） */
.crc-search-page .crc-search-bar-wrap--page {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .crc-search-page .crc-search-bar-wrap--page {
    width: 60%;
    max-width: 60%;
  }
}

.crc-search-result-intro {
  margin: 8px 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

/* 无缩略图时占满整行文案区 */
.newslist-item--no-thumb .newslist-thumb {
  display: none;
}

.newslist-item--no-thumb .newslist-body {
  width: 100%;
}

/* 搜索无结果 / 提示 */
.crc-search-result-list .crc-search-empty-item {
  list-style: none;
  border-bottom: 0;
  padding: 48px 20px 40px;
}

.crc-search-empty {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.crc-search-empty__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' fill='none' viewBox='0 0 88 88'%3E%3Ccircle cx='38' cy='38' r='18' stroke='%23d4d4d4' stroke-width='2.5'/%3E%3Cpath stroke='%23d4d4d4' stroke-width='2.5' stroke-linecap='round' d='M52 52l22 22'/%3E%3Cpath stroke='%23c9c9c9' stroke-width='2' stroke-linecap='round' d='M28 48l20-20'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.95;
}

.crc-search-empty__icon--hint {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' fill='none' viewBox='0 0 88 88'%3E%3Ccircle cx='38' cy='38' r='18' stroke='%23d4d4d4' stroke-width='2.5'/%3E%3Cpath stroke='%2394070a' stroke-width='2' stroke-linecap='round' d='M52 52l22 22'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.crc-search-empty__text {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #555;
}

.crc-search-empty__hint {
  margin: 0;
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

.crc-search-empty--hint .crc-search-empty__text {
  font-weight: 600;
  color: #666;
}
