/*
 Theme Name:   UnderStrap Child - Istituzionale
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.5.2
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/
.grecaptcha-badge{
	bottom:50px !important;
}

.hp-banner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
}

.hp-banner-block {
	display: flex;
	flex-direction: column-reverse;
	position: relative;
	min-height: 450px;
	width: 100%;
}

.hp-banner-block__inner {
	z-index: 10;
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 48px 24px;
}

.hp-banner-block__media {
	width: 100%;
	height: auto;
}

.hp-banner-block__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#centralBanner_1 .hp-banner-block__inner {
	background-color: #182340;
}
#centralBanner_4 .hp-banner-block__inner {
	background-color: #c39f5f;
}

.text-decoration-underline {
	text-decoration: underline;
}

.btn.btn-hp-banner {
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 600;
	border: 2px solid white;
	color: white;
	text-decoration: none;
}
.btn.btn-hp-banner:hover,
.btn.btn-hp-banner:focus {
	color: #182340;
	background-color: white;
}

.hp-banner-title {
	font-style: normal;
	text-transform: uppercase;
	font-size: 32px;
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 32px;
}
.hp-banner-text {
	font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
}

/* ===== MOBILE (≤ 767.98px) ===== */
@media (max-width: 767.98px) {

	.hp-banner-block__inner {
		height: auto;
		max-width: 100%;
	}

	.hp-banner-title {
		font-size: 24px;
		margin-bottom: 12px;
	}
	.hp-banner-text {
		font-size: 16px;
	}
}

/* ===== DESKTOP (≥ 1024px) ===== */
@media (min-width: 1024px) {
	.hp-banner {
		flex-direction: row;
	}

	.hp-banner-block {
		flex-direction: row;
		max-width: 50%;
	}

	.hp-banner-block__inner {
		flex: auto;
		max-width: 40%;
	}
}