/* Narrow-screen fixes verified against the shared shell and imported articles. */
.aj-article-empty { padding: 24px; background: #f5f7fa; border: 1px solid #e0e5ec; border-radius: 10px; color: #45536a; font-size: 14px; line-height: 1.7; }
.aj-article-empty h3 { margin-top: 0; color: #18243c; }
.aj-article-empty a { text-decoration: underline; text-underline-offset: 3px; }
.aj-article-share-status { flex-basis: 100%; overflow-wrap: anywhere; font-size: 12px; }
.aj-review-retry { padding: 6px 12px; margin-left: 8px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
.aj-review-retry:hover, .aj-review-retry:focus { background: transparent; color: inherit; box-shadow: none; }
.aj-closest-match-card[hidden], .aj-closest-match-img[hidden], #aj-next-read-empty[hidden] { display: none; }
.aj-reader-profile .rp-tab, .aj-author-profile .ap-tab { background: transparent; box-shadow: none; }
.ft-grid > *, .aj-sec-grid > *, .aj-sec-lens-grid > *, .aj-debate-dims-grid > * { min-width: 0; }
.aj-article-content figure, .aj-article-content .wp-caption { max-width: 100%; }
.aj-article-content img { max-width: 100%; height: auto; }
.aj-article-content figure.is-resized { width: auto; }
.aj-article-content .wp-block-image figure { display: block; width: auto; max-width: 100%; }
.aj-article-content .wp-block-image figcaption { display: block !important; width: 100%; max-width: 100%; box-sizing: border-box; }
.aj-article-content .wp-block-image .is-resized img { max-width: 100%; height: auto; }
.aj-share-pair-inline { flex-wrap: wrap; }
.aj-rebuttal-cta-card .aj-rebuttal-body { min-width: 0; }
.aj-article-content { overflow-wrap: anywhere; }
.aj-article-content pre, .aj-article-content .wp-block-table { max-width: 100%; overflow-x: auto; }
@media (max-width: 900px) {
  .aj-sec-grid, .aj-sec-lens-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .aj-debate-dims-grid { grid-template-columns: minmax(0, 1fr); }
  .aj-dim-header { flex-wrap: wrap; }
  .aj-dim-name { white-space: normal; }
}
@media (max-width: 560px) {
  .aj-site-header .aj-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  .aj-site-header .aj-tools-item { padding: 12px 8px; min-height: 72px; gap: 7px; }
  .aj-site-header .aj-tools-item:nth-child(odd) { border-right: 1px solid #e7eaf0; }
  .aj-site-header .aj-tool-num { width: 18px; font-size: 14px; }
  .aj-site-header .aj-tool-title { font-size: 13px; line-height: 1.35; letter-spacing: .04em; }
  .aj-site-header .aj-tool-sub { font-size: 11px; line-height: 1.4; white-space: normal; }
  .aj-site-header .aj-tool-arrow { display: none; }
  .aj-site-header .aj-masthead { padding-top: 18px; }
  .aj-site-header .aj-masthead-logo { width: 76px; }
  .aj-site-header .aj-masthead-wordmark { font-size: 26px; margin-top: 12px; }
  .aj-site-footer .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .aj-site-footer .ft-brand { grid-column: 1 / -1; }
  .aj-site-footer .ft-brand-title { font-size: 18px; }
  .aj-site-footer .ft-theel-pill { width: fit-content; }
  .aj-debate-left, .aj-debate-right { padding: 28px 20px; }
  .aj-sec-title { overflow-wrap: anywhere; }
  .aj-sec-stats-row { row-gap: 16px; }
  .aj-sec-stat-item { min-width: 0; }
}
