/* Start custom CSS for text-editor, class: .elementor-element-c747633 *//* ==========================================================================
   娛樂城代理全攻略 專屬樣式表 (獨立卡片無圓角、完全靠左)
   主色：#24465d | 主要品牌色：#2d9cdb | 大標題深藍：#123d58
   ========================================================================== */

/* 最外層基底，不帶背景色 */
.yz-agent-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
  color: #333333;
  line-height: 1.7;
  text-align: left !important;
}

/* 獨立卡片式區塊 - 無圓角、靠左對齊 */
.yz-card-block {
  background-color: #ffffff;
  border: 1px solid #e1e8ed;
  border-left: 5px solid #2d9cdb; /* 使用品牌色作為區塊強調左邊線 */
  padding: 30px;
  margin-bottom: 25px;
  text-align: left !important;
  box-sizing: border-box;
}

/* 標題樣式 */
.yz-main-title {
  color: #123d58;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.4;
  text-align: left !important;
}

.yz-sub-title {
  color: #24465d;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
  text-align: left !important;
}

.yz-section-title {
  color: #123d58;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e1e8ed;
  text-align: left !important;
}

.yz-sub-block-title {
  color: #24465d;
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 15px 0;
  text-align: left !important;
}

/* 段落與高亮字 */
.yz-intro-text {
  font-size: 16px;
  color: #4a5568;
  margin: 0;
  text-align: left !important;
}

.yz-normal-p {
  font-size: 16px;
  margin: 0 0 15px 0;
  text-align: left !important;
}

.yz-subtitle-note {
  font-size: 14px;
  color: #718096;
  margin: -15px 0 20px 0;
  text-align: left !important;
}

.yz-highlight-bar {
  background-color: #f0f8ff;
  color: #123d58;
  padding: 12px 15px;
  font-weight: 600;
  border-left: 3px solid #2d9cdb;
  margin: 0 0 20px 0;
  text-align: left !important;
}

.yz-bold-text {
  font-weight: 600;
  color: #123d58;
}

/* 內部超連結優化 */
.yz-inline-link {
  color: #2d9cdb;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #2d9cdb;
  transition: all 0.2s ease;
}

.yz-inline-link:hover {
  color: #123d58;
  border-bottom-style: solid;
  background-color: rgba(45, 156, 219, 0.08);
}

/* 列表樣式 - 完全靠左 */
.yz-feature-list, .yz-inner-list, .yz-ordered-list {
  margin: 0 0 20px 0;
  padding-left: 20px;
  text-align: left !important;
}

.yz-feature-list li, .yz-inner-list li {
  list-style-type: square;
  margin-bottom: 8px;
  color: #4a5568;
  text-align: left !important;
}

.yz-inner-list li {
  list-style-type: circle;
}

.yz-ordered-list li {
  margin-bottom: 12px;
  color: #4a5568;
  text-align: left !important;
}

/* 引用提示區塊 */
.yz-quote-box {
  background-color: #f7fafc;
  border-left: 4px solid #24465d;
  padding: 15px;
  margin: 20px 0 0 0;
  font-weight: 600;
  color: #24465d;
  text-align: left !important;
}

/* 網格區塊 (條件 4項目) */
.yz-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 0;
}

.yz-grid-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 15px;
  text-align: left !important;
}

.yz-item-title {
  color: #24465d;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-size: 16px;
}

.yz-grid-item p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
}

/* 自訂特殊精修區塊 */
.yz-step-box {
  margin-top: 20px;
  padding: 15px 0 0 0;
  border-top: 1px dashed #e2e8f0;
}

.yz-step-headline {
  font-weight: 600;
  color: #123d58;
  margin: 15px 0 8px 0;
}

.yz-solution-box {
  display: flex;
  align-items: center;
  background-color: #e6fffa;
  border: 1px solid #b2f5ea;
  padding: 12px 15px;
  margin-top: 15px;
}

.yz-badge {
  background-color: #319795;
  color: #ffffff;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 15px;
  flex-shrink: 0;
}

.yz-solution-box p {
  margin: 0;
  color: #234e52;
  font-weight: 600;
}

/* 流程清單樣式 */
.yz-process-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.yz-process-step {
  display: flex;
  align-items: flex-start;
  background-color: #f8fafc;
  padding: 15px;
  border: 1px solid #e2e8f0;
}

.yz-step-number {
  background-color: #2d9cdb;
  color: #ffffff;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 14px;
}

.yz-step-content {
  margin: 0;
  color: #4a5568;
  font-size: 15px;
}

/* 響應式表格全面優化 */
.yz-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}

.yz-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left !important;
  font-size: 15px;
}

.yz-data-table th {
  background-color: #24465d;
  color: #ffffff;
  padding: 12px;
  font-weight: 600;
  border: 1px solid #24465d;
  white-space: nowrap;
}

.yz-data-table td {
  padding: 12px;
  border: 1px solid #e1e8ed;
  color: #4a5568;
}

.yz-data-table tr:nth-child(even) {
  background-color: #fdfdfd;
}

/* QA 問答樣式 */
.yz-qa-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 15px;
}

.yz-qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.yz-qa-question {
  font-weight: 700;
  color: #123d58;
  margin: 0 0 8px 0;
  font-size: 16px;
}

.yz-qa-answer {
  margin: 0;
  color: #4a5568;
  padding-left: 5px;
}


/* ==========================================================================
   手機版 RWD 格式微調 (優化 padding 防肥胖)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .yz-agent-wrapper {
    padding: 10px; /* 縮小外部間距 */
  }

  .yz-card-block {
    padding: 20px 15px; /* 縮小卡片內部 Padding，精準顯瘦 */
    margin-bottom: 15px;
  }

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

  .yz-sub-title {
    font-size: 17px;
  }

  .yz-section-title {
    font-size: 18px;
  }

  .yz-grid-layout {
    grid-template-columns: 1fr; /* 寬度不足時切換為單欄 */
    gap: 10px;
  }

  .yz-data-table th, .yz-data-table td {
    padding: 8px 10px; /* 縮減表格內襯格 */
    font-size: 14px;
  }
  
  .yz-solution-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}/* End custom CSS */