.wd-wrap { max-width: 900px; margin: 0 auto; padding: 128px 22px 90px; }

.wd-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 30px; min-height: 48px;
  transition: color .2s var(--ease);
}
.wd-back:hover { color: var(--gold); }

.wd-head { margin-bottom: 30px; }
.wd-title {
  font-family: var(--font-ui); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(30px, 6vw, 50px); line-height: 1.06; margin: 12px 0 12px;
}
.wd-meta {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
}

.wd-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: linear-gradient(165deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--line); margin: 30px 0;
}
.wd-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wd-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(7,9,26,.6) 1px, transparent 1.4px); background-size: 4px 4px;
  transition: opacity .3s var(--ease);
}
.wd-media:hover::after, .wd-media:focus-within::after { opacity: .12; }

.wd-desc { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 68ch; margin: 30px 0; }

.wd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.wd-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
  background: var(--bg-card-2); transition: border-color .2s var(--ease), color .2s var(--ease);
}
.wd-tag:hover { border-color: var(--ink-3); color: var(--ink); }

.wd-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; margin-bottom: 44px; }
.wd-btn-outline {
  background: transparent; color: var(--ink-2); border: 1px solid var(--line);
}
.wd-btn-outline:hover { border-color: var(--ink-3); color: var(--ink); transform: translateY(-2px); }
.wd-btn-outline:active { transform: translateY(0); }

.wd-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 28px; }
.wd-adj {
  display: flex; align-items: center; min-height: 84px; padding: 14px 16px;
  background: linear-gradient(165deg, var(--bg-card), var(--bg-card-2)); border: 1px solid var(--line);
  border-radius: 10px; transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.wd-adj:hover { border-color: var(--gold); transform: translateY(-2px); }
.wd-adj-next { justify-content: flex-end; text-align: right; }
.wd-adj-inner { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wd-adj-next .wd-adj-inner { flex-direction: row-reverse; }
.wd-adj-empty { visibility: hidden; pointer-events: none; }
.wd-adj-arrow { font-family: var(--font-px); font-size: 16px; color: var(--gold); flex-shrink: 0; align-self: center; }
.wd-adj-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wd-adj-label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.wd-adj-name { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 640px) {
  .wd-wrap { padding: 108px 18px 70px; }
  .wd-adjacent { grid-template-columns: 1fr; }
  .wd-adj-next { justify-content: flex-start; text-align: left; }
  .wd-adj-next .wd-adj-inner { flex-direction: row; }
  .wd-adj-empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wd-media::after { transition: none; }
  .wd-back, .wd-tag, .wd-btn-outline, .wd-adj { transition: none; }
  .wd-btn-outline:hover, .wd-adj:hover { transform: none; }
}
