/*
 * SmartEdu Hry — štýly hry typu dvojice. Načítavajú sa len spolu s touto hrou.
 * Spoločné premenné a triedy (.se-hra, .je-spravna, .je-nespravna) sú v prehravac.css.
 */

.se-dvojice {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.4fr );
	gap: 1rem 2rem;
}

.se-dvojice-nadpis {
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.se-dvojice-zoznam {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.se-dvojice-polozka {
	display: flex;
	gap: 0.625rem;
	align-items: center;
	width: 100%;
	min-height: 3.5rem;
	padding: 0.5rem 0.75rem;
	border: 3px solid var( --se-okraj );
	border-radius: 12px;
	background: var( --wp--preset--color--podklad, #fff );
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.se-dvojice-polozka[aria-pressed="true"] {
	border-color: var( --wp--preset--color--primarna, #1d4ed8 );
	box-shadow: inset 0 0 0 3px var( --wp--preset--color--primarna, #1d4ed8 );
}

.se-dvojice-cislo {
	display: inline-grid;
	flex: none;
	place-items: center;
	min-width: 2em;
	height: 2em;
	border-radius: 50%;
	font-weight: 800;
}

.se-dvojice-cislo:empty {
	border: 2px dashed var( --se-okraj );
}

.se-dvojice-polozka:not( [data-cislo=""] ) .se-dvojice-cislo {
	background: var( --wp--preset--color--text, #0f172a );
	color: var( --wp--preset--color--podklad, #fff );
}

.se-dvojice-text {
	flex: 1;
}

.se-dvojice-znak {
	font-size: 1.4em;
	font-weight: 800;
}

.se-dvojice-akcie {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.se-dvojice-prehlad {
	max-width: 48rem;
	margin: 1.5rem auto 0;
	text-align: left;
}

.se-dvojice-prehlad dt {
	margin-top: 0.75rem;
	font-weight: 700;
}

.se-dvojice-prehlad dd {
	margin: 0;
}

@media ( max-width: 40rem ) {
	.se-dvojice {
		grid-template-columns: 1fr;
	}
}

