/* V19: additive responsive safety layer. Keep original visual design and PHP intact. */
html,body{max-width:100%;overflow-x:clip}
img,video,iframe{max-width:100%}
.container,.wrap{min-width:0}
.site-header .header-inner,.site-header .header-right,.site-header .main-nav{min-width:0}
.contact-v16-grid>*,.footer-v16-top>*,.newsletter-v15>*,.event>*,.hero-grid>*{min-width:0}
.contact-v16-email,.footer-v16-email{overflow-wrap:anywhere}
@media(max-width:1199px){
 .header-inner{gap:12px!important}
 .brand-logo{width:clamp(125px,15vw,175px)!important}
 .main-nav{gap:clamp(9px,1.1vw,18px)!important}
 .main-nav a{font-size:12px}
 .header-right{gap:10px!important}
 .social-top{gap:7px!important}
}
@media(max-width:950px){
 .header-inner{flex-wrap:wrap;justify-content:space-between;padding-block:10px;min-height:70px}
 .menu-toggle{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;order:3;cursor:pointer}
 .main-nav{order:4;width:100%;flex-basis:100%;margin:0!important;display:none;flex-direction:column;align-items:stretch;gap:0!important;background:#fff;padding:8px 0 12px;box-shadow:0 12px 20px #0000000a}
 .main-nav.open,.main-nav.is-open,.main-nav.active{display:flex!important}
 .main-nav a{display:block;padding:12px 10px!important;font-size:14px}
 .main-nav a.active:after{left:10px;right:auto;width:35px;bottom:5px}
 .header-right{margin-left:auto}
 .social-top{gap:8px}
 .footer-v16-top{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .container{width:92%}
 .site-header .header-inner{width:94%}
 .brand-logo{width:145px!important;max-height:55px}
 .social-top{display:none!important}
 .language button{padding:8px!important}
 .language-options{right:0;left:auto;max-width:min(90vw,260px)}
 .hero-new,.ticket-hero,.contact-hero{overflow:hidden}
 .hero-new{height:690px;min-height:690px;aspect-ratio:auto;background-size:auto 58%;background-position:27% top}
 .hero-grid,.ticket-hero-grid,.contact-hero-grid{width:92%;grid-template-columns:1fr}
 .hero-portrait,.ticket-hero-spacer,.contact-hero-grid>div:first-child{display:none}
 .hero-content{padding:0 0 65px;text-align:center}
 .hero h1{white-space:normal;font-size:clamp(43px,10vw,68px);overflow-wrap:normal}
 .hero-actions{flex-wrap:wrap;justify-content:center}
 .hero-actions .btn{max-width:100%;text-align:center}
 .ticket-hero,.contact-hero{background-size:auto 57%;background-position:27% top}
 .ticket-hero-content,.contact-hero-content{padding-bottom:75px}
 .ticket-hero h1,.contact-hero h1{overflow-wrap:break-word}
 .ticket-agenda .event{grid-template-columns:80px minmax(0,1fr)}
 .ticket-agenda .details,.ticket-agenda .event-action{grid-column:1/-1}
 .gallery-v15 .newsletter-v15{grid-template-columns:48px minmax(0,1fr)}
 .gallery-v15 .newsletter-form,.gallery-v15 .newsletter-note{grid-column:1/-1}
 .contact-v16-grid{grid-template-columns:1fr}
 .contact-v18 .contact-v16-info{min-height:0}
 .footer-v16-top{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .header-inner{gap:6px!important}
 .brand-logo{width:125px!important}
 .language button{font-size:11px}
 .hero-new{height:650px;min-height:650px;background-size:auto 54%}
 .hero-content{padding-bottom:48px}
 .hero h1{font-size:clamp(40px,11vw,55px)}
 .hero-actions{flex-direction:column;align-items:stretch}
 .hero-actions .btn{width:100%;justify-content:center}
 .ticket-hero,.contact-hero{min-height:650px;background-size:auto 54%}
 .ticket-hero-grid,.contact-hero-grid{min-height:650px}
 .ticket-hero h1,.contact-hero h1{font-size:clamp(38px,10vw,50px)}
 .ticket-agenda .event{padding:14px;gap:12px;grid-template-columns:72px minmax(0,1fr)}
 .ticket-agenda .date-tile{padding:12px 5px}
 .ticket-agenda .details{gap:10px}
 .gallery-v14 .gallery-stage{padding-inline:27px}
 .gallery-v14 .gallery-photo-inner{height:min(340px,90vw)}
 .gallery-v15 .newsletter-v15{padding-inline:16px}
 .gallery-v15 .newsletter-form{display:flex;flex-wrap:wrap}
 .gallery-v15 .newsletter-form input{flex:1 1 100%;width:100%}
 .gallery-v15 .newsletter-form button{width:100%}
 .contact-v16-panel,.contact-v16-info{padding:24px 18px}
 .contact-v18 .collab-form .form-pair{grid-template-columns:1fr}
 .footer-v16-top{grid-template-columns:1fr}
 .footer-v16-bottom{flex-direction:column;text-align:center}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
