.evento-gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    align-items: stretch;
}

/* Colonna sinistra (main image) */
.evento-gallery-main {
    flex: 1;
}

.evento-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.elementor img.evento-gallery-main-img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.evento-gallery-main-img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Colonna destra (gallery) */
.evento-gallery-side {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.evento-gallery-thumb-sm {
    position: relative;
}

.evento-gallery-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hover zoom effect (solo desktop) */
@media (min-width: 769px) {
    .evento-gallery-thumb-sm img:hover {
        transform: scale(1.03);
        opacity: 0.9;
    }
}

/* Bordi stondati specifici */
.evento-gallery-thumb-sm:nth-child(2) img {
    border-top-right-radius: 20px;
}
.evento-gallery-thumb-sm:nth-child(4) img {
    border-bottom-right-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {
	.elementor img.evento-gallery-main-img {
    border-top-left-radius: 20px;
	border-top-right-radius: 20px;	
    border-bottom-left-radius: 0;
	}
    .evento-gallery-grid {
        flex-direction: column;
    }

    .evento-gallery-main-img {
        border-radius: 20px;
    }

    .evento-gallery-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    /* Nasconde 3ª e 4ª immagine su mobile */
    .evento-gallery-thumb-sm:nth-child(n+3) {
        display: none;
    }

    .elementor .evento-gallery-thumb-sm img {
        border-radius: 0;
    }
	.elementor .evento-gallery-thumb-sm:nth-child(1) img {
    	border-bottom-left-radius: 20px;
	}
	.elementor .evento-gallery-thumb-sm:nth-child(2) img {
		border-bottom-right-radius: 20px;
	}
}

/* Stile per lo shortcode del loop eventi nelle pagine */
.eventi-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.evento-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

.evento-box:hover {
    transform: translateY(-4px);
}

.evento-image {
    position: relative;
}

.evento-image img {
    width: 100%;
    height: auto;
    display: block;
}

.evento-ribbon {
    position: absolute;
    top: 40px;
    left: -40px;
    background: #D4AF37;
    color: #fff;
    padding: 5px 15px;
    transform: rotate(-45deg);
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    text-align: center;
    width: 200px;
}

.evento-content {
    padding: 15px;
    text-align: center;
}

.evento-content h3 {
    margin: 5px 0 10px 0;
    line-height: 20px !important;
}

.evento-content h3 a {
    text-decoration: none;
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
}

.evento-content p {
    margin: 5px 0 0 0;
    font-size: 16px;
    font-weight: 400;
}

.elementor-kit-17 a.evento-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 30px;
    background-color: #D4AF37;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.elementor-kit-17 a.evento-button:hover {
    background-color: #21326E;
	color: #fff;
}

.evento-prezzi-wrapper h5.elementor-heading-title {
	color: #D4AF37;
}

.evento-prezzo-box {
    border-bottom: 2px dashed #70707030;
    padding: 15px 0;
}

.evento-prezzo-riga {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.evento-prezzo-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evento-prezzo-label {
    font-size: 18px;
    font-weight: 500;
    color: #21326E;
}

.evento-prezzo-importo {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.evento-button.small {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 12px;
    background-color: #D4AF37;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    white-space: nowrap;
}

.evento-button.small:hover {
    background-color: #21326E;
    color: #fff;
}

/* FAQ - Stile Accordion */
.evento-faq {
    margin-top: 30px;
}

.evento-faq h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 2px dashed #70707030;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.faq-question {
    font-weight: bold;
    color: #D4AF37;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    text-transform: uppercase;
    font-size: 18px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #D4AF37;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-top: 8px;
    font-size: 16px;
    color: #333;
}