/* WordPress-specific additions to the SCALE&RATIOS styles. */

/* Admin bar (logged-in users) sits above the fixed site header. */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .mobile-menu { top: 46px; }
  #wpadminbar { position: fixed; }
}

/* Article content written in the block editor. */
.sr-entry > * + * { margin-top: 14px; }
.sr-entry .wp-block-quote.pull, .sr-entry blockquote.pull { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid; border-image: var(--grad) 1; }
.sr-entry .wp-block-quote:not(.pull) { margin: 28px 0; padding-left: 22px; border-left: 3px solid var(--blue); font-style: normal; }
.sr-entry .wp-block-image { margin: 28px 0; }
.sr-entry .wp-block-image img { border-radius: 16px; height: auto; }
.sr-entry .wp-block-image figcaption, .sr-entry .wp-element-caption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.sr-entry ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.sr-entry ol li { color: #3a4163; font-size: 16.5px; line-height: 1.7; }
.sr-entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.sr-entry h3 { margin: 28px 0 8px; font-size: clamp(19px, 2vw, 22px); }
.sr-entry table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.sr-entry th, .sr-entry td { padding: 10px 12px; border-bottom: 1px solid var(--line-light); text-align: left; }
html[data-theme="dark"] .section--light .sr-entry p, html[data-theme="dark"] .section--light .sr-entry li { color: #3a4163; }

/* Pagination on topic and search pages. */
.sr-pagination { margin-top: 40px; }
.sr-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sr-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-light); color: var(--ink); font-size: 15px; }
.sr-pagination .page-numbers.current { background: var(--blue); color: #fff; box-shadow: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Block library defaults that would fight the design. */
.wp-block-html { margin: 0; }
