/* Chenda Shengye — custom polish (loaded after scheme.css) */

/* Product / honor / offer cards */
.montana-offer {
  border: 1px solid var(--th--preset--color--line, #e8e1e0);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  height: 100%;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.montana-offer:hover {
  box-shadow: 0 18px 40px rgba(20, 30, 40, .12);
  transform: translateY(-4px);
  border-color: transparent;
}
.montana-offer__photo img { border-radius: 10px; }

/* Linked offer card */
.cd-offer-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.cd-offer-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--th--preset--color--primary, #a61b1b);
}
.cd-offer-link:hover .cd-offer-cta { text-decoration: underline; }

/* Series detail: feature cards */
.cd-feature {
  border: 1px solid var(--th--preset--color--line, #e8e1e0);
  border-radius: 14px;
  padding: 22px 20px;
  background: #fafafa;
  height: 100%;
}
.cd-feature .montana-offer__title { font-size: 17px; }

/* Series detail: applications list */
.cd-apps { margin: 14px 0; padding-left: 1.1em; }
.cd-apps li { margin-bottom: 8px; line-height: 1.7; }

/* Catalog cards */
.cd-catalog-card {
  border: 1px solid var(--th--preset--color--line, #e8e1e0);
  border-radius: 14px;
  padding: 22px 20px;
  background: #fff;
  height: 100%;
  transition: box-shadow .3s ease, transform .3s ease;
}
.cd-catalog-card:hover { box-shadow: 0 14px 32px rgba(20,30,40,.10); transform: translateY(-3px); }
.cd-catalog-card__model {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--th--preset--color--muted, #7b8187);
  text-transform: uppercase;
}
.cd-catalog-card__name { font-size: 17px; margin: 6px 0 8px; }
.cd-catalog-card__note { font-size: 13px; line-height: 1.7; color: var(--th--preset--color--muted, #7b8187); }

/* Video player */
.cd-video-player { width: 100%; }
.cd-video-player video {
  width: 100%;
  max-height: 520px;
  display: block;
  background: #000;
}

/* Post card hover */
.montana-post { transition: background-color .25s ease; border-radius: 12px; }
.montana-post:hover { background: #f7f8f9; }

/* Dark scheme card adjustments */
.montana-dark .montana-offer,
.montana-dark .cd-feature,
.montana-dark .cd-catalog-card { background: #1d2329; border-color: #2c343c; }
.montana-dark .montana-offer:hover,
.montana-dark .cd-catalog-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.montana-dark .cd-quotes__avatar {
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 22%, transparent);
  border-color: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 32%, transparent);
}

/* ==========================================================================
   Language switcher (EN / 中文)
   ========================================================================== */

.cd-lang {
  position: relative;
  order: 1;
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-left: .85rem;
}

.cd-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2rem;
  padding: .4rem .7rem;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}

.cd-lang__btn:hover,
.cd-lang__btn[aria-expanded="true"] {
  background: color-mix(in srgb, currentColor 16%, transparent);
  border-color: currentColor;
}

.cd-lang__btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.cd-lang__icon { opacity: .85; }
.cd-lang__caret { opacity: .7; }
.cd-lang__label { font-weight: 600; }

.cd-lang__menu {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  z-index: 130;
  display: none;
  min-width: 10.5rem;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #e8e1e0;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(30, 12, 12, .18);
}

.cd-lang__menu.is-open { display: block; }

.cd-lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .65rem;
  border-radius: 8px;
  color: inherit;
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
}

.cd-lang__item:hover { background: #faf3f3; text-decoration: none; }
.cd-lang__item.is-active { color: #a61b1b; font-weight: 600; }
.cd-lang__item.is-active::after { content: "✓"; font-size: .75rem; }

.montana-dark .cd-lang__menu {
  background: #1a1d21;
  color: #f1f3f5;
  border-color: #30353b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .6);
}
.montana-dark .cd-lang__item:hover { background: #23282e; }
.montana-dark .cd-lang__item.is-active { color: #e6a3a3; }

@media (max-width: 991px) {
  .cd-lang { margin-left: 0; margin-right: .6rem; }
  .cd-lang__btn { padding: .35rem .55rem; letter-spacing: .1em; }
}

/* ==========================================================================
   Chinese typography — the Latin faces have no CJK glyphs, so fall back
   to system Chinese families; headings keep a serif tone to match Playfair.
   ========================================================================== */

html[data-lang="zh"] body,
html[data-lang="zh"] input,
html[data-lang="zh"] textarea,
html[data-lang="zh"] button {
  font-family: var(--th--preset--font-family--raleway, "Raleway"), "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

html[data-lang="zh"] :is(h1, h2, h3, h4, h5, h6),
html[data-lang="zh"] .blk-heading,
html[data-lang="zh"] .montana-hero__title,
html[data-lang="zh"] .montana-footer__title {
  font-family: var(--th--preset--font-family--playfair, "Playfair Display"), "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Simsun", serif;
}

html[data-lang="zh"] .montana-logo__word { letter-spacing: .24em; text-indent: .24em; }
html[data-lang="zh"] .montana-hero__title { letter-spacing: .05em; }
html[data-lang="zh"] .cd-lang__btn { letter-spacing: .04em; text-transform: none; }
html[data-lang="zh"] .cd-lang__btn .cd-lang__label { font-size: .75rem; letter-spacing: .02em; }

/* Japanese ---------------------------------------------------------------- */
html[data-lang="ja"] body,
html[data-lang="ja"] input,
html[data-lang="ja"] textarea,
html[data-lang="ja"] button {
  font-family: var(--th--preset--font-family--raleway, "Raleway"), "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
}

html[data-lang="ja"] :is(h1, h2, h3, h4, h5, h6),
html[data-lang="ja"] .blk-heading,
html[data-lang="ja"] .montana-hero__title,
html[data-lang="ja"] .montana-footer__title {
  font-family: var(--th--preset--font-family--playfair, "Playfair Display"), "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

html[data-lang="ja"] .montana-logo__word { letter-spacing: .3em; text-indent: .3em; }
html[data-lang="ja"] .montana-hero__title { letter-spacing: .04em; line-height: 1.45; }
html[data-lang="ja"] .cd-lang__btn { letter-spacing: .04em; text-transform: none; }
html[data-lang="ja"] .cd-lang__btn .cd-lang__label { font-size: .75rem; letter-spacing: .02em; }

/* Korean ------------------------------------------------------------------ */
html[data-lang="ko"] body,
html[data-lang="ko"] input,
html[data-lang="ko"] textarea,
html[data-lang="ko"] button {
  font-family: var(--th--preset--font-family--raleway, "Raleway"), "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", "Nanum Gothic", system-ui, sans-serif;
}

html[data-lang="ko"] :is(h1, h2, h3, h4, h5, h6),
html[data-lang="ko"] .blk-heading,
html[data-lang="ko"] .montana-hero__title,
html[data-lang="ko"] .montana-footer__title {
  font-family: var(--th--preset--font-family--playfair, "Playfair Display"), "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
}

html[data-lang="ko"] .montana-logo__word { letter-spacing: .26em; text-indent: .26em; }
html[data-lang="ko"] .montana-hero__title { letter-spacing: .02em; line-height: 1.5; }
html[data-lang="ko"] .cd-lang__btn { letter-spacing: .04em; text-transform: none; }
html[data-lang="ko"] .cd-lang__btn .cd-lang__label { font-size: .75rem; letter-spacing: .02em; }

/* Russian — Raleway's subset has no Cyrillic, so give it a full-coverage stack */
html[data-lang="ru"] body,
html[data-lang="ru"] input,
html[data-lang="ru"] textarea,
html[data-lang="ru"] button {
  font-family: "PT Sans", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

html[data-lang="ru"] :is(h1, h2, h3, h4, h5, h6),
html[data-lang="ru"] .blk-heading,
html[data-lang="ru"] .montana-hero__title,
html[data-lang="ru"] .montana-footer__title {
  font-family: "PT Serif", var(--th--preset--font-family--playfair, "Playfair Display"), Georgia, serif;
}

html[data-lang="ru"] .montana-logo__word { letter-spacing: .2em; text-indent: .2em; }

/* German — long compounds need tighter tracking and looser leading ---------- */
html[data-lang="de"] :is(h1, h2, h3, h4, h5, h6),
html[data-lang="de"] .blk-heading {
  letter-spacing: -.01em;
  hyphens: auto;
  overflow-wrap: break-word;
}
html[data-lang="de"] body { overflow-wrap: break-word; hyphens: auto; }
html[data-lang="de"] .montana-hero__title { letter-spacing: -.005em; line-height: 1.15; }

/* Spanish / French — accented Latin, only the display transform needs tuning */
html[data-lang="es"] .cd-lang__btn,
html[data-lang="fr"] .cd-lang__btn,
html[data-lang="de"] .cd-lang__btn,
html[data-lang="ru"] .cd-lang__btn { text-transform: none; letter-spacing: .06em; }

/* Translated copy already carries its own capitalisation, so the theme's
   `text-transform: capitalize / uppercase` must not touch it — it would turn
   German or French sentences into Title Case and break small words. */
html[data-lang="zh"] body, html[data-lang="zh"] body *,
html[data-lang="ja"] body, html[data-lang="ja"] body *,
html[data-lang="ko"] body, html[data-lang="ko"] body *,
html[data-lang="es"] body, html[data-lang="es"] body *,
html[data-lang="fr"] body, html[data-lang="fr"] body *,
html[data-lang="de"] body, html[data-lang="de"] body *,
html[data-lang="ru"] body, html[data-lang="ru"] body * {
  text-transform: none !important;
}

/* ==========================================================================
   Multilingual header — translated labels are longer than English, so the
   nav must stop breaking CJK words apart and shrink its gaps a little.
   ========================================================================== */

html[data-lang="zh"] .montana-header .blk-navigation__container,
html[data-lang="ja"] .montana-header .blk-navigation__container,
html[data-lang="ko"] .montana-header .blk-navigation__container,
html[data-lang="es"] .montana-header .blk-navigation__container,
html[data-lang="fr"] .montana-header .blk-navigation__container,
html[data-lang="de"] .montana-header .blk-navigation__container,
html[data-lang="ru"] .montana-header .blk-navigation__container {
  gap: 0.4rem 0.9rem;
}

html[data-lang="ja"] .montana-header .blk-navigation-item,
html[data-lang="ko"] .montana-header .blk-navigation-item,
html[data-lang="zh"] .montana-header .blk-navigation-item,
html[data-lang="es"] .montana-header .blk-navigation-item,
html[data-lang="fr"] .montana-header .blk-navigation-item,
html[data-lang="de"] .montana-header .blk-navigation-item,
html[data-lang="ru"] .montana-header .blk-navigation-item {
  flex: 0 0 auto;
  min-width: 0;
}

html[data-lang="ja"] .montana-header .blk-navigation-item__content,
html[data-lang="ko"] .montana-header .blk-navigation-item__content,
html[data-lang="zh"] .montana-header .blk-navigation-item__content,
html[data-lang="es"] .montana-header .blk-navigation-item__content,
html[data-lang="fr"] .montana-header .blk-navigation-item__content,
html[data-lang="de"] .montana-header .blk-navigation-item__content,
html[data-lang="ru"] .montana-header .blk-navigation-item__content {
  white-space: nowrap;
}

html[data-lang="ja"] .montana-header .blk-navigation-item__content,
html[data-lang="ko"] .montana-header .blk-navigation-item__content {
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

html[data-lang="zh"] .montana-header .blk-navigation-item__content,
html[data-lang="ru"] .montana-header .blk-navigation-item__content {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

html[data-lang="es"] .montana-header .blk-navigation-item__content,
html[data-lang="fr"] .montana-header .blk-navigation-item__content,
html[data-lang="de"] .montana-header .blk-navigation-item__content {
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Below ~1200px the header needs the extra room more than it needs the gaps. */
@media (max-width: 1199px) {
  html[data-lang="ja"] .montana-header .blk-navigation__container,
  html[data-lang="ko"] .montana-header .blk-navigation__container,
  html[data-lang="zh"] .montana-header .blk-navigation__container,
  html[data-lang="ru"] .montana-header .blk-navigation__container {
    gap: 0.3rem 0.55rem;
  }
}

/* The centred wordmark is `flex: none`, so an over-long nav would run under it.
   Give the mark room back and trim the nav a notch on narrower screens. */
@media (max-width: 1399px) {
  html[data-lang="zh"] .montana-logo__word,
  html[data-lang="ja"] .montana-logo__word,
  html[data-lang="ko"] .montana-logo__word,
  html[data-lang="ru"] .montana-logo__word {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  html[data-lang="ja"] .montana-header .blk-navigation-item__content,
  html[data-lang="ko"] .montana-header .blk-navigation-item__content,
  html[data-lang="zh"] .montana-header .blk-navigation-item__content {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  /* English needs the same treatment once the three header columns get tight. */
  html[data-lang="en"] .montana-header .blk-navigation__container { gap: 0.4rem 0.6rem; }
  html[data-lang="en"] .montana-header .blk-navigation-item { flex: 0 0 auto; }
  html[data-lang="en"] .montana-header .blk-navigation-item__content {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  html[data-lang="en"] .montana-logo__word { letter-spacing: 0.32em; text-indent: 0.32em; }
}

/* ============================================================
   视频分类弹窗（video.html）
   ============================================================ */
html.cd-modal-open { overflow: hidden; }

.montana-offer.cd-video-card { cursor: pointer; position: relative; }
.montana-offer.cd-video-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(166, 27, 27, .92) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px 26px no-repeat;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: scale(.86);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.montana-offer.cd-video-card:hover::after,
.montana-offer.cd-video-card:focus-visible::after { opacity: 1; transform: scale(1); }
.montana-offer.cd-video-card:focus-visible { outline: 2px solid var(--th--preset--color--primary, #a61b1b); outline-offset: 4px; }

.cd-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.cd-modal.is-open { opacity: 1; visibility: visible; }
.cd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 10, .86);
  backdrop-filter: blur(3px);
}
.cd-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  background: #0f0f10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: translateY(10px) scale(.985);
  transition: transform .28s ease;
}
.cd-modal.is-open .cd-modal__panel { transform: none; }
.cd-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #17171a;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cd-modal__title {
  margin: 0;
  color: #fff;
  font-size: .9375rem;
  letter-spacing: .04em;
  font-weight: 600;
}
.cd-modal__close {
  flex: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.cd-modal__close:hover { background: var(--th--preset--color--primary, #a61b1b); }
.cd-modal__body { background: #000; }
.cd-modal__video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #000;
}

@media (max-width: 782px) {
  .cd-modal { padding: 0; }
  .cd-modal__panel { width: 100%; border-radius: 0; }
  .cd-modal__video { max-height: 62vh; }
}

/* ============================================================
   产品色卡选择面板（series-*.html）
   ============================================================ */
.cd-catalog-card__swatch {
  display: block;
  width: 100%;
  height: 64px;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, .08);
  margin-bottom: 14px;
  box-shadow: inset 0 -18px 28px rgba(0, 0, 0, .14), inset 0 12px 18px rgba(255, 255, 255, .16);
}
.cd-catalog-card[data-cd-color] { cursor: pointer; }
.cd-catalog-card[data-cd-color]:focus-visible {
  outline: 2px solid var(--th--preset--color--primary, #a61b1b);
  outline-offset: 3px;
}
.cd-catalog-card.is-active {
  border-color: var(--th--preset--color--primary, #a61b1b);
  box-shadow: 0 16px 36px rgba(166, 27, 27, .18);
}
.cd-catalog-card.is-active::before {
  content: "";
  display: block;
  height: 3px;
  margin: -22px -20px 16px;
  border-radius: 14px 14px 0 0;
  background: var(--th--preset--color--primary, #a61b1b);
}
.cd-tick {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--th--preset--color--primary, #a61b1b) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2l-3.5-3.5-1.4 1.4 4.9 4.9 10.4-10.4-1.4-1.4z'/%3E%3C/svg%3E") center/14px 14px no-repeat;
}

.cd-color-panel {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 28px;
  align-items: center;
  margin: 0 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--th--preset--color--divider, #e8e1e0);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fdfbfa 100%);
  box-shadow: 0 12px 30px rgba(20, 20, 22, .06);
}
.cd-color-panel__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.cd-color-panel__chip {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 150px;
  border-radius: 12px;
  box-shadow: inset 0 -34px 50px rgba(0, 0, 0, .16), inset 0 22px 34px rgba(255, 255, 255, .2);
  transition: background .35s ease;
}
.cd-color-panel__model {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 15, 16, .72);
  color: #fff;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cd-color-panel__label {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--th--preset--color--primary, #a61b1b);
}
.cd-color-panel__name { margin: 0 0 8px; font-size: 1.375rem; line-height: 1.25; }
.cd-color-panel__note { margin: 0 0 16px; font-size: .875rem; line-height: 1.75; color: #6d7378; }
.cd-color-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cd-color-panel__cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--th--preset--color--primary, #a61b1b);
  color: #fff !important;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .25s ease;
}
.cd-color-panel__cta:hover { background: var(--th--preset--color--primary-deep, #7c1111); }
.cd-color-panel__hint { margin: 0; font-size: .75rem; color: #9aa0a5; letter-spacing: .02em; }

.montana-dark .cd-color-panel {
  background: #1d2329;
  border-color: #2c343c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.montana-dark .cd-color-panel__note { color: #a9b0b6; }

@media (max-width: 781px) {
  .cd-color-panel { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .cd-color-panel__chip { min-height: 120px; }
}

/* ============================================================
   新闻分类归档页（blog-*.html）
   ============================================================ */
.cd-archive-head {
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--th--preset--color--divider, #e8e1e0);
}
.cd-archive-head__count {
  display: inline-block;
  margin-top: 10px;
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7b8187;
}
.cd-cat-list a.is-active { color: var(--th--preset--color--primary, #a61b1b); font-weight: 600; }
.cd-cat-list .cd-cat-list__count { color: #9aa0a5; font-size: .8125rem; margin-left: 6px; }

/* ============================================================
   首页轮播：整张幻灯片可点击进入对应产品系列
   ============================================================ */
.montana-slide { position: relative; overflow: hidden; }
.montana-slide .blk-cover__image-background {
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.montana-slide:hover .blk-cover__image-background { transform: scale(1.045); }

.cd-slide-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 4vw 9vh 0;
  text-decoration: none;
}
.cd-slide-link__cue { display: none; }
.cd-slide-link::after {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(166, 27, 27, .94) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M13.5 5.5l-1.4 1.4L16.1 11H4v2h12.1l-4 4.1 1.4 1.4L20 12z'/%3E%3C/svg%3E") center/26px 26px no-repeat;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.montana-slide:hover .cd-slide-link::after,
.cd-slide-link:focus-visible::after { opacity: 1; transform: none; }
.cd-slide-link:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@media (max-width: 781px) {
  .cd-slide-link { padding: 0 5vw 7vh 0; }
  .cd-slide-link::after { width: 46px; height: 46px; background-size: 20px 20px; }
}

/* 文章配图未限宽会导致整页横向溢出（wide-1.webp 等原图 1920px） */
.montana-post__body .blk-image img,
.montana-post__body figure img { width: 100%; height: auto; display: block; }

/* ---------- 色卡：查看大图 ---------- */
.cd-color-panel__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: #1a1a1a;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  transition: background .25s ease, color .25s ease;
}
.cd-color-panel__zoom:hover,
.cd-color-panel__zoom:focus-visible {
  background: var(--th--preset--color--primary, #a61b1b);
  color: #fff;
}

.cd-swatch-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.cd-swatch-modal.is-open { display: flex; }
.cd-swatch-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 10, .84);
  backdrop-filter: blur(6px);
}
.cd-swatch-modal__panel {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 94vw;
  max-height: 94vh;
  overflow: auto;
  padding: 20px clamp(18px, 3vw, 32px) 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.cd-swatch-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.cd-swatch-modal__model {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #131314;
  color: #fff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cd-swatch-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2eeec;
  color: #333;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.cd-swatch-modal__close:hover,
.cd-swatch-modal__close:focus-visible { background: var(--th--preset--color--primary, #a61b1b); color: #fff; }
.cd-swatch-modal__chip {
  display: block;
  width: min(50vh, 560px, 76vw);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  box-shadow: inset 0 -70px 100px rgba(0, 0, 0, .16),
              inset 0 46px 70px rgba(255, 255, 255, .18),
              0 18px 40px rgba(0, 0, 0, .12);
}
.cd-swatch-modal__info { margin-top: 18px; text-align: center; }
.cd-swatch-modal__name { margin: 0 0 6px; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.25; }
.cd-swatch-modal__note { margin: 0 0 16px; font-size: .875rem; line-height: 1.7; color: #6d7378; }
.cd-swatch-modal__cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--th--preset--color--primary, #a61b1b);
  color: #fff;
  font-size: .875rem;
  letter-spacing: .04em;
  text-decoration: none;
}
.cd-swatch-modal__cta:hover { background: var(--th--preset--color--primary-deep, #7c1111); color: #fff; }

@media (max-width: 781px) {
  .cd-swatch-modal { padding: 16px; }
  .cd-swatch-modal__panel { padding: 16px 16px 20px; }
  .cd-swatch-modal__chip { width: min(46vh, 84vw); }
  .cd-color-panel__zoom { padding: 6px 11px; font-size: 10px; }
}

/* ---------- 新闻正文页排版 ---------- */
.cd-article__lead {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #3c4045;
}
.montana-entry .cd-article__lead::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  font-size: 2.6rem;
  line-height: .9;
  font-weight: 600;
  color: var(--th--preset--color--primary, #a61b1b);
}
.cd-article__h3 {
  margin: 2.25rem 0 .75rem;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  color: var(--th--preset--color--primary, #a61b1b);
}
.montana-entry .cd-article__h3 + p { margin-top: 0; }
.cd-article__quote {
  margin: 2rem 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--th--preset--color--primary, #a61b1b);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #33383d;
}
.cd-article__quote p { margin: 0; }
.cd-article__list {
  margin: 1.25rem 0 1.75rem;
  padding: 0 0 0 1.1rem;
  list-style: none;
}
.cd-article__list li {
  position: relative;
  margin-bottom: .65rem;
  padding-left: .9rem;
  line-height: 1.8;
}
.cd-article__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th--preset--color--primary, #a61b1b);
}
.cd-article__figure img {
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(20, 20, 22, .1);
}

/* 正文页配图未限宽同样会横向溢出 */
.montana-entry .blk-image img,
.montana-entry figure img { width: 100%; height: auto; }

/* 正文段落间距与行高 */
.montana-entry .blk-paragraph {
  line-height: 1.85;
  margin-bottom: 1.15rem;
}


/* ---------- 第一轮统一品牌标识与新闻阅读体验 ---------- */
/* Header logo: use the same red C emblem on the homepage and every subpage. */
.montana-header__brand .montana-logo__mark {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0 auto .35rem !important;
  padding: 0;
  border: 0;
  background: transparent;
}
.montana-header__brand .montana-logo__mark img {
  display: block;
  width: 54px;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.montana-header__brand .blk-site-title {
  margin: 0 !important;
  line-height: 1.08;
}
.montana-header__brand .montana-logo__word {
  margin-top: .32rem !important;
  line-height: 1.2;
}

/* News archive cards: longer, easier-to-scan excerpts and more breathing room. */
.montana-post__body .blk-post-excerpt {
  margin-top: .9rem !important;
}
.montana-post__body .blk-post-excerpt__excerpt {
  color: var(--th--preset--color--muted, #777);
  font-size: .94rem;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.montana-post__body .blk-post-title {
  line-height: 1.42;
}
.montana-post__body .montana-post__meta {
  margin-top: 1.15rem !important;
}

/* Single news article: clearer hierarchy and comfortable reading width. */
.montana-entry {
  max-width: 900px;
  margin-inline: auto;
}
.montana-entry .cd-article__lead {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 2;
  font-weight: 500;
  color: var(--th--preset--color--contrast, #30343a);
}
.montana-entry .blk-paragraph {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.35rem;
}
.montana-entry .cd-article__h3 {
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-left: .85rem;
  border-left: 3px solid var(--th--preset--color--primary, #a61b1b);
  font-size: 1.2rem;
  line-height: 1.5;
}
.montana-entry .cd-article__figure {
  margin: 2rem 0;
}
.montana-entry .cd-article__figure img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
}
.montana-entry .cd-article__quote {
  margin: 2.4rem 0;
  padding: 1.2rem 1.5rem;
  border-left-width: 4px;
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 5%, transparent);
  border-radius: 0 8px 8px 0;
}
.montana-entry .cd-article__list {
  margin: 1.4rem 0 2rem;
}
.montana-entry .cd-article__list li {
  margin-bottom: .8rem;
  line-height: 1.9;
}
@media (max-width: 767px) {
  .montana-header__brand .montana-logo__mark img {
    width: 46px;
    height: 46px;
  }
  .montana-entry .cd-article__lead {
    font-size: 1.03rem;
  }
  .montana-entry .blk-paragraph {
    font-size: .96rem;
    line-height: 1.9;
  }
  .montana-entry .cd-article__figure img {
    border-radius: 8px;
  }
}

/* ---------- 联系页地图模块（总部定位） ---------- */
.montana-map {
  margin-top: 2.5rem;
  border: 1px solid var(--th--preset--color--divider, #e8e1e0);
  background: var(--th--preset--color--surface, #f8f5f4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.montana-map__head {
  padding: 1.2rem 1.5rem 0.5rem;
}
.montana-map__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--th--preset--color--primary, #a61b1b);
}
.montana-map__title {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
  line-height: 1.3;
}
.montana-map__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background: var(--th--preset--color--divider, #e8e1e0);
}
.montana-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--th--preset--color--divider, #e8e1e0);
  font-family: inherit;
}
.montana-map__frame.is-loading::after {
  content: "Loading map\2026";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--th--preset--color--muted, #4d4d4d);
  pointer-events: none;
}
.montana-map__canvas .leaflet-container {
  width: 100%;
  height: 100%;
  background: var(--th--preset--color--divider, #e8e1e0);
  font-family: inherit;
}
/* 统一压成低饱和的暖灰调，贴合站点配色 */
.montana-map__canvas .leaflet-tile-pane {
  filter: grayscale(0.72) sepia(0.06) contrast(1.02) brightness(1.02);
}
.montana-map__canvas .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  margin: 0 12px 12px 0;
}
.montana-map__canvas .leaflet-control-zoom a {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 1rem;
  color: var(--th--preset--color--ink, #1f1a19);
  background: #fff;
  border-bottom: 1px solid var(--th--preset--color--divider, #e8e1e0);
}
.montana-map__canvas .leaflet-control-zoom a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.montana-map__canvas .leaflet-control-zoom a:last-child {
  border-bottom: 0;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.montana-map__canvas .leaflet-control-zoom a:hover {
  color: var(--th--preset--color--primary, #a61b1b);
}
.montana-map__canvas .leaflet-control-attribution {
  margin: 0;
  padding: 2px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: rgba(31, 26, 25, 0.55);
  background: rgba(255, 255, 255, 0.72);
}
.montana-map__canvas .leaflet-control-attribution a {
  color: rgba(31, 26, 25, 0.7);
}
.montana-map__canvas .montana-map__pin svg {
  display: block;
  filter: drop-shadow(0 6px 10px rgba(124, 17, 17, 0.28));
}
.montana-map__canvas .leaflet-popup-content-wrapper {
  border: 1px solid var(--th--preset--color--divider, #e8e1e0);
  border-radius: 2px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  padding: 2px 4px;
}
.montana-map__canvas .leaflet-popup-content {
  margin: 8px 12px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--th--preset--color--ink, #1f1a19);
}
.montana-map__canvas .leaflet-popup-content strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--th--preset--color--primary, #a61b1b);
  letter-spacing: 0.02em;
}
.montana-map__canvas .leaflet-popup-content span {
  color: var(--th--preset--color--muted, #4d4d4d);
}
.montana-map__canvas .leaflet-popup-tip {
  box-shadow: none;
  border: 1px solid var(--th--preset--color--divider, #e8e1e0);
}
.montana-map__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.montana-map__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--th--preset--color--muted, #4d4d4d);
}
.montana-map__fallback[hidden] {
  display: none;
}
.montana-map__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 1.5rem 1.15rem;
}
.montana-map__addr {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--th--preset--color--muted, #4d4d4d);
}
.montana-map__link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  color: var(--th--preset--color--primary, #a61b1b);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.montana-map__link:hover {
  color: var(--th--preset--color--primary-deep, #7c1111);
}
@media (max-width: 767px) {
  .montana-map {
    margin-top: 2rem;
  }
  .montana-map__frame {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }
  .montana-map__head,
  .montana-map__foot {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* ---------- 新闻正文：数据表 / 要点框 ---------- */
.montana-entry .cd-article__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0 2rem;
  font-size: 0.92rem;
  line-height: 1.65;
}
.montana-entry .cd-article__table th {
  text-align: left;
  font-weight: 600;
  color: var(--th--preset--color--contrast, #1f1f1f);
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 6%, transparent);
  border-bottom: 2px solid var(--th--preset--color--divider, #e8e1e0);
  padding: 0.75rem 0.9rem;
}
.montana-entry .cd-article__table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--th--preset--color--divider, #e8e1e0);
  vertical-align: top;
}
.montana-entry .cd-article__table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 767px) {
  .montana-entry .cd-article__table {
    display: block;
    overflow-x: auto;
    font-size: 0.86rem;
  }
  .montana-entry .cd-article__table th,
  .montana-entry .cd-article__table td {
    padding: 0.6rem 0.7rem;
    min-width: 120px;
  }
}

/* ---------- 首页：材料四层图标 ---------- */
.cd-layer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  color: var(--th--preset--color--primary, #a61b1b);
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 18%, transparent);
  transition: transform .25s ease, background-color .25s ease;
}
.montana-offer:hover .cd-layer-icon {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 14%, transparent);
}
.cd-layer-icon svg { display: block; }

/* ---------- 首页：客户评价滑动 ---------- */
.cd-quotes {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(1.8rem, 4.5vw, 3.4rem) clamp(1.2rem, 4vw, 3rem);
  background: transparent;
  border: 0;
  overflow: hidden;
}
.cd-quotes__viewport { overflow: hidden; }
.cd-quotes__track {
  display: flex;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.cd-quotes__slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 .5rem;
  text-align: center;
}
.cd-quotes__mark {
  width: 40px;
  height: 30px;
  margin: 0 auto 1.1rem;
  color: var(--th--preset--color--primary, #a61b1b);
  opacity: .38;
}
.cd-quotes__text {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--th--preset--font-family--playfair, Georgia, serif);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  line-height: 1.72;
  color: var(--th--preset--color--contrast, #1f1f1f);
}
.cd-quotes__avatar {
  width: 52px;
  height: 52px;
  margin: 1.5rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--th--preset--color--primary, #a61b1b);
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 18%, transparent);
}
.cd-quotes__author {
  margin: .85rem 0 0;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--th--preset--color--primary, #a61b1b);
}
.cd-quotes__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2rem;
}
.cd-quotes__nav {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--th--preset--color--divider, #e8e1e0);
  background: transparent;
  color: var(--th--preset--color--contrast, #1f1f1f);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.cd-quotes__nav:hover,
.cd-quotes__nav:focus-visible {
  color: var(--th--preset--color--primary, #a61b1b);
  border-color: var(--th--preset--color--primary, #a61b1b);
  background: color-mix(in srgb, var(--th--preset--color--primary, #a61b1b) 6%, transparent);
}
.cd-quotes__dots {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.cd-quotes__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--th--preset--color--divider, #e8e1e0);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.cd-quotes__dot.is-active {
  background: var(--th--preset--color--primary, #a61b1b);
  transform: scale(1.35);
}
@media (max-width: 767px) {
  .cd-quotes { padding: 1.6rem 1.1rem 1.5rem; }
  .cd-quotes__text { font-size: 1.02rem; line-height: 1.75; }
  .cd-quotes__controls { gap: .8rem; margin-top: 1.5rem; }
  .cd-quotes__nav { width: 38px; height: 38px; }
}

/* ---------- 表单发信状态提示 ---------- */
.montana-form__status {
  margin: 12px 0 0;
  font-size: .9rem;
  line-height: 1.6;
}
.montana-form__status.is-pending { color: var(--th--preset--color--muted, #7b8187); }
.montana-form__status.is-sent { color: var(--th--preset--color--primary, #a61b1b); }
.montana-form__status.is-error {
  color: #b3261e;
  background: rgba(179, 38, 30, .06);
  border-left: 3px solid #b3261e;
  padding: 8px 12px;
  border-radius: 4px;
}
.montana-form [type="submit"][disabled] { opacity: .65; cursor: progress; }

/* ---------- 感谢页 thank-you.html ---------- */
.cd-thanks {
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3.5rem, 9vw, 7.5rem);
}
.cd-thanks__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.cd-thanks__badge {
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--th--preset--color--primary, #a61b1b);
  color: var(--th--preset--color--on-primary, #fff);
  box-shadow: 0 16px 40px rgba(166, 27, 27, .26);
}
.cd-thanks__badge svg { width: 40px; height: 40px; }
.cd-thanks__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--th--preset--color--contrast, #1b1b1b);
}
.cd-thanks__lead {
  margin: 0 0 18px;
  font-size: 1.125rem;
  color: var(--th--preset--color--contrast, #1b1b1b);
}
.cd-thanks__text {
  max-width: 560px;
  margin: 0 auto 10px;
  line-height: 1.8;
  color: var(--th--preset--color--muted, #5a6169);
}
.cd-thanks__contact {
  margin: 20px 0 4px;
  font-size: 1.05rem;
  line-height: 1.95;
}
.cd-thanks__contact a {
  color: var(--th--preset--color--primary, #a61b1b);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.cd-thanks__contact a:hover { border-color: currentColor; }
.cd-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}
.cd-thanks__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--th--preset--color--primary, #a61b1b);
  color: var(--th--preset--color--on-primary, #fff);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.cd-thanks__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
}
.cd-thanks__btn--ghost {
  background: transparent;
  color: var(--th--preset--color--primary, #a61b1b);
  border-color: var(--th--preset--color--primary, #a61b1b);
}
.cd-thanks__btn--ghost:hover { box-shadow: none; background: rgba(166, 27, 27, .06); }

@media (max-width: 600px) {
  .cd-thanks__badge { width: 74px; height: 74px; margin-bottom: 22px; }
  .cd-thanks__badge svg { width: 32px; height: 32px; }
  .cd-thanks__actions { flex-direction: column; align-items: stretch; }
  .cd-thanks__btn { width: 100%; text-align: center; }
}

/* ============================================================
   数字单位排版说明（本轮最终结论）
   Raleway 时代：拉丁子集缺 U+00B2（²）/ U+33A1（㎡）字形，上标要靠 <sup> 兜底。
   换成 Nunito Sans 之后，U+00B2（²）是字体自带的正规上标字形，位置就在小写 m
   的右上角，与“+”的基线也一致，所以正文直接写 m² 即可，不再需要 <sup> 补丁。
   ============================================================ */
/* ============================================================
   正文字体：Raleway 换成 Nunito Sans（与中文站 www.chendashengye.cn 一致）
   Raleway 是几何风格字体，圆形字母上下刻意溢出、字重偏细，中文客户常觉得
   “数字高低不齐、字母底边不齐”。这里把拉丁字体换成 Nunito Sans（自托管，
   不依赖 Google CDN，国内访问也稳），中文仍由 Noto Sans SC / 苹方 / 微软雅黑 兜底。
   ============================================================ */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(../fonts/nunito-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --th--preset--font-family--raleway: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}