.reading-shell { max-width: calc(var(--width-reading) + 48px); margin: auto; padding: 0 24px; }
.article-heading { max-width: 1000px; margin: auto; padding: 72px 32px 48px; text-align: center; }
.article-heading .card-meta { justify-content: center; }
.article-heading h1 { font-size: clamp(32px, 3.5vw, 48px); margin: 24px 0; text-wrap: balance; }
.article-byline { color: var(--muted); font-size: 13px; }
.article-byline span { padding: 0 12px; }
.article-cover { max-width: 960px; margin: 0 auto 64px; aspect-ratio: 16/9; background: var(--cream); border-radius: 16px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.entry-content { font: 18px/1.9 var(--font-body); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 28px; margin: 48px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.entry-content h3 { font-size: 22px; margin: 32px 0 16px; }
.entry-content a { text-decoration: underline; }
.entry-content blockquote { margin: 32px 0; padding: 24px 28px; background: var(--cream); border-left: 3px solid var(--action); border-radius: 0 12px 12px 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; font-size: 14px; margin-top: 12px; color: var(--muted); font-style: normal; }
.entry-content figure { margin: 32px 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.entry-content img { border-radius: 10px; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; }
.entry-content li { margin-bottom: .4em; }
.entry-content pre { padding: 24px; overflow: auto; max-width: 100%; font-size: 14px; line-height: 1.7; border: 1px solid var(--line); background: var(--cream); border-radius: 12px; white-space: pre; }
.entry-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.entry-content pre code { white-space: inherit; overflow-wrap: normal; word-break: normal; }
.entry-content :not(pre) > code { background: var(--pink-soft); padding: 2px 5px; font-size: .85em; border-radius: 4px; }
.entry-content .wp-block-table { overflow: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--line); min-width: 120px; }
.entry-content th { background: var(--cream); text-align: left; }
.entry-content hr { width: 72px; border: 0; border-top: 1px solid var(--action); margin: 48px auto; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .alignwide { width: 100%; }
.article-end { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 48px; font-size: 14px; }
.post-tags { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.page-content { padding-bottom: 72px; }
/* Decoration stays at page/section boundaries; the 720px reading measure is unchanged. */
.article-heading { position: relative; isolation: isolate; }
.article-heading::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 0, var(--cream), transparent 75%); }
.article-ornament { display: block; width: 32px; margin: -20px auto 20px; color: var(--action); }
.article-heading::after { content: ''; display: block; width: 64px; height: 1px; margin: 24px auto 0; background: #cba3b4; }
.entry-content h2 { border-image: linear-gradient(to right, #cba3b4 48px, var(--line) 48px) 1; }
@media (max-width: 767px) {
  .article-heading { padding: 40px 20px 24px; }
  .article-heading h1 { font-size: 30px; }
  .article-cover { border-radius: 0; margin-bottom: 40px; }
  .reading-shell { padding-inline: 20px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 25px; margin-top: 40px; }
  .entry-content h3 { font-size: 21px; }
  .entry-content blockquote { padding: 20px; }
}
