/* PlayOola blog: article pages, the blog index and "From the blog" on the homepage. */
@media (max-width: 560px) { .nav a.nav-blog { display: none; } }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 18px 0 8px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 2.5px solid var(--grape); border-radius: var(--radius-tile); box-shadow: var(--shadow-hard); overflow: hidden; text-decoration: none; color: var(--grape); transition: transform .12s, box-shadow .12s; }
.post-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard-lg, 6px 6px 0 var(--grape)); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-bottom: 2.5px solid var(--grape); background: var(--lilac); }
.post-card-text { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.post-card time { font-size: 13px; font-weight: 600; color: var(--grape-soft); }
.post-card strong { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.post-card em { font-style: normal; color: var(--grape-soft); font-size: 15px; line-height: 1.45; }
.post-card b { margin-top: 4px; color: var(--pink); font-size: 15px; }
.home-blog, .post-more { margin: 40px 0 10px; }
.home-blog h2, .post-more h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 4px; }
.rss { font-weight: 700; white-space: nowrap; }

.post-wrap { max-width: 860px; }
.post-head h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin: 8px 0 12px; }
.post-lede { font-size: 19px; line-height: 1.5; color: var(--grape-soft); margin: 0 0 12px; }
.post-meta { font-size: 14px; font-weight: 600; color: var(--grape-soft); margin: 0 0 18px; }
.post-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 2.5px solid var(--grape); border-radius: var(--radius-tile); box-shadow: var(--shadow-hard); background: var(--lilac); }

.tldr, .toc { background: var(--white); border: 2.5px solid var(--grape); border-radius: 18px; padding: 16px 22px; margin: 26px 0; }
.tldr { background: #FFF7D6; }
.tldr h2, .toc h2 { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.tldr ul, .toc ol { margin: 0; padding-inline-start: 22px; line-height: 1.6; }
.tldr li { margin: 4px 0; font-weight: 600; }
.toc a { font-weight: 600; }

.post-body { font-size: 18px; line-height: 1.7; }
.post-body h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 800; margin: 38px 0 12px; scroll-margin-top: 80px; }
.post-body h3 { font-size: 21px; font-weight: 800; margin: 28px 0 8px; scroll-margin-top: 80px; }
.post-body h4 { font-size: 18px; font-weight: 800; margin: 22px 0 6px; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 16px; }
.post-body li { margin: 6px 0; }
.post-body img { max-width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--grape); }
.post-body blockquote { margin: 20px 0; padding: 12px 18px; border-inline-start: 5px solid var(--pink); background: var(--white); border-radius: 0 14px 14px 0; }
.post-body blockquote p { margin: 0; }
.post-body code { background: var(--lilac); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.post-body hr { border: 0; border-top: 2px dashed var(--grape); opacity: .3; margin: 30px 0; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 16px; background: var(--white); }
.post-body th, .post-body td { border: 2px solid var(--grape); padding: 8px 12px; text-align: start; vertical-align: top; }
.post-body th { background: var(--lilac); }

.post-game { display: flex; gap: 16px; align-items: center; margin: 20px 0; padding: 12px; background: var(--white); border: 2.5px solid var(--grape); border-radius: 18px; box-shadow: var(--shadow-hard); text-decoration: none; color: var(--grape); }
.post-game img { width: 160px; height: 120px; object-fit: cover; border-radius: 12px; border: 2px solid var(--grape); flex: none; margin: 0; }
.post-game span { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.post-game strong { font-size: 20px; font-weight: 800; line-height: 1.2; }
.post-game small { font-size: 13px; font-weight: 700; color: var(--grape-soft); }
.post-game em { font-style: normal; font-size: 15px; line-height: 1.4; color: var(--grape-soft); }
.post-game .btn { margin-top: 6px; }
@media (max-width: 520px) { .post-game { flex-direction: column; align-items: stretch; } .post-game img { width: 100%; height: auto; aspect-ratio: 4 / 3; } .post-body { font-size: 17px; } }
.blog-post .faq { margin-top: 34px; }
.post-body.prose { max-width: none; padding: 0; }
.post-body.prose p, .post-body.prose li { color: var(--grape); }
