/* guides.css
   基底：沿用官網單頁的 westyle.css + grid.css
   目的：做「可閱讀的內容中心」，並保留少量服務導向視覺（軟 CTA / 卡片）
*/

/* ===== 基本容器 ===== */
.guides-wrap{
  width: 80%;
  max-width: 920px;
  margin: 0 auto;
  font-family: MyriadPro, sourcehansans-tc, "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.9;
  color: #323232;
}

@media (max-width: 767px){
  .guides-wrap{ width: 92%; font-size: 16px; }
}

/* ===== Hero（小 Hero：像內容頁，不像 landing） ===== */
.guides-hero{
  padding: 34px 0 18px;
}

.guides-breadcrumb{
  font-size: 14px;
  letter-spacing: .12em;
  color: #9a9a9a;
  margin: 0 0 10px;
}

.guides-title{
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: bold;
  letter-spacing: .06em;
  line-height: 1.35;
  color: #323232;
}

@media (max-width: 767px){
  .guides-title{ font-size: 24px; }
}

.guides-lead{
  margin: 0 0 14px;
  color: #6f6f6f;
  text-align: justify;
}

.guides-hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  align-items: baseline;
}

.guides-hero-cta .theme-button{
  /* 沿用你現有 theme-button，這裡只保證排版 */
  text-decoration: none;
}

.guides-hero-cta a.guides-textlink{
  color: #70706f;
  text-decoration: none;
  border-bottom: 1px dashed rgba(112,112,111,.7);
  padding-bottom: 2px;
  font-size: 16px;
  letter-spacing: .12em;
}

.guides-hero-cta a.guides-textlink:hover{
  color: #323232;
  border-bottom-color: #323232;
}

/* ===== 目錄（TOC） ===== */
.guides-toc{
  margin: 18px 0 28px;
  border: 1px solid #e6e6e6;
  background: #f7f7f7;
  padding: 16px 16px 14px;
}

.guides-toc-title{
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .12em;
  margin: 0 0 10px;
  color: #323232;
}

.guides-toc ol{
  margin: 0;
  padding-left: 22px;
}

.guides-toc li{
  margin: 6px 0;
  line-height: 1.7;
}

.guides-toc a{
  color: #70706f;
  text-decoration: none;
  border-bottom: 1px dotted rgba(112,112,111,.6);
}

.guides-toc a:hover{
  color: #323232;
  border-bottom-color: #323232;
}

/* ===== 文章段落 / 標題 ===== */
.guides-section{
  padding: 18px 0;
  border-top: 1px solid #d0d0d0;
}

.guides-section:first-of-type{
  border-top: 0;
}

.guides-h2{
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: .12em;
  margin: 0 0 12px;
  color: #323232;
}

@media (max-width: 767px){
  .guides-h2{ font-size: 18px; }
}

.guides-h3{
  font-size: 18px;
  font-weight: bold;
  margin: 18px 0 8px;
  letter-spacing: .06em;
  color: #323232;
}

.guides-p{
  margin: 0 0 12px;
  text-align: justify;
  color: #555;
}

.guides-p strong{
  color: #323232;
}

.guides-note{
  background: #f3f3f3;
  padding: 12px 14px;
  margin: 12px 0 0;
  color: #70706f;
}

/* ===== 黃底底線（沿用你 customer-page 的 underline 概念） ===== */
.guides-underline{
  text-decoration: none;
  background-image: linear-gradient(to bottom, transparent calc(100% - 10px), #f5e36c 10px);
}

/* ===== Checklist ===== */
.guides-checklist{
  margin: 10px 0 0;
  padding-left: 22px;
  color: #555;
}

.guides-checklist li{
  margin: 6px 0;
}

/* ===== 步驟卡（流程感，偏內容中心版） ===== */
.guides-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 900px){
  .guides-steps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px){
  .guides-steps{ grid-template-columns: 1fr; }
}

.guides-step-card{
  position: relative;
  background: #fff;
  border: 1px solid #e9e9e9;
  padding: 18px 14px 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.guides-step-no{
  position: absolute;
  top: -12px;
  left: 14px;
  width: 28px;
  height: 28px;
  border: 2px solid #70706f;
  background: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .12em;
  color: #323232;
}

.guides-step-title{
  margin: 10px 0 8px;
  font-weight: bold;
  letter-spacing: .06em;
  color: #323232;
  font-size: 16px;
}

.guides-step-desc{
  margin: 0;
  color: #70706f;
  line-height: 1.8;
  font-size: 16px;
  text-align: justify;
}

/* ===== 軟 CTA（中立語氣，不像促銷） ===== */
.guides-soft-cta{
  margin-top: 14px;
  background: #f7f7f7;
  border: 1px dashed #cfcfcf;
  padding: 12px 14px;
  color: #70706f;
}

.guides-soft-cta a{
  color: #323232;
  text-decoration: none;
  border-bottom: 1px dotted rgba(50,50,50,.6);
}
.guides-soft-cta a:hover{
  border-bottom-color: #323232;
}

/* ===== 比較卡（買斷 vs 平台：含「我們不提供月租」避免誤會） ===== */
.guides-compare{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 767px){
  .guides-compare{ grid-template-columns: 1fr; }
}

.guides-compare-card{
  background: #fff;
  border: 1px solid #e9e9e9;
  padding: 14px 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.guides-compare-badge{
  display: inline-block;
  border: 2px solid #70706f;
  color: #323232;
  padding: 4px 10px;
  font-size: 14px;
  letter-spacing: .12em;
  margin-bottom: 8px;
  font-weight: bold;
}

.guides-compare-card h3{
  margin: 6px 0 8px;
  font-size: 18px;
  letter-spacing: .06em;
}

.guides-compare-card ul{
  margin: 0;
  padding-left: 20px;
  color: #555;
}

.guides-compare-card li{
  margin: 6px 0;
}

.guides-disclaimer{
  margin-top: 10px;
  padding: 10px 12px;
  background: #f3f3f3;
  color: #70706f;
  font-size: 16px;
  line-height: 1.75;
}

/* ===== FAQ（details/summary） ===== */
.guides-faq details{
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 12px 12px;
  margin: 10px 0;
}

.guides-faq summary{
  cursor: pointer;
  font-weight: bold;
  letter-spacing: .06em;
  color: #323232;
}

.guides-faq p{
  margin: 10px 0 0;
  color: #70706f;
  text-align: justify;
}

/* ===== 文末 CTA（保留品牌風格 theme-button） ===== */
.guides-end{
  margin: 18px 0 8px;
  padding: 16px 0 6px;
  border-top: 1px solid #d0d0d0;
  text-align: center;
}

.guides-end .theme-button{
  text-decoration: none;
}

/* ===== 超連結樣式 ===== */
.guides-wrap a.link {
    border-bottom: 2px solid #00b8ea;
    padding-bottom: 2px;
    color: rgba(39, 39, 39, .8);
    text-decoration: none;
    margin: 0 3px;
    transition: all 0.1s;
}

.guides-wrap a.link:hover {
    color: #00b8ea;
}