@charset "utf-8";


/* ==================================================
   2026-27 模具採購指南
   index.css
================================================== */


/* ==================================================
   基本設定
================================================== */

html,
body {
  margin: 0;
  padding: 0;
}


body.moldPage {
  background: #f7f7f7;

  color: #222;

  font-family:
    Arial,
    "Microsoft JhengHei",
    "微軟正黑體",
    sans-serif;

  -webkit-text-size-adjust: 100%;
}


.moldPage *,
.moldPage *::before,
.moldPage *::after {
  box-sizing: border-box;
}


.moldPage img {
  max-width: 100%;
}



/* ==================================================
   Header
================================================== */

.moldSiteHeader {
  width: 100%;

  background: #fff;

  border-bottom: 1px solid #e5e5e5;
}


.moldSiteHeaderInner {
  width: min(1100px, calc(100% - 40px));

  margin: 0 auto;
  padding: 20px 0;
}


.moldSiteHeader img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0 auto;
}



/* ==================================================
   目錄主要區域
================================================== */

.moldContents {
  width: min(1100px, calc(100% - 40px));

  margin: 45px auto 60px;

  color: #222;
}



/* ==================================================
   目錄標題
================================================== */

.moldContentsTitle {
  margin-bottom: 26px;

  text-align: center;
}


.moldContentsTitle h2 {
  margin: 0;

  color: #252525;

  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}


.moldContentsTitle p {
  margin: 5px 0 0;

  color: #8b9298;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 3px;
}



/* ==================================================
   三張 Card
================================================== */

.moldContentsGrid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  /* 同一排自動等高 */
  align-items: stretch;
}



/* ==================================================
   單張 Card
================================================== */

.moldContentsCard {
  /* 預設色 */
  --card-color: #555;
  --card-light: #f5f5f5;

  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 268px;

  padding: 28px 25px 22px;

  overflow: hidden;

  background: #fff;

  border: 1px solid #e1e3e5;
  border-radius: 8px;

  color: #222;

  text-decoration: none;

  box-shadow:
    0 3px 12px rgba(0, 0, 0, .035);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}



/* ==================================================
   Card 上方色條
================================================== */

.moldContentsCard::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: var(--card-color);
}



/* ==================================================
   Card 右下淡色幾何裝飾
================================================== */

.moldContentsCard::after {
  content: "";

  position: absolute;

  right: -35px;
  bottom: -45px;

  width: 120px;
  height: 120px;

  background: var(--card-light);

  transform: rotate(45deg);

  pointer-events: none;

  transition:
    transform .3s ease,
    opacity .3s ease;
}



/* ==================================================
   三張 Card 配色
================================================== */


/* 01：銅灰 */
.moldContentsCard:nth-child(1) {
  --card-color: #958981;
  --card-light: #f2eeeb;
}


/* 02：金屬藍灰 */
.moldContentsCard:nth-child(2) {
  --card-color: #636d75;
  --card-light: #edf0f2;
}


/* 03：深灰 */
.moldContentsCard:nth-child(3) {
  --card-color: #4e4a4b;
  --card-light: #eeeeee;
}



/* ==================================================
   Card Hover
================================================== */

.moldContentsCard:hover {
  transform: translateY(-4px);

  border-color: var(--card-color);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, .10);
}


.moldContentsCard:hover::after {
  transform:
    rotate(45deg)
    scale(1.12);
}



/* ==================================================
   編號
================================================== */

.moldContentsNo {
  position: relative;
  z-index: 1;

  margin-bottom: 22px;

  color: var(--card-color);

  font-size: 15px;
  font-weight: 700;

  letter-spacing: 1.5px;
}



/* ==================================================
   中英文名稱

   固定內容區高度，
   讓三張 Card 下方操作區從同一高度開始
================================================== */

.moldContentsText {
  position: relative;
  z-index: 1;

  min-height: 82px;

  margin-bottom: 16px;
}


.moldContentsText h3 {
  margin: 0 0 6px;

  color: #292929;

  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}


.moldContentsText p {
  margin: 0;

  color: #73777b;

  font-size: 18px;
  line-height: 1.45;
}



/* ==================================================
   操作按鈕區

   重要：
   不再使用 margin-top:auto
   因此 01 / 02 按鈕會靠上對齊
================================================== */

.moldContentsBtns {
  position: relative;
  z-index: 2;

  display: flex;

  gap: 8px;

  width: 100%;

  margin: 0;
}



/* ==================================================
   按鈕
================================================== */

.moldContentsBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex: 1 1 0;

  gap: 12px;

  min-width: 0;
  min-height: 44px;

  padding: 9px 12px;

  background: #fff;

  border: 1px solid #d6d6d6;
  border-radius: 5px;

  color: #333;

  font-size: 18px;
  line-height: 1.25;

  text-decoration: none;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}


.moldContentsBtn span {
  flex: 0 0 auto;

  color: var(--card-color);
}



/* 按鈕 Hover */

.moldContentsBtn:hover {
  background: var(--card-color);

  border-color: var(--card-color);

  color: #fff;
}


.moldContentsBtn:hover span {
  color: #fff;
}



/* ==================================================
   會員名錄 PDF 按鈕
================================================== */

.moldContentsBtns--pdf {
  margin: 0;
}



/* ==================================================
   PDF 使用提示
================================================== */

.moldPdfTip {
  position: relative;
  z-index: 2;

  margin: 9px 0 0;

  color: #83888c;

  font-size: 11px;
  line-height: 1.45;
}


.moldPdfTip strong {
  color: #646a6e;

  font-weight: 600;
}



/* ==================================================
   第 03 張箭頭

   高度與前兩張按鈕一致，
   所以三張操作區會水平對齊
================================================== */

.moldContentsArrow {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 44px;

  margin: 0;

  color: var(--card-color);

  font-size: 25px;
  font-weight: 400;
  line-height: 1;

  transition:
    transform .25s ease;
}


.moldContentsCard:hover
.moldContentsArrow {
  transform: translateX(6px);
}



/* ==================================================
   Footer
================================================== */

.moldSiteFooter {
  width: 100%;

  margin-top: 70px;
  padding: 45px 0 25px;

  background: #222;

  color:
    rgba(255, 255, 255, .78);
}



/* Footer 內容 */

.moldFooterInner {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 50px;

  width: min(1100px, calc(100% - 40px));

  margin: 0 auto;
}



/* Footer 左右資訊區 */

.moldFooterBlock {
  min-width: 0;
}



/* 第二區分隔線 */

.moldFooterBlock
+ .moldFooterBlock {
  padding-left: 50px;

  border-left:
    1px solid rgba(255, 255, 255, .15);
}



/* Footer 標題 */

.moldFooterTitle {
  margin: 0 0 14px;

  color: #fff;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}


.moldFooterTitle span {
  display: block;

  margin-top: 2px;

  color: #d5b85b;

  font-size: 13px;
  font-weight: 400;
}



/* Footer 文字 */

.moldFooterBlock p {
  margin: 3px 0;

  font-size: 13px;
  line-height: 1.65;
}



/* Footer Link */

.moldSiteFooter a {
  color: #fff;

  text-decoration: none;

  transition:
    color .2s ease;
}


.moldSiteFooter a:hover {
  color: #e2c96f;
}



/* Footer 最下方 */

.moldFooterBottom {
  width: min(1100px, calc(100% - 40px));

  margin: 35px auto 0;
  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, .12);

  color:
    rgba(255, 255, 255, .4);

  font-size: 12px;

  text-align: center;
}



/* ==================================================
   平板
   <= 900px
================================================== */

@media screen and (max-width: 900px) {


  /* 目錄兩欄 */

  .moldContentsGrid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  /* Footer */

  .moldSiteFooter {
    margin-top: 50px;
  }


  .moldFooterInner {
    gap: 30px;
  }


  .moldFooterBlock
  + .moldFooterBlock {
    padding-left: 30px;
  }

}



/* ==================================================
   手機
   <= 600px
================================================== */

@media screen and (max-width: 600px) {


  /* ==================================================
     Header
  ================================================== */

  .moldSiteHeaderInner {
    width: calc(100% - 30px);

    padding: 14px 0;
  }



  /* ==================================================
     Contents
  ================================================== */

  .moldContents {
    width: calc(100% - 30px);

    margin: 30px auto 45px;
  }



  /* 標題 */

  .moldContentsTitle {
    margin-bottom: 18px;
  }


  .moldContentsTitle h2 {
    font-size: 25px;
  }



  /* 單欄 */

  .moldContentsGrid {
    grid-template-columns: 1fr;

    gap: 13px;
  }



  /* Card */

  .moldContentsCard {
    min-height: 0;

    padding: 22px 20px 20px;
  }



  /* 幾何背景 */

  .moldContentsCard::after {
    right: -45px;
    bottom: -55px;

    width: 115px;
    height: 115px;
  }



  /* 編號 */

  .moldContentsNo {
    margin-bottom: 14px;

    font-size: 15px;
  }



  /* 手機不需要硬固定文字區高度 */

  .moldContentsText {
    min-height: 0;

    margin-bottom: 16px;
  }


  .moldContentsText h3 {
    font-size: 22px;
  }


  .moldContentsText p {
    font-size: 17px;
  }



  /* Buttons */

  .moldContentsBtns {
    gap: 7px;
  }


  .moldContentsBtn {
    min-height: 42px;

    padding: 10px 12px;

    font-size: 16px;
  }



  /* PDF 提示 */

  .moldPdfTip {
    margin-top: 8px;

    font-size: 11px;
    line-height: 1.5;
  }



  /* Arrow */

  .moldContentsArrow {
    min-height: 42px;
  }



  /* ==================================================
     Footer
  ================================================== */

  .moldSiteFooter {
    margin-top: 45px;

    padding: 35px 0 22px;
  }


  .moldFooterInner {
    grid-template-columns: 1fr;

    gap: 28px;

    width: calc(100% - 36px);
  }



  /* 第二區手機改成上下分隔 */

  .moldFooterBlock
  + .moldFooterBlock {
    padding: 28px 0 0;

    border-left: 0;

    border-top:
      1px solid rgba(255, 255, 255, .15);
  }


  .moldFooterTitle {
    font-size: 15px;
  }


  .moldFooterBlock p {
    font-size: 12px;
    line-height: 1.7;
  }


  .moldFooterBottom {
    width: calc(100% - 36px);

    margin-top: 28px;
  }

}