/* Стили только для страницы История */


/* Блок 1: Белый фон и текст в 3 абзаца */
.history-block-1 {
	background: #ffffff;
	padding: 60px 0;
}

.history-block-1-inner {
	max-width: var(--container-width1);
	margin: 0 auto;
	padding: 0 16px;
}

.history-block-1-content {
	max-width: 1000px;
	margin: 0 auto;
}

.history-block-1-text {
	font-size: 22px;
	line-height: 1.8;
	color: #333333;
	margin-bottom: 30px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	text-align: justify;
	text-indent: 30px;
}

.history-block-1-text:last-child {
	margin-bottom: 0;
}


/* Блок 2: Временная линия с датами */
.history-timeline {
	background: #d9d9d9;
	padding: 20px 0;
}

.history-timeline-inner {
	max-width: var(--container-width1);
	margin: 0 auto;
	padding: 0 16px;
}

.timeline-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	position: relative;
}

.timeline-item {
	display: flex;
	align-items: center;
	flex: 1;
	position: relative;
}

.timeline-item:last-child {
	flex: 0;
}

.timeline-date {
	font-size: 22px;
	font-weight: 300;
	color: #2c3e50;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	background: transparent;
	padding: 10px 15px;
	position: relative;
	z-index: 2;
}

.timeline-line {
	height: 1px;
	background: #3b3b3b;
	flex: 1;
	position: relative;
}

/* Скрываем временную линию на мобильных устройствах */
@media (max-width: 768px) {
	.history-timeline {
		display: none;
	}
}

/* Блок 3: 2 столбца фото слева, 14 строк текста справа */
.history-block-3 {
	background: var(--theme-color);
	padding: 80px 0;
}

/* Блок 3: Текст с двумя столбцами */
.history-block-3-text {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 5px;
	padding-left: 20px;
}

.history-block-3-line {
	display: contents;
}

.history-block-3-line::before {
	content: "•";
	font-size: 96px;
	line-height: 1;
	color: #ffffff;
	display: flex;
	align-items: flex-start;
	justify-content: end;
	margin-top: 8px;
}

.history-block-3-line strong {
	font-size: 32px;
	font-weight: 400;
	color: #ffffff;
	display: block;
	margin: 0 0 -4px 0;
	align-content: center;
}

.history-block-3-description {
	font-size: 24px;
	line-height: 1.6;
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	text-align: justify;
	display: block;
	margin-top: -20px;
	grid-column: 2;
	text-indent: 20px;
}

.history-block-3-inner {
	max-width: var(--container-width1);
	margin: 0 auto;
	padding: 0 16px;
}

.history-block-3-title {
	font-size: 42px;
	font-weight: 600;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 40px 0;
	font-family: 'Roboto', sans-serif;
}

.history-block-3-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
}

.history-block-3-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.history-block-3-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.history-block-3-image {
	position: relative;
}

.history-block-3-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}









/* Мобильная карусель изображений */
.history-block-3-mobile-carousel {
	display: none;
}

.mobile-carousel-main {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 20px;
}

.mobile-carousel-main-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-carousel-main-image.active {
	opacity: 1;
}

.mobile-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.mobile-carousel-prev,
.mobile-carousel-next {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #ffffff;
	font-size: 24px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s ease;
}

.mobile-carousel-prev:hover,
.mobile-carousel-next:hover {
	background: rgba(255, 255, 255, 0.3);
}

.mobile-carousel-thumbnails {
	display: flex;
	gap: 10px;
}

.mobile-carousel-thumbnail {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s ease;
}

.mobile-carousel-thumbnail.active {
	opacity: 1;
	border: 2px solid #ffffff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.history-block-1 {
		padding: 60px 0;
	}
	
	.history-block-1-text {
		font-size: 16px;
		margin-bottom: 25px;
		text-indent: 20px;
	}
	
	.history-block-2 {
		padding: 40px 0;
	}
	
	.history-block-2-title {
		font-size: 36px;
	}
	
	.history-block-3 {
		padding: 60px 0;
	}
	
	.history-block-3-title {
		font-size: 28px;
		margin-bottom: 30px;
	}
	
	.history-block-3-text {
		display: block;
		padding-left: 0;
	}
	
	.history-block-3-line {
		display: block;
		text-align: center;
		margin-bottom: 20px;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	}
	
	.history-block-3-line:last-child {
		border-bottom: none;
		margin-bottom: 0;
	}
	
	.history-block-3-line strong {
		font-size: 42px;
		margin-bottom: 8px;
		display: block;
		text-align: center;
	}
	
	.history-block-3-line::before {
		display: none;
	}
	
	.history-block-3-description {
		font-size: 18px;
		text-indent: 0;
		text-align: justify;
		margin-top: 10px;
	}
	
	.history-block-3-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.history-block-3-images {
		display: none;
	}
	
	.history-block-3-mobile-carousel {
		display: block;
	}
	
	.history-block-3-images {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.history-block-3-column {
		gap: 8px;
	}
	
}

@media (max-width: 480px) {
	.history-block-1 {
		padding: 40px 0;
	}
	
	.history-block-1-text {
		font-size: 15px;
		margin-bottom: 20px;
		text-indent: 15px;
	}
	
	.history-block-2 {
		padding: 30px 0;
	}
	
	.history-block-2-title {
		font-size: 28px;
	}
	
	.history-block-3 {
		padding: 40px 0;
	}
	
	.history-block-3-title {
		font-size: 24px;
		margin-bottom: 25px;
	}
	
	.history-block-3-text {
		display: block;
	}
	
	.history-block-3-line {
		display: block;
		text-align: center;
		margin-bottom: 15px;
		padding-bottom: 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	}
	
	.history-block-3-line:last-child {
		border-bottom: none;
		margin-bottom: 0;
	}
	
	.history-block-3-line strong {
		font-size: 22px;
		margin-bottom: 6px;
		display: block;
		text-align: center;
	}
	
	.history-block-3-line::before {
		display: none;
	}
	
	.history-block-3-description {
		font-size: 16px;
		text-indent: 0;
		text-align: justify;
	}
	
	.history-block-3-content {
		gap: 30px;
	}
	
	.history-block-3-images {
		gap: 10px;
	}
	
	.history-block-3-column {
		gap: 6px;
	}
	

	
}

