body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #020617;
  color: #e8f1ff;
}

main,
.container,
body > div {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 1rem;
  margin-top: 5rem;;
}

.author-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #60a5fa;
  margin-bottom: 1.25rem;
  object-fit: cover;
}

/* Spinner animation for Discogs image */
.discogs-spinner {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #dbeafe;
  margin: 0 0 0.4rem;
}

.author-bio p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: #94a3b8;
}

.social-links {
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 1px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link img {
  width: 30px;
  height: 30px;
}

.social-link:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

/* List styling */
ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Nested lists */
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  color: #dbeafe;
  line-height: 1.15;
  margin-top: 2rem;
}

h1 {
  margin-bottom: 1rem;
  color: #bfdbfe;
}

p {
  line-height: 1.8;
  margin: 1rem 0;
  color: #cbd5e1;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.post-list-item {
  padding: 1.2rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.post-list-item > a {
  font-size: 1.18rem;
  font-weight: 700;
  color: #eff6ff;
}

.post-date {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
}

.post-excerpt {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.post-content {
  padding: 1.7rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.post-content img {
  max-width: 100%;
  border-radius: 0.9rem;
}

.post-content pre,
.post-content code {
  background: #0b1120;
  color: #e2e8f0;
  border-radius: 0.85rem;
  padding: 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

.post-content pre {
  margin: 1rem 0;
}

.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #93c5fd;
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  main,
  .container,
  body > div {
    padding: 1.25rem;
    grid-template-columns: 1fr;
  }

  .sidebar {
    text-align: left;
    padding: 1rem;
  }

  .author-avatar {
    width: 80px;
    height: 80px;
  }
}
