/* ============================================================
   禾荳荳師資課程區塊 · shared component styles (editor canvas + frontend)
   Every block renders <section class="hdtt hdtt-<slug>">. Tokens live on .hdtt.
   Source of visual truth: design/mockups/hodoudouart/versions/2026-09-13-v1/shared/*.css
   ============================================================ */
.hdtt {
  --hdtt-rose: #da526c; --hdtt-rose-deep: #bf3e57;
  --hdtt-leaf: #b0c527; --hdtt-leaf-ink: #6c7a14;
  --hdtt-pine: #253b35; --hdtt-pine-deep: #253b35;
  --hdtt-night: #253b35; --hdtt-night-line: rgba(244, 241, 232, 0.16);
  --hdtt-night-text: #f4f1e8; --hdtt-night-muted: #b3c6bf;
  --hdtt-ink: #3b3733; --hdtt-ink-soft: #6e6760;
  --hdtt-cream: #faf7f0; --hdtt-sage: #eef2e6; --hdtt-sage-deep: #e2ead7;
  --hdtt-paper: #fffdf8; --hdtt-line: #e3ddd0;
  --hdtt-font-serif: "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --hdtt-font-latin: "Manrope", "Noto Serif TC", sans-serif;
  --hdtt-fs-display: clamp(2.1rem, 4.8vw, 3.6rem);
  --hdtt-fs-h2: clamp(1.6rem, 3.2vw, 2.35rem);
  --hdtt-fs-h3: clamp(1.12rem, 1.9vw, 1.35rem);
  --hdtt-fs-body: 1.0625rem; --hdtt-fs-small: 0.9rem; --hdtt-fs-micro: 0.8rem;
  --hdtt-r-sm: 6px; --hdtt-r-md: 14px; --hdtt-r-lg: 22px; --hdtt-r-pill: 999px;
  --hdtt-section: clamp(64px, 9vw, 120px);
  --hdtt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hdtt-shadow-soft: 0 18px 40px -28px rgba(37, 59, 53, 0.35);
  --hdtt-shadow-panel: 0 30px 60px -30px rgba(37, 59, 53, 0.6);
  position: relative;
  box-sizing: border-box;
  width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw);
  padding-block: var(--hdtt-section);
  background: var(--hdtt-paper);
  color: var(--hdtt-ink);
  font-family: var(--hdtt-font-serif);
  font-size: var(--hdtt-fs-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.hdtt *, .hdtt *::before, .hdtt *::after { box-sizing: border-box; }
.hdtt + .hdtt { margin-top: 0; }
/* .hdtt.hdtt：Kadence 的 .entry-content 標題 margin 在我們之後載入，需高一階特異性 */
.hdtt.hdtt h1, .hdtt.hdtt h2, .hdtt.hdtt h3 { font-family: var(--hdtt-font-serif); color: var(--hdtt-ink); font-weight: 700; line-height: 1.3; margin: 0 0 12px; letter-spacing: 0; text-transform: none; text-wrap: balance; }
.hdtt h2 { font-size: var(--hdtt-fs-h2); }
.hdtt h3 { font-size: var(--hdtt-fs-h3); }
.hdtt p { margin: 0 0 14px; }
.hdtt p:last-child { margin-bottom: 0; }
/* .hdtt.hdtt：Kadence 的 .single-content ul/ol padding-left 在我們之後載入，需高一階特異性 */
.hdtt.hdtt ul, .hdtt.hdtt ol { margin: 0; padding: 0; list-style: none; }
.hdtt li { margin: 0; }
.hdtt img { display: block; max-width: 100%; height: auto; }
.hdtt strong { color: var(--hdtt-pine-deep); font-weight: 700; }
.hdtt a { text-decoration: none; }
.hdtt .hdtt-num { font-family: var(--hdtt-font-latin); font-variant-numeric: tabular-nums; }
.hdtt .hdtt-small { font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); margin: 8px 0 0; }
.hdtt :focus-visible { outline: 3px solid var(--hdtt-leaf); outline-offset: 3px; border-radius: 2px; }

.hdtt-wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.hdtt-wrap--narrow { max-width: 820px; }
.hdtt-sec-head { margin-bottom: clamp(28px, 4.5vw, 52px); }
.hdtt.hdtt .hdtt-sec-head h2 { margin-bottom: 10px; } /* 特異性 (0,3,1)，高於上面的 .hdtt.hdtt h2 (0,2,1) 重設 */
.hdtt-sec-lede { color: var(--hdtt-ink-soft); font-size: 1.04em; margin: 0; }
.hdtt-sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 4vw, 44px); }
.hdtt-sec-cta p { margin: 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }
.hdtt-row { display: grid; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
@media (min-width: 880px) { .hdtt-row:not(.hdtt-row--single) { grid-template-columns: 1fr 1fr; } }

/* buttons */
.hdtt .hdtt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--hdtt-font-serif); font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 17px 30px; border-radius: var(--hdtt-r-pill); border: 2px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--hdtt-ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.hdtt .hdtt-btn:active { transform: scale(0.97); }
.hdtt .hdtt-btn--primary, .hdtt .hdtt-btn--primary:visited { background: var(--hdtt-rose); color: #fff; box-shadow: 0 10px 24px -14px rgba(218, 82, 108, 0.9); }
.hdtt .hdtt-btn--primary:hover, .hdtt .hdtt-btn--primary:focus-visible { background: var(--hdtt-rose-deep); color: #fff; transform: translateY(-1px); }
.hdtt .hdtt-btn--outline, .hdtt .hdtt-btn--outline:visited { background: transparent; color: var(--hdtt-pine-deep); border-color: var(--hdtt-pine); }
.hdtt .hdtt-btn--outline:hover, .hdtt .hdtt-btn--outline:focus-visible { background: var(--hdtt-pine); color: #fff; }
.hdtt .hdtt-btn--ghost-light, .hdtt .hdtt-btn--ghost-light:visited { background: transparent; color: var(--hdtt-night-text); border-color: rgba(244, 241, 232, 0.55); }
.hdtt .hdtt-btn--ghost-light:hover, .hdtt .hdtt-btn--ghost-light:focus-visible { background: var(--hdtt-night-text); color: var(--hdtt-pine-deep); }

/* tags */
.hdtt .hdtt-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--hdtt-font-latin); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--hdtt-r-pill); vertical-align: middle; pointer-events: none; }
.hdtt .hdtt-tag--dark { background: rgba(59, 55, 51, 0.72); color: #fff; }
.hdtt .hdtt-tag--abs { position: absolute; top: 10px; left: 10px; z-index: 2; }
.hdtt .hdtt-hidden-notice { font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); border: 1.5px dashed var(--hdtt-line); border-radius: var(--hdtt-r-md); padding: 14px 18px; margin: 0; }
.hdtt--hidden-notice { padding-block: 24px; }

/* price lockup */
.hdtt .hdtt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 0; }
.hdtt .hdtt-price__now { font-family: var(--hdtt-font-latin); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; color: var(--hdtt-ink); }
.hdtt .hdtt-price__was { font-family: var(--hdtt-font-latin); font-size: 1rem; text-decoration: line-through; opacity: 0.6; }
.hdtt .hdtt-price__unit { font-size: var(--hdtt-fs-small); opacity: 0.85; }

/* ============ hero ============ */
.hdtt-hero { padding-block: 0; background: var(--hdtt-cream); }
.hdtt-hero .hdtt-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
@media (min-width: 920px) { .hdtt-hero .hdtt-hero__grid { grid-template-columns: 1.02fr 0.98fr; } }
.hdtt-hero .hdtt-hero__grid .hdtt-hero__panel { padding: 0; }
.hdtt-hero .hdtt-hero__media { position: relative; margin: 0; }
.hdtt-hero .hdtt-hero__media img { border-radius: var(--hdtt-r-lg); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.hdtt-hero .hdtt-hero__season { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; color: var(--hdtt-leaf-ink); margin: 0 0 14px; }
.hdtt-hero .hdtt-hero__title.hdtt-hero__title { font-size: var(--hdtt-fs-display); line-height: 1.18; letter-spacing: 0.01em; margin-bottom: 12px; } /* 換行由編輯器 Enter 決定；特異性要高於 .hdtt.hdtt h1 */
.hdtt-hero .hdtt-hero__lede { color: var(--hdtt-ink-soft); font-size: 1.08rem; margin-bottom: 20px; }
.hdtt-hero .hdtt-hero__includes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }
.hdtt-hero .hdtt-hero__includes li { display: inline-flex; align-items: center; gap: 8px; }
.hdtt-hero .hdtt-hero__includes li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hdtt-leaf); }
.hdtt-hero .hdtt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hdtt-hero .hdtt-hero__grid .hdtt-btn--ghost-light { color: var(--hdtt-pine-deep); border-color: var(--hdtt-pine); }
.hdtt-hero .hdtt-hero__grid .hdtt-btn--ghost-light:hover { background: var(--hdtt-pine); color: #fff; }
.hdtt-hero .hdtt-hero__note { font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); margin: 14px 0 0; }
/* mosaic layout */
.hdtt-hero .hdtt-hero__mosaic-wrap { position: relative; display: grid; background: var(--hdtt-night); }
.hdtt-hero .hdtt-hero__mosaic { grid-area: 1 / 1; display: grid; gap: 4px; grid-template-columns: repeat(2, 1fr); }
.hdtt-hero .hdtt-hero__mosaic li { position: relative; overflow: hidden; background: var(--hdtt-pine-deep); opacity: 0; transform: scale(1.04); animation: hdtt-tile-in 0.9s var(--hdtt-ease) forwards; }
.hdtt-hero .hdtt-hero__mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hdtt-hero .hdtt-hero__mosaic li:nth-child(n + 5) { display: none; }
.hdtt-hero .hdtt-hero__mosaic li:nth-child(1) { animation-delay: 0.05s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(2) { animation-delay: 0.15s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(3) { animation-delay: 0.25s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(4) { animation-delay: 0.35s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(5) { animation-delay: 0.45s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(6) { animation-delay: 0.55s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(7) { animation-delay: 0.65s; } .hdtt-hero .hdtt-hero__mosaic li:nth-child(8) { animation-delay: 0.75s; }
@keyframes hdtt-tile-in { to { opacity: 1; transform: none; } }
.hdtt-hero .hdtt-hero__panel-wrap { grid-area: 2 / 1; }
.hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__panel { position: relative; z-index: 3; background: var(--hdtt-night); color: var(--hdtt-night-text); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); opacity: 0; transform: translateY(18px); animation: hdtt-panel-in 0.9s 0.7s var(--hdtt-ease) forwards; }
@keyframes hdtt-panel-in { to { opacity: 1; transform: none; } }
.hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__season { color: var(--hdtt-leaf); }
.hdtt-hero .hdtt-hero__mosaic-wrap h1, .hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-price__now, .hdtt-hero .hdtt-hero__mosaic-wrap strong { color: var(--hdtt-night-text); }
.hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__lede, .hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__note, .hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__includes { color: var(--hdtt-night-muted); }
@media (min-width: 720px) {
  .hdtt-hero .hdtt-hero__mosaic { grid-template-columns: repeat(4, 1fr); }
  .hdtt-hero .hdtt-hero__mosaic li:nth-child(n + 5) { display: block; }
  .hdtt-hero .hdtt-hero__mosaic img { aspect-ratio: 1 / 1; }
}
@media (min-width: 960px) {
  .hdtt-hero .hdtt-hero__mosaic { min-height: calc(100svh - 64px); max-height: 900px; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .hdtt-hero .hdtt-hero__mosaic li { min-height: 0; }
  .hdtt-hero .hdtt-hero__mosaic img { position: absolute; inset: 0; aspect-ratio: auto; }
  .hdtt-hero .hdtt-hero__panel-wrap { grid-area: 1 / 1; position: relative; z-index: 3; display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 64px); pointer-events: none; }
  .hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__panel { width: min(560px, 46%); border-radius: var(--hdtt-r-lg); box-shadow: var(--hdtt-shadow-panel); pointer-events: auto; }
}

/* ============ expo ============ */
.hdtt-expo { background: var(--hdtt-sage); padding-block: clamp(36px, 5vw, 64px); }
.hdtt-expo .hdtt-expo__box { display: grid; gap: 24px; background: var(--hdtt-paper); border: 1px solid var(--hdtt-line); border-radius: var(--hdtt-r-lg); padding: clamp(22px, 3.5vw, 40px); }
@media (min-width: 820px) { .hdtt-expo .hdtt-expo__box { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.hdtt-expo .hdtt-expo__facts { display: grid; gap: 6px; margin: 0 0 12px; }
.hdtt-expo .hdtt-expo__facts div { display: flex; gap: 12px; font-size: var(--hdtt-fs-small); }
.hdtt-expo .hdtt-expo__facts dt { color: var(--hdtt-ink-soft); flex: 0 0 3em; }
.hdtt-expo .hdtt-expo__facts dd { margin: 0; font-weight: 700; color: var(--hdtt-pine-deep); }
.hdtt-expo .hdtt-expo__offer { margin-top: 12px; padding: 10px 14px; border: 1.5px dashed var(--hdtt-line); border-radius: var(--hdtt-r-md); font-size: var(--hdtt-fs-small); color: var(--hdtt-pine-deep); }

/* ============ qa ============ */
.hdtt-qa .hdtt-qa__list { border-top: 1px solid var(--hdtt-line); }
.hdtt-qa .hdtt-qa__row { display: grid; gap: 8px 40px; padding: clamp(22px, 3vw, 30px) 0; border-bottom: 1px solid var(--hdtt-line); }
@media (min-width: 800px) { .hdtt-qa .hdtt-qa__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.hdtt-qa .hdtt-qa__q { margin: 0; font-weight: 700; font-size: 1.14em; color: var(--hdtt-pine-deep); text-wrap: balance; }
.hdtt-qa .hdtt-qa__q::before { content: "「"; color: var(--hdtt-rose); }
.hdtt-qa .hdtt-qa__q::after { content: "」"; color: var(--hdtt-rose); }
.hdtt-qa .hdtt-qa__a { margin: 0; color: var(--hdtt-ink-soft); }
.hdtt-qa .hdtt-qa__a strong { color: var(--hdtt-leaf-ink); }

/* ============ spec ============ */
.hdtt-spec { background: var(--hdtt-cream); }
.hdtt-spec .hdtt-row { align-items: start; } /* 清單靠上與照片對齊，不要因照片較高而垂直置中留一大片空白（Arden 2026-09-17） */
.hdtt-spec .hdtt-spec__list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--hdtt-line); }
@media (min-width: 640px) { .hdtt-spec .hdtt-spec__list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.hdtt-spec .hdtt-spec__item { padding: 18px 0; border-bottom: 1px solid var(--hdtt-line); }
.hdtt-spec .hdtt-spec__item dt { font-weight: 700; font-size: 1.12rem; color: var(--hdtt-pine-deep); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hdtt-spec .hdtt-spec__item dd { margin: 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }
.hdtt-spec .hdtt-spec__photo { position: relative; margin: 0; }
.hdtt-spec .hdtt-spec__photo img { border-radius: var(--hdtt-r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hdtt-spec .hdtt-spec__photo figcaption { font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); margin-top: 8px; }
.hdtt-spec .hdtt-spec__note { margin-top: clamp(24px, 4vw, 40px); padding: clamp(18px, 3vw, 28px); background: var(--hdtt-sage); border-radius: var(--hdtt-r-md); }
.hdtt-spec .hdtt-spec__note h3 { margin-bottom: 6px; }
.hdtt-spec .hdtt-spec__note p { color: var(--hdtt-ink-soft); }

/* ============ works ============ */
.hdtt-works .hdtt-works__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .hdtt-works .hdtt-works__grid { grid-template-columns: repeat(4, 1fr); } }
.hdtt-works .hdtt-works__item { margin: 0; position: relative; }
.hdtt-works .hdtt-works__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--hdtt-r-md); transition: transform 0.5s var(--hdtt-ease); }
.hdtt-works .hdtt-works__item:hover img { transform: translateY(-4px); }
.hdtt-works .hdtt-works__item figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px 0; font-size: var(--hdtt-fs-small); font-weight: 700; }
.hdtt-works .hdtt-works__item figcaption span { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--hdtt-leaf-ink); padding-top: 3px; }
.hdtt-works .hdtt-works__note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 10px 4px 0; }
.hdtt-works .hdtt-works__note p { margin: 0; }
.hdtt-works .hdtt-works__payoff { font-weight: 700; color: var(--hdtt-pine-deep); }

/* works: 純文字列表版型（老師不想放照片時） */
.hdtt-works .hdtt-works__list { display: grid; gap: 18px; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 620px) { .hdtt-works .hdtt-works__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .hdtt-works .hdtt-works__list { grid-template-columns: repeat(4, 1fr); } }
.hdtt-works .hdtt-works__group { border-top: 2px solid var(--hdtt-pine-deep); padding-top: 12px; }
.hdtt-works .hdtt-works__group-title { margin: 0 0 8px; font-size: var(--hdtt-fs-small); font-weight: 700; letter-spacing: 0.04em; color: var(--hdtt-pine-deep); }
.hdtt-works .hdtt-works__group-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hdtt-works .hdtt-works__group-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; line-height: 1.5; }
.hdtt-works .hdtt-works__group-items li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--hdtt-leaf-ink); }
.hdtt-works .hdtt-works__item-name { flex: 1 1 auto; }
.hdtt-works .hdtt-works__note--list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 18px 4px 0; }
.hdtt-works .hdtt-works__note--list p { margin: 0; }

/* ============ skills ============ */
.hdtt-skills { padding-block: 0; }
.hdtt-skills .hdtt-skills__bg { padding-block: var(--hdtt-section); }
.hdtt-skills .hdtt-skills__bg--night { background: var(--hdtt-night); color: var(--hdtt-night-text); }
.hdtt-skills .hdtt-skills__bg--night h2, .hdtt-skills .hdtt-skills__bg--night h3 { color: var(--hdtt-night-text); }
.hdtt-skills .hdtt-skills__bg--night p { color: var(--hdtt-night-muted); }
.hdtt-skills .hdtt-skills__bg--light { background: var(--hdtt-sage); }
.hdtt-skills .hdtt-skills__list { counter-reset: hdtt-sk; border-top: 1px solid var(--hdtt-night-line); }
.hdtt-skills .hdtt-skills__bg--light .hdtt-skills__list { border-color: var(--hdtt-sage-deep); }
.hdtt-skills .hdtt-skills__list li { counter-increment: hdtt-sk; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hdtt-night-line); align-items: start; }
.hdtt-skills .hdtt-skills__bg--light .hdtt-skills__list li { border-color: var(--hdtt-sage-deep); }
.hdtt-skills .hdtt-skills__list li::before { content: counter(hdtt-sk); font-family: var(--hdtt-font-latin); font-weight: 700; font-size: 1.05rem; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--hdtt-leaf); color: var(--hdtt-leaf); display: grid; place-items: center; }
.hdtt-skills .hdtt-skills__bg--light .hdtt-skills__list li::before { color: var(--hdtt-leaf-ink); border-color: var(--hdtt-leaf-ink); }
.hdtt-skills .hdtt-skills__list h3 { margin-bottom: 4px; font-size: 1.15rem; }
.hdtt-skills .hdtt-skills__list p { margin: 0; font-size: var(--hdtt-fs-small); }
.hdtt-skills .hdtt-payoff-line { margin: clamp(28px, 4vw, 40px) 0 0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.5; }
.hdtt-skills .hdtt-skills__bg--night .hdtt-payoff-line { color: var(--hdtt-night-text); }
.hdtt-skills .hdtt-skills__bg--light .hdtt-payoff-line { color: var(--hdtt-pine-deep); }
.hdtt-skills .hdtt-payoff-line::before { content: ""; display: block; width: 48px; height: 3px; background: var(--hdtt-leaf); margin-bottom: 16px; border-radius: 2px; }

/* ============ audience ============ */
.hdtt-audience { background: var(--hdtt-sage); }
.hdtt-audience .hdtt-audience__grid { display: grid; gap: 28px 40px; }
@media (min-width: 800px) { .hdtt-audience .hdtt-audience__grid { grid-template-columns: repeat(3, 1fr); } }
.hdtt-audience .hdtt-audience__col { padding-top: 18px; border-top: 3px solid var(--hdtt-sage-deep); }
.hdtt-audience .hdtt-audience__col--hi { border-top-color: var(--hdtt-leaf); }
.hdtt-audience .hdtt-audience__col h3 { font-size: 1.15rem; margin-bottom: 8px; }
.hdtt-audience .hdtt-audience__col p { margin: 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }

/* ============ proof ============ */
.hdtt-proof .hdtt-proof__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.hdtt-proof .hdtt-proof__lead { display: grid; gap: 22px; align-content: start; }
@media (min-width: 900px) { .hdtt-proof .hdtt-proof__grid { grid-template-columns: 1.05fr 0.95fr; } }
@media (min-width: 900px) { .hdtt-proof .hdtt-proof__grid--no-lead { grid-template-columns: 1fr; } }
.hdtt-proof .hdtt-quote { margin: 0; padding: 0; border: 0; background: none; }
.hdtt-proof .hdtt-quote p { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.7; color: var(--hdtt-pine-deep); font-weight: 700; margin-bottom: 14px; }
.hdtt-proof .hdtt-quote p::before { content: "「"; color: var(--hdtt-rose); }
.hdtt-proof .hdtt-quote p::after { content: "」"; color: var(--hdtt-rose); }
.hdtt-proof .hdtt-quote cite { display: flex; align-items: center; gap: 10px; margin: 0; font-style: normal; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }
.hdtt-proof .hdtt-proof__cta { margin-top: 0; }
.hdtt-proof .hdtt-proof__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hdtt-proof .hdtt-proof__photos figure { margin: 0; position: relative; }
.hdtt-proof .hdtt-proof__photos figure:first-child { grid-column: span 2; }
.hdtt-proof .hdtt-proof__photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hdtt-r-md); }
.hdtt-proof .hdtt-proof__photos figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.hdtt-proof .hdtt-proof__photos figcaption { font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); padding-top: 6px; }
.hdtt-proof .hdtt-logos { margin-top: clamp(28px, 4vw, 48px); }
.hdtt-proof .hdtt-logos__title { font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); margin-bottom: 14px; }
.hdtt-proof .hdtt-logos__strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .hdtt-proof .hdtt-logos__strip { grid-template-columns: repeat(4, 1fr); } }
.hdtt-proof .hdtt-logos__strip figure { margin: 0; background: #fff; border: 1px solid var(--hdtt-line); border-radius: var(--hdtt-r-sm); padding: 16px; display: grid; place-items: center; min-height: 88px; }
.hdtt-proof .hdtt-logos__strip img { max-height: 52px; width: auto; filter: grayscale(1); opacity: 0.75; }

/* ============ offer ============ */
.hdtt-offer { background: var(--hdtt-cream); }
.hdtt-offer .hdtt-offer__grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .hdtt-offer .hdtt-offer__grid:not(.hdtt-offer__grid--single) { grid-template-columns: 1.25fr 1fr; align-items: stretch; } .hdtt-offer .hdtt-offer__grid--single { max-width: 720px; } }
.hdtt-offer .hdtt-offer__card { position: relative; border-radius: var(--hdtt-r-lg); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.hdtt-offer .hdtt-offer__card--main { background: var(--hdtt-night); color: var(--hdtt-night-text); box-shadow: var(--hdtt-shadow-panel); }
.hdtt-offer .hdtt-offer__card--main h3, .hdtt-offer .hdtt-offer__card--main .hdtt-price__now { color: var(--hdtt-night-text); }
.hdtt-offer .hdtt-offer__card--main p { color: var(--hdtt-night-muted); }
.hdtt-offer .hdtt-offer__card--side { background: var(--hdtt-paper); border: 1px solid var(--hdtt-line); }
.hdtt-offer .hdtt-offer__kicker { font-family: var(--hdtt-font-latin); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--hdtt-leaf); margin: 0; }
.hdtt-offer .hdtt-offer__card--side .hdtt-offer__kicker { color: var(--hdtt-leaf-ink); }
.hdtt-offer .hdtt-offer__card h3 { font-size: 1.45rem; margin: 0; }
.hdtt-offer .hdtt-offer__meta { margin: 0; font-size: var(--hdtt-fs-small); }
.hdtt-offer .hdtt-offer__meta span + span::before { content: "・"; margin: 0 2px; opacity: 0.6; }
.hdtt-offer .hdtt-offer__card .hdtt-btn { align-self: flex-start; margin-top: 6px; }
.hdtt-offer .hdtt-offer__fine { font-size: var(--hdtt-fs-micro); margin: 0; }
.hdtt-offer .hdtt-offer__card--side .hdtt-offer__fine { color: var(--hdtt-ink-soft); }

/* ============ regions ============ */
.hdtt-regions .hdtt-regions__intro { margin-bottom: clamp(20px, 3vw, 32px); padding: clamp(16px, 2.5vw, 24px); background: var(--hdtt-sage); border-radius: var(--hdtt-r-md); }
.hdtt-regions .hdtt-regions__intro p { color: var(--hdtt-pine-deep); }
.hdtt-regions .hdtt-regions__list { display: grid; gap: 12px; }
.hdtt-regions .hdtt-regions__row { display: grid; gap: 14px 40px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--hdtt-line); border-radius: var(--hdtt-r-lg); background: var(--hdtt-paper); }
@media (min-width: 800px) { .hdtt-regions .hdtt-regions__row { grid-template-columns: 0.8fr 1.2fr; align-items: center; } }
.hdtt-regions .hdtt-regions__row--zero, .hdtt-regions .hdtt-regions__row--running, .hdtt-regions .hdtt-regions__row--succeeded { border-color: var(--hdtt-leaf); box-shadow: 0 18px 40px -30px rgba(37, 59, 53, 0.5); }
.hdtt-regions .hdtt-regions__row--closed { opacity: 0.72; }
.hdtt-regions .hdtt-regions__head h3 { display: inline; margin: 0 10px 0 0; font-size: 1.3rem; }
.hdtt-regions .hdtt-regions__status { display: inline-block; font-family: var(--hdtt-font-latin); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--hdtt-r-pill); background: var(--hdtt-sage); color: var(--hdtt-pine-deep); vertical-align: middle; }
.hdtt-regions .hdtt-regions__row--zero .hdtt-regions__status, .hdtt-regions .hdtt-regions__row--running .hdtt-regions__status { background: var(--hdtt-leaf); color: var(--hdtt-pine-deep); }
.hdtt-regions .hdtt-regions__row--succeeded .hdtt-regions__status { background: var(--hdtt-pine); color: var(--hdtt-night-text); }
.hdtt-regions .hdtt-regions__row--closed .hdtt-regions__status { background: var(--hdtt-line); color: var(--hdtt-ink-soft); }
.hdtt-regions .hdtt-regions__info { flex-basis: 100%; margin: 2px 0 0; font-weight: 700; color: var(--hdtt-pine-deep); }
.hdtt-regions .hdtt-regions__body { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hdtt-regions .hdtt-regions__body .hdtt-small { flex-basis: 100%; margin: 0; }
.hdtt-regions .hdtt-progress { flex: 1 1 220px; }
.hdtt-regions .hdtt-progress__bar { height: 10px; border-radius: 5px; background: var(--hdtt-sage-deep); overflow: hidden; }
.hdtt-regions .hdtt-progress__bar span { display: block; height: 100%; background: var(--hdtt-leaf); border-radius: 5px; transition: width 0.6s var(--hdtt-ease); }
.hdtt-regions .hdtt-progress__meta { margin: 6px 0 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-pine-deep); font-weight: 700; }
.hdtt-regions .hdtt-regions__fallback { margin-top: clamp(20px, 3vw, 32px); padding: clamp(18px, 3vw, 28px); border-radius: var(--hdtt-r-lg); background: var(--hdtt-cream); display: grid; gap: 14px; align-items: center; }
@media (min-width: 800px) { .hdtt-regions .hdtt-regions__fallback { grid-template-columns: 1fr auto; } }
.hdtt-regions .hdtt-regions__fallback h3 { margin-bottom: 4px; }
.hdtt-regions .hdtt-regions__fallback p { margin: 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }

/* ============ crosslink ============ */
.hdtt-crosslink { padding-block: calc(var(--hdtt-section) * 0.6); }
.hdtt-crosslink .hdtt-crosslink__banner { display: grid; overflow: hidden; border-radius: var(--hdtt-r-lg); background: var(--hdtt-pine); color: var(--hdtt-night-text); box-shadow: var(--hdtt-shadow-soft); }
.hdtt-crosslink .hdtt-crosslink__photo { margin: 0; position: relative; aspect-ratio: 16 / 9; min-height: 200px; background: var(--hdtt-pine-deep); }
.hdtt-crosslink .hdtt-crosslink__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hdtt-crosslink .hdtt-crosslink__body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.hdtt-crosslink .hdtt-crosslink__banner h3 { color: var(--hdtt-night-text); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; margin: 0 0 8px; }
.hdtt-crosslink p { color: var(--hdtt-night-muted); margin: 0; font-size: 1rem; }
@media (min-width: 800px) {
  .hdtt-crosslink .hdtt-crosslink__banner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hdtt-crosslink .hdtt-crosslink__photo { aspect-ratio: auto; min-height: 300px; height: 100%; }
}

/* ============ faq ============ */
.hdtt-faq .hdtt-faq__list { border-top: 1px solid var(--hdtt-line); }
@media (min-width: 900px) { .hdtt-faq .hdtt-faq__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; } .hdtt-faq .hdtt-faq__item:nth-child(-n+2) { border-top: 1px solid var(--hdtt-line); } }
.hdtt-faq .hdtt-faq__item { border-bottom: 1px solid var(--hdtt-line); }
.hdtt-faq .hdtt-faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 700; color: var(--hdtt-pine-deep); font-size: 1.04em; }
.hdtt-faq .hdtt-faq__item summary::-webkit-details-marker { display: none; }
.hdtt-faq .hdtt-faq__item summary::after { content: "+"; font-family: var(--hdtt-font-latin); font-size: 1.5rem; font-weight: 400; color: var(--hdtt-rose); transition: transform 0.3s var(--hdtt-ease); flex: none; }
.hdtt-faq .hdtt-faq__item[open] summary::after { transform: rotate(45deg); }
.hdtt-faq .hdtt-faq__a { padding: 0 4px 22px; color: var(--hdtt-ink-soft); }
.hdtt-faq .hdtt-faq__a p { margin: 0; }

/* ============ form ============ */
.hdtt-form { background: var(--hdtt-sage); }
.hdtt-form .hdtt-form__shell { background: var(--hdtt-paper); border: 1px solid var(--hdtt-line); border-radius: var(--hdtt-r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--hdtt-shadow-soft); }
.hdtt-form .hdtt-form__placeholder { color: var(--hdtt-ink-soft); margin: 0; }
.hdtt-form .hdtt-form__note { margin-top: 16px; }

/* ============ intro (expo opening) ============ */
.hdtt-intro .hdtt-intro__eyebrow { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--hdtt-leaf-ink); margin: 0 0 10px; }
.hdtt-intro .hdtt-intro__title.hdtt-intro__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; letter-spacing: 0.01em; margin-bottom: 14px; }
.hdtt-intro .hdtt-intro__hook { font-size: 1.15rem; color: var(--hdtt-ink-soft); margin-bottom: 22px; }
.hdtt-intro .hdtt-intro__photo { margin: 0; border-radius: var(--hdtt-r-lg); overflow: hidden; box-shadow: var(--hdtt-shadow-soft); position: relative; }
.hdtt-intro .hdtt-intro__photo img { width: 100%; height: auto; } /* 照片依原比例顯示（展場頁用 1:1 廣告圖）；不裁切 */
.hdtt-intro .hdtt-intro__photo figcaption { position: absolute; left: 14px; bottom: 12px; font-size: var(--hdtt-fs-micro); color: #fff; background: rgba(37, 59, 53, 0.7); padding: 4px 10px; border-radius: var(--hdtt-r-pill); }
.hdtt-intro .hdtt-intro__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; }
.hdtt-intro .hdtt-intro__meta div { background: var(--hdtt-sage); border-radius: var(--hdtt-r-md); padding: 14px 16px; }
.hdtt-intro .hdtt-intro__meta dt { font-family: var(--hdtt-font-latin); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hdtt-leaf-ink); margin-bottom: 2px; }
.hdtt-intro .hdtt-intro__meta dd { margin: 0; font-weight: 700; color: var(--hdtt-pine-deep); }
@media (max-width: 560px) { .hdtt-intro .hdtt-intro__meta { grid-template-columns: 1fr; } }

/* ============ text ============ */
.hdtt-text .hdtt-text__body p { font-size: 1.08rem; line-height: 1.9; }
.hdtt-text .hdtt-text__body p + p { margin-top: 4px; }

/* ============ imgtext ============ */
.hdtt-imgtext .hdtt-imgtext__row { display: grid; gap: clamp(20px, 3vw, 32px); align-items: center; }
@media (min-width: 720px) { .hdtt-imgtext .hdtt-imgtext__row--side { grid-template-columns: 1fr 1fr; } }
/* 圖在上版型：圖滿寬、條列在寬螢幕分兩欄 */
.hdtt-imgtext .hdtt-imgtext__row--stack { align-items: start; }
@media (min-width: 720px) { .hdtt-imgtext .hdtt-imgtext__row--stack .hdtt-imgtext__list { columns: 2; column-gap: 32px; } .hdtt-imgtext .hdtt-imgtext__row--stack .hdtt-imgtext__list li { break-inside: avoid; margin-bottom: 8px; } }
.hdtt-imgtext .hdtt-imgtext__photo { margin: 0; border-radius: var(--hdtt-r-lg); overflow: hidden; box-shadow: var(--hdtt-shadow-soft); }
.hdtt-imgtext .hdtt-imgtext__photo img { width: 100%; height: auto; } /* 依原比例顯示，DM 這類橫式圖不裁切 */
.hdtt-imgtext .hdtt-imgtext__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
/* .hdtt.hdtt：唯一要顯示 marker 的清單，特異性需高於上面的 .hdtt.hdtt ul/ol reset */
.hdtt.hdtt .hdtt-imgtext__list { list-style: disc; padding-left: 1.2em; margin: 10px 0 0; }
.hdtt-imgtext .hdtt-imgtext__list li { color: var(--hdtt-ink-soft); }

/* ============ gallery ============ */
.hdtt-gallery .hdtt-gallery__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hdtt-gallery .hdtt-gallery__wall li { border-radius: var(--hdtt-r-md); overflow: hidden; background: var(--hdtt-sage); }
.hdtt-gallery .hdtt-gallery__wall img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* ============ facts ============ */
.hdtt-facts .hdtt-facts__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 0; }
@media (min-width: 640px) { .hdtt-facts .hdtt-facts__list { grid-template-columns: repeat(3, 1fr); } }
.hdtt-facts .hdtt-facts__list div { border-top: 2px solid var(--hdtt-sage-deep); padding-top: 10px; }
.hdtt-facts .hdtt-facts__list dt { font-weight: 700; color: var(--hdtt-pine-deep); font-size: 1.02rem; margin-bottom: 2px; }
.hdtt-facts .hdtt-facts__list dd { margin: 0; font-size: var(--hdtt-fs-small); color: var(--hdtt-ink-soft); }
.hdtt-facts .hdtt-facts__cta { margin-top: 22px; }

/* ============ side-card (two columns) ============ */
.hdtt-side-card { padding-block: clamp(28px, 4vw, 48px) var(--hdtt-section); }
.hdtt-side-card .hdtt-side-card__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
@media (min-width: 960px) { .hdtt-side-card .hdtt-side-card__grid { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (min-width: 1180px) { .hdtt-side-card .hdtt-side-card__grid { grid-template-columns: minmax(0, 1fr) 372px; gap: 72px; } }
/* inner section blocks: no full-bleed, no page-level padding, divider between them.
   ACF 6 wraps InnerBlocks output in .acf-innerblocks-container, so match both depths. */
.hdtt-side-card .hdtt-side-card__main > .hdtt,
.hdtt-side-card .hdtt-side-card__main > .acf-innerblocks-container > .hdtt { width: 100%; max-width: 100%; margin-inline: 0; padding-block: clamp(36px, 5vw, 64px); background: transparent; border-bottom: 1px solid var(--hdtt-line); }
.hdtt-side-card .hdtt-side-card__main > .hdtt:first-child,
.hdtt-side-card .hdtt-side-card__main > .acf-innerblocks-container > .hdtt:first-child { padding-top: 0; }
.hdtt-side-card .hdtt-side-card__main > .hdtt:last-child,
.hdtt-side-card .hdtt-side-card__main > .acf-innerblocks-container > .hdtt:last-child { border-bottom: 0; }
.hdtt-side-card .hdtt-side-card__main > .hdtt > .hdtt-wrap,
.hdtt-side-card .hdtt-side-card__main > .acf-innerblocks-container > .hdtt > .hdtt-wrap { width: 100%; }
.hdtt-side-card .hdtt-side-card__main .hdtt h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.hdtt-side-card .hdtt-side-card__aside { position: relative; }
.hdtt-side-card .hdtt-card { position: sticky; top: 92px; border-radius: var(--hdtt-r-lg); overflow: hidden; background: var(--hdtt-paper); border: 1px solid var(--hdtt-line); box-shadow: var(--hdtt-shadow-soft); }
.hdtt-side-card .hdtt-card__head { background: var(--hdtt-pine); color: var(--hdtt-night-text); padding: 18px 24px 16px; }
.hdtt-side-card .hdtt-card__head h2 { color: var(--hdtt-night-text); font-size: 1.22rem; margin: 0; }
.hdtt-side-card .hdtt-card__kicker { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--hdtt-leaf); margin: 0 0 4px; font-weight: 700; }
.hdtt-side-card .hdtt-card__body { padding: 20px 24px 22px; display: grid; gap: 14px; }
.hdtt-side-card .hdtt-card__body .hdtt-btn { width: 100%; text-align: center; }
.hdtt-side-card .hdtt-card__steps { counter-reset: hdtt-h; display: grid; gap: 10px; }
.hdtt-side-card .hdtt-card__steps li { counter-increment: hdtt-h; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: var(--hdtt-fs-small); align-items: start; }
.hdtt-side-card .hdtt-card__steps li::before { content: counter(hdtt-h); width: 24px; height: 24px; border-radius: 50%; background: var(--hdtt-sage-deep); color: var(--hdtt-pine-deep); font-family: var(--hdtt-font-latin); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.hdtt-side-card .hdtt-card__lineid { font-family: var(--hdtt-font-latin); font-weight: 700; font-size: 1.15rem; color: var(--hdtt-pine-deep); letter-spacing: 0.02em; }
.hdtt-side-card .hdtt-card__highlight { padding: 10px 12px; border: 1.5px dashed var(--hdtt-line); border-radius: var(--hdtt-r-md); font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); }
.hdtt-side-card .hdtt-card__fine { margin: 0; font-size: var(--hdtt-fs-micro); color: var(--hdtt-ink-soft); }
.hdtt-side-card .hdtt-card__fine--center { text-align: center; }
@media (max-width: 959px) { .hdtt-side-card .hdtt-side-card__aside { order: -1; } .hdtt-side-card .hdtt-card { position: static; } }
/* editor canvas: InnerBlocks appender visible */
.editor-styles-wrapper .hdtt-side-card .hdtt-side-card__main { min-height: 120px; }

/* ============ sticky (mobile) ============ */
.hdtt-sticky { padding: 0; margin: 0; width: auto; max-width: none; background: none; }
.hdtt-sticky .hdtt-sticky__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(37, 59, 53, 0.96); color: var(--hdtt-night-text); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform 0.4s var(--hdtt-ease); }
.hdtt-sticky .hdtt-sticky__bar.is-visible { transform: none; }
.hdtt-sticky .hdtt-sticky__meta { display: none; flex-direction: column; line-height: 1.25; margin-right: auto; }
.hdtt-sticky .hdtt-sticky__meta strong { color: var(--hdtt-night-text); font-size: 0.92rem; }
.hdtt-sticky .hdtt-sticky__meta span { font-size: 0.8rem; color: var(--hdtt-night-muted); }
.hdtt-sticky .hdtt-btn { flex: 1; padding: 13px 14px; font-size: 0.95rem; }
.hdtt-sticky .hdtt-btn--ghost-light { flex: 0 0 auto; }
@media (min-width: 480px) { .hdtt-sticky .hdtt-sticky__meta { display: flex; } .hdtt-sticky .hdtt-btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
  .hdtt-sticky .hdtt-sticky__bar:not(.hdtt-sticky__bar--desktop) { display: none; }
  /* 桌機版固定條：比照機構合作頁 — 淺色毛玻璃底、主按鈕拉滿、次按鈕改深色外框 */
  .hdtt-sticky .hdtt-sticky__bar--desktop { gap: 14px; padding: 10px 24px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, 0.95); color: var(--hdtt-ink); backdrop-filter: blur(10px); box-shadow: 0 -16px 44px rgba(37, 59, 53, 0.18); }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-sticky__meta { display: flex; margin-right: 0; flex: 0 0 auto; padding-right: 10px; }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-sticky__meta strong { color: var(--hdtt-pine-deep); font-size: 1rem; }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-sticky__meta span { color: var(--hdtt-ink-soft); }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-btn--primary { flex: 1 1 auto; padding: 16px 30px; font-size: 1.02rem; }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-btn--ghost-light { flex: 0 0 auto; padding: 16px 26px; font-size: 1.02rem; color: var(--hdtt-pine-deep); border-color: var(--hdtt-pine); }
  .hdtt-sticky .hdtt-sticky__bar--desktop .hdtt-btn--ghost-light:hover { background: var(--hdtt-pine); color: #fff; }
}
/* editor canvas: keep the sticky bar visible in place so authors can see it */
.editor-styles-wrapper .hdtt-sticky .hdtt-sticky__bar, .block-editor-block-preview__content .hdtt-sticky .hdtt-sticky__bar { position: relative; transform: none; display: flex; border-radius: var(--hdtt-r-md); }

@media (prefers-reduced-motion: reduce) {
  .hdtt *, .hdtt *::before, .hdtt *::after { animation: none !important; transition: none !important; }
  .hdtt-hero .hdtt-hero__mosaic li, .hdtt-hero .hdtt-hero__mosaic-wrap .hdtt-hero__panel { opacity: 1; transform: none; }
}
