/* NAHITOS Catalogo ed Origines — aggiornamento del 23/10/2026, senza modifiche ai media o ai componenti globali. */
.nh-work-kicker{display:inline-block;color:#9e5b3a;letter-spacing:.20em;text-transform:uppercase;font-size:.68rem;line-height:1.5}
.nh-work-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:1rem;margin-top:2.5rem}
.nh-work-type{background:#fffdf8;border:1px solid rgba(92,66,44,.16);padding:1.5rem;display:flex;flex-direction:column;gap:1rem;min-width:0}
.nh-work-type h3{font-family:inherit;font-size:1.32rem;line-height:1.35;color:#31241c}
.nh-work-type p{font-size:.88rem;color:#6c5b4e;line-height:1.75;flex:1}
.nh-work-tag{display:block;font-size:.65rem;line-height:1.6;letter-spacing:.1em;text-transform:uppercase;color:#9e5b3a;border-top:1px solid rgba(92,66,44,.13);padding-top:.8rem}
.nh-work-class-note{margin-top:1.5rem;font-size:.9rem;line-height:1.8;color:#6c5b4e;max-width:70rem}
.nh-work-info-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #985e42;background:transparent;color:#8b5137;padding:.82rem 1rem;text-align:center;text-transform:uppercase;letter-spacing:.10em;font-size:.7rem;line-height:1.4;cursor:pointer;transition:background .2s,color .2s}
.nh-work-info-button:hover,.nh-work-info-button:focus-visible{background:#8b5137;color:#fff}
.nh-work-catalog-card{border-bottom:1px solid rgba(92,66,44,.15);padding-bottom:2rem;min-width:0}
.nh-work-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.6rem}
.nh-work-filter{border:1px solid rgba(92,66,44,.19);color:#5c4536;padding:.6rem .7rem;font-size:.66rem;text-align:left;letter-spacing:.06em;cursor:pointer;background:transparent}
.nh-work-filter.is-active,.nh-work-filter:hover{background:#8b5137;color:#fff;border-color:#8b5137}
.nh-work-overlay{position:fixed;inset:0;z-index:2100;display:flex;align-items:center;justify-content:center;background:rgba(10,8,6,.78);padding:1rem}
.nh-work-dialog{display:flex;flex-direction:column;width:min(100%,760px);max-height:calc(100dvh - 2rem);background:#f8f2e7;box-shadow:0 20px 64px rgba(0,0,0,.4);border:1px solid #c9aa8a;color:#30241c}
.nh-work-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(82,54,33,.15);padding:1rem 1.5rem}
.nh-work-close{width:2.4rem;height:2.4rem;display:grid;place-items:center;font-size:1.75rem;color:#583d2b;cursor:pointer;border:1px solid rgba(82,54,33,.25);flex:none;line-height:1}
.nh-work-scroll{overflow-y:auto;overscroll-behavior:contain;padding:1.65rem 2rem;flex:1}
.nh-work-scroll h2{font-family:Georgia,serif;font-size:clamp(1.9rem,4vw,2.85rem);line-height:1.15;margin:.5rem 0 1.25rem}
.nh-work-scroll .nh-work-status{font-size:.83rem;color:#8c5539;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.1rem}
.nh-work-copy{line-height:1.85;font-size:.95rem;color:#5c4a40;white-space:pre-line}
.nh-work-facts{display:grid;gap:.15rem;margin:1.3rem 0;border-top:1px solid rgba(82,54,33,.12);border-bottom:1px solid rgba(82,54,33,.12)}
.nh-work-facts>div{display:grid;grid-template-columns:150px 1fr;gap:.65rem;padding:.7rem 0;border-bottom:1px solid rgba(82,54,33,.08);font-size:.83rem;line-height:1.5}
.nh-work-facts>div:last-child{border-bottom:0}
.nh-work-facts dt{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:#8d7767}
.nh-work-facts dd{color:#4d3e33;overflow-wrap:anywhere}
.nh-work-h3{font-size:1.2rem;margin:1.2rem 0 .5rem;font-family:Georgia,serif}
.nh-work-disclaimer{font-size:.78rem;line-height:1.7;color:#8d7767;margin-top:1.2rem}
.nh-work-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.65rem;padding:1rem 1.4rem;border-top:1px solid rgba(82,54,33,.15);background:#f0e6d8}
.nh-work-back{border:1px solid rgba(82,54,33,.4);color:#59402f;padding:.75rem 1.1rem;text-transform:uppercase;font-size:.7rem;letter-spacing:.08em;cursor:pointer}
.nh-work-back:hover{background:#d9c4ad}
.nh-work-status-panel{max-width:70rem}
.nh-origines-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:2.4rem}
.nh-origines-path{border:1px solid rgba(92,66,44,.15);padding:1.7rem;background:#fffdf8;min-width:0}
.nh-origines-path h3{font-family:Georgia,serif;font-size:1.55rem;line-height:1.3;margin:.8rem 0 1rem}
.nh-origines-path p,.nh-origines-path-note{color:#67554a;font-size:.95rem;line-height:1.82}
.nh-origines-path a{margin-top:1.3rem}
.nh-origines-path-note{margin-top:1.6rem;max-width:70rem;font-size:.85rem}
.nh-origines-makalla{display:grid;grid-template-columns:1fr .85fr;gap:3rem;align-items:center}
.nh-origines-makalla-image{width:100%;height:100%;max-height:580px;min-height:270px;object-fit:cover}
@media(max-width:780px){.nh-origines-paths,.nh-origines-makalla{grid-template-columns:1fr}.nh-work-dialog{max-height:calc(100dvh - 1rem)}.nh-work-scroll{padding:1.1rem}.nh-work-top,.nh-work-footer{padding:.8rem 1rem}.nh-work-facts>div{grid-template-columns:1fr;gap:.1rem}.nh-work-overlay{padding:.5rem}.nh-work-type{padding:1.2rem}.nh-origines-makalla-image{max-height:300px}}
@media(prefers-reduced-motion:reduce){.nh-work-info-button{transition:none}}
