/* One blog article (blog_post.php) or guide post (place_post.php): the breadcrumb, then the post with lists of other posts beside it, under it on narrow
   screens (inc/post_layout.php). */
main.has-post-crumbs { padding-top: 20px; } /* the header takes its own room (sticky), the breadcrumb sits right under it */
/* 1368px is the content width of index.php's .container: 1400px less its 16px on each side. */
.post-wrap { max-width: 1368px; margin: 0 auto; }
.post-wrap.is-narrow { max-width: 1100px; }
.post-crumbs { margin-bottom: 16px; }
.post-crumbs ol { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); font-size: .875rem; }
.post-crumbs li { display: flex; flex: none; align-items: center; gap: 4px; }
.post-crumbs li:last-child { flex: 0 1 auto; min-width: 9rem; }
.post-crumbs li + li::before { content: ''; width: 6px; height: 6px; margin-inline: 2px 4px; border-bottom: 2px solid #cbd5e1; border-left: 2px solid #cbd5e1; transform: rotate(45deg); }
.post-crumbs a, .post-crumbs [aria-current] { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 4px 12px; line-height: 1.9; }
.post-crumbs a { color: #4b5563; transition: background-color .2s, color .2s; }
.post-crumbs a:hover, .post-crumbs a:focus-visible { background: #e6f7f0; color: #00875a; }
.post-crumbs .post-crumb-home { padding-block: 0; padding-inline-start: 0; }
.post-crumb-home i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #00ab6c; color: #fff; font-size: .85rem; }
.post-crumbs [aria-current] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; background: #e6f7f0; color: #00875a; font-weight: 700; }
/* The sidebar is the second column, when there is one. */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: column; grid-auto-columns: 320px; align-items: start; gap: 20px; }
.post-layout > article { width: 100%; }
.post-aside { display: flex; flex-direction: column; gap: 20px; }
.post-side-box { background: #fff; border-radius: 16px; padding: 18px; }
.post-side-box h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.post-side-box li + li { border-top: 1px solid #f0f0f0; }
.post-side-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.post-side-thumb { display: flex; flex: none; align-items: center; justify-content: center; width: 84px; height: 64px; border-radius: 10px; overflow: hidden; background: #eef2f6; color: #9ca3af; font-size: 1.3rem; }
.post-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-side-text { display: flex; min-width: 0; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.post-side-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .9rem; font-weight: 600; line-height: 1.8; }
.post-side-item:hover .post-side-title { color: #00ab6c; }
.post-side-sub { font-size: .75rem; color: #9ca3af; }
.post-side-all { display: block; margin-top: 8px; border-radius: 10px; background: #e6f7f0; color: #00875a; padding: 8px; text-align: center; font-size: .875rem; font-weight: 600; }
.post-side-all:hover { background: #00ab6c; color: #fff; }
@media (max-width: 1023px) {
    .post-wrap, .post-wrap.is-narrow { max-width: 800px; }
    .post-layout { grid-auto-flow: row; grid-auto-columns: auto; }
}
@media (max-width: 640px) {
    .post-crumbs .post-crumb-home { padding: 0; }
    .post-crumb-home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
