fix: restore side gutter on mobile hero and page headers

The padding shorthand on .hero and .page-head zeroed the 28px
horizontal padding from .wrap, so content touched the screen edges
on mobile. Set only padding-top/padding-bottom instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-04 16:29:34 +01:00
co-authored by Claude Opus 5.5
parent 2ca29efd73
commit f12f5f92e2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ const og = await getImage({ src: piazzale, width: 1200, height: 630, fit: 'cover
</Base>
<style>
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding:40px 0 80px}
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding-top:40px;padding-bottom:80px}
.fascia{background:var(--carta);border-top:1px solid var(--riga);border-bottom:1px solid var(--riga)}
@media (max-width:900px){.hero{grid-template-columns:1fr}}
</style>