/* =========================================================================
   CLST Landing — pagine "Per le aziende" e "Per chi cerca lavoro"
   Stessi token della home. Sul cyan va sempre testo navy, mai bianco.
   ====================================================================== */

.clst-land {
	--clst-navy:      #1A365D;
	--clst-navy-deep: #0F2038;
	--clst-ink:       #0B2239;
	--clst-green:     #2D7D46;
	--clst-cyan:      #00CFEF;
	--clst-on-cyan:   #0B2239;
	--clst-bg:        #F5F8FA;
	--clst-line:      #D6E0E8;
	--clst-muted:     #55606B;

	color: var(--clst-ink);
}

.clst-land__wrap {
	max-width: 900px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.clst-land h1,
.clst-land h2,
.clst-land h3 {
	color: var(--clst-navy);
	line-height: 1.2;
	text-wrap: balance;
	margin: 0;
}

.clst-land p { line-height: 1.65; max-width: 62ch; }

/* --- Hero --------------------------------------------------------------- */

.clst-land__hero {
	background: linear-gradient(160deg, var(--clst-navy) 0%, var(--clst-navy-deep) 100%);
	color: #fff;
	padding-block: clamp(3rem, 8vw, 5rem);
}

.clst-land--lavoratori .clst-land__hero {
	background: linear-gradient(160deg, var(--clst-navy) 0%, #143A2A 100%);
}

.clst-land__hero h1 {
	color: #fff;
	font-size: clamp(1.8rem, 1.2rem + 2.8vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.015em;
}

.clst-land__lead {
	color: #DCE5EF;
	font-size: 1.1rem;
	margin: 1rem 0 1.8rem;
}

/* --- Blocchi ------------------------------------------------------------ */

.clst-land__block { padding-block: clamp(2.5rem, 6vw, 4rem); }
.clst-land__block--alt { background: var(--clst-bg); }

.clst-land__block h2 {
	font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem);
	margin-bottom: 1.5rem;
}

.clst-land__prose { color: var(--clst-muted); }
.clst-land__prose + .clst-land__prose { margin-top: 1rem; }
.clst-land__prose a { color: var(--clst-navy); font-weight: 600; }

/* --- Griglia motivi ----------------------------------------------------- */

.clst-land__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.clst-land__item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.clst-land__item p { color: var(--clst-muted); font-size: 0.97rem; }

/* --- Passaggi numerati (qui la sequenza è reale) ------------------------ */

.clst-land__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: clst;
	display: grid;
	gap: 1.6rem;
}

.clst-land__steps li {
	counter-increment: clst;
	padding-left: 3.2rem;
	position: relative;
}

.clst-land__steps li::before {
	content: counter(clst);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.2rem;
	height: 2.2rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--clst-navy);
	color: #fff;
	font-weight: 700;
}

.clst-land__steps h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.clst-land__steps p { color: var(--clst-muted); font-size: 0.97rem; }

/* --- Elenco ------------------------------------------------------------- */

.clst-land__list {
	margin: 0 0 1.5rem;
	padding-left: 1.2rem;
	max-width: 62ch;
	color: var(--clst-muted);
	line-height: 1.7;
}

.clst-land__list li { margin-bottom: 0.5rem; }

/* --- CTA ---------------------------------------------------------------- */

.clst-land__cta {
	padding-block: clamp(2.5rem, 6vw, 4rem);
	border-top: 1px solid var(--clst-line);
}

.clst-land__cta p { color: var(--clst-muted); margin-bottom: 1.5rem; }

.clst-land__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem;
	max-width: none;
}

.clst-land__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.75rem 1.8rem;
	border: 2px solid transparent;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

.clst-land__btn--light {
	background: var(--clst-cyan);
	color: var(--clst-on-cyan);
}
.clst-land__btn--light:hover { background: #00B4D0; color: var(--clst-on-cyan); }

.clst-land__btn--primary {
	background: var(--clst-navy);
	color: #fff;
}
.clst-land__btn--primary:hover { background: var(--clst-navy-deep); color: #fff; }

.clst-land__link {
	color: var(--clst-navy);
	font-weight: 600;
	text-decoration: underline;
}

.clst-land a:focus-visible,
.clst-land button:focus-visible {
	outline: 3px solid var(--clst-navy);
	outline-offset: 2px;
}

/* --- Astra: via il titolo automatico della pagina ----------------------- */

.clst-land ~ .entry-header,
body:has(.clst-land) .entry-header,
body:has(.clst-land) .ast-single-entry-banner { display: none; }

@media (prefers-reduced-motion: reduce) {
	.clst-land * { transition: none !important; animation: none !important; }
}
