/* Source-owned additions to the deployed stylesheet (site/assets/cairoglyphics.css).
   Copied to /assets/css/cg-extras.css by bin/build.py. Uses currentColor and
   transparency so it follows whichever theme the base stylesheet sets. */

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 8px;
}
.author-box .author-photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.author-box p { margin: 0 0 0.5rem; }
.author-box .author-links { margin-bottom: 0; font-size: 0.95em; }

.series-line {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.9em;
  opacity: 0.8;
}

.note {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid rgba(127, 127, 127, 0.6);
  background: rgba(127, 127, 127, 0.1);
  border-radius: 4px;
}
.note p { margin: 0; }
.note-news {
  border-left-color: #663399;
  background: rgba(102, 51, 153, 0.12);
  font-size: 1.15em;
}
.note-news strong { color: #663399; letter-spacing: 0.04em; }

.earlier { margin: 2rem 0 1rem; }
.earlier h2 { font-size: 1.1rem; }
.earlier ul { padding-left: 1.2rem; }
.earlier time { opacity: 0.7; font-size: 0.9em; margin-left: 0.4rem; }

@media (max-width: 480px) {
  .author-box { flex-direction: column; }
}

/* More filters: Type, Site and sort live in a collapsible panel. */
.more-filters-btn {
  font: inherit;
  cursor: pointer;
  margin: 0.25rem 0 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}
.more-filters-btn[aria-expanded="true"]::after { content: " \25B4"; }
.more-filters-btn[aria-expanded="false"]::after { content: " \25BE"; }
.more-filters-panel[hidden] { display: none; }

/* Headlines use the full column width; only body text keeps a reading-length cap (2026-11-09). */
.hero h1 { max-width: none; }
/* Article titles span the header width; the body below keeps its reading column. */
.article h1 { max-width: none; width: min(calc(var(--maxw) - 48px), calc(100vw - 48px)); }
