@font-face{font-family:WikiPieces;src:url(tpk-landing/media/b8e9fafc2d769e0790.ttf)}
@font-face{font-family:WikiPublic;src:url(tpk-landing/media/d8a092f98db3ae7c7f.ttf)}
#sg-home .sg-wiki{max-width:none;margin:0;padding:40px max(6%,calc((100% - 1200px)/2)) 80px;background:#f0dfb9;color:#30271c;font:18px/1.65 WikiPublic,Arial,sans-serif;min-height:70vh;overflow-wrap:anywhere}
#sg-home .sg-wiki h1,#sg-home .sg-wiki h2{font-family:WikiPieces,Georgia,serif;font-weight:400;line-height:1.13;color:#173d3b;letter-spacing:0}
#sg-home .sg-wiki h1{font-size:clamp(38px,5vw,68px);margin:10px 0 26px}
#sg-home .sg-wiki h2{font-size:32px;margin-top:36px}
#sg-home .sg-wiki p{max-width:76ch}
#sg-home .sg-wiki a{color:#174e49;text-underline-offset:4px}
#sg-home .wiki-nav{display:flex;flex-wrap:wrap;gap:8px 26px;background:#173d3b;margin:0 0 34px;padding:14px 22px}
#sg-home .wiki-nav a{color:#fff0ce;min-height:44px;display:flex;align-items:center;font-size:16px}
#sg-home .wiki-lead{font:30px/1.35 WikiPieces,Georgia,serif;color:#173d3b}
#sg-home .wiki-doorways{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0 40px}
#sg-home .wiki-doorways a{background:#e5b952;color:#172e2c;padding:14px 22px;text-decoration:none;font-weight:bold;min-height:48px}
#sg-home .wiki-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.35fr);gap:8px 22px;margin:30px 0 20px}
#sg-home .wiki-search label{font-weight:bold;grid-column:1}
#sg-home .wiki-search input{grid-column:1;grid-row:2}
#sg-home .wiki-search label[for=wiki-category]{grid-column:2;grid-row:1}
#sg-home .wiki-search select{grid-column:2;grid-row:2}
#sg-home .wiki-search input,#sg-home .wiki-search select{width:100%;min-width:0;background:#fff9eb;border:2px solid #8b784e;border-radius:0;color:#30271c;padding:12px;font:inherit;min-height:52px}
#sg-home .wiki-count{grid-column:1/-1;font-size:15px;margin:4px 0}
#sg-home .wiki-results{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px}
#sg-home .wiki-results li{margin:0;padding:14px 18px;background:#e7d3a8;min-width:0}
#sg-home .wiki-results li[hidden],#sg-home .wiki-empty[hidden]{display:none!important}
#sg-home .wiki-results a{display:block;font-weight:bold;line-height:1.45;padding:4px 0}
#sg-home .wiki-results small{display:block;font-size:14px;line-height:1.5;margin-top:5px}
#sg-home .wiki-catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px}
#sg-home .wiki-catalog li{background:transparent;padding:0}
#sg-home .wiki-card-link{display:flex!important;flex-direction:column;justify-content:flex-end;text-decoration:none}
#sg-home .wiki-card-link img{display:block;width:100%;height:290px;object-fit:contain;margin:0 0 12px}
#sg-home .wiki-card-link span{display:block}
#sg-home .sg-wiki-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start}
#sg-home .wiki-zoom{border:0;padding:0;background:transparent;cursor:zoom-in;width:100%;max-width:430px}
#sg-home .wiki-zoom img{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}
#sg-home .sg-wiki-card dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin:20px 0;background:#e5d0a0;padding:20px}
#sg-home .sg-wiki-card dt{font-weight:bold}#sg-home .sg-wiki-card dd{margin:0}
#sg-home .sg-wiki-text{max-width:76ch;font-size:19px}
#sg-home .sg-wiki-historical{background:#e4d0a8;padding:20px}
#sg-home .wiki-edition{margin-top:40px;font-size:15px}
#sg-home .sg-wiki :is(a,button,input,select):focus-visible{outline:3px solid #b06d12;outline-offset:4px}
#sg-home .wiki-nav a:focus-visible{outline-color:#e5b952}
#sg-home .sg-wiki a:hover{text-decoration:underline}
.wiki-dialog{padding:48px 12px 14px;border:0;background:#173d3b;max-width:96vw;max-height:96vh}
.wiki-dialog::backdrop{background:#071d20e8}
.wiki-dialog img{display:block;max-width:88vw;max-height:78vh;width:auto;height:auto;object-fit:contain}
.wiki-dialog button{position:absolute;right:12px;top:5px;background:#e5b952;color:#172e2c;border:0;min-width:44px;min-height:38px;font:16px Arial;cursor:pointer}
@media(max-width:850px){#sg-home .wiki-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}#sg-home .wiki-card-link img{height:230px}#sg-home .sg-wiki-card{gap:28px}}
@media(max-width:600px){#sg-home .sg-wiki{padding:24px 20px 50px;font-size:17px}#sg-home .wiki-nav{gap:6px 20px;padding:12px 16px}#sg-home .wiki-search{display:block}#sg-home .wiki-search label{display:block;margin-top:14px}#sg-home .wiki-results{grid-template-columns:1fr}#sg-home .wiki-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}#sg-home .wiki-card-link img{height:210px}#sg-home .sg-wiki-card{grid-template-columns:1fr}#sg-home .wiki-zoom{max-width:330px;margin:auto}#sg-home .sg-wiki-text{font-size:17px}#sg-home .wiki-doorways{display:grid}#sg-home .wiki-doorways a{width:100%}}
@media(max-width:370px){#sg-home .wiki-card-link img{height:175px}}

#sg-home .wiki-answer{background:#fff5dc;border-left:3px solid #c79531;margin:8px 0;color:#30271c}
#sg-home .wiki-answer summary{cursor:pointer;min-height:48px;padding:12px 44px 12px 16px;position:relative;font-weight:700;color:#174e49;line-height:1.45;list-style:none}
#sg-home .wiki-answer summary::-webkit-details-marker{display:none}
#sg-home .wiki-answer summary:after{content:'+';position:absolute;right:16px;top:10px;font-size:24px;font-weight:400}
#sg-home .wiki-answer[open] summary:after{content:'−'}
#sg-home .wiki-answer[open] summary{background:#e5b952;color:#172e2c}
#sg-home .wiki-answer summary:focus-visible{outline:3px solid #174e49;outline-offset:3px}
#sg-home .wiki-answer-body{padding:4px 16px 16px;font-size:17px;line-height:1.65}
#sg-home .wiki-answer-body p{margin:12px 0 0}
#sg-home .wiki-results{align-items:start}
#sg-home .wiki-results li:has(>.wiki-answer){background:transparent;padding:0}
#sg-home .wiki-results li>.wiki-answer{margin:0}
#sg-home .wiki-results li:has(>.wiki-answer)>small{padding:0 16px 8px;color:#61533a}
#sg-home .wiki-related-answers{margin:16px 0;max-width:76ch}
