/* 详情页样式 */
.detail-page {
    display: none;
    min-height: 100vh;
    padding-bottom: 110px;
}

.detail-page.active {
    display: block;
}

.detail-header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.back-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-header h2 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px 120px 12px;
}

.detail-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin: 24px 0;
    line-height: 1.4;
}

/* 一级标题样式 */
.big-module {
    font-size: 22px !important;
    font-weight: bold;
    color: #000000;
    margin: 48px 0 32px;
    text-align: center;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.big-module-text {
    display: inline-block;
}

.big-module-line {
    height: 6px;
    background: #97D3B6;
    margin-top: 6px;
}

/* 媒体原文标题特殊样式 */
.media-title {
    font-size: 22px !important;
    color: #1E4733;
    text-align: center;
    margin: 24px 0 8px;
    line-height: 1.5;
}

/* 二级标题样式 */
.small-title {
    font-size: 18px !important;
    font-weight: bold;
    color: #1E4733;
    margin: 20px 0 12px;
    line-height: 1.5;
}

/* 重置计数器 */
.content-section {
    counter-reset: subtitle;
}

/* 正文样式 */
.text-content {
    font-size: 18px !important;
    line-height: 2;
    color: #333333;
    margin: 12px 0;
}

/* 重点模块样式 */
.highlight-box {
    background: rgba(151, 211, 182, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
}

.highlight-box .label {
    font-size: 18px !important;
    color: #1E4733;
    font-weight: 600;
    margin-bottom: 12px;
}

.highlight-box .content {
    font-size: 18px !important;
    line-height: 2;
    color: #1E4733;
}

/* 涉及领域模块 */
.domain-section {
    margin: 20px 0;
}

.domain-item {
    display: block;
    margin-bottom: 8px;
}

.domain-primary {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 16px !important;
    color: white;
    font-weight: 500;
    display: inline-block;
    background: #97D3B6;
    margin-right: 8px;
}

.domain-secondary {
    display: inline;
}

.domain-secondary-tag {
    font-size: 16px !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    background: rgba(151, 211, 182, 0.2);
    color: #1E4733;
}

.source-info {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin: 4px 0 16px;
}

/* 底部按钮 */
.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px; /* 拓宽1.5倍：50 * 1.5 = 75 */
    background: var(--bg-white);
    padding: 12px 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    z-index: 80;
}

.action-btn {
    flex: 1;
    padding: 0;
    height: 51px; /* 拓宽1.5倍：34 * 1.5 = 51 */
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:active {
    transform: scale(0.98);
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 20px;
    }
    
    .big-module {
        font-size: 20px;
    }
}


/* 金句和对策引用样式 */
.quote-box {
    margin: 20px 0;
    font-size: 22px !important;
    line-height: 1.8;
    color: #1E4733;
    position: relative;
}

.quote-box .quote-start {
    display: block;
    font-size: 48px;
    line-height: 1;
    color: #97D3B6;
    margin-bottom: 8px;
}

.quote-box .quote-content {
    font-size: 22px !important;
    line-height: 1.8;
    color: #1E4733;
    padding: 0 20px;
}

.quote-box .quote-end {
    display: block;
    font-size: 48px;
    line-height: 1;
    color: #97D3B6;
    text-align: right;
    margin-top: 8px;
}
