/**
 * Stadium Page Styles
 * Стиль для страницы стадиона 
 */

/* Переопределение красных SVG иконок из спрайта - только для элементов <use> */
svg use {
	color: inherit;
	stroke: currentColor !important;
	fill: currentColor !important;
}

/* Секция-герой */
.stadium-hero {
	position: relative;
	height: 566px;
	overflow: hidden;
	margin-bottom: 3rem;
}

.stadium-hero__image-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.stadium-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.stadium-hero__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 100%);
}

.stadium-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.3) 0%,
		rgba(0, 0, 0, 0.5) 50%,
		rgba(0, 0, 0, 0.8) 100%
	);
	z-index: 1;
}

.stadium-hero__content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	padding-bottom: 3rem;
	padding-top: 4rem;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.stadium-hero__title {
	font-size: 3.75rem;
	font-weight: 700;
	color: white;
	margin: 0 0 1rem 0;
	line-height: 1.2;
	text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
}

.stadium-hero__meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.stadium-hero__meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
}

.stadium-hero__meta-icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	color: inherit;
	vertical-align: -0.125em;
}

.stadium-hero__meta-icon svg {
	width: 100%;
	height: 100%;
	color: inherit;
	stroke: inherit;
}

.stadium-hero__meta-icon path,
.stadium-hero__meta-icon line,
.stadium-hero__meta-icon polygon {
	stroke: inherit !important;
	color: inherit !important;
}

.stadium-hero__meta-icon use {
	color: inherit;
	stroke: inherit;
}

/* Основной макет сетки */
.stadium-grid {
	display: grid;
	grid-template-columns: 1fr 30rem;
	gap: 2rem;
	margin-bottom: 3rem;
}

.stadium-main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.stadium-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Карточки статистики */
.stadium-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.stat-card {
	background: var(--color-white);
	padding: 1.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -2px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.stat-card__icon {
	width: 3rem;
	height: 3rem;
	background: var(--red-700);
	border-radius: 0.625rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	flex-shrink: 0;
}

.stat-card__icon svg {
	width: 50%;
	height: 50%;
}

.stat-card__number {
	font-size: 1.875rem;
	font-weight: 600;
	color: var(--gray-800);
	line-height: 1.2;
}

.stat-card__label {
	font-size: 0.875rem;
	color: var(--gray-600);
	line-height: 1.4;
}

/* Оформление секции */
.stadium-section {
	background: var(--color-white);
	padding: 1.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -2px rgba(0, 0, 0, 0.1);
}

.stadium-section h2,
.stadium-section h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--gray-800);
	margin: 0 0 1rem 0;
}

.stadium-section__heading-with-icon {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--gray-800);
	margin: 0 0 1rem 0;
}

.stadium-section__icon {
	width: 1.625rem;
	height: 1.625rem;
	flex-shrink: 0; 
	color: var(--red-700);
}

/* Текстовое содержимое */
.stadium-text {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.stadium-text p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gray-700);
	margin: 0;
}

/* Сетка характеристик */
.stadium-specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.spec-item {
	background: var(--gray-50);
	padding: 1rem;
	border-radius: 0.625rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.spec-item__label {
	font-size: 0.875rem;
	color: var(--gray-600);
	line-height: 1.4;
}

.spec-item__value {
	font-size: 1rem;
	color: var(--gray-800);
	font-weight: 500;
	line-height: 1.5;
}

/* Секторы стадиона */
.stadium-sectors {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sector-item {
	background: var(--gray-50);
	padding: 1rem;
	border-radius: 0.625rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sector-item__info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.sector-item__name {
	font-size: 1rem;
	font-weight: 500;
	color: var(--gray-800);
	line-height: 1.5;
}

.sector-item__type {
	font-size: 0.875rem;
	color: var(--gray-600);
	line-height: 1.4;
}

.sector-item__count {
	font-size: 1rem;
	font-weight: 600;
	color: var(--red-700);
	white-space: nowrap;
}

/* Временная шкала */
.stadium-timeline {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.timeline-item {
	display: flex;
	gap: 1.5rem;
	position: relative;
}

.timeline-item::after {
	content: '';
	position: absolute;
	left: 2rem;
	top: 4rem;
	width: 0.125rem;
	height: calc(100% + 1.5rem);
	background: var(--gray-200);
}

.timeline-item--last::after {
	display: none;
}

.timeline-item__icon {
	width: 3rem;
	height: 3rem;
	background: var(--red-700);
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -2px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1;
}

.timeline-item__icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.timeline-item__content {
	flex: 1;
	padding-top: 0.25rem;
}

.timeline-item__year {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--red-700);
	margin-bottom: 0.25rem;
}

.timeline-item__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-800);
	margin-bottom: 0.5rem;
}

.timeline-item__text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gray-700);
	margin: 0;
}

/* Карточки направлений */
.stadium-directions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.direction-card {
	background: var(--gray-50);
	padding: 1.5rem;
	border-radius: 0.625rem;
}

.direction-card__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.direction-card__icon {
	width: 3rem;
	height: 3rem;
	background: var(--red-700);
	border-radius: 0.625rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	flex-shrink: 0;
}

.direction-card__icon svg {
	width: 50%;
	height: 50%;
}

.direction-card__header h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-800);
	margin: 0;
}

.direction-card__info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.direction-card__item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.direction-card__label {
	font-size: 0.875rem;
	color: var(--gray-500);
	line-height: 1.4;
}

.direction-card__value {
	font-size: 0.875rem;
	color: var(--gray-700);
	line-height: 1.4;
}

.direction-card__highlight {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--red-700);
}

.direction-card__highlight-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* Компонент карточки */
.stadium-card {
	background: var(--color-white);
	padding: 1.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -2px rgba(0, 0, 0, 0.1);
}

.stadium-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-800);
	margin: 0 0 1rem 0;
}

.stadium-card__title-with-icon {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: white;
	margin: 0 0 1rem 0;
}

.stadium-card__title-icon {
	width: 1.375rem;
	height: 1.375rem;
	flex-shrink: 0;
}

.stadium-card__content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.stadium-card__button {
	background: var(--red-700);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 0.625rem;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: background 0.2s ease;
	margin-top: 0.5rem;
}

.stadium-card__button:hover {
	background: var(--red-900);
}

.stadium-card__button-icon {
	width: 1.125rem;
	height: 1.125rem;
}

/* Элементы контактов */
.contact-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.contact-item__icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	color: currentColor;
	vertical-align: -0.125em;
	margin-top: 0.25rem;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
}

.contact-item__icon svg {
	width: 100%;
	height: 100%;
	color: currentColor;
}

.contact-item__icon path {
	fill: none;
	stroke: currentColor !important;
}

.contact-item__icon use {
	color: currentColor !important;
	stroke: currentColor !important;
}

.contact-item__text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--gray-700);
}

/* Элементы инфраструктуры */
.infrastructure-item {
	background: var(--gray-50);
	padding: 0.75rem;
	border-radius: 0.625rem;
	display: flex;
	gap: 0.75rem;
}

.infrastructure-item__icon {
	width: 4em;
	height: 4em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: currentColor;
	vertical-align: -0.125em;
}

.infrastructure-item__icon svg {
	width: 50%;
	height: 50%;
	color: currentColor;
}

.infrastructure-item__text {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 0.25rem;
	flex: 1;
}

.infrastructure-item__name {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--gray-800);
	line-height: 1.4;
}

.infrastructure-item__desc {
	font-size: 0.75rem;
	color: var(--gray-600);
	line-height: 1.3;
}

/* Карточка дня матча */
.stadium-card--match-day {
	background: linear-gradient(135deg, var(--red-900) 0%, var(--red-700) 100%);
	color: white;
}

.stadium-card--match-day h3 {
	color: white;
}

.stadium-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.stadium-card__list li {
	font-size: 0.875rem;
	line-height: 1.5;
	color: white;
	padding-left: 1rem;
	position: relative;
}

.stadium-card__list li::before {
	content: '•';
	position: absolute;
	left: 0;
	width: 0.5rem;
	line-height: 1.25;
	font-size: 1rem;
}

/* Адаптивный дизайн */
	/* Точка разлома 1024px - Планшет */
@media (max-width: 1200px) {
	.stadium-stats {
		grid-template-columns: repeat(4, 1fr);
		gap: 1rem;
	}

	.stat-card {
		padding: 1.25rem;
	}

	.stat-card__number {
		font-size: 1.75rem;
	}

	.stadium-hero__title {
		font-size: 3rem;
	}

	.stadium-grid {
		grid-template-columns: 1fr 25rem;
		gap: 1.5rem;
	}
}

@media (max-width: 1024px) {
	.stadium-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.stat-card {
		padding: 1rem;
	}

	.stat-card__number {
		font-size: 1.5rem;
	}

	.stadium-hero__title {
		font-size: 2.25rem;
	}

	.stadium-grid {
		grid-template-columns: 1fr;
	}

	.stadium-sidebar {
		order: 3;
	}

	.stadium-directions {
		grid-template-columns: 1fr;
	}

	.stadium-section h2,
	.stadium-section h3 {
		font-size: 1.25rem;
	}

	.stadium-hero {
		height: 25rem;
		margin-bottom: 2rem;
	}
}

	/* Точка разлома 768px - Мобильный ландшафт */
@media (max-width: 768px) {
	.stadium-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.stat-card {
		padding: 0.75rem;
	}

	.stat-card__icon {
		width: 2.5rem;
		height: 2.5rem;
	}

	.stat-card__number {
		font-size: 1.25rem;
	}

	.stat-card__label {
		font-size: 0.75rem;
	}

	.stadium-hero__title {
		font-size: 1.75rem;
	}

	.stadium-hero__meta {
		gap: 1rem;
		font-size: 0.875rem;
	}

	.stadium-section,
	.stadium-card {
		padding: 1rem;
		border-radius: 0.75rem;
	}

	.stadium-section h2,
	.stadium-section h3 {
		font-size: 1.125rem;
		margin-bottom: 0.75rem;
	}

	.stadium-text p {
		font-size: 0.9375rem;
		line-height: 1.5;
	}

	.stadium-specs {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.spec-item {
		padding: 0.75rem;
	}

	.timeline-item::after {
		left: 1.5rem;
		top: 3.5rem;
	}

	.stadium-hero {
		height: 18.75rem;
		margin-bottom: 1.5rem;
	}

	.stadium-main,
	.stadium-sidebar {
		gap: 1rem;
	}
}

	/* Точка разлома 30rem - Мобильный */
@media (max-width: 30rem) {
	:root {
		font-size: 0.875rem;
	}

	.container {
		padding: 0 1rem;
	}

	.stadium-stats {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.stat-card {
		padding: 0.75rem;
	}

	.stat-card__number {
		font-size: 1.125rem;
	}

	.stat-card__label {
		font-size: 0.7rem;
	}

	.stadium-hero__title {
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.stadium-hero__meta {
		flex-direction: column;
		gap: 0.5rem;
		font-size: 0.75rem;
	}

	.stadium-section,
	.stadium-card {
		padding: 0.75rem;
		border-radius: 0.5rem;
	}

	.stadium-section h2,
	.stadium-section h3 {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	.stadium-text p {
		font-size: 0.875rem;
		line-height: 1.4;
	}

	.direction-card {
		padding: 1rem;
	}

	.direction-card__header {
		margin-bottom: 0.75rem;
	}

	.timeline-item__dot {
		width: 2.5rem;
		height: 2.5rem;
	}

	.timeline-item__dot::before {
		width: 1rem;
		height: 1rem;
	}

	.stadium-timeline {
		gap: 1rem;
	}

	.timeline-item {
		gap: 1rem;
	}

	.timeline-item::after {
		left: 1.25rem;
		top: 3rem;
	}

	.timeline-item__year {
		font-size: 1.125rem;
	}

	.timeline-item__title {
		font-size: 1rem;
		margin-bottom: 0.25rem;
	}

	.stadium-hero {
		height: 15.625rem;
		margin-bottom: 1rem;
	}

	.stadium-card__button {
		font-size: 0.875rem;
		padding: 0.5rem 1rem;
	}

	.contact-item {
		gap: 0.5rem;
	}

	.infrastructure-item {
		padding: 0.5rem;
		gap: 0.5rem;
	}

	.infrastructure-item__icon {
		width: 2rem;
		height: 2rem;
	}

	.infrastructure-item__icon svg {
		width: 1rem;
		height: 1rem;
	}

	.infrastructure-item__name {
		font-size: 0.75rem;
	}

	.infrastructure-item__desc {
		font-size: 0.6875rem;
	}
}


