:root {
	--site-black: #111111;
	--site-white: #ffffff;
	--site-gray: #727272;
	--site-accent: #e51b43;

	--font-heading: "Barlow Condensed", sans-serif;
	--font-body: "Inter", sans-serif;
}

/* Reset essenziale */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	font-family: var(--font-body);
	background-color: var(--site-white);
	color: var(--site-black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	font-family: var(--font-heading);
	text-transform: uppercase;
}

a {
	color: inherit;
	text-decoration: none;
}

/* Titoli in stile sportivo */

.sport-title {
	font-family: var(--font-heading);
	font-size: clamp(3rem, 9vw, 10rem);
	font-weight: 700;
	line-height: 0.85;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

/* Voci del menu laterale */

.sport-menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 2.5vw, 2.6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.sport-menu-link:hover {
	transform: translateX(8px);
}

/* Sezioni a schermo intero */

.fullscreen-section {
	min-height: 100svh;
}

/* Immagini con effetto leggermente scuro */

.image-overlay {
	position: relative;
	overflow: hidden;
}

.image-overlay::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(0, 0, 0, 0.25) 55%,
		rgba(0, 0, 0, 0.55) 100%
	);
	pointer-events: none;
}

.image-overlay > * {
	position: relative;
	z-index: 2;
}


/* HERO CHE RESTA SOTTO DURANTE LO SCROLL */
.hero-home {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1;
    min-height: 100vh;
}

/* BLOCCO NEWS CHE SCORRE SOPRA LA HERO */
.news-home {
    position: relative;
    z-index: 5;
    background-color: #12335f;
    box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.28);
}

/* Disattivazione su tablet e mobile */
@media (max-width: 1024px) {
    .hero-home {
        position: relative;
        top: auto;
        min-height: auto;
    }

    .news-home {
        box-shadow: none;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 767px) {

    .hero-home {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

}

/* ==========================================
   CARD ALTRE NEWS - ARTICOLO
========================================== */

.vm-related-card {
    border: 1px solid rgba(8, 31, 63, .25);
    border-radius: 12px;
    overflow: hidden;

    transition:
        border-color .3s ease,
        transform .3s ease;
}

.vm-related-card:hover {
    border-color: #ffd100;
    transform: translateY(-4px);
}

/* Tuttocampo: marcatori completi e contenitori compatti solo su mobile. */
@media (max-width: 767px) {
  .elementor-element-7358f78.tuttocampo-widget iframe {
    height: 260px !important;
  }
  .elementor-element-fce5aaa {
    min-height: 0 !important;
    height: auto !important;
  }
}
