/* ============================================
   FAQ页面样式 - 精致高端医美风格
   FAQ 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列表标题 */
.list_tit {
    text-align: center;
    margin-bottom: 50px;
}

.list_tit p {
    font-family: "Alibaba-PuHuiTi-Bold";
    font-size: 42px;
    line-height: 1.3;
    color: #333;
    margin: 0 0 10px 0;
}

.list_tit span {
    font-family: "SourceHanSansCN-Regular";
    font-size: 18px;
    line-height: 1.6;
    color: #999;
    letter-spacing: 2px;
}

/* FAQ列表 */
.faq_list {
    width: 100%;
}

.faq_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq_list li {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(159, 121, 68, 0.08);
    border: 1px solid rgba(159, 121, 68, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq_list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(159, 121, 68, 0.18);
    border-color: rgba(159, 121, 68, 0.3);
}

.faq_list li a {
    display: block;
    padding: 35px 40px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

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

.faq_list li:hover::before {
    transform: scaleY(1);
}

.faq_list .tit {
    font-family: "SourceHanSansCN-Medium";
    font-size: 24px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq_list li:hover .tit {
    color: #9f7944;
}

.faq_list .info {
    font-family: "SourceHanSansCN-Regular";
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq_list .marks {
    font-family: "SourceHanSansCN-Regular";
    font-size: 14px;
    line-height: 1.6;
    color: #999;
    margin: 0;
}

/* 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;
}

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

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

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

/* 分页样式 */
.cl.pd-5.bg-1.bk-gray.mt-20 {
    text-align: center;
    padding: 40px 0;
}

.cl.pd-5.bg-1.bk-gray.mt-20 .pagination,
.cl.pd-5.bg-1.bk-gray.mt-20 .pagination li {
    display: inline-block;
    margin: 0 8px;
}

.cl.pd-5.bg-1.bk-gray.mt-20 .pagination li a,
.cl.pd-5.bg-1.bk-gray.mt-20 .pagination li span {
    display: inline-block;
    min-width: 44px;
    height: 44px;
    line-height: 42px;
    padding: 0 16px;
    font-family: "SourceHanSansCN-Regular";
    font-size: 15px;
    color: #666;
    background: #fff;
    border: 1px solid rgba(159, 121, 68, 0.2);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cl.pd-5.bg-1.bk-gray.mt-20 .pagination li a:hover,
.cl.pd-5.bg-1.bk-gray.mt-20 .pagination li span.current {
    background: linear-gradient(135deg, #9f7944, #d3ab62);
    color: #fff;
    border-color: #9f7944;
    box-shadow: 0 4px 12px rgba(159, 121, 68, 0.25);
}

/* 响应式设计 */
@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;
    }
    
    .faq_list li a {
        padding: 25px 20px;
    }
    
    .faq_list .tit {
        font-size: 20px;
    }
    
    .faq_list .info {
        font-size: 14px;
    }
    
    .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;
    }
}

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

.faq_list li {
    animation: fadeInUp 0.6s ease-out forwards;
}

.faq_list li:nth-child(1) { animation-delay: 0.1s; }
.faq_list li:nth-child(2) { animation-delay: 0.2s; }
.faq_list li:nth-child(3) { animation-delay: 0.3s; }
.faq_list li:nth-child(4) { animation-delay: 0.4s; }
.faq_list li:nth-child(5) { animation-delay: 0.5s; }
.faq_list li:nth-child(6) { animation-delay: 0.6s; }

.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}