/**
 * 瑞奇好未來，品牌用色唯一來源（light-brand.css）
 * 說明文件：docs/BRAND_COLORS.md
 */

@import url("light-typography.css");
@import url("light-site-fixes.css");
@import url("light-mobile-layout.css");

:root {
  /* 一千本人版：知性藍＋大地色（見 色卡_內在導航_一千本人版_改色對照表.md） */
  --rgf-cream: #f7f5f0;
  --rgf-cream-deep: #efebe2;
  --rgf-white: #ffffff;
  --rgf-gold: #ce592f;
  --rgf-gold-deep: #a8431f;
  --rgf-gold-soft: #e8c7b5;
  --rgf-navy: #345e76;
  --rgf-navy-footer: #1e333d;
  --rgf-muted: #5a6b73;
  --rgf-border: #dbd3c9;
  --rgf-shadow: rgba(38, 66, 79, 0.1);
  --rgf-primary: #467c9a;
  --rgf-accent: #83c7ff;
  --rgf-purple: var(--rgf-primary);
  --rgf-purple-glow: rgba(131, 199, 255, 0.22);
  --rgf-accent-glow: var(--rgf-purple-glow);
  --rgf-deep: #26424f;

  /* 相容舊變數名 */
  --light-cream: var(--rgf-cream);
  --light-cream-deep: var(--rgf-cream-deep);
  --light-white: var(--rgf-white);
  --light-gold: var(--rgf-gold);
  --light-gold-deep: var(--rgf-gold-deep);
  --light-gold-soft: var(--rgf-gold-soft);
  --light-navy: var(--rgf-navy);
  --light-dark: var(--rgf-navy-footer);
  --light-muted: var(--rgf-muted);
  --light-deep: var(--rgf-deep);
  --light-purple: var(--rgf-purple);
  --light-primary: var(--rgf-primary);
  --light-accent: var(--rgf-accent);
}

/* ── Blocksy 主題色票 ── */
body {
  --theme-palette-color-1: var(--rgf-primary);
  --theme-palette-color-2: var(--rgf-cream);
  --theme-palette-color-5: var(--rgf-gold);
  --theme-palette-color-9: var(--rgf-border);
  background-color: var(--rgf-cream) !important;
  color: var(--rgf-navy);
}

#page,
.site-main {
  background-color: var(--rgf-cream) !important;
}

/* ── 導覽列：淺金底 + 深藍字（非深藍底） ── */
.ct-header,
.ct-header [data-row="middle"],
.ct-header [data-row="top"],
.ct-header [data-row="bottom"],
#header.ct-header .ct-sticky-container,
#header.ct-header [data-row] {
  background-color: var(--rgf-cream) !important;
  background-image: none !important;
}

.ct-header {
  border-bottom: 1px solid var(--rgf-border);
  box-shadow: 0 1px 0 var(--rgf-shadow);
}

.ct-header .ct-menu-link,
.ct-header .site-title,
.ct-header .ct-toggle,
.ct-header-trigger {
  color: var(--rgf-navy) !important;
}

.ct-header .ct-menu-link:hover,
.ct-header .current-menu-item > .ct-menu-link,
.ct-header .current_page_item > .ct-menu-link {
  color: var(--rgf-gold-deep) !important;
}

.ct-panel.ct-header,
.ct-panel.ct-header .ct-panel-inner {
  background-color: var(--rgf-cream) !important;
}

.ct-panel.ct-header .ct-menu-link {
  color: var(--rgf-navy) !important;
}

.site-branding[data-id="logo"] .default-logo {
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 隱藏會員／購物車 */
.ct-header-cart,
.menu-item-27887,
.menu-item-27888,
.menu-item-27889,
.menu-item-31302,
.menu-item-29540 {
  display: none !important;
}

/* 頁尾社群：YouTube / Threads / Instagram 並排顯示 */
.elementor-location-footer a[href*="threads.com"],
footer.elementor-location-footer .elementor-icon[href*="threads.com"] {
  display: inline-flex !important;
  visibility: visible !important;
}

.elementor-location-footer .fa-threads::before {
  font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", sans-serif;
  font-weight: 400;
}

/* ── Elementor 全站色票 ── */
.elementor-kit-27562,
.elementor-30827,
.elementor-31075,
.elementor-31541,
.elementor-30344 {
  --e-global-color-blocksy_palette_1: var(--rgf-primary) !important;
  /* palette_2：知性米白，僅作區塊背景，不作文字色 */
  --e-global-color-blocksy_palette_2: var(--rgf-cream) !important;
  --e-global-color-blocksy_palette_3: var(--rgf-muted) !important;
  --e-global-color-blocksy_palette_5: var(--rgf-gold) !important;
  --e-global-color-blocksy_palette_6: var(--rgf-white) !important;
  /* palette_8：導航藍深，作主內文字色 */
  --e-global-color-blocksy_palette_8: var(--rgf-navy) !important;
  --e-global-color-blocksy_palette_9: var(--rgf-border) !important;
}

/* ═══════════════════════════════════════
   文字色（一次修正：淺底深藍字、深底白字）
   ═══════════════════════════════════════ */

.elementor-30827,
.elementor-31075,
.elementor-31541 {
  color: var(--rgf-navy);
}

/* 主標／內文：覆寫誤用 palette_2（淺金）當文字色的舊規則 */
.elementor-30827 .elementor-heading-title,
.elementor-31075 .elementor-heading-title,
.elementor-31541 .elementor-heading-title {
  color: var(--rgf-primary) !important;
}

.elementor-30827 .elementor-widget-text-editor,
.elementor-30827 .elementor-widget-text-editor p,
.elementor-31075 .elementor-widget-text-editor,
.elementor-31075 .elementor-widget-text-editor p,
.elementor-31541 .elementor-widget-text-editor,
.elementor-31541 .elementor-widget-text-editor p {
  color: var(--rgf-muted) !important;
}

.elementor-30827 .elementor-widget-text-editor strong,
.elementor-31075 .elementor-widget-text-editor strong {
  color: var(--rgf-navy) !important;
}

/* 小標／眉題 */
.elementor-30827 .elementor-element-008eccf .elementor-heading-title,
.elementor-30827 h6.elementor-heading-title {
  color: var(--rgf-muted) !important;
}

/* 金色強調副標（維持） */
.elementor-30827 .elementor-element-79ee8c3 .elementor-heading-title,
.elementor-30827 .elementor-element-8cd985c .elementor-heading-title {
  color: var(--rgf-gold-deep) !important;
}

/* 深藍底卡片：插圖+說明區 */
.elementor-30827 .elementor-element-ca580ee,
.elementor-30827 .elementor-element-5f3158c {
  background-color: var(--rgf-deep) !important;
}

.elementor-30827 .elementor-element-ca580ee .elementor-heading-title,
.elementor-30827 .elementor-element-ca580ee .elementor-widget-text-editor,
.elementor-30827 .elementor-element-ca580ee .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-ca580ee .elementor-widget-text-editor strong,
.elementor-30827 .elementor-element-5f3158c .elementor-heading-title,
.elementor-30827 .elementor-element-5f3158c .elementor-widget-text-editor,
.elementor-30827 .elementor-element-5f3158c .elementor-widget-text-editor p {
  color: var(--rgf-white) !important;
}

/* 區塊主標（70% 房仲…）與其下說明，在淺底上 */
.elementor-30827 .elementor-element-a1c3f88 .elementor-heading-title,
.elementor-30827 .elementor-element-07e4050 .elementor-heading-title,
.elementor-30827 .elementor-element-030f585 .elementor-heading-title,
.elementor-30827 .elementor-element-07e4050,
.elementor-30827 .elementor-element-d963eeb .elementor-heading-title,
.elementor-30827 .elementor-element-5449a34 .elementor-heading-title,
.elementor-30827 .elementor-element-5282446 .elementor-heading-title,
.elementor-30827 .elementor-element-ea3aead .elementor-heading-title {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-e47a384,
.elementor-30827 .elementor-element-e47a384 p {
  color: var(--rgf-muted) !important;
}

/* 表格 */
.elementor-30827 .jet-table__cell-text {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .jet-table__head .jet-table__cell-text {
  color: var(--rgf-white) !important;
}

.elementor-30827 .jet-table__head .jet-table__head-cell {
  background-color: var(--rgf-deep) !important;
}

/* ── Hero 版面：避免欄位過窄導致文字直排 ── */
.elementor-30827 .elementor-element-6701642 > .e-con-inner {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  box-sizing: border-box;
}

.elementor-30827 .elementor-element-6701642 .elementor-heading-title,
.elementor-30827 .elementor-element-6701642 .elementor-icon-list-text,
.elementor-30827 .elementor-element-6701642 .elementor-button-text {
  white-space: normal;
  word-break: normal;
}

.elementor-30827 .elementor-element-6701642 .animate-blur .char {
  display: inline !important;
  white-space: normal !important;
}

/* ── Hero 漸層 ── */
.elementor-30827 .elementor-element-6701642:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-6701642 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-31075 .elementor-element-d40c3bf:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-d40c3bf > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background: linear-gradient(
    165deg,
    var(--rgf-cream-deep) 0%,
    var(--rgf-cream) 45%,
    var(--rgf-white) 100%
  ) !important;
}

.elementor-30827 .elementor-element-6701642 .elementor-shape-fill {
  fill: var(--rgf-cream) !important;
}

.elementor-31075 .elementor-element-d40c3bf .elementor-shape-fill {
  fill: var(--rgf-white) !important;
}

/* Hero 文案 */
.elementor-30827 .elementor-element-6d0c974 .elementor-heading-title,
.elementor-30827 .elementor-element-744987c .elementor-heading-title,
.elementor-31075 .elementor-heading-title {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-79ee8c3 .elementor-heading-title,
.elementor-30827 .elementor-element-6d0c974 .hero-headline-gold {
  color: var(--rgf-gold-deep) !important;
}

/* 付費課程 Hero（d40c3bf）：左右欄垂直置中 */
.elementor-31075 .elementor-element-d40c3bf > .e-con-inner {
  align-items: center !important;
}

.elementor-31075 .elementor-element-d40c3bf .elementor-element-ba01fe5,
.elementor-31075 .elementor-element-d40c3bf .elementor-element-d055320 {
  align-self: center !important;
}

/* 付費課 Hero 封面：固定比例、可裁切、絕不壓扁（覆寫 Elementor width:100% 拉框） */
.elementor-31075 .elementor-element-d40c3bf .elementor-element-d055320 {
  align-self: center !important;
  flex: 0 0 auto !important;
  width: min(100%, 420px) !important;
  max-width: 45% !important;
  height: auto !important;
  min-height: 0 !important;
}

.elementor-31075 .elementor-element-a9372c4,
.elementor-31075 .elementor-element-a9372c4 .elementor-widget-container {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 0 !important;
}

.elementor-31075 .elementor-element-a9372c4 .elementor-widget-container {
  aspect-ratio: 1040 / 1360 !important;
  max-height: min(78vh, 720px) !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}

.elementor-31075 .elementor-element-a9372c4 img,
.elementor-31075 .elementor-element-d40c3bf .elementor-element-d055320 .elementor-widget-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: 1040 / 1360 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.elementor-31075 .elementor-element-a9372c4.img-fade-bottom img {
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

/* 品牌名（小字標，不搶主標） */
.elementor-31075 .elementor-element-d40c3bf .brand-name {
  font-size: var(--font-caption) !important;
  color: rgba(52, 94, 118, 0.55) !important;
  letter-spacing: 1px;
  font-weight: 400 !important;
  margin: 0 0 6px !important;
  line-height: 1.4 !important;
}

/* 主標兩層 */
.elementor-31075 .elementor-element-d40c3bf .paid-hero-titles {
  margin: 0 0 4px;
}

.elementor-31075 .elementor-element-d40c3bf .vip-title {
  font-size: var(--font-h1) !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: var(--rgf-navy) !important;
  margin: 0 0 4px !important;
}

.elementor-31075 .elementor-element-d40c3bf .vip-title-2 {
  font-size: var(--font-h3) !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: var(--rgf-gold) !important;
  margin: 0 0 8px !important;
}

.elementor-31075 .elementor-element-d40c3bf .elementor-element-6319a0b {
  width: 100% !important;
  max-width: 100% !important;
  --container-widget-width: 100% !important;
}

.elementor-31075 .elementor-element-d40c3bf .paid-hero-subtitle {
  font-size: var(--font-small) !important;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(52, 94, 118, 0.75) !important;
  white-space: normal !important;
  margin: 0 0 12px !important;
}

.elementor-31075 .elementor-element-d40c3bf .feature-item,
.elementor-31075 .elementor-element-d40c3bf .elementor-element-d830c4f .elementor-icon-list-text {
  font-size: var(--font-caption) !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  color: rgba(52, 94, 118, 0.9) !important;
}

.elementor-31075 .elementor-element-d40c3bf .elementor-element-d830c4f .elementor-icon-list-icon i {
  color: var(--rgf-gold) !important;
}

/* CTA 下方早鳥提示 */
.elementor-31075 .elementor-element-d40c3bf .elementor-element-445b1c0 {
  position: static !important;
  width: auto !important;
  margin-top: 10px !important;
}

.elementor-31075 .elementor-element-d40c3bf .cta-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-small);
  line-height: 1.75;
  font-weight: 400;
  color: rgba(52, 94, 118, 0.65);
  font-style: normal;
}

.elementor-31075 .elementor-element-d40c3bf .cta-note .ti-hourglass {
  font-size: 16px;
  color: var(--rgf-gold-deep);
}

/* 付費課 Hero：插圖旁對話框 */
.elementor-31075 .elementor-element-d40c3bf > .e-con-inner {
  overflow: visible !important;
}

.elementor-31075 .elementor-element-d40c3bf .elementor-element-d055320 {
  position: relative !important;
  overflow: visible !important;
  max-width: 50% !important;
  min-width: 320px !important;
}

.elementor-31075 .paid-hero-visual {
  position: relative;
  width: 100%;
  overflow: visible;
}

.elementor-31075 .paid-hero-speech__bubble {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 89, 47, 0.22);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(38, 66, 79, 0.14);
  font-size: var(--font-small);
  line-height: 1.55;
  color: var(--rgf-navy);
  box-sizing: border-box;
}

.elementor-31075 .paid-hero-speech__bubble p {
  margin: 0;
}

.elementor-31075 .paid-hero-speech__lead {
  font-weight: 600;
  color: var(--rgf-gold-deep) !important;
  margin-bottom: 6px !important;
}

.elementor-31075 .paid-hero-speech--overlay {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: max(-46%, -200px);
  right: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: min(240px, 52%);
  max-width: 240px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 5;
  box-sizing: border-box;
}

.elementor-31075 .paid-hero-speech--overlay .paid-hero-speech__bubble {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  flex-shrink: 0;
}

.elementor-31075 .paid-hero-speech__bubble--story::after,
.elementor-31075 .paid-hero-speech__bubble--offer::after {
  content: "";
  position: absolute;
  bottom: 18px;
  right: -7px;
  left: auto;
  top: auto;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.97);
  border-right: none;
  filter: drop-shadow(1px 1px 0 rgba(206, 89, 47, 0.12));
}

.elementor-31075 .paid-hero-speech--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.elementor-31075 .paid-hero-speech--stack .paid-hero-speech__bubble {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-31075 .elementor-element-d40c3bf .elementor-element-d055320 {
    max-width: 46% !important;
    min-width: 280px !important;
  }

  .elementor-31075 .paid-hero-speech--overlay {
    width: min(210px, 50%);
    max-width: 210px;
    left: max(-40%, -168px);
  }

  .elementor-31075 .paid-hero-speech--overlay .paid-hero-speech__bubble {
    font-size: 0.8125rem;
  }
}

@media (min-width: 1025px) {
  .elementor-31075 .elementor-element-a9372c4 .elementor-widget-container {
    max-height: min(72vh, 680px) !important;
  }
}

.elementor-30827 .elementor-element-428f926 {
  background-color: var(--rgf-white) !important;
  border-color: var(--rgf-gold) !important;
  box-shadow: 0 8px 28px var(--rgf-shadow);
}

.elementor-30827 .elementor-element-428f926 .elementor-heading-title,
.elementor-30827 .elementor-element-428f926 .elementor-icon-list-text {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-428f926 .elementor-icon-list-icon i {
  color: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-ea0e09c .elementor-icon-list-icon i,
.elementor-30827 .elementor-element-ea0e09c .elementor-icon-list-icon svg {
  color: var(--rgf-gold) !important;
  fill: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-ea0e09c .elementor-icon-list-text {
  color: var(--rgf-muted) !important;
}

/* 強調字 */
.highlight,
.elementor-heading-title .highlight,
span.highlight {
  color: var(--rgf-gold-deep) !important;
}

.highlight.is-active {
  color: var(--rgf-navy) !important;
}

/* 按鈕 */
.elementor-button,
.ct-button,
button[type="submit"].single_add_to_cart_button {
  background-color: var(--rgf-gold) !important;
  border-color: var(--rgf-gold) !important;
  color: var(--rgf-white) !important;
}

.elementor-button:hover {
  background-color: var(--rgf-gold-deep) !important;
  border-color: var(--rgf-gold-deep) !important;
  color: var(--rgf-white) !important;
}

.bg-gradient {
  background: linear-gradient(
    180deg,
    var(--rgf-white) 0%,
    var(--rgf-gold-soft) 28%,
    var(--rgf-gold-soft) 72%,
    var(--rgf-cream) 100%
  ) !important;
}

/* 裝飾球：清透藍光暈（覆寫 HTML 內嵌舊粉 #FDCEDF） */
.bg-ball {
  background-color: var(--rgf-accent-glow) !important;
}

/* ── Footer：唯一深藍區 ── */
.elementor.elementor-28088,
.elementor-location-footer {
  --e-global-color-blocksy_palette_2: var(--rgf-navy-footer) !important;
  --e-global-color-blocksy_palette_8: var(--rgf-white) !important;
  background-color: var(--rgf-navy-footer) !important;
}

.elementor.elementor-28088 .elementor-widget-text-editor,
.elementor.elementor-28088 .elementor-widget-text-editor p,
.elementor.elementor-28088 .elementor-heading-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

.elementor.elementor-28088 a {
  color: var(--rgf-accent) !important;
}

.elementor.elementor-28088 .elementor-element-19c7e5a a {
  color: var(--rgf-accent) !important;
}

/* 法務三頁（lh 精簡外殼） */
body.light-legal-page.lh-body #main {
  padding-top: 0;
}

.lh-legal {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

.lh-legal__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

body.light-legal-page .entry-content,
.lh-legal.entry-content {
  padding-top: 0;
  padding-bottom: 0;
}

.lh-legal p,
.lh-legal li {
  line-height: 1.75;
}

.lh-legal a {
  color: var(--rgf-accent, #c9a227);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer 法律連結：全寬置中於頁尾最下方（覆寫 Elementor absolute + text-align:end） */
.elementor.elementor-28088 .elementor-element-1892fab > .e-con-inner {
  position: relative;
  padding-bottom: 1.25rem;
}

.elementor.elementor-28088 .elementor-element-ca5a643 {
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  --flex-wrap: wrap !important;
}

.elementor.elementor-28088 .elementor-element-af71844,
.elementor.elementor-28088 .light-footer-legal-row {
  position: relative !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 1.25rem !important;
  padding-top: 0.85rem !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  justify-content: center !important;
  align-items: center !important;
  --justify-content: center !important;
  --align-items: center !important;
  --position: relative !important;
  order: 99 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.elementor.elementor-28088 .elementor-element-19c7e5a,
.elementor.elementor-28088 .elementor-element-19c7e5a .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  line-height: 1.75 !important;
}

.elementor.elementor-28088 .elementor-element-19c7e5a a {
  display: inline-block;
  margin: 0 0.2em;
}

@media (max-width: 767px) {
  .elementor.elementor-28088 .elementor-element-7e3b7c0 p {
    white-space: normal !important;
  }

  .elementor.elementor-28088 .elementor-element-1892fab > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding-bottom: 1rem !important;
  }

  .elementor.elementor-28088 .elementor-element-af71844 {
    margin-top: 1rem !important;
    padding-top: 0.75rem !important;
  }
}

/* ── 靜態站：關閉依賴 JS 的入場動畫隱藏（否則文字「全不見」） ── */
body:not(.elementor-editor-active) .animate-blur,
body:not(.elementor-editor-active) .animate-blur.split-type-initialized {
  visibility: visible !important;
  opacity: 1 !important;
}

body:not(.elementor-editor-active) .animate-blur .char {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body:not(.elementor-editor-active) .animate-fade-down,
body:not(.elementor-editor-active) .animate-fade-up,
body:not(.elementor-editor-active) .animate-zoom-blur {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* ── 版面止血（原 light-critical 精簡） ── */
.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

/* ── 首頁：所有深藍底區塊（post-30827 palette_8 背景）白字 ── */
.elementor-30827 .elementor-element-1feefbc,
.elementor-30827 .elementor-element-2a85399,
.elementor-30827 .elementor-element-2b49ad5,
.elementor-30827 .elementor-element-2d6791a,
.elementor-30827 .elementor-element-30865cc,
.elementor-30827 .elementor-element-3b17382,
.elementor-30827 .elementor-element-5324638,
.elementor-30827 .elementor-element-6715b60,
.elementor-30827 .elementor-element-6dba123,
.elementor-30827 .elementor-element-6fe53ea,
.elementor-30827 .elementor-element-902fee5,
.elementor-30827 .elementor-element-9bdff4f,
.elementor-30827 .elementor-element-a26aa31,
.elementor-30827 .elementor-element-ad63132,
.elementor-30827 .elementor-element-ba09c37,
.elementor-30827 .elementor-element-ca580ee,
.elementor-30827 .elementor-element-d74f4e1,
.elementor-30827 .elementor-element-d7cb2f0,
.elementor-30827 .elementor-element-df2c7ad,
.elementor-30827 .elementor-element-e3da6ad,
.elementor-30827 .elementor-element-d5a1a76 {
  background-color: var(--rgf-deep) !important;
}

.elementor-30827 .elementor-element-1feefbc .elementor-heading-title,
.elementor-30827 .elementor-element-2a85399 .elementor-heading-title,
.elementor-30827 .elementor-element-2b49ad5 .elementor-heading-title,
.elementor-30827 .elementor-element-2d6791a .elementor-heading-title,
.elementor-30827 .elementor-element-30865cc .elementor-heading-title,
.elementor-30827 .elementor-element-3b17382 .elementor-heading-title,
.elementor-30827 .elementor-element-5324638 .elementor-heading-title,
.elementor-30827 .elementor-element-6715b60 .elementor-heading-title,
.elementor-30827 .elementor-element-6dba123 .elementor-heading-title,
.elementor-30827 .elementor-element-6fe53ea .elementor-heading-title,
.elementor-30827 .elementor-element-902fee5 .elementor-heading-title,
.elementor-30827 .elementor-element-9bdff4f .elementor-heading-title,
.elementor-30827 .elementor-element-a26aa31 .elementor-heading-title,
.elementor-30827 .elementor-element-ad63132 .elementor-heading-title,
.elementor-30827 .elementor-element-ba09c37 .elementor-heading-title,
.elementor-30827 .elementor-element-ca580ee .elementor-heading-title,
.elementor-30827 .elementor-element-d74f4e1 .elementor-heading-title,
.elementor-30827 .elementor-element-d7cb2f0 .elementor-heading-title,
.elementor-30827 .elementor-element-df2c7ad .elementor-heading-title,
.elementor-30827 .elementor-element-e3da6ad .elementor-heading-title,
.elementor-30827 .elementor-element-1feefbc .elementor-widget-text-editor,
.elementor-30827 .elementor-element-2a85399 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-2b49ad5 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-2d6791a .elementor-widget-text-editor,
.elementor-30827 .elementor-element-30865cc .elementor-widget-text-editor,
.elementor-30827 .elementor-element-3b17382 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-5324638 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-6715b60 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-6dba123 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-6fe53ea .elementor-widget-text-editor,
.elementor-30827 .elementor-element-902fee5 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-9bdff4f .elementor-widget-text-editor,
.elementor-30827 .elementor-element-a26aa31 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-ad63132 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-ba09c37 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-ca580ee .elementor-widget-text-editor,
.elementor-30827 .elementor-element-d74f4e1 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-d7cb2f0 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-df2c7ad .elementor-widget-text-editor,
.elementor-30827 .elementor-element-e3da6ad .elementor-widget-text-editor,
.elementor-30827 .elementor-element-1feefbc .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-2a85399 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-2b49ad5 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-2d6791a .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-30865cc .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-3b17382 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-5324638 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-6715b60 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-6dba123 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-6fe53ea .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-902fee5 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-9bdff4f .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-a26aa31 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-ad63132 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-ba09c37 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-ca580ee .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-d74f4e1 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-d7cb2f0 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-df2c7ad .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-e3da6ad .elementor-widget-text-editor p {
  color: var(--rgf-white) !important;
}

.elementor-30827 .elementor-element-6715b60 .elementor-divider-separator,
.elementor-30827 .elementor-element-df2c7ad .elementor-divider-separator,
.elementor-30827 .elementor-element-6dba123 .elementor-divider-separator,
.elementor-30827 .elementor-element-1feefbc .elementor-divider-separator,
.elementor-30827 .elementor-element-2a85399 .elementor-divider-separator,
.elementor-30827 .elementor-element-2b49ad5 .elementor-divider-separator,
.elementor-30827 .elementor-element-2d6791a .elementor-divider-separator {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

/* ── 首頁：光哥獨家方法（d5a1a76）深藍底白字 ── */
.elementor-30827 .elementor-element-d5a1a76 .elementor-heading-title,
.elementor-30827 .elementor-element-d5a1a76 .elementor-widget-text-editor,
.elementor-30827 .elementor-element-d5a1a76 .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-d5a1a76 .elementor-widget-text-editor div,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-f9eb805,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-c56f4d6,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-94be4bb,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-9dfcd37 {
  color: var(--rgf-white) !important;
}

.elementor-30827 .elementor-element-d5a1a76 h6.elementor-heading-title,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-62a2af0 .elementor-heading-title,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-01a203d .elementor-heading-title,
.elementor-30827 .elementor-element-d5a1a76 .elementor-element-0aa2307 .elementor-heading-title {
  color: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-d5a1a76 .stat-gold,
.elementor-30827 .elementor-element-d5a1a76 .num-unit.stat-gold {
  color: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-d5a1a76 .highlight,
.elementor-30827 .elementor-element-d5a1a76 .highlight.is-active {
  color: var(--rgf-deep) !important;
}

.elementor-30827 .elementor-element-11999a3,
.elementor-30827 .elementor-element-d61ca20,
.elementor-30827 .elementor-element-e3e1817 {
  border-color: var(--rgf-gold) !important;
}

/* ── 首頁：關於光哥深藍大框（修正透明字 #FFFFFF00） ── */
.elementor-30827 .elementor-element-5f861ff .elementor-heading-title {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-66c2330:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-66c2330 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--rgf-deep) !important;
}

.elementor-30827 .elementor-element-0c2b59e .elementor-heading-title,
.elementor-30827 .elementor-element-34c0786 .elementor-heading-title,
.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-text,
.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-icon i {
  color: var(--rgf-white) !important;
}

.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-icon i {
  color: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-item[data-block-id="HOME-LISTITEM-0085"],
.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-item[data-block-id="HOME-LISTITEM-0087"],
.elementor-30827 .elementor-element-562d6f7 .light-teacher-list-sub {
  color: var(--rgf-gold-soft, #e8c7b5) !important;
}

/* 首頁講師卡（66c2330）：左文右圖，壓過 Elementor space-between / absolute */
.elementor-30827 .elementor-element.elementor-element-66c2330 {
  position: relative !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: auto !important;
  --min-height: 0 !important;
  --justify-content: flex-start !important;
  justify-content: flex-start !important;
}

.elementor-30827 .elementor-element.elementor-element-66c2330 > .elementor-element.elementor-element-0c2b59e {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  --width: 100% !important;
  --justify-content: flex-start !important;
  --align-content: start !important;
  --row-gap: 10px !important;
  --gap: 10px !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  align-content: start !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: auto !important;
}

.elementor-30827 .elementor-element-0c2b59e > :not(.elementor-element-8928c71) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.elementor-30827 .elementor-element-0c2b59e > .elementor-element-34c0786 {
  margin-top: 0 !important;
}

.elementor-30827 .elementor-element-34c0786,
.elementor-30827 .elementor-element-562d6f7,
.elementor-30827 .elementor-element-ae7a2a0,
.elementor-30827 .elementor-element-8bfb07b,
.elementor-30827 .elementor-element-a26aa31 {
  width: 100% !important;
  max-width: 100% !important;
  --container-widget-width: 100% !important;
}

.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-text {
  padding-right: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.elementor-30827 .elementor-element-a26aa31 .elementor-button-wrapper,
.elementor-30827 .elementor-element-a26aa31 .elementor-button {
  width: auto !important;
  max-width: 100% !important;
}

.elementor-30827 .elementor-element-a26aa31 .elementor-button-text {
  white-space: nowrap !important;
}

.elementor-30827 .elementor-element.elementor-element-8928c71 {
  --position: relative !important;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

.elementor-30827 .elementor-element-313ad18 img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: top right !important;
  opacity: 1 !important;
}

@media (min-width: 481px) {
  .elementor-30827 .elementor-element.elementor-element-66c2330 > .elementor-element.elementor-element-0c2b59e {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 34%) !important;
    grid-template-rows: repeat(5, auto) !important;
    column-gap: clamp(16px, 3vw, 32px) !important;
    row-gap: 10px !important;
    gap: 10px clamp(16px, 3vw, 32px) !important;
    align-items: start !important;
    align-content: start !important;
    justify-items: start !important;
    padding-right: 0 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-ae7a2a0 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-34c0786 {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-562d6f7 {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-8bfb07b {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-a26aa31 {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }

  .elementor-30827 .elementor-element.elementor-element-8928c71 {
    position: relative !important;
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    align-self: start !important;
    justify-self: end !important;
    width: 100% !important;
    max-width: 360px !important;
    --width: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  .elementor-30827 .elementor-element-66c2330 {
    overflow: visible !important;
    min-height: 0 !important;
    --min-height: auto !important;
    --padding-top: 24px !important;
    --padding-bottom: 28px !important;
    --padding-left: 16px !important;
    --padding-right: 16px !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .elementor-30827 .elementor-element-66c2330 > .elementor-element-0c2b59e {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-bottom: 0 !important;
  }

  .elementor-30827 .elementor-element-ae7a2a0 {
    order: 1 !important;
  }

  .elementor-30827 .elementor-element-34c0786 {
    order: 2 !important;
  }

  .elementor-30827 .elementor-element-562d6f7 {
    order: 3 !important;
  }

  .elementor-30827 .elementor-element-8928c71 {
    position: relative !important;
    align-self: center !important;
    width: min(72vw, 300px) !important;
    max-width: 300px !important;
    margin: 4px auto 8px !important;
    order: 4 !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .elementor-30827 .elementor-element-8bfb07b {
    order: 5 !important;
  }

  .elementor-30827 .elementor-element-a26aa31 {
    order: 6 !important;
    align-self: flex-start !important;
  }

  .elementor-30827 .elementor-element-313ad18 img {
    object-position: center bottom !important;
  }
}

/* ── 首頁：痛點三格（白底卡片 + 邊框，與淺金區分） ── */
.elementor-30827 .elementor-element-b83a24b:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-b83a24b > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-30827 .elementor-element-bb9120e:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-bb9120e > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-30827 .elementor-element-09af7b8:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-09af7b8 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-30827 .elementor-element-35f413e:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-35f413e > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-30827 .elementor-element-1d97e54:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-1d97e54 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--rgf-white) !important;
  border: 1px solid var(--rgf-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 24px var(--rgf-shadow) !important;
}

/* 痛點五格：編號 01 至 05 黑色 */
.elementor-30827 .elementor-element-59e807c .elementor-heading-title,
.elementor-30827 .elementor-element-3fd6471 .elementor-heading-title,
.elementor-30827 .elementor-element-c7aca5b .elementor-heading-title,
.elementor-30827 .elementor-element-f07cb26 .elementor-heading-title,
.elementor-30827 .elementor-element-2af7b14 .elementor-heading-title {
  color: #000000 !important;
  -webkit-text-stroke-width: 0 !important;
  stroke-width: 0 !important;
  -webkit-text-stroke-color: transparent !important;
  stroke: transparent !important;
}

/* 痛點五格：標題橘色 */
.elementor-30827 .elementor-element-6303157 .elementor-heading-title,
.elementor-30827 .elementor-element-91134b6 .elementor-heading-title,
.elementor-30827 .elementor-element-a28e9d6 .elementor-heading-title,
.elementor-30827 .elementor-element-de22f5c .elementor-heading-title,
.elementor-30827 .elementor-element-a0cee44 .elementor-heading-title {
  color: var(--rgf-gold-deep) !important;
  -webkit-text-stroke-width: 0 !important;
  stroke-width: 0 !important;
}

/* 付費課：方案區與 FAQ 間距（Elementor 原 200px + 60px 過大） */
.elementor-31075 .elementor-element-39c3d31 {
  --padding-bottom: 64px !important;
  padding-bottom: 64px !important;
}

.elementor-31075 .elementor-element-745bbec {
  --padding-top: 40px !important;
  padding-top: 40px !important;
  --padding-bottom: 80px !important;
  padding-bottom: 80px !important;
}

@media (max-width: 767px) {
  .elementor-31075 .elementor-element-39c3d31 {
    --padding-bottom: 32px !important;
    padding-bottom: 32px !important;
  }

  .elementor-31075 .elementor-element-745bbec {
    --padding-top: 24px !important;
    padding-top: 24px !important;
    --padding-bottom: 56px !important;
    padding-bottom: 56px !important;
  }
}

/* ── 常見問題 FAQ（Elementor Toggle 手風琴卡片） ── */
.elementor-30827 .elementor-element-ef1ce5b .elementor-toggle,
.elementor-31075 .elementor-element-44353fc .elementor-toggle {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-toggle-item,
.elementor-31075 .elementor-element-44353fc .elementor-toggle-item {
  background-color: var(--rgf-white) !important;
  border: 1px solid var(--rgf-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px var(--rgf-shadow) !important;
  overflow: hidden;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-title,
.elementor-31075 .elementor-element-44353fc .elementor-tab-title {
  border: none !important;
  border-bottom: 1px solid var(--rgf-border) !important;
  padding: 18px 20px !important;
  background-color: var(--rgf-white) !important;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-title[aria-expanded="true"],
.elementor-31075 .elementor-element-44353fc .elementor-tab-title[aria-expanded="true"] {
  border-bottom-color: var(--rgf-border) !important;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-toggle-title,
.elementor-30827 .elementor-element-ef1ce5b .elementor-toggle-icon,
.elementor-31075 .elementor-element-44353fc .elementor-toggle-title,
.elementor-31075 .elementor-element-44353fc .elementor-toggle-icon {
  color: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-toggle-icon svg,
.elementor-31075 .elementor-element-44353fc .elementor-toggle-icon svg {
  fill: var(--rgf-navy) !important;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-content,
.elementor-31075 .elementor-element-44353fc .elementor-tab-content {
  border: none !important;
  padding: 16px 20px 20px !important;
  color: var(--rgf-muted) !important;
  background-color: var(--rgf-cream-deep) !important;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-content :is(p, li, div),
.elementor-31075 .elementor-element-44353fc .elementor-tab-content :is(p, li, div) {
  color: var(--rgf-muted) !important;
}

/* 淺底展開區：內文連結須深藍，避免白字被吃掉 */
.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-content a,
.elementor-31075 .elementor-element-44353fc .elementor-tab-content a {
  color: var(--rgf-navy) !important;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-content a:hover,
.elementor-30827 .elementor-element-ef1ce5b .elementor-tab-content a:focus-visible,
.elementor-31075 .elementor-element-44353fc .elementor-tab-content a:hover,
.elementor-31075 .elementor-element-44353fc .elementor-tab-content a:focus-visible {
  color: var(--rgf-gold-deep) !important;
}

main.site-main .e-con-boxed > .e-con-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  width: 100%;
}

main.site-main .elementor-widget-image img {
  max-width: 100%;
  height: auto !important;
  display: block;
}

/* 見證頁故事卡插畫：允許 16:9 cover 框內填滿（勿被全站 height:auto 擋住） */
.elementor-31541 .elementor-widget-image img.rgf-review-photo {
  height: 100% !important;
  object-fit: cover !important;
}

img.hero-portrait,
img.instructor-cutout {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
}

.elementor-widget-image img[src*="images/light/"] {
  background: transparent !important;
}

/* ═══════════════════════════════════════
   付費課程頁（elementor-31075）：深藍底白字 + 課程架構框線
   ═══════════════════════════════════════ */

.elementor-31075 .elementor-element-595aeeb:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-595aeeb > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-31075 .elementor-element-de7bc47:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-de7bc47 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-31075 .elementor-element-a9724f0:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-a9724f0 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-31075 .elementor-element-3d21e39:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-3d21e39 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-31075 .elementor-element-0777e3f,
.elementor-31075 .elementor-element-2156b36,
.elementor-31075 .elementor-element-742d9b7,
.elementor-31075 .elementor-element-890c0c0,
.elementor-31075 .elementor-element-d4f2eba,
.elementor-31075 .elementor-element-a16696a,
.elementor-31075 .elementor-element-ce8ff10,
.elementor-31075 .elementor-element-3b7a6c6,
.elementor-31075 .elementor-element-9b32725,
.elementor-31075 .elementor-element-70abcac,
.elementor-31075 .elementor-element-d0f501f,
.elementor-31075 .elementor-element-d5589b4,
.elementor-31075 .elementor-element-93e421c,
.elementor-31075 .elementor-element-fb99439,
.elementor-31075 .elementor-element-b6cf6a4,
.elementor-31075 .elementor-element-cee1fce,
.elementor-31075 .elementor-element-dcce443,
.elementor-31075 .elementor-element-1ffc911,
.elementor-31075 .elementor-element-35a3788,
.elementor-31075 .elementor-element-6de8506,
.elementor-31075 .elementor-element-dbe1caf,
.elementor-31075 .elementor-element-1797c5f,
.elementor-31075 .elementor-element-0a8060b,
.elementor-31075 .elementor-element-0f7aa2f {
  background-color: var(--rgf-deep) !important;
}

.elementor-31075 .elementor-element-595aeeb .elementor-heading-title,
.elementor-31075 .elementor-element-595aeeb .elementor-widget-text-editor,
.elementor-31075 .elementor-element-595aeeb .elementor-widget-text-editor p,
.elementor-31075 .elementor-element-595aeeb .elementor-widget-text-editor strong,
.elementor-31075 .elementor-element-595aeeb .elementor-icon-list-text,
.elementor-31075 .elementor-element-de7bc47 .elementor-heading-title,
.elementor-31075 .elementor-element-de7bc47 .elementor-icon-list-text,
.elementor-31075 .elementor-element-a9724f0 .elementor-icon-list-text,
.elementor-31075 .elementor-element-3d21e39 .elementor-icon-list-text,
.elementor-31075 .elementor-element-742d9b7 .uael-heading-text,
.elementor-31075 .elementor-element-742d9b7 .uael-sub-heading,
.elementor-31075 .elementor-element-742d9b7 .uael-subheading,
.elementor-31075 .elementor-element-2156b36 .uael-heading-text,
.elementor-31075 .elementor-element-2156b36 .uael-sub-heading,
.elementor-31075 .elementor-element-2156b36 .uael-subheading,
.elementor-31075 .elementor-element-890c0c0 .uael-heading-text,
.elementor-31075 .elementor-element-890c0c0 .uael-sub-heading,
.elementor-31075 .elementor-element-d4f2eba .uael-heading-text,
.elementor-31075 .elementor-element-d4f2eba .uael-sub-heading,
.elementor-31075 .elementor-element-a16696a .uael-heading-text,
.elementor-31075 .elementor-element-a16696a .uael-subheading,
.elementor-31075 .elementor-element-ce8ff10 .uael-heading-text,
.elementor-31075 .elementor-element-ce8ff10 .uael-sub-heading,
.elementor-31075 .elementor-element-1797c5f .uael-heading-text,
.elementor-31075 .elementor-element-1797c5f .uael-sub-heading,
.elementor-31075 .elementor-element-1797c5f .uael-subheading,
.elementor-31075 .elementor-element-3b7a6c6 .uael-heading-text,
.elementor-31075 .elementor-element-3b7a6c6 .uael-subheading,
.elementor-31075 .elementor-element-0f7aa2f .uael-heading-text,
.elementor-31075 .elementor-element-0f7aa2f .uael-sub-heading,
.elementor-31075 .elementor-element-dbe1caf .uael-heading-text,
.elementor-31075 .elementor-element-dbe1caf .uael-sub-heading,
.elementor-31075 .elementor-element-dbe1caf .uael-subheading,
.elementor-31075 .elementor-element-d5589b4 .elementor-heading-title,
.elementor-31075 .elementor-element-d5589b4 .elementor-widget-text-editor,
.elementor-31075 .elementor-element-d5589b4 .elementor-widget-text-editor p,
.elementor-31075 .elementor-element-93e421c .elementor-heading-title,
.elementor-31075 .elementor-element-93e421c .elementor-widget-text-editor,
.elementor-31075 .elementor-element-93e421c .elementor-widget-text-editor p,
.elementor-31075 .elementor-element-fb99439 .elementor-heading-title,
.elementor-31075 .elementor-element-fb99439 .elementor-widget-text-editor,
.elementor-31075 .elementor-element-fb99439 .elementor-widget-text-editor p,
.elementor-31075 .elementor-element-0777e3f .elementor-heading-title,
.elementor-31075 .elementor-element-0777e3f .elementor-widget-text-editor,
.elementor-31075 .elementor-element-0777e3f .elementor-widget-text-editor p,
.elementor-31075 .elementor-element-b6cf6a4 .elementor-heading-title,
.elementor-31075 .elementor-element-b6cf6a4 .elementor-widget-text-editor,
.elementor-31075 .elementor-element-b6cf6a4 .elementor-widget-text-editor p {
  color: var(--rgf-white) !important;
}

/* UAEL 標題 h4 本體（避免僅 span 設白、標題仍繼承 .elementor-31075 深藍） */
.elementor-31075 :is(
  .elementor-element-742d9b7,
  .elementor-element-2156b36,
  .elementor-element-890c0c0,
  .elementor-element-d4f2eba,
  .elementor-element-a16696a,
  .elementor-element-ce8ff10,
  .elementor-element-1797c5f,
  .elementor-element-3b7a6c6,
  .elementor-element-0f7aa2f,
  .elementor-element-dbe1caf
) :is(.uael-heading, .uael-heading a, h4.uael-heading) {
  color: var(--rgf-white) !important;
}

.elementor-31075 .elementor-element-595aeeb .elementor-icon-list-icon i,
.elementor-31075 .elementor-element-de7bc47 .elementor-icon-list-icon i,
.elementor-31075 .elementor-element-a9724f0 .elementor-icon-list-icon i,
.elementor-31075 .elementor-element-3d21e39 .elementor-icon-list-icon i {
  color: var(--rgf-gold) !important;
}

/* 付費課程：導師介紹卡，左文右圖（壓過 Elementor space-between / absolute） */
.elementor-31075 .elementor-element.elementor-element-595aeeb {
  position: relative !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: auto !important;
  --min-height: 0 !important;
  --justify-content: flex-start !important;
  justify-content: flex-start !important;
}

.elementor-31075 .elementor-element.elementor-element-595aeeb > .elementor-element.elementor-element-f9b6ec9 {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  --width: 100% !important;
  --justify-content: flex-start !important;
  --align-content: start !important;
  --row-gap: 10px !important;
  --gap: 10px !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  align-content: start !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: auto !important;
}

.elementor-31075 .elementor-element-595aeeb > .elementor-element-f9b6ec9 > :not(.elementor-element-11b8841) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 內文區：兩段 <p> 緊接，避免被右側人像高度撐出空白 */
.elementor-31075 .elementor-element-f6ca9ea .elementor-widget-container {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

.elementor-31075 .elementor-element-f6ca9ea p {
  margin: 0 0 0.65em !important;
}

.elementor-31075 .elementor-element-f6ca9ea p:last-child {
  margin-bottom: 0 !important;
}

.elementor-31075 .elementor-element.elementor-element-11b8841 {
  --position: relative !important;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

.elementor-31075 .elementor-element-0ac6d5a,
.elementor-31075 .elementor-element-f6ca9ea,
.elementor-31075 .elementor-element-4ccb6b5,
.elementor-31075 .elementor-element-020c297,
.elementor-31075 .elementor-element-bf64f26,
.elementor-31075 .elementor-element-0a8060b {
  width: 100% !important;
  max-width: 100% !important;
  --container-widget-width: 100% !important;
}

.elementor-31075 .elementor-element-020c297 .elementor-icon-list-text {
  font-size: var(--font-small) !important;
  line-height: 1.6 !important;
  padding-right: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

.elementor-30827 .elementor-element-562d6f7 .elementor-icon-list-text {
  font-size: var(--font-small) !important;
  line-height: 1.6 !important;
}

.elementor-31075 .elementor-element-0a8060b .elementor-button-text {
  white-space: nowrap !important;
}

.elementor-31075 .elementor-element-0a8060b .elementor-button-wrapper,
.elementor-31075 .elementor-element-0a8060b .elementor-button {
  width: auto !important;
  max-width: 100% !important;
}

@media (min-width: 481px) {
  .elementor-31075 .elementor-element.elementor-element-595aeeb > .elementor-element.elementor-element-f9b6ec9 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 34%) !important;
    grid-template-rows: repeat(7, auto) !important;
    column-gap: clamp(16px, 3vw, 40px) !important;
    row-gap: 10px !important;
    gap: 10px clamp(16px, 3vw, 40px) !important;
    align-items: start !important;
    align-content: start !important;
    justify-items: start !important;
    padding-right: 0 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-4ccb6b5 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-0ac6d5a {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-f6ca9ea {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-bf64f26 {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-020c297 {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-0a8060b {
    grid-column: 1 !important;
    grid-row: 6 !important;
  }

  .elementor-31075 .elementor-element.elementor-element-11b8841 {
    position: relative !important;
    grid-column: 2 !important;
    grid-row: 1 / span 6 !important;
    align-self: start !important;
    justify-self: end !important;
    width: 100% !important;
    max-width: 360px !important;
    --width: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-31075 .elementor-element-7b8d9ec img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: top right !important;
    display: block !important;
  }
}

/* 手機：直向堆疊，人像放在兩段內文之後（不插在標題與內文之間） */
@media (max-width: 767px) {
  .elementor-31075 .elementor-element-595aeeb {
    overflow: visible !important;
    min-height: 0 !important;
    --min-height: auto !important;
    --padding-top: 24px !important;
    --padding-bottom: 28px !important;
    --padding-left: 16px !important;
    --padding-right: 16px !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .elementor-31075 .elementor-element-595aeeb > .elementor-element-f9b6ec9 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-bottom: 0 !important;
  }

  .elementor-31075 .elementor-element-4ccb6b5 {
    order: 1 !important;
  }

  .elementor-31075 .elementor-element-0ac6d5a {
    order: 2 !important;
  }

  .elementor-31075 .elementor-element-f6ca9ea {
    order: 3 !important;
  }

  .elementor-31075 .elementor-element-11b8841 {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    width: min(72vw, 300px) !important;
    max-width: 300px !important;
    margin: 4px auto 8px !important;
    order: 4 !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .elementor-31075 .elementor-element-bf64f26 {
    order: 5 !important;
  }

  .elementor-31075 .elementor-element-020c297 {
    order: 6 !important;
  }

  .elementor-31075 .elementor-element-0a8060b {
    order: 7 !important;
    align-self: flex-start !important;
  }

  .elementor-31075 .elementor-element-7b8d9ec img {
    width: 100% !important;
    max-width: 100% !important;
    object-position: center bottom !important;
  }
}

/* 付費課程：VIP 方案深藍卡（cee1fce）覆寫全站深藍字，改白字 */
.elementor-31075 .elementor-element-cee1fce {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(15, 26, 51, 0.2) !important;
}

.elementor-31075 .elementor-element-cee1fce :is(
  .elementor-heading-title,
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p,
  .elementor-icon-list-text
) {
  color: var(--rgf-white) !important;
}

.elementor-31075 .elementor-element-cee1fce .highlight,
.elementor-31075 .elementor-element-cee1fce .highlight.is-active {
  color: var(--rgf-navy) !important;
}

.elementor-31075 .elementor-element-cee1fce .elementor-icon-list-icon i,
.elementor-31075 .elementor-element-cee1fce .elementor-icon-list-icon svg {
  color: var(--rgf-gold) !important;
  fill: var(--rgf-gold) !important;
}

/* 完整教材／社群／客製化等深藍卡：圓角邊框 */
.elementor-31075 .elementor-element-742d9b7,
.elementor-31075 .elementor-element-2156b36,
.elementor-31075 .elementor-element-890c0c0,
.elementor-31075 .elementor-element-d4f2eba,
.elementor-31075 .elementor-element-a16696a,
.elementor-31075 .elementor-element-ce8ff10,
.elementor-31075 .elementor-element-1797c5f,
.elementor-31075 .elementor-element-3b7a6c6,
.elementor-31075 .elementor-element-0f7aa2f,
.elementor-31075 .elementor-element-d5589b4,
.elementor-31075 .elementor-element-93e421c,
.elementor-31075 .elementor-element-fb99439,
.elementor-31075 .elementor-element-de7bc47,
.elementor-31075 .elementor-element-a9724f0 {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(15, 26, 51, 0.2) !important;
  overflow: hidden;
}

/* 導師雙卡（21e786d）：左文右圖、隱藏重複 H2、消除內層灰框 */
.elementor-31075 .elementor-element-21e786d > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.elementor-31075 .elementor-element-a9724f0,
.elementor-31075 .elementor-element-de7bc47 {
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 28px 32px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.elementor-31075 .elementor-element-3d21e39:not(.elementor-motion-effects-element-type-background),
.elementor-31075 .elementor-element-3d21e39 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: transparent !important;
}

.elementor-31075 .elementor-element-3d21e39 {
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  gap: 0 !important;
}

.elementor-31075 .elementor-element-bd3d9f7,
.elementor-31075 .elementor-element-b7cd78a {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto 1fr !important;
  column-gap: 20px !important;
  row-gap: 12px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.elementor-31075 .elementor-element-f2a8b19,
.elementor-31075 .elementor-element-e8f1a02 {
  grid-column: 2 !important;
  grid-row: 1 / -1 !important;
  align-self: end !important;
  justify-self: end !important;
  margin: 0 !important;
}

.elementor-31075 .elementor-element-f2a8b19 .elementor-widget-container,
.elementor-31075 .elementor-element-e8f1a02 .elementor-widget-container {
  margin: 0 !important;
}

.elementor-31075 .elementor-element-c72155a,
.elementor-31075 .elementor-element-ed5860c,
.elementor-31075 .elementor-element-151757c,
.elementor-31075 .elementor-element-43d1c74 {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-31075 .elementor-element-c72155a,
.elementor-31075 .elementor-element-ed5860c {
  grid-row: 1 !important;
}

.elementor-31075 .elementor-element-151757c,
.elementor-31075 .elementor-element-43d1c74 {
  grid-row: 2 !important;
}

/* H2 與下方勾選列表重複，隱藏以免大段文字壓版 */
.elementor-31075 .elementor-element-318cde9,
.elementor-31075 .elementor-element-0ad1aca {
  display: none !important;
}

.elementor-31075 .elementor-element-21e786d .team-icon {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--rgf-gold);
  color: var(--rgf-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

.elementor-31075 .elementor-element-21e786d .team-icon .ti {
  display: block;
}

.elementor-31075 .elementor-element-21e786d .team-badge.elementor-button {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--rgf-white) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 50px !important;
  fill: var(--rgf-white) !important;
  cursor: default;
  pointer-events: none;
}

.elementor-31075 .elementor-element-21e786d .team-badge .elementor-button-text {
  color: var(--rgf-white) !important;
}

.elementor-31075 .elementor-element-21e786d .elementor-icon-list-items {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-31075 .elementor-element-21e786d .elementor-icon-list-item {
  align-items: flex-start !important;
}

.elementor-31075 .elementor-element-21e786d .elementor-icon-list-text {
  white-space: normal !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  .elementor-31075 .elementor-element-21e786d > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .elementor-31075 .elementor-element-21e786d .team-icon {
    width: 96px;
    height: 96px;
    font-size: 48px;
  }
}

/* 課程架構：各分頁內章節小卡（00～05 共用，勿只寫單一分頁 element id） */
.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child {
  background-color: var(--rgf-white) !important;
  border: 1px solid var(--rgf-border) !important;
  border-radius: 14px !important;
  padding: 20px 18px !important;
  box-shadow: 0 6px 20px var(--rgf-shadow) !important;
  box-sizing: border-box;
}

.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child .elementor-heading-title,
.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child .elementor-icon-list-text {
  color: var(--rgf-navy) !important;
}

/* 章節小卡標題：Elementor 僅設 ~0.88rem、無行高；長句換行需較鬆行距（2-2、3-3 等） */
.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child .elementor-heading-title {
  line-height: 1.75 !important;
  margin: 0 !important;
}

.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child .elementor-icon-list-icon i,
.elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"] > .e-con.e-child .elementor-icon-list-icon svg {
  color: var(--rgf-gold) !important;
  fill: var(--rgf-gold) !important;
}

.elementor-31075 #course-outline .e-n-tabs-heading {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  margin-bottom: 20px;
  width: 100% !important;
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.elementor-31075 #course-outline .e-n-tab-title {
  position: relative !important;
  z-index: 11 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation;
}

.elementor-31075 #course-outline .e-n-tabs-content {
  position: relative !important;
  z-index: 1 !important;
}

.elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"]:not(.e-active),
.elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"][hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.elementor-31075 #course-outline .e-n-tabs {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.elementor-31075 #course-outline .e-n-tabs-content {
  width: 100% !important;
}

.elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"] {
  display: none !important;
}

.elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"].e-active {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: stretch !important;
}

/* 課程架構：手機可左右滑動（分頁標籤 + 章節小卡） */
@media (max-width: 767px) {
  .elementor-31075 #course-outline .elementor-element-63e4873,
  .elementor-31075 #course-outline .elementor-element-63e4873 .elementor-widget-container,
  .elementor-31075 #course-outline .e-n-tabs,
  .elementor-31075 #course-outline .e-n-tabs-content {
    overflow: visible !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 分頁標籤列：左右滑 */
  .elementor-31075 #course-outline .e-n-tabs-heading {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
    scrollbar-width: none;
    position: relative !important;
    z-index: 6 !important;
    pointer-events: auto !important;
  }

  .elementor-31075 #course-outline .e-n-tabs-heading::-webkit-scrollbar {
    display: none;
  }

  .elementor-31075 #course-outline .e-n-tab-title {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 7 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* 章節小卡列：覆寫 Elementor e-grid，橫向滑動 */
  .elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"].e-active,
  .elementor-31075 #course-outline .e-n-tabs-content > [role="tabpanel"].e-active.e-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    gap: 14px !important;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 12px !important;
    box-sizing: border-box !important;
    scrollbar-width: thin;
    position: relative !important;
    z-index: 1 !important;
    min-height: 0 !important;
    min-width: 0 !important;
  }

  .elementor-31075 #course-outline .e-n-tabs-content [role="tabpanel"].e-active > .e-con.e-child {
    flex: 0 0 min(82vw, 320px) !important;
    width: min(82vw, 320px) !important;
    max-width: 320px !important;
    min-width: 260px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }
}

/* 課程架構分頁：未選＝白底藍字，已選＝橘底白字 */
.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title,
.elementor-31075 .e-n-tab-title {
  border: 1px solid var(--rgf-border) !important;
  border-radius: 999px !important;
  background: var(--rgf-white) !important;
  color: var(--rgf-navy) !important;
  padding: 10px 16px !important;
  box-shadow: none !important;
}

.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="false"],
.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="false"]:not(:hover),
.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="false"]:hover {
  background: var(--rgf-white) !important;
  border-color: var(--rgf-border) !important;
  color: var(--rgf-navy) !important;
}

.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="true"],
.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="true"]:hover,
.elementor-31075 .e-n-tab-title[aria-selected="true"] {
  background: var(--rgf-gold) !important;
  border-color: var(--rgf-gold-deep) !important;
  color: var(--rgf-white) !important;
}

.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="false"] .e-n-tab-title-text,
.elementor-31075 .e-n-tab-title:not([aria-selected="true"]) .e-n-tab-title-text {
  color: var(--rgf-navy) !important;
}

.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text,
.elementor-31075 .e-n-tab-title-text {
  color: inherit !important;
}

.elementor-31075 #course-outline .elementor-element-63e4873 .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
  color: var(--rgf-white) !important;
}

/* 舊版課程架構格狀卡片（若區塊有顯示） */
.elementor-31075 .elementor-element-9b32725,
.elementor-31075 .elementor-element-70abcac,
.elementor-31075 .elementor-element-d0f501f {
  border: 1px solid var(--rgf-border) !important;
  border-radius: 14px !important;
  padding: 16px !important;
}

/* 舊版 CAN 三卡區塊（ec098af）全站隱藏 */
.elementor-31075 .elementor-element-ec098af {
  display: none !important;
}

.elementor-31075 .elementor-element-9b32725 .elementor-heading-title,
.elementor-31075 .elementor-element-9b32725 .elementor-icon-list-text,
.elementor-31075 .elementor-element-70abcac .elementor-heading-title,
.elementor-31075 .elementor-element-70abcac .elementor-icon-list-text,
.elementor-31075 .elementor-element-d0f501f .elementor-heading-title,
.elementor-31075 .elementor-element-d0f501f .elementor-icon-list-text,
.elementor-31075 .elementor-element-dcce443 .elementor-heading-title,
.elementor-31075 .elementor-element-dcce443 .elementor-icon-list-text {
  color: var(--rgf-white) !important;
}

/* 首頁：故事時間主標，兩行換行 */
.light-story-letter-title {
  display: block;
  white-space: normal !important;
  word-break: keep-all;
  line-height: 1.35;
}

.elementor-30827 .elementor-element-e6f7923 .light-story-letter-title {
  text-align: start;
}

/* 學員見證 Hero：主標＋副標置中、兩行換行 */
.elementor-31541 .elementor-element-21d742f > .e-con-inner {
  align-items: center !important;
}

.elementor-31541 .elementor-element-21d742f :is(
  .elementor-element-632703a,
  .elementor-element-2dbfdf6,
  .elementor-element-ebefdf3
) {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.elementor-31541 .elementor-element-21d742f .elementor-element-8335e98,
.elementor-31541 .elementor-element-21d742f .elementor-element-373795c {
  text-align: center !important;
  margin-inline: auto !important;
}

.elementor-31541 .elementor-element-21d742f .elementor-element-8335e98 .elementor-heading-title {
  text-align: center !important;
}

.elementor-31541 .elementor-element-21d742f .reviews-hero-lead {
  width: 100%;
  max-width: min(100%, 52rem);
  margin-inline: auto;
  text-align: center !important;
}

.elementor-31541 .elementor-element-21d742f .elementor-element-373795c {
  width: min(100%, 52rem) !important;
  max-width: 100% !important;
}

.elementor-31541 .elementor-element-21d742f .reviews-hero-lead__line {
  margin: 0;
  font-size: inherit;
  line-height: 1.65;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.elementor-31541 .elementor-element-21d742f .reviews-hero-lead__line + .reviews-hero-lead__line {
  margin-top: 0.45em;
}

/* ═══════════════════════════════════════
   學員見證頁（elementor-31541）：深藍底白字
   夥伴轉型故事（T 哥、KEN、小巫、Eric 等）
   ═══════════════════════════════════════ */

.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) {
  background-color: var(--rgf-deep) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(15, 26, 51, 0.2) !important;
}

.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) :is(
  .elementor-heading-title,
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p,
  .elementor-widget-text-editor li,
  .elementor-widget-text-editor strong,
  .elementor-widget-text-editor span,
  .elementor-icon-box-title,
  .elementor-icon-box-title span,
  .elementor-icon-list-text,
  .tip-item,
  .label,
  .card-title,
  .card-title li
) {
  color: var(--rgf-white) !important;
}

.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .highlight,
.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .highlight.is-active {
  color: var(--rgf-navy) !important;
}

.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .elementor-icon-list-icon i,
.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .elementor-icon-list-icon svg,
.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .elementor-icon i,
.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .elementor-icon-box-icon .elementor-icon i {
  color: var(--rgf-gold) !important;
}

.elementor-31541 :is(
  .elementor-element-ba489c3,
  .elementor-element-3d76e52,
  .elementor-element-4aa7c0a,
  .elementor-element-8b52d57,
  .elementor-element-a111012,
  .elementor-element-b445da3,
  .elementor-element-d0e1a15
) .elementor-divider-separator {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

/* 深藍卡內四格重點：略淺底仍維持白字 */
.elementor-31541 .elementor-element-3d76e52 .elementor-element-7b9b7ec,
.elementor-31541 .elementor-element-3d76e52 .elementor-element-1e815c2,
.elementor-31541 .elementor-element-3d76e52 .elementor-element-0f21e84 > .e-con {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

/* 付費課程頁：夥伴故事外層容器 */
.elementor-31075 .elementor-element-fd709dd {
  background-color: transparent !important;
}

.elementor-31075 .elementor-element-d5589b4 .elementor-icon-box-title,
.elementor-31075 .elementor-element-d5589b4 .elementor-icon-box-title span,
.elementor-31075 .elementor-element-d5589b4 .elementor-widget-text-editor li,
.elementor-31075 .elementor-element-d5589b4 .tip-item,
.elementor-31075 .elementor-element-93e421c .elementor-icon-box-title,
.elementor-31075 .elementor-element-93e421c .elementor-icon-box-title span,
.elementor-31075 .elementor-element-93e421c .elementor-widget-text-editor li,
.elementor-31075 .elementor-element-fb99439 .elementor-icon-box-title,
.elementor-31075 .elementor-element-fb99439 .elementor-icon-box-title span,
.elementor-31075 .elementor-element-fb99439 .elementor-widget-text-editor li {
  color: var(--rgf-white) !important;
}

/* 首頁：免費直播區（2b808e7）淺底，主標深藍字（勿白字） */
.elementor-30827 .elementor-element-2b808e7 .elementor-element-7e050fe .elementor-heading-title,
.elementor-30827 .elementor-element-2b808e7 .elementor-element-c84d9bf .elementor-heading-title {
  color: var(--rgf-navy) !important;
}

/* 首頁：免費直播講座卡（4af68ff）深底白字，確保對比 */
.elementor-30827 .elementor-element-4af68ff:not(.elementor-motion-effects-element-type-background),
.elementor-30827 .elementor-element-4af68ff > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--rgf-navy) !important;
  border-color: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-4af68ff .elementor-heading-title,
.elementor-30827 .elementor-element-4af68ff .elementor-widget-text-editor,
.elementor-30827 .elementor-element-4af68ff .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-4af68ff .elementor-icon-list-text,
.elementor-30827 .elementor-element-4af68ff .elementor-icon-list-item,
.elementor-30827 .elementor-element-4af68ff .highlight,
.elementor-30827 .elementor-element-4af68ff .highlight.is-active,
.elementor-30827 .elementor-element-4af68ff .elementor-element-d02f639,
.elementor-30827 .elementor-element-4af68ff .elementor-element-d02f639 p {
  color: var(--rgf-white) !important;
}

.elementor-30827 .elementor-element-4af68ff .elementor-icon-list-icon i,
.elementor-30827 .elementor-element-4af68ff .elementor-icon-list-icon svg {
  color: var(--rgf-gold) !important;
  fill: var(--rgf-gold) !important;
}

.elementor-30827 .elementor-element-4af68ff .elementor-divider-separator {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

/* 首頁：付費課程講座卡（4af68ff）標題區強制白字（覆寫 Elementor 青色） */
.elementor-30827 .elementor-element-4af68ff :is(
  .elementor-element-3344a15,
  .elementor-element-ab7bb91,
  .elementor-element-d02f639,
  .elementor-element-16c20ef
) .elementor-heading-title,
.elementor-30827 .elementor-element-4af68ff :is(
  .elementor-element-3344a15,
  .elementor-element-ab7bb91,
  .elementor-element-d02f639
) .elementor-widget-text-editor,
.elementor-30827 .elementor-element-4af68ff :is(
  .elementor-element-3344a15,
  .elementor-element-ab7bb91,
  .elementor-element-d02f639
) .elementor-widget-text-editor p,
.elementor-30827 .elementor-element-4af68ff .elementor-element-7e050fe .elementor-heading-title,
.elementor-30827 .elementor-element-4af68ff .elementor-element-c84d9bf .elementor-heading-title {
  color: var(--rgf-white) !important;
  -webkit-text-fill-color: var(--rgf-white) !important;
}

/* 首頁：付費課程卡副標「我想了解…」黑字 */
.elementor-30827 .elementor-element-4af68ff .elementor-element-ab7bb91 .elementor-heading-title,
.elementor-30827 .elementor-element-4af68ff .elementor-element-ab7bb91 .elementor-heading-title .highlight,
.elementor-30827 .elementor-element-4af68ff .elementor-element-ab7bb91 .elementor-heading-title .highlight.is-active {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* 學員見證：方案區舊講座卡（a4bd537）金/橙底，全文白字 */
.elementor-31541 .elementor-element-a4bd537:not(.elementor-motion-effects-element-type-background),
.elementor-31541 .elementor-element-a4bd537 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--rgf-gold, #ce592f) !important;
}

.elementor-31541 .elementor-element-a4bd537 :is(
  .elementor-heading-title,
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p,
  .elementor-widget-text-editor span,
  .highlight,
  .highlight.is-active,
  .elementor-icon-list-text
),
.elementor-31541 .elementor-element-a4bd537 :is(
  .elementor-element-9ca5da0,
  .elementor-element-38a8657,
  .elementor-element-1b81b62,
  .elementor-element-96ea526,
  .elementor-element-6f10478
) .elementor-heading-title,
.elementor-31541 .elementor-element-a4bd537 :is(
  .elementor-element-38a8657,
  .elementor-element-1b81b62
) .elementor-widget-text-editor,
.elementor-31541 .elementor-element-a4bd537 :is(
  .elementor-element-38a8657,
  .elementor-element-1b81b62
) .elementor-widget-text-editor p {
  color: var(--rgf-white) !important;
  -webkit-text-fill-color: var(--rgf-white) !important;
}

.elementor-31541 .elementor-element-a4bd537 .elementor-icon-list-icon i,
.elementor-31541 .elementor-element-a4bd537 .elementor-icon-list-icon svg {
  color: var(--rgf-white) !important;
  fill: var(--rgf-white) !important;
}

/* 學員見證：方案區標題（淺底）維持深藍 */
.elementor-31541 .elementor-element-1c49628 :is(
  .elementor-element-ad450e8,
  .elementor-element-d21cc58
) .elementor-heading-title {
  color: var(--rgf-navy, #345e76) !important;
  -webkit-text-fill-color: var(--rgf-navy, #345e76) !important;
}

/* 首頁：市場紅利，淺底標題區（b39cedd）深藍字 */
.elementor-30827 .elementor-element-b39cedd .elementor-heading-title,
.elementor-30827 .elementor-element-b39cedd .elementor-widget-text-editor,
.elementor-30827 .elementor-element-b39cedd .elementor-widget-text-editor p {
  color: var(--rgf-navy) !important;
}

/* 首頁：市場紅利四卡，單句主標 + 內文 */
.elementor-30827 .elementor-element-581cfef,
.elementor-30827 .elementor-element-5cb6828,
.elementor-30827 .elementor-element-b3c57aa,
.elementor-30827 .elementor-element-77493b0 {
  font-size: var(--font-body) !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
}

.elementor-30827 .elementor-element-49cd13f .market-card-title {
  font-size: var(--font-body) !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
  color: #fff !important;
  margin: 12px 0 !important;
}

.elementor-30827 .elementor-element-49cd13f .market-card-title .highlight {
  color: var(--rgf-gold) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* 市場紅利四卡：純文字（無側欄插圖） */
.elementor-30827 .elementor-element-49cd13f :is(
  .elementor-element-5324638,
  .elementor-element-df2c7ad,
  .elementor-element-6715b60,
  .elementor-element-6dba123
) {
  flex-direction: column !important;
}

.elementor-30827 .elementor-element-49cd13f :is(
  .elementor-element-445da1e,
  .elementor-element-bf2b737,
  .elementor-element-e5fe56d,
  .elementor-element-f604e8f
) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

.elementor-30827 .elementor-element-6b2f19c p,
.elementor-30827 .elementor-element-ef3581f p,
.elementor-30827 .elementor-element-db0a48b p,
.elementor-30827 .elementor-element-e88c69a p {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* 關於光哥頁：實戰足跡深藍區，主標白字（覆寫 Blocksy h2 深藍） */
#light-about-page .light-about-section--navy :is(h2, p, .light-about-stat__label) {
  color: var(--rgf-white) !important;
}

#light-about-page .light-about-section--navy .light-about-eyebrow {
  color: var(--rgf-gold) !important;
}

#light-about-page .light-about-section--navy .light-about-stat__num {
  color: var(--rgf-gold) !important;
}

/* ═══════════════════════════════════════
   付費課：學員見證跑馬燈（#37a9094）
   ═══════════════════════════════════════ */

.elementor-31075 #37a9094,
.elementor-31075 #37a9094 .elementor-element-d1c9757,
.elementor-31075 #37a9094 .elementor-widget-deensimc-testimonial .elementor-widget-container {
  overflow-x: visible !important;
}

.elementor-31075 #37a9094 .deensimc-marquee-main-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.elementor-31075 #37a9094 .deensimc-marquee-track-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
}

.elementor-31075 #37a9094 .deensimc-testimonial-marquee .deensimc-marquee-track,
.elementor-31075 .marquee-reviews .deensimc-testimonial-marquee .deensimc-marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: auto !important;
  flex: 0 0 auto !important;
  animation-name: deensimc_marquee_horizontal !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  animation-duration: 60s !important;
}

.elementor-31075 #37a9094 .deensimc-marquee-reverse .deensimc-marquee-track {
  animation-direction: reverse !important;
}

/* data-marquee-speed=4 → CSS 覆寫約 60s（較易閱讀） */
.elementor-31075 #37a9094 .deensimc-marquee-main-container[data-marquee-speed="4"] .deensimc-marquee-track {
  animation-duration: 60s;
}

.elementor-31075 #37a9094 .deensimc-tes-item {
  flex: 0 0 auto !important;
}

.elementor-31075 #37a9094 .deensimc-tes-main,
.elementor-31075 .marquee-reviews .deensimc-tes-main {
  width: min(340px, 32vw) !important;
  max-width: 360px !important;
  min-width: 260px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

/* 上排跑馬燈：無白框，與下排一致 */
.elementor-31075 #37a9094 .marquee-reviews .deensimc-tes-main {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .elementor-31075 #37a9094 .deensimc-tes-main {
    width: min(84vw, 360px) !important;
    max-width: min(84vw, 360px) !important;
    box-sizing: border-box !important;
  }

  .elementor-31075 #37a9094 .contents-wrapper {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* 首頁、學員見證頁：口碑跑馬燈（.marquee-reviews） */
.elementor-30827 .marquee-reviews,
.elementor-30827 .marquee-reviews .elementor-widget-deensimc-testimonial .elementor-widget-container {
  overflow-x: hidden !important;
}

.elementor-30827 .marquee-reviews .deensimc-marquee-main-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.elementor-30827 .marquee-reviews .deensimc-marquee-track-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}

.elementor-30827 .marquee-reviews .deensimc-testimonial-marquee .deensimc-marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: auto !important;
  flex: 0 0 auto !important;
  animation-name: deensimc_marquee_horizontal !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  animation-duration: 60s !important;
}

.elementor-30827 .marquee-reviews .deensimc-marquee-reverse .deensimc-marquee-track {
  animation-direction: reverse !important;
}

.elementor-30827 .marquee-reviews .deensimc-tes-item {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}

.elementor-30827 .marquee-reviews .deensimc-tes-main {
  width: min(340px, 32vw) !important;
  max-width: 360px !important;
  min-width: 260px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.elementor-30827 .marquee-reviews .deensimc-tes-text {
  position: relative !important;
}

@media (max-width: 767px) {
  .elementor-30827 .marquee-reviews .deensimc-tes-main {
    width: min(84vw, 360px) !important;
    max-width: min(84vw, 360px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .elementor-30827 .marquee-reviews .contents-wrapper {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .elementor-30827 .marquee-reviews .deensimc-marquee-track {
    animation-duration: 75s !important;
  }
}

/* 全站跑馬燈見證：學員署名行統一縮小（KEN｜學員｜…） */
.deensimc-testimonial-marquee .deensimc-tes-author h5.deensimc-tes-heading,
.deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading,
.deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-title,
.deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-name {
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

@media (max-width: 767px) {
  .deensimc-testimonial-marquee .deensimc-tes-author h5.deensimc-tes-heading,
  .deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading,
  .deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-title,
  .deensimc-testimonial-marquee .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-name {
    font-size: 14px !important;
  }
}

.marquee-reviews .highlight,
.marquee-reviews .highlight.is-active,
.marquee-reviews mark {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

/* 口碑跑馬燈：內文藍字、學員署名黑字；取消內文區米色底（僅部分 repeater 被設透明，其餘會露出 palette_2） */
.marquee-reviews .deensimc-tes-text,
.marquee-reviews .deensimc-tes-text .contents-wrapper,
.marquee-reviews .deensimc-tes-text .deensimc-contents {
  color: var(--rgf-navy) !important;
  background: transparent !important;
  background-color: transparent !important;
}

.marquee-reviews .deensimc-tes-bg-overlay {
  display: none !important;
}

.elementor-31541 .marquee-reviews .deensimc-tes-text,
.elementor-30827 .marquee-reviews .deensimc-tes-text,
.elementor-31075 .marquee-reviews .deensimc-tes-text {
  background-color: transparent !important;
}

.marquee-reviews .deensimc-tes-author .deensimc-tes-heading,
.marquee-reviews .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-title,
.marquee-reviews .deensimc-tes-author .deensimc-tes-heading .deensimc-tes-name {
  color: #000000 !important;
}
