:root {
  --detail-bg: #f5f6fb;
  --detail-text: #111628;
  --detail-muted: #6a7083;
  --detail-border: rgba(17, 22, 40, 0.1);
  --detail-orange: #ff6a00;
  --detail-orange-light: #ff9244;
  --detail-dark: #0b0f17;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

section,
nav {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.breadcrumb {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 8px;
  font-size: 0.95rem;
  color: var(--detail-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--detail-text);
  text-decoration: none;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--detail-muted);
  margin-right: 8px;
}

.detail-hero {
  width: 100%;
  margin: 32px 0;
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(11, 15, 23, 0.9));
  color: #fff;
  position: relative;
}

.detail-hero__inner {
  width: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.detail-hero::after { content: none; pointer-events: none; }

.side { align-self: center; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0 0 12px;
}

.hero-content h1 {
  margin: 0 0 26px;
  font-size: 2.6rem;
}

.hero-content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-metrics span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-metrics strong {
  font-size: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-hero .btn,
.detail-section .btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-hero .btn.primary,
.detail-section .btn.primary {
  background: linear-gradient(135deg, var(--detail-orange), var(--detail-orange-light));
  color: #fff;
  box-shadow: 0 18px 32px rgba(255, 106, 0, 0.3);
}

.detail-hero .btn.ghost,
.detail-section .btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.detail-hero .btn:hover,
.detail-section .btn:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
}

.hero-slider {
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.slides { 
  position: relative; 
  aspect-ratio: 16 / 9; 
  min-height: 420px; 
  margin: 0;
  display: block;
}

.slides img,
.slides .slide-item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity 0.35s ease; }

.slides img.is-active,
.slides .slide-item.is-active {
  opacity: 1;
}

/* 视频幻灯片样式 */
.slides .video-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slides .video-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 0;
}

.slides .video-slide .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.slides .video-slide.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 106, 0, 0.9);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 32px rgba(255, 106, 0, 0.4);
}

.video-play-btn:hover {
  transform: scale(1.08);
  background: var(--detail-orange);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* 视频指示点 */
.dot.dot-video {
  position: relative;
}

.dot.dot-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 4px solid rgba(255,255,255,0.9);
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}

.slider-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.prev { left: 12px; }
.next { right: 12px; }

.dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
  background: rgba(0,0,0,0.25);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(3px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.detail-nav {
  background: #fff;
  border: 1px solid var(--detail-border);
  border-radius: 999px;
  padding: 14px;
  max-width: 900px;
  margin: -40px auto 24px;
  box-shadow: 0 20px 50px rgba(15, 20, 40, 0.12);
  position: sticky;
  top: calc(72px + 12px);
  z-index: 30;
}

.detail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.detail-nav a {
  text-decoration: none;
  color: var(--detail-muted);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-nav a.is-active {
  background: rgba(255, 106, 0, 0.12);
  color: var(--detail-text);
}

.detail-section {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 16px;
  /* 让锚点滚动时预留空间，避免 H2 被粘性导航遮挡 */
  scroll-margin-top: 160px;
}

.detail-section header {
  max-width: 640px;
  margin-bottom: 28px;
}

.detail-section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--detail-orange);
  font-size: 0.85rem;
  margin: 0 0 10px;
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: var(--detail-text);
}

.detail-section header p {
  margin: 0;
  color: var(--detail-muted);
  line-height: 1.8;
}

.changelog-toggle { margin: 0 0 8px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.changelog-toggle::after { 
  content: "›"; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,106,0,0.6);
  background: rgba(255,106,0,0.1);
  color: var(--detail-orange);
  font-size: 14px;
  font-weight: 900;
  transform-origin: center; 
  transition: transform 0.2s ease, background 0.2s ease;
}
.changelog-toggle[aria-expanded="true"]::after { transform: rotate(90deg); }
.changelog-toggle:hover { text-decoration: none; filter: brightness(1.05); }
.log-list { display: grid; gap: 12px; margin-top: 12px; }
.log-list[hidden] { display: none !important; }
.log-list details { background: transparent; border: none; padding: 6px 0 6px 16px; position: relative; }
.log-list summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 160px auto; gap: 12px; align-items: baseline; padding-left: 8px; }
.log-list summary::-webkit-details-marker { display: none; }
.log-list time { color: var(--detail-muted); font-variant-numeric: tabular-nums; }
.log-entry { color: var(--detail-text); margin: 8px 0 0 29px; line-height: 1.7; }
.log-timeline { position: relative; }
.log-timeline::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: rgba(17,22,40,0.1); }
.log-timeline details::before { content: ""; position: absolute; left: 2px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--detail-orange); }

/* 表格样式 - 软件详情页 */
.detail-section table,
.intro table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 20, 40, 0.08);
  border: 1px solid var(--detail-border);
}

/* 表头样式 - 有thead时应用到thead */
.detail-section thead,
.intro thead {
  background: linear-gradient(135deg, var(--detail-orange), var(--detail-orange-light));
  color: #fff;
}

.detail-section thead th,
.detail-section thead td,
.intro thead th,
.intro thead td {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  border-bottom: none;
}

/* 表头样式 - 无thead时应用到第一行 */
.detail-section table:not(:has(thead)) tr:first-child,
.intro table:not(:has(thead)) tr:first-child {
  background: linear-gradient(135deg, var(--detail-orange), var(--detail-orange-light));
  color: #fff;
}

.detail-section table:not(:has(thead)) tr:first-child td,
.intro table:not(:has(thead)) tr:first-child td {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  border-bottom: none;
}

/* 表头悬停时保持原样 */
.detail-section thead tr:hover,
.intro thead tr:hover,
.detail-section table:not(:has(thead)) tr:first-child:hover,
.intro table:not(:has(thead)) tr:first-child:hover {
  background: linear-gradient(135deg, var(--detail-orange), var(--detail-orange-light)) !important;
}

.detail-section th,
.intro th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.detail-section td,
.intro td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--detail-border);
  color: var(--detail-text);
  font-size: 0.95rem;
}

.detail-section tbody tr:last-child td,
.intro tbody tr:last-child td,
.detail-section table:not(:has(thead)) tr:last-child td,
.intro table:not(:has(thead)) tr:last-child td {
  border-bottom: none;
}

/* 斑马纹 - 有thead时从tbody开始，无thead时跳过第一行 */
.detail-section tbody tr:nth-child(even),
.intro tbody tr:nth-child(even) {
  background: rgba(245, 246, 251, 0.6);
}

.detail-section table:not(:has(thead)) tr:nth-child(even):not(:first-child),
.intro table:not(:has(thead)) tr:nth-child(even):not(:first-child) {
  background: rgba(245, 246, 251, 0.6);
}

/* 悬停效果 - 排除表头 */
.detail-section tbody tr:hover,
.intro tbody tr:hover {
  background: rgba(255, 106, 0, 0.04);
}

.detail-section table:not(:has(thead)) tr:hover:not(:first-child),
.intro table:not(:has(thead)) tr:hover:not(:first-child) {
  background: rgba(255, 106, 0, 0.04);
}

.detail-section table code,
.intro table code {
  background: rgba(255, 106, 0, 0.1);
  color: var(--detail-orange);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

@media (max-width: 768px) {
  .detail-section table,
  .intro table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .detail-section th,
  .detail-section td,
  .intro th,
  .intro td {
    padding: 12px 14px;
    white-space: nowrap;
  }
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.matrix-grid article {
  border-radius: 24px;
  border: 1px solid var(--detail-border);
  padding: 24px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 20, 34, 0.08);
}

.matrix-grid h3 {
  margin: 0 0 12px;
  color: var(--detail-text);
}

.matrix-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--detail-muted);
  line-height: 1.6;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-list article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--detail-border);
  box-shadow: 0 25px 50px rgba(15, 20, 40, 0.08);
}

.case-visual figure {
  margin: 0;
  padding: 0;
}
.case-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(15, 20, 40, 0.2);
}

.case-content h3 {
  margin: 0 0 12px;
  color: var(--detail-text);
}

.case-content p {
  margin: 0 0 12px;
  color: var(--detail-muted);
  line-height: 1.7;
}

.case-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--detail-text);
}

.compare-table {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--detail-border);
  background: #fff;
  box-shadow: 0 25px 50px rgba(15, 20, 40, 0.08);
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.compare-header {
  background: rgba(255, 106, 0, 0.12);
  font-weight: 700;
}

.compare-header div,
.compare-row div {
  padding: 18px 24px;
  border-bottom: 1px solid var(--detail-border);
}

.compare-row:last-child div {
  border-bottom: none;
}

.deployment .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(17, 22, 40, 0.15);
}

.timeline li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 32px;
}

.timeline li span {
  position: absolute;
  left: -16px;
  top: 0;
  transform: translate(-50%, 0);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--detail-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.timeline h3 {
  margin: 0 0 6px;
  color: var(--detail-text);
}

.timeline p {
  margin: 0;
  color: var(--detail-muted);
  line-height: 1.7;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--detail-border);
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-panel {
  background: #fff;
  border: 1px solid var(--detail-border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 14px 18px;
  color: var(--detail-muted);
}

.faq-trigger::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--detail-muted); }
.faq-trigger[aria-expanded="true"]::after { content: "−"; }

.tutorials-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.tutorials-grid .tutorial-list { display: grid; gap: 10px; }
.tutorial-link { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--detail-border); border-radius: 10px; text-decoration: none; color: var(--detail-text); font-weight: 700; }
.tutorial-link::before { content: "📘"; display: inline-block; }
.tutorial-link:hover { border-color: rgba(255,106,0,0.35); color: var(--detail-orange); }

.tutorial-video { 
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.tutorial-video video {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 18px 40px rgba(15, 20, 40, 0.15);
  background: #000;
  min-height: 200px;
}

/* 视频播放覆盖层 */
.tutorial-video .video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tutorial-video .video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.45);
}

.tutorial-video.is-playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.tutorial-video .play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--detail-orange), var(--detail-orange-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.5);
  transition: transform 0.2s ease;
}

.tutorial-video .video-play-overlay:hover .play-icon {
  transform: scale(1.1);
}

.tutorial-video .play-icon svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.service-cards article {
  background: #fff;
  border: 1px solid var(--detail-border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(15, 20, 40, 0.06);
  position: relative;
}
.service-cards article h3 { margin: 0 0 8px; font-size: 1.05rem; }
.service-cards article p { margin: 0; color: var(--detail-muted); }
.service-cards article ul { margin: 8px 0 0; padding-left: 18px; }
.service-cards article::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: linear-gradient(180deg, var(--detail-orange), var(--detail-orange-light)); border-radius: 3px; }

.detail-cta {
  max-width: 1100px;
  margin: 80px auto 120px !important;
  display: block;
  clear: both;
  background: var(--detail-dark) !important;
  color: #fff;
  border-radius: 30px;
  padding: 40px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-cta h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 删除与 detail-cta 相关样式 */
/* 推荐软件 */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
aside.detail-section {
  margin-top: 0;
}

.rec-card {
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: var(--detail-text);
  transition: all 0.2s ease;
}
.rec-card > a {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--detail-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  box-shadow: 0 16px 36px rgba(15, 20, 40, 0.08);
  transition: all 0.2s ease;
}

.rec-card:hover > a {
  border-color: var(--detail-orange);
  box-shadow: 0 20px 40px rgba(255, 106, 0, 0.15);
  transform: translateY(-2px);
}
.rec-card > a:hover {
  text-decoration: none;
}
.rec-card img,
.rec-card > a img { 
  width: 84px; 
  height: 84px; 
  object-fit: cover; 
  border-radius: 12px; 
  display: block;
}
.rec-card > a > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rec-card h3,
.rec-card > a h3 { 
  margin: 0 0 4px; 
  font-size: 1rem; 
  line-height: 1.4;
}
.rec-card p,
.rec-card > a p { 
  margin: 0; 
  color: var(--detail-muted); 
}
.rec-card .card-tags,
.rec-card > a .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  color: var(--detail-orange, #ff6a00);
  font-weight: 600;
}
.rec-card .card-tags span,
.rec-card > a .card-tags span {
  background: rgba(255, 106, 0, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
}
/* 图片灯箱 */
.lightbox { position: fixed; inset: 0; display: none; z-index: 2000; }
.lightbox.open { display: flex; align-items: center; justify-content: center; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.lightbox-body { position: relative; max-width: min(92vw, 1200px); max-height: 86vh; margin: 0; }
.lightbox-body img { display: block; max-width: 100%; max-height: 86vh; border-radius: 8px; background: #000; }
.lightbox-caption { text-align: center; color: #fff; margin-top: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3); color: #fff; cursor: pointer;
}
.lightbox-close { top: -48px; right: 0; transform: none; }
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

@media (max-width: 1024px) {
  .detail-hero__inner { width: 86%; grid-template-columns: 1fr; }
  .detail-hero::after { width: 86%; }

  .detail-nav {
    border-radius: 24px;
  }

  .case-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .detail-hero { padding: 24px 0; }
  .detail-hero__inner { width: 92%; }

  .detail-nav ul {
    justify-content: flex-start;
  }

  .detail-nav {
    overflow-x: auto;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}

