/* Illustrated index: fixed thumbnail slots and three equally spaced metrics.
   The separate newspaper entry retains its own composition. */
:root { --paper: #fff; }
.site-header #reading-audience[hidden] { display: none !important; }
body .site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  background: #fff;
  border-bottom: 1px solid #c5dcfa;
}
.site-header .brand { font-size: 30px; line-height: 1.4; letter-spacing: 0; }
.site-header .header-actions { gap: 20px; margin: 0; width: auto; }
.site-header .search-toggle { display: inline-flex; width: 44px; height: 44px; }
.site-header .search-toggle .icon { width: 24px; height: 24px; }
.site-header .account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  padding: 8px 16px;
  background: #edf5ff;
  border-radius: 9px;
  color: var(--accent);
  font-size: 17px;
}
.site-header .account-button:hover { background: #dfedff; }
.site-header .header-actions .search-area { display: none; }
body.search-open .site-header .header-actions .search-area {
  display: flex;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-color: #adcaf0;
  box-shadow: 0 8px 24px rgb(25 44 77 / .12);
  z-index: 30;
}
.workspace:not(.searching-view) .issue-heading {
  height: auto;
  min-height: 64px;
  background: #f4f9ff;
  border-bottom: 1px solid #c5dcfa;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.issue-heading .archive-toolbar { display: flex; flex-wrap: wrap; gap: 0 14px; }
.issue-heading .archive-toolbar .calendar-trigger { color: var(--accent); font-size: 20px; font-weight: 500; }
.issue-heading .archive-toolbar .group-count { margin-left: auto; font-size: 16px; }
.news-list { padding-top: 8px; }
.news-list .news-item,
.news-list .news-item:hover,
.date-group .news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "summary" "stats";
  gap: 12px 28px;
  align-items: start;
  min-height: 0;
  margin: 18px 0 0;
  padding: 24px 26px 12px;
  background: #f1f8ff;
  border: 1px solid #bad8fc;
  border-radius: 14px;
  box-shadow: none;
}
.news-list .news-item.has-media {
  grid-template-columns: clamp(220px, 26vw, 320px) minmax(0, 1fr);
  grid-template-areas: "media title" "media summary" "media stats";
  grid-template-rows: auto 1fr auto;
}
.news-list .news-item::before,
.news-list .news-item::after { content: none; }
.news-list .news-content,
.news-list .news-title { display: contents; }
.news-list .news-content::after { content: none; }
.news-list .news-item h2,
.news-list .news-item.is-lead h2 {
  margin: 0;
  grid-area: title;
  font: 700 28px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  color: #091a3e;
}
.news-list .news-media { grid-area: media; display: block; min-width: 0; align-self: start; }
.news-list .news-media figure { margin: 0; }
.news-list .news-media figcaption { margin-top: 6px; color: #687c96; font-size: 12px; line-height: 1.5; }
.news-list .news-thumbnail,
.news-list .is-lead .news-thumbnail {
  float: none;
  display: block;
  width: 100%;
  height: 200px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: #f4f8fc;
}
.news-list .news-summary,
.news-list .is-lead .news-summary {
  display: -webkit-box;
  grid-area: summary;
  margin: 0;
  color: #526684;
  font-size: 18px;
  line-height: 1.8;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-list .news-item .engagement {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  margin: 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid #cbdff7;
  color: #526684;
  font-size: 15px;
}
.news-list .news-item .metric { min-width: 0; min-height: 44px; gap: 8px; justify-content: center; }
.news-list .news-item .metric + .metric { padding-left: 0; border-left: 0; }
.news-list .news-item .metric .icon { width: 21px; height: 21px; }
.news-list .news-title:hover h2,
.news-list .news-title:focus-visible h2 { color: var(--accent); }
.news-list .news-title:focus-visible h2,
.news-list .news-title:focus-visible .news-summary { outline: 2px solid var(--accent); outline-offset: 4px; }
.article-footer .engagement { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 0; }
.article-footer .metric { min-width: 0; justify-content: center; }
.article-footer .metric + .metric { border: 0; padding-left: 0; }
@media (max-width: 760px) {
  :root { --page-gutter: 12px; }
  body .site-header,
  .article-open .site-header { min-height: 52px; padding-inline: 18px; grid-template-rows: 52px; }
  .site-header .brand { font-size: 25px; }
  .site-header .header-actions { gap: 12px; }
  .site-header .account-button { min-width: 50px; min-height: 36px; padding: 6px 11px; font-size: 16px; border-radius: 8px; }
  .site-header .search-toggle .icon { width: 23px; height: 23px; }
  .content-scroll .workspace { width: calc(100% - 24px); margin-inline: auto; }
  .workspace:not(.searching-view) .issue-heading {
    min-height: 48px;
    margin-inline: -12px;
    padding: 0 18px;
    background: #f4f9ff;
  }
  .issue-heading .archive-toolbar { gap: 0 8px; }
  .issue-heading .archive-toolbar .calendar-trigger { font-size: 18px; gap: 5px; min-height: 48px; }
  .issue-heading .archive-toolbar .calendar-trigger .icon { width: 16px; height: 16px; }
  .issue-heading .archive-toolbar .group-count { font-size: 15px; }
  .news-list { padding-top: 4px; }
  .news-list .news-item,
  .news-list .news-item:hover,
  .date-group .news-item { margin: 12px 0 0; padding: 18px 14px 10px; border-radius: 12px; gap: 12px 16px; }
  .news-list .news-item.has-media {
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-areas: "title title" "summary media" "stats stats";
    grid-template-rows: auto auto auto;
  }
  .news-list .news-item h2,
  .news-list .news-item.is-lead h2 { font-size: 21px; line-height: 1.45; }
  .news-list .news-thumbnail,
  .news-list .is-lead .news-thumbnail { width: 112px; max-width: none; height: 92px; margin: 0; border-radius: 5px; }
  .news-list .news-media figcaption { margin-top: 4px; font-size: 11px; text-align: right; }
  .news-list .news-summary,
  .news-list .is-lead .news-summary { margin: 0; font-size: 15px; line-height: 1.8; -webkit-line-clamp: 3; }
  .news-list .news-item .engagement { gap: 0; margin: 0; padding: 6px 0 0; font-size: 14px; }
  .news-list .news-item .metric .icon { width: 19px; height: 19px; }
  .engagement .metric-unit { display: none; }
}
@media (max-width: 360px) {
  .issue-heading .archive-toolbar .calendar-trigger { font-size: 16px; }
  .issue-heading .archive-toolbar .group-count { font-size: 13px; }
  .news-list .news-item h2,
  .news-list .news-item.is-lead h2 { font-size: 20px; }
  .news-list .news-summary,
  .news-list .is-lead .news-summary { font-size: 14px; }
}

/* Editorial reading layout, shared by desktop and phone. */
body .site-header { border-bottom-color: #e5ebf3; }
.site-header .brand .brand-ai { color: #2169ee; }
.workspace:not(.searching-view) .issue-heading { background: #fff; border-bottom-color: #e0e7f0; }
.news-list .news-item,
.news-list .news-item:hover,
.date-group .news-item {
  margin: 0;
  padding: 28px 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e0e7f0;
  border-radius: 0;
  gap: 12px 30px;
}
.news-list .news-item.has-media {
  grid-template-columns: clamp(250px, 29vw, 350px) minmax(0, 1fr);
  grid-template-areas: "media title" "media summary" "media stats";
}
.news-list .news-item h2,
.news-list .news-item.is-lead h2 { font-size: 26px; line-height: 1.4; }
.news-list .news-item.is-lead h2 { font-size: 28px; }
.news-list .news-summary,
.news-list .is-lead .news-summary { line-height: 1.65; }
.news-list .news-media figure { position: relative; }
.news-list .news-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 3px 8px;
  background: rgb(14 31 56 / .72);
  color: #fff;
  border-radius: 0 6px 0 6px;
  line-height: 1.4;
}
.news-list .news-item .engagement { border: 0; padding: 0; }
.news-list .news-item button.metric,
.news-list .news-item button.metric[aria-pressed="true"],
.news-list .news-item button.metric:active {
  background: transparent;
  border-radius: 0;
  transform: none;
}
.news-list .news-item button.metric[aria-pressed="true"] { color: var(--accent); }
.news-list .news-item button.metric:hover::before { background: transparent; }
@media (min-width: 761px) {
  .site-header .header-actions .search-area { display: flex; position: static; width: 260px; background: #f5f7fa; border-color: transparent; box-shadow: none; }
  .site-header .search-toggle { display: none; }
}
@media (max-width: 760px) {
  .workspace:not(.searching-view) .issue-heading { background: #fff; }
  .news-list .news-item,
  .news-list .news-item:hover,
  .date-group .news-item { margin: 0; padding: 22px 6px; border-radius: 0; gap: 12px 16px; }
  .news-list .news-item.has-media { grid-template-columns: minmax(0, 1fr) 112px; }
  .news-list .news-item.has-media { grid-template-areas: "title title" "summary media" "stats stats"; }
  .news-list .news-item h2,
  .news-list .news-item.is-lead h2 { font-size: 21px; line-height: 1.4; }
  .news-list .news-summary,
  .news-list .is-lead .news-summary { line-height: 1.65; -webkit-line-clamp: 4; }
  .news-list .news-media figcaption { margin: 0; font-size: 10px; text-align: left; }
  .news-list .news-item .engagement { padding: 0; }
}
@media (max-width: 360px) {
  .news-list .news-item h2,
  .news-list .news-item.is-lead h2 { font-size: 20px; }
}
