/* The daily reading and editorial pages use the same masthead, rules and colors. */
.daily-site .site-nav a[aria-current]::after { content: none; }
.daily-site .masthead-inner { border-color: var(--line); }
.daily-site .site-nav a { text-underline-offset: 5px; }
.daily-site .site-info-links { max-width: 880px; }
.daily-site .reading-next + .result-sharing { margin-top: 24px; }

.daily-editorial {
  --quiet-line: #8996ab78;
  --figure-border: #d9be8b80;
}
.daily-editorial .breadcrumbs { color: var(--soft); }
.daily-editorial .breadcrumbs [aria-current=page] { color: var(--ink); }
.daily-editorial main.gallery-main { padding-block: clamp(28px, 5vw, 62px) 72px; }
.daily-editorial main.detail-main { max-width: 1060px; }
.daily-editorial main.editorial-guide,
.daily-editorial main.info-main { max-width: 780px; padding-block: clamp(28px, 5vw, 58px) 66px; }

.daily-editorial .gallery-intro {
  max-width: none;
  text-align: start;
  margin: 0 0 36px;
  border-block: 1px solid var(--quiet-line);
  padding: 24px 0 25px;
}
.daily-editorial .gallery-intro p:not(.eyebrow) { margin-inline: 0; color: var(--soft); }
.daily-editorial :is(.gallery-intro, .detail-intro, .editorial-heading, .info-heading) h1 {
  color: var(--ink);
  font: 600 clamp(2rem, 5.1vw, 4.8rem)/1.2 var(--serif);
  letter-spacing: 0;
  margin-block: 0 14px;
}
.daily-editorial .detail-intro h1 { font-size: clamp(2rem, 6vw, 4.8rem); }
.daily-editorial .editorial-heading h1 .title-unit { display: inline-block; white-space: nowrap; }
.daily-editorial .eyebrow { color: var(--accent); }
.daily-editorial .gallery-draw-link {
  padding: 10px 14px;
  min-height: 44px;
  color: var(--action-text);
  background: var(--action);
  font-weight: 700;
  border: 0;
}
.daily-editorial .gallery-draw-link:hover { color: var(--action-text); filter: brightness(.94); }
.daily-editorial a:not(.gallery-tile):not(.wordmark) { text-underline-offset: 4px; }
.daily-editorial .gallery-grid { column-gap: clamp(12px, 3vw, 32px); row-gap: 27px; }
.daily-editorial .gallery-tile {
  background: none;
  border: 0;
  border-top: 1px solid var(--quiet-line);
  padding: 10px 0 0;
  box-shadow: none;
}
.daily-editorial .gallery-tile:hover,
.daily-editorial .gallery-tile:focus-visible { box-shadow: none; border-color: var(--accent); }
.daily-editorial .gallery-art { border: 1px solid var(--figure-border); background: var(--surface); }
.daily-editorial .gallery-art img { object-fit: contain; }
.daily-editorial .gallery-tile-copy { min-height: 0; padding-inline: 0; }
.daily-editorial .gallery-tile-copy strong { color: var(--ink); font-size: clamp(1rem, 2vw, 1.32rem); font-weight: 600; }
.daily-editorial .gallery-tile-copy > span:not(.gallery-number),
.daily-editorial .gallery-tile-copy small { color: var(--soft); }
.daily-editorial .gallery-tile-copy > span:not(.gallery-number) { letter-spacing: .02em; }
.daily-editorial .gallery-tile-copy small { line-height: 1.65; }
.daily-editorial .gallery-number { color: var(--accent); }
.daily-editorial .detail-hero { border-block: 1px solid var(--quiet-line); padding: 26px 0; }
.daily-editorial .detail-art img { border-color: var(--figure-border); box-shadow: 0 12px 28px #0b101a65; }
.daily-editorial :is(.detail-art figcaption, .detail-lead, .detail-secondary-name, .info-intro, .info-date,
  .info-section p, .meaning-panel p, .editorial-heading > p:not(.eyebrow), .editorial-section p,
  .editorial-question-list dd, .editorial-section .editorial-note) { color: var(--soft); }
.daily-editorial :is(.editorial-section h2, .info-section h2, .meaning-panel h2, .topic-section h2) {
  color: var(--ink);
  font: 600 clamp(1.45rem, 3vw, 2.25rem)/1.35 var(--serif);
  letter-spacing: 0;
}
.daily-editorial .editorial-section h3 { color: var(--ink); }
.daily-editorial .detail-keywords li { color: var(--ink); background: var(--surface); border-color: var(--quiet-line); }
.daily-editorial .meaning-panel {
  border-color: var(--quiet-line);
  background: var(--surface);
  box-shadow: none;
}
.daily-editorial .meaning-panel h3, .daily-editorial .meaning-keywords strong,
.daily-editorial .editorial-topic summary, .daily-editorial .editorial-question-list dt { color: var(--accent); }
.daily-editorial .editorial-section blockquote,
.daily-editorial .contact-email { background: var(--surface); border-color: var(--quiet-line); }
.daily-editorial .editorial-toc, .daily-editorial .editorial-topic,
.daily-editorial .info-heading, .daily-editorial .detail-pager { border-color: var(--quiet-line); }
.daily-editorial .editorial-toc a, .daily-editorial .editorial-topic summary,
.daily-editorial .info-section a, .daily-editorial .editorial-links a { color: var(--accent); }
.daily-editorial .editorial-toc a, .daily-editorial .editorial-topic summary,
.daily-editorial .detail-pager a { align-content: center; min-height: 44px; }
.daily-editorial .editorial-toc a { display: inline-grid; min-height: 44px; }
.daily-editorial .detail-pager a { padding-block: 8px; }
.daily-editorial .detail-pager a strong { color: var(--ink); }

@media (max-width: 700px) {
  .daily-editorial .detail-hero > .detail-intro { grid-row: 1; text-align: start; }
  .daily-editorial .detail-hero .detail-keywords { justify-content: flex-start; }
  .daily-editorial .detail-art { width: min(100%, 270px); }
  .daily-editorial .detail-hero { gap: 19px; padding-block: 18px; }
  .daily-editorial .gallery-grid { gap: 22px 13px; }
  .daily-editorial .gallery-tile-copy small { font-size: .81rem; }
}
@media (max-width: 370px) {
  .daily-editorial:lang(ja) .editorial-heading h1 { font-size: clamp(1.5rem, 8.4vw, 2rem); }
}
