/* Etrel site-only styles. Notes in the vault are not changed by anything here. */

/* Hide the "Draft" status badge (notes keep canon_status: DRAFT). */
.badge-draft { display: none !important; }

/* Hide the session counter in the home hero until recaps are published. */
.landing-hero .hero-dates { display: none; }

/* Hide the "Story" menu group while it only holds Events (Events is also under World). */
.nav-groups > .nav-group:first-child:has(a[href$="events/index.html"]) { display: none; }
#mobile-nav > h3:first-of-type:has(+ ul a[href$="events/index.html"]),
#mobile-nav > h3:first-of-type + ul:has(a[href$="events/index.html"]) { display: none; }

/* Wide screens: widen the page, let card grids fill it, keep paragraphs readable. */
@media (min-width: 1400px) {
  body:not(.own-page) > main.content { max-width: 80rem; }
  /* Text and its headings share one ~90-character column (one rem width so headings and text line up); card grids use the full width. */
  main.content > p,
  main.content > ul,
  main.content > ol,
  main.content > blockquote,
  main.content > .pull-quote,
  
  main.content > h2,
  main.content > h3 { max-width: 54rem; }
}

/* Very wide screens (27" 1440p and up): slightly larger type overall. */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
}
