.phone-1{position:fixed;right:1%;top:50%;z-index:1000;}
.line-1{position:fixed;right:1%;top:62%;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:#1e293b; /* 主要文字(藍) var(--text)*/
--text2:#2f5f9c; /* h3次要文字(藍) var(--text2)*/
--text3:#f59e0b; /* h4次要文字(黃) var(--text3)*/
--text4:#687789; /* 次要文字(灰) 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: #000;/*頁籤底圖顏色;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: min(1600px, calc(100% - 48px)); /* 限制最大寬度，手機版自動留白 */
    margin-inline: auto;                  /* 大螢幕時，自動將主區塊居中對齊 */
  }
}

@media only screen and (min-width: 768px){ 
  .topnavbar .container #logo { text-align: left; }/* 讓頁籤logo靠左 */ 
} /* 在螢幕寬度 768px 以上顯現 */

.topnavbar .container #nav { text-align: right; }/* 讓頁籤選單文字靠右 */


@media only screen and (min-width: 768px){ 
  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(14px, 2vw, 16px);
  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: var(--white);/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text3);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--white);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #222;/*次頁籤底色*/
    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: 10px 10px 0 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{
  text-align: center;
  color: var(--text);
}

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; } /*首頁-全編輯欄間距*/


.fcol .container>* {
    padding-left: 0;
    padding-right: 0;
}
#bodyinhome .fcol:nth-child(-n+6) .container {  width: 100%; padding: 0; } /*首頁-全編輯欄容器拉寬*/

#footer .container { 
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}/*footer-編輯欄容器拉寬*/

#footer {
    color: #fff;
    background-color: #172437;
}
#foot-nav {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   CSS 統一整合規劃：:root 根元素變數定義
   ========================================================================== */
:root {
  --custom-navy: #1e293b;         /* 主標題深藍黑 */
  --custom-navy-deep: #101d2d;    /* 深色背景底色 */
  --custom-blue: #2f5f9c;         /* 品牌核心藍 */
  --custom-blue-light: #dce8f5;   /* 淺藍襯底色 */
  --custom-text: #243247;         /* 主要內文顏色 */
  --custom-muted: #687789;        /* 次要輔助文字 */
  --custom-green: #06b94b;        /* LINE / 綠色按鈕主色 */
  --custom-green-hover: #049b3e;  /* 綠色懸浮狀態 */
  --custom-yellow: #f59e0b;       /* 點綴黃色 */
  --custom-white: #ffffff;        /* 純白 */
  --custom-gray-bg: #f8fafc;      /* 區塊輕灰背景 */
  --custom-border: #e2e8f0;       /* 邊框顏色 */
  --custom-shadow: 0 10px 30px rgba(16, 29, 45, 0.08); /* 軟陰影 */
}

/* 限制寬度自適應容器 */
.custom-container {
  width: min(1600px, calc(100% - 48px)); /* 限制最大寬度，手機版自動留白 */
  margin-inline: auto;                   /* 大螢幕時，自動將主區塊居中對齊 */
}

.custom-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--custom-blue); font-size: 13px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
}
.custom-section-title { margin: 8px 0 14px; color: var(--custom-navy); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; font-weight: 800; }
.custom-section-desc { color: var(--custom-muted); font-size: 15px; line-height: 1.9; }

.custom-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 4px;
  font-size: 14px; font-weight: 700; transition: .25s ease; cursor: pointer;
}
.custom-btn-primary { color: #fff; background: var(--custom-green); box-shadow: 0 8px 20px rgba(6,185,75,.2); }
.custom-btn-primary:hover { background: var(--custom-green-hover); transform: translateY(-3px); }
.custom-btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.7); background: transparent; }
.custom-btn-outline:hover { color: var(--custom-navy); background: #fff; }

/* About 關於我們 */
.custom-about { padding: 3em 0 ; background: #fff; }
.custom-about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 105px); }
.custom-about-en { 
  margin: 0 0 15px; 
  color: var(--custom-blue) !important;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: .04em; 
  line-height: 1.2 !important;
}
.custom-about-highlight { display: table; margin: 8px 0; padding: 4px 12px; color: #fff; background: var(--custom-yellow); font-size: 18px; font-weight: 700; border-radius: 3px; }
.custom-about-text { max-width: 540px; margin: 24px 0 26px; color: #596779; }
.custom-readmore { display: inline-flex; align-items: center; gap: 18px; color: var(--custom-blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.custom-readmore span { 
  display: grid;   width: 44px; height: 44px;
  aspect-ratio: 1 / 1;  place-items: center;
  border: 1px solid #9db2c9;  border-radius: 50%;  transition: .25s;
}
.custom-readmore:hover span { color: #fff; background: var(--custom-blue); transform: translateX(5px); }
.custom-about-visual { position: relative; min-height: 410px; }
.custom-about-main { position: absolute; top: 0; left: 5%; width: 78%; height: 350px; object-fit: cover; border-radius: 3px 45px 3px 3px; box-shadow: var(--custom-shadow); }
.custom-about-small { position: absolute; right: 0; bottom: 0; width: 48%; height: 175px; object-fit: cover; border: 3px solid #fff; border-radius: 0px 28px 0px 0px; box-shadow: var(--custom-shadow); }
.custom-about-stamp { position: absolute; bottom: 18px; left: 0; display: grid; width: 100px; height: 100px; place-items: center; border: 1px solid #b5c6d8; border-radius: 50%; color: var(--custom-blue); background: #fff; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.4; }

/* Technology 產品互動卡片 Grid */
.custom-technology { position: relative; padding: 90px 0 100px; background: #f0f1f2; }
.custom-tech-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.custom-tech-sub { margin: 0; color: #7c8998; font-size: 12px; letter-spacing: .12em; }
.custom-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; justify-items: center;}

.custom-card {
  position: relative;
  width: 100%;    height: 100%;
  min-height: 290px;
  overflow: hidden;
  isolation: isolate;
  background: #d9dde1;
  box-shadow: 0 8px 22px rgba(24,43,66,.06);
  border-radius: 6px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(24,43,66,.16);
}
.custom-card::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 47%, rgba(16,29,45,.05) 100%);
}
/* a 標籤絕對定位填滿整個 figure 範圍，提供點擊與滑動效果 */
.custom-card a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.custom-card a:focus-visible { outline: 3px solid var(--custom-yellow); outline-offset: -4px; }

.custom-card-image {
  position: absolute; z-index: -2; right: 0; bottom: 0;
  width: 100%; height: 70%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .5s ease;
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%);
}
.custom-card:hover .custom-card-image { transform: scale(1.06); }

.custom-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1em 1em 0; color: var(--custom-yellow);
  position: relative; z-index: 2;
}
.custom-card-index { font-size: 10px; font-weight: 800; letter-spacing: .15em; }

.custom-card-caption {
  position: relative; z-index: 2; display: block; width: 100%; padding: 1em;
}
.custom-card-caption h3 { max-width: 200px; margin: 0 0 10px; color: #182a40; font-size: 21px; line-height: 1.3; font-weight: 800; }
.custom-card-caption p { max-width: 220px; margin: 0; color: #536172; font-size: 14px; line-height: 1.7; }

/* 右下角白色圓形箭頭按鈕 */
.custom-card-arrow {
  position: absolute; right: 18px; bottom: 32px;
  display: grid; width: 34px; height: 34px; place-items: center;
  border: 1px solid rgba(255,255,255,.85); border-radius: 50%;
  color: #fff; background: rgba(30,41,59,.45);
  z-index: 3;
  transition: background .25s ease, transform .25s ease;
}
.custom-card:hover .custom-card-arrow {
  background: var(--custom-blue);
  transform: translateX(3px);
}

/* 銷售服務範圍（全版背景圖風格） */
.custom-service {
  position: relative; padding: 100px 0; background: var(--custom-navy-deep); color: var(--custom-white);
  isolation: isolate; overflow: hidden;
}
.custom-service::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, rgba(16, 29, 45, 0.95) 0%, rgba(30, 41, 59, 0.86) 100%),
    url("https://static.iyp.tw/29025/files/855a054f-ff68-4847-8095-d77be1e1a8fc.jpg") center/cover no-repeat;
}
.custom-service-content { max-width: 1000px; margin: 0 auto; text-align: center; }
.custom-service-header .custom-eyebrow { color: #93c5fd; }
.custom-service-header .custom-section-title { color: var(--custom-white); }
.custom-service-header .custom-section-desc { color: rgba(255, 255, 255, 0.85); max-width: 820px; margin: 0 auto 35px; }

.custom-industry-group { margin-top: 35px; padding-top: 35px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.custom-industry-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--custom-yellow); margin-bottom: 20px; }
.custom-industry-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.custom-industry {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 125px; height: auto; padding: 12px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; backdrop-filter: blur(4px); transition: all .3s ease;
}
.custom-industry i { font-size: 2rem; color: #60a5fa; }
.custom-industry span { font-size: 1rem; font-weight: 700; color: var(--custom-white); }
.custom-industry:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-4px); border-color: #60a5fa; }

/* FAQ 常見問題（獨立一排全寬區塊） */
.custom-faq { padding: 90px 0; background: var(--custom-gray-bg); }
.custom-faq-header { text-align: center; max-width: 700px; margin: 0 auto 45px; }
.custom-faq-list { max-width: 950px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.custom-faq-item {
  background: var(--custom-white); border: 1px solid var(--custom-border);
  border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); overflow: hidden; transition: border-color .25s ease;
}
.custom-faq-item[open] { border-color: var(--custom-blue); }
.custom-faq-item summary {
  padding: 20px 24px; font-size: clamp(16px,2vw,18px); font-weight: 700; color: var(--custom-navy);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.custom-faq-item summary::-webkit-details-marker { display: none; }
.custom-faq-item summary span i { color: var(--custom-blue); margin-right: 10px; }
.custom-faq-item summary::after {
  content: "\f067"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: 14px; color: var(--custom-muted); transition: transform .3s ease;
}
.custom-faq-item[open] summary::after { content: "\f068"; color: var(--custom-blue); }
.custom-faq-answer { padding: 0 24px 22px 52px; color: var(--custom-muted); font-size: clamp(14px,2vw,16px); line-height: 1.8; border-top: 1px dashed #f1f5f9; margin-top: 5px; padding-top: 15px; }

/* CTA 全版背景滿版區塊 */
.custom-cta-full {
  position: relative;
  padding: 90px 0;
  background: var(--custom-navy-deep);
  color: var(--custom-white);
  isolation: isolate;
  overflow: hidden;
}
.custom-cta-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: 
    linear-gradient(135deg, rgba(16, 29, 45, 0.92) 0%, rgba(30, 55, 82, 0.82) 100%),
    url("https://static.iyp.tw/29025/files/b513f667-7c41-492e-bda7-aac95abe21fd.jpg") center/cover no-repeat;
}
.custom-cta-full-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 35px;
  text-align: left;
}
.custom-cta-full .custom-cta-icon i {
  font-size: 52px;
  color: var(--custom-yellow);
}
.custom-cta-full .custom-cta-content {
  flex: 1;
}
.custom-cta-full .custom-cta-content h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--custom-white);
  line-height: 1.35;
}
.custom-cta-full .custom-cta-content p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}
.custom-cta-full .custom-cta-action {
  flex-shrink: 0;
}

/* Footer 頁尾 */
.custom-footer { color: #e7edf4; background: #142438; }
.custom-footer-main { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 38px; padding: 54px 0 42px; }
.custom-footer-col { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.18); }
.custom-footer-col:last-child { padding-right: 0; border: 0; }
.custom-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.custom-footer-brand i { color: #d7e4f2; font-size: 35px; }
.custom-footer-brand strong { display: block; font-size: 20px; }
.custom-footer-brand small { display: block; color: #aab9c9; font-size: 12px; }
.custom-footer h3 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.custom-footer p { margin: 0; color: #b9c5d2; font-size: 14px; line-height: 2; }
.custom-contact-list { display: grid; gap: 11px; }
.custom-contact-list div { display: flex; align-items: flex-start; gap: 10px; color: #d8e1ea; font-size: 14px; }
.custom-contact-list i { width: 15px; margin-top: 4px; color: #a9c8e8; text-align: center; }
.custom-map-frame { width: 100%; height: 170px; border: 1px solid rgba(255,255,255,.25); filter: grayscale(.25); }
.custom-map-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 9px; padding: 8px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 12px; }
.custom-copyright { padding: 17px 20px; border-top: 1px solid rgba(255,255,255,.18); color: #aebdcb; text-align: center; font-size: 10px; letter-spacing: .04em; }

/* RWD 響應式斷點設定 */
@media (max-width: 900px) {
  .custom-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .custom-footer-main { grid-template-columns: 1fr; gap: 30px; }
  .custom-footer-col { padding: 0 0 25px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .custom-footer-col:last-child { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }
  .custom-container { width: min(100% - 34px, 520px); }
  .custom-header { height: 68px; }
  .custom-menu-toggle { display: block; }
  .custom-nav {
    position: absolute; top: 68px; right: 0; left: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px;
    background: #fff; border-top: 1px solid #e8edf2; box-shadow: 0 14px 20px rgba(0,0,0,.08);
  }
  .custom-nav.custom-open { display: flex; }
  .custom-nav a { padding: 12px 5px; border-bottom: 1px solid #edf0f3; }
  .custom-nav a::after { display: none; }
  .custom-hero { min-height: 570px; align-items: flex-end; }
  .custom-hero-content { width: min(100% - 34px, 520px); padding: 75px 0 58px; }
  .custom-hero h1 { font-size: clamp(34px, 8vw, 44px); }
  .custom-about-grid { grid-template-columns: 1fr; gap: 35px; }
  .custom-about-visual { min-height: 330px; }
  .custom-about-main { right: 8%; width: 82%; height: 280px; }
  .custom-card-grid { grid-template-columns: 1fr; gap: 14px; }
  
  .custom-cta-full { padding: 65px 0; }
  .custom-cta-full-inner { flex-direction: column; text-align: center; gap: 20px; }
  .custom-cta-full .custom-cta-action, 
  .custom-cta-full .custom-cta-action .custom-btn { width: 100%; }
}


/* ==========================================================================
   分頁-軸承選購指南
   區塊：各產業軸承應用解析（6欄位純文字卡片）
   ========================================================================== */
.custom-industry-section {
  background: var(--custom-white);
}

.custom-industry-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.custom-industry-text-card {
  background: var(--custom-gray-bg);
  border: 1px solid var(--custom-border);
  border-radius: 8px;
  padding: 32px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.custom-industry-text-card:hover {
  transform: translateY(-5px);
  border-color: var(--custom-blue);
  box-shadow: 0 12px 25px rgba(24, 43, 66, 0.08);
}

.custom-ind-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--custom-blue);
  color: var(--custom-white);
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(47, 95, 156, 0.25);
}

.custom-industry-text-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--custom-navy);
}

.custom-industry-text-card p {
  margin: 0;
  font-size: 14px;
  color: var(--custom-muted);
  line-height: 1.8;
}

/* ==========================================================================
   分頁-軸承選購指南
   區塊：軸承選購注意事項（5欄位純文字卡片）
   ========================================================================== */
.custom-steps-section {
  background: var(--custom-gray-bg);
}

.custom-steps-grid-text {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.custom-step-card-text {
  background: var(--custom-white);
  border: 1px solid var(--custom-border);
  border-radius: 8px;
  padding: 30px 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.custom-step-card-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(24, 43, 66, 0.08);
}

.custom-step-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--custom-blue-light);
  color: var(--custom-blue);
  border-radius: 8px;
  font-size: 20px;
  margin-bottom: 18px;
}

.custom-step-card-text .custom-step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  font-weight: 900;
  color: var(--custom-blue);
  opacity: .18;
  line-height: 1;
}

.custom-step-card-text h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--custom-navy);
}

.custom-step-card-text p {
  margin: 0;
  font-size: 13px;
  color: var(--custom-muted);
  line-height: 1.8;
}

.custom-step-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 16px 22px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  color: #92400e;
  font-size: 14px;
}

.custom-step-tip i {
  font-size: 18px;
  color: #d97706;
  flex-shrink: 0;
}


/* ==========================================================================
   RWD 響應式斷點
   ========================================================================== */
@media (max-width: 1200px) {
  .custom-steps-grid-text {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .custom-industry-text-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .custom-section {
    padding: 2em 0;
  }
  .custom-steps-grid-text {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .custom-step-card-text {
    padding: 22px 18px;
  }
  .custom-industry-text-card {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .custom-steps-grid-text,
  .custom-industry-text-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   分頁-軸承選購指南
   常見軸承種類與工業傳動零件介紹
   ========================================================================== */
.custom-types-pure-text-section {
  background: #ffffff;
}

.custom-types-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.custom-type-text-card {
  position: relative;
  background: var(--custom-gray-bg);
  border: 1px solid var(--custom-border);
  border-top: 4px solid var(--custom-blue); /* 頂部主題藍色線條 */
  border-radius: 6px;
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.custom-type-text-card:hover {
  transform: translateY(-5px);
  border-color: var(--custom-blue);
  box-shadow: var(--custom-shadow);
  background: #ffffff;
}

/* 項目編號標籤 (無 Icon 裝飾) */
.custom-type-badge {
  font-size: 14px;
  font-weight: 900;
  color: var(--custom-blue);
  letter-spacing: .1em;
  margin-bottom: 10px;
  opacity: .85;
}

.custom-type-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--custom-navy);
  line-height: 1.4;
}

.custom-type-desc {
  margin: 0;
  font-size: 14px;
  color: var(--custom-muted);
  line-height: 1.85;
}

/* 項目 6 特殊提醒卡片亮點樣式 */
.custom-type-card-featured {
  border-top-color: var(--custom-yellow);
}

.custom-type-card-featured .custom-type-badge {
  color: #d97706;
}

.custom-type-card-featured strong {
  color: var(--custom-navy);
}

/* ==========================================================================
   3. RWD 響應式斷點設定
   ========================================================================== */
@media (max-width: 1024px) {
  .custom-types-text-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .custom-types-text-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .custom-type-text-card {
    padding: 24px 20px;
  }
}