/* ===== Single article (.post) ===== */
.post {
  padding: 48px 16px 64px;
}

.post__inner {
  padding: 36px 28px 40px;
  border-radius: 20px;
}

.post__head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post__meta {
  margin-bottom: 16px;
  font-size: 13px;
}

.post__back {
  transition: color 0.15s ease, border-color 0.15s ease;
}

.post__back:hover {
  color: #ff5100;
  border-bottom-color: rgba(255, 81, 0, 0.45);
}

.post__title {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.45;
  color: #111;
}

.post__content {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.95;
  color: #333;
}

.post__content > *:first-child {
  margin-top: 0;
}

.post__content > *:last-child {
  margin-bottom: 0;
}

.post__content p {
  margin: 0 0 1.15em;
}

.post__content h2,
.post__content h3,
.post__content h4 {
  color: #111;
  line-height: 1.4;
  font-weight: 700;
}

.post__content h2 {
  margin: 2em 0 0.65em;
  padding-bottom: 0.35em;
  font-size: 1.35em;
  border-bottom: 2px solid rgba(255, 81, 0, 0.35);
}

.post__content h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.15em;
}

.post__content h4 {
  margin: 1.25em 0 0.4em;
  font-size: 1.05em;
}

.post__content a {
  color: #ff5100;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.post__content a:hover {
  opacity: 0.85;
}

.post__content ul,
.post__content ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
  list-style: revert;
}

.post__content li {
  margin: 0.35em 0;
}

.post__content li::marker {
  color: #ff5100;
}

.post__content img,
.post__content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5em auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post__content figure {
  margin: 1.5em 0;
}

.post__content figcaption {
  margin-top: 0.5em;
  font-size: 13px;
  line-height: 1.6;
  color: #777;
  text-align: center;
}

.post__content blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  border-left: 4px solid #ff5100;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 81, 0, 0.06);
  color: #444;
}

.post__content blockquote p {
  margin: 0;
}

.post__content pre,
.post__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.post__content pre {
  margin: 1.25em 0;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 12px;
  background: #f6f6f6;
  line-height: 1.6;
}

.post__content :not(pre) > code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
}

.post__content table {
  width: 100%;
  margin: 1.25em 0;
  border-collapse: collapse;
  font-size: 14px;
}

.post__content th,
.post__content td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}

.post__content th {
  background: rgba(255, 81, 0, 0.08);
}

.post__content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.post__content .wp-block-separator {
  margin: 2em 0;
}

@media (max-width: 720px) {
.post {
    padding: 32px 12px 48px;
  }

.post__inner {
    padding: 24px 18px 28px;
    border-radius: 16px;
  }

.post__content {
    margin-top: 22px;
    font-size: 15px;
  }

.post__content h2 {
    margin-top: 1.6em;
    font-size: 1.25em;
  }
}
