.site-header {
  margin: 0 0 45px;
  padding: 0 0 25px;
  border-bottom: 1px solid #3a3a38;
}

.site-header h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.site-header p {
  margin: 0;
  color: #b6b6b6;
  font-size: 15px;
}

.post-list {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

.post-list > li {
  margin: 0 0 18px;
}

.post-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid #3a3a38;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font-weight: normal;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.post-card:hover {
  border-color: #ffcc00;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  color: inherit;
}

.post-card h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #f0e7d5;
}

.post-card:hover h2 {
  color: #ffcc00;
}

.post-card p {
  margin: 0;
  color: #b6b6b6;
  font-size: 14px;
  line-height: 1.6;
}

.post-meta {
  display: block;
  margin: 0 0 6px;
  color: #8f8f8a;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-list {
  list-style: none;
  list-style-image: none;
  margin: 16px 0 0;
  padding: 0;
}

.tag-list li {
  display: inline-block;
  margin: 6px 6px 0 0;
}

.tag {
  --tag-h: 45;
  --tag-s: 38%;

  display: inline-block;
  padding: 3px 11px;
  border: 1px solid hsl(var(--tag-h) var(--tag-s) 28%);
  border-radius: 999px;
  background: hsl(var(--tag-h) var(--tag-s) 15%);
  color: hsl(var(--tag-h) calc(var(--tag-s) + 25%) 78%);
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tag--real-time-rendering { 
  --tag-h: 172; 
}
.tag--ps5 { 
  --tag-h: 222; 
}
.tag--mesh-shaders { 
  --tag-h: 276; 
}
.tag--real-time-physics { 
  --tag-h: 20; --tag-s: 55%;
}
.tag--cpu { 
  --tag-h: 150; --tag-s: 45%; 
} 
.tag--simd {
  --tag-h: 200; --tag-s: 25%; 
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0 22px;
  border: 1px solid #3a3a38;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: #b6b6b6;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}

.back-link svg {
  display: block;
  transition: transform 0.15s ease;
}

.back-link:hover {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.08);
  color: #ffcc00;
}

.back-link:hover svg {
  transform: translateX(-2px);
}

.back-link:active {
  background: rgba(255, 204, 0, 0.18);
  transform: scale(0.92);
}

.back-link:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 3px;
}

.post-header {
  margin: 0 0 40px;
  padding: 0 0 25px;
  border-bottom: 1px solid #3a3a38;
}

.post-header h1 {
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.post-header .tag-list {
  margin-top: 12px;
}

.post-footer {
  margin: 50px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid #3a3a38;
  font-size: 14px;
}

.post-content {
  --wide: max(100%, min(1000px, calc(100vw - 64px)));
  font-size: 18px;
}

.post-content pre,
.post-content video,
.post-content p:has(img) {
  box-sizing: border-box;
  width: var(--wide);
  margin-left: calc(50% - var(--wide) / 2);
}

.post-content p:has(img) {
  text-align: center;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-content video {
  max-width: var(--wide);
  height: auto;
  border-radius: 4px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: #f5efe3;
  line-height: 1.25;
}

.post-content h2 {
  margin: 52px 0 16px;
  padding: 0 0 8px;
  border-bottom: 1px solid #3a3a38;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.post-content h3 {
  margin: 36px 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.post-content h4 {
  margin: 28px 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #cfc6b4;
}

.post-content > h2:first-child,
.post-content > h3:first-child {
  margin-top: 0;
}

.post-header h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.2;
}
