:root {
	--green: #0f3d2e;
	--green-light: #1a5c45;
	--gold: #c9a84c;
	--gold-light: #e4c97a;
	--cream: #faf6ee;
	--cream-muted: rgba(250, 246, 238, 0.82);
	--shadow: rgba(8, 24, 18, 0.55);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	min-height: 100%;
	font-family: 'Source Sans 3', system-ui, sans-serif;
}

/* Site-wide navigation & inner pages */
.mg-pagination .page-link {
	color: var(--green);
	border-color: rgba(15, 61, 46, 0.15);
}

.mg-pagination .page-item.disabled .page-link {
	color: rgba(15, 61, 46, 0.45);
	background: rgba(15, 61, 46, 0.04);
}

.mg-pagination .page-link:hover {
	background: rgba(15, 61, 46, 0.06);
	color: var(--green-light);
}

.mg-pagination .page-item.active .page-link {
	background-color: var(--green);
	border-color: var(--green);
	color: #fff;
}

.mg-pagination .page-item.active .page-link:hover {
	background-color: var(--green-light);
	border-color: var(--green-light);
}

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

.mg-skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	overflow: visible;
	padding: 0.6rem 1rem;
	background: var(--green);
	color: var(--cream);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.35rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mg-nav {
	position: relative;
	z-index: 10;
	background: rgba(15, 61, 46, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(201, 168, 76, 0.25);
	padding: 0.45rem 0;
}

.mg-nav .nav-link,
.mg-nav .navbar-brand {
	color: var(--cream) !important;
}

.mg-nav .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.4);
}

.mg-nav .navbar-toggler-icon {
	filter: invert(1);
}

.mg-brand-wrap {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	margin-right: 1rem;
	flex-shrink: 0;
}

.mg-nav__tagline {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(0.95rem, 1.5vw, 1.2rem);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: none;
	color: var(--cream);
	line-height: 1.25;
	max-width: none;
	border-left: 2px solid rgba(201, 168, 76, 0.55);
	padding-left: 1.1rem;
	margin: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mg-nav__tagline-club,
.mg-nav__tagline-register {
	display: block;
}

.mg-nav__tagline-club {
	color: var(--cream);
}

.mg-nav__tagline-register {
	color: var(--gold-light);
	font-weight: 600;
}

.mg-brand__logo {
	height: 98px;
	width: auto;
}

.mg-nav .navbar-brand {
	margin-right: 0;
}

.mg-nav .nav-link {
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
	white-space: nowrap;
}

/* Menu orizzontale da xl (1200px): su monitor ~17"/1280px resta leggibile
   senza spezzare le voci; sotto xl hamburger a tutta larghezza. */
@media (min-width: 1200px) {
	.mg-brand-wrap {
		gap: 0.75rem;
		margin-right: 0.5rem;
	}

	.mg-brand__logo {
		height: 72px;
	}

	.mg-nav .navbar-nav {
		margin-left: 0.35rem;
		flex-wrap: nowrap;
		align-items: center;
	}

	.mg-nav .navbar-nav > .nav-item {
		display: flex;
		align-items: center;
		flex-shrink: 0;
	}

	.mg-nav .navbar-nav > .nav-item + .nav-item::before {
		content: '';
		display: block;
		width: 1px;
		height: 1.1em;
		margin: 0 0.1rem;
		background: linear-gradient(
			180deg,
			transparent 0%,
			rgba(201, 168, 76, 0.45) 30%,
			rgba(228, 201, 122, 0.7) 50%,
			rgba(201, 168, 76, 0.45) 70%,
			transparent 100%
		);
		flex-shrink: 0;
	}

	.mg-nav .navbar-nav .nav-link {
		font-size: 0.95rem;
		letter-spacing: 0.015em;
		padding-left: 0.48rem;
		padding-right: 0.48rem;
	}

	.mg-nav-actions {
		flex-shrink: 0;
		margin-left: 0.35rem !important;
	}

	.mg-lang-switch__item a {
		min-width: 1.75rem;
		padding: 0.25rem 0.35rem;
		font-size: 0.62rem;
	}
}

/* Schermi ampi: logo e voci un po' più generosi + tagline brand */
@media (min-width: 1400px) {
	.mg-brand__logo {
		height: 88px;
	}

	.mg-nav .navbar-nav {
		margin-left: 0.55rem;
	}

	.mg-nav .navbar-nav > .nav-item + .nav-item::before {
		margin: 0 0.15rem;
	}

	.mg-nav .navbar-nav .nav-link {
		font-size: 1.02rem;
		padding-left: 0.62rem;
		padding-right: 0.62rem;
	}
}

@media (min-width: 1600px) {
	.mg-brand__logo {
		height: 98px;
	}

	.mg-nav .navbar-nav .nav-link {
		font-size: 1.12rem;
		padding-left: 0.8rem;
		padding-right: 0.8rem;
	}
}

@media (max-width: 1199.98px) {
	.mg-brand__logo {
		height: 72px;
	}

	.mg-nav .navbar-brand {
		margin-right: 0;
	}

	.mg-nav .nav-link {
		font-size: 1.05rem;
		white-space: normal;
	}
}

.mg-nav .nav-link:hover,
.mg-nav .dropdown-item:hover {
	color: var(--gold-light) !important;
}

.mg-nav .nav-link:focus-visible,
.mg-nav .navbar-brand:focus-visible,
.mg-nav .navbar-toggler:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.mg-nav .dropdown-menu {
	background: rgba(15, 61, 46, 0.98);
	border: 1px solid rgba(201, 168, 76, 0.35);
	min-width: 16rem;
	max-width: min(22rem, 92vw);
	padding: 0.4rem 0;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.mg-nav .dropdown-item {
	color: var(--cream);
	white-space: normal;
	line-height: 1.35;
	padding: 0.55rem 1rem;
	font-size: 0.92rem;
}

.mg-nav .dropdown-item.active,
.mg-nav .dropdown-item:active {
	background: rgba(201, 168, 76, 0.22);
	color: var(--gold-light);
}

.btn-outline-mg {
	border: 1px solid var(--gold);
	color: var(--gold-light);
	background: transparent;
	border-radius: 2px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.72rem;
	padding: 0.45rem 0.85rem;
	text-decoration: none;
}

.btn-outline-mg:hover {
	background: var(--gold);
	color: var(--green);
	text-decoration: none;
}

.btn-mg {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--green);
	background: linear-gradient(90deg, var(--gold), var(--gold-light));
	padding: 0.85rem 2rem;
	border-radius: 3px;
	border: none;
	box-shadow: 0 10px 28px rgba(201, 168, 76, 0.28);
	transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, background 0.2s, color 0.2s;
}

.btn-mg:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 14px 34px rgba(201, 168, 76, 0.4);
	color: var(--green);
	text-decoration: none;
}

.btn-mg:focus-visible {
	outline: 2px solid var(--cream);
	outline-offset: 3px;
}

.btn-mg.btn-sm {
	padding: 0.45rem 1rem;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	box-shadow: 0 4px 14px rgba(201, 168, 76, 0.22);
}

.btn-mg.btn-sm:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(201, 168, 76, 0.32);
}

.mg-nav-actions {
	justify-content: flex-end;
}

.mg-lang-switch__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mg-lang-switch__item a {
	display: inline-block;
	min-width: 2rem;
	padding: 0.3rem 0.45rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	color: var(--cream);
	border: 1px solid rgba(201, 168, 76, 0.35);
	border-radius: 2px;
}

.mg-lang-switch__item a:hover {
	color: var(--gold-light);
	border-color: var(--gold);
}

.mg-lang-switch__item.is-active a {
	background: var(--gold);
	color: var(--green);
	border-color: var(--gold);
}

.inner-page {
	position: relative;
	z-index: 2;
	padding: 2rem 0 3rem;
	min-height: 60vh;
}

.inner-page .mg-card {
	text-align: left;
}

.page-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	color: var(--gold-light);
	margin-bottom: 1rem;
}

.page-content {
	line-height: 1.7;
}

.page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.news-grid .mg-card,
.event-grid .mg-card {
	height: 100%;
	text-align: left;
}

.news-meta,
.event-meta {
	font-size: 0.85rem;
	color: rgba(250, 246, 238, 0.65);
	margin-bottom: 0.5rem;
}

.site-footer {
	position: relative;
	z-index: 2;
	background: #081812;
	border-top: 3px solid var(--gold);
	color: rgba(250, 246, 238, 0.88);
}

.site-footer__main {
	border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.site-footer__col {
	position: relative;
}

.site-footer__top {
	align-items: flex-start;
}

.site-footer__contacts {
	margin-top: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.site-footer__card {
	background: rgba(15, 61, 46, 0.42);
	border: 1px solid rgba(201, 168, 76, 0.28);
	border-top: 3px solid var(--gold);
	border-radius: 4px;
	padding: 1rem 1.1rem 0.9rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer__card .footer-title {
	margin-bottom: 0.6rem;
}

.site-footer__card .footer-role {
	margin-top: 0.65rem;
	margin-bottom: 0;
	padding-top: 0.6rem;
	border-top: 1px solid rgba(201, 168, 76, 0.18);
}

@media (min-width: 992px) {
	.site-footer__col--menu {
		padding-left: 2rem;
		border-left: 1px solid rgba(201, 168, 76, 0.22);
	}

	.site-footer__links--grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1.5rem;
	}
}

.site-footer__brand {
	display: inline-block;
	margin-bottom: 1rem;
}

.site-footer__logo {
	height: auto;
	max-width: 160px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.site-footer__tagline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: none;
	color: rgba(250, 246, 238, 0.88);
	line-height: 1.35;
	margin-bottom: 1.15rem;
}

.site-footer__tagline-club,
.site-footer__tagline-register {
	display: block;
}

.site-footer__tagline-register {
	color: var(--gold-light);
}

.site-footer__tagline-sep {
	display: none;
}

.site-footer__area-btn {
	display: inline-block;
	margin-top: 1.25rem;
	font-size: 0.78rem;
	padding: 0.7rem 1.35rem;
	text-decoration: none;
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__links li {
	border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.site-footer__links li:last-child {
	border-bottom: none;
}

.site-footer__links a {
	display: block;
	padding: 0.55rem 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(250, 246, 238, 0.85);
	text-decoration: none;
	transition: color 0.2s, padding-left 0.2s;
}

.site-footer__links a:hover {
	color: var(--gold-light);
	padding-left: 0.25rem;
}

.site-footer__bottom {
	background: rgba(4, 14, 10, 0.95);
}

.footer-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.85rem;
}

.footer-text,
.footer-legal {
	font-size: 0.88rem;
	color: rgba(250, 246, 238, 0.82);
	line-height: 1.65;
}

.footer-text a,
.footer-text a:link,
.footer-text a:visited,
.footer-role a,
.footer-role a:link,
.footer-role a:visited {
	color: var(--gold-light) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 168, 76, 0.35);
	transition: color 0.2s, border-color 0.2s;
}

.footer-text a:hover,
.footer-text a:active,
.footer-role a:hover,
.footer-role a:active {
	color: var(--cream) !important;
	border-color: var(--cream);
}

.footer-role {
	font-size: 0.85rem;
	color: rgba(250, 246, 238, 0.72);
	margin: 0.75rem 0 0;
}

.footer-social {
	margin-bottom: 0.25rem;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	margin-right: 0.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--gold-light);
	font-size: 1.15rem;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
	background: var(--gold);
	color: var(--green);
}

.site-footer__credit {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.5;
	color: rgba(250, 246, 238, 0.42);
	letter-spacing: 0.02em;
}

.site-footer__credit-year {
	color: rgba(180, 95, 80, 0.8);
	margin-right: 0.2em;
}

.site-footer__credit-link {
	color: rgba(250, 246, 238, 0.52);
	text-decoration: none;
	border-bottom: none;
	transition: color 0.2s ease;
}

.site-footer__credit-link:hover,
.site-footer__credit-link:focus-visible {
	color: rgba(250, 246, 238, 0.78);
}

.site-footer__credit-heart {
	display: inline-block;
	margin: 0 0.12em 0 0.2em;
	color: #c73e3e;
	cursor: default;
	transform-origin: center;
}

.site-footer__credit-heart:hover {
	animation: mg-heart-pulse 0.85s ease-in-out infinite;
}

@keyframes mg-heart-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.22); }
}

.hero-home {
	text-align: center;
	padding: 3rem 0 2rem;
}

.hero-home h1 em {
	color: var(--gold-light);
	font-style: italic;
}

.section-title {
	font-family: 'Cormorant Garamond', serif;
	color: var(--gold);
	margin: 2rem 0 1rem;
	text-align: center;
}

.contacts-map-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

@media (max-width: 768px) {
	.contacts-map-wrap {
		grid-template-columns: 1fr;
	}
	.mg-nav-cta {
		width: 100%;
		margin-top: 0.5rem;
	}
}

.region-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.region-list li {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid rgba(201, 168, 76, 0.15);
	cursor: pointer;
	border-radius: 4px;
}

.region-list li.active,
.region-list li:hover {
	background: rgba(201, 168, 76, 0.12);
}

.italy-map svg {
	width: 100%;
	max-height: 520px;
}

.italy-map .region-path {
	fill: rgba(26, 92, 69, 0.6);
	stroke: var(--gold);
	stroke-width: 0.5;
	cursor: pointer;
	transition: fill 0.2s;
}

.italy-map .region-path:hover,
.italy-map .region-path.active {
	fill: var(--gold);
}


.form-mg label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 500;
}

.form-mg input,
.form-mg textarea,
.form-mg select {
	width: 100%;
	margin-bottom: 1rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid rgba(201, 168, 76, 0.35);
	border-radius: 4px;
	background: rgba(250, 246, 238, 0.95);
	color: #222;
}

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

.cal-cell {
	min-height: 72px;
	border: 1px solid rgba(201, 168, 76, 0.2);
	padding: 4px;
	font-size: 0.75rem;
}

.cal-cell.empty {
	background: transparent;
	border-color: transparent;
}

.cal-day {
	font-weight: 600;
	color: var(--gold-light);
}

.cal-event {
	display: block;
	margin-top: 2px;
	color: var(--cream);
	text-decoration: none;
	font-size: 0.65rem;
}

.cal-event:hover {
	color: var(--gold);
}

#italy-map .region {
	fill: rgba(26, 92, 69, 0.7);
	stroke: #c9a84c;
	stroke-width: 1;
	cursor: pointer;
}

#italy-map .region:hover,
#italy-map .region.active {
	fill: #c9a84c;
}

.director-row {
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(201, 168, 76, 0.15);
	cursor: pointer;
}

.director-row.active {
	background: rgba(201, 168, 76, 0.12);
	padding-left: 0.5rem;
	border-radius: 4px;
}
