/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
 .wpforms-submit {
	font-size: 16px;
	text-transform: uppercase;
}


/* =========================================
   FSAC UNIVERSAL THEME (适用于所有专题页)
   ========================================= */
:root {
  /* 品牌色 */
  --fsac-purple: #52316D;       /* 主品牌色 */
  --fsac-purple-light: #7A5399; /* 悬停高亮色 */
  --fsac-bg-light: #F9F7FB;     /* 浅紫色背景块 */
  --fsac-white: #FFFFFF;
  
  /* 文字颜色 */
  --fsac-text-dark: #333333;
  --fsac-text-gray: #555555;
  
  /* 布局参数 */
  --fsac-container: 1100px;     /* 最大宽度 */
  --fsac-radius: 6px;           /* 圆角大小 */
  --fsac-shadow: 0 4px 20px rgba(82, 49, 109, 0.08); /* 卡片阴影 */
}

/* --- 基础重置 & 字体 --- */
.fsac-wrapper {
  
  color: var(--fsac-text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--fsac-white);
  box-sizing: border-box;
}
.fsac-wrapper *, .fsac-wrapper *::before, .fsac-wrapper *::after {
  box-sizing: inherit;
}

/* --- 标题样式 --- */
.fsac-wrapper h2 {
  font-size: 28px;
  color: var(--fsac-purple);
  text-align: center;
  margin-top: 100px; 
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}
.fsac-wrapper h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--fsac-purple);
  margin: 15px auto 0;
}
.fsac-wrapper h3 {
  font-size: 20px;
  color: var(--fsac-purple);
  margin-bottom: 35px;
  font-weight: 600;
	margin-top: 35px;
}
.fsac-wrapper p {
  color: var(--fsac-text-gray);
  margin-bottom: 25px;
  font-size: 16px;
}
.fsac-wrapper h2:first-of-type {
        margin-top: 60px;
    }
/* --- 容器 & 常用背景 --- */
.fsac-container {
  max-width: var(--fsac-container);
  margin: 0 auto;
  padding: 60px 20px;
}
.fsac-bg-gray {
  background-color: var(--fsac-bg-light);
}

/* --- 按钮组件 --- */
.fsac-btn {
  display: inline-block;
  background-color: var(--fsac-purple);
  color: white !important;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: var(--fsac-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  margin: 5px;
}
.fsac-btn:hover {
  background-color: var(--fsac-purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(82, 49, 109, 0.2);
}
.fsac-btn-outline {
  background-color: transparent;
  border: 2px solid var(--fsac-purple);
  color: var(--fsac-purple) !important;
}
.fsac-btn-outline:hover {
  background-color: var(--fsac-purple);
  color: white !important;
}
.fsac-btn-white {
  background: white;
  color: var(--fsac-purple) !important;
  border: none;
  font-size: 14px;
  padding: 8px 15px;
}
.fsac-btn-white:hover { background: #f0f0f0; }

/* --- Hero 区域 (顶部) --- */
.fsac-hero {
  background: linear-gradient(135deg, #fdfbfd 0%, #f4eff8 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
}
.fsac-quote-box {
  background: white;
  padding: 30px 40px;
  border-left: 5px solid var(--fsac-purple);
  box-shadow: var(--fsac-shadow);
  margin: 0 auto 30px;
  max-width: 800px;
  text-align: left;
}
.fsac-hero-tags {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.fsac-tag {
  background: rgba(82, 49, 109, 0.08);
  color: var(--fsac-purple);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
}

/* --- 网格系统 (Card Grid) --- */
/* 2列布局 */
.fsac-grid-2, .fsac-compare-grid, .fsac-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}
/* 3列布局 */
.fsac-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* --- 通用卡片样式 --- */
.fsac-card {
  background: white;
  padding: 30px;
  border-radius: var(--fsac-radius);
  box-shadow: var(--fsac-shadow);
  border-top: 4px solid transparent;
  transition: transform 0.3s;
  height: 100%;
}
.fsac-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--fsac-purple);
}
.fsac-card-num {
  font-size: 40px;
  color: #e0d8e8;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

/* --- 步骤条组件 (Steps) --- */
.fsac-step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: white;
  padding: 25px;
  border-radius: var(--fsac-radius);
  border: 1px solid #eee;
  margin-bottom: 20px;
}
.fsac-step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--fsac-purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

/* --- 列表样式 --- */
.fsac-list li, .fsac-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  list-style: none;
  color: var(--fsac-text-gray);
}
.fsac-list li::before {
  content: "•";
  color: var(--fsac-purple);
  font-weight: bold;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -5px;
}
.fsac-check-list li::before {
  content: "✔";
  color: var(--fsac-purple);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* --- 方案/路线对比框 --- */
.fsac-solution-box, .fsac-route-box {
  background: white;
  padding: 30px;
  border-radius: var(--fsac-radius);
  border: 1px solid #eee;
  height: 100%;
}
.fsac-badge, .fsac-route-badge {
  display: inline-block;
  background: var(--fsac-purple);
  color: white;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* --- 费用模块 --- */
.fsac-cost-box {
  background: white;
  padding: 40px;
  border: 1px solid #e0e0e0;
  border-radius: var(--fsac-radius);
  box-shadow: var(--fsac-shadow);
	margin-bottom:50px;
}
.fsac-cost-item {
  background: white; /* 也可以用 var(--fsac-bg-light) */
  padding: 15px 20px;
  border-left: 3px solid var(--fsac-purple);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- 底部联系模块 (Sticky Contact) --- */
.fsac-contact-box {
  background: var(--fsac-purple);
  color: white;
  border-radius: var(--fsac-radius);
  padding: 50px;
  text-align: center;
}
.fsac-contact-box h2, 
.fsac-contact-box h3, 
.fsac-contact-box p {
  color: white;
}
.fsac-contact-box h2::after { background: rgba(255,255,255,0.3); }

.fsac-copy-area {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--fsac-radius);
  margin-top: 20px;
  display: inline-block;
  width: 100%;
  max-width: 650px;
  text-align: left;
}
.fsac-code {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-right: 15px;
}
.fsac-msg-tpl {
  background: white;
  color: #333;
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
  font-size: 14px;
  border: 1px dashed #ccc;
  line-height: 1.6;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
  .fsac-grid-2, .fsac-grid-3, .fsac-compare-grid, .fsac-cost-grid {
    grid-template-columns: 1fr; /* 强制单列 */
  }
  .fsac-hero-tags { display: none; }
  .fsac-step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .fsac-container { padding: 40px 15px; }
  .fsac-contact-box { padding: 30px 20px; }
  .fsac-quote-box { padding: 20px; }
}


/* =========================================
   FSAC FAQ 交互式折叠面板 (美化版)
   ========================================= */

/* 容器基础样式 */
details.fsac-faq-item {
    background-color: #fff;
    border: 1px solid #eee;      /* 默认细边框 */
    border-radius: 8px;          /* 更圆润的倒角 */
    margin-bottom: 15px;         /* 模块间距 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); /* 初始轻微阴影 */
    transition: all 0.3s ease;   /* 整体过渡 */
    overflow: hidden;            /* 防止内容溢出圆角 */
}

/* 悬停状态：加深阴影 */
details.fsac-faq-item:hover {
    box-shadow: 0 6px 15px rgba(82, 49, 109, 0.08);
    border-color: #e0d8e8;
}

/* --- 问题栏 (Summary) --- */
summary.fsac-faq-question {
    padding: 20px 25px;          /* 增加点击区域，提升体验 */
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    color: var(--fsac-text-dark);
    position: relative;
    list-style: none;            /* 隐藏默认列表标记 */
    display: flex;
    justify-content: space-between; /* 文字左对齐，图标右对齐 */
    align-items: center;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;           /* 防止快速点击时选中文本 */
}

/* 隐藏 Webkit 浏览器默认的三角形 */
summary.fsac-faq-question::-webkit-details-marker {
    display: none;
}

/* 悬停问题栏 */
summary.fsac-faq-question:hover {
    background-color: #fcfaff;   /* 极淡的紫色背景 */
    color: var(--fsac-purple);
}

/* --- 自定义展开图标 (+) --- */
summary.fsac-faq-question::after {
    content: '+';                /* 使用加号 */
    font-size: 26px;
    font-weight: 300;
    color: var(--fsac-purple-light);
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease, color 0.3s;
    flex-shrink: 0;              /* 防止图标被挤压 */
}

/* --- 展开状态 (Open) --- */
/* 容器边框高亮 */
details.fsac-faq-item[open] {
    background-color: #fff;
    border-color: var(--fsac-purple-light); 
}

/* 展开时的问题栏样式 */
details.fsac-faq-item[open] summary.fsac-faq-question {
    border-bottom: 1px solid #f0f0f0; /* 增加分割线 */
    color: var(--fsac-purple);
    background-color: var(--fsac-bg-light); /* 浅紫色背景 */
}

/* 展开时图标旋转45度 (变x) */
details.fsac-faq-item[open] summary.fsac-faq-question::after {
    transform: rotate(45deg);
    color: var(--fsac-purple);
}

/* --- 答案内容区域 (P) --- */
details.fsac-faq-item p {
    padding: 25px 25px 30px;     /* 舒适的阅读内边距 */
    margin: 0;                   /* 重置 p 标签默认 margin */
    color: var(--fsac-text-gray);
    line-height: 1.7;
    font-size: 15px;
    animation: fsacFadeIn 0.4s ease-out; /* 内容淡入动画 */
}

/* 内容淡入动画关键帧 */
@keyframes fsacFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-8px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Tables */
    .fsac-table { width: 100%; border-collapse: collapse; margin: 30px 0; box-shadow: var(--fsac-shadow); border-radius: var(--fsac-radius); overflow: hidden; }
    .fsac-table th { background-color: var(--fsac-purple); color: white; padding: 15px; text-align: left; }
    .fsac-table td { padding: 15px; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
    .fsac-table tr:nth-child(even) { background-color: #fafafa; }

 /* Custom list style for 1. 2. 3. */
        .fsac-numbered-list {
            list-style: none;
            padding-left: 0;
            counter-reset: custom-counter;
        }
        .fsac-numbered-list li {
            position: relative;
            padding-left: 35px;
            margin-bottom: 12px;
            color: var(--fsac-text-gray);
        }
        .fsac-numbered-list li::before {
            content: counter(custom-counter) "、";
            counter-increment: custom-counter;
            color: var(--fsac-purple);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }








/* CSS 样式美化 */
.wx-popup-container {
    display: flex;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden; /* 防止图片溢出圆角 */
    min-height: 350px; /* 弹窗最小高度 */
}

/* 左侧样式 */
.wx-popup-left {
    flex: 4; /* 占40%宽度 */
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wx-popup-left img {
    width: 100%;
    height: 100%;
    /* 修改关键点：由 cover 改为 contain，确保图片完整显示不裁剪 */
    object-fit: contain; 
    display: block;
    /* 增加 20px 内边距，让二维码不贴边，更易扫描且美观 */
    padding: 20px; 
    /* 防止 padding 撑大元素 */
    box-sizing: border-box; 
}

/* 右侧样式 */
.wx-popup-right {
    flex: 6; /* 占60%宽度 */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wx-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #333;
    font-weight: 700;
}

.wx-desc {
    margin: 0 0 25px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: justify; /* 两端对齐更整齐 */
}

/* 微信号显示框 */
.wx-id-box {
    background: #f5f9f5;
    border: 1px solid #e1e1e1;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.wx-label {
    color: #888;
    margin-right: 5px;
}

.wx-number {
    color: #333;
    font-weight: bold;
    font-family: monospace; /* 等宽字体数字更好看 */
    letter-spacing: 1px;
}

/* 按钮样式 - 微信绿 */
.wx-copy-btn {
    background: #07c160;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px; /* 胶囊圆角 */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wx-copy-btn:hover {
    background: #06ad56;
}

/* 成功提示小条 */
.wx-toast {
    margin-top: 10px;
    color: #07c160;
    font-size: 13px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

/* 手机端适配 */
@media (max-width: 600px) {
    .wx-popup-container {
        flex-direction: column;
    }
    .wx-popup-left {
        height: 200px; /* 手机上图片的高度 */
        width: 100%;
    }
    .wx-popup-right {
        padding: 20px;
    }
}
