/* USASkips blog pages (generated by frontend/seo/build_pages.py): loaded after site.css,
   on /blog/ pages only. Uses site.css's tokens. */
.post-hero h1 { max-width: 900px; font-size: 40px; line-height: 1.12; text-wrap: balance; }
.post-meta { margin: 16px 0 0; font: 400 13px/1.6 var(--mono); color: var(--muted); }
.post-meta .author { color: var(--ink); font-weight: 500; }
.post-meta [aria-hidden] { margin: 0 4px; color: var(--faint); }

/* The short answer, right under the title */
.answer { max-width: 780px; margin: 22px 0 0; padding: 16px 20px 18px; border: 1px solid #b9e3e0; border-left: 3px solid var(--teal); border-radius: 8px; background: #fff; }
.answer-label { margin-bottom: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.answer p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }

/* A post's column is a little wider than a guide page's: its tables have a Source column */
.post-grid { gap: 44px; }
.post-grid .content { max-width: 808px; }

/* Price tables: a source and the date it was checked on every row */
.table-scroll table.wide { min-width: 700px; }
table.wide th, table.wide td { padding-left: 12px; padding-right: 12px; }
table.wide td.none { text-align: center; font-family: var(--mono); color: var(--muted); }
.src { display: block; min-width: 118px; font-size: 12.5px; line-height: 1.5; }
.src a { overflow-wrap: anywhere; }
.src small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
td small { color: var(--muted); }
td.hl small { color: #3f6f6b; }

blockquote { margin: 8px 0 18px; padding: 14px 18px; border-left: 3px solid var(--line); background: var(--soft); border-radius: 0 8px 8px 0; color: var(--ink); font-size: 15.5px; line-height: 1.65; }

/* Blog index */
.post-list { border-top: 1px solid var(--line); }
.post-card { padding: 24px 0 22px; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand-700); text-decoration: underline; }
.post-card .post-meta { margin: 8px 0 10px; }
.post-card p:last-child { margin: 0; }

@media (max-width: 640px) {
  .post-hero h1 { font-size: 28px; line-height: 1.16; }
  .answer { padding: 14px 16px 16px; }
  .answer p { font-size: 16.5px; }
  .post-card h2 { font-size: 20px; }
  /* Wide tables scroll sideways inside their box; the service name stays in view */
  .table-scroll table.wide { min-width: 680px; }
  .table-scroll table.wide thead th { white-space: nowrap; }
  table.wide th:first-child { position: sticky; left: 0; z-index: 1; max-width: 104px; background: #fff; box-shadow: 1px 0 0 var(--line); }
  table.wide thead th:first-child { background: var(--soft); }
  /* A soft shadow on the side that has more columns to scroll to */
  .table-scroll {
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) 0 0 / 32px 100% no-repeat local,
      linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) 100% 0 / 32px 100% no-repeat local,
      linear-gradient(to right, rgba(15,23,42,.16), rgba(15,23,42,0)) 0 0 / 14px 100% no-repeat scroll,
      linear-gradient(to left, rgba(15,23,42,.16), rgba(15,23,42,0)) 100% 0 / 14px 100% no-repeat scroll;
  }
}
