﻿:root {
  --green: #003d32;
  --green-2: #005143;
  --green-3: #0d6b58;
  --cream: #f7f1e6;
  --paper: #fbf6ed;
  --card: #fffaf1;
  --gold: #d9a33a;
  --gold-2: #efc15d;
  --ink: #15332d;
  --muted: #6e6a5f;
  --line: rgba(34, 64, 54, 0.16);
  --shadow: 0 18px 42px rgba(0, 54, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  max-width: 1448px;
  margin: 0 auto;
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 40% 34% 26%;
  grid-template-rows: 520px;
  height: 520px;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 20%, rgba(235, 196, 101, 0.2), transparent 30%),
    linear-gradient(90deg, #003428 0%, #004a3d 42%, #f4eee3 42%, #f4eee3 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1448px);
  height: 76px;
  padding: 12px 22px 10px;
  transform: translateX(-50%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(217, 163, 58, 0.18);
  border-radius: 0 0 8px 0;
  background: rgba(0, 61, 50, 0.92);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 54, 45, 0.16);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(217, 163, 58, 0.2);
  border-radius: 0 0 0 8px;
  background: rgba(251, 246, 237, 0.88);
  color: #1d332e;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 54, 45, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.threads-return {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(124, 78, 18, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(145deg, #f3cf7d, #e6aa37);
  color: #15332d;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(51, 41, 28, 0.08);
}

.donate-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(51, 41, 28, 0.12);
}

.nav-actions span {
  width: 1px;
  height: 17px;
  background: var(--gold);
}

.profile-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.hero-copy {
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding: 158px 28px 20px 74px;
  color: #fff;
}

.section-label,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: #fff;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.hero-text {
  max-width: 430px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}

.search-box {
  display: grid;
  grid-template-columns: 34px 1fr 110px;
  align-items: center;
  width: min(455px, 100%);
  height: 46px;
  overflow: hidden;
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.search-box svg {
  width: 19px;
  height: 19px;
  margin-left: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}

.search-box input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.search-box button {
  height: 100%;
  border: 0;
  background: linear-gradient(145deg, #f0c76b, #d79d30);
  color: #16342d;
  font-weight: 900;
  cursor: pointer;
}

.gold-button {
  border: 0;
  background: linear-gradient(145deg, #f0c76b, #d79d30);
  color: #16342d;
  font-weight: 900;
  cursor: pointer;
}

.hero-photo {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-left: 3px solid var(--gold);
  border-top-left-radius: 220px;
  background: #efe6d6;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 47%;
}

.today-panel {
  z-index: 4;
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(88%, 338px);
  margin: 150px 28px 8px 0;
  padding: 18px 18px 8px;
  border: 1px solid rgba(238, 193, 91, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(239, 193, 91, 0.2), transparent 32%),
    linear-gradient(155deg, #005143, #002f27);
  color: #fff;
  box-shadow: var(--shadow);
}

.today-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 163, 58, 0.35);
}

.today-head h2 {
  margin: 0;
  font-size: 22px;
}

.today-head strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-2);
  color: #16342d;
  font-size: 18px;
}

.today-item {
  display: grid;
  grid-template-columns: 46px 1fr 14px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(217, 163, 58, 0.28);
}

.today-item:last-child {
  border-bottom: 0;
}

.today-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0c76b, #d8992d);
  font-size: 24px;
}

.today-icon.green {
  background: linear-gradient(145deg, #3f9a73, #0d6b58);
}

.today-item b {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.today-item small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.42;
}

.today-item i {
  color: var(--gold-2);
  font-size: 23px;
  font-style: normal;
}

.cards-band {
  display: grid;
  grid-template-columns: 32% 1fr 1fr;
  gap: 12px;
  padding: 14px 22px 10px;
}

#cards,
#support,
#cold-list,
#workflow {
  scroll-margin-top: 92px;
}

.desk-card,
.subsidy-card,
.workflow,
.flow article {
  border: 1px solid rgba(63, 74, 54, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 10px 26px rgba(51, 41, 28, 0.08);
}

.desk-card {
  position: relative;
  min-height: 288px;
  padding: 24px;
  overflow: hidden;
}

.desk-card h2,
.cold-list h2,
.workflow h2 {
  margin-bottom: 12px;
  color: var(--green);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 30px;
  letter-spacing: 0.08em;
}

.desk-card p,
.cold-copy p,
.workflow-copy p {
  color: #31423b;
  line-height: 1.7;
  font-weight: 700;
}

.desk-card p {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.desk-graphic {
  position: absolute;
  right: 34px;
  top: 96px;
  width: 150px;
  height: 82px;
  color: var(--green);
  font-size: 42px;
  opacity: 0.86;
  pointer-events: none;
}

.desk-graphic span {
  position: absolute;
}

.desk-graphic .clipboard {
  left: 0;
  top: 24px;
}

.desk-graphic .building {
  right: 18px;
  top: 0;
}

.desk-graphic .coin {
  right: 0;
  bottom: 2px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-2);
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 900;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
}

.filter {
  min-height: 32px;
  border: 1px solid rgba(21, 51, 45, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.soft-button,
.unlock-btn,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  border-radius: 7px;
  font-weight: 900;
}

.soft-button {
  width: 100%;
  background: rgba(217, 163, 58, 0.14);
  color: var(--ink);
}

.soft-button span,
.unlock-btn span,
.gold-button span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.card-grid {
  display: contents;
}

.subsidy-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-self: start;
  height: 342px;
  min-height: 342px;
  overflow: hidden;
  padding: 22px;
  will-change: transform, opacity;
}

.subsidy-card.is-unlocked {
  height: auto;
}

.subsidy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.92) 45%, rgba(255, 250, 241, 0.48) 70%, rgba(255, 250, 241, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 250, 241, 0.86) 0%, rgba(255, 250, 241, 0.08) 46%);
}

.card-content {
  z-index: 2;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  max-width: 56%;
  align-self: start;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tag,
.deadline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 12px;
  background: #eee6da;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.subsidy-card h3 {
  margin-bottom: 10px;
  color: #17332d;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 23px;
  line-height: 1.22;
}

.summary {
  margin-bottom: 8px;
  color: #2d3f38;
  line-height: 1.52;
  font-weight: 700;
}

.facts {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.facts div {
  display: contents;
}

dt {
  color: #52615c;
}

dd {
  margin: 0 0 2px;
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.subsidy-card.is-unlocked .card-media {
  height: 342px;
  bottom: auto;
}

.unlock-btn {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  border: 0;
  background: linear-gradient(145deg, #00634f, #003d32);
  color: #fff;
  cursor: pointer;
}

.subsidy-card.is-unlocked .unlock-btn {
  min-height: 44px;
  border: 1px solid rgba(0, 61, 50, 0.72);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 14px 26px rgba(0, 54, 45, 0.12);
}

.subsidy-card.is-unlocked .unlock-btn::before,
.subsidy-card.is-unlocked .unlock-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  transform: translateY(-50%);
}

.subsidy-card.is-unlocked .unlock-btn::before {
  left: 14px;
}

.subsidy-card.is-unlocked .unlock-btn::after {
  right: 14px;
}

.locked-detail {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(0, 61, 50, 0.62);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 18px 30px rgba(51, 41, 28, 0.08);
}

.expanded-section {
  margin: 0;
  padding: 0 0 14px;
}

.expanded-section + .expanded-section {
  padding-top: 14px;
  border-top: 1px solid rgba(21, 51, 45, 0.14);
}

.expanded-label {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.detail-copy {
  margin: 0;
  color: #31423b;
  line-height: 1.7;
  font-size: 14px;
  font-weight: 800;
}

.included-list,
.recommended-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #263f38;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.included-list li::marker,
.recommended-list li::marker {
  color: var(--green-3);
  content: "✓  ";
}

.detail-actions {
  display: grid;
  margin-top: 2px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(0, 81, 67, 0.22);
  border-radius: 7px;
  background: linear-gradient(145deg, #00634f, #003d32);
  color: #fff;
  font-weight: 900;
}

.detail-link span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.support-band {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 0 22px 10px;
  padding: 18px 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 20%, rgba(239, 193, 91, 0.16), transparent 26%),
    linear-gradient(135deg, #005143, #002f27);
  color: #fff;
  box-shadow: var(--shadow);
}

.support-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.support-copy h2 {
  margin-bottom: 10px;
  color: #fff;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 30px;
  letter-spacing: 0.06em;
}

.support-copy p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.65;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: 1fr 34px;
  gap: 8px 12px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(239, 193, 91, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 27, 22, 0.12);
}

.support-card b,
.support-card small,
.support-card em {
  display: block;
}

.support-card b {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.25;
}

.support-card small {
  color: #50625a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.support-card em {
  grid-column: 2;
  justify-self: stretch;
  min-height: 34px;
  border-radius: 7px;
  background: rgba(217, 163, 58, 0.14);
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  line-height: 34px;
  text-align: center;
}

.support-illustration {
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5dfb0, #fffaf1);
}

.support-illustration::before,
.support-illustration::after {
  content: "";
  position: absolute;
}

.support-mom::before,
.support-parent::before {
  left: 22px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5a36b;
  box-shadow: -12px 26px 0 -6px #0d6b58, 12px 26px 0 -6px #d9a33a;
}

.support-mom::after,
.support-parent::after {
  left: 16px;
  bottom: 10px;
  width: 36px;
  height: 28px;
  border-radius: 18px 18px 8px 8px;
  background: #f0c76b;
}

.support-home::before {
  left: 14px;
  bottom: 13px;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background: #0d6b58;
}

.support-home::after {
  left: 12px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-left: 7px solid #d9a33a;
  border-top: 7px solid #d9a33a;
  transform: rotate(45deg);
}

.cold-list {
  display: grid;
  grid-template-columns: 28% 18% 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 22px 10px;
  padding: 22px 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 10%, rgba(239, 193, 91, 0.18), transparent 35%),
    linear-gradient(135deg, #005143, #002f27);
  color: #fff;
}

.cold-copy .eyebrow,
.workflow .eyebrow {
  margin-bottom: 6px;
}

.cold-copy h2 {
  color: #fff;
  font-size: 30px;
}

.cold-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.gold-button {
  width: max-content;
  min-width: 126px;
  height: auto;
  min-height: 38px;
  align-self: start;
  padding: 0 18px;
  background: linear-gradient(145deg, #f0c76b, #d8992d);
  color: #17332d;
}

.cold-graphic {
  color: var(--gold-2);
  font-size: 70px;
  text-align: center;
}

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

.cold-items li {
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(239, 193, 91, 0.35);
  border-radius: 7px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.cold-items span,
.cold-items b {
  color: var(--gold-2);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(300px, 28%) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 0 22px 22px;
  padding: 22px 24px;
}

.workflow-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
}

.workflow h2 {
  font-size: 29px;
}

.flow {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 20px minmax(120px, 1fr) 20px minmax(120px, 1fr) 20px minmax(120px, 1fr) 20px minmax(120px, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.flow article {
  display: grid;
  grid-template-rows: 42px 44px 22px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 128px;
  padding: 12px;
  text-align: center;
}

.flow-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  color: var(--green);
}

.flow article b,
.flow article small {
  display: block;
  max-width: 100%;
}

.flow article b {
  align-self: end;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.22;
}

.flow article small {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.flow i {
  min-width: 0;
  color: var(--green);
  font-size: 25px;
  font-style: normal;
  text-align: center;
}

.flow-people::before,
.flow-people::after {
  content: "";
  position: absolute;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.flow-people::before {
  width: 13px;
  height: 13px;
  left: 9px;
  top: 6px;
  box-shadow: 13px 0 0 -3px currentColor;
}

.flow-people::after {
  width: 31px;
  height: 18px;
  left: 5px;
  bottom: 5px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: 9px 8px;
  border: 3px solid currentColor;
}

.flow-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 17px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor;
}

.flow-lock::before {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 6px;
  width: 24px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 4px;
  background: var(--gold-2);
}

.flow-lock::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px;
  height: 19px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.flow-link::before,
.flow-link::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 13px;
  border: 4px solid currentColor;
  border-radius: 999px;
}

.flow-link::before {
  left: 3px;
  top: 18px;
  transform: rotate(-42deg);
}

.flow-link::after {
  right: 3px;
  top: 10px;
  transform: rotate(-42deg);
}

.flow-shop::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 26px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 4px;
  background: #e8892e;
}

.flow-shop::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

@media (max-width: 980px) {
  .hero,
  .cards-band,
  .cold-list,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
    background: linear-gradient(180deg, #003d32 0%, #003d32 58%, var(--paper) 58%);
  }

  .site-header,
  .hero-copy,
  .hero-photo,
  .today-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-photo {
    height: 360px;
    border-radius: 0;
    border-left: 0;
  }

  .today-panel {
    margin: 14px 18px;
  }

  .card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .subsidy-card {
    grid-template-columns: 1fr;
  }

  .card-media {
    grid-column: 1;
    grid-row: auto;
    margin: 12px 0;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    height: auto;
    min-height: 92px;
    padding: 14px 18px;
    background: rgba(0, 61, 50, 0.96);
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-actions .donate-button {
    min-height: 34px;
    padding-inline: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .search-box {
    grid-template-columns: 34px 1fr;
    height: auto;
    min-height: 48px;
  }

  .search-box button {
    grid-column: 1 / -1;
    min-height: 42px;
  }
}

.detail-body {
  background: #fbf7ef;
}

.detail-shell {
  max-width: 1448px;
  margin: 0 auto;
  color: var(--ink);
}

.detail-hero {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  padding: 24px 36px 24px;
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.9) 48%, rgba(251, 247, 239, 0.1) 78%),
    #fbf7ef;
}

.detail-donate-top {
  position: absolute;
  top: 22px;
  right: 36px;
  z-index: 4;
}

.detail-crumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: #40524c;
  font-size: 14px;
  font-weight: 800;
}

.detail-crumb a {
  color: var(--green);
}

.detail-hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 64%);
  padding-top: 34px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: #f3e8d8;
  color: var(--green);
  font-weight: 900;
}

.detail-tags span + span {
  background: #dfead8;
}

.detail-hero h1 {
  margin-bottom: 14px;
  color: var(--green);
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.detail-hero-copy p {
  max-width: 740px;
  margin-bottom: 26px;
  color: #42534d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.detail-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-actions-row button {
  min-width: 176px;
  min-height: 48px;
  border: 1px solid rgba(21, 51, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(51, 41, 28, 0.08);
}

.detail-hero-image {
  position: absolute;
  inset: 0 0 auto auto;
  width: 48%;
  height: 356px;
  margin: 0;
  overflow: hidden;
}

.detail-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 247, 239, 0.98), rgba(251, 247, 239, 0.18) 42%, rgba(251, 247, 239, 0));
}

.detail-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 26px;
  padding: 22px 36px 28px;
}

.detail-main,
.detail-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.detail-panel,
.side-panel {
  border: 1px solid rgba(63, 74, 54, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 10px 24px rgba(51, 41, 28, 0.06);
}

.detail-panel {
  padding: 20px 22px;
}

.side-panel {
  padding: 18px 20px;
}

.detail-panel h2,
.side-panel h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 21px;
  line-height: 1.25;
}

.donation-card {
  border-color: rgba(217, 163, 58, 0.35);
  background: linear-gradient(145deg, rgba(255, 246, 224, 0.98), rgba(255, 252, 247, 0.96));
}

.donation-card p {
  margin: 0 0 14px;
  color: #43534d;
  font-weight: 800;
  line-height: 1.65;
}

.donation-card .donate-button {
  width: 100%;
  min-height: 42px;
  border-radius: 7px;
}

.donation-card small {
  display: block;
  margin-top: 10px;
  color: #746b5c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 51, 45, 0.12);
}

.summary-item {
  display: grid;
  grid-template-columns: 34px 92px 1fr;
  gap: 12px;
  align-items: start;
}

.summary-item span,
.verify-row span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--green);
  font-size: 22px;
}

.summary-item small,
.verify-row small,
.basis-list small {
  color: #62716b;
  font-size: 13px;
  font-weight: 900;
}

.summary-item b,
.verify-row b {
  color: #243d36;
  font-size: 15px;
  line-height: 1.55;
}

.plain-list,
.check-list-detail,
.document-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #263f38;
  font-weight: 800;
  line-height: 1.65;
}

.check-list-detail li::marker,
.document-list li::marker {
  color: var(--green-3);
  content: "✓  ";
}

.soft-note {
  display: inline-block;
  margin: 14px 0 0;
  padding: 8px 14px;
  border-radius: 7px;
  background: #e2eddd;
  color: #43554f;
  font-size: 13px;
  font-weight: 900;
}

.precheck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.precheck-grid div,
.step-card {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(63, 74, 54, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
}

.precheck-grid b,
.step-card span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 50%;
  background: #e2eddd;
  color: var(--green);
}

.precheck-grid strong,
.step-card b {
  display: block;
  color: #334840;
  font-size: 14px;
  line-height: 1.55;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(21, 51, 45, 0.12);
}

.faq-item summary {
  cursor: pointer;
  padding: 8px 0;
  color: #263f38;
  font-weight: 900;
}

.faq-item p {
  margin: 0 0 12px;
  color: #53625d;
  font-weight: 800;
  line-height: 1.6;
}

.more-faq {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 1px solid rgba(217, 163, 58, 0.28);
  border-radius: 7px;
  background: rgba(217, 163, 58, 0.12);
  color: var(--green);
  font-weight: 900;
}

.verification-panel {
  overflow: hidden;
  padding-top: 0;
}

.verification-panel h2 {
  margin: 0 -20px 16px;
  padding: 14px 20px;
  background: linear-gradient(145deg, #005143, #003d32);
  color: #fff;
}

.verify-row {
  display: grid;
  grid-template-columns: 34px 96px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 14px;
}

.verified-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #e2eddd;
  color: var(--green) !important;
}

.source-link {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 4px 12px;
  align-items: center;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid rgba(63, 74, 54, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.58);
}

.source-link + .source-link,
.download-row + .download-row {
  margin-top: 8px;
}

.source-link b {
  color: var(--green);
}

.source-link small {
  color: #64746e;
  font-weight: 800;
  word-break: break-all;
}

.source-link span {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--green);
}

.basis-list {
  margin-top: 14px;
}

.download-row {
  display: grid;
  grid-template-columns: 28px 1fr 64px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(63, 74, 54, 0.12);
  border-radius: 7px;
}

.download-row span {
  color: #cf4335;
}

.download-row b {
  color: #31433d;
  font-size: 14px;
}

.download-row small {
  color: #6d756f;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.support-mini-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
}

.support-mini-body b {
  color: var(--green);
  font-size: 18px;
}

.support-mini-body p,
.side-disclaimer {
  color: #53625d;
  font-weight: 800;
  line-height: 1.55;
}

.support-mini-body a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 7px;
  padding: 0 14px;
  background: rgba(217, 163, 58, 0.14);
  color: var(--green);
  font-weight: 900;
}

.support-active {
  align-items: start;
}

.support-qr {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(34, 64, 54, 0.16);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.support-action-link,
.wish-button,
.line-notify-link {
  cursor: pointer;
  border: 0;
  font-family: inherit;
  text-decoration: none;
}

.wish-progress {
  height: 8px;
  overflow: hidden;
  margin: 12px 0 7px;
  border-radius: 999px;
  background: rgba(34, 64, 54, 0.1);
}

.wish-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9a33a, #075b4b);
  transition: width 0.25s ease;
}

.wish-count {
  display: block;
  margin-bottom: 10px;
  color: #6d756f;
  font-size: 12px;
  font-weight: 900;
}

.wish-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 7px;
  padding: 0 14px;
  background: rgba(217, 163, 58, 0.18);
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.wish-modal[hidden] {
  display: none;
}

.wish-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 27, 22, 0.42);
}

.wish-dialog {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(34, 64, 54, 0.16);
  border-radius: 8px;
  padding: 26px;
  background: #fffaf1;
  box-shadow: 0 22px 60px rgba(0, 27, 22, 0.18);
}

.wish-dialog h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 24px;
}

.wish-dialog p {
  margin: 0 0 10px;
  color: #43534d;
  font-weight: 800;
  line-height: 1.65;
}

.wish-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 64, 54, 0.08);
  color: var(--green);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.line-notify-link {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 7px;
  background: var(--green);
  color: #fffaf1;
  font-weight: 900;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-tags span {
  min-height: 34px;
  border: 1px solid rgba(63, 74, 54, 0.12);
  border-radius: 7px;
  padding: 7px 12px;
  color: var(--green);
  font-weight: 900;
}

.detail-footer {
  padding: 0 36px 26px;
  color: #52615b;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 980px) {
  .detail-donate-top {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 14px;
  }

  .detail-hero-copy,
  .detail-hero-image {
    width: 100%;
  }

  .detail-hero {
    padding: 22px;
  }

  .detail-hero-image {
    position: relative;
    height: 280px;
    margin-top: 22px;
    border-radius: 8px;
  }

  .detail-hero-copy {
    padding-top: 26px;
  }

  .detail-layout,
  .detail-split {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .summary-grid,
  .precheck-grid,
  .step-row {
    grid-template-columns: 1fr;
  }
}

