/*
Theme Name: Teatri in Comune
Theme URI: https://www.lenusmedia.it
Author: Lenus Media
Author URI: https://www.lenusmedia.it
Description: Tema WordPress istituzionale per la rete dei teatri comunali. Design essenziale, accessibile e orientato alla promozione culturale.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teatri-in-comune
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* 
--------------------------------------------------------------
Base
--------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html, body {
	overflow-x: hidden !important;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
	font-size: 16px;
	line-height: 1.6;
	color: #111;
	background-color: #fff;
}

.tic-newsletter-trigger {
	border-radius: 0;
	background: #970A2C;
}
.eventi-pagination{
    width:100%;
    flex:0 0 100%;
    grid-column:1 / -1;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    margin:40px 0;
    clear:both;
}

.eventi-pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 14px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    background:#fff;
    color:#333;
    text-decoration:none;
    font-weight:500;
    transition:all .2s ease;
}

.eventi-pagination .page-numbers:hover{
    background:#f5f5f5;
    border-color:#999;
    transform:translateY(-1px);
}

.eventi-pagination .page-numbers.current{
    background:#000;
    color:#fff;
    border-color:#000;
    cursor:default;
}

.eventi-pagination .prev,
.eventi-pagination .next{
    padding:0 18px;
    font-weight:600;
}

.eventi-pagination .dots{
    border:none;
    background:none;
    min-width:auto;
    padding:0 5px;
}

@media (max-width:768px){

    .eventi-pagination{
        gap:5px;
    }

    .eventi-pagination .page-numbers{
        min-width:36px;
        height:36px;
        padding:0 10px;
        font-size:14px;
    }

}


a {
	color: #F57A1C;
}
h1, h2, h3, h4, h5 {
	text-transform: uppercase !important;
	letter-spacing: -1px;
	font-weight: 700;
}
h2 {
	font-size: 26px !important;
	margin: 0 0 15px 0 !important;
}
h2 em {
	text-transform: lowercase !important;
	font-weight: 400;
	font-family: "Times New Roman", sans-serif;
	font-style: italic; 
}

.disclaimer {
	text-align: center;
}
	.disclaimer img {
		max-width: 100%;
		margin: 0 auto !important;
		text-align: center;
	}
	
.footermenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footermenu li {
    margin: 0;
    padding: 0;
}

.footermenu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all .2s ease;
}

.footermenu a:hover {
    color: #000;
    text-decoration: underline;
}

.footermenu {
    text-align: center;
    margin: 20px 0;
}

#dataevento {
	display: none;
}


.vc_grid .vc_gitem-link {
	font-size: 18px !important;
	line-height: 1.25em !important;
}
.the_content {
	
}
	.the_content a, .em.pixelbones a {
		color: #F57A1C !important;
	}


/* 
--------------------------------------------------------------
Calendario
--------------------------------------------------------------
*/

/* WRAPPER */
.lenus-cal-wrapper {
    max-width: 420px;
    font-family: inherit;
    user-select: none;
}

/* NAVIGAZIONE MESE */
.lenus-cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lenus-cal-nav button {
    background: transparent;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.custom-av-image{
    display:block;
    margin-bottom:20px;
}

.custom-av-image.align-left{
    text-align:left;
}

.custom-av-image.align-center{
    text-align:center;
}

.custom-av-image.align-right{
    text-align:right;
}

.custom-av-image img{
    max-width:100%;
    height:auto;
    transition:all .3s ease;
}

.custom-av-image.circle img{
    border-radius:50%;
}

.custom-av-image.hover-grow img:hover{
    transform:scale(1.05);
}

.custom-av-hr{
    text-align:center;
}

.custom-av-hr hr{
    margin:0 auto;
    border:none;
    border-top:1px solid #ddd;
}

.button_teatro, .vc_btn3-color-warning, .pulsante_cta a, .pulsante_cta_prenota a {
	text-decoration: none;
	font-weight: bold; 
	border-radius: 0 !important;
	border: 0 !important;
	padding: 10px 15px !important;
	border: 0 !important;
	color: #fff !important;
	background: #E27B2B !important;
}

.pulsante_cta_prenota, .pulsante_cta {
	display: inline-block;
}
.pulsante_cta_prenota a, .pulsante_cta a {
	border: 3px solid #E27B2B!important;
	text-transform: uppercase;
	margin-top: 30px;
	display: inline-block;
	clear: both;
}
.pulsante_cta_prenota a {
	background: #fff !important;
	color: #E27B2B !important;
}

.lenus-cal-nav button:hover {
    background: #111;
    color: #fff;
}

.lenus-current-month {
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
}

/* GRIGLIA */
.lenus-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* CELLE VUOTE */
.lenus-empty {
    height: 25px;
}

/* GIORNI */
.lenus-day {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

.lenus-day:hover {
    background: #f2f2f2;
}

/* SELEZIONE SINGOLA */
.lenus-day.selected {
    background: #111;
    color: #fff;
    border-color: #111;
}

.um-button {
	background: #F57A1C !important;
}

/* RANGE VISIVO (se vuoi aggiungerlo via JS) */
.lenus-day.range {
    background: #e6e6e6;
}

/* RANGE START */
.lenus-day.range-start {
    background: #F57A1C;
    color: #fff;
    border-color: #F57A1C;
}

/* RANGE END */
.lenus-day.range-end {
    background: #F57A1C;
    color: #fff;
    border-color: #F57A1C;
}

/* GIORNI DISABILITATI (se li userai) */
.lenus-day.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.lenus-weekday {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 6px;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 480px) {

    .lenus-cal-wrapper {
        max-width: 100%;
    }

    .lenus-day {
        height: 34px;
        font-size: 12px;
    }

}

/* GIORNO CORRENTE */
.lenus-day.today {
    border: 2px solid #000;
    font-weight: 600;
}

/* RANGE COMPLETO */
.lenus-day.in-range {
    background: #ffe7d6;
}

/* RANGE START */
.lenus-day.range-start {
    background: #F57A1C;
    color: #fff;
    border-color: #F57A1C;
}

/* RANGE END */
.lenus-day.range-end {
    background: #F57A1C;
    color: #fff;
    border-color: #F57A1C;
}

/* arrotondamento visivo barra continua */
.lenus-day.range-start {
    border-radius: 6px 0 0 6px;
}

.lenus-day.range-end {
    border-radius: 0 6px 6px 0;
}

.lenus-day.in-range:not(.range-start):not(.range-end) {
    border-radius: 0;
}

.lenus-cal-presets {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lenus-cal-presets button {
    background: #fff;
    border: 1px solid #f57a1c;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lenus-cal-presets button:hover {
    background: #f57a1c;
    color: #fff;
    border-color: #f57a1c;
}

.lenus-cal-presets button.active {
    background: #f57a1c;
    color: #fff;
}



/* 
--------------------------------------------------------------
Newsletter
--------------------------------------------------------------
*/

#newsletter {
	color: #fff;
	background-position: top right !important; 
}
#newsletter a {
	color: #fff; 
}


.tnp-subscription {
    width: 100%;
    max-width: 640px;
    margin: 18px 0 0;
}
.tnp-field.tnp-field-email label {
	display: none !important;
} 
.tnp-subscription form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
}

.tnp-subscription .tnp-field {
    margin: 0;
}

/* Campo email */
.tnp-subscription .tnp-field-email {
    width: calc(100% - 175px);
}

.tnp-subscription .tnp-email {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 4px 0 0 4px;
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.tnp-subscription .tnp-email:focus {
    border-color: #222222;
}

.tnp-subscription .tnp-email::placeholder {
    color: #777777;
}

/* Pulsante accanto all'email */
.tnp-subscription .tnp-field-button {
    order: 2;
    width: 175px;
}

.tnp-subscription .tnp-submit {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: 1px solid #222222;
    border-radius: 0 4px 4px 0;
    background: #222222;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tnp-subscription .tnp-submit:hover {
    background: #ffffff;
    color: #222222;
}

/* Elenco newsletter */
.tnp-subscription .tnp-lists {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 10px;
}

.tnp-subscription .tnp-field-list {
    margin: 0;
}

.tnp-subscription .tnp-field-list label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
}

/* Checkbox personalizzate */
.tnp-subscription .tnp-field-list input[type="checkbox"],
.tnp-subscription .tnp-privacy-field input[type="checkbox"] {
    appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.tnp-subscription .tnp-field-list input[type="checkbox"]:checked,
.tnp-subscription .tnp-privacy-field input[type="checkbox"]:checked {
    background: #ffffff;
}

.tnp-subscription .tnp-field-list input[type="checkbox"]:checked::after,
.tnp-subscription .tnp-privacy-field input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #f47b16;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Privacy */
.tnp-subscription .tnp-privacy-field {
    order: 4;
    width: 100%;
    margin-top: 18px;
}

.tnp-subscription .tnp-privacy-field label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
}

.tnp-subscription .tnp-privacy-field a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Accessibilità */
.tnp-subscription input:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 700px) {
    .tnp-subscription form {
        display: block;
    }

    .tnp-subscription .tnp-field-email,
    .tnp-subscription .tnp-field-button {
        width: 100%;
    }

    .tnp-subscription .tnp-email {
        border-radius: 4px;
    }

    .tnp-subscription .tnp-submit {
        margin-top: 10px;
        border-radius: 4px;
    }

    .tnp-subscription .tnp-lists {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .tnp-subscription .tnp-privacy-field {
        margin-top: 18px;
    }
}




.profile-link {
	background: #970a2c;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	display: inline-block;
	padding: 10px 15px;
}

/* 
--------------------------------------------------------------
Accessibilità
--------------------------------------------------------------
*/

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	left: 10px;
	top: 10px;
	width: auto;
	height: auto;
	padding: 8px 12px;
	background: #000;
	color: #fff;
	z-index: 1000;
}

/* 
--------------------------------------------------------------
Header
--------------------------------------------------------------
*/

.site-header {
	width: 100%;
}


.header-comune {
	padding: 15px 0;
	background: #970a2c;
	text-align: right; 
}
	.header-comune img {
		max-height: 30px;
		width: auto;
	}
	


.header-site, .header-site-teatro {
	padding: 15px 0;
}
	.header-site.sticked {
		padding-right: 0 !important;
	}

	#header_teatro .header-site {
	}
	.header-site img, .header-site-teatro img {
		max-height: 70px;
		width: auto;
	}


/* CONTENITORE MENU */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 80px;
}

/* LISTA MENU */
.main-navigation ul {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-navigation ul li ul {
	gap: 4px;
}

/* VOCE MENU */
.main-navigation ul li {
	position: relative;
}

/* LINK */
.main-navigation ul li a {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1a1a1a;
	text-decoration: none;
	padding: 6px 0;
	display: inline-block;
}
#header_teatro .main-navigation ul li a {
	color: #fff;
}
#header_teatro .main-navigation ul li ul li a {
	color: #000;
}





/* LINEA ARANCIONE HOVER / ACTIVE */
.main-navigation ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 0;
	height: 3px;
	background-color: #f28c00;
	transition: width 0.25s ease;
}

/* HOVER */
.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item a::after {
	width: 100%;
}










/* DISATTIVA LINEA PER ITEM CON SOTTOMENU */
#header_teatro .main-navigation ul li.menu-item-has-children > a::after {
	content: none !important;
}

#header_teatro .main-navigation ul li.menu-item-has-children > a::before {
	content: "\f0d7";
	position: absolute;
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
	margin-left: 6px;
	font-size: 0.7em;
	display: inline-block;
	right: -15px;
	top: 9px;
}

/* DROPDOWN */
.main-navigation ul li ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	min-width: 200px;
	flex-direction: column;
	padding: 16px 0;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 100;
}

/* APERTURA DROPDOWN */
.main-navigation ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* VOCI DROPDOWN */
.main-navigation ul li ul li a {
	font-size: 13px;
	padding: 8px 20px;
	text-transform: none;
}

.main-navigation ul li ul li a::after {
	display: none;
}


.immagine_slide img {
	max-width: 100%;
}
.contenuto_slide {
	padding: 15px;
}
.contenuto_slide a {
	color: #000;
	text-decoration: none;
}
.contenuto_slide h1 {
	font-size: 24px;
}
.contenuto_slide_content {
    font-size: 16px;
    line-height: 1.5;
    display: -webkit-box;
	padding-right: 15px;
    -webkit-box-orient: vertical;
}
@media(min-width: 768px){
	.contenuto_slide_content {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 7; /* 4 righe ≈ 96px */
		overflow: hidden;
	}
}

.grid-eventi-quadrato {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonne = 25% */
    gap: 24px; /* regola lo spazio tra le card */
}


#slider .owl-stage-outer {
	/*border: 10px solid #F57A1C;*/
}

#slider .owl-item {
	border: 10px solid #F57A1C;
}

	.owl-prev, .owl-next {
		font-size: .1px;
		display: inline-block;
	}

	.owl-prev::before,
	.owl-next::before {
		font-family: "Font Awesome 6 Pro" ;
		font-weight: 900; /* 300 light | 400 regular | 900 solid */
		font-size: 30px;
		color: #f27e19;
		display: inline-block;
	}

	.owl-prev::before {
		content: "\f104";
	}

	.owl-next::before {
		content: "\f105";
	}




/* 
--------------------------------------------------------------
Contenuti
--------------------------------------------------------------
*/

.site-main {
	padding: 30px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.entry-title {
	margin-top: 0;
}

/* 
--------------------------------------------------------------
Footer
--------------------------------------------------------------
*/

#subfooter {
	padding: 15px 0;
	font-size: 12px;
}
	#subfooter img {
		display: block;
		clear: both; 
		padding: 15px 0;
		font-size: 12px;
	}


.site-footer {
	padding: 30px 0;
	background: #f7f7f7;
	border-bottom: 1px solid #dedede;
}

.footer-teatri {
	display: flex;
	flex-wrap: wrap;
}

.footer-teatro {
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}

.footer-socials {
	margin-top: auto;
	padding-top: 15px;
}

.social-link {
	text-decoration: none !important;
	font-size: 24px;
	color: #000;
	margin-right: 15px;
}

.site-footer h3 {
	max-width: 140px;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -1px;
	text-transform: uppercase;
}

.site-footer p {
	font-size: 14px;
}

/* MOBILE */
@media (max-width: 767px) {

	.site-footer h3 {
		font-size: 20px;
		letter-spacing: -0.5px;
		max-width: 120px; 
	}

	.site-footer p {
		font-size: 13px;
	}

	.social-link {
		font-size: 20px;
	}
}

.ajax-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 40px;
	font-size: 16px;
	color: #666;
	width: 100%;
}

.ajax-loader i {
	font-size: 20px;
	color: #ff6a00;
}


.teatri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.teatro-card {
	border: 1px solid #E27B2B;
	border-radius: 5px;
	text-align: left;
	padding: 15px 30px;
    background: #fff;
	display: block;
    text-decoration: none;
    color: inherit;
}

.teatro-thumb {
	padding: 30px 0;
}
.teatro-thumb img {
	width: 220px;
	height: auto !important;
}

.teatro-title {
	display: none;
    padding: 12px 0;
    font-weight: 600;
}



@media (max-width: 992px) {
	
	.header-site img {		
		max-height: 120px;
	}
	#site-navigation-teatro, #site-navigation {
		display: none;
	}
	.grid-eventi .thumb {
	}
	
    .teatri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .teatri-grid {
        grid-template-columns: 1fr;
    }
}








/* ===============================
   WRAPPER GENERALE
================================ */
.notizie-wrapper {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

/* ===============================
   HEADER (TITOLO + FILTRO)
================================ */
.notizie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
	margin-bottom: 10px;
}

.notizie-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 !important;
}

.notizie-header h2 em {
    font-style: italic;
    font-weight: 400;
}

#filtro-teatro {
    padding: 8px 12px;
    font-size: 14px;
}



#header_teatro {
	background-repeat: no-repeat;
	background-size: cover;	
	padding: 0 0 0 0;
	background: #F57A1C;
	margin-bottom: 30px;
}
/*
#header_teatro:before {
	z-index: -1;
	position: absolute;
	background: #F57A1C;
	width: 100%;
	content: '';
	height: 60px;
}
*/






.notizia-slide {
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notizia-slide:hover {
    /*transform: translateY(-4px);*/
}

.notizia-slide a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

/* IMMAGINE */
.thumb {
    width: 100%;
	background-color: #eee;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
    overflow: hidden;

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


.archivio {
	margin-bottom: 60px;
}
.archivio-mode-scroll  {
	margin-bottom: 0;
}

/* BLOCCO ARANCIONE */
.notizia-slide .contenuto {
    display: flex;
	position: relative;
    flex-direction: column;
    background: #F57A1C;
    color: #fff;
    gap: 10px;
}
.notizia-slide .contenuto_padded {
	padding: 18px 12px;
}

/* CATEGORIA */
.notizia-slide .categoria, .categoria {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* TITOLO */
.notizia-slide h3 {
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

/* TESTO */
.notizia-slide .contenuto p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    opacity: 0.95;
}











.marte-date-wrapper{
margin-top:20px;
}

.mese{
margin:25px 0 10px;
font-size:18px;
font-weight:600;
border-bottom:1px solid #ddd;
padding-bottom:6px;
}




.date-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
gap:12px;
}

.date-card{
display:flex;
align-items:center;
background:#f5f5f5;
border-radius:8px;
padding:10px;
transition:.2s;
}

.date-card:hover{
background:#e9e9e9;
}


.giorno {
font-size:18px;
margin-right: 5px;
}
.info{
font-size:13px;
}

.weekday{
font-weight:600;
}

.orario{
font-size:12px;
opacity:.7;
}

.toggle-date{
margin-top:20px;
padding:8px 14px;
border:none;
background:#009fb7;
color:#fff;
border-radius:6px;
cursor:pointer;
}










.footer-evento {
	border: 1px solid #F57A1C;
    display: flex;
    justify-content: space-between;
    align-items: center;
	background: #fff;
}
#slider .footer-evento {
	border: 0;
	margin-top: 15px;
	border-top: 1px solid #F57A1C;
	background: none; 
}

@media(min-width: 768px){ /* da mobile il footer si aggancia */
	
	.contenuto_padded {
		padding-bottom: 100px !important;
	}
	.footer-evento {
		width: 100%;
		position: absolute;
		bottom: 0;
	}
}
.the_slide {
	background: #fff;
	position: relative;
}
.the_slide .col-md-4 {
	position: relative;
}
.the_slide .footer-evento {
	/*
	width: 97%;
	position: absolute;
	bottom: 0;
	border-bottom: 0;
	border-right: 0;
	border-left: 0; 
	*/
}

/* BLOCCO LOGO + DATA */
.footer-evento .info-evento {
    display: flex;
    align-items: center;
}

.footer-evento .logo-teatro {
    padding: 10px 12px;
	border-right: 1px solid #F57A1C;
}

.the_slide .footer-evento .logo-teatro {
	margin-left: 10px;
}


/* LOGO */
.footer-evento .logo-teatro img {
    max-height: 36px;
    width: auto;
    display: block;
}

/* DATA */
.footer-evento .data-grande {
	padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #F57A1C;
}

.footer-evento .data-grande .giorno {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}
.footer-evento .data-grande .giorno .mese_abbreviato {
    display: block;
	color: #000;
	text-align: center;
    font-size: 14px;
    line-height: 1;
    margin-top: 2px;
	text-transform: uppercase;
	font-weight:600;
}

.footer-evento .data-grande .data-testo {
    display: flex;
	color: #000;
    flex-direction: column;
    line-height: 1.1;
}



.link_luogo, .luogo_title {
	display: none !important;
}
.etichetta {
	margin-right: 5px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-size: 12px;
	padding: 2px 5px;
}
.etichetta_stagione {
	display: none;
}
.etichetta_gratuito {
	background: #F57A1C;
	color: #fff;
}
.categoria .etichetta_gratuito {
	border: 1px solid #fff;
}
.footer-evento .data-grande .settimana,
.footer-evento .data-grande .mese {
    font-size: 12px;
    font-weight: 700;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
    text-transform: uppercase;
}

.footer-evento .data-grande .ora {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.googlemaps_map {
	display: block;
	height: 360px;
	overflow: hidden;
	border-radius: 15px;
	margin: 15px 0;
}

.googlemaps_map img {
	width: 100%;
}



.grid-eventi-quadrato.colonne-1{
    grid-template-columns:1fr;
}

.grid-eventi-quadrato.colonne-2{
    grid-template-columns:repeat(2,1fr);
}

.grid-eventi-quadrato.colonne-3{
    grid-template-columns:repeat(3,1fr);
}

.grid-eventi-quadrato.colonne-4{
    grid-template-columns:repeat(4,1fr);
}

.grid-eventi-quadrato.colonne-5{
    grid-template-columns:repeat(5,1fr);
}

.grid-eventi-quadrato.colonne-6{
    grid-template-columns:repeat(6,1fr);
}

@media (max-width: 768px){
    .grid-eventi-quadrato[class*="colonne-"]{
        grid-template-columns:1fr !important;
    }
} 
@media (max-width: 1024px){
    .grid-eventi-quadrato[class*="colonne-"]{
		grid-template-columns:repeat(2,1fr);
    }
} 
@media (max-width: 1200px){
    .grid-eventi-quadrato[class*="colonne-"]{
		grid-template-columns:repeat(3,1fr);
    }
} 


.custom-breadcrumbs {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.custom-breadcrumbs a {
    color: #777;
    text-decoration: none;
}

.custom-breadcrumbs a:hover {
    text-decoration: underline;
}

.custom-breadcrumbs span {
    margin: 0 4px;
}




/* ===============================
   NAVIGAZIONE OWL
================================ */



/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .notizie-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .notizie-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}




/* 
--------------------------------------------------------------
Responsive
--------------------------------------------------------------
*/

@media (min-width: 1200px) {
	.container {
		max-width: 1500px; 
	}
	/*
	#slider .container {
		max-width: 1480px;
	}	
	*/
}
@media (max-width: 768px) {

	.header-top {
		flex-direction: column;
		gap: 15px;
	}

	.main-navigation ul {
		flex-wrap: wrap;
		justify-content: center;
	}
}
@media (min-width: 768px) {

	.header-comune img {
		max-height: 40px;
		width: auto;
	}
	.evento-slide .logo-teatro {
		width: 100px;
	}
	#intestazione h1 {
		display: inline-block;
		background: #fff;
		padding: 32px 0 0 0;
	}


	/* IMMAGINE */
	.eventi-wrapper, .notizie-wrapper {
		/*min-height: 550px;*/
	}

	.the_slide .col-md-8 {
		padding-right: 0;
	}
	.the_slide .col-md-4 {
		padding-left: 0;
	}

	
}





/* Header base */
.header-site {
    width: 100%;
    padding: 15px 0;
    position: relative; /* necessario per posizionare hamburger assoluto */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 999; /* sopra contenuti normali */
    background-color: transparent; /* inizialmente trasparente */
}

/* Placeholder per evitare salto slider quando sticky */
.header-comune.sticky-placeholder {
    margin-bottom: 70px; /* altezza approssimativa dell'header-site */
}

/* Hamburger assoluto dentro header */
.header-site .hamburger {
	float: right;
	margin-top: 15px;
    display: none; /* visibile solo su mobile */
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* ===============================
   Sticky header
================================ */
.header-site.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95); /* opacità progressiva via JS */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;	
}

/* Mobile */
@media (max-width: 768px) {
    .header-site .hamburger {
        display: block;
    }
}


 


.menu-wrapper {
	display: none;	
}
@media(min-width: 768px){

	.menu-wrapper {
		display: none !important;	
	}	
}
/* Wrapper attivo */
.menu-wrapper.active {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;        /* tutta larghezza */
    justify-content: flex-start;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    left: 0;
    z-index: 10000;
    padding: 10px 0;
}

/* Menu mobile verticale */
.menu-wrapper.active .main-navigation-mobile,
.menu-wrapper.active .main-navigation-mobile ul {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

/* Link principali */
.menu-wrapper.active .main-navigation-mobile ul li a {
    font-size: 18px;             /* font più grande */
	border-radius: 0 !important;
    font-weight: 600;
	display: block;
    text-transform: uppercase; 
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 0;          /* più spazio interno */
    width: 100%;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.menu-wrapper.active .main-navigation-mobile ul li a:hover {
    background-color: #f28c00;
    color: #fff;
    border-radius: 4px;
}

/* Sottomenu chiuso di default */
.menu-wrapper.active .main-navigation-mobile ul li ul {
    display: none;
    flex-direction: column;
    padding-left: 0;
    width: 100%;
    gap: 8px;
}

.menu-wrapper.active .main-navigation-mobile ul.sub-menu  {
	display: none !important;
}
.menu-wrapper.active .main-navigation-mobile .current_page_ancestor ul.sub-menu  {
	display: block !important;
}
 



/* Link sottomenu */
.menu-wrapper.active .main-navigation-mobile ul li ul li a {
    font-size: 16px;
	display: block; 
    text-transform: none;
    color: #333;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.menu-wrapper.active .main-navigation-mobile ul li ul li a:hover {
    background-color: #f28c00;
    color: #fff;
}

/* Icona indicatore per sottomenu */
.menu-wrapper.active .main-navigation-mobile ul li.menu-item-has-children > a::after {
    content: "\f0d7";             /* freccia FontAwesome */
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8em;
    display: inline-block;
}

/* Mantieni hover anche sulla voce corrente */
.menu-wrapper.active .main-navigation-mobile ul li.current-menu-item > a,
.menu-wrapper.active .main-navigation-mobile ul li.current_page_item > a {
    background-color: #f28c00;
    color: #fff;
    border-radius: 4px;
}

/* Voce principale selezionata */
.menu-wrapper.active .main-navigation-mobile ul li.current-menu-item > a,
.menu-wrapper.active .main-navigation-mobile ul li.current_page_item > a {
    background-color: #f28c00 !important;
    color: #fff;
    border-radius: 4px;
}

/* Sottomenu chiuso di default */
.menu-wrapper.active .main-navigation-mobile ul li ul {
    display: none;
}

/* Sottomenu aperto se contiene voce corrente */
.menu-wrapper.active .main-navigation-mobile ul li.menu-item-has-children li.current-menu-item,
.menu-wrapper.active .main-navigation-mobile ul li.menu-item-has-children li.current_page_item {
    font-weight: 600; /* opzionale: evidenzia sottovoce */
}

/* Mantieni il sottomenu aperto se contiene voce corrente */
.menu-wrapper.active .main-navigation-mobile ul li.menu-item-has-children li.current-menu-item,
.menu-wrapper.active .main-navigation-mobile ul li.menu-item-has-children li.current_page_item {
    display: list-item; /* solo per fallback se necessario */
}






.menu-teatro {
	
}
#overlay-teatro {
	
}




/*
|--------------------------------------------------------------------------
| SEARCH HEADER
|--------------------------------------------------------------------------
*/

.search-header{
    margin-bottom:40px;
}



/*
|--------------------------------------------------------------------------
| FORM
|--------------------------------------------------------------------------
*/

.search-form{
    width:100%;
}

.search-grid{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    align-items:center;
}

/*
|--------------------------------------------------------------------------
| CAMPI
|--------------------------------------------------------------------------
*/

.search-field{
    position:relative;
}

.search-field input[type="text"],
.search-field input[type="date"],
.search-field select{
    height:56px;
    min-width:220px;

    border:1px solid #111;
    background:#fff;

    padding:0 18px;

    font-size:15px;
    font-weight:600;

    color:#111;

    outline:none;
    box-shadow:none;

    transition:all .2s ease;

    appearance:none;
    -webkit-appearance:none;

    font-family:inherit;
}

/*
|--------------------------------------------------------------------------
| SEARCH INPUT
|--------------------------------------------------------------------------
*/

.search-field.search-keyword{
    flex:1;
    min-width:280px;
}

.search-field.search-keyword input{
    width:100%;
    padding-left:56px;
}

/*
|--------------------------------------------------------------------------
| ICONA SEARCH
|--------------------------------------------------------------------------
*/

.search-field.search-keyword:before{
    content:"";

    width:18px;
    height:18px;

    position:absolute;
    left:20px;
    top:50%;

    transform:translateY(-50%);

    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") center center no-repeat;

    background-size:contain;

    pointer-events:none;
}

/*
|--------------------------------------------------------------------------
| SELECT
|--------------------------------------------------------------------------
*/

.search-field.select-field{
    position:relative;
}

.search-field.select-field:after{
    content:"";

    width:12px;
    height:12px;

    position:absolute;
    right:18px;
    top:50%;

    transform:translateY(-50%);

    pointer-events:none;

    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center center no-repeat;

    background-size:contain;
}

.search-field select{
    padding-right:50px;
    cursor:pointer;
}

/*
|--------------------------------------------------------------------------
| FOCUS
|--------------------------------------------------------------------------
*/

.search-field input:focus,
.search-field select:focus{
    border-color:#000;
    background:#fff;
}

/*
|--------------------------------------------------------------------------
| CHECKBOX BUTTON
|--------------------------------------------------------------------------
*/

.checkbox-button{
    position:relative;
}

.checkbox-button input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.checkbox-button label{
    height:56px;

    padding:0 22px;

    border:1px solid #111;
    background:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    font-size:14px;
    font-weight:700;
    text-transform:uppercase;

    transition:all .2s ease;
}

.checkbox-button input:checked + label{
    background:#111;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.search-submit button{
    height:56px;

    border:0;
    background:#111;
    color:#fff;

    padding:0 28px;

    font-size:14px;
    font-weight:700;
    text-transform:uppercase;

    cursor:pointer;

    transition:all .2s ease;
}

.search-submit button:hover{
    transform:translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| TABS
|--------------------------------------------------------------------------
*/

.search-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;

    margin:50px 0 40px;
}

.search-tab{
    border:1px solid #111;
    background:#fff;

    padding:14px 22px;

    font-size:13px;
    font-weight:700;
    text-transform:uppercase;

    cursor:pointer;

    transition:all .2s ease;
}

.search-tab.active{
    background:#111;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:992px){

    .search-grid{
        flex-direction:column;
        align-items:stretch;
    }

    .search-field{
        width:100%;
    }

    .search-field input,
    .search-field select{
        width:100%;
        min-width:100%;
    }

    .search-submit button{
        width:100%;
    }

    .search-header h1{
        font-size:42px;
    }

}


.archivio.grid-eventi-quadrato, .grid-eventi {
    align-items:stretch;
}

.archivio.grid-eventi-quadrato .notizia-slide, .grid-eventi  .notizia-slide{
    display:flex;
    flex-direction:column;
    height:100%;
}

.archivio.grid-eventi-quadrato .contenuto, .grid-eventi .contenuto{
    flex:1;
    display:flex;
    flex-direction:column;
}

.archivio.grid-eventi-quadrato .contenuto_padded, .grid-eventi .contenuto_padded{
    flex:1;
}

.archivio.grid-eventi-quadrato .footer-evento, .grid-eventi .footer-evento {
    margin-top:auto;
}

.grid-eventi .owl-stage{
    display:flex;
    align-items:stretch;
}

.grid-eventi .owl-item{
    display:flex;
    height:auto !important;
}

.grid-eventi .owl-item .notizia-slide{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
}

.grid-eventi .owl-item .contenuto{
    display:flex;
    flex-direction:column;
    flex:1;
}

.grid-eventi .owl-item .contenuto_padded{
    flex:1;
}

.grid-eventi .owl-item .footer-evento{
    margin-top:auto;
}
/* ==============================================================
   Slider homepage: slide della stessa altezza senza altezze fisse
   ============================================================== */

#slider .owl-stage {
	display: flex;
	align-items: stretch;
}

#slider .owl-item {
	display: flex;
	height: auto !important;
}

#slider .the_slide {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

#slider .the_slide > .row {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	width: 100%;
	height: 100%;
	margin-right: 0;
	margin-left: 0;
}

#slider .the_slide > .row > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

#slider .immagine_slide {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
}

#slider .immagine_slide .thumb,
#slider .immagine_slide .thumb > a {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
}

#slider .immagine_slide .thumb {
	background-size: cover;
	background-position: center;
}

#slider .immagine_slide .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#slider .the_slide .col-md-4 {
	display: flex;
	flex-direction: column;
}

#slider .contenuto_slide {
	flex: 1 1 auto;
}

#slider .footer-evento {
	position: static;
	width: 100%;
	margin-top: auto;
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	#slider .the_slide > .row {
		flex-direction: column;
	}

	#slider .the_slide > .row > [class*="col-"] {
		width: 100%;
		max-width: 100%;
		flex: 0 0 auto;
	}

	#slider .the_slide .col-md-4 {
		flex: 1 1 auto;
	}

	#slider .immagine_slide,
	#slider .immagine_slide .thumb,
	#slider .immagine_slide .thumb > a {
		flex: 0 0 auto;
	}

	#slider .immagine_slide .thumb img {
		height: auto;
		object-fit: initial;
	}
}

/* Rimuove il padding Bootstrap dalla colonna immagine dello slider */
#slider .the_slide .col-md-8 {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* ==============================================================
   Slider homepage: footer sempre in basso anche su mobile
   ============================================================== */

#slider .owl-item > .the_slide,
#slider .owl-item .the_slide {
	flex: 1 1 auto;
	height: auto;
}

#slider .the_slide > .row {
	flex: 1 1 auto;
	min-height: 0;
}

#slider .the_slide .col-md-8,
#slider .the_slide .col-md-4 {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

#slider .the_slide .col-md-4 {
	flex: 1 1 0;
	min-height: 0;
}

#slider .contenuto_slide {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#slider .footer-evento {
	position: static !important;
	inset: auto !important;
	flex: 0 0 auto;
	width: 100%;
	margin: auto 0 0 !important;
}

@media (max-width: 767px) {
	#slider .the_slide > .row {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 0;
	}

	#slider .the_slide .col-md-8 {
		flex: 0 0 auto;
	}

	#slider .the_slide .col-md-4 {
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		min-height: 0;
	}

	#slider .contenuto_slide {
		flex: 1 1 auto;
	}

	#slider .footer-evento {
		margin-top: auto !important;
		margin-right: 0 !important;
		margin-bottom: 0 !important;
		margin-left: 0 !important;
	}
}

/* ==============================================================
   Correzione definitiva mobile: footer aderente al fondo
   ============================================================== */

#slider .owl-stage {
	display: flex !important;
	align-items: stretch !important;
}

#slider .owl-item {
	display: flex !important;
	height: auto !important;
}

#slider .owl-item .the_slide {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column;
	width: 100%;
	height: 100% !important;
}

#slider .the_slide > .row {
	display: flex !important;
	flex: 1 1 auto !important;
	align-items: stretch !important;
	width: 100%;
	height: 100% !important;
	margin: 0;
}

#slider .the_slide .col-md-8,
#slider .the_slide .col-md-4 {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

#slider .the_slide .col-md-4 {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column;
}

#slider .contenuto_slide {
	display: block;
	flex: 0 0 auto;
}

#slider .footer-evento {
	position: static !important;
	inset: auto !important;
	flex: 0 0 auto;
	width: 100%;
	margin: auto 0 0 !important;
}

@media (max-width: 767px) {
	#slider .the_slide > .row {
		flex-direction: column !important;
	}

	#slider .the_slide .col-md-8 {
		flex: 0 0 auto !important;
	}

	#slider .the_slide .col-md-4 {
		flex: 1 1 auto !important;
		width: 100%;
		max-width: 100%;
	}

	#slider .contenuto_slide {
		flex: 0 0 auto !important;
	}

	#slider .footer-evento {
		margin-top: auto !important;
		margin-right: 0 !important;
		margin-bottom: 0 !important;
		margin-left: 0 !important;
	}
}

/*
 * Programmazione Eventi — integrazione Owl Carousel
 * Da aggiungere dopo gli stili della griglia eventi e dopo owl.carousel.css.
 */

.programmazione-carousel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

/*
 * Annulla le regole della griglia tradizionale.
 * La larghezza delle schede deve essere calcolata esclusivamente da Owl.
 */
.programmazione-carousel > .archivio_item,
.programmazione-carousel.owl-loaded .owl-item > .archivio_item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Owl deve occupare tutta la larghezza disponibile. */
.programmazione-carousel .owl-stage-outer {
    width: 100% !important;
    overflow: hidden !important;
}

.programmazione-carousel .owl-stage {
    display: flex !important;
    align-items: stretch;
}

.programmazione-carousel .owl-item {
    display: flex !important;
    float: none !important;
    height: auto;
    min-width: 0;
}

.programmazione-carousel .owl-item > .archivio_item {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

/* Uniforma l'altezza interna delle card. */
.programmazione-carousel .owl-item .the_body_container,
.programmazione-carousel .owl-item .archivio_item_inner,
.programmazione-carousel .owl-item article {
    width: 100%;
    height: 100%;
}

/* Evita che immagini o contenuti allarghino la slide. */
.programmazione-carousel img {
    display: block;
    max-width: 100%;
    height: auto;
}

.programmazione-carousel .owl-nav {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 18px;
}

.programmazione-carousel .owl-nav button.owl-prev,
.programmazione-carousel .owl-nav button.owl-next {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    border: 1px solid #111 !important;
    background: #fff !important;
    color: #111 !important;
    opacity: 1;
}

.programmazione-carousel .owl-nav button.disabled {
    opacity: .35 !important;
    cursor: default !important;
}

/* Nasconde la paginazione WordPress nelle modalità Owl. */
.programmazione-carousel .eventi-pagination {
    display: none !important;
}

/* Stato caricamento AJAX. */
.programmazione-carousel.is-loading {
    opacity: .55;
    pointer-events: none;
}

/* Filtri senza risultati. */
.filter-option-zero {
    opacity: .5;
}

/*
 * Fondamentale: eventuali regole colonne-* della griglia non devono
 * assegnare larghezze ai figli quando il contenitore è un Owl Carousel.
 */
.grid-eventi-quadrato.programmazione-carousel.colonne-1 > .archivio_item,
.grid-eventi-quadrato.programmazione-carousel.colonne-2 > .archivio_item,
.grid-eventi-quadrato.programmazione-carousel.colonne-3 > .archivio_item,
.grid-eventi-quadrato.programmazione-carousel.colonne-4 > .archivio_item,
.grid-eventi-quadrato.programmazione-carousel.colonne-5 > .archivio_item {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
}



.footer-evento{
	width:100%;
}

.info-evento{
	display:flex;
	align-items:stretch;
	justify-content:flex-end;
	min-height:60px;
}

.logo-teatro{
	display:flex;
	align-items:center;
	justify-content:center;
	width:122px;
	min-width:122px;
	padding:5px 8px;
	box-sizing:border-box;
	border-right:1px solid #f77b1b;
}

.logo-teatro .luogo_title{
	display:none;
}

.logo-teatro img{
	display:block;
	width:74px;
	max-height:36px;
	object-fit:contain;
}


/* EVENTO SINGOLO E MULTIDATA */

.date-evento-multiple{
	display:flex;
	align-items:stretch;
	gap:0;
}

.date-evento-multiple .data-grande,
.data-singola{
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	justify-content:center;
	width:76px;
	min-width:76px;
	padding:4px 10px;
	box-sizing:border-box;
}

.date-evento-multiple .data-fine{
	/*border-left:1px solid #f77b1b;*/
}

.etichetta-data{
	display:block;
	width:100%;
	margin:0;
	padding:0;
	font-size:8px;
	font-weight:700;
	line-height:1;
	color:#f77b1b;
	text-align:left;
	text-transform:uppercase;
}

.data-compatta{
	display:flex;
	align-items:flex-end;
	justify-content:flex-start;
	gap:3px;
	margin-top:1px;
	white-space:nowrap;
}

.data-compatta .giorno{
	font-size:21px;
	font-weight:700;
	line-height:1;
	color:#f77b1b;
}

.data-compatta .mese_abbreviato{
	font-size:11px;
	font-weight:700;
	line-height:2;
	color:#111;
	text-transform:uppercase;
}

.data-grande .ora,
.data-singola .ora{
	margin-top:2px;
	font-size:9px;
	font-weight:700;
	line-height:1;
	color:#111;
}


/* MOBILE */

@media(max-width:767px){

	.info-evento{
		min-height:54px;
		justify-content:flex-start;
	}

	.logo-teatro{
		width:96px;
		min-width:96px;
		padding:4px 6px;
	}

	.logo-teatro img{
		width:60px;
		max-height:30px;
	}

	.date-evento-multiple .data-grande,
	.data-singola{
		width:64px;
		min-width:64px;
		padding:3px 6px;
	}

	.etichetta-data{
		font-size:7px;
	}

	.data-compatta{
		gap:2px;
	}

	.data-compatta .giorno{
		font-size:18px;
	}

	.data-compatta .mese_abbreviato{
		font-size:9px;
	}

	.data-grande .ora,
	.data-singola .ora{
		font-size:8px;
	}
}


.lenus-litepicker-wrapper {
	width: 100%;
	max-width: 100%;
}

.lenus-litepicker-inline {
	width: 100%;
	max-width: 100%;
}

.lenus-litepicker-wrapper .litepicker {
	width: 100%;
	font-size: 12px;
}

.lenus-litepicker-wrapper .litepicker .container__months {
	width: 100%;
	width: 100%;
	box-shadow: none;
}

.lenus-litepicker-wrapper .litepicker .month-item {
	width: 100% !important;
	padding: 5px !important;
	box-sizing: border-box;
}

.lenus-litepicker-wrapper .litepicker .month-item-header {
	padding: 5px 0;
}

.lenus-litepicker-wrapper .litepicker .container__days > div,
.lenus-litepicker-wrapper .litepicker .container__days > a {
	width: calc(100% / 7);
	font-size: 12px;
}

.lenus-litepicker-wrapper .litepicker .day-item {
}

.lenus-cal-presets {
	width: 100%;
}

.litepicker .container__months .month-item-weekdays-row>div {
	width: 30px;
}

.lenus-cal-presets button,
.lenus-cal-reset {
	width: 100%;
	box-sizing: border-box;
}

.lenus-cal-reset {
	margin-top: 5px;
	border: 0;
	font-weight: bold;
	font-size: 14px;
	padding: 4px 0;
	background: #F57A1C;
	color: #fff;
}

@media (max-width: 767px) {
	.lenus-litepicker-wrapper,
	.lenus-litepicker-inline,
	.lenus-litepicker-wrapper .litepicker,
	.lenus-litepicker-wrapper .litepicker .container__months,
	.lenus-cal-presets {
		width: 100% !important;
		min-width: 0 !important;
	}
}

.lenus-cal-mobile-toggle {
	display: none;
}

.lenus-cal-mobile-panel {
	display: block;
}

@media (max-width: 767px) {

	.lenus-litepicker-wrapper {
		width: 100%;
		max-width: 100%;
	}

	.lenus-cal-mobile-toggle {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		min-height: 46px;
		padding: 10px 14px;
		background: #fff;
		border: 1px solid #111;
		border-radius: 0;
		color: #111;
		font-size: 14px;
		font-weight: 700;
		text-align: left;
		cursor: pointer;
		box-sizing: border-box;
	}

	.lenus-cal-mobile-toggle > i:first-child {
		font-size: 18px;
	}

	.lenus-cal-mobile-toggle-text {
		flex: 1;
	}

	.lenus-cal-mobile-arrow {
		font-size: 12px;
		transition: transform 0.2s ease;
	}

	.lenus-cal-mobile-panel {
		display: none;
		width: 100%;
		padding-top: 10px;
	}

	.lenus-cal-mobile-open .lenus-cal-mobile-panel {
		display: block;
	}

	.lenus-cal-mobile-open .lenus-cal-mobile-arrow {
		transform: rotate(180deg);
	}

	.lenus-litepicker-inline,
	.lenus-litepicker-wrapper .litepicker,
	.lenus-litepicker-wrapper .litepicker .container__months {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.lenus-litepicker-wrapper .litepicker .month-item {
		width: 100% !important;
		box-sizing: border-box;
	}

	.lenus-cal-presets {
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		width: 100%;
		margin-top: 10px;
	}

	.lenus-cal-presets button,
	.lenus-cal-reset {
		width: 100%;
		box-sizing: border-box;
	}
}

.programmazione-carousel.owl-carousel {
	width: 100%;
	min-width: 0;
}

.programmazione-carousel .owl-stage-outer {
	width: 100%;
	overflow: hidden;
}

.programmazione-carousel .owl-stage {
	display: flex;
	align-items: stretch;
}

.programmazione-carousel .owl-item {
	display: flex;
	float: none;
	height: auto !important;
}

.programmazione-carousel .owl-item > .archivio_item {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	align-self: stretch;
}

.programmazione-carousel .archivio_item {
	box-sizing: border-box;
}

.programmazione-carousel .owl-item img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==============================================================
   FOOTER EVENTI E DATE MULTIPLE — CORREZIONE RESPONSIVE DEFINITIVA
   ============================================================== */

.footer-evento,
.footer-evento *,
.info-evento,
.info-evento * {
	box-sizing: border-box;
}

.footer-evento {
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.footer-evento .info-evento {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.footer-evento .logo-teatro {
	display: flex;
	flex: 0 1 44%;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	max-width: 122px;
	padding: 5px 8px;
	overflow: hidden;
	border-right: 1px solid #f77b1b;
}

.footer-evento .logo-teatro a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
}

.footer-evento .logo-teatro img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 36px;
	object-fit: contain;
}

.footer-evento .date-evento-multiple {
	display: flex;
	flex: 1 1 0;
	align-items: stretch;
	width: auto;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.footer-evento .date-evento-multiple .data-grande {
	display: flex;
	flex: 1 1 50%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 50%;
	min-width: 0;
	max-width: 50%;
	padding: 4px clamp(3px, 0.45vw, 8px);
	overflow: hidden;
}

.footer-evento .date-evento-multiple .data-grande + .data-grande {
	border-left: 1px solid #f77b1b;
}

.footer-evento .date-evento-multiple .etichetta-data {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: clamp(6px, 0.55vw, 8px);
	font-weight: 700;
	line-height: 1;
	color: #f77b1b;
	text-align: left;
	text-overflow: clip;
	text-transform: uppercase;
	white-space: nowrap;
}

.footer-evento .date-evento-multiple .data-compatta {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	margin-top: 1px;
	gap: clamp(1px, 0.25vw, 3px);
	overflow: hidden;
	white-space: nowrap;
}

.footer-evento .date-evento-multiple .data-compatta .giorno {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	font-size: clamp(15px, 1.35vw, 21px);
	font-weight: 700;
	line-height: 1;
	color: #f77b1b;
	white-space: nowrap;
}

.footer-evento .date-evento-multiple .data-compatta .mese_abbreviato {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	font-size: clamp(7px, 0.7vw, 11px);
	font-weight: 700;
	line-height: 1.55;
	color: #111;
	text-overflow: clip;
	text-transform: uppercase;
	white-space: nowrap;
}

.footer-evento .date-evento-multiple .ora {
	width: 100%;
	min-width: 0;
	margin-top: 2px;
	overflow: hidden;
	font-size: clamp(7px, 0.6vw, 9px);
	font-weight: 700;
	line-height: 1;
	color: #111;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.footer-evento .data-singola {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: auto;
	min-width: 0;
	max-width: 100%;
	padding: 4px 10px;
	overflow: hidden;
}

.footer-evento .data-singola .data-compatta {
	display: flex;
	align-items: flex-end;
	min-width: 0;
	gap: 3px;
	white-space: nowrap;
}

.footer-evento .data-singola .giorno {
	margin: 0;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1;
}

.footer-evento .data-singola .mese_abbreviato {
	font-size: clamp(9px, 0.8vw, 11px);
	line-height: 1.55;
	white-space: nowrap;
}

/* Card molto strette: il logo cede spazio alle due date. */
@media (min-width: 768px) and (max-width: 1350px) {
	.footer-evento .logo-teatro {
		flex-basis: 40%;
		max-width: 104px;
		padding-right: 5px;
		padding-left: 5px;
	}

	.footer-evento .logo-teatro img {
		max-height: 31px;
	}

	.footer-evento .date-evento-multiple .data-grande {
		padding-right: 3px;
		padding-left: 3px;
	}

	.footer-evento .date-evento-multiple .data-compatta .giorno {
		font-size: 17px;
	}

	.footer-evento .date-evento-multiple .data-compatta .mese_abbreviato {
		font-size: 8px;
		line-height: 1.7;
	}
}

/* Tablet e smartphone. */
@media (max-width: 767px) {
	.footer-evento {
		overflow: hidden;
	}

	.footer-evento .info-evento {
		min-height: 54px;
	}

	.footer-evento .logo-teatro {
		flex: 0 1 42%;
		max-width: 110px;
		padding: 4px 6px;
	}

	.footer-evento .logo-teatro img {
		max-height: 30px;
	}

	.footer-evento .date-evento-multiple {
		flex-wrap: nowrap;
		overflow: hidden;
	}

	.footer-evento .date-evento-multiple .data-grande {
		flex: 1 1 50%;
		width: 50%;
		min-width: 0;
		max-width: 50%;
		min-height: 54px;
		padding: 3px 4px;
	}

	.footer-evento .date-evento-multiple .etichetta-data {
		font-size: 7px;
	}

	.footer-evento .date-evento-multiple .data-compatta {
		gap: 2px;
	}

	.footer-evento .date-evento-multiple .data-compatta .giorno {
		font-size: 18px;
	}

	.footer-evento .date-evento-multiple .data-compatta .mese_abbreviato {
		font-size: 9px;
		line-height: 1.6;
	}

	.footer-evento .date-evento-multiple .ora {
		font-size: 8px;
	}
}

/* Smartphone molto stretti. Le date restano affiancate senza uscire dal box. */
@media (max-width: 380px) {
	.footer-evento .logo-teatro {
		flex-basis: 38%;
		max-width: 88px;
		padding-right: 4px;
		padding-left: 4px;
	}

	.footer-evento .logo-teatro img {
		max-height: 26px;
	}

	.footer-evento .date-evento-multiple .data-grande {
		padding-right: 2px;
		padding-left: 2px;
	}

	.footer-evento .date-evento-multiple .data-compatta .giorno {
		font-size: 16px;
	}

	.footer-evento .date-evento-multiple .data-compatta .mese_abbreviato {
		font-size: 8px;
	}
}


