/* Thematic index and complete-entry collections share the diary's printed palette. */
.nav-inner{align-items:center;justify-content:space-between}
.collection-links{display:flex;gap:10px 24px;align-items:center;flex-wrap:wrap;font:600 20px/1.2 var(--display)}
.collection-links a{color:#fcf1dc;text-decoration:none;padding:9px 0;border-bottom:1px solid transparent}
.collection-links a:hover,.collection-links a[aria-current="page"]{border-bottom-color:#e6c99d}
.collection-links a:focus-visible{outline-color:#f8e6bf}
.layout.theming{display:block;max-width:1220px;padding:42px 45px 64px}
.layout.theming>.browse,.layout.theming>.context{display:none}
.theme-index h2,.theme-collection h2{font:italic 600 52px/1.05 var(--display);margin:12px 0 18px;color:var(--red);text-wrap:balance}
.theme-index>.overline{font-size:12px}
.theme-intro{max-width:750px;color:#62573f}
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;margin:30px 0 28px}
.theme-card{display:flex;flex-direction:column;min-width:0;text-decoration:none;border:1px solid #bea67c99;background:linear-gradient(110deg,#f1e3c4aa,#fff7e5aa);box-shadow:0 3px 7px #6a4b2510;color:var(--ink);transition:box-shadow .15s,transform .15s}
.theme-card:hover{box-shadow:0 5px 13px #6a4b2525;transform:translateY(-2px)}
.theme-card-art{aspect-ratio:4/3;overflow:hidden;margin:10px 10px 0}
.theme-card-art img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.theme-card-copy{padding:10px 22px 21px;display:flex;flex-direction:column;flex:1}
.theme-card h3{font:600 31px/1.05 var(--display);margin:0 0 12px;color:var(--red);text-wrap:balance}
.theme-card p{font:16px/1.55 var(--display);margin:0 0 16px;color:#5d523d}
.theme-card-count{font:600 18px var(--display);color:var(--red);margin-top:auto;display:flex;justify-content:space-between;border-top:1px solid #c9b79688;padding-top:12px}
.theme-editorial-note{font:15px/1.6 var(--display)!important;color:#6a5f48;margin-top:28px;max-width:850px}
.theme-all-link,.theme-return{font:600 18px var(--display);margin:0 0 18px}
.theme-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,36%);gap:30px;align-items:center;margin:20px 0 27px}
.theme-hero figure{margin:0;aspect-ratio:4/3;min-width:0}
.theme-hero img{width:100%;height:100%;object-fit:contain;display:block;mix-blend-mode:multiply}
.theme-hero .theme-description{font:22px/1.4 var(--display);color:#514633;margin:0 0 12px;max-width:640px}
.theme-hero .theme-context{font:16px/1.55 var(--display);color:#6a5b42;margin:0;max-width:650px}
.theme-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 26px;border-top:3px double var(--line);padding-top:19px}
.theme-switcher a,.theme-tag{display:inline-block;font:600 15px/1.3 var(--display);text-decoration:none;padding:6px 10px;border:1px solid #c6b38d;background:#fff8e777;color:#695538;border-radius:2px}
.theme-switcher a[aria-current="page"]{color:#fff6e8;background:var(--red);border-color:var(--red)}
.theme-switcher a:hover,.theme-tag:hover{color:var(--red);background:#ead9b8}
.theme-filter-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 10px}
.theme-filter-row .search-count{margin:0;font-size:20px}
.theme-filter-row label{font:600 17px var(--display);color:#62523a;display:flex;align-items:center;gap:10px}
#theme-year{background:#fff8e8;color:var(--red);font:600 18px var(--display);padding:8px 12px;border:1px solid #b9a178;min-width:115px}
.theme-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;font:600 18px var(--display);border-bottom:1px solid #c9b796aa;padding:12px 0 19px;margin-bottom:22px}
.theme-pagination>span:not(:empty){font-weight:400;color:#6d604a}
.theme-pagination a{padding:8px 0}
.theme-results{grid-template-columns:1fr;max-width:930px;margin-left:auto;margin-right:auto}
.entry-themes{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 6px}
.entry-themes .theme-tag{font-size:14px;font-weight:500;padding:4px 8px}
.theme-result .entry-themes{margin-top:19px}
.theme-result .entry-themes .theme-tag{font-size:16px}
@media(max-width:980px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout.theming{padding:34px 28px 55px}.theme-hero{gap:20px}.theme-collection h2{font-size:46px}.collection-links{font-size:19px;gap:18px}}
@media(max-width:680px){.nav-inner{flex-wrap:wrap;gap:10px;padding-bottom:12px}.collection-links{width:100%;justify-content:center;gap:28px;font-size:19px}.collection-links a{padding:4px 0}.layout.theming{padding:28px 19px 45px}.theme-grid{grid-template-columns:1fr;gap:23px;margin-top:24px}.theme-card{display:flex;flex-direction:column}.theme-card-art{margin:10px 10px 0;aspect-ratio:3/2}.theme-card-copy{padding:14px 20px 20px}.theme-card h3{font-size:28px;margin-bottom:9px}.theme-card p{font-size:16px;margin-bottom:12px}.theme-card-count{font-size:17px;padding-top:9px}.theme-index h2,.theme-collection h2{font-size:40px}.theme-intro{font-size:13px!important;line-height:1.8!important}.theme-hero{display:flex;flex-direction:column-reverse;gap:14px;margin:15px 0 23px;align-items:stretch}.theme-hero figure{width:min(100%,300px);align-self:center;aspect-ratio:8/5}.theme-hero .theme-description{font-size:21px}.theme-switcher{gap:6px}.theme-switcher a{font-size:15px;padding:7px 9px}.theme-filter-row{gap:14px;align-items:flex-start;flex-direction:column}.theme-pagination{font-size:16px;gap:7px}.entry-themes .theme-tag{font-size:14px}.theme-result .entry-themes .theme-tag{font-size:15px}.theme-editorial-note{font-size:15px!important}.theme-return{font-size:17px}}
@media(max-width:360px){.theme-pagination{flex-wrap:wrap}.theme-index h2,.theme-collection h2{font-size:36px}}
@media print{.collection-links,.theme-switcher,.theme-filter-row,.theme-pagination,.entry-themes,.theme-return,.theme-all-link{display:none}.layout.theming{display:block;padding:0}.theme-card{break-inside:avoid;box-shadow:none}.theme-hero{grid-template-columns:1fr 200px}}
/* The reader is a programmatic focus destination, not a boxed interactive control. */
#reader:focus{outline:none}

@media(max-width:680px){.theme-collection .result-transcript p{font-size:14px;line-height:1.9}}
