.letters-container { max-width: 84rem; margin: 0 auto; padding: 0 32px; }
.letters-intro { padding: 54px 0 40px; }
.letters-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: #883f2e; }
.letters-intro h1 { max-width: 60rem; margin: 0; font-family: Newsreader, serif; font-size: clamp(36px,4vw,56px); line-height: 1.12; }
.letters-intro-copy { max-width: 50rem; margin: 20px 0 0; color: #595f62; font-size: 17px; line-height: 1.7; }
.letters-archive { padding: 0 0 80px; }
.letters-reader { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 32px; align-items: start; }
.letters-sidebar { position: sticky; top: 100px; max-height: calc(100dvh - 125px); overflow-y: auto; padding: 22px 12px 12px; border-radius: 20px; background: #f0efec; scrollbar-width: thin; }
.letters-list-heading { padding: 0 14px 18px; }
.letters-list-heading h2 { margin: 0; font-family: Newsreader, serif; font-size: 27px; }
.letters-list-heading p { margin: 5px 0 0; font-size: 13px; color: #595f62; }
.letters-list { display: grid; gap: 7px; }
.letters-list-item { display: block; padding: 17px 16px; border-radius: 12px; text-decoration: none; color: #1a1c1b; transition: background .15s ease; }
.letters-list-item:hover { background: #faf9f7; }
.letters-list-item[aria-current="true"] { background: #fff; box-shadow: 0 5px 18px rgba(26,28,27,.04); color: #883f2e; }
.letters-list-item time { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #883f2e; }
.letters-list-title { display: block; font-family: Newsreader, serif; font-size: 23px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.letters-content { min-width: 0; }
.letters-panel { min-width: 0; padding: clamp(24px,3.3vw,46px); border-radius: 24px; background: #fff; box-shadow: 0 16px 48px rgba(26,28,27,.04); scroll-margin-top: 0; }
.letters-panel[hidden] { display: none !important; }
.letters-date { display: block; margin-bottom: 18px; font-size: 15px; font-weight: 700; color: #883f2e; }
.letters-panel h2 { margin: 0; font-family: Newsreader, serif; font-size: clamp(30px,3.3vw,43px); line-height: 1.15; overflow-wrap: anywhere; }
.letters-panel h2:focus { outline: none; }
.letters-subtitle { margin: 22px 0 0; font-size: 20px; line-height: 1.65; color: #595f62; }
.letters-source { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 24px 0 30px; }
.letters-source a { padding: 10px 14px; border-radius: 8px; background: #f4f3f1; font-size: 14px; font-weight: 600; color: #883f2e; text-decoration: none; }
.letters-source a:hover { background: #efeeec; }
.letters-source span { font-size: 12px; color: #595f62; }
.letters-image { display: flex; align-items: center; justify-content: center; margin: 28px 0; padding: 16px; border-radius: 14px; background: #f4f3f1; }
.letters-image img { display: block; max-width: 100%; max-height: 28rem; object-fit: contain; }
.letters-text { margin-top: 30px; font-size: 17px; line-height: 1.85; color: #292c2b; overflow-wrap: anywhere; }
.letters-empty { padding: 40px; background: #f4f3f1; border-radius: 20px; font-size: 18px; color: #595f62; }
.letters-back { display: none; }
.letters-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.letters-reader a:focus-visible { outline: 2px solid #883f2e; outline-offset: 3px; }
@media (max-width: 899px) {
  .letters-container { padding: 0 20px; }
  .letters-intro { padding: 36px 0 28px; }
  .letters-reader { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .letters-sidebar { position: static; max-height: 330px; }
  .letters-panel { padding: 26px 22px; }
  .letters-back { display: block; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: #883f2e; }
  .letters-subtitle { font-size: 18px; }
  .letters-text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .letters-list-item { transition: none; } }

.letters-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.letters-action-primary, .letters-action-secondary { display: inline-flex; align-items: center; min-height: 40px; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.letters-action-primary { color: #fff; background: linear-gradient(45deg,#883f2e,#a65644); }
.letters-action-secondary { color: #883f2e; background: #efeeec; }
.letters-actions a:hover { opacity: .85; }
.letters-actions a:focus-visible { outline: 2px solid #883f2e; outline-offset: 3px; }
#letter-editor, #letter-management { scroll-margin-top: 0; }
