/* Header, footer e schede: riproducono l'aspetto costruito in passato con Elementor Pro. */

/* --- Header ------------------------------------------------------------ */
.idl-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #f8f8f8;
	border-bottom: 1px solid #d8d8d8;
	font-family: Helvetica, Arial, sans-serif;
	transition: box-shadow .3s;
}
.idl-header.is-stuck { box-shadow: 0 0 38px rgba(0, 0, 0, .1); }
.admin-bar .idl-header { top: 32px; }

.idl-header__inner {
	display: flex;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.idl-header__title {
	flex: 0 0 31%;
	margin: 0;
	padding: 0 0 0 27px;
	font-size: 30px;
	font-weight: 100;
	line-height: 1;
	text-transform: uppercase;
	text-align: left;
}
.idl-header__title a,
.idl-header__title a:hover {
	color: #000;
	text-decoration: none;
}

.idl-nav { flex: 1 1 auto; }

.idl-menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.idl-menu li {
	flex: 1 1 auto;
	margin: 0;
	text-align: center;
}
.idl-menu a {
	position: relative;
	display: block;
	padding: 18px 15px;
	color: #7c7c7c;
	font-size: 13px;
	font-weight: 300;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .3s;
}
.idl-menu a:hover,
.idl-menu a:focus { color: #54595f; }

.idl-menu .current-menu-item > a,
.idl-menu .current-menu-ancestor > a,
.idl-menu .current_page_item > a { color: #000; }
.idl-menu .current-menu-item > a::after,
.idl-menu .current-menu-ancestor > a::after,
.idl-menu .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: #d8dade;
}

.idl-header__toggle { display: none; }

@font-face {
	font-family: "idl-eicons";
	src: url("fonts/eicons.woff2") format("woff2"), url("fonts/eicons.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@media (max-width: 1024px) {
	.idl-header__inner { height: 110px; padding: 0 20px; }
	.idl-header__title { flex: 1 1 auto; padding: 0; }
	.idl-header__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #000;
		cursor: pointer;
		font-family: "idl-eicons";
		font-size: 20px;
		line-height: 1;
	}
	.idl-header__toggle::before { content: "\e804"; }
	.idl-header__toggle[aria-expanded="true"]::before { content: "\e909"; }
	.idl-nav {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		background: #f9f9f9;
	}
	.idl-nav.is-open { display: block; }
	.idl-menu { display: block; }
	.idl-menu li { text-align: center; }
	.idl-menu a { padding: 10px 20px; color: #494c4f; font-size: 18px; }
	.idl-menu a:hover,
	.idl-menu a:focus,
	.idl-menu .current-menu-item > a { background: #54595f; color: #fff; }
	.idl-menu .current-menu-item > a::after { display: none; }
	.idl-single { padding-top: 37px; }
}
@media (max-width: 767px) {
	.idl-header__inner { height: 90px; }
	.idl-header__title { margin-left: -5px; font-size: 22px; position: relative; top: 3px; }
	.idl-header__toggle { margin-right: -10px; }
	.idl-nav { top: 88px; }
}

/* --- Footer ------------------------------------------------------------ */
.idl-footer {
	background: #2d2d2d;
	color: #8c8c8c;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 300;
}
.idl-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	max-width: 1162px;
	min-height: 5vw;
	margin: 0 auto;
	padding: 5px 10px;
}
@media (max-width: 1182px) { .idl-footer__inner { padding: 5px 20px; } }
.idl-social {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.idl-social li { margin: 0 0 0 27px; }
.idl-social a {
	display: block;
	color: rgba(255, 255, 255, .32);
	line-height: 1;
	text-decoration: none;
	transition: color .3s;
}
.idl-social a:hover { color: #00ce1b; }
.idl-social .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* --- Schede ------------------------------------------------------------ */
.idl-single {
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto;
	padding: 22px 15px 56px;
	font-family: Helvetica, Arial, sans-serif;
	color: #7a7a7a;
}
@media (min-width: 1171px) { .idl-single { padding-left: 0; padding-right: 0; } }

.idl-single__title {
	margin: 40px 0 0;
	padding: 0;
	color: #000;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 30px;
	font-weight: 300;
	line-height: 1.2;
	text-transform: uppercase;
}

.idl-single__years {
	margin: 17px 0 0;
	color: #54595f;
	font-size: 16px;
	text-align: left !important;
}

.idl-single__video {
	position: relative;
	width: 100%;
	margin: 20px 0 0;
	padding-top: 56.25%;
	background: #000;
}
.idl-single__video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.idl-single__content { margin-top: 20px; font-size: 16px; line-height: 1.5; }
.idl-single__content img { max-width: 100%; height: auto; }
.idl-single__content > :last-child { margin-bottom: 0; }
.idl-single--page .idl-single__content { margin-top: 61px; }

.idl-single__content iframe { max-width: 100%; }

/* --- Tablet e telefono (dopo le regole base, per avere la precedenza) ----- */
@media (max-width: 1024px) {
	.idl-single { padding-top: 37px; padding-bottom: 71px; }
	.idl-footer__inner { min-height: 59px; padding: 10px 20px; }
}
@media (max-width: 767px) {
	.idl-footer__inner { min-height: 50px; padding: 5px 20px; }
}

.idl-header__toggle:focus:not(:focus-visible) { outline: none; }
