.elementor-25575 .elementor-element.elementor-element-9474c7f{--display:flex;}.elementor-25575 .elementor-element.elementor-element-7feed1c{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-0f573c9 *//* ===== 標題間距設定（h1 最大 → h6 最小） ===== */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  font-weight: 600;
  line-height: 1.4;
}
.blog-content h1 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  color: #c2410c;
  border-bottom: 3px solid #c2410c;
  padding-bottom: 0.5rem;
}
.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.875rem;
  color: #e07b1c;
  padding-left: 14px;
  border-left: 5px solid #e07b1c;
}
.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #c2640f;
}
.blog-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: #5c4a3a;
  position: relative;
  padding-left: 16px;
}
.blog-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: #c2640f;
  border-radius: 50%;
}
.blog-content h5 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #6b5847;
}
.blog-content h6 {
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #8a7561;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 段落間距，搭配標題使用 */
.blog-content p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* 避免標題緊接著上一個元素時還留多餘空白 */
.blog-content h1:first-child,
.blog-content h2:first-child,
.blog-content h3:first-child,
.blog-content h4:first-child,
.blog-content h5:first-child,
.blog-content h6:first-child {
  margin-top: 0;
}

/* 移除空段落（ ）造成的額外空間，以防舊內容殘留 */
.blog-content p:empty,
.blog-content p:has(> br:only-child) {
  margin: 0;
  height: 0;
  display: none;
}

/* ===== 表格樣式 ===== */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 15px;
  background: #fff;
  border: 1px solid #e8dcc8;
}

.blog-content table thead th {
  background: #f5efe6;
  color: #3a2e26;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #d99e3f;
}

.blog-content table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #ece4d8;
  color: #4a3a2c;
}

.blog-content table tbody tr:nth-child(odd) {
  background: #fdfbf7;
}

.blog-content table tbody tr:nth-child(even) {
  background: #fff;
}

.blog-content table tbody tr:hover {
  background: #f5e9d4;
}/* End custom CSS */