/* ==========================================================================
   Staff Grid Component 
   ========================================================================== */

.teams-section {
	background-color: var(--color-white);
	padding: 0 0 1.5rem 0;
}

.container {
	padding: var(--container-padding-y) var(--container-padding-x);
	max-width: var(--container-max-width);
	margin: 0 auto;
}

/* Основной стиль h1 */
h1 {
	font-size: 2rem;
}

/* Header */
.teams-header {
	margin-bottom: 3rem;
}

.teams-title {
	font-family: 'Inter', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gray-900);
	margin: 0;
	padding: 0;
}

/* Content Wrapper */
.teams-content {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

/* Position Group */
.position-group {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.position-heading {
	font-family: 'Inter', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--red-900);
	margin: 0;
	padding: 0;
}

/* Grid Layouts */
.staff-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}
/* ============================================
   Staff Card (без номера и статистики)
   ============================================ */

.staff-card {
	background-color: white;
	border: 1px solid var(--gray-200);
	border-radius: 0.625rem;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1fr;	
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.staff-card:hover {
	box-shadow: 0 0.5rem 0.75rem var(--shadow-hover);
}

.staff-card__photo {
	position: relative;
	background: linear-gradient(180deg, var(--red-500) 0%, var(--red-100) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	grid-row: 1 / 2;
	grid-column: 1 / 2;
	min-height: 358px;
}

.staff-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.staff-card__info {
	display: flex;
	flex-direction: column;
	padding: 0.75rem;
	grid-row: 1 / 2;
	grid-column: 2 / 3;
	justify-content: space-evenly;
}

.staff-card__name {
	font-family: 'Inter', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--gray-900);
	margin: 0;
	padding: 0;
}

.staff-card__position {
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3;
	color: var(--gray-600);
	margin: 0;
	padding: 0;
}

/* ============================================
   Empty State
   ============================================ */

.no-players-message {
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	color: var(--gray-500);
	text-align: center;
	padding: 2.5rem;
	margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet Large (1024px) */
@media (max-width: 1024px) {
	h1, h2, h3, h4, h5, h6 {
		text-align: left;
	}

	.teams-section {
		padding: 0 0 1.5rem 0;
	}
	
	.container {
		padding: 1.5rem 0 0 0;
	}
	
	.teams-header {
		margin-bottom: 2.5rem;
		padding: 0 1.5rem;
	}
	
	.teams-title {
		font-size: 1.75rem;
	}
	
	.position-heading {
		font-size: 1.375rem;
		margin-bottom: 1.25rem;
	}
	
	.teams-content {
		gap: 2.5rem;
	}		
	
	.position-group {
		padding-left: 1.5rem;
		gap: 1.25rem;
	}
	
	.staff-grid,
	.staff-grid--multi,
	.staff-grid--single {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.875rem;
	}
	
	.staff-card {
		grid-template-rows: auto;
	}
	
	.staff-card__photo {
		min-height: 140px;
	}
	
	.staff-card__info {
		padding: 0.625rem;
	}
	
	.staff-card__name {
		font-size: 1.25rem;
	}
	
	.staff-card__position {
		font-size: 0.95rem;
	}
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
	h1, h2, h3, h4, h5, h6 {
		text-align: left;
	}

	.teams-section {
		padding: 0 0 1.5rem 0;
	}	
		
	.teams-header {
		margin-bottom: 2rem;		
	}
	
	.teams-title {
		font-size: 1.75rem;
		line-height: 1.25;
	}
	
	.position-heading {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}
	
	.teams-content {
		gap: 2rem;
	}
	
	.position-group {
		gap: 1rem;
	}
	
	.staff-grid,
	.staff-grid--multi,
	.staff-grid--single {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
	
	.staff-card {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		border-radius: 0.5rem;
	}
	
	.staff-card:hover {
		transform: translateY(-1px);
	}
	
	.staff-card__photo {
		min-height: 130px;
	}
	
	.staff-card__info {
		padding: 0.5rem;
	}
	
	.staff-card__name {
		font-size: 1.1rem;
	}
	
	.staff-card__position {
		font-size: 0.9rem;
	}
	
	.no-players-message {
		font-size: 0.875rem;
		padding: 1.875rem;
	}
}

/* Mobile (480px) */
@media (max-width: 30rem) {
	h1, h2, h3, h4, h5, h6 {
		text-align: left;
	}

	.teams-section {
		padding: 1.5rem 0;
	}
	
	.container {
		padding: 0 1rem;
	}
	
	.teams-header {
		margin-bottom: 1.5rem;
	}
	
	.teams-title {
		font-size: 1.5rem;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
	}
	
	.position-heading {
		font-size: 1.125rem;
		font-weight: 600;
		margin-bottom: 0.75rem;
		text-align: left;
	}
	
	.teams-content {
		gap: 1.5rem;
	}
	
	.position-group {
		gap: 0.75rem;
		padding: 0 0 0 0;
	}
	
	.staff-grid,
	.staff-grid--multi,
	.staff-grid--single {
		grid-template-columns: 1fr;
		gap: 0.625rem;
	}
	
	.staff-card {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		border-radius: 0.375rem;
	}

	.staff-card:hover {
		transform: none;
		box-shadow: 0 1px 0.1875rem 0 var(--color-dark-gray)1a, 0 1px 0.125rem -1px var(--color-dark-gray)1a;
	}

	.staff-card__photo {
		max-height: 5.625rem;
		grid-row: 1 / 2;
		grid-column: 1 / 2;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	.staff-card__image {
		width: 100%;
		height: 100%;
		object-fit: contain;
		display: block;
		max-width: 100%;
		max-height: 100%;
	}

	.staff-card__info {
		padding: 0.375rem;
		grid-row: 1 / 2;
		grid-column: 2 / 3;
		justify-content: center;
	}

	.staff-card__name {
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.15;
		margin-bottom: 0.125rem;
	}

	.staff-card__position {
		font-size: 0.8rem;
		font-weight: 400;
		line-height: 1.2;
		margin-bottom: 0.125rem;
	}
	
	.no-players-message {
		font-size: 0.8125rem;
		padding: 1.25rem;
		line-height: 1.5;
	}
}


