.phone-1{position:fixed;right:1%;top:60%;z-index:1000;}
.line-1{position:fixed;right:1%;top:72%;z-index:1000;}
.map{position:fixed;right:1%;top:84%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone-1, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link , .mail-1 { 
    transform: scale(0.7);
    right:0;
  }
}

/*根元素*/
:root{
--white:#ffffff; /* 背景(白) var(--white)*/
--black:#000000; /* 段落文字  var(--black)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#1e3a8a; /* 主要文字 var(--text)*/
--text2:#112255; /* h3次要文字 var(--text2)*/
--text3:#f97316; /* h4次要文字 var(--text3)*/
--text4:#64748b; /* 次要文字 var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, var(--text2) 100%); /* 漸層 var(--gradient)*/
}

/*logo&頁籤選單文字區塊左右靠齊*/
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;
}

.topnavbar .container {
  padding: 0;  /* 清除內距 */
  display: grid;
  grid-auto-flow: column;
  align-items: end;
}

@media (min-width: 1600px) {
  body[data-type="fullpage"] .topnavbar .container { width: 1600px; }
}

@media only screen and (min-width: 768px){ 
  .topnavbar .container #logo { text-align: left; }/* 讓頁籤logo靠左 */ 
} /* 在螢幕寬度 768px 以上顯現 */

.topnavbar .container #nav { text-align: right; }/* 讓頁籤選單文字靠右 */

/*按鈕-回首頁&搜尋*/
body[data-type="fullpage"] .navbar .container {
    margin: 0 3vw 0 auto;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
/* 優先套用各平台預設英文字型（蘋果 / Windows / 安卓 / 舊版系統），中文字依序遞補套用 Noto Sans TC（思源黑體），最後由系統無襯線體（sans-serif）墊底 */
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

hr {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  margin: 2em 0;
}

/*編輯欄設定*/
#main-wrap .container {
  font-size: clamp(16px, 2vw, 18px);
  color:  var(--black);
}/*編輯欄文字*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol p{  
  line-height: 2;
  text-wrap: pretty ;  /*適用內文,段落避開孤字*/
 }

h1, h2, h3, h4, h5, h6 { 
  text-wrap: balance ;  /*適用標題和短文案,視覺效果更平衡*/
} 

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
#side ul li a {
  font-size: 16px;
  color: #333;
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 {
    color: #333;
    font-size: clamp(22px, 3vw, 26px);
}/*產品內頁標題文字*/


/*分頁title文字*/
.h1title h1{
  color: var(--text);
  text-align: center;
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

#bodyinhome .fcol:nth-child(-n+6) { padding: 0; } /*首頁-全編輯欄間距*/
#bodyinhome .fcol:nth-child(-n+6) .container {  width: 100%; padding: 0; } /*首頁-全編輯欄容器拉寬*/
body.about-us .fcol:nth-child(-n+7) .container {  width: 100%; padding: 0; } /*內頁-關於鑫閎-全編輯欄容器拉寬*/

#footer .container { 
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#footer {
    color: #000;
    background-color: #fff;
}
#foot-nav {    
  display: flex;
  justify-content: center;
  border-bottom: 0px solid #444;
}
#foot-nav ul li a {
    color: var(--text2);
  border: 1px solid var(--custom-border);
    border-radius: 100vmax;
}
#foot-nav ul li a:hover { color: var(--text3); }
#foot-nav ul li.current a {  color: var(--text2); }

/* ==========================================
     鑫閎機電 - 全站通用根元素與基礎設定
     ========================================== */
  :root {
    /* 品牌主色與次色 */
    --custom-primary: #1e3a8a;      /* 專業深藍 */
    --custom-primary-dark: #112255; /* 深藍互動色 */
    --custom-accent: #f97316;       /* 亮橘色 CTA */
    --custom-accent-hover: #ea580c; /* 橘色 Hover */
    
    /* 中性色系 */
    --custom-bg-light: #f8fafc;     /* 背景淺灰 */
    --custom-text-main: #334155;    /* 主要文字深灰 */
    --custom-text-muted: #64748b;   /* 次要說明灰 */
    --custom-border: #cbd5e1;       /* 邊框淺灰 */
  }

  /* 通用限寬容器 (RWD 自適應) */
  .custom-container {
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* 通用區塊間距 */
  .custom-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  /* 通用標題樣式 */
  .custom-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--custom-primary);
    margin-bottom: 1rem;
    text-align: center;
  }

  .custom-section-subtitle {
    font-size: 1.125rem;
    color: var(--custom-text-muted);
    text-align: center;
    margin-bottom: 3rem;
  }

  /* RWD 手機斷點優化 */
  @media (max-width: 768px) {
    .custom-section {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    
    .custom-section-title {
      font-size: 1.75rem;
    }
  }


/* ==========================================
     鑫閎機電 - 關於我們區塊 (About Us Snippet)
     ========================================== */

  /* 區塊整體外距與背景 */
  .custom-about-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
  }

  /* 核心容器：結合左側側邊欄與主要內容 */
  .custom-about-container {
    display: flex;
    gap: 2.5rem;
    position: relative;
  }

  /* 左側英文側邊標籤 (ABOUT) */
  .custom-about-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
    border-right: 1px solid var(--custom-border, #e2e8f0);
    padding-right: 1.5rem;
  }

  .custom-about-side-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--custom-text-muted, #94a3b8);
  }

  /* 主要內容容器 */
  .custom-about-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }

  /* --- 上半部：圖文網格 (CSS Grid 雙欄) --- */
  .custom-about-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  /* 圖片包覆外框 */
  .custom-about-img-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  /* 圖片本身樣式與 Hover 效果 */
  .custom-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .custom-about-img-box:hover .custom-about-img {
    transform: scale(1.03);
  }

  /* 右側文字內容排版 */
  .custom-about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-about-title-group {
    position: relative;
    margin-bottom: 1.25rem;
  }

  /* 標題上方藍色裝飾短線 */
  .custom-about-deco-line {
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.75rem;
    border-radius: 2px;
  }

  .custom-about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a) !important;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .custom-about-desc {
    font-size: 1.05rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
  }

  /* 「了解更多」外框按鈕 */
  .custom-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.75rem;
    border: 2px solid var(--custom-primary, #1e3a8a);
    color: var(--custom-primary, #1e3a8a);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .custom-btn-outline:hover {
    background-color: var(--custom-primary, #1e3a8a);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
  }

  .custom-btn-icon {
    transition: transform 0.3s ease;
  }

  .custom-btn-outline:hover .custom-btn-icon {
    transform: translateX(5px);
  }

  /* --- 下半部：四大優勢 (CSS Grid 四欄) --- */
  .custom-about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--custom-border, #f1f5f9);
  }

  .custom-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    position: relative;
  }

  /* 卡片間右側細分隔線（除最後一個外） */
  .custom-feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--custom-border, #e2e8f0);
  }

  /* 圖示容器樣式 */
  .custom-feature-icon-box {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 58, 138, 0.06);
    border-radius: 50%;
  }

  .custom-feature-icon {
    font-size: 1.5rem;
    color: var(--custom-primary, #1e3a8a);
  }

  .custom-feature-text {
    display: flex;
    flex-direction: column;
  }

  .custom-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a) !important;
    margin-bottom: 0.15rem;
  }

  .custom-feature-sub {
    font-size: 1rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.3;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1024px) {
    .custom-about-top-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .custom-about-img-box {
      aspect-ratio: 16 / 9;
    }

    .custom-about-features-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem 1.5rem;
    }

    .custom-feature-item:not(:last-child)::after {
      display: none; /* 平板改為雙欄時隱藏直向分隔線 */
    }
  }

  @media (max-width: 768px) {
    .custom-about-sidebar {
      display: none; /* 手機端隱藏側邊標籤以騰出空間 */
    }

    .custom-about-title {
      font-size: 1.6rem;
    }

    .custom-about-features-grid {
      grid-template-columns: 1fr; /* 手機端改為單欄堆疊 */
      gap: 1.5rem;
    }

    .custom-feature-item {
      background-color: var(--custom-bg-light, #f8fafc);
      padding: 1rem;
      border-radius: 6px;
    }
  }

  /* ==========================================
     鑫閎機電 - 服務項目區塊 (Service Grid)
     ========================================== */

  .custom-service-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--custom-border, #cbd5e1);
    margin: 0 -1em;
    display: flex;
    justify-content: center;
  }

  /* 核心容器：結合左側側邊欄與主要內容 */
  .custom-service-container {
    display: flex;
    gap: 2.5rem;
    position: relative;
    margin: 0 1em;
  }

  /* 左側英文側邊標籤 (SERVICE) */
  .custom-service-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
    border-right: 1px solid var(--custom-bg-light, #f8fafc);
    padding-right: 1.5rem;
  }

  .custom-service-side-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--custom-text-muted, #94a3b8);
  }

  .custom-service-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .custom-service-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.5rem;
  }

  /* --- 第一部分：新設電梯區塊 (左文右4圖) --- */
  .custom-service-new-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2rem;
    align-items: center;
  }

  .custom-service-intro-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-service-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .custom-service-group-desc {
    font-size: 0.95rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  /* 橘色 Accent 按鈕 */
  .custom-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--custom-accent, #f97316);
    color: var(--custom-accent, #f97316);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .custom-btn-accent:hover {
    background-color: var(--custom-accent, #f97316);
    color: #ffffff;
  }

  /* 右側 4 個子項目互動卡片網格 */
  .custom-service-subgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  /* 使用 <figure> 做為互動式卡片容器 */
  .custom-subcard {
    position: relative; /* 供絕對定位的超連結參考基準 */
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* 覆蓋整張卡片的透明超連結 */
  .custom-subcard .custom-card-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }

  /* 滑鼠懸停於 <figure> 範圍時的動態效果 */
  .custom-subcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .custom-subcard:hover .custom-subcard-arrow {
    transform: translateX(3px);
  }

  .custom-subcard-img-box {
    height: 130px;
    overflow: hidden;
  }

  .custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  .custom-subcard:hover .custom-img {
    transform: scale(1.03);
  }

  .custom-subcard-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
  }

  .custom-subcard-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.35rem;
  }

  .custom-subcard-text {
    font-size: 0.8rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .custom-subcard-arrow {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background-color: var(--custom-primary, #1e3a8a);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }

  /* --- 第二部分：保養與維修 (下方雙欄卡片) --- */
  .custom-service-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .custom-service-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f8fafc;
  }

  .custom-service-card-dark {
    background-color: var(--custom-primary, #1e3a8a);
    border-color: var(--custom-primary, #1e3a8a);
  }

  .custom-service-card-img {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
  }

  .custom-service-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .custom-service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .custom-service-card-title.text-white {
    color: #ffffff;
  }

  .custom-service-card-desc {
    font-size: 0.95rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .custom-service-card-desc.text-light-gray {
    color: #cbd5e1;
  }

  /* 傳統藍框按鈕 */
  .custom-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--custom-primary, #1e3a8a);
    color: var(--custom-primary, #1e3a8a);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .custom-btn-outline:hover {
    background-color: var(--custom-primary, #1e3a8a);
    color: #ffffff;
  }

  /* 深色背景用的白色外框按鈕 */
  .custom-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .custom-btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--custom-primary, #1e3a8a);
  }

  /* 24小時服務圓形標章 */
  .custom-24hr-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid #ffffff;
  }

  .custom-24hr-badge .badge-num {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
  }

  .custom-24hr-badge .badge-text {
    font-size: 0.6rem;
    font-weight: 600;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1200px) {
    .custom-service-new-row {
      grid-template-columns: 1fr;
    }
    .custom-service-subgrid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 1024px) {
    .custom-service-dual-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .custom-service-sidebar {
      display: none; /* 手機端隱藏側邊標籤 */
    }
    .custom-service-subgrid {
      grid-template-columns: 1fr;
    }
    .custom-service-card {
      grid-template-columns: 1fr;
    }
  }


  /* ==========================================
     鑫閎機電 - 精選施工案例區塊 (Projects Grid)
     ========================================== */

  .custom-projects-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #ffffff;
  }

  /* 核心容器：結合左側側邊欄與主要內容 */
  .custom-projects-container {
    display: flex;
    gap: 2.5rem;
    position: relative;
  }

  /* 左側英文側邊標籤 (PROJECTS) */
  .custom-projects-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
    border-right: 1px solid var(--custom-border, #e2e8f0);
    padding-right: 1.5rem;
  }

  .custom-projects-side-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--custom-text-muted, #94a3b8);
  }

  .custom-projects-main {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1.5rem;
  }

  .custom-projects-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .custom-title-divider {
    color: var(--custom-primary, #1e3a8a);
    font-weight: 400;
  }

  /* 3欄卡片網格佈局 */
  .custom-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* 使用 <figure> 做為互動式卡片容器 */
  .custom-project-card {
    position: relative; /* 供絕對定位的超連結參考基準 */
    background-color: #ffffff;
    border: 1px solid var(--custom-border, #e2e8f0);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* 覆蓋整張卡片的透明超連結 (符合您的需求) */
  .custom-project-card .custom-card-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }

  /* 滑鼠懸停於 <figure> 範圍時的動態效果 */
  .custom-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .custom-project-card:hover .custom-project-arrow {
    transform: translateX(4px);
  }

  .custom-project-img-box {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .custom-project-card:hover .custom-img {
    transform: scale(1.03);
  }

  .custom-project-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
  }

  .custom-project-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.5rem;
  }

  .custom-project-text {
    font-size: 0.9rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .custom-project-arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    color: var(--custom-primary, #1e3a8a);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1024px) {
    .custom-projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .custom-projects-sidebar {
      display: none; /* 手機端隱藏側邊標籤 */
    }
    .custom-projects-grid {
      grid-template-columns: 1fr; /* 手機端改為單欄堆疊 */
    }
  }

  /* ==========================================
     鑫閎機電 - 常見問答區塊 (FAQ Accordion)
     ========================================== */

  .custom-faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--custom-border, #cbd5e1);
    margin: 0 -1em;
    display: flex;
    justify-content: center;
  }

  /* 核心容器：結合左側側邊欄與主要內容 */
  .custom-faq-container {
    display: flex;
    gap: 2.5rem;
    position: relative;
    margin: 0 1em;
  }

  /* 左側英文側邊標籤 (FAQ) */
  .custom-faq-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
    border-right: 1px solid var(--custom-bg-light, #f8fafc);
    padding-right: 1.5rem;
  }

  .custom-faq-side-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--custom-text-muted, #94a3b8);
  }

  .custom-faq-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .custom-faq-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.5rem;
  }

  /* 手風琴清單外框 */
  .custom-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* 單一 FAQ 項目卡片 */
  .custom-faq-item {
    background-color: #ffffff;
    border: 1px solid var(--custom-border, #e2e8f0);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }

  .custom-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  /* 問題標題列 (點擊觸發區) */
  .custom-faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--custom-primary, #1e3a8a);
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* 隱藏瀏覽器預設三角形 */
    user-select: none;
    transition: background-color 0.2s ease;
  }

  /* 移除 Chrome/Safari 預設的 details 箭頭 */
  .custom-faq-question::-webkit-details-marker {
    display: none;
  }

  .custom-faq-question:hover {
    background-color: var(--custom-bg-light, #f8fafc);
  }

  /* 右側加號圖示動態旋轉 */
  .custom-faq-icon {
    font-size: 0.9rem;
    color: var(--custom-text-muted, #64748b);
    transition: transform 0.3s ease;
  }

  /* 當 details 展開時，圖示旋轉 45 度 */
  .custom-faq-item[open] .custom-faq-icon {
    transform: rotate(45deg);
    color: var(--custom-accent, #f97316);
  }

  .custom-faq-item[open] .custom-faq-question {
    border-bottom: 1px solid var(--custom-border, #e2e8f0);
    background-color: var(--custom-bg-light, #f8fafc);
  }

  /* 解答內容區 */
  .custom-faq-answer {
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    font-size: 0.95rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.7;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 768px) {
    .custom-faq-sidebar {
      display: none; /* 手機端隱藏側邊標籤 */
    }
    .custom-faq-question {
      padding: 1rem;
      font-size: 0.95rem;
    }
    .custom-faq-answer {
      padding: 1rem;
      font-size: 0.9rem;
    }
  }


  /* ==========================================
     鑫閎機電 - 行動呼籲區塊 (CTA Section - 背景滿版)
     ========================================== */

  /* 區塊外層：背景圖片與漸層遮罩直接做在此層，實現真正滿版 */
  .custom-cta-section {
    position: relative;
        margin: 0 -1em;
    background-color: var(--custom-primary, #1e3a8a);
    background-image: linear-gradient(90deg, rgba(30, 58, 138, 0.95) 35%, rgba(30, 58, 138, 0.6) 100%), 
                      url('https://static.iyp.tw/410017/files/1acaf510-5d15-46ad-a167-52a72a3ce01a.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  /* 核心容器 */
  .custom-cta-container {
    display: flex;
    position: relative;
    margin: 0 1em;
  }

  /* 左側英文側邊標籤 (HOLDGS) */
  .custom-cta-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 1.5rem;
  }

  .custom-cta-side-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
  }

  /* 主內容外框 */
  .custom-cta-content-box {
    flex: 1;
    padding: 3.5rem 3.5rem;
    display: flex;
    align-items: center;
  }

  .custom-cta-text-area {
    position: relative;
    z-index: 2;
    max-width: 800px;
  }

  .custom-cta-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
    line-height: 1.35;
  }

  .custom-cta-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  /* 按鈕群組排版 */
  .custom-cta-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .custom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* 橘色來電按鈕 */
  .custom-btn-orange {
    background-color: var(--custom-accent, #f97316);
    color: #ffffff;
  }

  .custom-btn-orange:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
  }

  /* 綠色 LINE 諮詢按鈕 */
  .custom-btn-line {
    background-color: #00b900;
    color: #ffffff;
  }

  .custom-btn-line:hover {
    background-color: #009900;
    transform: translateY(-2px);
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 768px) {
    .custom-cta-sidebar {
      display: none; /* 手機端隱藏側邊標籤 */
    }
    .custom-cta-content-box {
      padding: 2.5rem 1.5rem;
    }
    .custom-cta-title {
      font-size: 1.4rem;
    }
    .custom-cta-desc {
      font-size: 0.95rem;
    }
    .custom-cta-btn {
      width: 100%;
      justify-content: center;
    }
  }


/* ==========================================
     鑫閎機電 - 首頁頁尾區塊 (Footer Section)
     ========================================== */

  .custom-footer-section {
    background-color: #ffffff;
    border-top: 1px solid var(--custom-border, #e2e8f0);
    padding-top: 2em;
    padding-bottom: 2em;
    width: 100%;
  }

  .custom-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  /* 1. 左側品牌 Logo 區 */
  .custom-footer-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .custom-footer-logo-link {
    text-decoration: none;
  }

  .custom-footer-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--custom-primary, #1e3a8a);
    letter-spacing: 0.05em;
    margin: 0;
  }

  /* 通用分隔直線 */
  .custom-footer-divider {
    width: 1px;
    height: 40px;
    background-color: var(--custom-border, #cbd5e1);
    flex-shrink: 0;
  }

  /* 2. 中間資訊群組 */
  .custom-footer-info-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .custom-footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  /* Icon 圓圈樣式 */
  .custom-footer-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--custom-primary, #1e3a8a);
    color: var(--custom-primary, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .custom-line-icon-box {
    background-color: #00b900;
    border-color: #00b900;
    color: #ffffff;
  }

  .custom-footer-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .custom-footer-info-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .custom-footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .custom-footer-contact-link, 
  .custom-footer-contact-text,
  .custom-footer-info-subtext,
  .custom-footer-info-address {
    font-size: 1rem;
    color: var(--custom-text-muted, #64748b) !important;
    text-decoration: none;
    line-height: 1.3;
  }

  .custom-footer-contact-link:hover {
    color: var(--custom-accent, #f97316) !important;
  }

  .custom-footer-info-sublink {
    font-size: 1rem;
    color: var(--custom-text-muted, #64748b) !important;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .custom-footer-info-sublink:hover {
    color: #00b900 !important;
  }

  .custom-mini-icon {
    font-size: 0.8rem;
    margin-right: 0.25rem;
    color: var(--custom-primary, #1e3a8a);
  }

  /* 3. 右側 Slogan 區塊 */
  .custom-footer-slogan-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
  }

  .custom-footer-slogan-line {
    width: 100%;
    height: 1px;
    background-color: var(--custom-border, #cbd5e1);
    margin-bottom: 0.5rem;
  }

  .custom-footer-slogan-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--custom-text-muted, #64748b);
    letter-spacing: 0.1em;
    margin: 0;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1200px) {
    .custom-footer-container {
      flex-wrap: wrap;
      justify-content: center;
    }
    .custom-footer-info-group {
      justify-content: center;
      flex-wrap: wrap;
    }
    .custom-footer-divider {
      display: none; /* 平板手機端隱藏橫向分隔豎線 */
    }
  }

  @media (max-width: 768px) {
    .custom-footer-container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
    }
    .custom-footer-info-group {
      flex-direction: column;
      gap: 1.25rem;
      padding-left: 0;
    }
    .custom-footer-info-item {
      flex-direction: column;
      text-align: center;
    }
    .custom-footer-slogan-box {
      align-items: center;
    }
  }


  /* ==========================================
     鑫閎機電 - 關於我們分頁：公司簡介與核心理念
     ========================================== */

  .custom-about-page-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #ffffff;
  }

  .custom-about-page-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }

  /* 頁面標題區 */
  .custom-page-header {
    text-align: center;
    margin-bottom: 1rem;
  }

  .custom-page-subtitle-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--custom-accent, #f97316);
    margin-bottom: 0.5rem;
  }

  .custom-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 1rem;
  }

  .custom-title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--custom-primary, #1e3a8a);
    margin: 0 auto;
    border-radius: 2px;
  }

  /* 上半部：圖文雙欄網格 */
  .custom-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  .custom-about-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .custom-content-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .custom-content-heading i {
    color: var(--custom-accent, #f97316);
  }

  .custom-content-desc {
    font-size: 1rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.8;
    text-align: justify;
  }

  /* 中段：三大特色卡片網格 (Flexbox/Grid) */
  .custom-about-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
  }

  .custom-feature-card-item {
    background-color: var(--custom-bg-light, #f8fafc);
    border: 1px solid var(--custom-border, #e2e8f0);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .custom-feature-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

  .custom-card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--custom-primary, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .custom-feature-card-item h4 {
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.75rem;
  }

  .custom-feature-card-item p {
    font-size: 0.95rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.6;
  }

  /* 下段：工程實績區塊 */
  .custom-about-projects-box {
    background-color: rgba(30, 58, 138, 0.03);
    border-left: 4px solid var(--custom-primary, #1e3a8a);
    padding: 2rem;
    border-radius: 0 6px 6px 0;
  }

  .custom-projects-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .custom-projects-desc {
    font-size: 0.95rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.7;
  }

  .custom-highlight-text {
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1024px) {
    .custom-about-intro-grid {
      grid-template-columns: 1fr;
    }
    .custom-about-features-row {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .custom-page-title {
      font-size: 1.75rem;
    }
    .custom-about-page-section {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
  }


  /* ==========================================
     鑫閎機電 - 關於我們分頁：電梯工程服務總覽
     ========================================== */

  .custom-service-overview-section {
    margin: 0 -1em;
    padding: 4em 0;
    background-color: var(--custom-bg-light, #f8fafc);
  }

  .custom-service-overview-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }

  /* 頂部引言說明區 */
  .custom-overview-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .custom-overview-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    line-height: 1.35;
  }

  .custom-overview-lead-text {
    font-size: 1.1rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.8;
  }

  .custom-overview-sub-text {
    font-size: 1rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.7;
  }

  /* 三大核心服務卡片網格 (三欄) */
  .custom-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .custom-overview-card {
    background-color: #ffffff;
    border: 1px solid var(--custom-border, #e2e8f0);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .custom-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
  }

  .custom-overview-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--custom-primary, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .custom-card-heading {
    font-size: 1.6rem !important;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .custom-card-desc {
    font-size: 0.95rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.7;
    margin-bottom: 0.75rem;
  }

  .custom-card-subdesc {
    font-size: 0.95rem;
    color: var(--custom-text-muted, #64748b);
    line-height: 1.7;
  }

  /* 底部在地服務與關鍵字標籤區塊 */
  .custom-overview-footer-box {
    background-color: #ffffff;
    border: 1px solid var(--custom-border, #e2e8f0);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .custom-footer-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--custom-primary, #1e3a8a);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .custom-footer-title i {
    color: var(--custom-accent, #f97316);
  }

  .custom-footer-text {
    font-size: 1rem;
    color: var(--custom-text-main, #334155);
    line-height: 1.8;
    max-width: 1000px;
  }

  /* SEO 標籤雲樣式 */
  .custom-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .custom-tag {
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--custom-primary, #1e3a8a);
    border: 1px solid rgba(30, 58, 138, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .custom-tag:hover {
    background-color: var(--custom-primary, #1e3a8a);
    color: #ffffff;
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 1024px) {
    .custom-overview-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .custom-overview-main-title {
      font-size: 1.75rem;
    }
    .custom-service-overview-section {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    .custom-overview-card {
      padding: 1.75rem 1.25rem;
    }
    .custom-overview-footer-box {
      padding: 1.75rem 1.25rem;
    }
  }


  /* ==========================================
     鑫閎機電 - 關於我們分頁：品質承諾與呼籲區塊 (透明無底色風格)
     ========================================== */

  /* 區塊外層：背景圖片與漸層遮罩滿版顯示 */
  .custom-commitment-section {
    position: relative;
    margin: 0 -1em;
    padding: 4em 0;
    background-color: var(--custom-primary, #1e3a8a);
    background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.94) 0%, rgba(17, 34, 85, 0.9) 100%), 
                      url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  /* 核心容器：限制最大寬度 1600px 並置中 */
  .custom-commitment-container {
    max-width: var(--custom-container-max, 1600px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 2;
  }

  /* 核心內容卡片包覆：取消背景色與邊框，實現與背景一體化 */
  .custom-commitment-card-box {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  /* 頂部徽章圖示：改用半透明毛玻璃底色襯托圖示 */
  .custom-commitment-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  /* 標題與文字調整為白色系以適應深藍背景 */
  .custom-commitment-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.35;
    max-width: 850px;
  }

  .custom-commitment-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f1f5f9;
    max-width: 850px;
    line-height: 1.7;
  }

  .custom-commitment-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 850px;
    line-height: 1.8;
  }

  /* 溫馨強調框：調整為半透明深色微光與橘色邊框 */
  .custom-commitment-highlight-box {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--custom-accent, #f97316);
    padding: 1.25rem 2rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 850px;
    backdrop-filter: blur(4px);
  }

  .custom-commitment-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffedd5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .custom-commitment-highlight i {
    color: var(--custom-accent, #f97316);
  }

  /* --- RWD 響應式斷點設定 --- */
  @media (max-width: 768px) {
    .custom-commitment-title {
      font-size: 1.6rem;
    }
    .custom-commitment-lead {
      font-size: 1rem;
    }
    .custom-commitment-text {
      font-size: 0.95rem;
    }
    .custom-commitment-section {
      padding-top: 4rem;
      padding-bottom: 4rem;
    }
  }
