/* ==========================================================================
   ÚROVNE VZDELÁVANIA

   Nadpis a perex na osi, pod nimi tri oblúkové fotky s medzerou 12 px,
   pod každou názov úrovne a popis, úplne dole záverečný odsek vľavo.
   Dizajn je kreslený na 1728 × 1500 px: fotky 501/492/501 px vysoké
   467 px, texty na 1084 a 1162 px.
   ========================================================================== */

.shs-levels {
	padding-block: var(--shs-section-py);
	color: var(--shs-brand);
	background: var(--shs-cream);
}

.shs-levels__head {
	max-width: 740px;
	margin-inline: auto;
	text-align: center;
}

.shs-levels__text {
	max-width: 601px;
	margin-inline: auto;
	margin-top: var(--shs-space-42);
	font-size: var(--shs-fs-lead);
	font-weight: var(--shs-weight-light);
	line-height: var(--shs-lh-airy);
}

/* ---- Fotky -------------------------------------------------------------- */

.shs-levels__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: var(--shs-space-12);
	margin: calc(var(--shs-space-96) + var(--shs-space-16)) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: shs-level;
}

.shs-levels__media {
	margin: 0;
	aspect-ratio: 498 / 467;
	background: var(--shs-mist);
}

.shs-levels__item-title {
	margin-top: var(--shs-space-64);
	font-family: var(--shs-font-display);
	font-size: var(--shs-fs-script);
	font-weight: var(--shs-weight-regular);
	line-height: var(--shs-lh-tight);
	text-transform: uppercase;
}

.shs-levels__item-text {
	max-width: 367px;
	margin-top: var(--shs-space-42);
	font-size: var(--shs-fs-lead);
	font-weight: var(--shs-weight-light);
	line-height: var(--shs-lh-airy);
}

/* ---- Záver -------------------------------------------------------------- */

.shs-levels__outro {
	max-width: 690px;
	margin-top: var(--shs-space-96);
	font-size: var(--shs-fs-lead);
	font-weight: var(--shs-weight-light);
	line-height: var(--shs-lh-airy);
}

/* ---- Mobil -------------------------------------------------------------- */

@media (max-width: 900px) {
	.shs-levels {
		padding-block: var(--shs-section-py-sm);
	}

	.shs-levels__list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--shs-space-48);
		margin-top: var(--shs-space-48);
	}

	.shs-levels__item-title {
		margin-top: var(--shs-space-24);
	}

	.shs-levels__item-text {
		margin-top: var(--shs-space-16);
	}

	.shs-levels__outro {
		margin-top: var(--shs-space-48);
	}
}
