.blog-section {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-section h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #111827;
}

.blog-section p {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 0.95rem;
}

.blog-section p + p {
  margin-top: -6px;
}

.blog-section .button,
.blog-section a.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.blog-section .button:hover,
.blog-section a.button:hover {
  background: #fff7ed;
  border-color: #ea580c;
  color: #9a3412;
  transform: translateY(-1px);
}

.blog-section .button:active,
.blog-section a.button:active {
  transform: translateY(0);
}

.blog-section div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.blog-section div p {
  color: #111827;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 14px;
}

.blog-section div p:last-child {
  margin-bottom: 0;
}

.blog-section div a {
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-section div a:hover {
  color: #9a3412;
}

.blog-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 6px;
  border-radius: 8px;
  color: #9a3412;
}

.blog-section pre {
  overflow-x: auto;
  background: #0b1220;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.2);
  margin: 16px 0;
}

.blog-section pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: #e5e7eb;
}

.blog-section blockquote {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 4px solid #ea580c;
  background: #fff7ed;
  border-radius: 10px;
  color: #7c2d12;
}

.blog-section ul,
.blog-section ol {
  margin: 12px 0 16px 22px;
  color: #111827;
  line-height: 1.75;
}

.blog-section li {
  margin: 6px 0;
}

.blog-section hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 18px 0;
}

.blog-section ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.blog-section li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  position: relative;
  flex-wrap: wrap;
}

.blog-section li a {
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  line-height: 1.3;
}

.blog-section li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #c2410c;
}

.blog-section li span {
  color: #777777;
  font-size: 0.95rem;
  white-space: nowrap;
}

.blog-section li:hover {
  border-color: #fed7aa;
}

.blog-section li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
  transition: box-shadow 0.15s ease;
}

.blog-section li:hover::after {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

@media (max-width: 640px) {
  .blog-section {
    margin: 24px auto;
  }

  .blog-section h1 {
    font-size: 1.75rem;
  }

  .blog-section div {
    padding: 14px;
    border-radius: 12px;
  }

  .blog-section li {
    padding: 12px 14px;
  }

  .blog-section .button,
  .blog-section a.button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
.post-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-title a {
  font-weight: 800;
  font-size: 2rem;
  text-decoration: none;
  color: #111827;
}

.post-title a:hover {
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-layout {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: start;
}

.blog-sidebar {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  position: sticky;
  top: 90px;
}

.blog-sidebar h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #111827;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.category-list a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
}

.category-list a:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.category-list a.active {
  background: #fff7ed;
  border-color: #ea580c;
  color: #9a3412;
}

.blog-section {
  margin: 0;
  padding: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}
