/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography - Cormorant Garamond for all text */
body {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

/* Content Centering */
body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    min-height: 100vh;
}

header, main, aside, footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Navigation */
nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #333;
}

/* Headers and Content */
h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

p {
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Footer */
footer {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
    padding-top: 20px;
}

h1.main-title {
  font-size: 48px;
}

hr {
  margin: 1.875em 0;
  border: none;
  border-bottom: solid 1px #000000;
}
.dashed {
  border-bottom: dashed 1px #000000;
}

.short {
  width: 50%;
}

.poem {
  font-style: italic;
  margin-left: 30px;
}

/* Language toggle */
.lang-toggle {
  text-align: center;
  padding: 16px 0 0;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.lang-toggle a {
  text-decoration: none;
  color: #888;
}

.lang-toggle a.active {
  color: #333;
}

.lang-toggle a:hover {
  color: #333;
}

.lang-toggle .sep {
  color: #bbb;
  margin: 0 10px;
}

/* Glossary */
.glossary {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 30px 0 20px;
  border-top: dashed 1px #000;
}

.glossary h2 {
  font-size: 0.75em;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  color: #888;
}

.glossary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 30px;
  align-items: baseline;
}

.glossary dt {
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}

.glossary dd {
  font-size: 0.9em;
  color: #555;
  margin: 0;
}

.gloss-pl {
  font-weight: 400;
  color: #888;
}

/* Glossary references in text */
a.gloss-ref {
  color: inherit;
  text-decoration: none;
}
a.gloss-ref::after {
  content: '*';
  font-size: 0.55em;
  vertical-align: super;
  color: #666;
  margin-left: 0.05em;
}
a.gloss-ref:hover::after {
  color: #333;
}
