:root {
    --primary-red: #94070a;
    --hover-red: #b0080b;
    --bg-gray: #f8f9fa;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* 统一 1200 宽度容器（对齐 union） */
.container-1200 {
    max-width: 1200px;
}

/* --- 1. Top Info Bar --- */
.top-info-bar {
    background: #f4f4f4;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
    height: 35px;
    line-height: 35px;
}
.top-info-bar img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}
.top-info-container {
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 0 15px;
}

/* --- 2. Header --- */
/* Header（对齐 union） */
.site-brand {
    min-width: 0;
}

.brand-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.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;
}

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

/* 联系页留言表单（与 CRC contact 一致：主题红描边 + search-btn） */
.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;
    color: #fff;
}

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

/* --- 3. Nav --- */
.main-navbar {
    background: var(--primary-red);
}

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

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

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

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

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

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

.navbar-dark .navbar-toggler-icon {
    background-image: none;
    position: relative;
}

.navbar-dark .navbar-toggler-icon::before {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
}

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

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

/* --- 4. Sub-Banner --- */
.sub-banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.banner-wrapper {
    display: flex;
    transition: 0.6s ease;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 300px;
}

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

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
    border: 1px solid var(--primary-red);
}

/* --- 5. 内容区块布局 --- */
.content-wrapper {
    max-width: 1200px;
    margin: 30px auto;
}

.content-wrapper .row {
    margin-bottom: 40px;
}

.tab-box {
    width: 100%;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.tab-items-wrapper {
    display: flex;
}

.tab-item {
    padding: 6px 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #444;
}

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

.more-link {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    transition: 0.3s;
}

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

.list-group {
    display: none;
}

.list-group.active {
    display: block;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

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

.news-item a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item span {
    color: #888;
    font-size: 13px;
    margin-left: 15px;
}

.slider-container {
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    padding: 0;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: 0.5s;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-link {
    display: block;
    position: relative;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

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

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

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
}

#sliderWrapper .slide-caption h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* --- 6. 行业服务板块 (service) --- */
#service {
    padding: 30px 0;
}

.service-grid {
    display: flex;
    gap: 40px;
}

.service-left {
    flex: 2;
    background: var(--bg-gray);
}

.service-right {
    flex: 1;
}

.service-column h3 {
    font-size: 20px;
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.icon-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.icon-entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    transition: 0.3s;
}

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

.icon-entry-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-bottom: 8px;
}

.icon-entry-item span {
    font-size: 14px;
    font-weight: bold;
}

/* --- 7. 会员单位网格 --- */
.section-member {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 15px;
}

.member-tabs {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.member-tab-btn {
    padding: 5px 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
}

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

.member-grid {
    margin-top: 10px;
}

.member-grid-list {
    display: none;
}

.member-grid-list.active {
    display: flex;
}

/* 会员单位：3 列栅格 + 横版卡片（左图右文） */
.member-grid-list.member-grid-list--cards {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.member-grid-list.member-grid-list--cards.active {
    display: grid;
}

.member-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 24px 0;
}

.item-card--member {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    text-align: left;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
    min-height: 0;
}

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

.item-card--member .item-img {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
}

.item-card--member .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-card--member .item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.item-card--member .item-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;
}

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

.item-card {
    padding: 10px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 2px solid var(--primary-red);
}

.item-card:hover {
    border-color: #eee;
    background: #fdf2f2;
}

.item-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
}

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

.item-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* --- 8. Footer & Record Bar --- */
footer {
    background: var(--primary-red);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

.footer-left {
    flex: 1.5;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 50px;
    font-size: 15px;
    line-height: 2;
}

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

.footer-left span.label {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    width: 90px;
    display: inline-block;
    text-align: left;
}

.footer-left span.value {
    flex: 1;
    min-width: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

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

.record-bar {
    background: #333;
    color: #dcdcdc;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
}
.record-bar .police-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
  }
/* --- 9. 响应式调整 --- */
@media (max-width: 991.98px) {
    .logo-text {
        font-size: 22px;
    }

    .slider-container {
        height: auto;
    }

    .slider-container img {
        height: auto;
    }

    .footer-left {
        border-right: none;
        padding-right: 0;
        margin-bottom: 20px;
    }

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

@media (max-width: 767.98px) {
    .member-grid-list.member-grid-list--cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .top-info-bar,
    .search-form,
    .jp-sidebar {
        display: none;
    }

    .top-info-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 5px 15px;
    }

    .tab-item {
        font-size: 16px;
        padding: 4px 12px;
    }

    .header-right {
        display: none;
    }

    footer,
    .footer-left,
    .footer-right {
        font-size: 13px;
    }

    .service-grid {
        flex-direction: column;
    }
}

/* ---------------------------
   单页（page.html）：左右布局 + 侧边栏
---------------------------- */
.jp-page-layout {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.jp-sidebar {
    width: 260px;
    flex: 0 0 auto;
    border: 1px solid #eee;
    background: #fff;
}

.jp-sidebar-title {
    background: var(--primary-red);
    color: #fff;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.jp-sidebar-menu {
    display: flex;
    flex-direction: column;
}

.jp-sidebar-menu a {
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #f9f9f9;
    color: #333;
    transition: 0.2s ease;
}

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

.jp-page-content {
    flex: 1;
    min-width: 0;
}

.jp-page-card {
    border: 1px solid #eee;
    background: #fff;
    padding: 22px 26px;
}

.jp-page-head {
    border-bottom: 1px solid #eee;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.jp-page-title {
    font-size: 24px;
    color: #222;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.4;
}

.jp-page-meta {
    font-size: 14px;
    color: #888;
}

.jp-page-body {
    font-size: 16px;
    line-height: 2;
    color: #444;
    text-align: justify;
}

.jp-page-body p {
    margin: 0 0 18px;
    text-indent: 2em;
}

.jp-page-body h2 {
    font-size: 16px;
    color: #222;
    font-weight: 800;
    margin: 22px 0 10px;
}

.jp-page-body ul {
    margin: 0 0 18px 22px;
}

.jp-page-body li {
    margin: 6px 0;
}

@media (max-width: 991.98px) {
    .jp-page-layout {
        flex-direction: column;
    }

    .jp-sidebar {
        width: 100%;
    }

    .jp-page-card {
        padding: 22px 18px;
    }
}

/* ---------------------------
   列表页 / 图片列表 / 详情页（jianping 专用）
---------------------------- */
.page-wrap {
    padding: 8px 0 40px;
    background: #fff;
}

.jp-breadcrumb {
    font-size: 14px;
    color: #666;
    margin: 12px 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.jp-breadcrumb .icon-location {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
.jp-breadcrumb a {
    color: #666;
}

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

.jp-breadcrumb .sep {
    color: #aaa;
}

.jp-breadcrumb .current {
    color: #333;
    font-weight: 700;
}

.page-card {
    border: 1px solid #eee;
    background: #fff;
    padding: 22px 26px;
}

.page-head {
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.page-title {
    font-size: 22px;
    color: var(--primary-red);
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.page-subtitle {
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}

/* 文字列表（参考 whlyj 结构：日期 + 标题） */
.jp-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jp-list-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed #ddd;
}

.jp-list-item .jp-list-main {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.jp-list-item .jp-list-thumb {
    flex: 0 0 auto;
    width: auto;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}

.jp-list-item .jp-list-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.jp-list-item .jp-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}

.jp-list-item .date {
    flex: 0 0 auto;
    color: #888;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.jp-list-item .title {
    flex: 0 0 auto;
    min-width: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-list-item .jp-list-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
    justify-content: flex-start; /* 标题/描述始终从上往下排 */
    align-items: flex-start; /* 固定垂直起点，避免缩略图高变化导致视觉漂移 */
}

.jp-list-item .jp-list-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-list-item:hover .title {
    color: var(--primary-red);
    padding-left: 5px;
}

/* 分页（简洁、贴近政府站常见样式） */
.jp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 18px;
}

.jp-pagination a,
.jp-pagination span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    background: #fff;
    user-select: none;
}

.jp-pagination a:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.jp-pagination .active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    font-weight: 800;
}

.jp-pagination .disabled {
    opacity: 0.55;
    pointer-events: none;
}

.jp-pagination .ellipsis {
    border: 0;
    padding: 6px 2px;
    color: #999;
    background: transparent;
}

/* 图片列表（卡片网格，符合 jianping 风格） */
.jp-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.jp-image-card {
    display: block;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.2s ease;
    height: 100%;
}

.jp-image-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.jp-image-card .thumb {
    aspect-ratio: 4 / 3;
    background: #f2f2f2;
    overflow: hidden;
}

.jp-image-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s ease;
    display: block;
}

.jp-image-card:hover .thumb img {
    transform: scale(1.05);
}

.jp-image-card .body {
    padding: 10px 12px 12px;
}

.jp-image-card .title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
}

.jp-image-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
    gap: 10px;
}

.jp-image-card .tag {
    color: var(--primary-red);
    border: 1px solid rgba(148, 7, 10, 0.25);
    padding: 1px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

/* 会员单位列表等：横版卡片（左 thumb、右 body；body 内标题+描述上下排） */
.jp-image-grid.jp-image-grid--horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.jp-image-card.jp-image-card--horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}

.jp-image-card.jp-image-card--horizontal:hover {
    color: inherit;
}

.jp-image-card.jp-image-card--horizontal .thumb {
    flex: 0 0 140px;
    width: 140px;
    max-width: 38%;
    aspect-ratio: auto;
    min-height: 108px;
    align-self: stretch;
}

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

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

.jp-image-card.jp-image-card--horizontal .title {
    height: auto;
    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;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

/* 详情页 */
.jp-article {
    border: 1px solid #eee;
    background: #fff;
    padding: 34px 40px;
}

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

.jp-article-title {
    font-size: 26px;
    color: #222;
    margin: 0 0 14px;
    line-height: 1.45;
    font-weight: 800;
}

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

.jp-article-body {
    font-size: 17px;
    line-height: 2;
    color: #444;
    text-align: justify;
}

.jp-article-body p {
    margin: 0 0 18px;
    text-indent: 2em;
}

.jp-article-body h2 {
    font-size: 18px;
    color: #222;
    font-weight: 800;
    margin: 22px 0 10px;
}

.jp-article-body ul {
    margin: 0 0 18px 22px;
}

.jp-article-body li {
    margin: 6px 0;
}

.jp-article-image {
    margin: 20px 0;
    border: 1px solid #eee;
    background: #fafafa;
    padding: 10px;
}

.jp-article-image img {
    width: 100%;
    display: block;
    border-radius: 2px;
}

.jp-article-image .caption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

.jp-article-footer {
    border-top: 1px dashed #eee;
    margin-top: 26px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.jp-article-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.jp-article-nav a {
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 720px;
}

.jp-article-nav a:hover {
    color: var(--primary-red);
}

.jp-article-actions .btn {
    border-color: #ddd;
    color: #666;
}

.jp-article-actions .btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

@media (max-width: 991.98px) {
    .page-card {
        padding: 18px 16px;
    }

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

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

    .jp-article {
        padding: 22px 18px;
    }

    .jp-article-title {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .jp-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .jp-list-item .jp-list-main {
        width: 100%;
    }

    .jp-list-item .jp-list-thumb {
        width: 72px;
        height: 120px;
    }

    .jp-list-item .title {
        white-space: nowrap;
    }

    .jp-image-grid {
        grid-template-columns: 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%;
    }

    .jp-article-nav a {
        white-space: normal;
        max-width: none;
    }
}

/* ---------------------------
   通用内页布局（与 CRC：侧栏 + 列表 / 教师栅格）
   AEC 面包屑为 .jp-breadcrumb，教师页外包 .aec-inner-layout 与 1200 对齐
---------------------------- */
.aec-inner-layout .jp-breadcrumb {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 0;
    font-size: 16px;
    color: #666;
    box-sizing: border-box;
}

.aec-inner-layout .jp-breadcrumb .icon-location {
    color: var(--primary-red);
    margin-right: 8px;
    margin-left: 10px;
}

.aec-inner-layout .jp-breadcrumb a:hover {
    color: var(--primary-red);
}

/* 与 CRC 详情区上边距一致（面包屑下方） */
.aec-inner-layout > .article-container {
    margin-top: 40px;
}

.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;
}

.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);
}

/* 图片列表页栅格 */
.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;
}

.img-grid .img-wrap {
    aspect-ratio: 1 / 1;
}

.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);
}

/* 传承人详情正文（与 CRC teacher/detail 一致） */
.member-brand-detail .member-brand-params > .member-detail-rich {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.member-brand-detail .member-brand-params > .member-detail-rich img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

@media (max-width: 991.98px) {
    .aec-inner-layout .jp-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: 20px;
    }

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

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

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

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

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

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

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

/* ---------------------------
   会员单位详情页（members/detail）
---------------------------- */
.article-container {
    width: 1200px;
    margin: 0 auto 40px auto;
    border: 1px solid #eee;
    padding: 50px;
    background: #fff;
}

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

.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;
}

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

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

.member-brand-detail .member-brand-logo img {
    display: block;
    width: 100%;
    max-width: 360px;
    min-width: 240px;
    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;
}

/* 内页移动端适配 */
@media (max-width: 991.98px) {
    .article-container {
        width: auto;
        margin: 20px 15px 30px;
        padding: 20px;
    }

    .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(360px, 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;
    }

    .contact-feedback-desc {
        font-size: 14px;
    }
}

/* ========== 站内搜索条（与搜索页 crc-search-bar 一致；变量沿用 --primary-red） ========== */
.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;
}

/* 搜索页：表单 60% 居中（PC） */
.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%;
    }
}

/* 搜索页内容区：与 .page-card / .jp-page-card 一致的白底描边卡片 */
.main-content > .list-container.crc-search-page {
    background: #fff;
    border: 1px solid #eee;
    padding: 22px 26px;
    box-sizing: border-box;
}

.crc-search-page .crc-search-form {
    margin-bottom: 22px;
}

/* 「搜索结果如下」：与鉴评列表区强调方式一致（左侧主题色条 + 浅底） */
.crc-search-result-intro {
    margin: 0 0 16px;
    padding: 10px 14px 10px 16px;
    font-size: 15px;
    font-weight: 800;
    color: #444;
    line-height: 1.5;
    background: #fafafa;
    border-left: 4px solid var(--primary-red);
    border-radius: 0 4px 4px 0;
}

/* 搜索列表：对齐 .jp-list 图文行（虚线分隔、缩略图比例、标题 hover） */
.crc-search-page .crc-search-result-list.data-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.crc-search-page .crc-search-result-list > .newslist-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px dashed #ddd;
    transition: background 0.2s ease;
}

.crc-search-page .crc-search-result-list > .newslist-item:first-of-type {
    padding-top: 4px;
}

.crc-search-page .crc-search-result-list > .newslist-item:hover {
    background: rgba(148, 7, 10, 0.03);
}

.crc-search-page .crc-search-result-list .newslist-thumb {
    flex: 0 0 auto;
    width: 200px;
    max-width: 38%;
    /* height: 120px; */
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}

.crc-search-page .crc-search-result-list .newslist-thumb a,
.crc-search-page .crc-search-result-list .newslist-thumb span.d-inline-block {
    display: block;
    width: 100%;
    height: 100%;
}

.crc-search-page .crc-search-result-list .newslist-thumb img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    vertical-align: top;
    transition: transform 0.35s ease;
}

.crc-search-page .crc-search-result-list .newslist-item:hover .newslist-thumb img {
    transform: scale(1.03);
}

.crc-search-page .crc-search-result-list .newslist-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
}

.crc-search-page .crc-search-result-list .newslist-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.45;
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.crc-search-page .crc-search-result-list a.newslist-title:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.crc-search-page .crc-search-result-list .newslist-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.crc-search-page .crc-search-result-list .newslist-meta {
    margin: 0;
    font-size: 14px;
    color: #888;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.newslist-item--no-thumb .newslist-thumb {
    display: none;
}

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

/* 搜索页分页与正文间距（沿用全站 .pagination，稍加收紧） */
.crc-search-page .pagination {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

@media (max-width: 991.98px) {
    .main-content > .list-container.crc-search-page {
        padding: 18px 16px;
    }
}

@media (max-width: 575.98px) {
    .crc-search-page .crc-search-result-list > .newslist-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .crc-search-page .crc-search-result-list .newslist-thumb {
        width: 100%;
        max-width: none;
        height: 180px;
    }

    .crc-search-page .crc-search-result-list .newslist-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.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;
}
