/* Az emléktúrák gyűjteménye a Bezerédj-örökség közös arculatában. */
.emlek-page .top .tovabb-home{color:var(--brick);text-decoration:underline;white-space:nowrap}
@media(min-width:731px) and (max-width:1080px){.emlek-page .top nav{gap:.4rem 1.15rem;flex-wrap:wrap;justify-content:flex-end}}
.emlek-hero .lead{max-width:49ch}
.emlek-hero .montage{align-self:center}
.emlek-hero .montage img{aspect-ratio:4 / 3;object-fit:cover}
.emlek-hero .montage figcaption span:last-child{font-weight:540}
.emlek-year-intro{margin:.68rem 0 0;color:#e1e8dc;max-width:62ch}
.emlek-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1.55rem}
.emlek-year{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:.25rem .5rem;min-height:6.8rem;padding:.85rem .95rem 1rem;background:#31473d;border:1px solid #748577;color:var(--cream);text-decoration:none;border-radius:2px;transition:background .18s ease}
.emlek-year:hover{background:#40594c}
.emlek-year:focus-visible{outline-color:var(--gold)}
.emlek-year time{color:var(--gold);font:1.56rem/1 var(--serif)}
.emlek-year-arrow{color:var(--gold);font-size:.9rem}
.emlek-year-name{grid-column:1/-1;font-size:.88rem;line-height:1.42;font-weight:650}
.emlek-year:hover .emlek-year-name{text-decoration:underline}
.emlek-body{padding-block:clamp(2rem,5vw,4.2rem)}
.emlek-record{max-width:1040px;margin-inline:auto;border-top:1px solid var(--line);padding-block:clamp(1.25rem,3vw,2.25rem)}
.emlek-record+.emlek-record{margin-top:clamp(.8rem,2vw,1.4rem)}
.emlek-record:target{border-top:2px solid var(--brick)}
.emlek-kicker{display:flex;align-items:center;gap:.55rem;margin-bottom:.62rem;color:var(--brick);font-size:.71rem;font-weight:790;letter-spacing:.135em;text-transform:uppercase}
.emlek-kicker::before{content:"";width:1.4rem;height:1px;background:currentColor;flex:none}
.emlek-record h2{max-width:33ch;font-size:clamp(1.85rem,4vw,3.25rem);line-height:1.1;overflow-wrap:anywhere;margin:0 0 .8rem}
.emlek-record-date{max-width:76ch;color:var(--muted);font-size:.96rem;margin:0 0 .8rem}
.emlek-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin:.95rem 0 1.25rem}
.emlek-link{display:inline-flex;align-items:center;min-height:44px;padding:.55rem .78rem;border:1px solid #b9ae9b;border-radius:2px;text-decoration:none;color:var(--ink);background:var(--cream);font-size:.86rem;font-weight:700;line-height:1.35}
.emlek-link:hover{background:#eee4d2;text-decoration:underline}
.emlek-scans-label{margin:.35rem 0 .52rem;color:var(--muted);font-weight:740;font-size:.83rem}
.emlek-scans{display:flex;flex-wrap:wrap;gap:.7rem;align-items:flex-start}
.emlek-scan{flex:0 1 138px;max-width:100%;min-width:0;padding:.36rem;border:1px solid var(--line);background:var(--cream)}
.emlek-scan a{display:block;text-decoration:none}
.emlek-scan img{width:100%;border:1px solid #e4dac8}
.emlek-scan a:hover img{border-color:#748577}
.emlek-scan-caption{display:flex;justify-content:space-between;align-items:center;gap:.3rem;font-size:.79rem;font-weight:700;padding:.4rem .2rem .12rem;line-height:1.32}
.emlek-scan a:hover .emlek-scan-caption{text-decoration:underline}
.emlek-scan-caption b{font-size:1rem;line-height:1}
.emlek-transcript{margin-top:1.3rem;max-width:900px;border:1px solid var(--line);border-left:3px solid #a45741;background:var(--cream);padding:clamp(.95rem,3.3vw,2.1rem)}
.emlek-transcript:target{border-left-color:var(--brick);box-shadow:0 0 0 1px var(--brick)}
.emlek-transcript h3{font-size:clamp(1.38rem,3vw,2.05rem);line-height:1.18;margin:0 0 .7rem;overflow-wrap:anywhere}
.emlek-transcript h4{font-size:1rem;margin:1.25rem 0 .38rem;color:var(--ink)}
.emlek-transcript p{color:#37483d;line-height:1.72;max-width:74ch;margin:0 0 .95rem;overflow-wrap:anywhere}
.emlek-transcript p:last-child{margin:0}
.emlek-transcript .emlek-date{color:var(--brick);font-size:.89rem;font-weight:680}
.emlek-table{width:100%;border-collapse:collapse;margin:1rem 0 1.45rem;font-size:clamp(.78rem,2vw,.94rem);line-height:1.42}
.emlek-table caption{text-align:left;font-weight:740;padding:.42rem 0 .62rem}
.emlek-table th,.emlek-table td{padding:.5rem clamp(.24rem,1.5vw,.64rem);border-bottom:1px solid var(--line);vertical-align:top;text-align:left;overflow-wrap:anywhere}
.emlek-table thead th{background:#e7e8dc;font-weight:740}
.emlek-table td:last-child,.emlek-table thead th:last-child{text-align:right}
.emlek-table td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.emlek-table tbody tr:nth-child(even){background:#f3eddf}
.emlek-job{display:block;color:var(--muted);font-weight:400}
.emlek-index-back{display:inline-block;margin-top:.9rem;color:var(--brick);font-size:.85rem;font-weight:720}
.emlek-outro{display:flex;flex-wrap:wrap;gap:.55rem;max-width:1040px;margin:1.7rem auto 0}
.emlek-footer{flex-wrap:wrap;gap:.6rem 1.1rem}
.emlek-footer-links{display:flex;flex-wrap:wrap;gap:.35rem .8rem}
.emlek-footer a:focus-visible{outline-color:var(--gold)}
.emlek-viewer:not([open]){display:none}
.emlek-viewer{width:min(920px,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 1.5rem);padding:0;border:1px solid #7c897c;border-radius:2px;color:var(--ink);background:var(--cream);box-shadow:0 16px 80px #101d15a6}
.emlek-viewer::backdrop{background:#15231bd9}
.emlek-viewer-layout{display:flex;flex-direction:column;max-height:calc(100dvh - 1.65rem)}
.emlek-viewer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem;padding:.8rem 1rem;border-bottom:1px solid var(--line)}
.emlek-viewer-head h2{font-size:clamp(1.04rem,2.6vw,1.48rem);line-height:1.22;margin:0}
.emlek-viewer-head form{flex:none;margin:0}
.emlek-viewer-counter{font-size:.82rem;color:var(--muted);margin:.25rem 0 0}
.emlek-viewer-paper{overflow:auto;min-height:0;overscroll-behavior:contain;background:#e9e2d3;padding:.55rem}
.emlek-viewer-image{width:min(100%,690px);height:auto;object-fit:contain;margin:0 auto}
.emlek-viewer-tools{display:flex;flex-wrap:wrap;gap:.4rem;padding:.55rem 1rem;border-top:1px solid var(--line)}
.emlek-viewer button{cursor:pointer;font-family:inherit}
.emlek-viewer button:disabled{opacity:.5;cursor:default}
.emlek-viewer-original{margin-left:auto}
@media(max-width:970px){.emlek-index{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:730px){.emlek-index{grid-template-columns:repeat(2,minmax(0,1fr))}.emlek-year{min-height:6rem}}
@media(max-width:395px){.emlek-index{gap:.5rem}.emlek-year{padding:.66rem .6rem;min-height:5.7rem}.emlek-year-name{font-size:.8rem}.emlek-scan{flex-basis:calc((100% - 1.4rem)/3);min-width:0}.emlek-viewer-head,.emlek-viewer-tools{padding:.5rem}.emlek-viewer-tools .emlek-link{padding:.45rem .55rem;font-size:.78rem}.emlek-viewer-original{margin-left:0}}
@media print{.emlek-page header,.emlek-page footer,.emlek-actions,.emlek-hero figure,.emlek-hero .primary,.emlek-years,.emlek-index-back,.emlek-outro,.emlek-viewer{display:none}.emlek-hero{display:block;padding:0 0 1rem}.emlek-hero h1,.emlek-hero h1 em{color:#000}.emlek-scan{break-inside:avoid}.emlek-transcript{border:0;padding:0}}
