/* Allineamento Logo e Titolo nell'intestazione */
.header-brand {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	border-bottom: 2px solid #1e3c72;
	padding-bottom: 15px;
}

.header-brand img {
	max-width: 150px; /* Limita la larghezza massima del logo */
	height: auto;     /* Mantiene le proporzioni originali dell'immagine */
	display: block;
}

.header-brand h1 {
	margin: 0;
	color: #333;
	font-size: 2rem;
	border: none;     /* Rimuove eventuali bordi ereditati */
	padding: 0;
}

/* Griglia a due colonne asimmetriche */
.contact-wrapper {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.form-section {
	flex: 1.8;
	min-width: 320px;
}
.download-sidebar {
	flex: 1;
	min-width: 280px;
	background-color: #fff;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	height: fit-content;
}
.download-sidebar h3 {
	margin-top: 0;
	color: #1e3c72;
	border-bottom: 2px solid #1e3c72;
	padding-bottom: 8px;
	margin-bottom: 20px;
}
.download-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 15px;
	transition: transform 0.2s, box-shadow 0.2s;
}
.download-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.download-info p {
	margin: 0;
	font-weight: bold;
	font-size: 0.95rem;
	color: #333;
}
.download-info span {
	font-size: 0.8rem;
	color: #6c757d;
}
.badge-dl {
	background-color: #508dfc;
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.8rem;
}
.badge-dl:hover {
	background-color: #1e3c72;
}

/* Responsive per smartphone */
@media (max-width: 768px) {
	.header-brand {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
	}
	.header-brand h1 {
		font-size: 1.6rem;
	}
	.contact-wrapper { 
		flex-direction: column; 
	}
}
