/* Sezione full-screen con video di sfondo */
.video{
	position:relative;
	width:100%;
	height:100vh;
	overflow:hidden;
	display:flex;
	align-items:center;
	justify-content:flex-start;
}

.video__media{
	position:absolute;
    top:0;
	left:50%;
    transform:translateX(-50%);
    width:100%;
    height:auto;
    aspect-ratio:2.35 / 1;
    object-fit:contain;
	z-index:0;
}

.video__overlay{
	position:relative;
	z-index:2;
	color:#fff;
	text-align:left;
	padding:1rem 2rem;
	margin-left:2rem;
	text-shadow:0 2px 6px rgba(0,0,0,0.6);
	max-width:40rem;
}

.video__overlay h1{
	font-size:clamp(1.5rem, 4vw, 3rem);
	margin:0;
}

.video__overlay h2 {
    font-size:clamp(0.8rem, 2.5vw, 1.5rem);
    margin:0;
}

.date{
    text-align:center;
    padding:5rem 1rem;
}

.date h1,
.date h2 {
    margin:0.5rem 0;
}

.content{
    max-width:100%;
    margin:0 auto;
	padding:2rem 1rem;
    font-size:clamp(1rem, 2.5vw, 1.25rem);
    line-height:1.6;
	color:#fff;
    text-align:center;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center top;
}

.content div{
    max-width:800px;
    margin:0 auto;
    text-align:center;
}

.content div p{
	color:#fff;
}


/* Carousel nella sezione vuota */
.gallery-section {
    padding: 2rem 1rem 4rem;
}

.gallery-carousel {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.gallery-carousel .carousel-track {
    display: flex;
    width: 100%;
    height: 480px;
    transition: transform 1.2s ease;
}

.gallery-carousel .carousel-slide {
    min-width: 100%;
    height: 100%;
}

.gallery-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-carousel .carousel-controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-carousel .prev,
.gallery-carousel .next {
    border: none;
    background: rgba(255,255,255,0.85);
    color: #111;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.gallery-carousel .carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    pointer-events: auto;
}

.gallery-carousel .dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.gallery-carousel .dot.active {
    background: #fff;
}

/* Disabilita il contorno del controllo video su iOS quando in full-screen */
video::-webkit-media-controls-panel{ background:transparent; }

