/* Start custom CSS for text-editor, class: .elementor-element-c747633 *//* 外層容器：不要背景色，保持俐落靠左 */
.emc-agency-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 獨立卡片基礎樣式 - 堅持無圓角、靠左對齊 */
.emc-agency-card {
  background-color: #ffffff;
  border-left: 5px solid #24465d; /* 主色 */
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  text-align: left;
  border-radius: 0 !important; /* 確保絕無圓角 */
}

/* 各卡片特殊配色調配 */
.emc-intro-card {
  border-left-color: #2d9cdb; /* 主要品牌色 */
}

.emc-cta-card {
  background-color: #f4f9fc;
  border-left-color: #123d58; /* 大標題深藍配色 */
}

/* 標題與字型樣式 */
.emc-agency-title {
  color: #123d58; /* 大標題深藍配色 */
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 20px 0;
  text-align: left;
}

.emc-agency-subtitle {
  color: #123d58;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-align: left;
}

.emc-agency-text {
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 12px 0;
}
.emc-agency-text:last-child {
  margin-bottom: 0;
}

.emc-agency-notice {
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* 模式卡片內部細節 */
.emc-mode-badge {
  display: inline-block;
  background-color: #24465d;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.emc-mode-name {
  color: #2d9cdb; /* 主要品牌色 */
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.emc-mode-meta {
  background-color: #f9f9f9;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid #2d9cdb;
}

.emc-meta-item {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 8px;
}
.emc-meta-item:last-child {
  margin-bottom: 0;
}
.emc-meta-item strong {
  color: #123d58;
}

.emc-mode-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* 內部超連結樣式優化 */
.emc-agency-card a {
  color: #2d9cdb;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px dashed #2d9cdb;
  transition: all 0.2s ease;
}

.emc-agency-card a:hover {
  color: #123d58;
  border-bottom-style: solid;
}

/* CTA 區塊與按鈕 */
.emc-cta-title {
  color: #123d58;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.emc-cta-text {
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.emc-cta-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emc-btn-primary, .emc-btn-secondary {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.emc-btn-primary {
  background-color: #2d9cdb !important;
  color: #ffffff !important;
}
.emc-btn-primary:hover {
  background-color: #123d58 !important;
}

.emc-btn-secondary {
  background-color: transparent !important;
  color: #24465d !important;
  border: 2px solid #24465d !important;
}
.emc-btn-secondary:hover {
  background-color: #24465d !important;
  color: #ffffff !important;
}

/* RWD 行動裝置優化：嚴防寬度爆出或左右過胖 */
@media (max-width: 768px) {
  .emc-agency-container {
    padding: 10px 15px; /* 合理的縮進，防止內容緊貼邊緣 */
  }
  
  .emc-agency-card {
    padding: 20px; /* 縮減內距，防止手機板視覺過於臃腫 */
    margin-bottom: 20px;
  }
  
  .emc-agency-title {
    font-size: 20px;
  }
  
  .emc-agency-subtitle, .emc-mode-name, .emc-cta-title {
    font-size: 18px;
  }
  
  .emc-agency-text, .emc-meta-item, .emc-mode-desc, .emc-cta-text {
    font-size: 14px;
  }
}

@media (min-width: 576px) {
  .emc-cta-action {
    flex-direction: row; /* 當螢幕寬度足夠時，按鈕橫向排列 */
  }
  .emc-btn-primary, .emc-btn-secondary {
    flex: 1;
    text-align: center;
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-97fc2cd *//* 大圖下方的全新容器：不帶背景、全靠左、無圓角 */
.emc-bottom-container {
  width: 100%;
  max-width: 850px;
  margin: 25px auto 0 auto;
  box-sizing: border-box;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 獨立卡片基礎樣式 */
.emc-bottom-card {
  background-color: #ffffff;
  border-left: 5px solid #24465d; 
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  text-align: left;
  border-radius: 0 !important; /* 嚴格無圓角 */
}

/* 四張卡片的側邊辨識色條 */
.emc-border-rule { border-left-color: #e06666; }       /* 限制/規則-紅色系 */
.emc-border-bonus { border-left-color: #f2c94c; }      /* 福利/招商-黃金色 */
.emc-border-support { border-left-color: #27ae60; }    /* 後勤/支援-安全綠 */
.emc-border-conclusion { border-left-color: #123d58; } /* 總結/喊話-品牌藍 */

/* 字體與內部排版細節 */
.emc-bottom-subtitle {
  color: #2d9cdb;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-align: left;
}

.emc-bottom-text {
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 12px 0;
}
.emc-bottom-text:last-child { margin-bottom: 0; }

/* 灰底內框（用於清單或重點條列） */
.emc-bottom-meta {
  background-color: #f9f9f9;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid #2d9cdb;
}

.emc-bottom-meta-item {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 8px;
}
.emc-bottom-meta-item:last-child { margin-bottom: 0; }
.emc-bottom-meta-item strong { color: #123d58; }

.emc-bottom-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* 重點文字強調色 */
.emc-highlight-text {
  color: #2d9cdb;
  font-weight: bold;
}

.emc-focus-word {
  color: #123d58;
  font-weight: 800;
  font-size: 20px;
  border-bottom: 2px solid #123d58;
  padding-bottom: 2px;
}

/* RWD 手機版防胖、防貼邊優化 */
@media (max-width: 768px) {
  .emc-bottom-container {
    padding: 0 15px;
  }
  .emc-bottom-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .emc-bottom-subtitle {
    font-size: 18px;
  }
  .emc-bottom-text, .emc-bottom-meta-item {
    font-size: 14px;
  }
}
/* 終極 CTA 外層容器：不要背景，靠左對齊 */
.emc-final-box {
  width: 100%;
  max-width: 850px;
  margin: 20px auto 0 auto;
  box-sizing: border-box;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 終極 CTA 卡片：大膽改用深藍背景與亮色文字形成強烈視覺對比 */
.emc-final-card {
  background-color: #123d58; /* 大標題深藍配色作為滿版底色 */
  border-left: 5px solid #2d9cdb; /* 主要品牌色作為提示線 */
  padding: 35px;
  box-shadow: 0 6px 16px rgba(18, 61, 88, 0.15);
  box-sizing: border-box;
  text-align: left;
  border-radius: 0 !important; /* 嚴格無圓角 */
}

/* 標題與內文 */
.emc-final-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.emc-final-text {
  color: #e0e6ed;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

/* 按鈕樣式：亮藍色塊，在深藍底色上極度顯眼 */
.emc-final-action {
  display: block;
  text-align: left;
}

.emc-final-btn {
  display: inline-block;
  background-color: #2d9cdb !important; /* 主要品牌色 */
  color: #ffffff !important;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 28px;
  text-decoration: none !important;
  border: none !important;
  transition: background-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 0 !important; /* 確保無圓角 */
}

.emc-final-btn:hover {
  background-color: #24465d !important; /* 懸停切換主色 */
}

/* RWD 手機版防胖優化 */
@media (max-width: 768px) {
  .emc-final-box {
    padding: 0 15px;
  }
  .emc-final-card {
    padding: 22px;
  }
  .emc-final-title {
    font-size: 18px;
  }
  .emc-final-text {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .emc-final-btn {
    display: block; /* 手機版按鈕撐滿，更好點擊 */
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
  }
}/* End custom CSS */