/* ============================================
   移动端FAQ页面样式 - 精致高端医美风格
   Mobile FAQ Page Styles - Refined Luxury Aesthetic
   ============================================ */

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

.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: 48px;
    line-height: 1.2;
    letter-spacing: 4px;
    color: #9f7944;
    margin: 0 0 10px 0;
}

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

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

/* FAQ内容区域 */
.faq_con {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 15px;
    background: #fff;
    box-sizing: border-box;
}

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

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

.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: 30px;
}

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

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

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

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

.faq_list li {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(159, 121, 68, 0.08);
    border: 1px solid rgba(159, 121, 68, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

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

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

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

.faq_list .tit {
    font-family: "SourceHanSansCN-Medium";
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 12px 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: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* FAQ详情页 */
.arc_con {
    width: 100%;
    padding: 30px 0;
}

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

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

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

.content {
    background: #faf8f5;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(159, 121, 68, 0.12);
    box-shadow: 0 2px 12px rgba(159, 121, 68, 0.06);
}

/* Markdown渲染样式 */
#faq-rendered {
    font-family: "SourceHanSansCN-Regular";
    font-size: 14px;
    line-height: 1.6;
    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: 20px 0 15px 0;
    font-weight: 500;
}

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

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

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

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

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

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

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

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

#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: 3px solid #d3ab62;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

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

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

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

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

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

.last_art:hover,
.next_art:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(159, 121, 68, 0.12);
    border-color: rgba(159, 121, 68, 0.25);
}

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

.last_art span,
.next_art span {
    color: #999;
    margin-right: 8px;
    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;
}

/* 分页样式 */
.cl.pd-5.bg-1.bk-gray.mt-20 {
    text-align: center;
    padding: 30px 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 4px;
}

.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: 36px;
    height: 36px;
    line-height: 34px;
    padding: 0 12px;
    font-family: "SourceHanSansCN-Regular";
    font-size: 13px;
    color: #666;
    background: #fff;
    border: 1px solid rgba(159, 121, 68, 0.2);
    border-radius: 3px;
    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 2px 8px rgba(159, 121, 68, 0.25);
}

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

.faq_list li {
    animation: fadeInUp 0.5s 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; }

.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}