/* Safety Matrix Insights — an editorial companion to the marketing site. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('https://safety-matrix.net/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('https://safety-matrix.net/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sm-ink: #0f383b;
  --sm-paper: #fbfdfc;
  --sm-orange: #e98228;
  --sm-muted: #566a69;
  --sm-mist: #edf1f0;
  --sm-line: #d6dfdd;
  --sm-reading: 'DM Sans', sans-serif;
  --sm-heading: 'Space Grotesk', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--sm-paper); color: var(--sm-ink); font-family: var(--sm-reading); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input { font-family: var(--sm-reading); }
::selection { background: #f7c28e; color: #0f383b; }
a { color: inherit; text-underline-offset: .2em; }
a, button, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #b75b0c; outline-offset: 5px; }
img { display: block; height: auto; max-width: 100%; }
h1, h2, h3, h4 { color: inherit; font-family: var(--sm-heading); font-weight: 500; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0; }
.sm-header-row > *, .sm-toolbar > *, .sm-topics > *, .sm-card-meta > *, .sm-post-card > * { margin-block-start: 0; }
.sm-container { width: calc(100% - 96px); max-width: 1280px; margin-inline: auto; }
.sm-main { margin-block-start: 0 !important; }
.sm-skip { position: fixed; top: 12px; left: 12px; z-index: 100001; padding: 12px 20px; border: 2px solid #fff; border-radius: 4px; background: var(--sm-ink); color: #fff; font-weight: 600; transform: translateY(-180%); }
.sm-skip:focus { transform: translateY(0); }
.sm-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--sm-ink); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1.7px; text-transform: uppercase; }
.sm-eyebrow::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; background: var(--sm-orange); }

/* Familiar, quiet navigation lets the articles take the foreground. */
.sm-header { border-bottom: 1px solid var(--sm-line); background: var(--sm-paper); }
.sm-header-row { display: flex; justify-content: space-between; align-items: center; min-height: 90px; gap: 32px; }
.sm-brand { display: block; flex: 0 0 auto; margin: 0; }
.sm-brand a { display: inline-block; }
.sm-brand img { width: 139px; height: auto; }
.sm-navigation { margin: 0 !important; color: var(--sm-ink); font-size: 14px; font-weight: 500; }
.sm-navigation .wp-block-navigation__container { gap: 28px; }
.sm-navigation .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.sm-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-color: var(--sm-orange); text-underline-offset: 7px; }
.sm-navigation .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-color: var(--sm-orange); text-underline-offset: 7px; }
.sm-navigation .sm-nav-current > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-color: var(--sm-orange); text-underline-offset: 7px; }
.sm-navigation .sm-nav-cta > .wp-block-navigation-item__content { padding: 0 19px; border: 1px solid var(--sm-ink); border-radius: 4px; color: #fff; background: var(--sm-ink); text-decoration: none; }
.sm-navigation .wp-block-navigation-item:last-child > .wp-block-navigation-item__content { padding: 0 19px; border: 1px solid var(--sm-ink); border-radius: 4px; color: #fff; background: var(--sm-ink); text-decoration: none; }
.sm-navigation .wp-block-navigation-item:last-child > .wp-block-navigation-item__content:hover { background: #195052; border-color: #195052; }
.sm-navigation .wp-block-navigation__responsive-container-open,
.sm-navigation .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; }
.sm-navigation .wp-block-navigation__responsive-container.is-menu-open { background: var(--sm-paper); color: var(--sm-ink); padding: 24px; }
.sm-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; }
.sm-navigation .is-menu-open .wp-block-navigation__container { align-items: stretch; width: 100%; gap: 15px; }
.sm-navigation .is-menu-open .wp-block-navigation-item { width: 100%; }
.sm-navigation .is-menu-open .wp-block-navigation-item__content { min-height: 50px; font-size: 20px; }
.sm-navigation .is-menu-open .wp-block-navigation-item:last-child > .wp-block-navigation-item__content { justify-content: center; font-size: 16px; margin-top: 12px; }

/* An editorial masthead, with the same artwork and type as Safety Matrix. */
.sm-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(36px, 5vw, 76px); padding-block: 66px 64px; }
.sm-hero-copy { min-width: 0; }
.sm-hero h1 { margin: 0; font-size: clamp(42px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -2.8px; }
.sm-intro { max-width: 455px; margin: 23px 0 0; color: var(--sm-muted); font-size: 17px; line-height: 1.75; }
.sm-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 25px; border-bottom: 1px solid #99b2aa; color: var(--sm-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sm-text-link:hover { border-color: var(--sm-ink); color: #97500f; }
.sm-hero-art { position: relative; margin: 0; min-width: 0; }
.sm-hero-art figure { margin: 0; }
.sm-hero-art img { width: 100%; aspect-ratio: 1.38; object-fit: cover; object-position: center; border-radius: 5px; }
.sm-hero-art figcaption { position: absolute; right: 17px; bottom: 17px; left: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 13px 17px; border: 1px solid #ffffffb8; border-radius: 3px; background: #fbfdfcf2; color: var(--sm-ink); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .4px; }

/* Categories and search remain real WordPress links and form controls. */
.sm-library { padding-top: 0; padding-bottom: 70px; scroll-margin-top: 30px; }
.sm-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 32px; margin: 0 0 49px; padding: 24px 0; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); }
.sm-topics { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; min-width: 0; font-size: 13px; font-weight: 500; }
.sm-topics > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 3px; background: var(--sm-ink); color: #fff; text-decoration: none; }
.sm-topics .wp-block-categories-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 23px; list-style: none; margin: 0; padding: 0; }
.sm-topics .wp-block-categories-list li { margin: 0; padding: 0; }
.sm-topics .wp-block-categories-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sm-topics .wp-block-categories-list a:hover,
.sm-topics .current-cat > a { color: #97500f; text-decoration: underline; text-underline-offset: 5px; }
.sm-topics .wp-block-categories-list .children { margin-left: 14px; }
.sm-search { flex: 0 1 275px; min-width: 220px; width: 275px; margin: 0 !important; }
.sm-search .wp-block-search__label { color: var(--sm-muted); font-size: 12px; }
.sm-search .wp-block-search__inside-wrapper { display: flex; gap: 0; width: 100%; padding: 0; overflow: visible; border: 1px solid #b5c5bf; border-radius: 4px; background: #fff; }
.sm-search input.wp-block-search__input { min-width: 0; width: 100%; min-height: 46px; padding: 11px 13px; border: 0; border-radius: 4px 0 0 4px; background: transparent; color: var(--sm-ink); font-size: 14px; line-height: 1.4; }
.sm-search input::placeholder { color: #677c78; opacity: 1; }
.sm-search .wp-block-search__button { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 46px; min-height: 46px; margin: 0; padding: 0 12px; border: 0; border-left: 1px solid var(--sm-line); border-radius: 0 3px 3px 0; background: var(--sm-mist); color: var(--sm-ink); font-size: 13px; cursor: pointer; }
.sm-search .wp-block-search__button:hover { background: #dce8e2; }
.sm-search .wp-block-search__button svg { width: 23px; height: 23px; }
.sm-section-heading { margin-bottom: 29px; }
.sm-section-heading .sm-eyebrow { margin-bottom: 13px; }
.sm-section-heading h2 { margin: 0; font-size: 37px; line-height: 1.2; letter-spacing: -1.4px; }

/* The first story leads; the grid below stays clear, compact and readable. */
.sm-posts { margin: 0; }
ul.sm-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; margin: 0 !important; padding: 0; list-style: none; }
.sm-post-grid > li { min-width: 0; margin: 0 !important; padding: 0; }
.sm-post-card { height: 100%; margin: 0; }
.sm-card-image { position: relative; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #dfe8e2 url('https://safety-matrix.net/assets/inspection-sm.webp') center / cover no-repeat; }
.sm-card-image .wp-block-post-featured-image { height: 100%; width: 100%; margin: 0; }
.sm-card-image .wp-block-post-featured-image a { display: block; height: 100%; }
.sm-card-image .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sm-card-image:has(a:hover) img { transform: scale(1.025); }
.sm-card-body { min-width: 0; padding: 21px 0 0; }
.sm-card-body .wp-block-post-terms { margin: 0 0 11px; color: #5c726b; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: 1.1px; text-transform: uppercase; }
.sm-card-body .wp-block-post-terms a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sm-card-body .wp-block-post-terms a:hover { text-decoration: underline; }
.sm-card-title { margin: 0 0 14px !important; font-family: var(--sm-heading); font-size: 25px; font-weight: 500; line-height: 1.25; letter-spacing: -.7px; overflow-wrap: anywhere; }
.sm-card-title a { text-decoration: none; }
.sm-card-title a:hover { color: #23676b; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sm-card-body .wp-block-post-excerpt { margin: 0; color: var(--sm-muted); font-size: 15px; line-height: 1.75; }
.sm-card-body .wp-block-post-excerpt__excerpt { margin: 0; }
.sm-card-body .wp-block-post-excerpt__more-text { margin: 13px 0 0; }
.sm-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--sm-line); color: #5c726b; font-size: 12px; }
.sm-card-meta .wp-block-post-date { margin: 0; }
.sm-card-meta a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sm-ink); font-weight: 600; text-decoration: none; }
.sm-card-meta a:hover { text-decoration: underline; }
.sm-post-grid > li:first-child { grid-column: 1 / -1; }
.sm-post-grid > li:first-child .sm-post-card { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; background: var(--sm-mist); border-radius: 5px; overflow: hidden; }
.sm-post-grid > li:first-child .sm-card-image { height: 100%; min-height: 350px; aspect-ratio: auto; border-radius: 0; }
.sm-post-grid > li:first-child .sm-card-body { padding: 35px 39px 31px; }
.sm-post-grid > li:first-child .sm-card-title { font-size: clamp(28px, 2.65vw, 37px); line-height: 1.17; letter-spacing: -1.1px; }
.sm-post-grid > li:first-child .wp-block-post-excerpt { font-size: 16px; }
.sm-post-grid > li:first-child .sm-card-meta { margin-top: 25px; border-color: #c8d5ce; }
.sm-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--sm-line); font-size: 14px; }
.sm-pagination .wp-block-query-pagination-numbers { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.sm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 3px; text-decoration: none; }
.sm-pagination .page-numbers.current { background: var(--sm-ink); color: #fff; }
.sm-pagination a.page-numbers:hover { background: #e4ece7; }
.sm-pagination .wp-block-query-pagination-previous,
.sm-pagination .wp-block-query-pagination-next { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; margin: 0; text-decoration: none; }
.sm-pagination .wp-block-query-pagination-previous:hover,
.sm-pagination .wp-block-query-pagination-next:hover { text-decoration: underline; }
.sm-empty { margin: 0; padding: 45px 34px; border: 1px solid var(--sm-line); border-radius: 4px; color: var(--sm-muted); background: var(--sm-mist); font-size: 17px; }
.sm-empty p { margin: 0; }

/* Product connection without competing with the reading experience. */
.sm-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 76px; padding: 40px 46px; border-radius: 5px; background: var(--sm-ink); color: #fff; }
.sm-cta .sm-eyebrow { margin-bottom: 15px; color: #c8dbd2; }
.sm-cta h2 { margin: 0; color: #fff; font-size: 35px; line-height: 1.2; letter-spacing: -1.2px; }
.sm-cta p:not(.sm-eyebrow) { max-width: 620px; margin: 15px 0 0; color: #c8dbd2; font-size: 15px; line-height: 1.75; }
.sm-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 25px; min-height: 52px; padding: 0 23px; border: 1px solid #f5ac68; border-radius: 4px; background: #eb923f; color: #102f31; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sm-button:hover { background: #ffb565; color: #102f31; }
.sm-cta a:focus-visible { outline-color: #ffc281; }

.sm-footer { border-top: 1px solid var(--sm-line); background: #f1f5f1; }
.sm-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; padding-block: 44px 35px; }
.sm-footer .sm-brand img { width: 132px; }
.sm-footer-top p { margin: 16px 0 0; color: var(--sm-muted); font-size: 13px; }
.sm-footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px 26px; max-width: 600px; margin: 0; font-size: 13px; }
.sm-footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sm-footer-links a:hover { text-decoration: underline; }
.sm-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 25px; min-height: 76px; padding-block: 19px; border-top: 1px solid var(--sm-line); color: #60736c; font-size: 11px; }
.sm-footer-bottom p { margin: 0; }
.sm-footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.sm-footer-bottom a:hover { text-decoration: underline; }
.sm-footer-bottom > nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }

/* Article and archive routes share the same typography and navigation. */
.sm-archive-intro { padding-block: 55px 36px; }
.sm-archive-intro h1 { margin: 0; font-size: clamp(37px, 4.6vw, 57px); line-height: 1.12; letter-spacing: -2px; }
.sm-archive-intro .wp-block-term-description { max-width: 700px; margin-top: 20px; color: var(--sm-muted); font-size: 17px; }
.sm-reading { max-width: 760px; padding-block: 46px 70px; }
.sm-back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 27px; color: #526f65; font-size: 13px; text-decoration: none; }
.sm-back-link:hover { color: var(--sm-ink); text-decoration: underline; }
.sm-reading > .wp-block-post-title,
.sm-reading > h1 { margin: 0 0 23px; font-size: clamp(36px, 4.6vw, 57px); line-height: 1.13; letter-spacing: -2px; overflow-wrap: anywhere; }
.sm-reading > .wp-block-post-date { margin-bottom: 27px; color: var(--sm-muted); font-size: 13px; }
.sm-reading > .wp-block-post-featured-image { margin: 32px 0; }
.sm-reading > .wp-block-post-featured-image img { width: 100%; border-radius: 5px; }
.sm-reading .wp-block-post-content { color: #304c4b; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.sm-reading .wp-block-post-content > * { max-width: 100%; }
.sm-reading .wp-block-post-content p { margin-block: 0 1.5em; }
.sm-reading .wp-block-post-content h2 { margin-block: 1.7em .7em; color: var(--sm-ink); font-size: 32px; line-height: 1.25; letter-spacing: -.8px; }
.sm-reading .wp-block-post-content h3 { margin-block: 1.6em .6em; color: var(--sm-ink); font-size: 25px; line-height: 1.3; letter-spacing: -.4px; }
.sm-reading .wp-block-post-content h4 { font-size: 21px; }
.sm-reading .wp-block-post-content a { color: #0c646a; text-decoration-thickness: 1px; }
.sm-reading .wp-block-post-content ul,
.sm-reading .wp-block-post-content ol { padding-left: 1.45em; margin-bottom: 1.6em; }
.sm-reading .wp-block-post-content li { padding-left: .2em; margin-bottom: .45em; }
.sm-reading .wp-block-post-content blockquote { margin-inline: 0; padding: 20px 26px; border-left: 3px solid var(--sm-orange); background: var(--sm-mist); }
.sm-reading .wp-block-post-content blockquote p:last-child { margin-bottom: 0; }
.sm-reading .wp-block-post-content figure { margin-inline: 0; }
.sm-reading .wp-block-post-content figcaption { margin-top: 10px; color: var(--sm-muted); font-size: 13px; line-height: 1.6; }
.sm-reading .wp-block-post-content pre,
.sm-reading .wp-block-post-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.sm-reading .wp-block-post-content hr { margin-block: 35px; border: 0; border-top: 1px solid var(--sm-line); }
.sm-reading .wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sm-reading .wp-block-post-content th,
.sm-reading .wp-block-post-content td { padding: 12px; border: 1px solid var(--sm-line); text-align: left; vertical-align: top; }
.sm-reading .wp-block-post-content th { background: var(--sm-mist); }

@media (max-width: 1050px) {
  .sm-container { width: calc(100% - 64px); }
  .sm-hero { gap: 36px; padding-block: 52px; }
  .sm-hero h1 { font-size: 47px; letter-spacing: -2.2px; }
  .sm-hero-art img { aspect-ratio: 1.1; }
  .sm-navigation .wp-block-navigation__container { gap: 20px; }
  ul.sm-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-post-grid > li:first-child .sm-post-card { grid-template-columns: 1fr 1fr; }
  .sm-post-grid > li:first-child .sm-card-body { padding: 27px; }
  .sm-post-grid > li:first-child .sm-card-title { font-size: 29px; }
  .sm-cta { padding: 35px; }
  .sm-cta h2 { font-size: 30px; }
}
@media (max-width: 800px) {
  .sm-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .sm-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .sm-hero { gap: 27px; }
  .sm-hero h1 { font-size: 39px; letter-spacing: -1.8px; }
  .sm-hero .sm-eyebrow { font-size: 10px; letter-spacing: 1.15px; }
  .sm-intro { font-size: 16px; }
  .sm-hero-art img { aspect-ratio: .95; }
  .sm-hero-art figcaption { inset-inline: 12px; bottom: 12px; padding: 10px 12px; font-size: 10px; }
  .sm-header-row { gap: 20px; }
  .sm-brand img { width: 123px; }
  .sm-navigation { font-size: 13px; }
  .sm-navigation .wp-block-navigation__container { gap: 15px; }
  .sm-navigation .wp-block-navigation-item:last-child > .wp-block-navigation-item__content { padding-inline: 13px; }
  .sm-toolbar { margin-bottom: 36px; }
  .sm-search { flex: 1 1 100%; max-width: 100%; width: 100%; }
  .sm-post-grid > li:first-child .sm-post-card { grid-template-columns: 1fr; }
  .sm-post-grid > li:first-child .sm-card-image { min-height: 0; aspect-ratio: 16 / 9; }
  .sm-post-grid > li:first-child .sm-card-body { padding: 28px; }
  .sm-post-grid > li:first-child .sm-card-title { font-size: 31px; }
  .sm-cta { align-items: flex-start; flex-direction: column; gap: 25px; margin-bottom: 52px; }
  .sm-footer-top { gap: 25px; }
  .sm-footer-links { gap: 3px 20px; max-width: 390px; }
}
@media (max-width: 599px) {
  .sm-container { width: calc(100% - 40px); }
  .sm-header-row { min-height: 81px; }
  .sm-brand img { width: 127px; }
  .sm-hero { grid-template-columns: 1fr; gap: 31px; padding-block: 39px 32px; }
  .sm-hero .sm-eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 19px; }
  .sm-hero h1 { font-size: clamp(36px, 10.3vw, 55px); line-height: 1.09; letter-spacing: -1.9px; }
  .sm-intro { margin-top: 20px; max-width: 460px; font-size: 16px; line-height: 1.75; }
  .sm-text-link { margin-top: 17px; }
  .sm-hero-art img { aspect-ratio: 1.65; }
  .sm-hero-art figcaption { inset-inline: 12px; bottom: 12px; font-size: 10px; padding: 10px 12px; }
  .sm-toolbar { gap: 19px; padding-block: 18px; margin-bottom: 32px; }
  .sm-topics { gap: 5px 15px; font-size: 12px; }
  .sm-topics .wp-block-categories-list { gap: 3px 16px; }
  .sm-topics > a { padding-inline: 12px; }
  .sm-search { min-width: 0; }
  .sm-section-heading { margin-bottom: 23px; }
  .sm-section-heading .sm-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .sm-section-heading h2 { font-size: 31px; letter-spacing: -1px; }
  ul.sm-post-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .sm-card-image { aspect-ratio: 16 / 10; }
  .sm-card-title { font-size: 25px; }
  .sm-card-body { padding-top: 18px; }
  .sm-card-body .wp-block-post-terms { font-size: 10px; }
  .sm-post-grid > li:first-child .sm-card-body { padding: 24px 22px; }
  .sm-post-grid > li:first-child .sm-card-title { font-size: 28px; letter-spacing: -.8px; }
  .sm-post-grid > li:first-child .wp-block-post-excerpt { font-size: 15px; }
  .sm-card-meta { font-size: 11px; }
  .sm-library { padding-bottom: 42px; }
  .sm-pagination { margin-top: 32px; gap: 5px; }
  .sm-pagination .wp-block-query-pagination-numbers { gap: 3px; }
  .sm-pagination .wp-block-query-pagination-previous,
  .sm-pagination .wp-block-query-pagination-next { padding-inline: 5px; font-size: 12px; }
  .sm-empty { padding: 27px 22px; font-size: 16px; }
  .sm-cta { padding: 29px 25px; gap: 24px; margin-bottom: 42px; }
  .sm-cta .sm-eyebrow { font-size: 10px; letter-spacing: 1.2px; }
  .sm-cta h2 { font-size: 29px; letter-spacing: -1px; }
  .sm-cta p:not(.sm-eyebrow) { font-size: 14px; }
  .sm-button { font-size: 14px; padding-inline: 20px; }
  .sm-footer-top { flex-direction: column; gap: 23px; padding-block: 31px 23px; }
  .sm-footer-links { justify-content: flex-start; max-width: none; gap: 3px 22px; }
  .sm-footer-bottom { display: block; padding-block: 18px 21px; line-height: 1.8; }
  .sm-footer-bottom > nav { margin-top: 5px; gap: 18px; }
  .sm-archive-intro { padding-block: 38px 28px; }
  .sm-archive-intro h1 { font-size: 36px; letter-spacing: -1.3px; }
  .sm-reading { padding-block: 27px 45px; }
  .sm-back-link { margin-bottom: 22px; }
  .sm-reading > .wp-block-post-title,
  .sm-reading > h1 { font-size: 36px; letter-spacing: -1.3px; line-height: 1.16; }
  .sm-reading .wp-block-post-content { font-size: 17px; line-height: 1.8; }
  .sm-reading .wp-block-post-content h2 { font-size: 28px; letter-spacing: -.6px; }
  .sm-reading .wp-block-post-content h3 { font-size: 23px; }
  .sm-reading .wp-block-post-content blockquote { padding: 17px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sm-card-image:has(a:hover) img { transform: none; }
}
