/* ----------------------------
   BASE STYLE — base.css
   Shared typography and layout
   ---------------------------- */
/* 
html { background-color: #cccccc; }

body {
  background: #fff;
  color: #000;
  font-family: 'baskerville-urw', Georgia, serif;
  font-size: 1.25em;
  max-width: 48em;
  line-height: 1.5;
  margin: auto;
  padding: 1em;
}

p {
  margin: 0 0 1em 0;
  text-align: left;
}

h1, h2, h3 {
  font-family: sans-serif;
  font-weight: normal;
  line-height: 1.2;
}
 */

/* Paragraph formatting for hybrid print/web style */
p + p {
  text-indent: 1.5em;
  margin-top: -0.5em;
}

/* Footnotes (Source and Editor Notes) */
.footnote, .editor-notes li, .source-notes li {
}

.editor-notes, .source-notes {
  font-size: 0.9em;
  line-height: 1.4;
  margin-top: 2em;
  padding-left: 1.5em;
}

sup[id^="ref-"] {
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
}

sup[id^="ref-"] a {
  text-decoration: none;
}

/* ----------------------------
   TRANSLATION BLOCKS
   ---------------------------- */

.translation-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1ex;
  justify-content: space-between;
  margin-bottom: 2em;
  font-size: 90%;
}

.translation-block > div {
  flex: 1 1 30%;
  min-width: 18em;
  border: 1px solid black;
  padding: 1em;
  font-size: 90%;
}

.translation-block .original {
  color: #000;
}

.translation-block .translation {
  color: #000;
}

/* ----------------------------
   VERSE BLOCKS
   ---------------------------- */

.verse-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
  margin: 2em 0;
}

.verse-block .verse {
  flex: 1 1 45%;
  font-family: 'baskerville-urw', Georgia, serif;
  font-size: 1em;
  line-height: 1.5;
  white-space: pre-line;
}

.verse-block .original {
  font-style: oblique;
  color: #444;
}

.verse-block .translation {
  color: #000;
}

/* ----------------------------
   STANDALONE VERSE (non-paired)
   ---------------------------- */

blockquote.verse {
  font-family: 'baskerville-urw', Georgia, serif;
  font-style: oblique;
  font-size: 1em;
  line-height: 1.1em;
  text-align: left;
}

blockquote.verse.centered {
  text-align: center;
  text-indent: 0;
  padding-left: 0;
  margin: 1em auto;
  max-width: 32em;
}

blockquote.verse p {
  margin: 0;
  text-indent: -1.5em;
  padding-left: 1.5em;
  padding-bottom: .25em;
}

p.tune-header {
  font-weight: bold;
  text-indent: 0;
  padding-left: 0;
  line-height: 1.2;
}

blockquote.verse.centered p.tune-header {
  text-align: center;
}

.tune-label
{
	font-variant: small-caps;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-style: normal;
}

.tune-name {
  font-style: oblique;
}

/* ----------------------------
   PRINT SUPPORT
   ---------------------------- */

@media print {
  body {
    font-size: 12pt;
    max-width: none;
    color: black;
    background: white;
  }
  a::after {
    content: " (" attr(href) ")";
    font-size: 80%;
  }
}
