/* ==========================================================================
   91泡芙 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #17161A;
  --ink-soft: #3B3940;
  --paper: #F6F3EC;
  --card: #FFFFFF;
  --red: #E8492C;
  --green: #2F6B5F;
  --muted: #8A867C;
  --line: #D9D4C7;
  --line-strong: #B9B3A4;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --wrap: 1120px;
  --gap: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   layout · 页头与导航
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover {
  color: var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-soft);
  position: relative;
}

.nav-item > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease;
}

.nav-item > a:hover::after,
.nav-item > a.is-current::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger[aria-expanded="true"]::after,
.nav-item.is-current .nav-dropdown-trigger::after {
  right: 0;
}

.nav-item > a.is-current,
.nav-item.is-current > a {
  color: var(--ink);
  font-weight: 700;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.nav-dropdown-trigger[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 208px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  display: none;
  z-index: 120;
}

.nav-dropdown.is-open {
  display: block;
}

.nav-dropdown li {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-radius: 4px;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--paper);
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  padding: 8px 24px 20px;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list > li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  color: var(--ink);
}

.mobile-nav-list a.is-current {
  color: var(--red);
  font-weight: 700;
}

.mobile-nav-group > a {
  font-weight: 700;
}

.mobile-sub-list {
  padding: 0 0 8px 16px;
}

.mobile-sub-list a {
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   layout · 主体容器与内页骨架
   -------------------------------------------------------------------------- */

.site-main {
  display: block;
  width: 100%;
}

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--muted);
}

.page-header {
  padding: 18px 0 0;
}

.page-title {
  font-size: 44px;
  line-height: 1.22;
  color: var(--ink);
  max-width: 860px;
}

.page-head {
  padding: 22px 0 0;
}

.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.page-title-main {
  max-width: 720px;
}

.page-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-index {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--line-strong);
  white-space: nowrap;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 320px);
  gap: 80px;
  align-items: start;
  padding-top: 34px;
}

.page-content {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.page-container {
  padding-top: 30px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.page-body {
  padding-top: 40px;
}

/* --------------------------------------------------------------------------
   layout · 页脚
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--ink);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 52px 24px 32px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 40px;
}

.footer-col-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-link-list li {
  margin-bottom: 9px;
}

.footer-link-list a {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-link-list a:hover {
  color: var(--red);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand-line {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   components · 通用区块与标题
   -------------------------------------------------------------------------- */

.section {
  margin-top: 88px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2,
.section-title,
.section-head .section-title {
  font-size: 28px;
  line-height: 1.32;
  color: var(--ink);
}

.section-desc,
.section-intro {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.block-title-sm {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.channel-tag {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 3px;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.tag-channel {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #C93A20;
  border-color: #C93A20;
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.link-more,
.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.link-more:hover,
.text-link:hover {
  color: var(--ink);
}

/* 折叠问答 */
.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--red);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 0 20px;
  max-width: 700px;
}

.faq-answer p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 表格 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.data-table {
  min-width: 100%;
  font-size: 15px;
}

.data-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody td,
.data-table tbody th {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: 0;
}

.data-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

/* 编号步骤（guide / check） */
.step-list {
  border-top: 1px solid var(--ink);
}

.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--red);
}

.step-body {
  min-width: 0;
}

.step-body h3,
.step-title {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.step-body p,
.step-note {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-loc {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* 纵向编号（specials / feedback） */
.order-steps {
  border-top: 1px solid var(--ink);
}

.order-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.order-step-num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--red);
}

.order-step-body {
  min-width: 0;
}

.order-step-body h3,
.order-step-title {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.order-step-body p,
.order-step-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 图片容器通用 */
.hero-figure img,
.special-feature-media img,
.feature-media img,
.channel-detail-figure img,
.sample-figure img,
.special-figure img,
.steps-figure img,
.check-figure img,
.feedback-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 相关链接条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.related-links-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.related-links-item {
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: var(--red);
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero {
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-side {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.hero-figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.hero-schedule {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.hero-schedule .block-title-sm {
  margin-bottom: 12px;
}

.schedule-list {
  display: grid;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.schedule-item:last-child {
  border-bottom: 0;
}

.schedule-date {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
}

.channel-tag-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.channel-tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  font-size: 13.5px;
  color: var(--green);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}

.channel-tag-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(47, 107, 95, 0.06);
}

/* 频道索引速览 */
.channel-row-list {
  border-top: 1px solid var(--ink);
}

.channel-row {
  display: grid;
  grid-template-columns: 56px minmax(150px, 1fr) minmax(0, 2fr) minmax(120px, auto);
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.channel-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--line-strong);
}

.channel-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.channel-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-topic-link {
  justify-self: end;
  font-size: 14px;
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
}

.channel-topic-link:hover {
  color: var(--ink);
}

/* 专题精选 */
.special-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}

.special-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.special-feature-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.special-feature-body {
  min-width: 0;
}

.special-feature-title {
  font-size: 24px;
  line-height: 1.4;
  margin: 12px 0 10px;
}

.special-feature-body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.special-secondary {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.special-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.special-row-title {
  font-size: 19px;
  line-height: 1.45;
  margin: 10px 0 8px;
}

.special-row p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 视频卡片样本 */
.video-samples-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.video-samples-intro {
  min-width: 0;
}

.video-samples-intro h2 {
  font-size: 28px;
  line-height: 1.32;
  margin-bottom: 14px;
}

.video-samples-intro p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.video-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}

.video-card:hover {
  border-color: var(--ink);
}

.video-card-title {
  font-size: 17px;
  line-height: 1.45;
}

.video-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 观看准备三步 */
.prep-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}

.prep-step {
  min-width: 0;
}

.prep-step .step-num {
  display: block;
  margin-bottom: 10px;
}

.prep-step-title {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.prep-step p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.prep-step-point {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--green);
}

/* 入口核对要点 */
.check-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.check-col {
  min-width: 0;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-col-title {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.check-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* 近期归档片段 */
.archive-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.archive-group {
  min-width: 0;
}

.archive-date {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.archive-items li,
.archive-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
}

.archive-items li:last-child,
.archive-item:last-child {
  border-bottom: 0;
}

.archive-item a {
  color: var(--ink-soft);
}

.archive-item a:hover {
  color: var(--red);
}

/* 意见反馈入口 */
.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.feedback-copy {
  min-width: 0;
}

.feedback-copy h2 {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.feedback-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.feedback-links {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feedback-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
}

.feedback-link::after {
  content: "→";
  float: right;
  color: var(--red);
}

.feedback-link:hover {
  color: var(--red);
}

.home-main .faq-section {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   pages · 今日头条
   -------------------------------------------------------------------------- */

.updates-table .cell-date {
  font-family: var(--serif);
  white-space: nowrap;
  color: var(--ink);
}

.updates-table .cell-name {
  font-weight: 700;
  color: var(--ink);
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.feature-media figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-body {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.feature-body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.archive-section .archive-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.archive-section .archive-group:first-of-type {
  border-top: 1px solid var(--ink);
}

.archive-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.archive-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.aside-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.aside-block {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.aside-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-subtitle {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.aside-block p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 频道索引
   -------------------------------------------------------------------------- */

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.page-hero-main {
  max-width: 720px;
}

.page-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero-no {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--line-strong);
}

.channel-table-section,
.channel-detail-section,
.channel-advice-section,
.channel-advice-section,
.related-links-section {
  margin-top: 64px;
}

.channel-table .col-no {
  font-family: var(--serif);
  white-space: nowrap;
  color: var(--muted);
}

.channel-table .col-name {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.channel-detail {
  display: grid;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.channel-detail:first-of-type {
  border-top: 1px solid var(--ink);
}

.channel-detail.detail-media-left {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.channel-detail.detail-media-right {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.channel-detail.detail-media-right .channel-detail-figure {
  order: 2;
}

.channel-detail.detail-media-right .channel-detail-body {
  order: 1;
}

.channel-detail.detail-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.channel-detail-figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.channel-detail-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.channel-detail-body {
  min-width: 0;
}

.channel-detail-body h3 {
  font-size: 23px;
  line-height: 1.4;
  margin: 10px 0 12px;
}

.channel-detail-body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.channel-sample {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--card);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.sample-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green);
}

.advice-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.advice-col {
  min-width: 0;
}

.advice-col-title {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.advice-list {
  counter-reset: advice;
}

.advice-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  counter-increment: advice;
}

.advice-list li:last-child {
  border-bottom: 0;
}

.advice-list li::before {
  content: counter(advice, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--red);
}

.advice-list-warn li::before {
  color: var(--muted);
}

.related-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-link-list a {
  display: block;
  padding: 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s ease;
}

.related-link-list a:hover {
  border-color: var(--ink);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.specials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.special-card {
  min-width: 0;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.special-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 10px 0 8px;
}

.special-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.special-card-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.special-card-lead .special-figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

.special-card-lead .special-figure img {
  border-radius: 0;
}

.special-card-lead .special-body {
  min-width: 0;
  padding: 24px 24px 24px 0;
}

.special-card-lead h3 {
  font-size: 26px;
  line-height: 1.35;
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.sample-figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.sample-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.sample-list-wrap {
  min-width: 0;
}

.sample-list {
  border-top: 1px solid var(--ink);
}

.sample-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.sample-num {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--red);
}

.sample-text {
  min-width: 0;
}

.sample-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.map-table {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-caption {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.map-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.map-table tbody th,
.map-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.map-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.map-table tbody tr:last-child th,
.map-table tbody tr:last-child td {
  border-bottom: 0;
}

.map-foot {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.map-foot a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.map-foot a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 观看手册
   -------------------------------------------------------------------------- */

.prepare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.prepare-item {
  min-width: 0;
}

.prepare-item h3 {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.prepare-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.steps-figure {
  margin-bottom: 26px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.steps-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.deviation-table {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.deviation-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.deviation-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.deviation-table tbody tr:last-child td {
  border-bottom: 0;
}

.device-list {
  border-top: 1px solid var(--ink);
}

.device-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.device-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.aside-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-key {
  font-weight: 700;
  color: var(--ink);
}

.aside-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages · 入口核对
   -------------------------------------------------------------------------- */

.title-block {
  padding: 22px 0 0;
}

.title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.title-main {
  max-width: 720px;
}

.title-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.title-index {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--line-strong);
  white-space: nowrap;
}

.check-grid,
.check-steps,
.check-table-block,
.check-record {
  margin-top: 64px;
}

.check-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.check-card {
  min-width: 0;
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-card-num {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--red);
}

.check-card-title {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.check-card-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.check-card-signal {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.check-figure {
  margin-top: 32px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.check-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.check-table {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.check-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.check-table tbody td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.check-table tbody tr:last-child td {
  border-bottom: 0;
}

.record-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.record-item {
  min-width: 0;
}

.record-title {
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.record-item p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-related {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 14.5px;
}

.check-related a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.check-related a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 意见反馈
   -------------------------------------------------------------------------- */

.feedback-types,
.feedback-elements,
.feedback-order,
.feedback-scope,
.feedback-faq {
  padding-top: 56px;
}

.feedback-types .section-head,
.feedback-elements .section-head,
.feedback-order .section-head,
.feedback-scope .section-head,
.feedback-faq .section-head {
  margin-bottom: 24px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.type-card {
  min-width: 0;
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.type-card-title {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.type-card-def {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.type-card-example {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.elements-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.feedback-figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.feedback-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.element-list {
  min-width: 0;
  border-top: 1px solid var(--ink);
}

.element-item {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
}

.element-name {
  font-weight: 700;
  color: var(--ink);
}

.element-desc {
  color: var(--ink-soft);
}

.scope-list {
  border-top: 1px solid var(--ink);
}

.scope-item {
  position: relative;
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.scope-item::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.scope-note {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.scope-note a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.scope-note a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 24px 96px;
}

.error-code {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--line-strong);
}

.error-title {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.error-lead {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.error-paths {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.error-path-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.error-path-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.error-path-list a {
  font-weight: 700;
  color: var(--ink);
}

.error-path-list a:hover {
  color: var(--red);
}

.error-path-list span {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .page-title {
    font-size: 36px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .page-aside {
    max-width: 720px;
  }

  .hero-grid {
    gap: 40px;
  }

  .special-layout,
  .video-samples-grid,
  .feedback-grid,
  .sample-layout,
  .elements-layout {
    gap: 32px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 22px;
  }

  .hero-grid,
  .special-layout,
  .video-samples-grid,
  .feedback-grid,
  .feature-block,
  .sample-layout,
  .elements-layout,
  .channel-detail.detail-media-left,
  .channel-detail.detail-media-right,
  .special-card-lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-card-lead .special-body {
    padding: 0 22px 24px;
  }

  .channel-detail.detail-media-right .channel-detail-figure {
    order: 0;
  }

  .channel-detail.detail-media-right .channel-detail-body {
    order: 1;
  }

  .video-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prep-step-list,
  .check-columns,
  .archive-groups,
  .prepare-grid,
  .record-list,
  .related-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prep-step-list .prep-step:last-child,
  .check-columns .check-col:last-child,
  .archive-groups .archive-group:last-child,
  .prepare-grid .prepare-item:last-child,
  .record-list .record-item:last-child,
  .related-link-list li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body.site-body {
    font-size: 16px;
  }

  .header-inner,
  .home-main,
  .inner-main,
  .container,
  .footer-inner,
  .error-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-title {
    font-size: 30px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-lead,
  .page-lead,
  .title-lead {
    font-size: 16.5px;
  }

  .hero-kicker {
    margin-bottom: 12px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-side {
    gap: 22px;
  }

  .section {
    margin-top: 56px;
  }

  .section-head h2,
  .section-title,
  .video-samples-intro h2 {
    font-size: 22px;
  }

  .section-desc,
  .section-intro {
    font-size: 15px;
  }

  .page-head,
  .title-block {
    padding-top: 16px;
  }

  .page-title-row,
  .title-row,
  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
  }

  .page-index,
  .title-index,
  .page-hero-no {
    font-size: 28px;
  }

  .page-layout {
    padding-top: 24px;
    gap: 36px;
  }

  .channel-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 16px 0;
  }

  .channel-num {
    grid-row: 1 / 3;
    align-self: start;
    font-size: 18px;
  }

  .channel-name {
    font-size: 17px;
  }

  .channel-desc {
    grid-column: 2;
    font-size: 14.5px;
  }

  .channel-topic-link {
    grid-column: 2;
    justify-self: start;
    font-size: 13.5px;
  }

  .video-card-list,
  .prep-step-list,
  .check-columns,
  .archive-groups,
  .advice-columns,
  .prepare-grid,
  .check-grid-inner,
  .type-grid,
  .record-list,
  .related-link-list,
  .specials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prep-step-list .prep-step:last-child,
  .check-columns .check-col:last-child,
  .archive-groups .archive-group:last-child,
  .prepare-grid .prepare-item:last-child,
  .record-list .record-item:last-child,
  .related-link-list li:last-child {
    grid-column: auto;
  }

  .special-card-lead {
    grid-column: auto;
  }

  .special-card-lead h3 {
    font-size: 22px;
  }

  .step-item,
  .order-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .step-num,
  .order-step-num {
    font-size: 24px;
  }

  .step-body h3,
  .step-title,
  .order-step-body h3,
  .order-step-title {
    font-size: 17px;
  }

  .element-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .sample-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .archive-items li,
  .archive-item,
  .archive-list li {
    grid-template-columns: auto minmax(0, 1fr);
    font-size: 14px;
  }

  .error-path-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .error-main {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-title {
    font-size: 28px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px 0;
  }

  .data-table,
  .map-table,
  .check-table,
  .deviation-table {
    font-size: 14px;
  }

  .data-table thead th,
  .data-table tbody td,
  .data-table tbody th,
  .map-table thead th,
  .map-table tbody th,
  .map-table tbody td,
  .check-table thead th,
  .check-table tbody td,
  .deviation-table thead th,
  .deviation-table tbody td {
    padding: 11px 12px;
  }

  .related-links {
    margin-top: 44px;
  }
}

@media (max-width: 390px) {
  .header-inner,
  .home-main,
  .inner-main,
  .container,
  .footer-inner,
  .error-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .page-title {
    font-size: 26px;
  }

  .brand {
    font-size: 20px;
  }

  .btn {
    padding: 0 16px;
    font-size: 14px;
  }

  .channel-tag-link {
    font-size: 13px;
    padding: 4px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
