@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;
}

/* 列表格線：卡片本體的樣式在 components/_contentcard.scss */
.news-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-16);
  align-items: start;
  /* 張數照舊站 col-xl-3 col-lg-4 col-md-4 col-sm-6 col-12：4 → 3 → 2 → 1 */
}
@media (max-width: 1200px) {
  .news-list {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 768px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .news-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
}

/* ---------- 內容頁 ---------- */
.news-content {
  width: 100%;
}
.news-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);
}
.news-content__title {
  color: var(--nc-900);
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
}
.news-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);
}
.news-content__date-icon {
  width: 20px;
}
.news-content__body {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
}
.news-content__body img {
  max-width: 100%;
}
.news-content__body iframe {
  width: 100%;
  height: 600px;
}
@media (max-width: 1200px) {
  .news-content {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 768px) {
  .news-content__body iframe {
    height: 420px;
  }
}
@media (max-width: 576px) {
  .news-content {
    padding: 0;
  }
  .news-content__box {
    border: none;
    border-radius: 0;
  }
  .news-content__title {
    font-size: var(--text-hd-h5) !important;
    line-height: var(--text-hd-h5--line-height);
    font-weight: bold;
  }
  .news-content__body iframe {
    height: 300px;
  }
}
