/* Guide and article pages, on top of blog-v2.css and blog-article.css. */

/* sub-heading inside an article that was a styled line (not a heading tag) on the old page */
.az-body .az-sub { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.az-body > .az-sub:first-child { margin-top: 0; }

/* table */
.az-body .az-table { width: 100%; margin: 28px 0 36px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 16px; line-height: 1.55; }
.az-body .az-table td, .az-body .az-table th { padding: 16px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.az-body .az-table tr:first-child td, .az-body .az-table tr:first-child th { border-top: 0; background: var(--p-blue); font-weight: 700; color: var(--ink); }

/* previous / next */
.az-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.az-nav-link { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .3s cubic-bezier(.22, .8, .24, 1), box-shadow .3s ease; }
.az-nav-link:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(20, 69, 194, .2), 0 24px 40px -30px rgba(15, 40, 110, .5); }
.az-nav-link--next { justify-content: space-between; text-align: right; grid-column: 2; }
.az-nav-link em { display: block; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.az-nav-link strong { display: block; margin-top: 4px; font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.az-nav-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--p-blue); color: var(--brand); transition: background-color .25s ease, color .25s ease; }
.az-nav-ic svg { width: 20px; height: 20px; }
.az-nav-link:hover .az-nav-ic { background: var(--brand); color: #fff; }
.az-nav-link--prev { grid-column: 1; }

/* Articles index */
.ax-grid { margin-top: 0; }
.ax-card-excerpt { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--body); }

@media (max-width: 720px) {
  .az-nav { grid-template-columns: 1fr; margin-top: 48px; }
  .az-nav-link--prev, .az-nav-link--next { grid-column: auto; }
  .az-nav-link { padding: 18px 18px; border-radius: 20px; }
  .az-body .az-table { display: block; overflow-x: auto; font-size: 14.5px; }
  .az-body .az-sub { margin-top: 32px; font-size: 19px; }
}
.ax-more { margin-top: 48px; text-align: center; font-size: 16px; color: var(--body); }
.ax-more a { color: var(--brand); font-weight: 600; }

/* article thumbnails carry their own lettering, so show them whole instead of cropping them to a fixed frame */
.ax-grid .bz-shot img, .az-more .bz-shot img { aspect-ratio: auto; height: auto; object-fit: contain; }
.ax-grid .bz-card:hover .bz-shot img, .az-more .bz-card:hover .bz-shot img { transform: none; }

/* a heading that opens a list item (the old pages put an h3 inside the bullet) sits on the tick line, not below it */
.az-body ul li > h3, .az-body ol li > h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }

/* phones: tables fit the screen instead of scrolling sideways; headings inside list items stay list-sized */
@media (max-width: 720px) {
  body.hv:not(.ai-page) .az-body .az-table { display: table; table-layout: fixed; width: 100%; overflow: visible; font-size: 13px; line-height: 1.45; border-radius: 18px; margin: 20px 0 26px; }
  body.hv:not(.ai-page) .az-body .az-table td, body.hv:not(.ai-page) .az-body .az-table th { padding: 10px 10px; overflow-wrap: anywhere; }
  body.hv:not(.ai-page) .az-body ul li > h3, body.hv:not(.ai-page) .az-body ol li > h3 { font-size: 15.5px; margin-bottom: 2px; }
  body.hv:not(.ai-page) .az-body ul li, body.hv:not(.ai-page) .az-body ol li { font-size: 15px; }
  body.hv:not(.ai-page) .az-nav-link strong { font-size: 15px; }
  body.hv:not(.ai-page) .az-nav-link em { font-size: 11.5px; }
  body.hv:not(.ai-page) .az-nav-ic { width: 40px; height: 40px; }
}
.az-body .az-table h3 { margin: 0; font-size: 17px; line-height: 1.3; }
@media (max-width: 720px) {
  body.hv:not(.ai-page) .az-body .az-table td, body.hv:not(.ai-page) .az-body .az-table th { overflow-wrap: break-word; }
  body.hv:not(.ai-page) .az-body .az-table h3 { font-size: 13.5px; }
}
