.post_single {
  padding: 14rem 0 8rem;
}
.post_single h1 {
  font-size: 4.8rem;
  color: var(--title);
  margin: 0 0 1.2rem;
}
.post_layout {
  display: grid;
  grid-template-columns: 24rem minmax(0, 1fr) 30rem;
  gap: 4rem;
  align-items: start;
}
.toc {
  position: sticky;
  top: 10rem;
}
.catalog .label {
  margin-bottom: 1.6rem;
  color: var(--text2);
  font-family: 'Urbanist', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.catalog a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.4;
}
.catalog li.active a,
.catalog a:hover {
  color: var(--primary);
}
.ask {
  position: sticky;
  top: 10rem;
  padding: 2.8rem;
  border-radius: 1.6rem;
  background: var(--light);
}
.ask h2 {
  color: var(--title);
  font-size: 2.4rem;
  line-height: 1.3;
}
.ask p {
  margin: 1.2rem 0 2rem;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.6;
}
.post_single .entry {
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--text);
}
.post_single .entry h2,
.post_single .entry h3,
.post_single .entry h4,
.post_single .entry h5,
.post_single .entry h6 {
  margin: 2.4rem 0 1rem;
  color: var(--title);
  font-family: 'Urbanist', sans-serif;
  line-height: 1.3;
}
.post_single .entry h2 { font-size: 3.2rem; }
.post_single .entry h3 { font-size: 2.6rem; }
.post_single .entry h4 { font-size: 2.2rem; }
.post_single .entry h5 { font-size: 2rem; }
.post_single .entry h6 { font-size: 1.8rem; }
.post_single .entry p + p { margin-top: 1.2rem; }
.post_single .entry a { color: var(--primary); }
.post_single .entry strong { font-weight: 700; color: var(--title); }
.post_single .entry em { font-style: italic; }
.post_single .entry ul,
.post_single .entry ol {
  margin: 1.2rem 0 1.2rem 1.8rem;
}
.post_single .entry ul li {
  list-style: disc;
  margin: 0.4rem 0;
}
.post_single .entry ul li::marker { color: var(--primary); }
.post_single .entry ol li {
  list-style: decimal;
  margin: 0.4rem 0;
}
.post_single .entry img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6rem 0;
  border-radius: 1.2rem;
}
.post_single .entry .pic {
  margin: 0 0 2.4rem;
  border-radius: 1.6rem;
  overflow: hidden;
}
.post_single .entry .pic img {
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.post_single .entry figure {
  margin: 2rem 0;
}
.post_single .entry figcaption {
  margin-top: 0.8rem;
  color: var(--text2);
  font-size: 1.4rem;
  line-height: 1.5;
}
.post_single .entry blockquote {
  margin: 2rem 0;
  padding: 1.6rem 2rem;
  border-left: 3px solid var(--primary);
  background: var(--light);
  color: var(--title);
}
.post_single .entry hr {
  margin: 2.4rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.post_single .entry table {
  width: 100%;
  margin: 1.6rem 0;
  border-collapse: collapse;
}
.post_single .entry th,
.post_single .entry td {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  text-align: left;
}
.post_single .entry thead th {
  background: var(--light);
  color: var(--title);
}
.post_single .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
  color: var(--text2);
  font-size: 1.4rem;
  line-height: 2rem;
}
.post_single .crumbs li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.post_single .crumbs li + li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1px solid #9aa7b6;
  border-right: 1px solid #9aa7b6;
  transform: rotate(45deg);
}
.post_single .crumbs a {
  transition: 0.3s;
}
.post_single .crumbs a:hover {
  color: var(--primary);
}
.post_single .crumbs span {
  color: var(--title);
}
.post_single .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 3.2rem;
  color: var(--text2);
  font-size: 1.5rem;
  line-height: 2rem;
}
.post_single .meta a {
  color: var(--primary);
}
@media screen and (max-width: 1024px) {
  .post_layout { grid-template-columns: 1fr; }
  .toc,
  .ask { position: static; }
  .post_detail { order: 1; }
  .toc { order: 2; }
  .ask { order: 3; }
}
@media screen and (max-width: 768px) {
  .post_single { padding: 11rem 0 5rem; }
  .post_single h1 { font-size: 32px; }
  .post_single .entry { font-size: 14px; line-height: 1.75; }
  .post_single .entry h2 { font-size: 22px; }
  .post_single .entry h3 { font-size: 18px; }
  .post_single .entry h4 { font-size: 16px; }
  .post_single .entry h5,
  .post_single .entry h6 { font-size: 15px; }
  .post_single .meta { font-size: 13px; }
}
