/* Start custom CSS for text-editor, class: .elementor-element-c747633 *//* ==========================================================================
   亞博代理優化樣式表 (獨立卡片式設計)
   主色:#24465d | 品牌色:#2d9cdb | 深藍大標題:#123d58
   ========================================================================== */

/* 最外層包裹容器：無背景色，自適應頁面 */
.yabo-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.7;
}

/* 獨立卡片通用基礎樣式 */
.yabo-hero-card,
.yabo-feature-card,
.yabo-table-card,
.yabo-notice-card,
.yabo-step-card,
.yabo-benefit-card,
.yabo-resource-card,
.yabo-cta-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 16px rgba(36, 70, 93, 0.08);
  border: 1px solid rgba(45, 156, 219, 0.15);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yabo-hero-card:hover,
.yabo-feature-card:hover,
.yabo-table-card:hover,
.yabo-notice-card:hover,
.yabo-step-card:hover,
.yabo-benefit-card:hover,
.yabo-resource-card:hover,
.yabo-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 70, 93, 0.12);
}

/* 標題配色 */
.yabo-main-title {
  color: #123d58;
  font-size: 26px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.yabo-section-title {
  color: #123d58;
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 5px solid #2d9cdb;
}

.yabo-section-subtitle {
  color: #24465d;
  font-size: 16px;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* 內文超連結設計 */
.yabo-inline-link {
  color: #2d9cdb;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #2d9cdb;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.yabo-inline-link:hover {
  color: #24465d;
  border-bottom-style: solid;
  border-color: #24465d;
}

/* 前言卡片特殊樣式 */
.yabo-hero-sub {
  font-size: 17px;
  color: #24465d;
  margin: 0;
}

/* 四宮格區塊佈局 */
.yabo-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.yabo-grid-item {
  background: #f8fbfe;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(45, 156, 219, 0.08);
}

.yabo-item-title {
  color: #24465d;
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
}

.yabo-item-desc {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

/* 回應式表格設計 */
.yabo-table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.yabo-custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  min-width: 600px;
}

.yabo-custom-table th {
  background-color: #24465d;
  color: #ffffff;
  padding: 14px;
  font-weight: 600;
}

.yabo-custom-table td {
  padding: 14px;
  border-bottom: 1px solid #eeeeee;
  color: #444444;
}

.yabo-custom-table tr:last-child td {
  border-bottom: none;
}

.yabo-custom-table tr:nth-child(even) {
  background-color: #fcfdfe;
}

.yabo-highlight-cell {
  color: #123d58 !important;
  font-weight: bold;
}

.yabo-table-note {
  font-size: 13px;
  color: #666666;
  margin-top: 12px;
  margin-bottom: 0;
}

/* 強調提示卡片 */
.yabo-notice-card {
  background: linear-gradient(135deg, #f0f7bc 0%, #e6f3ff 100%);
  border-left: 6px solid #2d9cdb;
}

.yabo-notice-text {
  font-size: 16px;
  color: #123d58;
  margin: 0;
}

/* 步驟流程樣式 */
.yabo-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.yabo-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.yabo-step-num {
  background-color: #2d9cdb;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.yabo-timeline-item p {
  margin: 0;
  font-size: 16px;
  color: #333333;
}

/* 清單與標籤樣式 */
.yabo-bullet-list {
  padding-left: 20px;
  margin: 0 0 15px 0;
}

.yabo-bullet-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333333;
}

.yabo-benefit-note {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

.yabo-badge-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yabo-badge {
  background-color: #f0f4f8;
  border-left: 4px solid #24465d;
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: #24465d;
  font-weight: 500;
}

/* 搜尋疑問框 */
.yabo-cta-desc {
  font-size: 16px;
  margin-bottom: 25px;
}

.yabo-faq-box {
  background-color: #f9f9f9;
  border: 1px dashed #cccccc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.yabo-faq-title {
  font-weight: 700;
  color: #123d58;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.yabo-faq-subtitle {
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #666666;
}

.yabo-faq-tags {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yabo-faq-tags li {
  margin-bottom: 8px;
  color: #555555;
  font-size: 14px;
  position: relative;
  padding-left: 15px;
}

.yabo-faq-tags li::before {
  content: "•";
  color: #2d9cdb;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 結尾行動呼籲 (CTA) 核心視覺區 */
.yabo-action-area {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(45, 156, 219, 0.2);
}

.yabo-action-text {
  font-size: 16px;
  font-weight: bold;
  color: #123d58;
  margin-top: 0;
  margin-bottom: 20px;
}

/* 搶眼按鈕 */
.yabo-main-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2d9cdb 0%, #24465d 100%);
  color: #ffffff !important;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(45, 156, 219, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.yabo-main-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(45, 156, 219, 0.6);
  background: linear-gradient(135deg, #3fa9e5 0%, #1c374a 100%);
}

.yabo-sub-links {
  margin-top: 20px;
  font-size: 13px;
  color: #999999;
}

.yabo-sub-links a {
  color: #666666;
  text-decoration: none;
  margin: 0 5px;
}

.yabo-sub-links a:hover {
  color: #2d9cdb;
}

/* ==========================================================================
   手機版回應式格式調整 (RWD Padding / Layout 優化)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* 縮小手機版的內縮外距，防止版面過於厚重 */
  .yabo-wrapper {
    padding: 10px;
  }
  
  .yabo-hero-card,
  .yabo-feature-card,
  .yabo-table-card,
  .yabo-notice-card,
  .yabo-step-card,
  .yabo-benefit-card,
  .yabo-resource-card,
  .yabo-cta-card {
    padding: 20px 15px; /* 降低 Padding，提供更好閱讀視野 */
    margin-bottom: 18px;
  }

  .yabo-main-title {
    font-size: 22px;
  }

  .yabo-section-title {
    font-size: 19px;
  }

  /* 雙排改單排佈局 */
  .yabo-grid-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* 表格轉換為手機版卡片條列式 */
  .yabo-custom-table, 
  .yabo-custom-table tbody, 
  .yabo-custom-table tr, 
  .yabo-custom-table td {
    display: block;
    width: 100%;
  }

  .yabo-custom-table thead {
    display: none; /* 隱藏傳統表頭 */
  }

  .yabo-custom-table tr {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
  }

  .yabo-custom-table tr:nth-child(even) {
    background-color: #ffffff;
  }

  .yabo-custom-table td {
    text-align: right;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .yabo-custom-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #24465d;
    text-align: left;
  }

  .yabo-custom-table td:last-child {
    border-bottom: none;
  }
  
  /* 按鈕大小調整 */
  .yabo-main-btn {
    font-size: 17px;
    padding: 14px 25px;
    width: 100%;
    box-sizing: border-box;
  }
}/* End custom CSS */