.elementor-13004 .elementor-element.elementor-element-3356dff{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--background-transition:0.3s;}/* Start custom CSS for text-editor, class: .elementor-element-ad3f299 *//* ==========================================================================
   億兆體育代理 獨立卡片式響應式樣式
   ========================================================================== */

/* 外部總容器（不帶背景，完美融合網頁原本背景） */
.yz-agency-container {
  width: 100%;
  max-width: 850px;
  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;
}

/* 獨立卡片通用基礎樣式 */
.yz-agency-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(18, 61, 88, 0.06);
  border: 1px solid rgba(45, 156, 219, 0.15);
  padding: 30px;
  margin-bottom: 25px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yz-agency-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 61, 88, 0.1);
}

/* 超連結視覺優化 */
.yz-agency-container a {
  color: #2d9cdb;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #2d9cdb;
  transition: all 0.2s ease;
}

.yz-agency-container a:hover {
  color: #24465d;
  border-bottom: 1px solid #24465d;
  opacity: 0.9;
}

/* 標題系統設定 */
.yz-agency-main-title {
  font-size: 26px;
  color: #123d58;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 700;
}
.yz-agency-main-title a {
  color: #123d58;
  border-bottom: none !important;
}

.yz-agency-section-title {
  font-size: 22px;
  color: #123d58;
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid #2d9cdb;
  font-weight: 700;
}
.yz-agency-section-title a {
  color: #123d58;
  border-bottom: none !important;
}

.yz-agency-sub-title {
  font-size: 18px;
  color: #24465d;
  margin-top: 15px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* 段落文字 */
.yz-agency-text {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 16px;
  text-align: justify;
}

/* 引言區塊 */
.yz-agency-quote {
  background-color: rgba(45, 156, 219, 0.05);
  border-left: 4px solid #24465d;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #24465d;
}
.yz-agency-author {
  display: block;
  text-align: right;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  margin-top: 8px;
}

/* 數據列表樣式 */
.yz-agency-highlight-box {
  background: #f8fbc2; /* 輕微提亮黃底增強視覺焦點 */
  background: rgba(45, 156, 219, 0.03);
  border: 1px solid rgba(45, 156, 219, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
}

.yz-agency-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.yz-agency-list li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
}
.yz-agency-list li:last-child {
  margin-bottom: 0;
}
.yz-agency-num {
  background: #24465d;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* 三欄網格配置 (現金版優勢) */
.yz-agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.yz-agency-grid-item {
  background: #ffffff;
  border: 1px solid rgba(36, 70, 93, 0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.yz-agency-grid-item h4 {
  margin: 8px 0 5px 0;
  color: #123d58;
  font-size: 16px;
}
.yz-agency-grid-item p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
.yz-agency-icon {
  font-size: 24px;
}

/* 五大強項列表 */
.yz-agency-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yz-agency-feature-item {
  padding: 12px 15px;
  background: #f9fbfd;
  border-radius: 6px;
  border-left: 3px solid #2d9cdb;
  font-size: 15px;
}

/* 活動卡片特製 */
.yz-agency-event {
  border: 2px solid #2d9cdb;
  position: relative;
  overflow: hidden;
}
.yz-agency-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #2d9cdb;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 12px;
  border-bottom-left-radius: 8px;
  font-weight: bold;
}
.yz-agency-event-box {
  background: rgba(45, 156, 219, 0.04);
  border-radius: 8px;
  padding: 20px;
  margin-top: 15px;
}
.yz-agency-event-list {
  padding-left: 20px;
  margin: 0 0 15px 0;
}
.yz-agency-event-list li {
  margin-bottom: 8px;
  font-size: 15px;
}
.yz-agency-date {
  font-size: 14px;
  color: #24465d;
  border-top: 1px dashed rgba(36, 70, 93, 0.2);
  padding-top: 12px;
}

/* 按鈕設計 */
.yz-agency-btn {
  display: inline-block;
  background: #2d9cdb;
  color: #ffffff !important;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(45, 156, 219, 0.3);
  border-bottom: none !important;
}
.yz-agency-btn:hover {
  background: #24465d;
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(36, 70, 93, 0.4);
}

/* ==========================================================================
   手機版響應式優化 RWD (防止過於肥胖與擠壓)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .yz-agency-container {
    padding: 10px; /* 縮小最外層間距避免留白過多 */
  }
  
  .yz-agency-card {
    padding: 20px 15px; /* 調整手機端的內部 padding，讓排版纖細不臃腫 */
    margin-bottom: 18px;
  }
  
  .yz-agency-main-title {
    font-size: 21px;
    margin-bottom: 15px;
  }
  
  .yz-agency-section-title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  
  .yz-agency-text {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* 手機端網格直接轉單欄，防止資訊擠壓變形 */
  .yz-agency-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .yz-agency-grid-item {
    padding: 12px;
  }
  
  .yz-agency-list li {
    font-size: 14px;
    align-items: flex-start;
  }
  .yz-agency-num {
    margin-top: 2px;
  }
  
  .yz-agency-feature-item {
    font-size: 14px;
    padding: 10px;
  }
  
  .yz-agency-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 20px;
  }
}/* End custom CSS */