/* Scoped to the Home modules; owner typography, palette and stored blocks stay intact. */
body.pmw-blog-home main .wp-block-post-content {
  width: 100%; max-width: var(--wp--style--global--wide-size, 1480px) !important;
}
.pmw-blog-home-layout {
  display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.5fr);
  gap: clamp(20px, 3vw, 40px); align-items: start; width: 100%;
}
.pmw-blog-home-layout > section { min-width: 0; margin: 0 !important; }
.pmw-blog-home-layout .pm-tracker-block { width: 100%; }
.pmw-blog-home-posts .wp-block-post-template { display: block; margin: 0; padding: 0; }
.pmw-blog-home-posts .wp-block-post-template > li { margin: 0 0 20px; list-style: none; }
.pmw-post-card {
  border: 1px solid #d8dfe5; border-radius: 12px; overflow: hidden;
  background: var(--wp--preset--color--base, transparent); color: inherit;
}
.pmw-post-card > summary { display: block; position: relative; cursor: pointer; padding: 16px; list-style: none; }
.pmw-post-card > summary::-webkit-details-marker { display: none; }
.pmw-post-card > summary:focus-visible { outline: 3px solid currentColor; outline-offset: -4px; }
.pmw-post-card > summary::after { content: '+'; position: absolute; top: 14px; right: 16px; font-size: 24px; line-height: 1; }
.pmw-post-card[open] > summary::after { content: '−'; }
.pmw-post-card .wp-block-post-title { margin: 0 32px 12px 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.3; }
.pmw-post-card .wp-block-post-featured-image { margin: 0 0 10px; }
.pmw-post-card .wp-block-post-featured-image img { width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.pmw-post-hint { font-size: .8em; text-decoration: underline; }
.pmw-post-body { padding: 0 16px 18px; overflow-wrap: anywhere; }
.pmw-post-body img, .pmw-post-body video, .pmw-post-body iframe { max-width: 100%; }
.pmw-post-body img { height: auto; }
.pmw-post-body .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.pmw-post-body .wp-block-gallery > figure { flex: 1 1 180px; margin: 0; }
.pmw-post-body .wp-block-post-date, .pmw-post-status, .pmw-post-full-link { font-size: .85em; }
@media (max-width: 959px) {
  .pmw-blog-home-layout { display: flex; flex-direction: column; gap: 28px; }
  .pmw-blog-home-layout > section { width: 100%; }
  .pmw-post-card .wp-block-post-title { font-size: 1.3rem; }
}
