diff --git a/css/style.css b/css/style.css index 1527446..ba5c1a3 100644 --- a/css/style.css +++ b/css/style.css @@ -873,7 +873,10 @@ button { .page-head { position: relative; 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; + z-index: 0; background: var(--brand-gradient); color: var(--on-ink); 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; isolation: isolate; overflow: hidden; + clip-path: inset(0); + z-index: 0; background: var(--brand-gradient); color: var(--on-ink); 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 { position: absolute; inset: 0; z-index: -1; + overflow: hidden; + clip-path: inset(0); pointer-events: none; } +.hero-inner { + z-index: 1; +} + .hero-motivo { position: absolute; width: min(760px, 120vw); @@ -1535,6 +1547,8 @@ iframe.contentplayer { position: relative; isolation: isolate; overflow: hidden; + clip-path: inset(0); + z-index: 0; flex: 1 1 auto; min-height: 0; display: grid; @@ -1548,6 +1562,9 @@ iframe.contentplayer { position: absolute; inset: 0; z-index: -1; + overflow: hidden; + clip-path: inset(0); + pointer-events: none; } .station-static-motivo {