/* Start custom CSS for section, class: .elementor-element-579affe */<style>
/* ==================== 根據範例頁面風格編寫的 CSS ==================== */
/* 參考頁面：https://naturetour.pw/things-to-consider-when-choosing-a-sleeping-bag/ */

/* ========== 品牌色彩變數 ========== */
:root {
  --primary-green: #548C00;
  --brand-gold: #FFD700;
  --light-gray: #F5F5F5;
}

/* ========== 文章主容器 ========== */
.elementor-widget-theme-post-content,
.elementor-widget-theme-post-content .elementor-post__content,
.entry-content,
.post-content,
article .wp-block-post-content {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 24px 20px !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #333 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

/* ========== 標題樣式 - 品牌綠色 ========== */
.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.post-content h1,
.post-content h2,
.post-content h3 {
  color: #FFD700 !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 24px !important;
  margin-bottom: 16px !important;
}

.elementor-widget-theme-post-content h1,
.entry-content h1,
.post-content h1 {
  font-size: 32px !important;
}

.elementor-widget-theme-post-content h2,
.entry-content h2,
.post-content h2 {
  font-size: 28px !important;
}

.elementor-widget-theme-post-content h3,
.entry-content h3,
.post-content h3 {
  font-size: 24px !important;
}

.elementor-widget-theme-post-content h4,
.entry-content h4,
.post-content h4 {
  font-size: 20px !important;
  color: #548C00 !important;
  font-weight: 600 !important;
  margin-top: 20px !important;
  margin-bottom: 12px !important;
}

.elementor-widget-theme-post-content h5,
.entry-content h5,
.post-content h5 {
  font-size: 18px !important;
  color: #548C00 !important;
  font-weight: 600 !important;
}

.elementor-widget-theme-post-content h6,
.entry-content h6,
.post-content h6 {
  font-size: 16px !important;
  color: #548C00 !important;
  font-weight: 600 !important;
}

/* ========== 段落 ========== */
.elementor-widget-theme-post-content p,
.entry-content p,
.post-content p {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

/* ========== 圖片 - 自然融入，無邊框 ========== */
.elementor-widget-theme-post-content img,
.entry-content img,
.post-content img,
.wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 24px auto !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 圖片容器 */
.elementor-widget-theme-post-content figure,
.entry-content figure,
.post-content figure,
.wp-block-image {
  margin: 24px 0 !important;
}

/* 圖片說明文字 */
.elementor-widget-theme-post-content figcaption,
.entry-content figcaption,
.post-content figcaption,
.wp-element-caption {
  font-size: 14px !important;
  color: #666 !important;
  text-align: center !important;
  margin-top: 8px !important;
  font-style: italic !important;
}

/* ========== 列表 ========== */
.elementor-widget-theme-post-content ul,
.entry-content ul,
.post-content ul {
  margin: 24px 0 !important;
  padding-left: 40px !important;
  list-style-type: disc !important;
}

.elementor-widget-theme-post-content ol,
.entry-content ol,
.post-content ol {
  margin: 24px 0 !important;
  padding-left: 40px !important;
  list-style-type: decimal !important;
}

.elementor-widget-theme-post-content li,
.entry-content li,
.post-content li {
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

/* 嵌套列表 */
.elementor-widget-theme-post-content ul ul,
.elementor-widget-theme-post-content ol ul,
.entry-content ul ul,
.entry-content ol ul {
  list-style-type: circle !important;
}

.elementor-widget-theme-post-content ul ol,
.elementor-widget-theme-post-content ol ol,
.entry-content ul ol,
.entry-content ol ol {
  list-style-type: lower-alpha !important;
}

/* ========== 連結 ========== */
.elementor-widget-theme-post-content a,
.entry-content a,
.post-content a {
  color: #548C00 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.elementor-widget-theme-post-content a:hover,
.entry-content a:hover,
.post-content a:hover {
  color: #6ba515 !important;
}

/* ========== 引用 ========== */
.elementor-widget-theme-post-content blockquote,
.entry-content blockquote,
.post-content blockquote {
  margin: 24px 0 !important;
  padding: 16px 24px !important;
  border-left: 4px solid #548C00 !important;
  background: #f9f9f9 !important;
  font-style: italic !important;
  color: #555 !important;
}

.elementor-widget-theme-post-content blockquote p,
.entry-content blockquote p,
.post-content blockquote p {
  margin-bottom: 0 !important;
}

/* ========== 粗體和斜體 ========== */
.elementor-widget-theme-post-content strong,
.elementor-widget-theme-post-content b,
.entry-content strong,
.entry-content b,
.post-content strong,
.post-content b {
  font-weight: 600 !important;
}

.elementor-widget-theme-post-content em,
.elementor-widget-theme-post-content i,
.entry-content em,
.entry-content i,
.post-content em,
.post-content i {
  font-style: italic !important;
}

/* ========== 分隔線 ========== */
.elementor-widget-theme-post-content hr,
.entry-content hr,
.post-content hr {
  margin: 24px 0 !important;
  border: none !important;
  border-top: 1px solid #ddd !important;
  height: 0 !important;
}

/* ========== 表格 ========== */
.elementor-widget-theme-post-content table,
.entry-content table,
.post-content table {
  width: 100% !important;
  margin: 24px 0 !important;
  border-collapse: collapse !important;
  border: 1px solid #ddd !important;
}

.elementor-widget-theme-post-content table th,
.entry-content table th,
.post-content table th {
  background: #f5f5f5 !important;
  color: #548C00 !important;
  padding: 12px !important;
  text-align: left !important;
  font-weight: 600 !important;
  border: 1px solid #ddd !important;
}

.elementor-widget-theme-post-content table td,
.entry-content table td,
.post-content table td {
  padding: 12px !important;
  border: 1px solid #ddd !important;
}

.elementor-widget-theme-post-content table tr:nth-child(even),
.entry-content table tr:nth-child(even),
.post-content table tr:nth-child(even) {
  background: #fafafa !important;
}

/* ========== 程式碼 ========== */
.elementor-widget-theme-post-content code,
.entry-content code,
.post-content code {
  background: #f5f5f5 !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 0.9em !important;
  color: #c7254e !important;
}

.elementor-widget-theme-post-content pre,
.entry-content pre,
.post-content pre {
  background: #f5f5f5 !important;
  padding: 16px !important;
  border-radius: 4px !important;
  overflow-x: auto !important;
  margin: 24px 0 !important;
  border: 1px solid #ddd !important;
}

.elementor-widget-theme-post-content pre code,
.entry-content pre code,
.post-content pre code {
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
}

/* ========== 響應式設計 ========== */
@media (max-width: 1024px) {
  .elementor-widget-theme-post-content,
  .entry-content,
  .post-content {
    max-width: 100% !important;
    padding: 20px 16px !important;
  }
}

@media (max-width: 767px) {
  .elementor-widget-theme-post-content,
  .entry-content,
  .post-content {
    font-size: 15px !important;
    padding: 16px 12px !important;
  }

  .elementor-widget-theme-post-content h1,
  .entry-content h1 {
    font-size: 28px !important;
  }

  .elementor-widget-theme-post-content h2,
  .entry-content h2 {
    font-size: 24px !important;
  }

  .elementor-widget-theme-post-content h3,
  .entry-content h3 {
    font-size: 20px !important;
  }

  .elementor-widget-theme-post-content h4,
  .entry-content h4 {
    font-size: 18px !important;
  }
}

/* ========== WordPress 區塊編輯器支援 ========== */
.wp-block-group,
.wp-block-columns {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.wp-block-separator {
  margin: 24px 0 !important;
}

/* ========== 清除預設樣式 ========== */
.elementor-widget-theme-post-content > *:first-child,
.entry-content > *:first-child,
.post-content > *:first-child {
  margin-top: 0 !important;
}

.elementor-widget-theme-post-content > *:last-child,
.entry-content > *:last-child,
.post-content > *:last-child {
  margin-bottom: 0 !important;
}
</style>/* End custom CSS */