/**
 * News Article Page Styles
 * Стили для страницы конкретной новости
 */

/* Hero Section */
.news-hero {
	min-height: 100vh;
	padding: 0;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.news-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url('../img/full_news.jpg'); background-image: var(--hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}
.news-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(4,4,4,0) 59%, rgba(4,4,4,1) 87%),
	            linear-gradient(0deg, rgba(4,4,4,0) 59%, rgba(4,4,4,1) 100%);
	z-index: 2;
}

.news-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-left: none;
	border-right: none;
	margin-top: 120px;
}

.news-hero__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0.7;
}

.news-hero__breadcrumb {
	color: var(--color-white);
	font-size: 16px;
	font-weight: 400;
}

.news-hero__breadcrumb-separator {
	color: var(--color-white);
	font-size: 16px;
}

.news-hero__title {
	color: var(--color-white);
	font-size: 72px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

/* Article Layout */
.article-layout {
	display: flex;
	gap: 0;
	position: relative;
}

/* Убираем левую границу контейнера для страницы новости */
.section--article .container {
	border-left: none;
}

/* Left Sidebar */
.article-sidebar {
	flex: 0 0 272px;
	position: relative;
}

.article-sidebar::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: var(--color-border);
}

.article-date {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: sticky;
    padding-top: 60px;
	top: 100px;
}

.article-date__day {
	font-size: 120px;
	font-weight: 900;
	color: var(--color-red);
	line-height: 1;
}

.article-date__secondary {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.article-date__month,
.article-date__year {
	font-size: 24px;
	font-weight: 400;
	color: var(--color-muted);
	line-height: 1;
}

/* Main Content */
.article-content {
	flex: 1;
    padding-block: 60px;
	padding-inline: 40px;
}

.article-text {
	margin-bottom: 40px;
}

.article-text p {
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-muted);
	margin: 0 0 20px 0;
}

.article-text p:last-child {
	margin-bottom: 0;
}

.article-image {
	margin: 40px 0;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.article-image__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.article-layout {
		flex-direction: column;
		gap: 40px;
	}
	
	.article-sidebar {
		flex: none;
		width: 100%;
	}
	
	.article-sidebar::after {
		display: none;
	}
	
	.article-content {
		padding-left: 0;
	}
	
	.article-date {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}
	
	.article-date__day {
		font-size: 80px;
	}
	
	.article-date__month,
	.article-date__year {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.news-hero {
		min-height: 100vh;
		padding: 0;
	}

	.news-hero__title {
		font-size: 48px;
	}

	.article-date__day {
		font-size: 60px;
	}
	
	.article-date__month,
	.article-date__year {
		font-size: 18px;
	}

	.article-text p {
		font-size: 18px;
	}

	.article-image {
		height: 300px;
	}
}

@media (max-width: 480px) {
	.news-hero {
		min-height: 100vh;
		padding: 0;
	}

	.news-hero__title {
		font-size: 36px;
	}

	.news-hero__breadcrumb,
	.news-hero__breadcrumb-separator {
		font-size: 14px;
	}

	.article-date__day {
		font-size: 48px;
	}
	
	.article-date__month,
	.article-date__year {
		font-size: 16px;
	}

	.article-text p {
		font-size: 16px;
	}

	.article-image {
		height: 200px;
	}
}





