.section-padding {
  padding: 100px 20px;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 15px;
  }
}

.container-width {
  max-width: 1200px;
  margin: 0 auto;
}

/* 移除上方標題區背景 */
.page-header,
.entry-header {
  display: none;
}
.site-content {
  padding-top: 0;
}

/* 普通卡片案例 */
.home-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Hover 浮起（高級感關鍵） */
.home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

/* 圖片放大效果（設計感） */
.home-card img {
  transition: transform 0.6s ease;
}

.home-card:hover img {
  transform: scale(1.05);
}

/* 內容 */
.home-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.home-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

/* 按鈕 */
.home-card .gb-button {
  margin-top: 10px;
  border-radius: 999px;
}

/* 主按鈕（描邊咖色） */
.btn-primary {
  background-color: transparent;
  color: #673C1D;
  border: 1px solid #673C1D;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #f3e9df;
  transform: translateY(-1px);
}
.btn-primary:hover {
  background-color: #f3e9df;
  transform: translateY(-1px);
}
.btn-light {
  background-color: #f4eee7;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
}

.btn-light:hover {
  background-color: #e8dfd4;
}

/* 家具分類卡片控制 */
.case-card-simple {
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 24px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  
  /* 陰影 */
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Hover 卡片浮起 */
.case-card-simple:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* 漸層（加強） */
.case-card-simple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.02)
  );
}

/* 文字整體控制 */
.case-card-simple > * {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

/* 👇 文字初始位置（稍微壓低） */
.case-card-simple h3 {
  font-size: 24px;
  margin: 0;
  transform: translateY(10px);
}

.case-card-simple p {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(20px);
}

/* 👇 Hover效果：文字往上 + 出現 */
.case-card-simple:hover h3 {
  transform: translateY(0);
}

.case-card-simple:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* 全站連結樣式 */
a {
  text-decoration: none;
  color: #673C1D; /* 一般文字色 */
  transition: all 0.3s ease;
}

/* 滑過去變色（品牌色） */
a:hover {
  color: #FFFFF;
}
  text-decoration: none;
}
/* 🔥 隱藏 GeneratePress 精選圖片（首頁＋頁面＋文章） */

/* 首頁 */
.home img.wp-post-image,
.home .featured-image,
.home .post-image {
    display: none !important;
}

/* 頁面 */
.page img.wp-post-image,
.page .featured-image,
.page .post-image,
.page .inside-article > img {
    display: none !important;
}

/* 文章 */
.single img.wp-post-image,
.single .featured-image,
.single .post-image {
    display: none !important;
}

.case-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.case-card-media {
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

/* 底部文字遮罩 */
.case-card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
}

/* 標題 */
.case-card-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
/* 副標 */
.case-card-overlay span {
  font-size: 14px;
  color: #666;
}

/* hover 放大效果 */
.case-card:hover .case-card-media {
  transform: scale(1.05);
}

.case-card::before,
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #fff;
  z-index: -1;
}

.case-card::before {
  transform: rotate(-2deg) translateY(6px);
}

.case-card::after {
  transform: rotate(2deg) translateY(12px);
}

永長傢俱 FAQ 設計
/* FAQ 品牌感精簡版 */
.wp-block-rank-math-faq-block,
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.rank-math-faq-item {
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rank-math-faq-item:hover {
  transform: translateY(-2px);
  border-color: #d9c8ae;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.rank-math-question {
  position: relative;
  margin: 0;
  padding: 22px 56px 22px 22px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  color: #2f2a24;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* 橫線 */
.rank-math-question::before,
/* 直線 */
.rank-math-question::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #b08a5b;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.rank-math-question::after {
  transform: translateY(-50%) rotate(90deg);
}

/* 滑過時：文字跟符號同色 */
.rank-math-faq-item:hover .rank-math-question {
  color: #b08a5b;
}

/* 展開後：維持品牌色 */
.rank-math-faq-item.is-open .rank-math-question {
  color: #b08a5b;
}

/* 展開後變成減號 */
.rank-math-faq-item.is-open .rank-math-question::after {
  opacity: 0;
}

.rank-math-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 22px;
  font-size: 16px;
  line-height: 1.9;
  color: #6b6258;
  transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
}

.rank-math-faq-item.is-open .rank-math-answer {
  max-height: 400px;
  opacity: 1;
  padding: 0 22px 22px;
}

.rank-math-answer p {
  margin: 0;
}

@media (max-width: 768px) {
  .rank-math-question {
    padding: 18px 48px 18px 18px;
    font-size: 16px;
  }

  .rank-math-answer {
    padding: 0 18px;
    font-size: 15px;
  }

  .rank-math-faq-item.is-open .rank-math-answer {
    padding: 0 18px 18px;
  }

  .rank-math-question::before,
  .rank-math-question::after {
    right: 18px;
    width: 12px;
  }
}
/* 隱藏最底部版權列 */
.site-info {
    display: none !important;
}