/* Adapts WordPress output to the design in rb.css. Generated pages are one Custom HTML block each, so the work
   here is removing what WordPress adds around them, and styling posts written in the block editor. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .rb-main > *, .rb-part > * { margin-block: 0; }
.rb-main, .rb-main > .wp-block-post-content { max-width: none; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.ihero .wrap.narrow .h1 { margin-top: 12px; }
.rb-post-hero .meta, .rb-card .meta { font: 500 12.5px/1.4 var(--mono); color: var(--muted); margin-top: 16px; }
.rb-single .prose .wp-block-post-content > * + * { margin-top: 0; }
.rb-featured img { width: 100%; height: auto; border-radius: 18px; margin-bottom: 34px; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose figure { margin: 34px 0; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 30px 0; padding: 4px 0 4px 24px; font: 500 22px/1.45 var(--display); color: var(--ink); }
.prose a { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.rb-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rb-card { border: 1.5px solid var(--ink); border-radius: 18px; padding: 18px; background: #fff; height: 100%; display: flex; flex-direction: column; }
.rb-card-img img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.rb-card-title { margin: 8px 0 6px; font: 800 21px/1.2 var(--display); letter-spacing: -.012em; }
.rb-card-title a { text-decoration: none; color: var(--ink); }
.rb-card-excerpt { font-size: 15px; color: var(--muted); margin: 0; }
.rb-card-excerpt .wp-block-post-excerpt__more-text { display: none; }
.rb-pager { margin-top: 40px; display: flex; gap: 10px; align-items: center; font-weight: 600; }
.rb-pager a, .rb-pager span { padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.rb-pager .current { background: var(--ink); color: var(--accent); }
.wp-block-query-title { margin: 14px 0 0; }
.ihero .wp-block-term-description { margin-top: 18px; font-size: 19px; }
@media (max-width: 1020px) { .rb-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .rb-cards { grid-template-columns: 1fr; } }
.rb-single .band { padding-top: 0; } .rb-single .rb-post-hero { padding-bottom: 28px; }
