/* Grid: vždy 3 na řádek */
.tym-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

@media (max-width: 1024px){
	.tym-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
	.tym-grid{ grid-template-columns: 1fr; }
}

/* Karta */
.tym-card{
	border: 1px solid rgba(15,23,42,.08);
	border-radius: 16px;
	padding: 32px 18px 30px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(15,23,42,.06);
	text-align: center;
}

/* Foto nahoře – vždy kruh */
.tym-photo-wrap{
	display:flex;
	justify-content:center;
	margin-top: 4px;
	margin-bottom: 18px;
}

.tym-photo{
	width: 120px;
	height: 120px;
	border-radius: 9999px;
	object-fit: cover;
	display:block;
	background: #f1f5f9;
	box-shadow: 0 10px 30px rgba(15,23,42,.10);
	border: 6px solid rgba(255,255,255,.85);
}

.tym-photo--placeholder{
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* Texty */
.tym-name{
	font-weight: 800;
	font-size: 20px;
	line-height: 1.15;
	color: #0f172a;
}

.tym-position{
	margin-top: 6px;
	font-size: 14px;
	color: rgba(15,23,42,.65);
}

/* Ikony */
.tym-icons{
	margin-top: 18px;
	display:flex;
	justify-content:center;
	gap: 14px;
	flex-wrap: wrap;
}

.tym-ico{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	line-height: 1;
	color: #000;
	transition: opacity .12s ease, transform .12s ease;
}

.tym-ico:hover{
	opacity: .6;
	transform: translateY(-1px);
}

/* 🔽 finální velikost ikon */
.tym-ico i{
	font-size: 18px;
}