:root {
  --bg: #fff;
  --bg-2: #fff;
  --text: #333333;
  --text-dim: #8c8c8c;
  --accent: #333333;
  --accent-2: #333333;
  --border: #361ebe;
  --link: #75baff;
  --link-hover: #333333;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 10px 30px rgba(7, 4, 193, 0.35);
  --shadow-2: 0 6px 18px rgba(7, 4, 193, 0.35);

  --container: 1120px;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: var(--text);
  font-family: Arial, "Noto Sans TC", "PingFang TC", "微軟正黑體", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top bar */
.site-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(18, 22, 29, 0.65) 0%,
    rgba(18, 22, 29, 0.35) 100%
  );
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.94em; /* 15px */
}
.crumbs {
  margin-left: auto;
  font-size: 0.81em; /* 13px */
  color: var(--text-dim);
}
.crumbs a {
  color: var(--link);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Main container */
.container {
  width: 96%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Hero / Title block */
.card-hero {
  margin-top: 2%;
}
.title {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.63em; /* 26px */
  line-height: 0;
  letter-spacing: 0.3px;
  color: var(--text);
  position: relative;
}
.title_p {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.63em; /* 26px */
  color: var(--text);
  position: relative;
  border-bottom: 1px #a0a0a0 solid;
  width: 100%;
  margin-bottom: 0;
}
.meta {
  margin-top: 14px;
  font-size: 0.88em; /* 14px */
  color: var(--text-dim);
}

.link_title {
  display: list-item;
  list-style-type: disc;
  margin-left: 16pt;
  font-weight: bolder;
  font-size: 1.20em;
}

/* Table of contents */
.toc {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px 18px;
}
.toc a {
  display: block;
  padding: 0.5% 2%;
  background: #fff;
  border-radius: 5px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88em; /* 14px */
}
.toc a:hover {
  background: #333333;
  color: #fff;
}

/* Section card */
.card {
  border-bottom: 1px #a0a0a0 solid;
  padding: 2.5% 0.5%;
}
.section-title {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 1.50em; /* 手機至少 24px */
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.section-title .num {
  color: var(--accent);
  font-weight: 700;
}
.section-sub {
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.2px;
  font-size: 0.94em; /* 15px */
}

.list_style {
  display: list-item;
  list-style-type: disc;
  margin-left: 14pt;
}

.list_style_2 {
  display: list-item;
  list-style-type: none;
  margin-left: 14pt;
}

.list_style li,
.list_style_2 li {
  list-style-type: circle;
  margin: 0 !important;
}

/* Content */
p {
  margin: 12px 0;
  font-size: 0.94em; /* 15px */
  color: var(--text);
}
ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}
ul li {
  margin: 8px 0;
  font-size: 0.94em; /* 15px */
}
.note {
  margin-top: 10px;
  font-size: 0.88em; /* 14px */
  color: var(--text-dim);
}

/* Links */
a {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
}

/* Footer */
.footer {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 0.94em; /* 15px */
}

/* Utilities */
.spacer-10 {
  height: 10px;
}
.spacer-16 {
  height: 16px;
}
.spacer-24 {
  height: 24px;
}

/* Responsive tweaks 模擬 clamp效果 */
@media (min-width: 768px) {
  .title,
  .title_p {
    font-size: 1.88em; /* 30px */
  }
  .section-title {
    font-size: 1.25em; /* 20px */
  }
}

@media (min-width: 1200px) {
  .title,
  .title_p {
    font-size: 2.13em; /* 34px */
  }
  .section-title {
    font-size: 1.38em; /* 22px */
  }
}
