:root {
  --color-text: #3e3a39;
  --color-muted: #5c5c5c;
  --color-bg: #ffffff;
  --color-surface: #f6f4f1;
  --color-accent: #1f6b4a;
  --color-accent-hover: #174f37;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --space: 1.25rem;
  --max-width: 100rem;
  --header-height: 120px;
  --header-height-fixed: 80px;
  --anchor-gap: 50px;
  --tab-surface: linear-gradient(121.6deg, rgba(255, 31, 31, 0.75) 31.34%, rgba(255, 84, 20, 0.75) 52.78%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 錨點捲動預留固定 header 高度 + 與 header 的間距 */
  scroll-padding-top: calc(var(--header-height-fixed) + var(--anchor-gap));
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 100px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-height);
  color: #fff;
  background: #00000099;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: height 0.3s ease;
}

.site-header.is-fixed {
  --header-height: var(--header-height-fixed);
  position: fixed;
  z-index: 1000;
}

.site-header.is-fixed .logo img {
  height: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .logo img {
    transition: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 2.5rem;
  transition:
    width 0.3s ease,
    height 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}

.logo:hover img,
.logo:focus-visible img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .logo img {
    transition: filter 0.3s ease;
  }

  .logo:hover img,
  .logo:focus-visible img {
    transform: none;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* 展開時三條線轉成 ×；位移量 = gap 6px + 線高 2px */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar {
    transition: none;
  }
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  opacity: 0.75;
}

.nav-cta + .nav-cta {
  margin-left: calc(16px - 2.5rem);
}

.site-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 134px;
  height: 45px;
  padding: 11px 31px;
  border-radius: 5px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.site-nav .nav-btn--light {
  color: #3e3a39;
  background: #ffffff;
}

.site-nav .nav-btn--primary {
  color: #fff;
  background: linear-gradient(111.92deg, #ff1f1f 0%, #ff4214 100%);
}

.site-nav .nav-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.hero {
  overflow: hidden;
  background: #111;
}

.hero picture {
  display: block;
}

.hero-banner {
  width: 100%;
  height: auto;
}

.js .hero-banner {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.2s ease,
    transform 1.6s ease;
}

.js .hero-banner.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.color-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff3443 0%, #ffd3d7 25%, #79e0fd 50%, #ffd970 75%, #2cb0ef 100%);
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-banner {
    transform: none;
    transition: opacity 0.3s ease;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--color-muted);
  font-size: 1.125rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  text-decoration: none;
}

.button:hover {
  background: var(--color-accent-hover);
}

#content {
  display: flow-root;
  color: #fff;
  background: #000;
}

.section-content {
  display: flow-root;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(50% 84.61% at 100% 85.53%, rgba(255, 57, 23, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(19.8% 21.67% at 61.41% 78.33%, rgba(255, 31, 31, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(117.34deg, #080808 38.41%, #d91b1b 100%),
    #000;
}

.content-block {
  text-align: center;
}

#content-block-01 {
  padding: 120px 0;
}

.content-title {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
}

.highlight-reveal {
  display: inline-block;
}

.js .highlight-reveal {
  opacity: 0;
  transform: translateY(0.4em);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .highlight-reveal .text-gradient-red {
  margin-right: 20px;
  background-image:
    linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.9) 50%, transparent 60%),
    linear-gradient(91.18deg, #ffacac -1.32%, #ff1f1f 37.85%, #b60000 55.57%, #ffacac 78.86%, #ff1f1f 102.48%);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0, 0 0;
}

.js .highlight-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .highlight-reveal.is-visible .text-gradient-red {
  animation: text-shine 3s ease-in-out 0.4s infinite;
}

@keyframes text-shine {
  0% {
    background-position: 100% 0, 0 0;
  }

  40%,
  100% {
    background-position: 0% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .highlight-reveal {
    transform: none;
  }

  .js .highlight-reveal.is-visible .text-gradient-red {
    animation: none;
  }
}

.content-split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 80px;
}

.content-subtitle {
  margin: 0 0 40px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0.1em;
  text-align: center;
}

.content-block-02-left,
.content-block-05-left,
.content-block-06-left {
  position: relative;
}

.content-block-02-left,
.content-block-02-left .content-subtitle,
.content-block-05-left,
.content-block-05-left .content-subtitle,
.content-block-06-left,
.content-block-06-left .content-subtitle {
  text-align: left;
}

.content-block-02-left .content-subtitle,
.content-block-05-left .content-subtitle,
.content-block-06-left .content-subtitle {
  position: relative;
  z-index: 2;
}

#content-block-06 {
  padding: 100px 0;
  background: url("../img/content-block-06-bg.jpg") center center / cover no-repeat;
}

.content-block-06-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 8fr);
  gap: 80px;
}

@media (min-width: 769px) and (max-width: 1080px) {
  .content-block-06-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 18fr);
    gap: 0;
  }
}

.content-block-06-right {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  row-gap: 20px;
}

.resource-item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  gap: 30px;
  padding: 24px 40px;
  overflow: hidden;
  color: #3e3a39;
  text-align: left;
  border: 1px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px 0 #e6e5e180;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: color 0.3s ease;
}

/* 兩層背景以 opacity 交替：hover 的紅色漸層為半透明，不能疊在白底上；inset 光暈放在這兩層才不會被蓋住 */
.resource-item::before,
.resource-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 11px;
  box-shadow:
    inset 0 -1px 1px 0 #ffffffbf,
    inset 0 1px 1px 0 #ffffffbf;
  transition: opacity 0.3s ease;
}

.resource-item::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
}

.resource-item::after {
  background: linear-gradient(111.92deg, rgba(255, 31, 31, 0.85) 0%, rgba(255, 84, 20, 0.7) 100%);
  opacity: 0;
}

.resource-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 140px;
  padding-right: 30px;
  color: #ff1f1f;
  border-right: 1px solid #dddddd;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.resource-date-num {
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 900;
  font-style: normal;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
}

.resource-date-sep {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1;
}

.resource-title {
  margin: 0;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  line-height: 1.4em;
  letter-spacing: 0.03em;
}

.resource-desc {
  margin: 0;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.08em;
}

.resource-note {
  color: #ff1f1f;
  transition: color 0.3s ease;
}

.resource-arrow {
  display: none;
}

.resource-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 12px 32px;
  color: #fff;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(111.92deg, rgba(255, 31, 31, 0.9) 0%, rgba(255, 66, 20, 0.9) 100%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 0 #fff;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.resource-item:hover,
.resource-item:focus-within {
  color: #fff;
}

.resource-item:hover::before,
.resource-item:focus-within::before {
  opacity: 0;
}

.resource-item:hover::after,
.resource-item:focus-within::after {
  opacity: 1;
}

.resource-item:hover .resource-date,
.resource-item:focus-within .resource-date,
.resource-item:hover .resource-note,
.resource-item:focus-within .resource-note {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.resource-item:hover .resource-btn,
.resource-item:focus-within .resource-btn {
  color: #ff1f1f;
  box-shadow: inset 0 0 0 30em #fff;
}

/* 子區塊 07：常見問題 */
#content-block-07 {
  position: relative;
  z-index: 1;
  display: flow-root;
  padding-top: 100px;
  background: url("../img/content-block-07-bg.png") repeat;
  background-size: 140px;
}

#content-block-07 > .container {
  position: relative;
  z-index: 1;
}

.faq-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 黑色遮罩，中央挖出模糊邊緣的斜梯形透出底紋；梯形頂點在 points（0–100 對應寬高百分比），柔邊在 stdDeviation */
.faq-deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='0'/%3E%3C/filter%3E%3Cmask id='m'%3E%3Crect width='100' height='100' fill='white'/%3E%3Cpolygon points='50,0 100,4 90,60 4,96' fill='black' filter='url(%23b)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='100' fill='black' mask='url(%23m)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.faq-deco-img {
  position: absolute;
  width: 52vw;
  max-width: none;
}

.faq-deco-img--01 {
  top: 110px;
  left: -4vw;
}

.faq-deco-img--02 {
  top: 330px;
  left: 61vw;
}

/* 下緣以負 margin 疊進子區塊 08 */
.faq-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto -40px;
  padding: 40px 30px 30px;
  color: #3e3a39;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow:
    0 0 30px 0 rgba(255, 31, 31, 0.8),
    0 0 100px 20px rgba(255, 31, 31, 0.45),
    inset 0 1px 1px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.faq-card .content-subtitle {
  margin-bottom: 16px;
  color: #3e3a39;
}

.faq-contact {
  margin: 0 0 24px;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.08em;
}

.faq-contact a {
  font: inherit;
  letter-spacing: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-decoration-skip-ink: auto;
  transition: color 0.2s ease;
}

.faq-contact a:hover {
  color: #ff1f1f;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-question {
  margin: 0;
}

.faq-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 6px 24px;
  color: #fff;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: left;
  background: linear-gradient(90deg, rgba(255, 31, 31, 0.7) 0%, rgba(255, 84, 20, 0.7) 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.faq-btn:hover,
.faq-item.is-open .faq-btn {
  background: linear-gradient(90deg, #ff1f1f 0%, #ff5414 100%);
}

.faq-q {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.faq-q::after {
  content: "";
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.faq-question-text {
  flex: 1;
  min-width: 0;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 48px;
  letter-spacing: 0.05em;
}

/* 收合「+」與展開「×」兩張圖疊放，切換時交叉淡入並旋轉 */
.faq-icon {
  position: relative;
  flex: none;
  width: 35px;
  height: 35px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.faq-icon::before {
  background-image: url("../img/content-block-07-toggle-close-icon.svg");
}

.faq-icon::after {
  background-image: url("../img/content-block-07-toggle-open-icon.svg");
  background-size: 31px 30px;
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}

.faq-item.is-open .faq-icon::before {
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
}

.faq-item.is-open .faq-icon::after {
  opacity: 1;
  transform: none;
}

.faq-panel-inner {
  padding-inline: 24px;
  text-align: left;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.08em;
}

.faq-panel-inner > :first-child {
  margin-top: 20px;
}

.faq-panel-inner > :last-child {
  margin-bottom: 24px;
}

.faq-panel-inner p {
  margin: 0;
}

.faq-panel-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-panel-inner li {
  position: relative;
  padding-left: 1.2em;
}

.faq-panel-inner li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* 有 JS 時才收合，避免 JS 失效時內容無法展開 */
.js .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s ease, visibility 0s linear 0.4s;
}

.js .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.4s ease, visibility 0s;
}

.js .faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

/* 子區塊 08：倒數計時 */
#content-block-08 {
  --countdown-gap: 40px;
  padding: 110px 0 80px;
  background: url("../img/content-block-08-bg.jpg") center center / cover no-repeat;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--countdown-gap);
  max-width: 920px;
  margin: 0 auto;
}

.countdown-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  box-shadow: inset 0 1px 1px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.countdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: var(--countdown-gap);
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

/* 2px 透明描邊露出漸層背景，內側一半被白色填色蓋住，視覺上為外側 1px 漸層框線 */
.countdown-num {
  color: #fff;
  font-family: "Bai Jamjuree", var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 100%;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(111.92deg, #ff1f1f 0%, #ff4214 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 2px transparent;
}

.countdown-label {
  margin-top: 16px;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-align: center;
}

.countdown-deadline--mobile {
  display: none;
}

.countdown-deadline {
  margin: 30px 0 0;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
  .faq-icon::before,
  .faq-icon::after,
  .js .faq-panel,
  .js .faq-item.is-open .faq-panel {
    transition: none;
  }
}

#content-block-05 {
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 100px;
  background: url("../img/content-block-05-bg.png") repeat;
}

.title-tab {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.tab-btn {
  min-width: 240px;
  padding: 18px 32px;
  color: #fff;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.05em;
  background: linear-gradient(111.92deg, rgba(184, 33, 2, 0.8) 0%, rgba(30, 24, 24, 0.8) 100%);
  border: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow:
    0 0 10px 0 #e6e5e180,
    inset 0 1px 1px 0 #ffffffbf,
    inset 0 1px 1px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  clip-path: inset(-20px -20px 0 -20px);
  cursor: pointer;
}

.tab-btn.is-active {
  background: linear-gradient(111.92deg, rgba(255, 31, 31, 0.75) 0%, rgba(255, 84, 20, 0.75) 100%);
  box-shadow:
    0 0 10px 0 #e6e5e180,
    inset 0 1px 1px 0 #ffffffbf;
}

/*
  啟動按鈕＋內容區塊共用 #content-block-05-tabs::before 的同一張漸層，
  --tab-shape（聯集外框）、--active-left / --active-width（按鈕相對內容區塊的位置）由 main.js 寫入
*/
#content-block-05-tabs {
  position: relative;
}

#content-block-05-tabs > .title-tab,
#content-block-05-tabs > .tab-content {
  position: relative;
}

#content-block-05-tabs.is-shaped::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--tab-surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  clip-path: var(--tab-shape);
}

#content-block-05-tabs.is-shaped .tab-btn.is-active {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  clip-path: inset(-20px -20px 1px -20px);
}

#content-block-05-tabs.is-shaped .tab-pane {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  clip-path: polygon(
    -20px -20px,
    var(--active-left) -20px,
    var(--active-left) 1px,
    calc(var(--active-left) + var(--active-width)) 1px,
    calc(var(--active-left) + var(--active-width)) -20px,
    calc(100% + 20px) -20px,
    calc(100% + 20px) calc(100% + 20px),
    -20px calc(100% + 20px)
  );
}

#content-block-05-tabs.is-shaped[data-active-at-left] .tab-pane {
  border-top-left-radius: 0;
}

.tab-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tab-pane {
  padding: 50px 55px;
  text-align: left;
  border: 0px;
  border-top: 1px solid #ffffff4d;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  background: var(--tab-surface) no-repeat border-box;
  box-shadow:
    0 0 10px 0 #e6e5e180,
    inset 0 -1px 1px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.award {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding-top: 20px;
}

.award-card {
  position: relative;
  flex: 0 1 520px;
  padding: 64px 30px 44px;
  background:
    linear-gradient(180deg, transparent 26%, rgba(255, 31, 31, 0.06) 26%, rgba(255, 31, 31, 0.06) 46%, transparent 46%),
    linear-gradient(90deg, transparent 5%, rgba(255, 31, 31, 0.06) 5%, rgba(255, 31, 31, 0.06) 13%, transparent 13%),
    linear-gradient(180deg, #ffffff 0%, #fbeeee 100%);
  border: 1px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.award-label {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  min-width: 200px;
  padding: 0 40px;
  color: #3e3a39;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  line-height: 42.9px;
  letter-spacing: 0.03em;
  text-align: center;
  background: #ffffffb2;
  border: 0.89px solid #c21c1a;
  border-radius: 999px;
  box-shadow:
    0 0 3.58px 0 #e6e5e180,
    inset 0 -0.89px 0.89px 0 #ffffffbf,
    inset 0 0.89px 0.89px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(17.875px);
  backdrop-filter: blur(17.875px);
  transform: translate(-50%, -50%);
}

.award-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 28px;
  margin: 0;
}

.award-num {
  color: #ff1f1f;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: clamp(56px, 7vw, 116.11px);
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.award-unit {
  color: #3e3a39;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30.96px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-align: center;
}

.award-times {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding-block: 0 36px;
}

.notice-item:nth-child(odd) {
  padding-right: 70px;
}

.notice-item:nth-child(n + 3) {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.notice-item:nth-last-child(-n + 2):nth-child(odd),
.notice-item:last-child {
  padding-bottom: 0;
}

.notice-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  color: #ff1f1f;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  background: #fff5f5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notice-body {
  padding-top: 6px;
}

.notice-title {
  margin: 0 0 12px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.notice-desc {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.05em;
}

.content-block-02-left-h2-icon {
  position: absolute;
  left: -30px;
  top: -15px;
  width: 45px;
  height: auto;
}

.content-block-02-right {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.content-card {
  width: auto;
  min-height: 263px;
  padding: 25px;
  color: #3e3a39;
  text-align: left;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%),
    #ffffff;
  border: 1px solid #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px 0 #e6e5e180;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-15px);
  box-shadow:
    0 0 10px 0 #e6e5e180,
    0 0 50px 0 #ff1f1f80;
}

.content-card-icon {
  display: block;
  width: 50px;
  height: 50px;
  color: #3e3a39;
  transition: color 0.3s ease;
}

.content-card:hover .content-card-icon {
  color: #ff1f1f;
}

.content-card-title {
  margin: 24px 0 12px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  line-height: 25px;
  letter-spacing: 0.05em;
  color: #3E3A39;
}

@media (prefers-reduced-motion: reduce) {
  .content-card {
    transition: box-shadow 0.3s ease;
  }

  .content-card:hover {
    transform: none;
  }
}

#content-block-03 {
  position: relative;
  margin: 50px 0;
  overflow: hidden;
}

.content-block-03-img {
  width: 920px;
  max-width: none;
  height: auto;
  margin-left: auto;
  margin-right: -200px;
}

.js .scroll-slide {
  will-change: transform;
}

.content-block-04-h3-icon {
  margin-inline: auto;
  margin-bottom: -20px;
}

.timeline {
  overflow: hidden;
}

.timeline-nav {
  display: none;
}

.timeline-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.timeline-arrow:hover:not(:disabled) {
  background-color: #ff1f1f;
  border-color: #ff1f1f;
}

.timeline-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

#content-block-04 {
  margin-bottom: 50px;
}

#content-block-04 .timeline {
  padding-top: 40px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 400px));
  grid-template-rows: auto auto auto;
  justify-content: center;
  row-gap: 24px;
  width: min(100% - 100px, var(--max-width));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline-list::before {
  content: "";
  grid-row: 2;
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  width: 100vw;
  height: 2px;
  background: linear-gradient(91.18deg, #ffacac -1.32%, #ff1f1f 44.08%, #b60000 102.48%);
}

/* 橫線佔滿第 2 列，節點必須指定欄位，否則會被自動排到額外產生的欄 */
.timeline-item:nth-child(1) {
  grid-column: 1;
}

.timeline-item:nth-child(2) {
  grid-column: 2;
}

.timeline-item:nth-child(3) {
  grid-column: 3;
}

.timeline-item:nth-child(4) {
  grid-column: 4;
}

.timeline-item {
  display: grid;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
  justify-items: start;
  padding-inline: 20px;
  text-align: left;
}

.timeline-title,
.timeline-text {
  padding-left: 35px;
}

.timeline-title {
  align-self: end;
  margin: 0 0 30px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  line-height: 25px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-title,
.timeline-item.is-active .timeline-title {
  color: #ff1f1f;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  left: -5px;
  align-self: center;
  justify-self: start;
  width: 10px;
  height: 4px;
  background: #ffffff;
}

.timeline-text {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-bottom: 20px;
  border: 1px solid transparent;
  border-left-color: #ffffff;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.timeline-text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(111.92deg, rgba(255, 31, 31, 0.75) 0%, rgba(255, 66, 20, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-text,
.timeline-item.is-active .timeline-text {
  border-color: #ffffff4d;
  box-shadow:
    0 0 10px 0 #e6e5e180,
    inset 0 -1px 1px 0 #ffffffbf,
    inset 0 1px 1px 0 #ffffffbf;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.timeline-item:hover .timeline-text::before,
.timeline-item.is-active .timeline-text::before {
  opacity: 1;
}

.timeline-date {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  line-height: 48px;
  letter-spacing: 0.03em;
}

.timeline-desc {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  line-height: 25px;
  letter-spacing: 0.05em;
}

.timeline-date,
.timeline-desc {
  transition: text-shadow 0.3s ease;
}

.timeline-item:hover .timeline-date,
.timeline-item:hover .timeline-desc,
.timeline-item.is-active .timeline-date,
.timeline-item.is-active .timeline-desc {
  text-shadow: 0 0 20px #000000;
}

.content-text {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.08em;
  text-align: left;
}

.text-gradient-red {
  background: linear-gradient(91.18deg, #ffacac -1.32%, #ff1f1f 37.85%, #b60000 55.57%, #ffacac 78.86%, #ff1f1f 102.48%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 768px) {
  #content-block-01 {
    padding: 60px 0;
    background: url("../img/content-block-02-img.svg") center center / contain no-repeat;
    background-size: 110%;
  }

  #content-block-01 .container{
    width: 100%;
  }

  .text-gradient-red{
    margin-right: 10px !important;
  }

  #content-block-01 .container .content-title{
    line-height:135%;
  }

  .content-title {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .content-block-06-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-subtitle {
    margin-bottom: 24px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0.1em;
  }

  /* 其他區塊仍沿用全域 768 斷點；block-02 改見下方 911 專用規則 */
  .content-block-02-left-h2-icon {
    left: -16px;
    top: -11px;
    width: 32px;
  }

  .content-text {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.08em;
  }

  #content-block-03 {
    display: none;
  }

  .section-content {
    background: none;
  }

  #content-block-04 {
    position: relative;
    isolation: isolate;
    margin-top: 60px;
    margin-bottom: 0px;
    overflow-x: hidden;
    overflow-x: clip;
  }

  /* 以 #content-block-04 為定位基準，不受 .timeline 的 overflow 裁切 */
  #content-block-04-timeline::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
    width: 750px;
    height: 750px;
    background: radial-gradient(56.26% 49% at 50% 50.15%, rgba(255, 31, 31, 0.3) 0%, rgba(255, 31, 31, 0) 100%);
    transform: translateY(-50%);
    pointer-events: none;
  }

  #content-block-04 .timeline {
    padding-top: 10;
  }

  /* 光暈墊在底紋下方，讓半透明底紋在純黑背景上透出來 */
  #content-block-05 {
    margin-top: 0;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image:
      url(../img/content-block-05-bg.png), radial-gradient(100% 45% at 50% 45%, rgba(255, 31, 31, 0.95)0%, rgba(255, 31, 31, 0) 100%);
    background-repeat: repeat, no-repeat;
    background-size: 100px, 100% 100%;
  }

  /* 垂直時間軸：直線在左側 x=4–6px，節點短線與標題第一行垂直置中（(25 - 4) / 2 = 10.5px） */
  .timeline-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-left: 40px;
    padding-bottom: 40px;
  }

  .timeline-list::before {
    position: absolute;
    top: 10.5px;
    bottom: 0;
    left: 4px;
    width: 2px;
    height: 535px;
    background: linear-gradient(180deg, #ffffff 0%, #ff1f1f 45%, rgba(182, 0, 0, 0) 100%);
  }

  .title-tab {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .tab-buttons {
    flex-wrap: nowrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  .tab-pane {
    padding: 32px 24px;
  }

  #content-block-05-tab-02 {
    border-top-left-radius: 0;
  }

  .notice-list {
    grid-template-columns: 1fr;
  }

  .award-card {
    padding: 48px 20px 32px;
  }

  .award-label {
    min-width: 140px;
    padding: 8px 28px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  .award-value {
    gap: 10px;
  }

  .award-num {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
  }

  .award-unit {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .award-times {
    width: 44px;
    height: 44px;
  }

  .notice-list > .notice-item:nth-child(n) {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .notice-list > .notice-item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .notice-list > .notice-item:last-child {
    padding-bottom: 0;
  }

  .notice-item {
    gap: 20px;
  }

  .notice-num {
    width: 50px;
    height: 50px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
  }

  .notice-title {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.05em;
  }

  .notice-desc {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.08em;
  }

  .timeline-item {
    position: relative;
    display: block;
    padding: 0;
    text-align: left;
  }

  .timeline-dot {
    position: absolute;
    top: 10.5px;
    left: -40px;
  }

  .timeline-title,
  .timeline-item:hover .timeline-title {
    width: fit-content;
    margin: 0 0 16px;
    padding-left: 0;
    color: transparent;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 25px;
    letter-spacing: 0.05em;
    background: linear-gradient(111.92deg, #ff1f1f 0%, #ff5414 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .timeline-text,
  .timeline-item:hover .timeline-text,
  .timeline-item.is-active .timeline-text {
    width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .timeline-item:hover .timeline-text::before,
  .timeline-item.is-active .timeline-text::before {
    opacity: 0;
  }

  .timeline-date {
    margin-bottom: 12px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  .timeline-desc {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.05em;
  }

}

@media (max-width: 1050px){

  .disclaimer{
    display: flex;
  }

  .disclaimer-title{
    min-width: 77px;
  }
}

@media (max-width: 768px){
  .disclaimer-title{
    min-width: 70px;
  }
}

/* logo 四周淨空 8mm：上下由頁尾內距、右側由 gap、左側由容器邊距保留 */
.site-footer {
  padding: 8mm 0;
  color: rgba(255, 255, 255, 0.8);
  background: #000;
  font-family: "Noto Sans TC", var(--font-sans);
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.05em;
}

.site-footer p {
  margin: 0;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-footer .site-footer-inner {
  width: min(100% - 16mm, var(--max-width));
}

.site-footer-left {
  display: flex;
  align-items: center;
  gap: 8mm;
  min-width: 0;
}

.footer-logo {
  flex: none;
  width: 76px;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer-copy {
  flex: none;
}

@media (max-width: 1024px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .site-footer-copy {
    flex: initial;
  }
}

@media (max-width: 768px) {
  .site-footer .site-footer-inner {
    width: auto;
    margin-inline: 20px;
  }

  .site-footer-info {
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0.05em;
  }

  .site-footer-info p {
    margin-bottom: 10px;
  }

  .site-footer-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 60px;
  }
}

/* tsmcCookie.css 於載入後插入 head 末端，需以 html 前綴提高權重才能覆寫 */
html #tsmc_cookie_cookiePanel {
  --cookie-accent: #808080;
  color: var(--color-text);
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_cookieSetting {
  min-height: 0;
}

html #tsmc_cookie_cookiePanel h6 {
  margin: 0;
  font-size: 1rem;
}

html #tsmc_cookie_cookiePanel p {
  margin-bottom: 0;
}



html #tsmc_cookie_cookiePanel .tsmc_cookie_btn-ck-primary {
  color: #fff;
  background-color: var(--cookie-accent);
  border-color: var(--cookie-accent);
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_saveCookieBtn_all {
  margin-top: 0.5rem;
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_btn-ck-primary:hover {
  color: var(--cookie-accent);
  background-color: #fff;
  border-color: var(--cookie-accent);
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_btn-outline-secondary {
  color: var(--cookie-accent);
  border-color: var(--cookie-accent);
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--cookie-accent);
  border-color: var(--cookie-accent);
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_btn:focus-visible,
html #tsmc_cookie_cookiePanel .tsmc_cookie_checkBtn:focus-visible {
  outline: 2px solid var(--cookie-accent);
  outline-offset: 2px;
}

html #tsmc_cookie_cookiePanel .tsmc_cookie_checkBtn.tsmc_cookie_active {
  background-color: var(--cookie-accent);
  border-color: var(--cookie-accent);
}

/* content-block-02 專用：≤911 手機 */
@media (max-width: 1050px) {
  #content-block-02 .content-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #content-block-02 .content-subtitle {
    margin-bottom: 24px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0.1em;
  }

  #content-block-02 .content-block-02-left-h2-icon {
    left: -16px;
    top: -11px;
    width: 32px;
  }

  #content-block-02 .content-text {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.08em;
  }

  #content-block-02 .content-block-02-right {
    grid-template-columns: 1fr;
  }

  #content-block-02 .content-card {
    min-height: 190px;
  }

  #content-block-02 .content-card,
  #content-block-02 .content-card:hover {
    transform: none;
    box-shadow:
      0 0 10px 0 #e6e5e180,
      0 0 50px 0 #ff1f1f80;
  }

  #content-block-02 .content-card .content-card-icon {
    width: 40px;
    height: 40px;
    color: #ff1f1f;
  }

  #content-block-02 .content-card-title {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0.05em;
  }
}

/* content-block-02 專用：912～1024 平板 */
@media (min-width: 912px) and (max-width: 1024px) {
  #content-block-02 .content-split {
    gap: 20px;
  }

  #content-block-02 .content-block-02-right {
    gap: 10px;
  }

  #content-block-02 .content-card {
    padding: 10px;
  }

  #content-block-02 .content-block-02-left-h2-icon {
    left: -15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* 內容左右只留 20px，圖示往左偏移需小於 20px 才不會被視窗切掉（block-05／06 等） */
  .content-block-02-left-h2-icon {
    left: -15px;
  }

  /* 箭頭與標題同一列靠右，高度對齊標題字級 40px */
  .timeline-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
  }

  #content-block-04 .timeline {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  #content-block-04 .timeline::-webkit-scrollbar {
    display: none;
  }

  #content-block-04 .timeline-list {
    grid-template-columns: repeat(4, 360px);
    justify-content: start;
    width: max-content;
    margin: 0;
    padding-inline: 20px;
  }

  #content-block-04 .timeline-list::before {
    justify-self: stretch;
    width: auto;
    margin-inline: -20px;
  }

  #content-block-04 .timeline-item {
    scroll-snap-align: start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  #content-block-04 .timeline {
    scroll-behavior: auto;
  }
}

@media (max-width: 1024px) {
  .container,
  .timeline-list {
    width: min(100% - 60px, var(--max-width));
  }

  #content-block-04 > .container {
    position: relative;
  }

  #content-block-04 .content-block-04-h3-icon {
    position: absolute;
    left: -15px;
    top: -15px;
    width: 45px;
    margin: 0;
  }

  #content-block-04 .content-subtitle {
    position: relative;
    z-index: 2;
    text-align: left;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem;
    background: #00000099;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-cta + .nav-cta {
    margin-left: 0;
  }

  .award {
    flex-direction: column;
    gap: 44px;
  }

  .award-card {
    flex-basis: auto;
    width: 100%;
    max-width: 520px;
  }

  .content-block-06-right {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .resource-item {
    padding: 24px 30px;
  }

  .resource-action {
    grid-column: 2;
  }

  .resource-btn {
    display: inline-flex;
    width: auto;
    min-width: 280px;
  }
}

@media (min-width: 769px) and (max-width: 880px) {
  .resource-btn {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --header-height-fixed: 50px;
    --anchor-gap: 30px;
  }

  .site-header {
    position: relative;
  }

  body.has-fixed-header {
    padding-top: var(--header-height);
  }

  .site-header,
  .site-nav {
    background: #000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .logo img {
    width: 180px;
    height: auto;
  }

  .site-header.is-fixed {
    --header-height: var(--header-height-fixed);
  }

  .site-header.is-fixed .logo img {
    width: 150px;
    height: auto;
  }

  #content-block-04 .content-block-04-h3-icon {
    left: -16px;
    top: -11px;
    width: 32px;
  }

  #content-block-06 {
    padding: 50px 0;
    background: linear-gradient(116.58deg, #080808 0.55%, #bc1f1f 61.84%, #080808 130.42%);
  }

  .resource-arrow {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    color: #fff;
    background: linear-gradient(111.92deg, rgba(255, 31, 31, 0.75) 0%, rgba(255, 84, 20, 0.75) 100%);
    border-radius: 6px;
    box-shadow: inset 0 0 0 0 #fff;
    transition:
      color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .resource-item:hover .resource-arrow,
  .resource-item:focus-within .resource-arrow {
    color: #ff1f1f;
    box-shadow: inset 0 0 0 30em #fff;
  }

  .content-block-06-split {
    gap: 20px;
  }

  .content-block-06-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-item {
    gap: 16px;
    padding: 24px;
  }

  .resource-date {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid #dddddd;
  }

  .resource-date-num {
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 900;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
  }

  .resource-date-sep {
    margin: 0;
    font-weight: 900;
    font-size: 20px;
  }

  .resource-title {
    margin-bottom: 12px;
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.05em;
  }

  .resource-title-paren {
    display: block;
    line-height: 1.4em;
  }

  .resource-desc {
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.08em;
  }

  .resource-action {
    display: none;
  }

  #content-block-07 {
    padding-top: 80px;
  }

  .faq-deco-img {
    width: 110vw;
  }

  .faq-deco-img--01 {
    top: 60px;
    left: 0;
  }

  .faq-deco-img--02 {
    display: none;
  }

  .faq-card {
    padding: 30px 16px 20px;
  }

  .faq-contact {
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .faq-btn {
    gap: 10px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .faq-question-text {
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.05em;
  }

  .faq-q {
    gap: 10px;
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.05em;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-icon::after {
    background-size: contain;
  }

  .faq-panel-inner {
    padding-inline: 16px;
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.08em;
  }

  #content-block-08 {
    --countdown-gap: 12px;
    padding: 90px 0 20px;
  }

  .countdown-item {
    border-radius: 8px;
  }

  .countdown-num {
    font-family: "Bai Jamjuree", var(--font-sans);
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
  }

  .countdown-label {
    margin-top: 8px;
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .countdown-deadline {
    margin-top: 20px;
    font-family: "Noto Sans TC", var(--font-sans);
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .countdown-deadline--desktop {
    display: none;
  }

  .countdown-deadline--mobile {
    display: block;
  }
}
