:root {
  --ink: #20262b;
  --muted: #59666f;
  --paper: #f7f4ee;
  --paper-deep: #eee6d9;
  --line: #c9bca8;
  --steel: #40515c;
  --teal: #5f8790;
  --rust: #9a4d3b;
  --amber: #c18d3f;
  --sage: #7d8b68;
  --white: #ffffff;
  --balance: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1d2328;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/images/hero-media-transformation.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(0.96);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 20, 22, 0.88), rgba(17, 20, 22, 0.58) 46%, rgba(17, 20, 22, 0.08)),
    linear-gradient(0deg, rgba(17, 20, 22, 0.72), rgba(17, 20, 22, 0.08) 52%);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 76px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.14;
}

.hero-lede {
  max-width: 850px;
  margin: 26px 0 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta span,
.trust-strip span,
.agent-tags span {
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.section-nav a {
  flex: 0 0 auto;
  color: var(--steel);
  text-decoration: none;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  font-size: 0.92rem;
}

.section-nav a.is-active {
  color: var(--ink);
  border-color: var(--rust);
}

.report-section {
  padding: 86px 0;
  background: var(--paper);
}

.section-cream {
  background: var(--paper-deep);
}

.section-slate {
  background: #e8ecec;
}

.section-final {
  background: #ece5d8;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.22;
}

.takeaway {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--rust);
  font-size: 1.16rem;
  font-weight: 700;
}

.section-grid,
.media-split,
.lessons-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.media-split.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.narrative p,
.two-column-note p,
.wide p {
  margin: 0 0 18px;
  font-size: 1.03rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-strip span {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.funnel-widget,
.workflow-detail,
.balance-widget,
.business-widget,
.layer-detail,
.review-gate,
.audit-note,
.source-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.funnel-widget {
  padding: 24px;
}

.funnel-widget.compact {
  margin-top: 28px;
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--steel);
  margin-bottom: 20px;
}

.segmented button {
  border: 0;
  background: transparent;
  color: var(--steel);
  padding: 9px 16px;
}

.segmented button.is-active {
  background: var(--steel);
  color: var(--white);
}

.funnel-widget h3 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.funnel-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.funnel-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
}

.funnel-steps span {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--white);
  background: var(--rust);
}

.funnel-steps strong {
  padding: 8px 12px;
  font-size: 1rem;
}

.warning-line,
.audit-note {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: #f2d8c8;
  border-left: 4px solid var(--rust);
}

.evidence-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.evidence-card,
.judgment-grid article,
.lesson-list article,
.boundary-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
}

.evidence-card span,
.judgment-grid span,
.boundary-card span {
  color: var(--rust);
  font-size: 0.86rem;
  font-weight: 700;
}

.evidence-card h3,
.lesson-list h3,
.judgment-grid h3,
.boundary-card h3 {
  margin: 8px 0 10px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.evidence-card p,
.lesson-list p,
.judgment-grid p,
.boundary-card p {
  margin: 0;
}

.evidence-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  margin-bottom: 30px;
}

.stat-row div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.stat-row div:last-child {
  border-right: 0;
}

.stat-row strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.2;
}

.stat-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.figure-band {
  margin: 28px 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.figure-band img,
.balance-widget > img,
.boundary-layout > img {
  width: 100%;
}

.workflow-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  margin-top: 28px;
}

.workflow-rail {
  display: grid;
  gap: 10px;
}

.workflow-node,
.layer-tab {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
}

.workflow-node.is-active,
.layer-tab.is-active {
  border-color: var(--steel);
  background: var(--white);
  box-shadow: inset 4px 0 0 var(--rust);
}

.node-index {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--white);
  background: var(--steel);
}

.workflow-detail {
  min-height: 398px;
  padding: 26px;
}

.detail-kicker,
.source-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 22px;
}

.agent-tags span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-grid h4 {
  margin: 0 0 8px;
}

.detail-grid p {
  margin: 0;
}

.two-column-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 30px;
}

.media-split img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.balance-widget {
  margin-top: 30px;
  padding: 24px;
}

.balance-widget > img {
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.balance-control {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.balance-control input {
  width: 100%;
  accent-color: var(--rust);
}

.balance-label {
  display: block;
  margin: 14px 0;
  color: var(--rust);
}

.balance-columns {
  display: grid;
  grid-template-columns: var(--balance) 1fr;
  gap: 14px;
  align-items: stretch;
}

.balance-columns article {
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--white);
  min-width: 0;
}

.balance-columns h3 {
  margin: 0 0 10px;
}

.balance-columns ul {
  margin: 0;
  padding-left: 20px;
}

.gate-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #d9e2df;
  border-left: 4px solid var(--teal);
}

.review-gate {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 20px;
}

.review-gate img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.review-gate h3 {
  margin: 0 0 10px;
}

.review-gate p {
  margin: 0;
}

.wide {
  max-width: 920px;
}

.business-widget {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 22px;
}

.layer-tabs {
  display: grid;
  gap: 10px;
}

.layer-tab {
  grid-template-columns: 1fr;
  padding: 14px 16px;
}

.layer-tab span,
.layer-tab strong {
  display: block;
}

.layer-tab strong {
  color: var(--rust);
}

.layer-detail {
  min-height: 250px;
  padding: 24px;
}

.layer-detail-head span {
  display: inline-block;
  padding: 4px 9px;
  color: var(--white);
  background: var(--rust);
}

.layer-detail-head h4 {
  margin: 12px 0;
  font-size: 1.45rem;
}

.evidence-dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.evidence-dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

.evidence-dl dt {
  color: var(--rust);
  font-weight: 700;
}

.evidence-dl dd {
  margin: 0;
}

.evidence-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
}

.evidence-table th,
.evidence-table td {
  border: 1px solid var(--line);
  padding: 16px;
  vertical-align: top;
  text-align: left;
}

.evidence-table th {
  background: var(--steel);
  color: var(--white);
}

.boundary-layout {
  display: grid;
  gap: 24px;
}

.boundary-layout > img {
  border: 1px solid var(--line);
  background: var(--white);
}

.boundary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.boundary-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
}

.judgment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 42px 0;
}

.lessons-block {
  align-items: stretch;
}

.lessons-block > img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.lesson-list {
  display: grid;
  gap: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 36px max(20px, calc((100% - 1120px) / 2));
  background: #20262b;
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  padding: 10px 14px;
}

.source-panel {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .section-grid,
  .media-split,
  .media-split.reverse,
  .workflow-panel,
  .two-column-note,
  .business-widget,
  .review-gate,
  .lessons-block,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .evidence-wall,
  .stat-row,
  .detail-grid,
  .boundary-cards,
  .judgment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .balance-control {
    grid-template-columns: 1fr;
  }

  .balance-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-inner,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .report-section {
    padding: 58px 0;
  }

  .evidence-wall,
  .stat-row,
  .detail-grid,
  .boundary-cards,
  .judgment-grid {
    grid-template-columns: 1fr;
  }

  .stat-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-row div:last-child {
    border-bottom: 0;
  }

  .section-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
}
.evidence-card small {
  display: none;
}
/* === 隱藏指定頁面的裝飾圖片，並讓文字區塊置中放大 === */

/* 1. 隱藏官方 AI / 個人 AI 天秤、人工審核閘門、SEO 到 AEO 相關圖片 */
img[src*="trust-balance-scale"],
img[src*="ai-governance-balance"],
img[src*="human-review-gate"],
img[src*="aeo-zero-click-hole"],
img[src*="seo-to-aeo-funnel"] {
  display: none !important;
}

/* 2. 隱藏圖片外面的空白框，避免圖片消失後留一個空盒子 */
:where(figure, .figure, .visual, .visual-card, .visual-panel, .image-card, .media-card, .diagram, .diagram-card, .side-visual, .illustration, .art-card):has(img[src*="trust-balance-scale"]),
:where(figure, .figure, .visual, .visual-card, .visual-panel, .image-card, .media-card, .diagram, .diagram-card, .side-visual, .illustration, .art-card):has(img[src*="ai-governance-balance"]),
:where(figure, .figure, .visual, .visual-card, .visual-panel, .image-card, .media-card, .diagram, .diagram-card, .side-visual, .illustration, .art-card):has(img[src*="human-review-gate"]),
:where(figure, .figure, .visual, .visual-card, .visual-panel, .image-card, .media-card, .diagram, .diagram-card, .side-visual, .illustration, .art-card):has(img[src*="aeo-zero-click-hole"]),
:where(figure, .figure, .visual, .visual-card, .visual-panel, .image-card, .media-card, .diagram, .diagram-card, .side-visual, .illustration, .art-card):has(img[src*="seo-to-aeo-funnel"]) {
  display: none !important;
}

/* 3. 圖片移除後，讓該區塊不要一邊空白，文字改成置中寬版 */
:where(section, .section, .content-section, .story-section, .slide, .panel-grid, .two-column, .split, .section-grid):has(img[src*="trust-balance-scale"]),
:where(section, .section, .content-section, .story-section, .slide, .panel-grid, .two-column, .split, .section-grid):has(img[src*="ai-governance-balance"]),
:where(section, .section, .content-section, .story-section, .slide, .panel-grid, .two-column, .split, .section-grid):has(img[src*="human-review-gate"]),
:where(section, .section, .content-section, .story-section, .slide, .panel-grid, .two-column, .split, .section-grid):has(img[src*="aeo-zero-click-hole"]),
:where(section, .section, .content-section, .story-section, .slide, .panel-grid, .two-column, .split, .section-grid):has(img[src*="seo-to-aeo-funnel"]) {
  grid-template-columns: minmax(0, 860px) !important;
  justify-content: center !important;
}

/* 4. 讓留下來的文字不要太窄 */
:where(section, .section, .content-section, .story-section, .slide):has(img[src*="trust-balance-scale"]) > *,
:where(section, .section, .content-section, .story-section, .slide):has(img[src*="ai-governance-balance"]) > *,
:where(section, .section, .content-section, .story-section, .slide):has(img[src*="human-review-gate"]) > *,
:where(section, .section, .content-section, .story-section, .slide):has(img[src*="aeo-zero-click-hole"]) > *,
:where(section, .section, .content-section, .story-section, .slide):has(img[src*="seo-to-aeo-funnel"]) > * {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* 5. 圖片拿掉後，這幾頁的內文字稍微放大一點 */
#governance p,
#aeo p {
  font-size: 1.08rem;
  line-height: 1.9;
}
.source-line {
  display: none !important;
}
/* === 採編流程右側說明框：讓文字不要靠上，改成垂直置中、字稍微放大 === */
.workflow-detail {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 398px !important;
  padding: 34px 36px !important;
}

.workflow-detail h4 {
  margin: 18px 0 8px !important;
  font-size: 1.15rem !important;
}

.workflow-detail p {
  font-size: 1.06rem !important;
  line-height: 1.85 !important;
}

.workflow-detail .agent-tags {
  margin-bottom: 26px !important;
}

.workflow-detail .detail-grid {
  gap: 20px !important;
}
/* === 人工審核閘門：圖片拿掉後改成單欄置中、文字加寬放大 === */
.review-gate {
  display: grid !important;
  grid-template-columns: minmax(0, 860px) !important;
  justify-content: center !important;
  padding: 34px 40px !important;
}

.review-gate > div {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.review-gate h3 {
  font-size: 1.65rem !important;
  margin-bottom: 16px !important;
}

.review-gate p {
  font-size: 1.1rem !important;
  line-height: 1.95 !important;
  text-align: left !important;
}
/* === SEO 到 AEO 區塊：圖片拿掉後，改成置中寬版文字 === */

/* 1. 如果 SEO 到 AEO 區塊還有殘留圖片，先隱藏 */
#section-4 .media-split.reverse > img,
#section-4 .figure-band {
  display: none !important;
}

/* 2. 把原本左右兩欄改成單欄置中 */
#section-4 .media-split.reverse {
  grid-template-columns: minmax(0, 920px) !important;
  justify-content: center !important;
  gap: 0 !important;
}

/* 3. 讓小內文區塊變寬、置中，避免右邊空一大塊 */
#section-4 .media-split.reverse .narrative {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 30px 34px !important;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
}

/* 4. 讓小內文字稍微變大、行距更舒服 */
#section-4 .media-split.reverse .narrative p {
  font-size: 1.13rem !important;
  line-height: 1.95 !important;
}

/* 5. 讓下面 SEO / AEO 互動框也跟著置中，不要太散 */
#section-4 .funnel-widget.compact {
  max-width: 920px !important;
  margin: 32px auto 0 !important;
}
/* === SEO 到 AEO 區塊：整體置中，避免右邊太空 === */

/* 1. 讓這一頁的標題區塊不要太靠左 */
#section-4 .section-heading {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2. 讓標題下方那句重點文字變寬一點、視覺更集中 */
#section-4 .section-heading .takeaway {
  max-width: 920px !important;
  font-size: 1.18rem !important;
  line-height: 1.9 !important;
}

/* 3. 把原本左右兩欄改成單欄，整個文字區塊置中 */
#section-4 .media-split,
#section-4 .media-split.reverse {
  display: block !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 4. 讓細內文不要只窄窄一欄，而是變成置中的寬版文字 */
#section-4 .narrative {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 34px !important;
}

/* 5. 細內文字稍微放大，讀起來比較像簡報重點 */
#section-4 .narrative p {
  font-size: 1.12rem !important;
  line-height: 1.95 !important;
}

/* 6. 如果這頁還殘留圖片或圖片框，直接隱藏 */
#section-4 img,
#section-4 .figure-band {
  display: none !important;
}
/* === 隱藏第一部分七個證據卡片上方的小標籤 === */
.evidence-card > span:first-child {
  display: none !important;
}
/* === 採編流程右側說明框：改成小卡片，減少留白 === */

.workflow-detail {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 398px !important;
  padding: 28px 30px !important;
}

.workflow-detail-inner {
  display: grid;
  gap: 14px;
}

.agent-box {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  padding: 14px 16px;
}

.detail-label {
  margin: 0 0 10px !important;
  font-size: 0.9rem !important;
  font-weight: 800;
  color: var(--rust);
  letter-spacing: 0.04em;
}

.workflow-mini-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 15px 17px;
}

.workflow-mini-card h4 {
  margin: 0 0 8px !important;
  font-size: 1rem !important;
  color: var(--ink);
}

.workflow-mini-card p {
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}

.workflow-detail .agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-detail .agent-tags span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}
/* === 採編流程下方兩段說明：改成有色重點卡片 === */

.workflow-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.workflow-summary-card {
  position: relative;
  padding: 24px 26px 24px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(28, 32, 36, 0.06);
}

.workflow-summary-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
}

.workflow-summary-card span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.workflow-summary-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink);
}

/* 左邊：棕色系 */
.workflow-summary-card-brown {
  background: linear-gradient(135deg, rgba(255, 248, 237, 0.95), rgba(255, 255, 255, 0.78));
}

.workflow-summary-card-brown::before,
.workflow-summary-card-brown span {
  background: #a65f2b;
}

/* 右邊：深綠色系 */
.workflow-summary-card-green {
  background: linear-gradient(135deg, rgba(236, 246, 241, 0.95), rgba(255, 255, 255, 0.78));
}

.workflow-summary-card-green::before,
.workflow-summary-card-green span {
  background: #1f6b57;
}

@media (max-width: 760px) {
  .workflow-summary-cards {
    grid-template-columns: 1fr;
  }
}
/* === 第一部分七個方框：標題加上顏色與視覺重點 === */

.evidence-card h3 {
  display: block !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px !important;
  padding: 8px 12px 8px 14px !important;
  font-size: 1.18rem !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  color: #8a4f24 !important;
  background: rgba(166, 95, 43, 0.11);
  border-left: 5px solid #a65f2b;
}

/* 第二、五張：深綠色系，讓卡片有一點變化 */
.evidence-card:nth-child(2) h3,
.evidence-card:nth-child(5) h3 {
  color: #1f6b57 !important;
  background: rgba(31, 107, 87, 0.11);
  border-left-color: #1f6b57;
}

/* 第三、六張：藍灰色系，讓畫面不會全部同色 */
.evidence-card:nth-child(3) h3,
.evidence-card:nth-child(6) h3 {
  color: #34495e !important;
  background: rgba(52, 73, 94, 0.11);
  border-left-color: #34495e;
}

/* 第四、七張：棕紅色系，跟整體暖色背景搭配 */
.evidence-card:nth-child(4) h3,
.evidence-card:nth-child(7) h3 {
  color: #9a3f2f !important;
  background: rgba(154, 63, 47, 0.11);
  border-left-color: #9a3f2f;
}
