/* JRG build log. The site chrome (top bar, masthead, menu, banner, footer) is
   the Loud Music theme's, unchanged: dark, with a #ff0078 accent. The build
   itself sits on a warm paper panel in a traditional serif, so the guitar
   reads as the picture and the site is the frame. */
.jrg-builds {
  --paper: #f5eee2; --ink: #2b2119; --muted: #6e5d4c; --rule: #d9cbb5;
  --wood: #7a3e1d; --aria: #3f5a6b; --aria-bg: #ebeef0;
}
.jrg-builds .content-area { width: 100%; float: none; }
.jrg-builds .entry-content.jrg-build, .jrg-builds .entry-content.jrg-index {
  max-width: 880px; margin: 0 auto; padding: 48px 56px; background: var(--paper); color: var(--ink);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.6;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
/* The theme paints every <p> translucent white for its dark pages. */
.jrg-builds .jrg-build p, .jrg-builds .jrg-index p, .jrg-builds .jrg-build li { color: inherit; }
.jrg-builds img { max-width: 100%; height: auto; display: block; }
.jrg-builds .entry-content h1, .jrg-builds .entry-content h3 { font-family: 'EB Garamond', Georgia, serif; color: var(--ink); }

.jrg-lede, .jrg-summary { font-size: 1.12em; }
.jrg-section { font-weight: 600; font-size: 1.05em; letter-spacing: .14em; text-transform: uppercase;
  margin: 2.4em 0 1em; padding-bottom: .35em; border-bottom: 1px solid var(--wood); color: var(--wood) !important; }

/* index cards */
.jrg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.jrg-card { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none;
  background: #fffaf2; border: 1px solid var(--rule); padding: 0 0 16px; }
.jrg-card:hover { border-color: var(--wood); }
.jrg-card img, .jrg-card-blank { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; margin-bottom: 10px; }
.jrg-card-blank { display: flex; align-items: center; justify-content: center; background: #eadfcd; color: var(--muted); font-style: italic; }
.jrg-card-title { font-size: 1.35em; font-weight: 600; padding: 0 16px; }
.jrg-card-meta { font-size: .9em; color: var(--muted); padding: 0 16px; }

/* build page */
.jrg-cover { text-align: center; }
.jrg-kicker { text-transform: uppercase; letter-spacing: .2em; font-size: .72em; color: var(--wood); margin: 0 0 .4em; }
.jrg-title { font-size: 3em; font-weight: 400; margin: 0; line-height: 1.1; }
.jrg-model { font-size: 1.25em; font-style: italic; margin: .2em 0 0; }
.jrg-player { color: var(--muted); margin: .2em 0 1.4em; }
.jrg-cover-photo { margin: 0 auto 1.4em; }
.jrg-cover-photo img { margin: 0 auto; border: 8px solid #fffaf2; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.jrg-summary { text-align: left; }
.jrg-due { font-style: italic; color: var(--muted); }
.jrg-specs table { width: 100% !important; max-width: none; border-collapse: collapse; border: 0; margin: 0; }
.jrg-specs th, .jrg-specs td { text-align: left; vertical-align: top; padding: .5em .6em; border: 0;
  border-bottom: 1px dotted var(--rule); background: none; color: var(--ink); }
.jrg-specs th { width: 34%; font-weight: 600; font-variant: small-caps; letter-spacing: .04em; }

/* On screen the newest entry is on top; the DOM (and the printed book) runs oldest first. */
.jrg-entries { display: flex; flex-direction: column-reverse; gap: 56px; }
.jrg-entry-head { display: flex; flex-wrap: wrap; gap: .3em 1em; align-items: baseline; margin-bottom: .7em; }
.jrg-entry-head time { font-weight: 600; font-size: 1.15em; }
.jrg-stage { font-variant: small-caps; letter-spacing: .08em; color: var(--wood); border: 1px solid var(--wood); padding: 0 .55em; font-size: .9em; }
.jrg-shot { margin: 0 0 1em; }
.jrg-shot img { border: 6px solid #fffaf2; box-shadow: 0 1px 5px rgba(0, 0, 0, .16); }
.jrg-shot figcaption { font-size: .85em; font-style: italic; color: var(--muted); margin-top: .4em; }

/* Attribution: John's words and ARIA's words never look alike. */
.jrg-byline { font-family: 'Montserrat', sans-serif; font-size: .62em !important; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; margin: 0 0 .35em !important; }
.jrg-note { margin: 0 0 1.1em; }
.jrg-note .jrg-byline { color: var(--wood); }
.jrg-note p:not(.jrg-byline) { font-size: 1.18em; font-style: italic; margin: 0; }
.jrg-aria { background: var(--aria-bg); border-left: 3px solid var(--aria); padding: .8em 1.1em; }
.jrg-aria .jrg-byline { color: var(--aria); }
.jrg-aria .jrg-byline span { font-weight: 400; }
.jrg-aria p:not(.jrg-byline) { margin: 0 0 .7em; }
.jrg-aria p:last-child { margin-bottom: 0; }
.jrg-empty { color: var(--muted); font-style: italic; }

.jrg-colophon { margin-top: 3.2em; font-size: .88em; color: var(--muted); }
.jrg-colophon .jrg-section { font-size: 1.1em; }
.jrg-colophon ol { padding-left: 1.3em; margin: 0 0 1em; }
.jrg-colophon li { margin-bottom: .4em; }
.jrg-colophon strong { color: var(--ink); }

@media (max-width: 700px) {
  .jrg-builds .entry-content.jrg-build, .jrg-builds .entry-content.jrg-index { padding: 24px 18px; font-size: 17px; }
  .jrg-title { font-size: 2.2em; }
  .jrg-specs th { width: 40%; }
}

/* ---- Print: the book. Cover, spec sheet, then one photo per page with its
   paragraph underneath ("8x10 color glossy pictures ... and a paragraph").
   The colophon prints last. ---- */
@media print {
  @page { size: letter; margin: .5in; }
  html, body, .site, .site-content, .page-section { background: #fff !important; }
  .jrg-builds .entry-content.jrg-build { background: #fff; box-shadow: none; padding: 0; max-width: none; font-size: 12pt; }
  #top-bar, #masthead, #page-site-header, #colophon, .backtotop, .jrg-log-head, .jrg-empty { display: none !important; }
  .wrapper, .page-section { max-width: none; width: auto; margin: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }

  .jrg-cover { break-after: page; padding-top: .3in; }
  .jrg-cover-photo img { max-height: 6.2in; width: auto; }
  .jrg-specs { break-after: page; }
  .jrg-specs .jrg-section { margin-top: 0; }

  .jrg-entries { display: block; }
  .jrg-entry { break-before: page; }
  .jrg-entry:first-child { break-before: auto; }
  .jrg-shot img { max-height: 6.6in; width: auto; max-width: 100%; margin: 0 auto; box-shadow: none; border: 0; }
  .jrg-more { break-before: page; }
  .jrg-words, .jrg-shot { break-inside: avoid; }
  .jrg-aria { background: none; border-left-color: #888; }
  .jrg-colophon { break-before: page; }
}
