:root {
  --bg: #f6faf6;
  --panel: #ffffff;
  --text: #1e2a22;
  --muted: #6a786f;
  --line: #dbe8dd;
  --soft: #edf6ef;
  --accent: #6c8d71;
  --accent-strong: #4d6a53;
  --shadow: 0 16px 40px rgba(47, 73, 55, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(
    circle at top left,
    #f8fff8 0,
    #f6faf6 36%,
    #f2f7f3 100%
  );
  color: var(--text);
  min-height: 100vh;
}

.nav-grid a,
.link {
  color: var(--accent-strong);
  text-decoration: none;
}

.seo-content {
  margin-top: 12px;
  text-align: center;
  max-width: 720px;
}

.seo-content h2 {
  margin-top: 3rem;
  font-size: 18px;
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.seo-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.feature-item {
  padding: 16px;
  background: var(--soft);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.feature-item .icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}
.feature-item .desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.faq-section {
  margin-top: 32px;
  text-align: left;
}
.faq-section h2 {
  font-size: 16px;
  color: var(--accent-strong);
  margin-bottom: 12px;
  text-align: center;
}
.faq-section details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-section summary {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-section .expand {
  color: var(--accent);
  font-size: 12px;
}
.faq-section .answer {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.keyword-links {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.keyword-links p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}

.shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(127, 165, 134, 0.18),
    rgba(127, 165, 134, 0.02)
  );
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin: 0;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 680px;
}
.hero .sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 720px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.mini-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfefb, #f3f8f4);
}

.mini-panel h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.mini-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-minimal {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 42px 20px;
}
.hero-minimal::after {
  display: none;
}
.hero-minimal h1 {
  max-width: none;
  margin: 0;
}
.hero-actions-single {
  justify-content: center;
  margin-top: 28px;
}

button {
  border: 0;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
  font: inherit;
}

button:hover {
  transform: translateY(-1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(77, 106, 83, 0.18);
  font-weight: 700;
}

.btn-secondary {
  background: #fff;
  color: var(--accent-strong);
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.screen {
  display: none;
}
.screen.active {
  display: block;
}

.test-wrap,
.result-wrap {
  margin-top: 22px;
  padding: 22px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.progress {
  flex: 1;
  min-width: 240px;
  height: 10px;
  background: #edf3ee;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #97b59c, #5b7a62);
  border-radius: inherit;
  transition: width 0.22s ease;
}

.progress-text {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.question-list {
  display: grid;
  gap: 16px;
}

.question {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.question-title {
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.option:hover {
  border-color: #bcd0c1;
  background: #f8fcf9;
}

.option input {
  margin-top: 3px;
  accent-color: var(--accent-strong);
  transform: scale(1.1);
  flex-shrink: 0;
}

.option-code {
  font-weight: 800;
  color: var(--accent-strong);
  min-width: 22px;
}

.actions-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 6px;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.result-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.type-box,
.score-box,
.dim-box,
.top3-box,
.about-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.type-kicker {
  font-size: 12px;
  color: var(--accent-strong);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.type-name {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.type-subname {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.match {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 700;
}

.type-desc {
  margin-top: 18px;
  line-height: 1.85;
  font-size: 15px;
  color: #304034;
}

.score-box h3,
.dim-box h3,
.top3-box h3,
.about-box h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.score-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.score-item .k {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.score-item .v {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-strong);
}

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

.dim-pill {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.dim-pill .label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.dim-pill .value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-strong);
}

.top3-list {
  display: grid;
  gap: 10px;
}

.top3-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.top3-item strong {
  display: block;
  margin-bottom: 4px;
}

.top3-item span {
  color: var(--muted);
  font-size: 13px;
}

.top3-score {
  color: var(--accent-strong);
  font-weight: 800;
  white-space: nowrap;
}

.about-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.result-layout {
  display: grid;
  gap: 18px;
}
.result-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}
.poster-box,
.type-box,
.analysis-box,
.dim-box,
.note-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}
.poster-box {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at top right,
      rgba(127, 165, 134, 0.16),
      rgba(127, 165, 134, 0) 40%
    ),
    linear-gradient(180deg, #ffffff, #f7fbf8);
}
.poster-box::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(127, 165, 134, 0.12),
    rgba(127, 165, 134, 0.01)
  );
  pointer-events: none;
}
.poster-image {
  width: 100%;
  min-height: 220px;
  max-height: 460px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}
.poster-box.no-image .poster-image {
  display: none;
}
.poster-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.type-kicker {
  font-size: 12px;
  color: var(--accent-strong);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.type-name {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.type-subname {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.match {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}
.analysis-box h3,
.dim-box h3,
.note-box h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.result-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}
.analysis-box p {
  margin: 0;
  color: #304034;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
}
.dim-list {
  display: grid;
  gap: 12px;
}
.dim-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}
.dim-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.dim-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dim-item-score {
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.dim-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.note-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.author-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
  overflow: hidden;
}
.author-box summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.author-box summary::-webkit-details-marker {
  display: none;
}
.author-box summary::after {
  content: "展开";
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 6px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.author-box[open] summary::after {
  content: "收起";
}
.author-content {
  border-top: 1px solid var(--line);
  padding: 0 18px 18px;
}
.author-content p {
  margin: 14px 0 0;
  color: #304034;
  font-size: 14px;
  line-height: 1.9;
}

.result-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
@media (max-width: 860px) {
  .result-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .result-hero {
    grid-template-columns: 1fr;
  }
  .dim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .shell {
    padding: 14px 12px 42px;
  }
  .hero,
  .test-wrap,
  .result-wrap {
    padding: 16px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .question-title {
    font-size: 15px;
  }
  .dim-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }
}

/* 导航菜单样式 */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-brand {
  font-weight: 800;
}

.nav-logo {
  font-size: 24px;
  color: var(--accent-strong);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.16s ease;
}

.nav-link:hover {
  color: var(--accent-strong);
  background: var(--soft);
}

.nav-link.active {
  color: var(--accent-strong);
  background: var(--soft);
  border: 1px solid var(--line);
}

@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* 页面专属样式 */
.type-hero {
  padding: 0;
  overflow: hidden;
}

.type-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
}

.type-hero-image {
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.type-hero-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(127, 165, 134, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.type-hero-image img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(47, 73, 55, 0.15));
}

.type-hero-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.type-hero-badge {
  display: inline-flex;
  align-self: flex-start;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: #333;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.type-hero-cn {
  font-size: 0.6em;
  color: var(--muted);
  font-weight: 600;
}

.type-hero-tagline {
  font-size: 18px;
  color: var(--accent-strong);
  font-style: italic;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.type-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-item {
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.type-hero-summary {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

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

/* 分析区块 */
.analysis-section {
  padding: 32px;
}

.section-title {
  font-size: 20px;
  color: var(--accent-strong);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.analysis-content p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
  text-align: justify;
}

.analysis-content p:last-child {
  margin-bottom: 0;
}

/* 维度网格 */
.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.dimension-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  transition: all 0.2s ease;
}

.dimension-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(77, 106, 83, 0.08);
}

.dim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dim-name {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.dim-level {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-strong);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.dim-bar {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.dim-fill {
  height: 100%;
  background: linear-gradient(90deg, #97b59c, #5b7a62);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.dim-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* 职业网格 */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.career-category h3 {
  font-size: 16px;
  color: var(--accent-strong);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.career-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-category li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.career-category li:last-child {
  border-bottom: none;
}

.career-category strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* 成长路径 */
.growth-path {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.growth-stage {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--soft);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.stage-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-strong);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 12px;
  flex-shrink: 0;
}

.stage-content h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.stage-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* 警告区块 */
.analysis-section.warning {
  background: linear-gradient(180deg, #fff9f9 0%, #fff 100%);
  border: 1px solid #f0d5d5;
}

.analysis-section.warning .section-title {
  color: #c44;
}

/* 页面导航 */
.page-nav {
  padding: 24px;
}

.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.nav-prev,
.nav-next,
.nav-all {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-prev,
.nav-next {
  border: 1px solid var(--line);
  background: #fff;
}

.nav-prev:hover,
.nav-next:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.nav-all {
  background: var(--accent-strong);
  color: #fff;
  text-align: center;
}

.nav-all:hover {
  background: var(--accent);
}

.nav-label {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.nav-type {
  font-size: 14px;
  font-weight: 700;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

@media (max-width: 860px) {
  .type-hero-grid {
    grid-template-columns: 1fr;
  }

  .type-hero-image {
    padding: 32px;
    min-height: 280px;
  }

  .type-hero-info {
    padding: 28px;
  }

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

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

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

  .nav-all {
    order: -1;
  }
}
