/**
 * 組件樣式
 * @package mytheme
 */

/* Section 基本樣式 */
section {
  padding: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4.75rem;
  justify-items: center;
}

.section-title {
  color: #ffab36;
  background-image: url("../images/首頁H2底圖.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 0;
  position: relative;
  width: 26.375rem;
  height: 6.8125rem;
  align-content: center;
}

.section-title::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1.375rem;
  right: -3.9375rem;
  width: 6.8125rem;
  height: 7.8125rem;
  background-image: url("../images/H2右側裝飾.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
}

.section-footer {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.title-dec-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.dec-wrapper {
  position: relative;
  height: 1px;
  display: flex;
  align-items: center;
}

.blue-tiny-circle {
  position: absolute;
  right: -6px;
  top: 3px;
}

.yellow-tiny-circle {
  position: absolute;
  left: -6px;
  top: -7px;
}

@media (max-width: 480px) {
  .title-dec-container {
    gap: 5px;
  }
}

/* 價格區域樣式 */
.product-price-container {
  margin: 15px 0 5px;
}

.sale-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}

.regular-price {
  font-size: 0.85rem; /* 字體變小 */
  color: #a0a0a0;
  text-decoration: line-through; /* 刪除線 */
  margin-left: 6px;
}

/* 小字資訊區域 */
.product-meta-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.p-divider {
  margin: 0 4px;
  color: #eee;
}

/* 查看商品按鈕 */
.btn-view-item {
  display: inline-block;
  padding: 12px 30px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-view-item:hover {
  background-color: #444;
}

/* page-title */
.page-title_span {
  color: #0b2341;
  font-family: Inter;
  font-weight: 600;
  word-wrap: break-word;
}
.page-title {
  align-self: stretch;
  text-align: center;
  color: #0b2341;
  font-family: Inter;
  font-weight: 600;
  word-wrap: break-word;
}

.orange-line {
  width: 224px;
  height: 1px;
  background: #ff942b;
}
.blue-little-circle {
  width: 8px;
  height: 8px;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background: #0b2341;
  border-radius: 9999px;
}
.yellow-little-circle {
  width: 8px;
  height: 8px;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background: #ffdc37;
  border-radius: 9999px;
}
.page-title-container {
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  display: inline-flex;
}

/* section-des */
.section-des {
  margin-top: 24px;
  max-width: 876px;
  z-index: 1;
}

/* ============================================
   立即免費諮詢按鈕
   ============================================ */

.custom-btn {
  /* 移除預設樣式 */
  border: none;
  cursor: pointer;

  /* 設置漸層背景 */
  background: linear-gradient(90deg, #ff942b 0%, #ffdc37 100%);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  /* 排版 */
  width: 278px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 底部陰影 */
  padding-left: 15px;
  transition: all 0.3s ease;
}

/* 懸停效果 (Hover) */
.custom-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.content-wrapper {
  width: 204px;
  height: 55px;
  background-color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  align-content: center;
  text-align: center;
}

.btn-text {
  font-size: 24px;
  font-weight: bold;
  color: #1a3044; /* 深藍色文字 */
  letter-spacing: 2px;
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(6px, 5px);
}

.arrow-icon {
  transition: all 0.3s ease;
}

.arrow-icon:hover {
  transform: translateX(-2px);
}

.consultation-button-container {
  display: flex;
  justify-content: center;
  z-index: 1;
}

.consultation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 13px 7px 20px;
  background: #ffffff;
  color: #e74c3c;
  text-decoration: none;
  border: none;
  border-radius: 35px;
  font-size: 24px;
  box-shadow: 0 0 25.55px 0 #d95431;
  transition: all var(--transition-base);
}

.consultation-btn:hover {
  box-shadow: 0 10px 24px rgba(231, 76, 60, 0.35);
  transform: translateY(-2px);
}

.consultation-text {
  font-size: 24px;
  color: #e74c3c;
}

.consultation-arrow {
  width: 50px;
  height: 50px;
  display: block;
}

/* ============================================
   首頁H1標題統一樣式
   ============================================ */
.home-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 316px;
  border-bottom: 2px solid #000;
}

.home-title-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px; /* 控制兩條線之間的間距 */
  width: 100%;
  height: 2px; /* 這是下面那條線的粗度 (2px) */
  background-color: black;
}

.home-title-dec {
  height: 103px;
  width: auto;
  position: absolute;
  left: 0;
  bottom: 11px;
}

.home-title {
  color: #0b2341;
  font-weight: 600;
  margin-bottom: 17px;
}

/* ============================================
   首頁按鈕統一樣式
   ============================================ */
.home-btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
  height: 70px;
  padding: 0 19px 0 36px;
  border-radius: 35px;
  background: #ffdc37;
  justify-content: space-between;
  z-index: 9;
  transition: all 0.3s ease;
}

.home-btn:hover {
  filter: brightness(0.9);
}

.home-btn-text {
  font-size: 1.25rem;
  font-weight: 500;
}

.home-btn-arrow {
}

.mobile-br {
  display: none;
}

@media (max-width: 1440px) {
  .error-404-box {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  .home-btn {
    max-width: 157px;
    height: 36px;
    flex-direction: row;
    padding: 0 8.8px 0 18.72px;
  }

  .home-btn-text {
    font-size: 13px;
  }

  .home-btn-arrow {
    width: 18.72px;
    height: 18.72px;
  }

  .custom-btn {
    width: 157px;
    height: 46px;
    border-radius: 16.942px 16.942px 5.647px 5.647px;
    padding-left: 8.47px;
  }

  .content-wrapper {
    width: 115px;
    height: 30.85px;
    border-radius: 11.295px 11.295px 5.647px 5.647px;
  }
  .btn-text {
    font-size: 13px;
    line-height: 27.108px;
    letter-spacing: 0px;
  }
  .icon-circle {
    width: 25px;
    transform: translate(4px, 4px);
  }
}

/* ============================================
   通用圖片與換行切換（電腦版/手機版）
   ============================================ */
.img-desktop {
  display: block;
}

.img-mobile {
  display: none;
}

@media (max-width: 480px) {
  .img-desktop {
    display: none;
  }

  .img-mobile {
    display: block;
  }

  .mobile-br {
    display: block;
  }
}

/* 功能區塊 - 基本樣式
   具體樣式請見各頁面的 CSS 檔案（如 pages/index.css）*/
.section-features {
  padding: 7.25rem 0 7.625rem;
}

/* 為什麼重要樣式 */
.seo-red-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #960000;
  margin-top: 1.5rem;
  gap: 12px;
}

/* 文章卡片 */
.article-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: var(--shadow-lg);
}

.article-card__image {
  overflow: hidden;
  height: 12.5rem;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.article-card__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card__categories {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.category-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
  display: inline-block;
}

.category-badge:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.article-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

.article-card__title a {
  color: var(--text-color);
}

.article-card__title a:hover {
  color: var(--color-primary);
}

.article-card__meta {
  display: flex;
  gap: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--text-color-light);
  margin-bottom: var(--spacing-md);
}

.article-card__excerpt {
  flex-grow: 1;
  color: var(--text-color-light);
  margin-bottom: var(--spacing-md);
}

.article-card__read-more {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
  align-self: flex-start;
}

.article-card__read-more:hover {
  color: var(--color-primary-dark);
  padding-right: var(--spacing-md);
}

/* 分頁H2 樣式 */
.h2-title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.decoration-left {
  position: absolute;
  left: -12rem;
  top: -7rem;
}

.decoration-right {
  position: absolute;
  max-width: 150px;
  right: -9rem;
  bottom: -1.5rem;
  height: auto;
}

.section-dec {
  margin-top: 24px;
  max-width: 876px;
  width: 100%;
  color: #fff;
  text-align: left;
}

/* ============================================
   費用 CTA 按鈕樣式
   ============================================ */

.page-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 270px;
}

.page-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 6px 17px 6px 26px;
  background-image: url("../images/按鈕BG.webp");
  background-size: 100% 100%;
  color: #20285e;
  border: 2px solid #fff;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: -5px 0 10px -2px rgba(0, 0, 0, 0.25) inset;
  z-index: 1;
  justify-content: space-between;
}

.page-cta-btn:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: -2px -6px 6.2px 4px rgba(0, 0, 0, 0.25) inset;
}

.cta-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* 最新文章區塊 */
.section-latest {
  background-color: var(--bg-color-blue-light);
  border-top: 0.0625rem solid var(--color-gray);
  border-bottom: 0.0625rem solid var(--color-gray);
}

/* 文章網格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.contact-hero h1,
.archive-hero h1,
.about-hero-section h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.contact-hero p,
.archive-hero p,
.about-hero-section p {
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
}

/* 文章列表頁面標題（在 container 內） */
.archive-header {
  text-align: center;
  padding: var(--spacing-3xl) 0;
  margin-bottom: var(--spacing-3xl);
  border-bottom: 0.125rem solid var(--color-primary-light);
}

.archive-header h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.archive-header .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-color-light);
}

.social-links {
  background-color: var(--bg-color-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-lg);
}

.social-links h3 {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
}

.social-icons a:hover {
  transform: translateY(-0.1875rem);
}

/* 聯絡方式 - 緊湊設計 */
.contact-info-compact {
  background-color: var(--bg-color);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 0.0625rem solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

.contact-info-compact h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 0.125rem solid var(--color-primary-light);
}

.info-item-compact {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 0.0625rem solid var(--border-color);
}

.info-item-compact:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-item-compact h3 {
  font-size: var(--font-size-base);
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-bold);
}

.info-item-compact p {
  color: var(--text-color-light);
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.info-item-compact a {
  color: #808080;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-base);
}

.info-item-compact a:hover {
  color: var(--color-primary);
}

.info-item-compact ul {
  margin: var(--spacing-sm) 0 0 var(--spacing-md);
  padding: 0;
  list-style: none;
}

.info-item-compact li {
  color: var(--text-color-light);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
}

.info-time {
  color: var(--text-color-light);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs) !important;
}

/* 社交鏈接 - 緊湊設計 */
.social-links-compact {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 0.0625rem solid var(--border-color);
}

.social-links-compact h3 {
  font-size: var(--font-size-base);
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-bold);
}

/* 地圖 - 緊湊設計 */
.contact-map-compact {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 感謝頁面 */
/* CTA Section */
.section-cta {
  background-color: transparent;
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-cta h2 {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
}

.section-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
}

.section-cta .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.section-cta .btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* 相關文章 */
.related-posts {
  padding: var(--spacing-3xl) 0;
  border-top: 0.0625rem solid var(--border-color);
  border-bottom: 0.0625rem solid var(--border-color);
}

.related-posts h2 {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

/* 關於我們 - 優勢區塊 */
.about-features {
  padding: var(--spacing-3xl) 0;
  margin: var(--spacing-3xl) 0;
}

/* 團隊區塊 */
.team-section {
  padding: var(--spacing-3xl) 0;
  margin: var(--spacing-3xl) 0;
  border-top: 0.0625rem solid var(--color-gray);
  border-bottom: 0.0625rem solid var(--color-gray);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.team-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-top: 0.1875rem solid var(--color-primary);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.3125rem);
}

.team-avatar {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.team-card h3 {
  margin-bottom: var(--spacing-sm);
}

.team-card p {
  color: var(--text-color-light);
  margin-bottom: var(--spacing-sm);
}

.team-bio {
  font-size: var(--font-size-sm);
}

/* ============================================
   新增組件樣式
   ============================================ */

/* ============================================
   1. 文章列表組件 (article-list.php)
   ============================================ */

.article-list-wrapper {
  width: 100%;
}

/* 找不到文章時的提示 */
.no-posts {
  background-color: var(--bg-color-light);
  padding: var(--spacing-3xl) var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 0.125rem dashed var(--color-gray);
}

.no-posts h2 {
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
}

.no-posts p {
  color: var(--text-color-light);
  font-size: var(--font-size-base);
}

/* 分頁容器 */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: var(--spacing-3xl) 0;
  gap: var(--spacing-md);
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.pagination-wrapper a,
.pagination-wrapper .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 var(--spacing-md);
  border: 0.0625rem solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-color);
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
}

.pagination-wrapper a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.pagination-wrapper .page-numbers.current {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  cursor: default;
}

/* ============================================
   2. 頁面 Banner 組件 (page-banner.php)
   ============================================ */

.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.page-banner__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

.page-banner__description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

.page-banner__cta {
  display: inline-block;
  margin-top: var(--spacing-lg);
}

/* ============================================
   3. 社群按鈕組件 (social-buttons.php)
   ============================================ */

.social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-buttons__list {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  align-items: center;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--spacing-md);
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
  position: relative;
}

.social-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-lg);
}

.social-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  line-height: 1;
}

.social-button__text {
  display: inline-block;
  font-size: var(--font-size-sm);
}

.social-button__label {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--color-white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-xs);
  margin-bottom: var(--spacing-sm);
  z-index: 10;
}

.social-button:hover .social-button__label {
  display: block;
}

/* 社群按鈕顏色變化 (可選) */
.social-button--facebook {
  background-color: #1877f2;
}

.social-button--facebook:hover {
  background-color: #165bc0;
}

.social-button--instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-button--instagram:hover {
  opacity: 0.8;
}

.social-button--twitter {
  background-color: #000000;
}

.social-button--twitter:hover {
  background-color: #333333;
}

.social-button--linkedin {
  background-color: #0a66c2;
}

.social-button--linkedin:hover {
  background-color: #084595;
}

.social-button--youtube {
  background-color: #ff0000;
}

.social-button--youtube:hover {
  background-color: #cc0000;
}

.social-button--line {
  background-color: #00b900;
}

.social-button--line:hover {
  background-color: #009900;
}

/* ============================================
   4. 文章單頁樣式 (single.php) - 簡單風格
   ============================================ */

/* 文章單頁主容器 */
.single-post {
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

/* 文章頭部區塊 */
.single-post__header {
  margin-bottom: var(--spacing-3xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 0.0625rem solid var(--border-color);
}

/* 文章標題 */
.single-post__title {
  font-size: var(--font-size-4xl);
  line-height: 1.3;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
  font-weight: var(--font-weight-bold);
}

/* 文章元資訊 */
.single-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  font-size: var(--font-size-sm);
  color: var(--text-color-light);
}

.meta-date,
.meta-author,
.meta-category {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.meta-author a,
.meta-category a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--transition-base);
}

.meta-author a:hover,
.meta-category a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* 分隔符 */
.meta-category a + a::before {
  content: ", ";
  margin-right: var(--spacing-xs);
}

/* 文章特色圖片 */
.single-post__thumbnail {
  margin: var(--spacing-3xl) 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.single-post__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文章內容區塊 */
.single-post__content {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-color);
  margin: var(--spacing-3xl) 0;
}

/* 文章內容排版 */
.single-post__content h2,
.single-post__content h3,
.single-post__content h4,
.single-post__content h5,
.single-post__content h6 {
  margin: var(--spacing-2xl) 0 var(--spacing-lg) 0;
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
}

.single-post__content h2 {
  font-size: var(--font-size-2xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 0.125rem solid var(--color-primary-light);
}

.single-post__content h3 {
  font-size: var(--font-size-xl);
}

.single-post__content p {
}

.single-post__content a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.single-post__content a:hover {
  color: var(--color-primary-dark);
}

/* 列表樣式 */
.single-post__content ul,
.single-post__content ol {
  margin: var(--spacing-lg) 0 var(--spacing-lg) var(--spacing-2xl);
}

.single-post__content li {
  margin-bottom: var(--spacing-md);
}

/* 引用區塊 */
.single-post__content blockquote {
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-left: 0.25rem solid var(--color-primary);
  background-color: var(--bg-color-light);
  font-style: italic;
  color: var(--text-color-light);
}

/* 代碼區塊 */
.single-post__content code {
  background-color: var(--bg-color-light);
  padding: 0.125rem 0.375rem;
  border-radius: var(--border-radius-sm);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

.single-post__content pre {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
}

.single-post__content pre code {
  background-color: transparent;
  padding: 0;
  color: #f8f8f2;
}

/* 圖片樣式 */
.single-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--spacing-2xl) 0;
  border-radius: var(--border-radius-md);
}

/* 文章導航 (前後篇) */
.single-post__navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin: var(--spacing-3xl) 0;
  padding: var(--spacing-2xl) 0;
  border-top: 0.0625rem solid var(--border-color);
  border-bottom: 0.0625rem solid var(--border-color);
}

.nav-prev,
.nav-next {
  padding: var(--spacing-lg);
  background-color: var(--bg-color-light);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.nav-prev:hover,
.nav-next:hover {
  background-color: var(--bg-color);
  box-shadow: var(--shadow-md);
}

.nav-prev a,
.nav-next a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: color var(--transition-base);
}

.nav-prev a:hover,
.nav-next a:hover {
  color: var(--color-primary-dark);
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

/* 響應式調整 */
@media (max-width: 480px) {
  .page-title-container {
    gap: 8px;
  }

  .orange-line {
    width: 112px;
    height: 1px;
  }

  .yellow-little-circle {
    width: 4px;
    height: 4px;
    left: -2px;
  }

  .blue-little-circle {
    width: 4px;
    height: 4px;
    right: -2px;
  }

  .single-post__navigation {
    grid-template-columns: 1fr;
  }

  .single-post__title {
    font-size: var(--font-size-2xl);
  }

  .single-post__meta {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
  }

  .section-des {
    margin-top: 14.25px;
  }
}

/* ============================================
   統一 Section Description 樣式
   ============================================ */

.section-description {
  text-align: left;
  margin-top: 28px;
  line-height: 1.6;
  max-width: 54.75rem;
}

@media (max-width: 480px) {
  /* ============================================
	   立即免費諮詢按鈕
	   ============================================ */
  .consultation-button-container {
    display: flex;
    justify-content: center;
    z-index: 1;
  }

  .consultation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 32px;
    padding: 0;
    gap: 6px;
    background: #ffffff;
    color: #e74c3c;
    text-decoration: none;
    border: none;
    border-radius: 35px;
    font-size: 24px;
    box-shadow: 0 0 12.775px 0 #d95431;
    transition: all var(--transition-base);
  }

  .consultation-btn:hover {
    box-shadow: 0 10px 24px rgba(231, 76, 60, 0.35);
    transform: translateY(-2px);
  }

  .consultation-text {
    font-size: 12px;
  }

  .consultation-arrow {
    width: 25px;
    height: 25px;
  }

  .section-dec {
    margin-top: 20px;
  }

  .why-important-icon {
    width: 16px;
    height: auto;
  }

  /* 為什麼重要樣式 */
  .seo-red-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #960000;
    margin-top: 0.5rem;
    gap: 5px;
  }

  .section-description {
    text-align: left;
    margin: 0;
    width: 100%;
    max-width: 300px;
    font-size: 0.875rem !important;
  }

  .h2-title-wrapper {
    margin-bottom: 16px;
  }
}

/* ========================================
   聯絡起吉區塊組件
   ======================================== */

.section-contact {
  display: flex;
  text-align: center;
  position: absolute;
  top: -66px;
}

.contact-wrapper {
  max-width: 1094px;
  height: 112px;
  padding: 0 77px 0 125px;
  gap: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 69px;
  background: #ffdc37;
  justify-content: space-between;
}

.contact-subtitle {
  color: #0b2341;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-cta {
  display: flex;
  color: #0b2341;
  width: 300px;
  height: 70px;
  padding: 24px 98px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 40px;
  background: #fff;
  transition: all 0.3s ease;
}

.contact-cta:hover {
  filter: brightness(0.9);
  text-decoration: none;
}

.btn-contact-form {
  width: 147px;
  flex-shrink: 0;
  color: #0b2341;
  text-align: center;
  font-size: 1.75rem;
  font-style: normal;
  white-space: nowrap;
  transition: all 0.3s ease;
  /* 189.878% */
}

.btn-contact-form img {
  width: 4.6875rem;
  height: 3.5625rem;
  object-fit: contain;
}

.contact-finger-pointer {
  width: 3.625rem;
  height: 3rem;
  object-fit: contain;
  position: absolute;
  bottom: -0.9375rem;
  right: -2.9375rem;
}

.review-form-container {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 35px;
}

.avatar-upload-text {
  font-size: 10px !important;
}

.review-avatar-choose-text {
  white-space: nowrap;
}

.review-form-wrapper {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: row;
  gap: 18px;
}

.images-upload {
}

.form-group-avatar {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 90px;
  align-items: center;
}

.form-group label {
  white-space: nowrap;
  display: flex;
  gap: 5px;
}

.form-input {
  font-size: 16px;
}

.form-textarea {
}

.form-submit {
  font-size: 20px;
  height: 50px;
  width: 100%;
  max-width: 200px;
  border-radius: 3rem;
  color: #0b2341;
  border-radius: 50.675px;
  border: 3.62px solid #0b2341;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 55px;
  white-space: nowrap;
}

.first-word {
}
.sec-word {
}

/* 響應式：聯絡起吉區塊 - 平板及以上 */
@media (max-width: 1024px) {
  .contact-title-wrapper {
    gap: 1.25rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  .contact-title-wrapper::before,
  .contact-title-wrapper::after {
    width: 6.25rem;
  }

  .section-contact {
    background-size: 85%;
    background-position: 20rem 3rem;
  }

  .page-cta-btn {
    padding: 18px 18px 18px 24px;
  }
}

/* 響應式：聯絡起吉區塊 - 手機版 */
@media (max-width: 480px) {
  .section-contact {
    top: -36px;
  }

  .section-core-strategy,
  .section-advertising,
  .section-integrated-marketing {
    padding: 3.125rem 0;
    background-size: 100%;
    background-position: 3rem 2rem;
  }

  .section-contact-wagi {
    padding: 0 0 28px;
  }

  .contact-title-wrapper {
    gap: 0.75rem !important;
    margin-bottom: 10px !important;
  }

  .contact-title-wrapper::before,
  .contact-title-wrapper::after {
    width: 5.9375rem !important;
    height: 0.125rem !important;
    max-height: 1.375rem !important;
    min-height: auto !important;
  }

  .contact-title {
    font-size: 14px;
  }

  .contact-subtitle {
    font-size: 10px;
    margin-bottom: 0;
    line-height: 18.47px;
  }

  .btn-contact-form {
    padding: 0;
    font-size: 14px;
    font-weight: 700;
  }

  .btn-contact-form img {
    width: 25px;
    height: 26px;
  }

  .contact-finger-pointer {
    width: 1.5rem;
    height: 1.25rem;
    bottom: -0.5rem;
    right: -8px;
  }

  .contact-wrapper {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 342px;
    height: 68.02px;
    padding: 0;
    background: #ffdc37;
  }

  .contact-cta {
    width: 93px;
    height: 22px;
    padding: 0;
    background: #fff;
  }

  .file-input-wrapper {
    margin-bottom: 0 !important;
  }

  .form-group {
    font-size: 0.875rem;
    gap: 10px;
  }

  .form-group label {
    gap: 0;
  }

  .content-group {
    flex-direction: column;
    gap: 0;
  }

  .decoration-left {
    z-index: 5;
    position: absolute;
    width: 1.438rem;
    height: 1.75rem;
    left: -0.875rem;
    top: -0.938rem;
  }

  .decoration-right {
    position: absolute;
    right: -1.875rem;
    bottom: -0.625rem;
    width: 1.375rem;
    height: auto;
  }

  /* ============================================
	   費用 CTA 按鈕樣式(手機版)
	   ============================================ */

  .page-cta-wrapper {
    height: 20px;
    width: 100px;
    margin-top: 28px !important;
  }

  .page-cta-btn {
    font-size: 14px;
    gap: 14px;
    white-space: nowrap;
    justify-content: center;
    border: 1px solid #fff;
    width: 120px;
    height: 27px;
    padding: 3.834px 0 3.834px 5.367px;
  }

  .cta-icon {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   手风琴/FAQ 组件
   ======================================== */

[data-accordion] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-direction: column;
  align-items: center;
}

[data-accordion-item] {
  margin-bottom: 1rem;
  width: 100%;
  max-width: 1018px;
}

[data-accordion-trigger] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  color: #000;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
}

[data-accordion-trigger]:hover {
  background-color: #efefef;
}

[data-accordion-trigger] [data-accordion-icon] {
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

[data-accordion-content] {
  max-height: 0;
  transition: max-height 0.3s ease;
  padding: 0 1.25rem;
}

[data-accordion-content] p {
  margin: 0;
  color: #000;
  line-height: 1.6;
}

/* ========================================
   統一的可收合標題頭樣式
   ======================================== */

.collapsible-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff942b 0%, #ffdc37 100%);
  padding: 12px 0;
  gap: 40px;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 1182px;
}

.faq-accordion-wrapper {
  max-width: 1182px;
  width: 100%;
}

.section-case-studies .collapsible-header {
  width: 100%;
  max-width: 1182px;
  margin-bottom: 4.125rem;
}

.collapsible-title {
  color: #fff;
  margin: 0;
  font-weight: 400;
}

.section-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-toggle [data-icon] {
  width: 3.125rem;
  height: 3.125rem;
  transition: transform 0.3s ease;
}

.component-left-img {
  position: absolute;
  left: 0;
  height: 100%;
}

.component-right-img {
  position: absolute;
  right: 0;
  height: 100%;
}

.bottom-line-img {
  position: absolute;
  width: 98%;
  bottom: 8px;
}

/* ========================================
   好評推薦部件
   ======================================== */

.avatar-preview {
  width: 100% !important;
  height: auto !important;
}

.avatar-upload {
  width: 100% !important;
}

.reviews-content {
  width: 100%;
}

.reviews-header-wrapper {
  position: relative;
  max-width: 1182px;
  width: 100%;
}

.reviews-content {
  max-width: 1182px;
  width: 100%;
}

.reviews-header-decoration {
  position: absolute;
  right: 22%;
  top: 8%;
  transform: translateY(-50%);
  width: 12.8125rem;
  height: 8.625rem;
  object-fit: contain;
  pointer-events: none;
}

.file-input-wrapper {
  margin-bottom: 10px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
}

.add-images-btn {
  background: none !important;
  color: #004dff !important;
  border: none !important;
  padding: 0 !important;
  display: flex;
  gap: 4px;
  align-items: center;
}

.add-imges-btn-icom {
  width: 28px;
}

/* ========================================
   案例研究滑块组件
   ======================================== */

.section-case-studies {
  padding: 3.75rem 0;
}

.case-studies-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.75rem;
  width: 1182px;
  max-width: 1182px;
}

.case-study-card {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.case-study-card.active {
  display: block;
  opacity: 1;
}

.case-study-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.75rem;
  transition: transform 0.3s ease;
  display: block;
}

.case-study-card:hover img {
  transform: scale(1.01);
}

.case-study-name {
  font-size: 1rem;
  text-align: left;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.case-study-card:hover,
.case-study-name:hover {
  color: #ffcc00;
  text-decoration: none !important;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 27px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #0b2341;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background-color: #20285e;
}

/* ========================================
   常見問題/FAQ 組件
   ======================================== */

.section-faq {
  padding: 0 0 3.75rem;
}

/* --- 共用 FAQ 手風琴樣式（product-faq-*） --- */

.product-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.product-faq-item {
  transition: all var(--transition-base);
  width: 100%;
  max-width: 1054px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1054px;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 21.519px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-base);
}

/* 問題文字 - 橘到黃漸層 */
.product-faq-question {
  font-size: 24px;
  font-style: italic;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(90deg, #ffab36 0%, #ffd036 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* + 號圖示 */
.product-faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
  transform: skewX(-15deg);
}

.product-faq-icon::before,
.product-faq-icon::after {
  content: "";
  position: absolute;
  background: #ffab36;
  transition: transform var(--transition-base);
}

/* 橫線 */
.product-faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
}

/* 直線 */
.product-faq-icon::after {
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
}

/* 展開時直線旋轉 90 度（變成 - 號） */
.product-faq-item.active .product-faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

/* 內容區域 */
.product-faq-content {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.product-faq-item.active .product-faq-content {
  max-height: 500px;
  width: 100%;
  padding: 0 var(--spacing-xl) var(--spacing-lg);
}

.product-faq-content p {
  color: #000;
  line-height: var(--line-height-relaxed);
  margin: 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

/* FAQ 手風琴響應式 - 768px */
@media (max-width: 768px) {
  .product-faq-header {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}

/* ========================================
   评价/推荐组件
   ======================================== */

.section-reviews {
  padding: 3.75rem 0;
}

.no-reviews,
.form-title,
.review-name-seo-reviews {
  color: #000;
  font-weight: 500;
}

/* 輪播容器 */
.reviews-slider-wrapper {
  width: 100%;
  margin-bottom: 2.5rem;
}

.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.review-textarea-wrapper {
  width: 100%;
}

/* 卡片 */
.review-card {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 22.2px 0 rgba(0, 0, 0, 0.25);
}

.review-card__rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-sm);
}

.review-card__text {
  color: #000;
  font-size: 16px;
  line-height: var(--line-height-normal);
  flex: 1;
  margin: 0;
}

.review-card__images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--spacing-sm);
}

.review-card__divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: var(--spacing-md) 0;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__author-info {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-weight: var(--font-weight-bold);
  color: #000;
}

.review-card__account {
  font-size: var(--font-size-sm);
  color: #000;
}

/* 分頁點容器 */
.reviews-slider-dots {
  display: flex;
  justify-content: center;
  gap: 21px;
  margin-top: 38px;
}

.review-star {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.review-star:hover {
  transform: scale(1.1);
}

/* 表單 form-row */

.section-review-form {
  border-radius: 10px;
  border: 1px solid #a3a3a3;
  padding: 28px 48px 50px;
}
.form-row {
  display: flex;
  gap: var(--spacing-md);
}

.form-row .form-field {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}

.review-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-form h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #000;
}

.rating-input {
  display: flex;
  gap: 0;
  align-items: center;
}

.rating-input [data-star] {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0.25rem;
}

.rating-input [data-star]:hover {
  transform: scale(1.15);
}

.review-form-controls {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #ffab36;
  color: #000;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.photo-upload-btn:hover {
  background-color: #ff9800;
}

.photo-upload-btn input[type="file"] {
  display: none;
}

.submit-review-btn {
  margin-left: auto;
  padding: 0.75rem 2rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.submit-review-btn:hover {
  background-color: #333;
}

/* ========================================
   延伸阅读区块
   ======================================== */

.section-extended-reading {
  padding: 190px 0 204px;
  position: relative;
}

.extended-reading-header {
  position: relative;
  text-align: center;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.extended-reading-header-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 646px;
  width: 100%;
  height: 80px;
}

.extended-header-image {
  position: absolute;
  top: -30px;
}

.extended-reading-title {
  font-size: 1.75rem;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 1;
  align-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: row;
  gap: 18px;
}

.linear-gradient-title {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ff942b 0%, #ffdc37 100%);
  border-radius: 50%;
  width: 83px;
  height: 83px;
}

.extended-reading-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 69px 0 59px;
  max-width: 1440px;
  width: 100%;
}

.extended-reading-card {
  display: none !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14.9px 14.9px rgba(0, 0, 0, 0.15);
}

.extended-reading-card[data-slide] {
  flex-direction: column;
}

.extended-reading-card.active {
  display: flex !important;
  opacity: 1;
}

.extended-reading-image-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.extended-reading-image-link:hover {
  filter: brightness(1.2);
}

.extended-reading-image {
  width: 100%;
  height: 408px;
  object-fit: cover;
  display: block;
}

.extended-reading-empty {
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 1.5rem;
  padding: 0;
}

.extended-reading-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.extended-reading-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.extended-reading-post-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.extended-reading-date {
  font-size: 1.25rem;
  color: #000;
  white-space: nowrap;
  flex-shrink: 0;
}

.extended-reading-excerpt {
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.extended-reading-link {
  display: flex;
  color: #000;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  margin-top: auto;
  padding: 20px 60px;
  height: 60px;
  text-align: center;
  align-items: center;
  border-radius: 3rem;
  background: conic-gradient(
    from 270deg at 85.1% 50%,
    /* 角度 90 -> 270, 位置 14.9 -> 85.1 */ rgba(255, 242, 103, 0.72) 0deg,
    #ffac27 360deg
  );
}

.extended-reading-link:hover {
  color: #fff;
  text-decoration: none;
}

/* ========================================
   响应式：案例研究 好評推薦 延伸阅读滑块
   ======================================== */

@media (max-width: 1024px) {
  .section-case-studies .collapsible-header {
    width: 100%;
    margin-bottom: 18px;
    gap: 5px;
  }

  .case-studies-slider {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .extended-reading-slider {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem 0 0;
  }

  .case-study-card img {
    height: auto;
  }

  .case-study-name {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .reviews-slider {
    gap: 16px;
  }

  .extended-reading-title {
    gap: 5px;
  }

  .linear-gradient-title {
    width: 22.904px;
    height: 22.904px;
    font-size: 13px;
  }

  .collapsible-header {
    padding: 6px 0;
    gap: 5px;
    width: 100%;
    border-radius: 3px;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .section-toggle {
    right: 0;
  }

  .section-toggle [data-icon] {
    width: 17.5px;
    height: 17.5px;
  }

  .bottom-line-img {
    bottom: 3px;
  }

  .component-left-img {
    bottom: 0;
    height: 85%;
  }

  .section-case-studies {
    padding: 48px 0 32px;
  }

  .case-studies-slider {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 1rem;
  }

  .extended-reading-slider {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  /* 好評推薦組件樣式 */

  .section-review-form {
    padding: 19px;
    border-radius: 2.75px;
    border: 0.275px solid #a3a3a3;
  }
  .section-reviews {
    padding: 0 0 32px;
  }

  .reviews-header-decoration {
    width: 3.815rem;
    height: auto;
    top: 35%;
  }

  .reviews-slider {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    padding: var(--spacing-sm);
    border-radius: 2px;
    box-shadow: 0 4px 21.8px 0 rgba(0, 0, 0, 0.25);
  }

  .review-card__avatar {
    width: 24px;
    height: 24px;
  }

  .review-card__text {
    font-size: 10px !important;
    line-height: 14.4px !important;
  }

  .review-card__name {
    font-size: 12px;
  }

  .review-card__divider {
    margin: 6px 0;
  }

  .review-card__account {
    font-size: 8px;
  }

  .review-card--mobile-hidden {
    display: none !important;
    visibility: hidden !important;
  }

  .reviews-content {
    width: 100%;
  }

  .review-star {
    width: 1rem;
    height: 1rem;
  }

  .review-card__images {
    gap: 4px;
    margin-top: 4px;
  }

  .review-image-thumb {
    width: 20px !important;
    height: 20px !important;
    border-radius: 1px !important;
  }

  .form-row {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .review-form-container {
    gap: 10px;
    margin-top: 20px;
    flex-direction: column;
  }

  .review-form-controls {
    flex-direction: column;
  }

  .rating-input [data-star] {
    padding: 0;
    width: 16px;
    height: 16px;
  }

  .review-form {
    padding: 0;
    margin-top: 0;
    gap: 8px;
  }

  .form-group-avatar label {
    font-size: 10px;
  }

  .reviews-slider-dots {
    gap: 6px;
    margin-top: 22px;
  }

  .avatar-upload-text {
    font-size: 8px !important;
  }

  .review-note-text {
    font-size: 10px;
  }

  .file-input-wrapper {
    gap: 0;
  }

  .add-imges-btn-icom {
    width: 10px;
  }

  .add-images-btn {
    font-size: 13px !important;
  }

  .checkbox-label {
    margin-top: 10px;
    font-size: 12px;
    gap: 5px !important;
  }

  .checkbox-label input[type="checkbox"] {
    width: 15px;
    height: auto;
  }

  .form-submit {
    max-width: 75px;
    height: 30px;
  }

  .from-submit-btn {
    align-items: flex-start;
  }

  .form-group-avatar {
    gap: 8px;
  }

  .form-input {
    font-size: 0.875rem;
  }

  .form-submit {
    font-size: 14px;
    padding: 3px 12px;
    max-width: 90px;
    border: 1px solid #0b2341;
    letter-spacing: 4px;
  }

  .submit-review-btn {
    width: 100%;
    margin-left: 0;
  }

  /* ========================================
	   常見問題/FAQ 組件
	   ======================================== */

  .section-faq {
    padding: 0 0 60px;
  }

  .product-faq-item {
    max-width: 290px;
  }

  .product-faq-header {
    max-width: 290px;
    padding: 5px 10px;
    border-radius: 3px;
    box-shadow: 0 0 5.938px 0 rgba(0, 0, 0, 0.25);
  }

  .product-faq-question {
    font-size: 13px;
  }

  .product-faq-icon {
    width: 10px;
    height: 10px;
  }

  .product-faq-icon::before {
    height: 3px;
  }

  .product-faq-icon::after {
    width: 3px;
  }

  .product-faq-item.active .product-faq-content {
    padding: 0 var(--spacing-md) var(--spacing-md);
  }

  .product-faq-content p {
    font-size: var(--font-size-sm);
  }

  /* ================================
				延伸閱讀 部件
				================================*/
  .section-extended-reading {
    padding: 0 0 82px;
  }

  .extended-reading-header-container {
    height: 23px;
    max-width: 190px;
    margin-bottom: 8.55px;
  }

  .extended-reading-header {
    margin-bottom: 0;
    gap: 0;
  }

  .extended-reading-header::after,
  .extended-reading-header::before {
    height: 1px;
    background-image: repeating-linear-gradient(
      to right,
      #000 0,
      #000 5px,
      transparent 0px,
      transparent 7px
    );
  }

  .extended-reading-title {
    font-size: 12px;
    padding: 0;
    height: auto;
    width: auto;
  }

  .extended-header-image {
    height: auto;
    width: 115px;
    top: -13px;
  }

  .extended-reading-card {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  }

  .extended-reading-image {
    height: auto;
  }

  .extended-reading-post-title {
    font-size: 12px;
  }

  .extended-reading-date {
    font-size: 6px;
  }

  .extended-reading-excerpt {
    font-size: 8px;
  }

  .extended-reading-link {
    font-size: 15px;
    padding: 5px 18px;
    height: auto;
    align-self: center;
    background: radial-gradient(circle, #fff267 5%, #ffac27 100%);
  }

  .slider-dot {
    border: 1px solid #0b2341;
    width: 4px;
    height: 4px;
  }
}

/* ========================================
   商品展示輪播組件
   ======================================== */
.product-orange-title {
  font-size: 1.5rem;
  color: #ff942b;
  font-weight: 500;
  margin-bottom: 32px;
}
.section-product-showcase {
  padding-bottom: 36px;
  width: 100%;
}

.section-product-showcase .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 輪播包裝器 */
.product-carousel-wrapper {
  width: 100%;
  max-width: 1210px;
  margin-bottom: 3rem;
}

.product-carousel-wrapper:last-child {
  margin-bottom: 0;
}

/* 輪播標題 */
.product-carousel__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0b2341;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid #ffab36;
}

/* 輪播滑塊容器 */
.product-carousel__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

/* 商品卡片 */
.product-card {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  padding-bottom: 32px;
  max-width: 360px;
  width: 100%;
}

.product-card.active {
  display: block;
  opacity: 1;
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.product-card__link:hover {
  text-decoration: none;
}

/* 商品圖片 */
.product-card__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.product-card__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* 商品內容 */
.product-card__content {
  padding: 1.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 商品名稱 */
.product-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 商品價格 */
.product-card__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card__sale-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}

.product-card__regular-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b2341;
}

.product-card__regular-price--strikethrough {
  font-size: 1rem;
  color: #000;
  text-decoration: line-through;
}

.product-card__meta {
  color: #000;
  font-size: 12px;
}

/* 查看商品按鈕 */
.product-card__button {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #ff942b 0%, #ffdc37 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  align-content: center;
  text-align: center;
  width: 172px;
  height: 36px;
}

.product-card__link:hover .product-card__button {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 148, 43, 0.4);
}

/* 無商品提示 */
.product-carousel__empty {
  text-align: center;
  color: #666;
  font-size: 1rem;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 0.5rem;
}

/* 商品輪播分頁點樣式覆寫 */
.product-carousel-wrapper .slider-dots {
  margin-top: 28px;
}

.product-carousel-wrapper .slider-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: linear-gradient(90deg, #ff942b 0%, #ffdc37 100%);
  border: none;
}

/* 未點擊時：漸層外框 + 白色中空 */
.product-carousel-wrapper .slider-dot::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #fff;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

/* 點擊時：填滿漸層 */
.product-carousel-wrapper .slider-dot.active::before {
  opacity: 0;
}

/* ========================================
   商品展示輪播 - 響應式樣式
   ======================================== */

@media (max-width: 1024px) {
  .product-carousel__slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-carousel__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .slider-dots {
    margin-top: 12px;
    gap: 9px;
  }
  .product-card {
    max-width: 200px;
    height: 265px;
    padding-bottom: 19px;
  }
  .section-product-showcase {
    padding-bottom: 20px;
  }

  .product-carousel-wrapper {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
  }

  .product-card__image img {
    height: auto;
  }

  /* 手機版 Peek Carousel 樣式 */
  .product-carousel__slider {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
  }

  .product-carousel__slider .product-card {
    display: block !important;
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
  }

  .product-carousel__slider[data-items-per-page="3"] {
    /* 手機版使用 peek carousel 模式 */
  }

  .product-carousel__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    padding-left: 0.375rem;
    border-left-width: 3px;
  }

  /* 手機版：上圖下文，圖片比例 16:10 */
  .product-card__image {
  }

  .product-card__content {
    padding: 17px 0 8px;
  }

  .product-card__name {
    font-size: 12px !important;
  }

  .product-card__sale-price {
    font-size: 11px !important;
  }

  .product-card__regular-price {
    font-size: 1.125rem;
  }

  .product-card__regular-price--strikethrough {
    font-size: 8px;
  }

  .product-card__meta {
    font-size: 6px;
  }

  .product-card__button {
    width: 96px;
    height: 20px;
    font-size: 11px;
  }

  .product-carousel-wrapper .slider-dots {
    margin-top: 1.25rem;
    width: 100%;
  }

  .product-carousel-wrapper .slider-dot {
    width: 4px;
    height: 4px;
  }

  .product-carousel-wrapper .slider-dot::before {
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
  }
}

/* 全站淡入動畫 */
.reveal,
.fade-in {
  opacity: 0;
  will-change: opacity, transform;
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* --- 類型 A：由下往上淡出 --- */
.reveal {
  transform: translateY(30px);
}

/* --- 類型 B：原地淡出 (不位移) --- */
.fade-in {
  transform: none; /* 確保沒有位移 */
}

/* --- 啟動狀態 (JS 會幫你加上 .active) --- */
.reveal.active,
.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* 3. (選配) 如果想讓某些區塊慢一點點出現，可以額外加這個 */
.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-600 {
  transition-delay: 0.6s;
}

.delay-800 {
  transition-delay: 0.8s;
}

.delay-1000 {
  transition-delay: 1s;
}

.delay-1200 {
  transition-delay: 1.2s;
}

.delay-1400 {
  transition-delay: 1.4s;
}

.delay-1600 {
  transition-delay: 1.6s;
}

.delay-1800 {
  transition-delay: 1.8s;
}
