@charset "UTF-8";
/*
    自定義在最下面
*/
/* Font Weight */
/* Width */
/* Height */
/* Display */
/* Margin */
/* Padding */
/* Cursor */
/* Background Color */
/* Color */
/* Text Limit */
/* 毛玻璃 */
/******************  自定義  ******************/
/* Color */
/* Background Color */
/* Border */
/* Font Size */
/* Heading Desktop */
/* Heading Mobile */
/* Extra Large */
/* Large */
/* Medium */
/* Regular */
/* Small */
/* Small */
/* Button */
:root {
  /* Primary Color */
  --pc-950: #04334D;
  --pc-900: #065074;
  --pc-800: #00608C;
  --pc-700: #0072AA;
  --pc-600: #0090D3;
  --pc-500: #06BAFE;
  --pc-400: #2DC9FF;
  --pc-300: #75DBFF;
  --pc-200: #B6EAFF;
  --pc-100: #DEF3FF;
  --pc-50: #EFFAFF;
  /* Secondary Color */
  --sc-950: #461B02;
  --sc-900: #7A350D;
  --sc-800: #94400C;
  --sc-700: #B75506;
  --sc-600: #DD7902;
  --sc-500: #F9A107;
  --sc-400: #FFC321;
  --sc-300: #FFD74A;
  --sc-200: #FFE888;
  --sc-100: #FFF5C6;
  --sc-50: #FFFBEB;
  /* Neutral Color */
  --nc-950: #1F1B1A;
  --nc-900: #463F3D;
  --nc-800: #504743;
  --nc-700: #5C514C;
  --nc-600: #71665D;
  --nc-500: #85796D;
  --nc-400: #94897B;
  --nc-300: #ACA498;
  --nc-200: #CAC6BE;
  --nc-100: #E4E1DD;
  --nc-50: #F4F4F2;
  /* Black */
  --bc-950: #231815;
  --bc-900: #503B33;
  --bc-800: #5B4338;
  --bc-700: #6B4E3D;
  --bc-600: #856549;
  --bc-500: #9B7B57;
  --bc-400: #AA8D65;
  --bc-300: #BDA987;
  --bc-200: #D5CAB3;
  --bc-100: #E9E4D8;
  --bc-50: #F6F5F0;
  /* White */
  --wc-950: #292929;
  --wc-900: #3D3D3D;
  --wc-800: #464646;
  --wc-700: #525252;
  --wc-600: #656565;
  --wc-500: #7C7C7C;
  --wc-400: #989898;
  --wc-300: #BDBDBD;
  --wc-200: #DCDCDC;
  --wc-100: #EFEFEF;
  --wc-50: #FFFFFF;
  /* Green Color */
  --gc-500: #51C128;
  /* Font-Size */
  /* Heading Desktop */
  --text-hd-h1: 56px;
  --text-hd-h1--line-height: 120%;
  --text-hd-h2: 48px;
  --text-hd-h2--line-height: 120%;
  --text-hd-h3: 40px;
  --text-hd-h3--line-height: 120%;
  --text-hd-h4: 36px;
  --text-hd-h4--line-height: 130%;
  --text-hd-h5: 24px;
  --text-hd-h5--line-height: 140%;
  --text-hd-h6: 20px;
  --text-hd-h6--line-height: 140%;
  /* Heading Mobile */
  --text-hm-h1: 40px;
  --text-hm-h1--line-height: 120%;
  --text-hm-h2: 36px;
  --text-hm-h2--line-height: 130%;
  --text-hm-h3: 32px;
  --text-hm-h3--line-height: 130%;
  --text-hm-h4: 24px;
  --text-hm-h4--line-height: 150%;
  --text-hm-h5: 20px;
  --text-hm-h5--line-height: 140%;
  --text-hm-h6: 18px;
  --text-hd-h6--line-height: 150%;
  /* Extra Large */
  --text-xl: 24px;
  --text-xl--line-height: 140%;
  /* Large */
  --text-lg: 20px;
  --text-lg--line-height: 140%;
  /* Medium */
  --text-md: 18px;
  --text-md--line-height: 140%;
  /* Regular */
  --text-base: 16px;
  --text-base--line-height: 150%;
  /* Small */
  --text-sm: 14px;
  --text-sm--line-height: 150%;
  /* Tiny */
  --text-xs: 12px;
  --text-xs--line-height: 150%;
  /* Radius */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-40: 40px;
  --radius-80: 80px;
  --radius-100: 100px;
  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-120: 120px;
  --spacing-240: 240px;
}

/* 列表格線：桌機一排兩張。張數照舊站 col-xl-6 col-lg-6 col-md-12：2 → 1（992 以下） */
.case-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-16) var(--spacing-24);
  align-items: start;
  /* 元件裡按鈕跟文字平輩，只改 row 會變三欄，所以用 grid 讓圖佔兩列；不改元件是因為消息頁也在用 */
}
.case-list .c-content-card {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: var(--spacing-4) var(--spacing-16);
  align-items: start;
  /* 元件桌機寫死 288px 置中，這裡要填滿格子 */
  width: 100%;
  margin: 0;
}
.case-list .c-content-card .c-content-card__image {
  grid-row: 1/span 2;
}
.case-list .c-content-card .c-content-card__texts,
.case-list .c-content-card .c-content-card__button {
  grid-column: 2;
}
.case-list .c-content-card .c-content-card__button {
  /* 覆蓋 _button.scss 的 primary-btn 寬 100%（mixin 內是 !important，不加蓋不掉）；170px 照舊站 */
  width: 170px !important;
}
@media (max-width: 1200px) {
  .case-list {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 992px) {
  .case-list {
    grid-template-columns: 1fr;
  }
  .case-list .c-content-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}
@media (max-width: 576px) {
  .case-list {
    gap: 0;
    padding: 0;
    /* 元件在這個寬度把按鈕藏掉、整張可點，圖不用再佔兩列 */
  }
  .case-list .c-content-card {
    grid-template-columns: 128px minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: var(--spacing-12);
  }
  .case-list .c-content-card .c-content-card__image {
    grid-row: auto;
  }
}

/* ---------- 內容頁 ---------- */
.case-content {
  width: 100%;
}
.case-content__box {
  background: var(--wc-50);
  padding: var(--spacing-24);
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}
.case-content__title {
  color: var(--nc-900);
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
}
.case-content__date {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-500);
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
}
.case-content__date-icon {
  width: 20px;
}
.case-content__body {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
}
.case-content__body img {
  max-width: 100%;
}
.case-content__body iframe {
  width: 100%;
  height: 600px;
}
@media (max-width: 1200px) {
  .case-content {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 768px) {
  .case-content__body iframe {
    height: 420px;
  }
}
@media (max-width: 576px) {
  .case-content {
    padding: 0;
  }
  .case-content__box {
    border: none;
    border-radius: 0;
  }
  .case-content__title {
    font-size: var(--text-hd-h5) !important;
    line-height: var(--text-hd-h5--line-height);
    font-weight: bold;
  }
  .case-content__body iframe {
    height: 300px;
  }
}
