@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/atlas/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/atlas/newsreader-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/atlas/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

main[data-aa-blog-key*="::post::"] .aa-blog-root,
main[data-aa-blog-key*="::post::"] .aa-blog-post-body,
main[data-aa-blog-key*="::post::"] .aa-blog-post-prose {
  font-family: "Archivo", Arial, sans-serif;
}

main[data-aa-blog-key*="::post::"] .aa-blog-post-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 460;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

main[data-aa-blog-key*="::post::"] .aa-blog-post-body h2,
main[data-aa-blog-key*="::post::"] .aa-blog-post-body h3,
main[data-aa-blog-key*="::post::"] .aa-blog-post-prose h2,
main[data-aa-blog-key*="::post::"] .aa-blog-post-prose h3,
main[data-aa-blog-key*="::post::"] .aa-blog-faq-title,
main[data-aa-blog-key*="::post::"] .aa-blog-related-title {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.026em !important;
}

main[data-aa-blog-key*="::post::"] .aa-blog-post-body h2 {
  font-size: clamp(2.15rem, 3.2vw, 3.25rem) !important;
  font-style: italic;
}

main[data-aa-blog-key*="::post::"] .aa-blog-post-body h3 {
  font-size: clamp(1.65rem, 2.2vw, 2.25rem) !important;
}

main[data-aa-blog-key*="::post::"] .aa-blog-post-cat,
main[data-aa-blog-key*="::post::"] .aa-blog-article-author-name,
main[data-aa-blog-key*="::post::"] .aa-blog-article-author-date,
main[data-aa-blog-key*="::post::"] .aa-blog-sidebar-label,
main[data-aa-blog-key*="::post::"] .aa-blog-sidebar-top,
main[data-aa-blog-key*="::post::"] .aa-blog-back {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

main[data-aa-blog-key*="::post::"] .aa-blog-article-author-avatar {
  object-position: 50% 18%;
  background: #0d0e0c;
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap {
  width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--aa-blog-border);
  border-radius: 2px;
  -webkit-overflow-scrolling: touch;
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap table {
  display: table !important;
  width: 100%;
  min-width: 660px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--aa-blog-surface);
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap th,
main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap td {
  display: table-cell !important;
  padding: 15px 17px;
  border: 0 !important;
  border-right: 1px solid var(--aa-blog-border) !important;
  border-bottom: 1px solid var(--aa-blog-border) !important;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap th:last-child,
main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap td:last-child {
  border-right: 0 !important;
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap tbody tr:last-child td {
  border-bottom: 0 !important;
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap th {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--aa-blog-text);
  background: color-mix(in srgb, var(--aa-blog-text) 6%, var(--aa-blog-surface));
}

main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap td {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--aa-blog-text) 88%, var(--aa-blog-muted));
}

@media (max-width: 680px) {
  main[data-aa-blog-key*="::post::"] .aa-blog-post-title {
    line-height: 1.02;
    letter-spacing: -0.028em;
  }

  main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap {
    margin: 22px 0 28px;
  }

  main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap table {
    min-width: 600px;
  }

  main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap th,
  main[data-aa-blog-key*="::post::"] .aa-blog-table-wrap td {
    padding: 13px 14px;
  }
}
