.detail-page-body {
  background:
    radial-gradient(circle at top center, rgba(242, 162, 51, 0.12), transparent 28%),
    #eceef3;
}

.detail-page-shell {
  padding: 24px 0 42px;
}

.detail-hero-panel {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: center/cover no-repeat;
  box-shadow: 0 26px 56px rgba(17, 20, 31, 0.18);
  overflow: hidden;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 23, 0.9) 0%, rgba(12, 15, 23, 0.68) 48%, rgba(12, 15, 23, 0.34) 100%),
    linear-gradient(180deg, rgba(12, 15, 23, 0.08) 0%, rgba(12, 15, 23, 0.76) 100%);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 48px));
  padding: 42px 0 42px 38px;
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0;
  color: #f7f9fd;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.detail-copy {
  margin: 16px 0 0;
  color: rgba(236, 240, 249, 0.9);
  font-size: 16px;
  line-height: 1.8;
}

.detail-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.detail-button:hover,
.detail-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.detail-button-primary {
  background: var(--accent);
  color: #171b24;
  box-shadow: 0 16px 30px rgba(242, 162, 51, 0.22);
}

.detail-button-primary:hover,
.detail-button-primary:focus-visible {
  box-shadow:
    0 0 0 1px rgba(255, 225, 180, 0.28),
    0 0 24px rgba(242, 162, 51, 0.22),
    0 16px 30px rgba(242, 162, 51, 0.22);
}

.detail-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
}

.detail-button-secondary:hover,
.detail-button-secondary:focus-visible {
  background: rgba(242, 162, 51, 0.18);
  box-shadow:
    0 0 0 1px rgba(242, 162, 51, 0.28),
    0 0 22px rgba(242, 162, 51, 0.16);
}

.detail-panel {
  margin-top: 18px;
  border: 1px solid #d8dce4;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(17, 20, 31, 0.08);
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid #d8dce4;
  background: #fbfcff;
}

.detail-nav:empty {
  display: none;
}

.detail-nav-link {
  min-width: 106px;
  min-height: 40px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f3f8;
  color: #4f5f82;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.detail-nav-link:hover,
.detail-nav-link:focus-visible,
.detail-nav-link.is-active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 10px 22px rgba(17, 20, 31, 0.08);
  transform: translateY(-1px);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 0;
  padding: 18px;
}

.detail-main {
  min-width: 0;
  padding-right: 24px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 16px;
  color: #6c7386;
  font-size: 12px;
  font-weight: 700;
}

.detail-back:hover,
.detail-back:focus-visible {
  color: var(--accent);
}

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

.detail-highlight-card {
  padding: 14px 16px;
  border: 1px solid #e2e6ee;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.detail-highlight-label {
  display: block;
  margin-bottom: 6px;
  color: #8a91a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-highlight-value {
  color: #31446f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-article {
  margin-top: 20px;
}

.detail-article-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-article-title {
  margin: 0;
  color: #27457b;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.detail-article-body {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  color: #4d5670;
  font-size: 17px;
  line-height: 1.85;
}

.detail-article-body p {
  margin: 0;
}

.detail-side {
  border-left: 1px solid #d8dce4;
  padding-left: 18px;
}

.detail-side-title {
  margin: 0 0 12px;
  color: #33415f;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-side-link {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #d8dce4;
  background: #ffffff;
  color: #3f4b69;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.detail-side-link:hover,
.detail-side-link:focus-visible,
.detail-side-link.is-active {
  color: var(--accent);
  border-color: rgba(242, 162, 51, 0.5);
  box-shadow: 0 12px 24px rgba(17, 20, 31, 0.08);
  transform: translateY(-1px);
}

.detail-side-link-title {
  font-size: 12px;
  font-weight: 700;
}

.detail-side-link-note {
  color: #8a91a2;
  font-size: 11px;
}

@media (max-width: 920px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-main {
    padding-right: 0;
  }

  .detail-side {
    margin-top: 18px;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid #d8dce4;
  }
}

@media (max-width: 720px) {
  .detail-page-shell {
    padding-top: 12px;
  }

  .detail-hero-panel {
    min-height: 320px;
  }

  .detail-hero-content {
    width: min(100% - 24px, 100%);
    padding: 26px 0 28px 16px;
  }

  .detail-nav {
    padding: 12px;
  }

  .detail-nav-link {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

  .detail-layout {
    padding: 14px;
  }

  .detail-highlight-grid {
    grid-template-columns: 1fr;
  }
}
