/* InAccount on WordPress: the few additions to the static site's stylesheet (styles.css). */

/* Spacing helpers used by the pages (the static site wrote these as inline styles) */
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.section.pt-0 { padding-top: 0; }
.split.split--start { align-items: start; }
.card-grid.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }

/* WordPress's own class for text only screen readers hear */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Logged-in editors see the WordPress toolbar above the site */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Pages written later in the editor, without the theme's page heading */
.prose-page { max-width: 48rem; }
.prose-page > * + * { margin-top: 1.25rem; }
.prose-page h2 { margin-top: 2.5rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.prose-page h3 { margin-top: 2rem; font-family: var(--font-display); font-size: 1.25rem; }
.prose-page p, .prose-page li { color: var(--ink-2); line-height: 1.7; }
.prose-page ul, .prose-page ol { padding-left: 1.4rem; }
.prose-page ul { list-style: disc; }
.prose-page ol { list-style: decimal; }
.prose-page a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 0.2em; }
.prose-page figure { margin: 2rem 0; }
.prose-page img { border-radius: var(--r-lg, 28px); height: auto; }
.prose-page figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }
.prose-page .news-list a { text-decoration: none; }
.wp-block-image img { height: auto; max-width: 100%; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignleft { float: left; margin: 0.25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.25rem 0 1rem 1.5rem; }
.nav-links { display: flex; gap: 0.5rem; margin-top: 2rem; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--outline); border-radius: 999px; text-decoration: none; color: var(--ink); }
.nav-links .page-numbers.current { background: var(--brand-tint); color: var(--brand-strong); font-weight: 600; }
