/* ============================================
   FAQ详情页样式 - 精致高端医美风格
   FAQ Article Page Styles - Refined Luxury Aesthetic
   ============================================ */

/* FAQ详情页标题区域 */
.faq_banner {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4df 50%, #f0ebe4 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 130px;
}

.faq_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(159, 121, 68, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(211, 171, 98, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.faq_banner a {
    position: relative;
    z-index: 2;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.faq_banner .entit {
    font-family: "Alibaba-PuHuiTi-Bold";
    font-size: 72px;
    line-height: 1.2;
    letter-spacing: 8px;
    color: #9f7944;
    margin: 0 0 15px 0;
}

.faq_banner .tit {
    font-family: "Alibaba-PuHuiTi-Bold";
    font-size: 36px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.faq_banner .line {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d3ab62, transparent);
    margin: 20px auto 0;
}

/* FAQ详情内容区域 */
.faq_con {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    background: #fff;
}

/* 面包屑导航 */
.positon {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(159, 121, 68, 0.1);
}

.positon p {
    font-family: "SourceHanSansCN-Regular";
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.positon a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.positon a:hover {
    color: #9f7944;
}

/* FAQ详情容器 */
.arc_con {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}

.arctit {
    font-family: "Alibaba-PuHuiTi-Bold";
    font-size: 42px;
    line-height: 1.3;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.arctit::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9f7944, #d3ab62);
    margin: 20px auto 0;
}

.mark {
    font-family: "SourceHanSansCN-Regular";
    font-size: 15px;
    line-height: 1.6;
    color: #999;
    text-align: center;
    margin: 0 0 50px 0;
}

.content {
    background: #faf8f5;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    border: 1px solid rgba(159, 121, 68, 0.12);
    box-shadow: 0 4px 20px rgba(159, 121, 68, 0.06);
}

/* Markdown渲染样式 */
#faq-rendered {
    font-family: "SourceHanSansCN-Regular";
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

#faq-rendered h1,
#faq-rendered h2,
#faq-rendered h3,
#faq-rendered h4,
#faq-rendered h5,
#faq-rendered h6 {
    font-family: "SourceHanSansCN-Medium";
    color: #333;
    margin: 30px 0 20px 0;
    font-weight: 500;
}

#faq-rendered h1 {
    font-size: 28px;
    border-bottom: 2px solid rgba(159, 121, 68, 0.2);
    padding-bottom: 10px;
}

#faq-rendered h2 {
    font-size: 24px;
    color: #9f7944;
}

#faq-rendered h3 {
    font-size: 20px;
}

#faq-rendered p {
    margin: 0 0 16px 0;
}

#faq-rendered ul,
#faq-rendered ol {
    margin: 16px 0;
    padding-left: 24px;
}

#faq-rendered li {
    margin: 8px 0;
}

#faq-rendered table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(159, 121, 68, 0.1);
}

#faq-rendered th,
#faq-rendered td {
    padding: 12px 16px;
    border: 1px solid rgba(159, 121, 68, 0.1);
    text-align: left;
}

#faq-rendered th {
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4df 100%);
    font-family: "SourceHanSansCN-Medium";
    color: #9f7944;
    font-weight: 500;
}

#faq-rendered blockquote {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f3f0 100%);
    border-left: 4px solid #d3ab62;
    padding: 20px 30px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

#faq-rendered code {
    background: rgba(159, 121, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 14px;
}

#faq-rendered pre {
    background: #2d2d2d;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

#faq-rendered pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* 上一篇下一篇导航 */
.last_art,
.next_art {
    font-family: "SourceHanSansCN-Regular";
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f3f0 100%);
    border-radius: 12px;
    border: 1px solid rgba(159, 121, 68, 0.15);
    box-shadow: 0 4px 20px rgba(159, 121, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.last_art::before,
.next_art::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #9f7944, #d3ab62);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.last_art:hover,
.next_art:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(159, 121, 68, 0.15);
    border-color: rgba(159, 121, 68, 0.25);
}

.last_art:hover::before,
.next_art:hover::before {
    width: 6px;
}

.last_art span,
.next_art span {
    color: #999;
    margin-right: 10px;
    font-weight: 500;
}

.last_art a,
.next_art a {
    color: #9f7944;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.last_art a:hover,
.next_art a:hover {
    color: #d3ab62;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .faq_con {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .faq_banner .entit {
        font-size: 60px;
        letter-spacing: 6px;
    }
    
    .faq_banner .tit {
        font-size: 32px;
    }
    
    .arctit {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .faq_banner {
        height: 240px;
        margin-top: 100px;
    }
    
    .faq_banner .entit {
        font-size: 42px;
        letter-spacing: 4px;
    }
    
    .faq_banner .tit {
        font-size: 24px;
    }
    
    .faq_con {
        padding: 40px 15px;
    }
    
    .arc_con {
        padding: 30px 0;
    }
    
    .arctit {
        font-size: 28px;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    #faq-rendered {
        font-size: 14px;
        line-height: 1.6;
    }
    
    #faq-rendered h1 {
        font-size: 22px;
    }
    
    #faq-rendered h2 {
        font-size: 20px;
    }
    
    #faq-rendered h3 {
        font-size: 18px;
    }
    
    .last_art,
    .next_art {
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arc_con {
    animation: fadeInUp 0.8s ease-out forwards;
}

.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}