/**
 * Ming-Xian clean / fresh palette
 * 主色：清藍灰  |  強調：青綠（少用）  |  中性：白／Mist
 * 簡潔清新、功能優先：淺底為主、少漸層、高可讀。
 */

:root {
  --mx-navy: #124867;
  --mx-navy-2: #1a5f82;
  --mx-navy-3: #2a789c;
  --mx-gold: #0d9b8a;
  --mx-gold-hover: #0b8577;
  --mx-paper: #f5f9fb;
  --mx-white: #ffffff;
  --mx-text: #1b2e3a;
  --mx-muted: #5b7383;
  --mx-line: #06c755; /* LINE 保留品牌綠，僅用於 LINE */
  --mx-radius: 12px;
  --mx-shadow: 0 6px 20px rgba(18, 72, 103, 0.07);
}

/* ===== Base ===== */
html body,
html body #page-container,
html body #main-content {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
  background: var(--mx-paper) !important;
  color: var(--mx-text) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

html body .et_pb_module,
html body .et_pb_text,
html body .et_pb_post,
html body .et_pb_blurb,
html body .et_pb_slide,
html body .et_pb_testimonial {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .et_pb_slide_title,
html body .et_pb_module_header,
html body .wdcl-image-title,
html body #top-menu a {
  font-family: "Sora", "Noto Sans TC", sans-serif !important;
  letter-spacing: 0.01em;
}

html body .et_pb_bg_layout_light,
html body .et_pb_bg_layout_light .et_pb_module {
  color: var(--mx-text);
}

html body .et_pb_bg_layout_light h1,
html body .et_pb_bg_layout_light h2,
html body .et_pb_bg_layout_light h3,
html body .et_pb_bg_layout_light h4,
html body .et_pb_bg_layout_light .et_pb_module_header {
  color: var(--mx-navy) !important;
}

html body .et_pb_bg_layout_light p,
html body .et_pb_bg_layout_light .et_pb_text_inner,
html body .et_pb_bg_layout_light .et_pb_blurb_description {
  color: var(--mx-muted) !important;
}

/* ===== Top bar ===== */
html body #top-header {
  background: var(--mx-navy) !important;
  border-bottom: none !important;
}

html body #top-header,
html body #top-header a,
html body #et-info,
html body #et-info a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
}

html body #et-info-phone {
  font-weight: 600 !important;
  color: #fff !important;
}

html body #et-info-email,
html body #et-info a[href^="mailto"] #et-info-email {
  display: inline !important;
  color: #fff !important;
  font-weight: 600 !important;
  visibility: visible !important;
}

html body #et-info-phone:before,
html body #et-info-email:before {
  color: var(--mx-gold) !important;
}

/* ===== Main header / et-top-navigation ===== */
html body #main-header {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 6px 20px rgba(14, 36, 63, 0.07) !important;
  border: none !important;
  border-bottom: 1px solid rgba(14, 36, 63, 0.05) !important;
}

html body #main-header.et-fixed-header {
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(14, 36, 63, 0.1) !important;
}

/* 避免 logo 過高蓋住選單 */
html body #main-header #logo {
  max-height: 54px !important;
  width: auto !important;
}

html body #main-header.et-fixed-header #logo {
  max-height: 42px !important;
}

html body #et-top-navigation {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* 導覽列不顯示「服務項目」及其下拉（雙保險；PHP 也會從選單移除） */
html body #top-menu > li.menu-item-136,
html body #mobile_menu > li.menu-item-136,
html body .et_mobile_menu > li.menu-item-136,
html body #top-menu li.menu-item-mx-service,
html body #mobile_menu li.menu-item-mx-service,
html body .et_mobile_menu li.menu-item-mx-service,
html body #top-menu > li.menu-item-has-children:has(> a[href*="service"]),
html body #mobile_menu > li.menu-item-has-children:has(> a[href*="service"]) {
  display: none !important;
}

/* 頁尾「服務項目」欄位標題（若 PHP 未替換到時的備援） */
html body .et_pb_section_13 .et_pb_text_6 .et_pb_text_inner > h2 {
  display: none !important;
}

html body #top-menu > li {
  padding-right: 0 !important;
}

html body #top-menu > li > a {
  color: var(--mx-navy) !important;
  font-family: "Sora", "Noto Sans TC", sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  padding: 8px 16px !important;
  line-height: 1.25 !important;
  border-radius: 999px !important;
  transition: color 0.18s ease, background 0.18s ease !important;
  position: relative !important;
}

/* 蓋過舊紫 hover：背景只套在連結，避免下拉父層整塊變色 */
html body #top-menu > li,
html body #top-menu > li:hover,
html body #top-menu > li.current-menu-item,
html body #top-menu > li.current-menu-ancestor,
html body #top-menu > li.current_page_item {
  background: transparent !important;
  border-radius: 0 !important;
}

html body #top-menu > li > a:hover,
html body #top-menu > li.current-menu-item > a,
html body #top-menu > li.current-menu-ancestor > a,
html body #top-menu > li.current_page_item > a,
html body #top-menu > li.et-hover > a {
  color: var(--mx-navy) !important;
  background: rgba(14, 36, 63, 0.06) !important;
}

html body #top-menu > li > a:after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 5px !important;
  width: 0 !important;
  height: 2px !important;
  background: var(--mx-gold) !important;
  border-radius: 2px !important;
  transform: translateX(-50%) !important;
  transition: width 0.2s ease !important;
}

html body #top-menu > li > a:hover:after,
html body #top-menu > li.current-menu-item > a:after,
html body #top-menu > li.current-menu-ancestor > a:after,
html body #top-menu > li.et-hover > a:after {
  width: 16px !important;
}

/* 有子選單：箭頭指示 */
html body #top-menu > li.menu-item-has-children > a {
  padding-right: 1.85rem !important;
}

html body #top-menu > li.menu-item-has-children > a:before {
  content: "" !important;
  position: absolute !important;
  right: 0.7rem !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  margin-top: -5px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) !important;
  transition: transform 0.18s ease !important;
}

html body #top-menu > li.menu-item-has-children.et-hover > a:before,
html body #top-menu > li.menu-item-has-children:hover > a:before {
  transform: rotate(225deg) !important;
  margin-top: -2px !important;
}

/* CTA：聯絡我們 */
html body #top-menu > li.menu-item-229 > a {
  background: var(--mx-navy) !important;
  color: #fff !important;
  margin-left: 6px !important;
  box-shadow: 0 6px 16px rgba(14, 36, 63, 0.16) !important;
}

html body #top-menu > li.menu-item-229 > a:after,
html body #top-menu > li.menu-item-229 > a:before {
  display: none !important;
}

html body #top-menu > li.menu-item-229 > a:hover {
  background: var(--mx-gold) !important;
  color: #fff !important;
}

/* Dropdown：服務項目等 */
html body #top-menu li.menu-item-has-children {
  position: relative !important;
}

html body #top-menu .sub-menu {
  border: none !important;
  border-radius: 12px !important;
  padding: 8px !important;
  min-width: 220px !important;
  width: max-content !important;
  max-width: 320px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(14, 36, 63, 0.14) !important;
  border-top: 2px solid var(--mx-gold) !important;
  top: calc(100% + 6px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 100000 !important;
}

/* 填補父連結與下拉間隙，避免滑過去就收合 */
html body #top-menu .sub-menu:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -10px !important;
  height: 10px !important;
}

html body #top-menu li li {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html body #top-menu li li a {
  color: var(--mx-text) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  padding: 0.7rem 0.9rem !important;
  border-radius: 8px !important;
  background: transparent !important;
  white-space: nowrap !important;
  width: auto !important;
  display: block !important;
}

html body #top-menu li li a:hover {
  background: rgba(14, 36, 63, 0.06) !important;
  color: var(--mx-navy) !important;
}

/* 服務項目子項（SEO…）過長時可換行 */
html body #top-menu #menu-item-709 > a {
  white-space: normal !important;
  min-width: 12.5rem !important;
}

/* Search + mobile */
html body #et_search_icon:before {
  color: var(--mx-navy) !important;
  transition: color 0.15s ease !important;
}

html body #et_top_search:hover #et_search_icon:before {
  color: var(--mx-gold) !important;
}

html body .et_search_outer {
  background: #fff !important;
  border-bottom: 1px solid rgba(14, 36, 63, 0.08) !important;
}

html body .et-search-field {
  border: none !important;
  border-bottom: 2px solid var(--mx-gold) !important;
  color: var(--mx-navy) !important;
}

html body .mobile_menu_bar:before {
  color: var(--mx-navy) !important;
}

html body .mobile_nav.opened .mobile_menu_bar:before {
  color: var(--mx-gold) !important;
}

html body #main-header .et_mobile_menu {
  background: #fff !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: 0 16px 40px rgba(14, 36, 63, 0.14) !important;
  border-top: 2px solid var(--mx-gold) !important;
  padding: 6px 0 !important;
}

html body #main-header .et_mobile_menu li a {
  background: #fff !important;
  color: var(--mx-navy) !important;
  border: none !important;
  border-bottom: 1px solid rgba(14, 36, 63, 0.06) !important;
  padding: 14px 20px !important;
  font-weight: 600 !important;
}

html body #main-header .et_mobile_menu li a:hover {
  background: rgba(14, 36, 63, 0.05) !important;
  color: var(--mx-gold) !important;
}

/* ===== Hero：僅首頁 section_0，勿套到隱私權等內容頁 ===== */
html body.home #page-container .et_pb_section_0,
html body.home #page-container .et_pb_section_0.et_pb_with_background {
  background-color: var(--mx-navy) !important;
  background-image:
    linear-gradient(165deg, rgba(18, 72, 103, 0.88) 0%, rgba(13, 155, 138, 0.55) 100%),
    url("/wp-content/uploads/2022/09/coding-background-texture.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

html body.home .et_pb_section_0 .et_pb_row,
html body.home .et_pb_section_0 .et_pb_column,
html body.home .et_pb_section_0 .et_pb_slider,
html body.home .et_pb_section_0 .et_pb_slides,
html body.home .et_pb_section_0 .et_pb_slide,
html body.home .et_pb_section_0 .et_pb_slide_overlay_container {
  background: transparent !important;
  background-image: none !important;
}

html body.home .et_pb_section_0,
html body.home .et_pb_section_0 .et_pb_module,
html body.home .et_pb_section_0 .et_pb_slide {
  color: #fff !important;
}

html body.home .et_pb_section_0 .et_pb_slide_description {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

html body.home .et_pb_section_0 .et_pb_slide_title,
html body.home .et_pb_section_0 .et_pb_slide_title a {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem) !important;
  line-height: 1.4 !important;
}

html body.home .et_pb_section_0 .et_pb_slide_content,
html body.home .et_pb_section_0 .et_pb_slide_content * {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

html body.home .et_pb_section_0 .et-pb-controllers a {
  background: rgba(255, 255, 255, 0.3) !important;
}

html body.home .et_pb_section_0 .et-pb-controllers .et-pb-active-control {
  background: var(--mx-gold) !important;
}

/* ===== 內容頁（隱私權等）：淺底＋深字，避免看不見 ===== */
html body:not(.home) #page-container .et_pb_section_0,
html body:not(.home) #page-container .et_pb_section_0.et_pb_with_background {
  background: var(--mx-white) !important;
  background-image: none !important;
}

html body:not(.home) .et_pb_section_0,
html body:not(.home) .et_pb_section_0 .et_pb_module {
  color: var(--mx-text) !important;
}

html body:not(.home) .et_pb_section_0 h1,
html body:not(.home) .et_pb_section_0 h2,
html body:not(.home) .et_pb_section_0 h3,
html body:not(.home) .et_pb_section_0 h4,
html body:not(.home) .et_pb_section_0 h5,
html body:not(.home) .et_pb_section_0 h6 {
  color: var(--mx-navy) !important;
}

html body:not(.home) .et_pb_section_0 p,
html body:not(.home) .et_pb_section_0 li,
html body:not(.home) .et_pb_section_0 .et_pb_text_inner,
html body:not(.home) .et_pb_section_0 .et_pb_text_inner * {
  color: var(--mx-text) !important;
}

html body:not(.home) .et_pb_section_0 a {
  color: var(--mx-navy-2) !important;
}

html body:not(.home) .et_pb_section_0 blockquote {
  border-left: 3px solid var(--mx-gold);
  padding-left: 1rem;
  color: var(--mx-text) !important;
}

/* ===== Buttons：統一深藍／金色兩種 ===== */
html body .et_pb_button,
html body a.et_pb_button {
  border-radius: 999px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

html body.home .et_pb_section_0 .et_pb_button,
html body.home .et_pb_section_0 .et_pb_more_button,
html body .et_pb_bg_layout_dark .et_pb_button:not([href*="line"]):not([href*="Line"]),
html body.home a.et_pb_button_0,
html body.home .et_pb_button_0 {
  background: var(--mx-gold) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html body.home .et_pb_section_0 .et_pb_button:hover,
html body .et_pb_bg_layout_dark .et_pb_button:hover,
html body.home a.et_pb_button_0:hover {
  background: var(--mx-gold-hover) !important;
  color: #fff !important;
}

html body .et_pb_bg_layout_light .et_pb_button {
  background: var(--mx-navy) !important;
  color: #fff !important;
}

html body .et_pb_bg_layout_light .et_pb_button:hover {
  background: var(--mx-navy-2) !important;
  color: #fff !important;
}

/* ===== Unify loud Divi blocks → navy（僅首頁區塊編號） ===== */
html body.home .et_pb_section_2,
html body.home .et_pb_section_2 .et_pb_column,
html body.home .et_pb_section_5,
html body.home .et_pb_section_5 .et_pb_column,
html body.home .et_pb_section_9,
html body.home .et_pb_section_9 .et_pb_column,
html body.home .et_pb_section_11,
html body.home .et_pb_section_11 .et_pb_column {
  background-image: none !important;
}

html body.home .et_pb_section_2 .et_pb_column {
  background-color: transparent !important;
}

/* gutters2 列：最底層不要填色，保持透明 */
html body .et_pb_row.et_pb_gutters2,
html body .et_pb_row.et_pb_gutters2 .et_pb_column,
html body.home .et_pb_section_11 .et_pb_row.et_pb_gutters2,
html body.home .et_pb_section_11 .et_pb_row.et_pb_gutters2 .et_pb_column,
html body.home .et_pb_section_11 .et_pb_column {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* 核心／服務區塊：淺底清新，不再用厚重深藍漸層 */
html body.home .et_pb_section_5,
html body.home .et_pb_section_5.et_pb_with_background {
  background-color: var(--mx-white) !important;
  background-image: none !important;
}

html body.home .et_pb_section_9,
html body.home .et_pb_section_9.et_pb_with_background {
  background-color: var(--mx-paper) !important;
  background-image: none !important;
}

html body.home .et_pb_section_11,
html body.home .et_pb_section_11.et_pb_with_background {
  background-color: var(--mx-white) !important;
  background-image: none !important;
}

/* 淺底區塊標題改深色 */
html body.home .et_pb_section_5,
html body.home .et_pb_section_5 h1,
html body.home .et_pb_section_5 h2,
html body.home .et_pb_section_5 h3,
html body.home .et_pb_section_5 h4,
html body.home .et_pb_section_5 .et_pb_module_header,
html body.home .et_pb_section_5 .et_pb_text_inner,
html body.home .et_pb_section_9,
html body.home .et_pb_section_9 h1,
html body.home .et_pb_section_9 h2,
html body.home .et_pb_section_9 h3,
html body.home .et_pb_section_9 .et_pb_text_inner,
html body.home .et_pb_section_11,
html body.home .et_pb_section_11 h1,
html body.home .et_pb_section_11 h2,
html body.home .et_pb_section_11 h4 {
  color: var(--mx-navy) !important;
}

html body.home .et_pb_section_5 p,
html body.home .et_pb_section_9 p,
html body.home .et_pb_section_11 p {
  color: var(--mx-muted) !important;
}

/* 服務項目卡片：白底＋細邊＋青綠圖示 */
html body.home .et_pb_section_9 .et_pb_blurb,
html body.home #page-container .et_pb_section_9 .et_pb_blurb {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border-radius: 14px !important;
  border: 1px solid rgba(18, 72, 103, 0.08) !important;
  box-shadow: var(--mx-shadow) !important;
  padding: 1.45rem 1.25rem 1.35rem !important;
}

html body.home .et_pb_section_9 .et_pb_blurb .et_pb_module_header,
html body.home .et_pb_section_9 .et_pb_blurb .et_pb_module_header span,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_light .et_pb_module_header,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_light .et_pb_module_header span {
  color: var(--mx-navy) !important;
}

html body.home .et_pb_section_9 .et_pb_blurb .et_pb_blurb_description,
html body.home .et_pb_section_9 .et_pb_blurb .et_pb_blurb_description *,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_light .et_pb_blurb_description,
html body.home .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_light .et_pb_blurb_description * {
  color: var(--mx-text) !important;
}


/* ===== Dark layout text：一律白 ===== */
html body .et_pb_bg_layout_dark,
html body .et_pb_bg_layout_dark h1,
html body .et_pb_bg_layout_dark h2,
html body .et_pb_bg_layout_dark h3,
html body .et_pb_bg_layout_dark h4,
html body .et_pb_bg_layout_dark .et_pb_module_header,
html body .et_pb_bg_layout_dark .et_pb_module_header span,
html body .et_pb_bg_layout_dark a {
  color: #fff !important;
}

html body .et_pb_bg_layout_dark p,
html body .et_pb_bg_layout_dark .et_pb_blurb_description,
html body .et_pb_bg_layout_dark .et_pb_text_inner,
html body .et_pb_bg_layout_dark .et_pb_text_inner * {
  color: rgba(255, 255, 255, 0.84) !important;
}

/* 淺底清新區塊：標題深藍、內文中灰、圖示青綠 */
html body.home .et_pb_section_2 h1,
html body.home .et_pb_section_2 h2,
html body.home .et_pb_section_2 h3,
html body.home .et_pb_section_2 h4,
html body.home .et_pb_section_2 .et_pb_module_header,
html body.home .et_pb_section_2 .et_pb_module_header span,
html body.home .et_pb_section_5 h1,
html body.home .et_pb_section_5 h2,
html body.home .et_pb_section_5 h3,
html body.home .et_pb_section_5 h4,
html body.home .et_pb_section_5 .et_pb_module_header,
html body.home .et_pb_section_5 .et_pb_module_header span,
html body.home .et_pb_section_9 > .et_pb_row:first-child h1,
html body.home .et_pb_section_9 > .et_pb_row:first-child h2,
html body.home .et_pb_section_9 > .et_pb_row:first-child h3,
html body.home .et_pb_section_9 .et_pb_text h1,
html body.home .et_pb_section_9 .et_pb_text h2,
html body.home .et_pb_section_9 .et_pb_text h3,
html body.home .et_pb_section_9 .et_pb_text h4,
html body.home .et_pb_section_11 h1,
html body.home .et_pb_section_11 h2,
html body.home .et_pb_section_11 h3,
html body.home .et_pb_section_11 h4,
html body.home .et_pb_section_11 .et_pb_module_header,
html body.home .et_pb_section_11 .et_pb_module_header span {
  color: var(--mx-navy) !important;
}

html body.home .et_pb_section_2 a.et_pb_button,
html body.home .et_pb_section_5 a:not(.et_pb_button) {
  color: var(--mx-gold) !important;
}

html body.home .et_pb_section_2 p,
html body.home .et_pb_section_2 .et_pb_text_inner,
html body.home .et_pb_section_2 .et_pb_blurb_description,
html body.home .et_pb_section_5 p,
html body.home .et_pb_section_5 .et_pb_blurb_description,
html body.home .et_pb_section_5 .et_pb_blurb_description *,
html body.home .et_pb_section_9 .et_pb_text p,
html body.home .et_pb_section_9 .et_pb_text .et_pb_text_inner,
html body.home .et_pb_section_9 .et_pb_text_inner,
html body.home .et_pb_section_11 p {
  color: var(--mx-muted) !important;
}

/* section_5 卡片若標 dark layout，仍強制深字 */
html body.home #page-container .et_pb_section_5 .et_pb_blurb.et_pb_bg_layout_dark,
html body.home #page-container .et_pb_section_5 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.home #page-container .et_pb_section_5 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span,
html body.home #page-container .et_pb_section_11 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.home #page-container .et_pb_section_11 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span {
  color: var(--mx-navy) !important;
}
html body.home #page-container .et_pb_section_5 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.home #page-container .et_pb_section_5 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description * {
  color: var(--mx-text) !important;
}

/* ===== 五個核心服務：左側「五個核心服務…」標題不顯示 ===== */
html body.home #page-container .et_pb_section_5 .et_pb_text_2,
html body.home #page-container .et_pb_section_5 .et_pb_column_7 {
  display: none !important;
}
html body.home #page-container .et_pb_section_5 .et_pb_column_8.et_pb_specialty_column,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--mx-text) !important;
}

html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_row_inner,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_column_inner {
  background: transparent !important;
  background-image: none !important;
}

html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_dark,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_light,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_1,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_2,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_3,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_4,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_5 {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 72, 103, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: var(--mx-shadow) !important;
  padding: 1.35rem 1rem 1.2rem !important;
  color: var(--mx-text) !important;
}

html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb .et_pb_module_header,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb .et_pb_module_header span,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb h4 {
  color: var(--mx-navy) !important;
  font-weight: 700 !important;
}

html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb .et_pb_blurb_description,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb .et_pb_blurb_description *,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description * {
  color: var(--mx-muted) !important;
}


/* 核心服務「資料保全」：不顯示下方說明 */
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_1 .et_pb_blurb_description,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_1 .et_pb_blurb_description * {
  display: none !important;
}

/* ===== Cards / blog：白底＋淡陰影 ===== */
html body .et_pb_blog_grid .et_pb_post {
  background: var(--mx-white) !important;
  border-radius: var(--mx-radius) !important;
  box-shadow: var(--mx-shadow) !important;
  border: 1px solid rgba(14, 36, 63, 0.05);
  padding: 1.15rem !important;
}

html body .et_pb_blog_grid .et_pb_post .entry-title,
html body .et_pb_blog_grid .et_pb_post h2,
html body .et_pb_blog_grid .et_pb_post h2 a {
  color: var(--mx-navy) !important;
  font-size: 1.1rem !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

html body .et_pb_blog_grid .et_pb_post .entry-title a:hover,
html body .et_pb_blog_grid .et_pb_post h2 a:hover {
  color: var(--mx-gold) !important;
}

html body .et_pb_blog_grid .et_pb_post .post-meta,
html body .et_pb_blog_grid .et_pb_post .post-meta a,
html body .et_pb_blog_grid .et_pb_post .post-content,
html body .et_pb_blog_grid .et_pb_post .post-content * {
  color: var(--mx-muted) !important;
}

html body .et_pb_bg_layout_light .et_pb_blurb .et_pb_module_header,
html body .et_pb_bg_layout_light .et_pb_blurb h4 {
  color: var(--mx-navy) !important;
  font-weight: 700 !important;
}

html body .wdcl-image-title,
html body .wdcl-image-title a {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

html body .et_pb_divider:before {
  border-top-color: rgba(184, 149, 59, 0.55) !important;
  border-top-width: 2px !important;
}

/* ===== Testimonials ===== */
html body .et_pb_testimonial {
  border-radius: var(--mx-radius) !important;
}

html body .et_pb_testimonial.et_pb_bg_layout_light {
  background: var(--mx-white) !important;
  box-shadow: var(--mx-shadow) !important;
  border: 1px solid rgba(18, 72, 103, 0.08) !important;
}

html body .et_pb_testimonial.et_pb_bg_layout_light .et_pb_testimonial_content,
html body .et_pb_testimonial.et_pb_bg_layout_light .et_pb_testimonial_content *,
html body .et_pb_testimonial.et_pb_bg_layout_light .et_pb_testimonial_description_inner * {
  color: var(--mx-text) !important;
}

html body .et_pb_testimonial.et_pb_bg_layout_light .et_pb_testimonial_author {
  color: var(--mx-navy) !important;
  font-weight: 700 !important;
}

/* row_4 客戶見證：統一白卡，去掉橘／深藍衝突色 */
html body.home #page-container .et_pb_row_4.et_pb_gutters3 .et_pb_testimonial,
html body.home #page-container .et_pb_row_4 .et_pb_testimonial,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_dark,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_light,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial_0,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial_3 {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 72, 103, 0.08) !important;
  border-top: 3px solid var(--mx-gold) !important;
  border-radius: 14px !important;
  box-shadow: var(--mx-shadow) !important;
  color: var(--mx-text) !important;
  padding: 1.35rem 1.2rem 1.25rem !important;
}

html body.home #page-container .et_pb_row_4 .et_pb_testimonial .et_pb_testimonial_content,
html body.home #page-container .et_pb_row_4 .et_pb_testimonial .et_pb_testimonial_content *,
html body.home #page-container .et_pb_row_4 .et_pb_testimonial p,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial .et_pb_testimonial_content,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial .et_pb_testimonial_content *,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_dark .et_pb_testimonial_content,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_dark .et_pb_testimonial_content *,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_dark p {
  color: var(--mx-text) !important;
  font-weight: 700 !important;
}

html body.home #page-container .et_pb_row_4 .et_pb_testimonial .et_pb_testimonial_author,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial .et_pb_testimonial_author,
html body.home #page-container .et_pb_section_7 .et_pb_testimonial.et_pb_bg_layout_dark .et_pb_testimonial_author {
  color: var(--mx-navy) !important;
  font-weight: 700 !important;
}

html body.home #page-container .et_pb_section_7 .et_pb_testimonial:before,
html body.home #page-container .et_pb_row_4 .et_pb_testimonial:before {
  color: var(--mx-gold) !important;
}

/* 區塊英文字眉（TESTIMONIALS / SERVICES）：顏色淡一點 */
html body.home #page-container .et_pb_section_7 .et_pb_text .et_pb_text_inner > p:first-child:not(.mx-testimonials-lead),
html body.home #page-container .et_pb_section_9 .et_pb_text .et_pb_text_inner > p:first-child:not(.mx-services-lead),
html body.home #page-container .et_pb_section_7 .et_pb_text_3 .et_pb_text_inner > p:first-child:not(.mx-testimonials-lead),
html body.home #page-container .et_pb_section_9 .et_pb_text .et_pb_text_inner > p:first-of-type:not(.mx-services-lead) {
  color: rgba(18, 72, 103, 0.4) !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  font-size: 0.8rem !important;
  text-transform: uppercase;
}

/* 服務區塊說明：不要沿用英文小標的字距，避免中文擠成一團 */
html body.home #page-container .et_pb_section_9 .et_pb_text .et_pb_text_inner > p.mx-services-lead {
  display: block !important;
  max-width: 34rem !important;
  margin: 0.9rem auto 0 !important;
  padding: 0 0.5rem !important;
  color: var(--mx-muted) !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  line-height: 1.95 !important;
  text-transform: none !important;
  white-space: normal !important;
}

/* 客戶見證區塊說明 */
html body.home #page-container .et_pb_section_7 .et_pb_text_3 .mx-testimonials-lead {
  max-width: 40rem;
  margin: 0.75rem auto 0 !important;
  color: var(--mx-muted) !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.75 !important;
  text-transform: none !important;
}

/* ===== 頁尾區塊：去掉深藍紫漸層；gutters2 列透明 ===== */
html body #page-container .et_pb_section_13,
html body #page-container .et_pb_section_13.et_pb_with_background {
  background: var(--mx-paper) !important;
  background-color: var(--mx-paper) !important;
  background-image: none !important;
}

html body #page-container .et_pb_section_13 .et_pb_row,
html body #page-container .et_pb_section_13 .et_pb_row.et_pb_gutters2,
html body #page-container .et_pb_section_13 .et_pb_column {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body #page-container .et_pb_section_13,
html body #page-container .et_pb_section_13 p,
html body #page-container .et_pb_section_13 li,
html body #page-container .et_pb_section_13 .et_pb_text_inner,
html body #page-container .et_pb_section_13 .et_pb_text_inner * {
  color: var(--mx-text) !important;
}

html body #page-container .et_pb_section_13 h1,
html body #page-container .et_pb_section_13 h2,
html body #page-container .et_pb_section_13 h3,
html body #page-container .et_pb_section_13 h4,
html body #page-container .et_pb_section_13 h5,
html body #page-container .et_pb_section_13 h6 {
  color: var(--mx-navy) !important;
}

html body #page-container .et_pb_section_13 a {
  color: var(--mx-navy-2) !important;
}

html body #page-container .et_pb_section_13 a:hover {
  color: var(--mx-gold) !important;
}

/* ===== 文章 Theme Builder 底部四欄（row_4_tb_body / #contact）===== */
html body #page-container .et_pb_section_4_tb_body,
html body #page-container .et_pb_section_4_tb_body.et_pb_with_background,
html body #page-container #contact.et_pb_section_4_tb_body {
  background: var(--mx-paper) !important;
  background-color: var(--mx-paper) !important;
  background-image: none !important;
}

html body #page-container .et_pb_row_4_tb_body,
html body #page-container .et_pb_row_4_tb_body.et_pb_row,
html body #page-container .et_pb_row_4_tb_body.et_pb_row_4col,
html body #page-container .et_pb_row.et_pb_row_4_tb_body.et_pb_gutters2,
html body #page-container .et_pb_row_4_tb_body .et_pb_column {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body #page-container .et_pb_row_4_tb_body,
html body #page-container .et_pb_row_4_tb_body p,
html body #page-container .et_pb_row_4_tb_body li,
html body #page-container .et_pb_row_4_tb_body .et_pb_text_inner,
html body #page-container .et_pb_row_4_tb_body .et_pb_text_inner * {
  color: var(--mx-muted) !important;
}

html body #page-container .et_pb_row_4_tb_body h1,
html body #page-container .et_pb_row_4_tb_body h2,
html body #page-container .et_pb_row_4_tb_body h3,
html body #page-container .et_pb_row_4_tb_body h4,
html body #page-container .et_pb_text_4_tb_body h2,
html body #page-container .et_pb_text_5_tb_body h2,
html body #page-container .et_pb_text_6_tb_body h2,
html body #page-container .et_pb_text_4_tb_body,
html body #page-container .et_pb_text_4_tb_body h3,
html body #page-container .et_pb_text_5_tb_body,
html body #page-container .et_pb_text_5_tb_body h3,
html body #page-container .et_pb_text_6_tb_body,
html body #page-container .et_pb_text_6_tb_body h3 {
  color: var(--mx-navy) !important;
}

html body #page-container .et_pb_row_4_tb_body a,
html body #page-container .et_pb_text_4_tb_body a,
html body #page-container .et_pb_text_5_tb_body a,
html body #page-container .et_pb_text_6_tb_body a {
  color: var(--mx-navy-2) !important;
}

html body #page-container .et_pb_row_4_tb_body a:hover {
  color: var(--mx-gold) !important;
}

html body #page-container .et_pb_blurb_1_tb_body,
html body #page-container .et_pb_blurb_2_tb_body,
html body #page-container .et_pb_blurb_3_tb_body,
html body #page-container .et_pb_blurb_1_tb_body.et_pb_bg_layout_dark,
html body #page-container .et_pb_blurb_2_tb_body.et_pb_bg_layout_dark,
html body #page-container .et_pb_blurb_3_tb_body.et_pb_bg_layout_dark {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--mx-muted) !important;
  background: transparent !important;
}

html body #page-container .et_pb_blurb_1_tb_body .et_pb_module_header,
html body #page-container .et_pb_blurb_1_tb_body .et_pb_module_header span,
html body #page-container .et_pb_blurb_1_tb_body.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_1_tb_body.et_pb_bg_layout_dark .et_pb_module_header span,
html body #page-container .et_pb_blurb_2_tb_body .et_pb_module_header,
html body #page-container .et_pb_blurb_2_tb_body .et_pb_module_header span,
html body #page-container .et_pb_blurb_2_tb_body.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_2_tb_body.et_pb_bg_layout_dark .et_pb_module_header span,
html body #page-container .et_pb_blurb_3_tb_body .et_pb_module_header,
html body #page-container .et_pb_blurb_3_tb_body .et_pb_module_header span,
html body #page-container .et_pb_blurb_3_tb_body.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_3_tb_body.et_pb_bg_layout_dark .et_pb_module_header span {
  color: var(--mx-navy) !important;
  font-weight: 700 !important;
}

html body #page-container .et_pb_blurb_1_tb_body .et_pb_blurb_description,
html body #page-container .et_pb_blurb_1_tb_body .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_1_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_1_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_2_tb_body .et_pb_blurb_description,
html body #page-container .et_pb_blurb_2_tb_body .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_2_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_2_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_3_tb_body .et_pb_blurb_description,
html body #page-container .et_pb_blurb_3_tb_body .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_3_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_3_tb_body.et_pb_bg_layout_dark .et_pb_blurb_description * {
  color: var(--mx-muted) !important;
  opacity: 1 !important;
}

html body #page-container .et_pb_blurb_1_tb_body a,
html body #page-container .et_pb_blurb_2_tb_body a,
html body #page-container .et_pb_blurb_3_tb_body a {
  color: var(--mx-navy-2) !important;
  font-weight: 600 !important;
}

html body #page-container .et_pb_blurb_1_tb_body .et-pb-icon,
html body #page-container .et_pb_blurb_2_tb_body .et-pb-icon,
html body #page-container .et_pb_blurb_3_tb_body .et-pb-icon {
  color: var(--mx-gold) !important;
}

/* ===== 頁尾聯絡資訊（公司／營業時間／電話）：淺底可讀藍灰字 ===== */
html body #page-container .et_pb_blurb_13,
html body #page-container .et_pb_blurb_14,
html body #page-container .et_pb_blurb_15,
html body #page-container .et_pb_blurb_13.et_animated,
html body #page-container .et_pb_blurb_14.et_animated,
html body #page-container .et_pb_blurb_15.et_animated,
html body #page-container .et_pb_blurb_13.et_pb_bg_layout_dark,
html body #page-container .et_pb_blurb_14.et_pb_bg_layout_dark,
html body #page-container .et_pb_blurb_15.et_pb_bg_layout_dark {
  opacity: 1 !important;
  visibility: visible !important;
  color: #5b7383 !important;
  font-weight: 500 !important;
}

html body #page-container .et_pb_blurb_13 .et_pb_module_header,
html body #page-container .et_pb_blurb_13 .et_pb_module_header span,
html body #page-container .et_pb_blurb_13.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_13.et_pb_bg_layout_dark .et_pb_module_header span,
html body #page-container .et_pb_blurb_14 .et_pb_module_header,
html body #page-container .et_pb_blurb_14 .et_pb_module_header span,
html body #page-container .et_pb_blurb_14.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_14.et_pb_bg_layout_dark .et_pb_module_header span,
html body #page-container .et_pb_blurb_15 .et_pb_module_header,
html body #page-container .et_pb_blurb_15 .et_pb_module_header span,
html body #page-container .et_pb_blurb_15.et_pb_bg_layout_dark .et_pb_module_header,
html body #page-container .et_pb_blurb_15.et_pb_bg_layout_dark .et_pb_module_header span {
  color: #1b2e3a !important;
  font-weight: 700 !important;
}

html body #page-container .et_pb_blurb_13 .et_pb_blurb_description,
html body #page-container .et_pb_blurb_13 .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_13.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_13.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_14 .et_pb_blurb_description,
html body #page-container .et_pb_blurb_14 .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_14.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_14.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_15 .et_pb_blurb_description,
html body #page-container .et_pb_blurb_15 .et_pb_blurb_description *,
html body #page-container .et_pb_blurb_15.et_pb_bg_layout_dark .et_pb_blurb_description,
html body #page-container .et_pb_blurb_15.et_pb_bg_layout_dark .et_pb_blurb_description * {
  color: #5b7383 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}


html body #page-container .et_pb_blurb_13 a,
html body #page-container .et_pb_blurb_14 a,
html body #page-container .et_pb_blurb_15 a {
  color: #1a5f82 !important;
  font-weight: 600 !important;
}

/* ===== Footer：單一深藍 ===== */
html body #main-footer,
html body #footer-widgets {
  background: var(--mx-navy) !important;
}

html body #main-footer,
html body #main-footer p,
html body #main-footer li,
html body #footer-widgets .footer-widget,
html body #footer-widgets .footer-widget p {
  color: rgba(255, 255, 255, 0.78) !important;
}

html body #main-footer h2,
html body #main-footer h4,
html body #footer-widgets h4 {
  color: #fff !important;
}

html body #main-footer a,
html body #footer-widgets a {
  color: rgba(255, 255, 255, 0.82) !important;
}

html body #main-footer a:hover,
html body #footer-widgets a:hover {
  color: var(--mx-gold-hover) !important;
}

html body #footer-bottom {
  background: #0a1a2e !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ===== Floating：深藍為主，LINE 例外 ===== */
/* 滑入動畫偶發卡在 left:-90px，強制貼齊左右邊緣 */
html body .mystickyelements-fixed.mystickyelements-position-left,
html body .mystickyelements-fixed.mystickyelements-position-mobile-left,
html body .mystickyelements-fixed.mystickyelements-entry-effect-slide-in,
html body .mystickyelements-fixed.mystickyelements-entry-effect-slide-in.entry-effect,
html body .mystickyelements-fixed.mystickyelements-entry-effect-slide-in.entry-effect.delay-efect-slidein-left {
  left: 0 !important;
  right: auto !important;
}
html body .mystickyelements-fixed.mystickyelements-position-right,
html body .mystickyelements-fixed.mystickyelements-position-mobile-right {
  right: 0 !important;
  left: auto !important;
}
html body .mystickyelements-fixed {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 99999 !important;
}

html body .mystickyelements-fixed .mystickyelements-social-icon,
html body .mystickyelements-fixed li {
  background: var(--mx-navy) !important;
}

html body .mystickyelements-fixed a[href*="line"],
html body .mystickyelements-fixed a[href*="Line"] {
  background: var(--mx-line) !important;
}

html body .et_overlay {
  background: rgba(14, 36, 63, 0.72) !important;
}

html body .et_overlay:before {
  color: var(--mx-gold) !important;
}

/* ===== Forms ===== */
html body input[type="text"],
html body input[type="email"],
html body input[type="search"],
html body textarea,
html body select {
  border-radius: 10px !important;
  border-color: rgba(14, 36, 63, 0.14) !important;
}

@media (max-width: 980px) {
  html body.home .et_pb_section_0 .et_pb_slide_title,
  html body.home .et_pb_section_0 .et_pb_slide_title a {
    font-size: 1.35rem !important;
  }
}

/* ===== 全站連結：拿掉 Divi 亮藍 #2ea3f2 / #0c71c3 ===== */
html body a {
  color: var(--mx-navy-2);
}

html body a:hover {
  color: var(--mx-gold);
}

html body .et_pb_bg_layout_dark a:not(.et_pb_button),
html body.home .et_pb_section_0 a:not(.et_pb_button),
html body.home .et_pb_section_2 a:not(.et_pb_button),
html body.home .et_pb_section_5 a:not(.et_pb_button),
html body.home .et_pb_section_11 a:not(.et_pb_button),
html body #main-footer a,
html body #footer-widgets a {
  color: rgba(255, 255, 255, 0.88) !important;
}

html body .et_pb_bg_layout_dark a:not(.et_pb_button):hover,
html body #main-footer a:hover,
html body #footer-widgets a:hover {
  color: var(--mx-gold-hover) !important;
}

/* 服務頁卡片：同樣統一白底／深藍字／金色圖示 */
html body.page-id-130 #page-container .et_pb_blurb {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border-radius: 14px !important;
  border: 1px solid rgba(14, 36, 63, 0.06) !important;
  box-shadow: 0 10px 28px rgba(14, 36, 63, 0.08) !important;
  padding: 1.45rem 1.25rem !important;
}

html body.page-id-130 #page-container .et_pb_blurb .et_pb_module_header,
html body.page-id-130 #page-container .et_pb_blurb .et_pb_module_header span,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span {
  color: var(--mx-navy) !important;
}

html body.page-id-130 #page-container .et_pb_blurb .et_pb_blurb_description,
html body.page-id-130 #page-container .et_pb_blurb .et_pb_blurb_description *,
html body.page-id-130 #page-container .et_pb_blurb p,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark p {
  color: var(--mx-text) !important;
}


/* 聯絡／關於等內容頁：避免亮藍標題底或舊強調色 */
html body.page-id-223 .et_pb_fullwidth_header,
html body.page-id-870 .et_pb_fullwidth_header {
  background-color: var(--mx-navy) !important;
}

html body .et_pb_contact_submit,
html body .et_pb_contact_form input[type="submit"] {
  background: var(--mx-navy) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

html body .et_pb_contact_submit:hover,
html body .et_pb_contact_form input[type="submit"]:hover {
  background: var(--mx-gold) !important;
  color: var(--mx-navy) !important;
}

/* 白底服務卡：即使模組標成 layout_dark，也強制深字／金圖示 */
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark,
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span,
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark h4,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header span,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark h4 {
  color: var(--mx-navy) !important;
}

html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body.home #page-container .et_pb_section_9 .et_pb_blurb.et_pb_bg_layout_dark p,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description *,
html body.page-id-130 #page-container .et_pb_blurb.et_pb_bg_layout_dark p {
  color: var(--mx-text) !important;
}


/* ===== 全站圖標彩色（依 blurb 編號輪替，高特異性） ===== */
html body.home #page-container .et_pb_blurb_1 .et-pb-icon,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_1 .et-pb-icon { color: #0d9b8a !important; }
html body.home #page-container .et_pb_blurb_2 .et-pb-icon,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_2 .et-pb-icon { color: #2b7bb9 !important; }
html body.home #page-container .et_pb_blurb_3 .et-pb-icon,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_3 .et-pb-icon { color: #e67e22 !important; }
html body.home #page-container .et_pb_blurb_4 .et-pb-icon,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_4 .et-pb-icon { color: #27ae60 !important; }
html body.home #page-container .et_pb_blurb_5 .et-pb-icon,
html body.home #page-container .et_pb_section_5 .et_pb_column_8 .et_pb_blurb_5 .et-pb-icon { color: #c0392b !important; }
html body.home #page-container .et_pb_blurb_6 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_6 .et-pb-icon { color: #1abc9c !important; }
html body.home #page-container .et_pb_blurb_7 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_7 .et-pb-icon { color: #3498db !important; }
html body.home #page-container .et_pb_blurb_8 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_8 .et-pb-icon { color: #f39c12 !important; }
html body.home #page-container .et_pb_blurb_9 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_9 .et-pb-icon { color: #16a085 !important; }
html body.home #page-container .et_pb_blurb_10 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_10 .et-pb-icon { color: #e74c3c !important; }
html body.home #page-container .et_pb_blurb_11 .et-pb-icon,
html body.home #page-container .et_pb_section_9 .et_pb_blurb_11 .et-pb-icon { color: #2980b9 !important; }
html body #page-container .et_pb_blurb_13 .et-pb-icon { color: #0d9b8a !important; }
html body #page-container .et_pb_blurb_14 .et-pb-icon { color: #2b7bb9 !important; }
html body #page-container .et_pb_blurb_15 .et-pb-icon { color: #e67e22 !important; }
html body #page-container .et_pb_blurb_17 .et-pb-icon,
html body #mx-contact .et_pb_blurb_17 .et-pb-icon { color: #3498db !important; }
html body #page-container .et_pb_blurb_18 .et-pb-icon,
html body #mx-contact .et_pb_blurb_18 .et-pb-icon { color: #27ae60 !important; }
html body #page-container .et_pb_blurb_19 .et-pb-icon,
html body #mx-contact .et_pb_blurb_19 .et-pb-icon { color: #e67e22 !important; }

/* 頂欄電話／信箱圖示 */
html body #et-info-phone:before { color: #2ecc71 !important; }
html body #et-info-email:before { color: #f39c12 !important; }

/* ===== 服務卡片「了解更多」＋彈出視窗 ===== */
html body .mx-service-more-wrap {
  margin: 0.85rem 0 0 !important;
}
html body .mx-service-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(18, 72, 103, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--mx-navy, #124867) !important;
  font-family: "Sora", "Noto Sans TC", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
html body .mx-service-more:hover,
html body .mx-service-more:focus-visible {
  background: var(--mx-gold, #0d9b8a);
  border-color: var(--mx-gold, #0d9b8a);
  color: #fff !important;
  outline: none;
}
html body .mx-modal[hidden] {
  display: none !important;
}
html body .mx-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
html body .mx-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 36, 63, 0.48);
}
html body .mx-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(82vh, 560px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(14, 36, 63, 0.22);
  padding: 1.6rem 1.45rem 1.45rem;
}
html body .mx-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5b7383;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
html body .mx-modal__close:hover {
  color: var(--mx-navy, #124867);
  background: rgba(18, 72, 103, 0.08);
}
html body .mx-modal__dialog h3 {
  margin: 0 1.75rem 0.55rem 0;
  color: var(--mx-navy, #124867);
  font-size: 1.2rem;
  line-height: 1.4;
}
html body .mx-modal__lead {
  margin: 0 0 0.75rem;
  color: #5b7383;
  font-size: 0.95rem;
}
html body .mx-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #1b2e3a;
  line-height: 1.55;
}
html body .mx-modal__list li,
html body .mx-modal__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
}
html body .mx-modal__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  border-radius: 0.45rem;
  color: #fff;
}
html body .mx-modal__ico svg {
  display: block;
}
html body .mx-modal__ico--0 { background: #0d9b8a; }
html body .mx-modal__ico--1 { background: #124867; }
html body .mx-modal__ico--2 { background: #e0a100; }
html body .mx-modal__ico--3 { background: #2f80ed; }
html body .mx-modal__ico--4 { background: #27ae60; }
html body .mx-modal__ico--5 { background: #e67e22; }
html body .mx-modal__txt {
  flex: 1 1 auto;
  min-width: 0;
}
html body.mx-modal-open {
  overflow: hidden;
}

/* ===== 最新消息 /news：平面列表＋換頁 ===== */
html body.page-id-23825 .et_pb_posts .et_pb_post,
html body.page-id-23825 .et_pb_ajax_pagination_container .et_pb_post {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(18, 72, 103, 0.12) !important;
  margin: 0 0 1.25rem !important;
  padding: 0 0 1.25rem !important;
}
html body.page-id-23825 .et_pb_posts .et_pb_post .entry-title,
html body.page-id-23825 .et_pb_posts .et_pb_post .entry-title a,
html body.page-id-23825 .et_pb_posts .et_pb_post h2,
html body.page-id-23825 .et_pb_posts .et_pb_post h2 a {
  color: var(--mx-navy) !important;
  font-size: 1.25rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
html body.page-id-23825 .et_pb_posts .et_pb_post .entry-title a:hover,
html body.page-id-23825 .et_pb_posts .et_pb_post h2 a:hover {
  color: var(--mx-gold) !important;
}
html body.page-id-23825 .et_pb_posts .et_pb_post .post-meta,
html body.page-id-23825 .et_pb_posts .et_pb_post .post-meta a {
  color: var(--mx-muted) !important;
}
html body.page-id-23825 .et_pb_posts .et_pb_post .post-content,
html body.page-id-23825 .et_pb_posts .et_pb_post .post-content p {
  color: var(--mx-text) !important;
}
html body.page-id-23825 .et_pb_posts .et_pb_more_button,
html body.page-id-23825 .et_pb_posts a.more-link {
  color: var(--mx-gold) !important;
  font-weight: 700 !important;
}
html body.page-id-23825 .pagination {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(18, 72, 103, 0.12) !important;
}
html body.page-id-23825 .pagination a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.65rem 1.15rem !important;
  border-radius: 999px !important;
  background: var(--mx-navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
html body.page-id-23825 .pagination a:hover {
  background: var(--mx-gold) !important;
  color: #fff !important;
}
