/* Same selectors and tokens for published blocks and the editor canvas. */
:where(.wp-site-blocks, .editor-styles-wrapper) { overflow-wrap: anywhere; }
:where(.wp-site-blocks, .editor-styles-wrapper) *,
:where(.wp-site-blocks, .editor-styles-wrapper) *::before,
:where(.wp-site-blocks, .editor-styles-wrapper) *::after { box-sizing: border-box; }
:where(.wp-site-blocks, .editor-styles-wrapper) :where(img, video) { max-inline-size: 100%; height: auto; }
:where(.wp-site-blocks, .editor-styles-wrapper) :where(pre, .wp-block-table) { max-inline-size: 100%; overflow-x: auto; }
:where(.wp-site-blocks, .editor-styles-wrapper) :where(pre) { padding: 1rem; }
:where(.wp-site-blocks, .editor-styles-wrapper) :where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 4px;
}
.skip-link:focus { outline: 3px solid var(--wp--preset--color--accent); outline-offset: -3px; z-index: 100001; }
.ma-section { padding-block: clamp(2rem, 6vw, 5rem); border-block-end: 1px solid var(--wp--preset--color--line); }
.ma-card { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); border-radius: .35rem; min-inline-size: 0; }
.ma-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.ma-grid > * { margin-block-start: 0 !important; min-inline-size: 0; }
.ma-blog { padding-block: clamp(2rem, 6vw, 5rem); }
.ma-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ma-post-list > li { min-inline-size: 0; margin-block-start: 0; }
.ma-post-list .ma-card { height: 100%; }
.ma-post-list .wp-block-post-title { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.ma-post-list .wp-block-post-featured-image { margin-block-start: 0; }
.ma-post-meta, .ma-blog-query .wp-block-post-date { font-size: .9rem; }
/* Core term links default to nowrap; long editorial names must reflow at zoom. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-post-terms a,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-categories-list a {
  display: inline-block;
  max-inline-size: 100%;
  min-block-size: 24px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ma-post-navigation { padding-block: 2rem; border-block-start: 1px solid var(--wp--preset--color--line); }
.ma-article .wp-block-post-content { line-height: 1.8; }
.ma-blog-query .wp-block-query-pagination { padding-block: 1.5rem; gap: 1rem; }
.ma-blog-query .wp-block-query-pagination :where(a, .current) { display: inline-block; padding: .5rem .7rem; }
.ma-blog-query .wp-block-query-pagination .current { border: 1px solid currentColor; }
.wp-block-search__inside-wrapper { flex-wrap: wrap; gap: .5rem; }
.wp-block-search__input { min-inline-size: 0; }
@media (max-width: 700px) { .ma-post-list { grid-template-columns: minmax(0, 1fr); } }
.ma-section .wp-block-image { max-inline-size: 24rem; }
.ma-section .wp-block-image img { border-radius: .35rem; }
.wp-block-quote { border-inline-start: 3px solid var(--wp--preset--color--accent); padding-inline-start: 1.5rem; font-family: Georgia, serif; font-size: 1.25rem; }
@media (max-width: 700px) { .ma-grid { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .ma-site-header, .ma-site-footer, #wpadminbar { display: none !important; }
  .ma-card { break-inside: avoid; }
  body { background: white !important; color: black !important; }
}
:where(.wp-site-blocks, .editor-styles-wrapper) ::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link { min-block-size: 44px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :where(.wp-site-blocks, .editor-styles-wrapper) * { animation: none !important; transition: none !important; }
}
