.poetry h1,
.poem-text,
.poetry-attribution {
    font-family: "Courier New", Courier, monospace;
}

.poetry h1 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 1.5rem;
}

.poetry .article-title {
    margin-bottom: 0.4rem;
}

.poetry-author {
    margin-top: 0;
    margin-bottom: 2rem;
}

.poetry-collection,
.poetry-navigation {
    font-size: 0.8rem;
}

.poem-text {
    font-size: 1rem;
    line-height: 1.65;
}

.poem-stanza {
    margin: 0 0 1.5em;
}

.poem-line {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    vertical-align: top;
    white-space: pre-wrap;
    padding-left: 1.5em;
    text-indent: -1.5em;
    overflow-wrap: break-word;
}

.poem-break {
    display: inline-block;
    margin: 0.75em 0;
}

.poem-attribution-line {
    display: block;
}

.poetry-attribution {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1.5rem 0 0 1.5rem;
}

.poem-attribution-line:first-child {
    font-weight: 600;
}

.poem-attribution-line + .poem-attribution-line {
    color: #666;
}

.poem-attribution-line:first-child + .poem-attribution-line {
    margin-top: 0.35rem;
}

@media (prefers-color-scheme: dark) {
    .poem-attribution-line + .poem-attribution-line {
        color: #aaa;
    }
}

.poem-notes {
    font-size: 0.8rem;
    padding-left: 1.5rem;
}

.poem-notes li {
    margin-bottom: 0.75rem;
}

.poetry-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
