.vm-hero{background:var(--deep);color:var(--cream);padding:3.5rem 0;border-bottom:5px solid var(--gold)}.vm-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:3rem}.vm-hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.7rem,5.5vw,4.8rem);line-height:1.06}.vm-hero h1 em{font-style:normal;color:#ffe38c}.vm-lead{font-size:1.3rem;line-height:1.5}.vm-hero .eyebrow{color:#ffe38c}.vm-hero figure{margin:0}.vm-hero img{width:100%;height:400px;object-fit:cover;border-radius:4px}.vm-hero figcaption{font-size:.85rem;padding-top:.7rem}.vm-small{font-size:.86rem;line-height:1.5}.vm-hero .vm-small{max-width:60ch;margin-top:1.3rem}.virtual-market .section>.eyebrow,.vm-section-head .eyebrow,.vm-proposal .eyebrow{color:#2e5c42}.vm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;list-style:none;padding:1rem 0 0;margin:0}.vm-steps li{border-top:1px solid #afbcaa;padding-top:1rem}.vm-steps li>span{font:2rem Georgia,serif;color:#596d53}.vm-steps h3{font-size:1.4rem}.vm-ideas,.vm-questions{background:#e8ecdc}.vm-section-head{display:flex;gap:2rem;justify-content:space-between;align-items:end;margin-bottom:1rem}.vm-section-head>p{max-width:30ch}.vm-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}.vm-topics h3{font:1.45rem/1.2 Georgia,serif}.vm-topics article{border-bottom:1px solid #b7c3aa;padding-bottom:1rem}.vm-proposal{display:grid;grid-template-columns:1fr 1.12fr;gap:3rem;align-items:start;scroll-margin-top:1rem}.vm-form-panel{min-width:0;background:#fff;padding:1.8rem;border:1px solid #ccd7c6;border-radius:5px}.vm-form-panel label{display:block;font-weight:700;margin-top:1rem}.vm-form-panel label:first-child{margin-top:0}.vm-form-panel label>span{font-size:.88rem;font-weight:400}.vm-form-panel input:not([type=checkbox]),.vm-form-panel select,.vm-form-panel textarea{display:block;width:100%;max-width:100%;border:1px solid #7a8e80;border-radius:4px;padding:.7rem;background:#fff;color:var(--ink);font:inherit;line-height:1.5;margin:.4rem 0 1rem}.vm-form-panel textarea{resize:vertical;overflow-wrap:anywhere}.vm-form-panel .vm-check{display:flex;align-items:flex-start;gap:.7rem;margin:1rem 0 1.4rem}.vm-check input{width:20px;height:20px;flex:none;accent-color:var(--green)}.vm-check span{line-height:1.5}.vm-form-panel button{font:inherit;cursor:pointer;border:0}.vm-form-panel :focus-visible{outline:3px solid #1d654f;outline-offset:3px}.vm-form-panel .button{font-weight:700}.vm-form-panel [hidden]{display:none}.vm-form-panel #vm-result{margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid var(--gold)}.vm-actions{display:flex;flex-wrap:wrap;gap:.8rem}.vm-form-panel .vm-copy{padding:.7rem 1rem;background:#e8ecdc;text-decoration:underline;border-radius:4px;color:var(--green)}#vm-status{color:#1b553c;font-weight:600}.vm-questions details{padding:1.1rem 0;border-bottom:1px solid #b7c3aa}.vm-questions summary{font-weight:700;cursor:pointer;line-height:1.5}.vm-questions details p{margin-bottom:0}.vm-motto{font:1.5rem/1.5 Georgia,serif;margin:2rem 0 0}@media(max-width:850px){.vm-hero-grid,.vm-proposal{grid-template-columns:1fr;gap:1.6rem}.vm-hero img{height:300px}.vm-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.vm-hero{padding:2.3rem 0}.vm-hero img{height:240px}.vm-steps{grid-template-columns:1fr;gap:.8rem}.vm-steps h3{margin:.5rem 0}.vm-section-head{display:block}.vm-section-head>p{max-width:none}.vm-topics{gap:1rem}.vm-topics h3{font-size:1.25rem}.vm-form-panel{padding:1.1rem}.vm-actions{display:grid}.vm-actions .button{text-align:center}}
/* Mercatino della comunità - ampliamento approvato 31 ottobre 2026. */
.virtual-market{overflow-wrap:anywhere}.vm-hero h1{font-size:clamp(2.7rem,5.4vw,4.6rem);letter-spacing:-.035em}.vm-hero img{height:440px;border-radius:8px}.vm-hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}.vm-hero .button.secondary{border-color:#a7b9a4;color:#fff}.vm-values{background:#e8ecdc;border-bottom:1px solid #ccd7c6}.vm-values>.wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding-top:1rem;padding-bottom:1rem;font-size:.9rem;font-weight:700}.vm-topics{gap:1rem;margin-top:2rem}.virtual-market a.vm-topic{display:flex;flex-direction:column;border:1px solid #d0dacb;border-radius:8px;background:#fff;padding:1.3rem;color:var(--ink);text-decoration:none;font-weight:400;transition:transform .15s,border-color .15s}.virtual-market a.vm-topic:hover{border-color:#59785c;transform:translateY(-3px)}.vm-topic-icon{font-size:1.8rem}.vm-topic h3{font:1.4rem/1.2 Georgia,serif;margin:.7rem 0 .5rem}.vm-topic p{font-size:.95rem;line-height:1.6;margin:0 0 1rem}.vm-topic-action{margin-top:auto;color:#116a39;font-size:.9rem;font-weight:700;text-decoration:underline;text-underline-offset:.2em}.virtual-market a.vm-topic-magazine{background:#e8ecdc}.vm-catalog-section{background:#e8ecdc}.vm-filters{display:grid;grid-template-columns:1.1fr 1fr 1fr .8fr;gap:1rem;border-bottom:1px solid #becab7;padding-bottom:1.3rem}.vm-filters>div{min-width:0}.vm-filters label{font-weight:700;font-size:.9rem;display:block}.vm-filters input,.vm-filters select{font:inherit;width:100%;min-height:48px;padding:.6rem;border:1px solid #7a8e80;border-radius:4px;background:#fff;color:var(--ink);margin-top:.4rem;min-width:0}.vm-empty{border:1px dashed #829b79;border-radius:8px;text-align:center;padding:2.5rem 1rem;margin:1.2rem 0;background:#f7f8f1}.vm-empty>span{font-size:2.5rem}.vm-empty h3{font-family:Georgia,serif;font-size:1.8rem;margin:1rem 0}.vm-empty p{margin:0 auto 1.5rem;max-width:50ch}.vm-listings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.vm-listing{background:#fff;border:1px solid #c9d5c2;border-radius:8px;overflow:hidden;min-width:0;scroll-margin-top:1rem}.vm-listing>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f5f6ef}.vm-listing-body{padding:1.2rem}.vm-listing h3{font:1.5rem/1.25 Georgia,serif}.vm-listing-mode{font-weight:700;font-size:.85rem;color:#2e5c42}.vm-listing-body>a{display:block;margin-top:1rem}.vm-listing-body .button{text-align:center}.vm-solidarity{background:#f0e8d5;border-top:1px solid #d4c8a9;border-bottom:1px solid #d4c8a9}.vm-solidarity-grid{display:grid;grid-template-columns:1.8fr .8fr;gap:4rem;align-items:center}.vm-solidarity figure{margin:0;text-align:center}.vm-solidarity img{width:100%;max-width:315px;height:auto;border-radius:5px}.vm-solidarity figcaption{font-size:.85rem;margin-top:1rem}.virtual-market [hidden]{display:none!important}.vm-copy{padding:.7rem 1rem;background:#e8ecdc;text-decoration:underline;border:1px solid #879c80;border-radius:4px;color:var(--green);min-height:44px;font:inherit;cursor:pointer}.vm-network{background:#fff;border-top:1px solid #d4ddce}.vm-network-links{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem}.vm-network-links a{padding:.4rem 0}.vm-form-panel .button{min-height:48px}.vm-form-panel select{min-width:0}.vm-questions summary{min-height:44px}
@media(max-width:950px){.vm-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-listings{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.vm-hero img{height:300px}.vm-solidarity-grid{grid-template-columns:1fr;gap:1.5rem}.vm-solidarity figure{text-align:left}.vm-solidarity img{max-width:190px}}@media(max-width:550px){.vm-hero img{height:240px}.vm-hero-actions{display:grid}.vm-hero-actions .button{text-align:center}.vm-values>.wrap{display:grid;grid-template-columns:1fr;font-size:.9rem;gap:.5rem}.vm-topics{gap:.7rem}.virtual-market a.vm-topic{padding:1rem}.vm-topic h3{font-size:1.2rem}.vm-topic p{font-size:.9rem}.vm-filters,.vm-listings{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.virtual-market a.vm-topic{transition:none}.virtual-market a.vm-topic:hover{transform:none}}
html:has(main.virtual-market){scroll-behavior:auto}
