.tm-content{padding-block:32px 64px}
.tm-heading{max-width:800px;margin-bottom:32px}
.tm-heading h1{font-size:clamp(2rem,4vw,3rem)}
.tm-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:32px}
.tm-filter label{font-weight:700}
.tm-filter select{max-width:100%;padding:10px 14px;border:1px solid #c9c4ba;border-radius:8px;background:#fff;color:#243b42;font:inherit}
.tm-period{margin-bottom:40px}
.tm-period>h2{border-bottom:1px solid #dcd7cc;padding-bottom:12px}
.tm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tm-card{border:1px solid #ded9ce;border-radius:12px;overflow:hidden;background:#fff;color:#243b42}
.tm-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#efede7;padding:12px}
.tm-photo img{width:100%;height:100%;object-fit:contain}
.tm-card-copy{padding:18px}
.tm-card-copy h3{margin:4px 0 12px}
.tm-card-copy h3 a{color:inherit}
.tm-card-copy p{margin-block:8px}
.tm-card-copy .tm-date{font-weight:700;color:#795f3b}
.tm-credit{font-size:.85rem;color:#59676b}
.tm-card-copy .link-arrow{margin-top:16px}
.tm-detail{margin:24px 0}
.tm-detail>a{display:block;background:#efede7;text-align:center;padding:16px}
.tm-detail img{display:block;width:auto;height:auto;max-width:100%;max-height:80vh;object-fit:contain;margin-inline:auto}
.tm-detail figcaption{font-size:.9rem;margin-top:8px}
.tm-description{max-width:800px;font-size:1.1rem;line-height:1.8}
.tm-facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 24px;margin-top:28px}
.tm-facts dt{font-weight:700}
.tm-facts dd{margin:0;overflow-wrap:anywhere}
.tm-empty{padding:40px 24px;background:#efede7;border-radius:12px;color:#243b42}
html[data-theme="dark"] .tm-card,html[data-theme="dark"] .tm-filter select{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .tm-photo,html[data-theme="dark"] .tm-detail>a,html[data-theme="dark"] .tm-empty{background:var(--surface);color:var(--ink)}
html[data-theme="dark"] .tm-card-copy .tm-date,html[data-theme="dark"] .tm-credit{color:var(--muted)}
@media(max-width:900px){.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tm-grid{grid-template-columns:1fr}.tm-facts{grid-template-columns:1fr;gap:6px}.tm-facts dd{margin-bottom:12px}}
