/* ===== 珍苓解郁胶囊页面（参照金顶药业钻山风合剂）===== */

/* ===== 珍苓页面Banner轮播 ===== */
.erpi-banner-swiper {
    width: 100%;
    height: 500px;
}
.erpi-banner-img {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.erpi-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.erpi-banner-title {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.erpi-banner-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.erpi-banner-swiper .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border: 2px solid rgba(0,0,0,0.3) !important;
    box-shadow: 0 0 4px rgba(0,0,0,0.2) !important;
    opacity: 1 !important;
    display: inline-block !important;
    margin: 0 4px !important;
}
.erpi-banner-swiper .swiper-pagination-bullet-active {
    background: #fff !important;
    border-color: rgba(0,0,0,0.5) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.3) !important;
}
.erpi-banner-swiper .swiper-button-prev,
.erpi-banner-swiper .swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    background: rgba(0,0,0,0.35) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.3s !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.3) !important;
}
.erpi-banner-swiper .swiper-button-prev:hover,
.erpi-banner-swiper .swiper-button-next:hover {
    background: rgba(0,0,0,0.5) !important;
    border-color: #fff !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.4) !important;
}
.erpi-banner-swiper .swiper-button-prev::after,
.erpi-banner-swiper .swiper-button-next::after {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* 子导航 */
.erpi-tabs {
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
}
.erpi-tabs-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
}
.erpi-tab {
    display: block;
    padding: 14px 32px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}
.erpi-tab:hover {
    color: #2e7d32;
}
.erpi-tab.active {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
    font-weight: 600;
}

/* 珍苓内容区域 */
.erpi-body {
    width: 100%;
}
.erpi-body-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 板块一：历史追溯（左文右轮播）===== */
.erpi-history-section {
    width: 100%;
    padding: 60px 0;
}
.erpi-history-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.erpi-history-left {
    flex: 1;
}
.erpi-history-text {
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin-top: 30px;
}
.erpi-history-text p {
    margin-bottom: 15px;
}
.erpi-history-right {
    width: 480px;
    flex-shrink: 0;
}
.erpi-history-right img {
    width: 100%;
    border-radius: 8px;
}
.erpi-swiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.erpi-swiper .swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.erpi-swiper .swiper-pagination-bullet-active {
    background: #2e7d32;
}
.erpi-slide-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
}

/* ===== 板块二：研发历程（左图右文）===== */
.erpi-research {
    width: 100%;
    padding: 60px 0;
    background: #f9f9f9;
}
.erpi-research-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: center;
}
.erpi-research-left {
    width: 400px;
    flex-shrink: 0;
}
.erpi-research-left img {
    width: 100%;
    border-radius: 8px;
}
.erpi-research-right {
    flex: 1;
}
.erpi-research-title {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}
.erpi-research-text {
    font-size: 14px;
    color: #555;
    line-height: 2;
}
.erpi-research-text p {
    margin-bottom: 10px;
}

/* ===== 板块三：发展历程（2x2网格）===== */
.erpi-milestone {
    width: 100%;
    padding: 60px 0;
}
.erpi-milestone-inner {
    max-width: 1100px;
    margin: 0 58px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.erpi-milestone-item {
    min-height: 200px;
    position: relative;
    width: 646px;
    left: -79px;
}
}
.erpi-milestone-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.erpi-milestone-text {
    padding: 30px;
    font-size: 14px;
    color: #555;
    line-height: 2;
    background: #f5f5f5;
    border-radius: 8px;
    height: 100%;
}
.erpi-milestone-text p {
    margin-bottom: 10px;
}

/* ===== 产品介绍页面 ===== */
.erpi-product-section {
    width: 100%;
    padding: 60px 0;
}
.erpi-product-main {
    max-width: 1200px;
    margin: 0 -20px auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* 历史追溯页面标题与产品介绍页标题一致 */
.erpi-history-section .ty_titlecn {
    font-size: 36px;
    font-weight: 700;
}

.erpi-product-img {
    width: 460px;
    height: 345px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #e8f5e9, #c8e6c9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.erpi-product-img img {
    height: 345px;
    max-width: 100%;
    object-fit: contain;
}
.erpi-product-info {
    flex: 1;
}
.erpi-product-name {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.erpi-product-en {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.erpi-product-desc {
    font-size: 14px;
    color: #555;
    line-height: 2;
}
.erpi-product-desc p {
    margin-bottom: 10px;
}
.erpi-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.erpi-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #f0f8f0;
    color: #2e7d32;
    border-radius: 20px;
    font-size: 13px;
}

/* ===== 媒体资源页面 ===== */
.erpi-media-section {
    width: 100%;
    padding: 60px 0;
}
.erpi-media-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.erpi-media-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.erpi-media-card:hover {
    transform: translateY(-5px);
}
.erpi-media-img {
    width: 100%;
    height: 200px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.erpi-media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.erpi-media-body {
    padding: 20px;
}
.erpi-media-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}
.erpi-media-date {
    font-size: 12px;
    color: #888;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .erpi-content { padding: 0 20px; }
}
@media (max-width: 1024px) {
    .erpi-tabs { flex-wrap: wrap; justify-content: center; }
    .erpi-content { flex-direction: column; align-items: center; }
    .erpi-product-wrap { flex-direction: column; align-items: center; }
    .erpi-product-left { width: 100%; max-width: 400px; }
    .erpi-product-info { text-align: center; }
    .erpi-features { grid-template-columns: repeat(2, 1fr); }
    .erpi-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
@media (max-width: 768px) {
    .erpi-tabs a { padding: 10px 16px; font-size: 14px; }
    .erpi-product-name { font-size: 24px; }
    .erpi-features { grid-template-columns: 1fr; }
    .erpi-grid { grid-template-columns: 1fr; }
}

/* ===== 儿脾醒·历史追溯页（与珍苓同款原型样式）板块一历史追溯 + 板块二研发历程时间线 ===== */
/* 覆盖旧 flex：新结构 = section-header + history-layout 纵向排列 */
.erpi-history-inner { display: block; gap: 0; }
.erpi-history-section { background: transparent; }
.zl-section-header {
    width: 100%;
    margin: 0 auto 0;
    position: relative;
    z-index: 1;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0 0 30px;
    overflow: hidden;
    text-align: center;
}
.zl-section-header .bg-en {
    font-size: 64px;
    color: #eeeae4;
    line-height: 76px;
    letter-spacing: -0.2px;
    font-family: "Noto Sans SC", sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.zl-section-header .title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: -34px 0 0;
    position: relative;
    z-index: 1;
}
.zl-section-header .cn {
    color: #c70019;
    font-size: 34px;
    font-weight: 700;
    font-family: 'Noto Serif SC', serif;
}
.zl-section-header .cn::after { display: none; }
.zl-section-header .en {
    font-size: 16px;
    margin-top: 8px;
    margin-left: 12px;
    color: #b9b4ac;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
}
.zl-section-header .sub {
    font-size: 14px;
    color: #333;
    margin: 16px auto 0;
    font-weight: normal;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

/* 时间线里的 section-header 兼容（与珍苓保持一致） */
.timeline-inner .zl-section-header,
.zhenling-timeline-section .zl-section-header {
    margin-bottom: 10px;
}
.history-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.history-text-col .history-intro-title {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: #e8f5e9; border-radius: 20px;
    font-size: 13px; color: #2e7d32; font-family: 'Noto Sans SC', sans-serif; font-weight: 500;
    margin-bottom: 20px;
}
.history-text {
    font-size: 15px; color: #4a5c4b; line-height: 2;
}
.history-text p { margin-bottom: 14px; }
.history-text p:last-child { margin-bottom: 0; }
.history-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px;
}
.fact-card {
    padding: 16px 18px; background: #fff; border-radius: 10px;
    border: 1px solid #e8eee8; transition: all .3s;
}
.fact-card:hover { border-color: #2e7d32; box-shadow: 0 4px 20px rgba(46,125,50,.08); transform: translateY(-2px); }
.fact-card .fact-icon { font-size: 20px; margin-bottom: 6px; line-height: 1; }
.fact-card .fact-title { font-size: 13px; font-weight: 600; color: #2c3e2d; font-family: 'Noto Sans SC', sans-serif; margin-bottom: 4px; }
.fact-card .fact-value { font-size: 13px; color: #7a8a7b; line-height: 1.5; }
.history-image-col { position: relative; }
.image-frame {
    border-radius: 16px; overflow: hidden; box-shadow: 0 15px 50px rgba(46,125,50,.15); position: relative;
}
.image-frame img { width: 100%; height: 420px; object-fit: cover; }
.history-image-col .image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 3;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    text-align: center;
}
.history-image-col .image-badge .num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Noto Sans SC', sans-serif;
}
.history-image-col .image-badge .label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}
.image-placeholder {
    height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f2f5f2;
}
.zhenling-timeline-section { padding: 20px 0 40px; background: transparent; }
.timeline-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 3px; transform: translateX(-50%);
    background: linear-gradient(180deg, #2e7d32 0%, #c9a227 100%); border-radius: 2px;
}
.timeline-item {
    display: flex; justify-content: flex-end; padding: 20px 0;
    width: 50%; position: relative;
}
.timeline-item:nth-child(even) { justify-content: flex-start; margin-left: 50%; }
.timeline-item::before {
    content: ''; position: absolute; left: -8px; top: 32px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 4px solid #2e7d32; z-index: 2; box-shadow: 0 0 0 4px rgba(46,125,50,.1);
}
.timeline-item:nth-child(even)::before { left: auto; right: -8px; border-color: #c9a227; box-shadow: 0 0 0 4px rgba(201,162,39,.1); }
.timeline-card {
  // opacity: 0.55;
  //  background: url(/res/runsheng/images/detail_productinfo_bg2.png) no-repeat right bottom; border-radius: 16px; padding: 28px 32px;
     border-radius: 16px; padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(46,125,50,.08); border: 1px solid #f0f0f0; transition: all .35s;
    max-width: 460px; width: 100%; position: relative;
}
/* ★ 新增：独立背景层 + 模糊 */
.timeline-card::before {
    content: '';
    position: absolute;
    top: -6px; left: -6px;
    right: -6px; bottom: -6px;
    background: url(/res/runsheng/images/detail_productinfo_bg2.png) no-repeat right bottom;
    background-size: cover;
    filter: blur(10px);   /* ★ 实现背景模糊 */
    opacity: 0.55;        /* 背景层半透明，避免遮挡文字 */
    z-index: 0;
    border-radius: 20px;
}

/* ★ 新增：所有内容浮在模糊层之上 */
.timeline-card > * {
    position: relative;
    z-index: 1;
}
.timeline-card:hover { box-shadow: 0 15px 50px rgba(46,125,50,.15); transform: translateY(-4px); border-color: #e8f5e9; }
.timeline-item:nth-child(odd) .timeline-card { margin-right: 40px; text-align: right; }
.timeline-item:nth-child(even) .timeline-card { margin-left: 40px; }
.timeline-year {
    display: inline-block; font-size: 14px; font-weight: 700; color: #2e7d32;
    font-family: 'Noto Sans SC', sans-serif; padding: 4px 14px; background: #e8f5e9; border-radius: 20px; margin-bottom: 12px;
}
.timeline-item:nth-child(even) .timeline-year { color: #c9a227; background: rgba(201,162,39,.12); }
.timeline-title { font-size: 18px; font-weight: 700; color: #2c3e2d; margin-bottom: 10px; font-family: 'Noto Sans SC', sans-serif; }
.timeline-desc { font-size: 14px; color: #4a5c4b; line-height: 1.9; }
@media (max-width: 900px) {
    .history-layout { grid-template-columns: 1fr; gap: 30px; }
    .image-frame img, .image-placeholder { height: 300px; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; }
    .timeline-item:nth-child(even) { margin-left: 0; }
    .timeline-item::before { left: 12px; }
    .timeline-item:nth-child(even)::before { right: auto; left: 12px; }
    .timeline-item:nth-child(odd) .timeline-card { margin-right: 0; text-align: left; }
    .timeline-item:nth-child(even) .timeline-card { margin-left: 0; }
    .zl-section-header .cn { font-size: 24px; }
    .history-facts { grid-template-columns: 1fr; }
}

