Bagliori di apertura e intestazioni ritagliati anche su iOS Safari

Su iOS overflow: hidden non ritaglia i livelli con filter: blur e la
macchia di luce usciva sopra la topbar e il logo. clip-path: inset(0)
sui contenitori e sugli sfondi, contenuto con z-index sopra lo sfondo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
alexspeakerandClaude Fable 5.1 committed 2026-11-06 15:03:42 +01:00
1 parent 24391c49ac
commit bb3dee5b43
1 file changed
+17
+17
View File
@@ -873,7 +873,10 @@ button {
.page-head { .page-head {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
/* Su iOS Safari overflow: hidden non ritaglia i livelli con filter: blur (il bagliore uscirebbe sopra la topbar) */
clip-path: inset(0);
isolation: isolate; isolation: isolate;
z-index: 0;
background: var(--brand-gradient); background: var(--brand-gradient);
color: var(--on-ink); color: var(--on-ink);
padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
@@ -1005,18 +1008,27 @@ button {
position: relative; position: relative;
isolation: isolate; isolation: isolate;
overflow: hidden; overflow: hidden;
clip-path: inset(0);
z-index: 0;
background: var(--brand-gradient); background: var(--brand-gradient);
color: var(--on-ink); color: var(--on-ink);
padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(4.5rem, 3.5rem + 4vw, 7rem); padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(4.5rem, 3.5rem + 4vw, 7rem);
} }
/* Livelli dell'apertura: sfondo (macchie e anelli) sotto, testo sopra; le macchie restano dentro l'apertura */
.hero-bg { .hero-bg {
position: absolute; position: absolute;
inset: 0; inset: 0;
z-index: -1; z-index: -1;
overflow: hidden;
clip-path: inset(0);
pointer-events: none; pointer-events: none;
} }
.hero-inner {
z-index: 1;
}
.hero-motivo { .hero-motivo {
position: absolute; position: absolute;
width: min(760px, 120vw); width: min(760px, 120vw);
@@ -1535,6 +1547,8 @@ iframe.contentplayer {
position: relative; position: relative;
isolation: isolate; isolation: isolate;
overflow: hidden; overflow: hidden;
clip-path: inset(0);
z-index: 0;
flex: 1 1 auto; flex: 1 1 auto;
min-height: 0; min-height: 0;
display: grid; display: grid;
@@ -1548,6 +1562,9 @@ iframe.contentplayer {
position: absolute; position: absolute;
inset: 0; inset: 0;
z-index: -1; z-index: -1;
overflow: hidden;
clip-path: inset(0);
pointer-events: none;
} }
.station-static-motivo { .station-static-motivo {