/* poetry.css — styles for the poetry section */

/* ===== Poetry index: group cards ===== */

.poetry-group {
  margin-bottom: 2rem;
}

.poetry-group h2 {
  margin-bottom: 0.2rem;
}

.poetry-group h2 a {
  text-decoration: none;
}

.poetry-group h2 a:hover {
  text-decoration: underline;
}

.group-description {
  font-style: italic;
  color: var(--tag-fg);
  margin: 0.2rem 0;
}

.group-count {
  font-size: 0.9rem;
  color: var(--tag-fg);
  margin: 0;
}

/* ===== Group listing: poem list ===== */

.poem-list {
  list-style: none;
  padding: 0;
  width: 55%;
}

.poem-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.poem-list li a {
  font-size: 1.2rem;
}

.poem-date {
  font-size: 0.95rem;
  color: var(--tag-fg);
  margin-left: 0.4rem;
}

@media (max-width: 760px) {
  .poem-list { width: 100%; }
}

/* ===== Individual poem page ===== */

.poem-content {
  max-width: 90%;
}

/* Override Tufte's "section > p { width: 55% }" for poems */
section.poem-content > p,
.poem-content p {
  width: auto !important;
  max-width: none !important;
  margin-bottom: 1.2em;
  line-height: 1.6;
}
