/* Publications, site v23: article groups, the "At a glance" summary and reading refinements.
   Unlayered and loaded after page-theme.css, so these rules refine both earlier layers. */

/* Hub: introduction and groups */
.page-theme .pub-intro h1 { max-width:none; }
.page-theme .group-head { margin-top:8px; padding-top:52px; border-top:1px solid var(--border); margin-bottom:32px; }
.page-theme .group-head h2 { font-size:36px; line-height:1.15; }
.page-theme .group-head p { margin-top:10px; max-width:62ch; font-size:18px; line-height:1.7; color:var(--muted); }
.page-theme .pub-group + .pub-group .group-head { margin-top:20px; }
.page-theme .group-head + .reading-list { padding-top:0; }
.page-theme .group-head + .reading-list .reading-entry:first-child { padding-top:6px; }
.page-theme .reading-list .reading-entry:last-child { border-bottom:0; }
.page-theme .collection-note { margin-top:24px; }

/* Article titles in the hub are h3 under the group headings. */
.page-theme .entry-copy h3 { font-size:32px; line-height:1.16; max-width:770px; }
.page-theme .featured-copy h3 { font-size:36px; line-height:1.16; max-width:530px; }
.page-theme :where(.entry-copy h3 a,.featured-copy h3 a) {
  text-decoration:underline; text-decoration-color:var(--border); text-decoration-thickness:1px;
  text-underline-offset:5px; text-decoration-skip-ink:auto;
}
.page-theme .policy-example h4 { font-size:25px; line-height:1.18; margin:0 0 20px; }

/* Article: summary box, dates and links in running text */
.page-theme .glance { margin:0 0 34px; padding:20px 24px 22px; background:var(--surface); border:1px solid var(--border); border-radius:0; }
.page-theme .glance-title { margin:0 0 10px; font:600 14px/1.5 var(--font-body); color:var(--accent); }
.page-theme .glance dl { margin:0; display:grid; gap:10px; }
.page-theme .glance dl>div { display:grid; grid-template-columns:8.75em minmax(0,1fr); gap:2px 16px; }
.page-theme .glance dt { font-size:16px; line-height:1.65; font-weight:600; color:var(--ink); }
.page-theme .glance dd { margin:0; font-size:16px; line-height:1.65; color:var(--ink); }
.page-theme .byline time { color:inherit; }
.page-theme .article-body p a:not(.citation) { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; overflow-wrap:anywhere; }

@media(hover:hover) and (pointer:fine) {
  .page-theme :where(.entry-copy h3 a,.featured-copy h3 a):hover { text-decoration-color:var(--accent); }
}
@media(max-width:760px) {
  .page-theme .group-head { padding-top:40px; margin-bottom:24px; }
  .page-theme .group-head h2 { font-size:31px; }
  .page-theme .entry-copy h3 { font-size:30px; }
  .page-theme .featured-copy h3 { font-size:32px; }
}
@media(max-width:520px) {
  .page-theme .entry-copy h3 { font-size:28px; }
  .page-theme .featured-copy h3 { font-size:30px; }
  .page-theme .featured { padding:22px 16px; }
  .page-theme .policy-example { padding:18px 14px; margin-inline:0; }
  .page-theme .policy-example table { min-width:0; }
  .page-theme .policy-example :where(th,td) { padding:9px 6px; font-size:13px; }
  .page-theme .policy-example th:first-child { width:46%; }
  .page-theme .glance { padding:16px 16px 18px; }
  .page-theme .glance dl>div { grid-template-columns:1fr; }
  .page-theme .article-body .table-scroll table { min-width:0; }
  .page-theme .article-body .table-scroll :where(th,td) { padding:10px 9px; font-size:14px; line-height:1.55; }
}
@media print {
  .page-theme .glance { border-color:#999; break-inside:avoid; }
}
.page-theme .back { gap:6px; }
.page-theme .related strong { font-family:var(--font-display); font-weight:500; }
