/* ========================================
   扬州京城皮肤病研究所 - 科普文章页样式 (wz)
   复用主站 style.css 的 CSS 变量与基础类
   ======================================== */

/* 面包屑 */
.breadcrumb {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumb a {
    color: var(--text-light);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* 文章主体 */
.article-wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 22px;
}
.article-meta .tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
}
.article-lead {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--text-body);
    background: var(--primary-lighter);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 36px;
}
.article-body h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 40px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.5;
}
.article-body h3 {
    font-size: 1.18rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 28px 0 12px;
}
.article-body p {
    font-size: 1rem;
    line-height: 1.95;
    color: var(--text-body);
    margin-bottom: 16px;
}
.article-body strong { color: var(--text-dark); }

/* 要点列表 */
.key-points {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 26px;
    margin: 22px 0 28px;
}
.key-points li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-body);
}
.key-points li:last-child { margin-bottom: 0; }
.key-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: inset 0 0 0 2px var(--primary);
}
.key-points li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 13px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

/* 提示/就医框 */
.callout {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    border: 1px solid rgba(26,122,122,0.18);
    border-radius: var(--radius-md);
    padding: 26px 28px;
    margin: 34px 0;
}
.callout h3 {
    color: var(--primary-dark);
    margin: 0 0 12px;
    font-size: 1.12rem;
}
.callout p { margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }
.callout .consult-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: var(--primary);
    color: #fff;
    padding: 11px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.callout .consult-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-section { margin-top: 48px; }
.faq-section .section-header { text-align: left; margin-bottom: 28px; }
.faq-section .section-header .divider { margin: 14px 0 0; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 14px;
    background: #fff;
    transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.faq-q {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    gap: 10px;
}
.faq-q .badge {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.faq-a {
    margin-top: 10px;
    padding-left: 34px;
    color: var(--text-body);
    line-height: 1.9;
    font-size: 0.96rem;
}

/* 相关阅读 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.related-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    background: #fff;
    transition: var(--transition);
}
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.related-card .rc-cat {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.related-card h4 {
    font-size: 0.98rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-wrap { padding: 36px 16px 48px; }
    .article-body h2 { font-size: 1.3rem; }
    .related-grid { grid-template-columns: 1fr; }
}
