/* New literary pages only. Original Writers' Club design tokens, fonts,
   header, navigation, footer and focus styles come from style.css. */
#main { min-width: 0; padding: 0; }
.issue-banner { display: block; width: 100%; aspect-ratio: 8 / 1; object-fit: contain; }
.contents { width: min(800px, calc(100% - 40px)); margin-inline: auto; text-align: center; padding: 24px 0 90px; }
.contents h1 { font-size: clamp(29px, 3vw, 40px); letter-spacing: 0; line-height: 1.2; margin: 0 0 26px; }
.contributor-link { display: block; width: fit-content; max-width: 100%; margin-inline: auto; color: var(--green-soft); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contributor-link:hover { color: var(--green); }
.return-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 64px; padding: 8px 18px; border: 1px solid var(--green-soft); color: var(--green); font: inherit; text-decoration: none; }
.return-link:hover { background: var(--beige); }
.list-page { padding: 58px 0 72px; }
.list-page h1 { margin: 0 0 30px; }
.year-group { max-width: 260px; margin-bottom: 32px; }
.year-group h2 { font-family: 'IM Fell Great Primer', Georgia, serif; font-size: 21px; font-weight: normal; border-bottom: 1px solid var(--ink); margin: 0 0 14px; padding-bottom: 4px; }
.year-group a { display: block; width: fit-content; padding: 5px 0; font-size: 18px; text-underline-offset: 3px; }
.person-header { position: relative; min-height: max(110px, 12.5vw); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 4%; isolation: isolate; overflow: hidden; }
.person-header.has-banner { background: var(--green); }
.person-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.person-header h1 { font-size: clamp(29px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; overflow-wrap: anywhere; }
.person-header h1 { color: inherit; }
.person-header p { font-family: 'IM Fell English', Georgia, serif; font-size: clamp(18px, 2.5vw, 34px); line-height: 1.2; margin: 0 0 0 4%; overflow-wrap: anywhere; }
.person-content { width: min(1600px, 94.5%); margin: 28px auto 0; }
/* Approved Canva proportions: artwork inset slightly from the left,
   with the poem beginning at the page midpoint. Keep the artwork slot
   even when empty. */
.person-columns { display: grid; grid-template-columns: minmax(0, 4%) minmax(0, 28%) minmax(0, 18%) minmax(0, 42%) minmax(0, 8%); align-items: start; }
.art-region { grid-column: 2; min-width: 0; display: flex; justify-content: center; align-items: flex-start; }
.art-region img { display: block; max-width: 100%; height: auto; width: auto; }
.body-region { grid-column: 4; min-width: 0; text-align: left; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; overflow-wrap: anywhere; }
.poem-line { min-height: 1.5em; white-space: pre-wrap; }
.poem-line.heading-one, .poem-line.heading-two { font-family: 'IM Fell Great Primer', Georgia, serif; font-weight: normal; }
.poem-line.heading-one { font-size: 1.55em; line-height: 1.35; }
.poem-line.heading-two { font-size: 1.25em; line-height: 1.4; }
.person-columns.art-only { display: block; }
.art-only .art-region { width: min(100%, 900px); margin-inline: auto; }
.author-bio { margin-top: 42px; padding: 32px 5% 12px; border-top: 1px dotted var(--muted); text-align: center; font-size: 18px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.person-return { margin: 36px 0 45px; text-align: center; }
.person-return .return-link { margin: 0; }
@media (max-width: 640px) {
  .contents { width: calc(100% - 32px); padding: 24px 0 72px; }
  .person-content { width: calc(100% - 32px); margin-top: 22px; }
  .person-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .art-region, .body-region { grid-column: 1; }
  .art-region:empty { min-height: 64px; }
  .person-header { padding: 16px; }
  .person-header p { margin-left: 0; }
  .author-bio { margin-top: 28px; padding: 24px 0 10px; }
  .list-page { padding: 42px 0 52px; }
}
@media (max-width: 560px) {
  /* Five links instead of the original four; keep the original nav style. */
  nav { gap: 12px; }
}

/* Optional solid or image issue banner; 8:1 at all widths. */
.issue-hero { position: relative; width: 100%; aspect-ratio: 8 / 1; display: grid; place-items: center; overflow: hidden; }
.issue-hero .issue-banner { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.issue-banner-text { position: relative; font-family: 'IM Fell Great Primer', Georgia, serif; font-size: clamp(18px, 4vw, 60px); text-align: center; padding-inline: 4%; overflow-wrap: anywhere; max-width: 100%; }
.article-content { width: min(760px, 68%); margin: 32px auto 0; min-width: 0; }
.article-image { display: block; max-width: 100%; height: auto; width: auto; margin: 24px auto; }
.article-text { margin: 24px 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; text-align: left; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
@media (max-width: 640px) { .article-content { width: calc(100% - 32px); margin-top: 22px; } }
