.elementor-30313 .elementor-element.elementor-element-30fd266b{--display:flex;}.elementor-30313 .elementor-element.elementor-element-405928fb > .elementor-widget-container{margin:-1px -1px -1px -1px;}/* Start custom CSS for text-editor, class: .elementor-element-405928fb *//* ==========================================
   9j 娛樂城 × RSG皇家電子 專屬視覺樣式表
   特點：全直角、靠左對齊、透明底、RWD精算版
   ========================================== */

/* 全域外部容器（無底色，完美融合原網頁背景） */
.nj-rsg-main-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
  color: #222222;
  text-align: left !important; /* 確保全域絕對靠左 */
}

/* 網頁大標題樣式 */
.nj-rsg-global-title {
  font-size: 28px;
  color: #0D4A63; /* 主色：海軍藍 */
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 35px;
  padding-left: 16px;
  border-left: 6px solid #D8C67A; /* 配色：金黃 */
  font-weight: 800;
  text-align: left !important;
}

/* 獨立一般卡片式架構 */
.nj-rsg-feature-card {
  background-color: #ffffff;
  border: 1px solid #E5ECF0;
  border-left: 5px solid #0D4A63; /* 主色側邊條 */
  padding: 28px 32px;
  margin-bottom: 25px;
  border-radius: 0px !important; /* 嚴格直角 */
  box-shadow: 0 4px 15px rgba(13, 74, 99, 0.03);
  box-sizing: border-box;
  text-align: left !important;
}

/* 前導卡片的特殊邊框配色 */
.nj-rsg-intro-border {
  border-left-color: #A98B3F !important; /* 輔助色側邊條 */
}

/* 卡片內大標題 */
.nj-rsg-content-h2 {
  font-size: 21px;
  color: #0D4A63;
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left !important;
}

/* 卡片內小標題 (遊戲款式) */
.nj-rsg-content-h3 {
  font-size: 17px;
  color: #A98B3F; /* 輔助色金 */
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: left !important;
  border-bottom: 1px dashed #E5ECF0;
  padding-bottom: 6px;
}

/* 內容段落 */
.nj-rsg-body-inner p {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin-top: 0;
  margin-bottom: 16px;
  text-align: left !important;
}

/* 條列清單樣式 */
.nj-rsg-bullet-list {
  margin: 0 0 20px 0;
  padding-left: 18px;
  list-style-type: square;
}

.nj-rsg-bullet-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 12px;
  text-align: left !important;
}

.nj-rsg-bullet-list li strong {
  color: #0D4A63; /* 點列重點用主色強化 */
}

/* 內文超連結樣式 */
.nj-rsg-body-inner a {
  color: #0D4A63;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #D8C67A; /* 金黃下底線 */
  transition: all 0.2s ease;
}

.nj-rsg-body-inner a:hover {
  background-color: #D8C67A;
  color: #0D4A63;
}

/* ==========================================
   結尾全新明亮色 CTA 導購卡片
   ========================================== */
.nj-rsg-action-zone {
  background-color: #F4F8FA; /* 改用明亮清爽的極淺藍底色 */
  border: 1px solid #E1EDF2;
  border-left: 5px solid #A98B3F; /* 側邊改用金黃輔助色 */
  padding: 35px;
  margin-top: 35px;
  margin-bottom: 15px;
  border-radius: 0px !important; /* 嚴格直角 */
  box-shadow: 0 6px 20px rgba(13, 74, 99, 0.05);
  box-sizing: border-box;
  text-align: left !important;
}

.nj-rsg-action-h2 {
  font-size: 23px;
  color: #0D4A63;
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 700;
  text-align: left !important;
}

/* 按鈕排列容器 */
.nj-rsg-button-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
}

/* 膠囊按鈕 1：主色深藍底 + 純白字 (解決吃字問題) */
.nj-rsg-btn-main {
  display: inline-block;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none !important;
  text-align: center;
  border-radius: 50px !important; /* 膠囊流線型 */
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.25s ease;
  
  background-color: #0D4A63 !important;
  color: #ffffff !important; /* 強制高對比純白字 */
  border: 2px solid #0D4A63 !important;
  box-shadow: 0 4px 12px rgba(13, 74, 99, 0.15);
}

.nj-rsg-btn-main:hover {
  background-color: #A98B3F !important; /* 懸停換成金黃輔助色 */
  border-color: #A98B3F !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 膠囊按鈕 2：透明底 + 主色深藍框 + 主色深藍字 */
.nj-rsg-btn-sub {
  display: inline-block;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none !important;
  text-align: center;
  border-radius: 50px !important; /* 膠囊流線型 */
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.25s ease;

  background-color: transparent !important;
  color: #0D4A63 !important; /* 高對比海軍藍字 */
  border: 2px solid #0D4A63 !important;
}

.nj-rsg-btn-sub:hover {
  background-color: #0D4A63 !important;
  color: #ffffff !important; /* 懸停時反白 */
  transform: translateY(-2px);
}

/* 提示小字 */
.nj-rsg-action-tip {
  font-size: 14px !important;
  font-style: italic;
  color: #667A85 !important;
  margin-top: 15px;
}

/* ==========================================
   RWD 手機版精算優化 (防過度肥胖)
   ========================================== */
@media screen and (max-width: 768px) {
  .nj-rsg-main-wrapper {
    padding: 15px 12px; /* 緊湊兩側邊距 */
  }
  
  .nj-rsg-global-title {
    font-size: 22px;
    padding-left: 12px;
    margin-bottom: 25px;
  }
  
  .nj-rsg-feature-card {
    padding: 20px 20px; /* 手機版防臃腫 Padding 調整 */
    margin-bottom: 18px;
  }
  
  .nj-rsg-content-h2 {
    font-size: 18px;
    margin-bottom: 14px;
  }
  
  .nj-rsg-content-h3 {
    font-size: 15px;
    margin-top: 20px;
  }
  
  .nj-rsg-body-inner p, 
  .nj-rsg-bullet-list li {
    font-size: 14px;
    line-height: 1.65;
  }
  
  .nj-rsg-action-zone {
    padding: 25px 20px;
  }
  
  .nj-rsg-action-h2 {
    font-size: 19px;
  }
  
  .nj-rsg-button-container {
    flex-direction: column; /* 手機版按鈕垂直排列，防擠壓變形 */
    width: 100%;
    gap: 12px;
  }
  
  .nj-rsg-btn-main,
  .nj-rsg-btn-sub {
    width: 100%; /* 全寬撐滿，操作體感更佳 */
    padding: 12px 15px;
    font-size: 15px;
  }
}/* End custom CSS */