/* Ripristino homepage: regole limitate alla hero, senza modificare menu o schede. */
.hf-home .hf-home-layout { display:grid; grid-template-columns:minmax(0, 1fr) minmax(240px, 360px); gap:30px 44px; align-items:center; }
.hf-home .hf-home-intro { min-width:0; }
.hf-home .sub { margin-bottom:0; }
.hf-home .hf-home-photo { display:block; width:100%; height:auto; aspect-ratio:5 / 4; object-fit:cover; border-radius:6px; border:4px solid rgba(242,236,223,.15); box-shadow:0 20px 50px rgba(0,0,0,.25); }
.hf-home .hero-paths { grid-column:1 / -1; margin-top:0; width:100%; }
.hf-home .hero-path { min-width:0; }
.hf-home .hero-path-label { margin:0; }
.hf-home .hf-home-action { margin-top:auto; }
.hf-home .hero-path .btn-brass { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 20px; border:1px solid var(--brass); background:var(--brass); color:var(--green-dark); border-radius:3px; font-size:14px; font-weight:600; font-family:inherit; line-height:1.2; text-decoration:none; }
.hf-home .hero-path .btn-brass:hover { background:var(--brass-dark); border-color:var(--brass-dark); color:#fff; }
.hf-home .hero-path .btn-brass:focus-visible { outline:2px solid var(--paper); outline-offset:3px; }
.hf-home .hero-search input { min-width:0; flex-basis:200px; }
@media(max-width:900px) {
  .hf-home .hf-home-layout { grid-template-columns:minmax(0, 1fr); gap:28px; }
  .hf-home .hf-home-intro { order:1; }
  .hf-home .hero-paths { order:2; }
  .hf-home .hf-home-photo { order:3; max-width:480px; justify-self:center; }
}
@media(max-width:760px) {
  .hf-home { padding:38px 0 46px; }
  .hf-home .hero-paths { grid-template-columns:minmax(0, 1fr); }
  .hf-home .hero-path .btn-brass { font-size:14px; }
  .hf-home .hero-path-alt { overflow-wrap:anywhere; }
}
