.home-feature-stack {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	width: 100%;
}

.home-carousel {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 3;
	min-height: 360px;
	max-height: 440px;
	padding: 14px;
	border: 1px solid #4f4235;
	background:
		linear-gradient(90deg, rgba(120, 91, 54, 0.3), transparent 18%, transparent 82%, rgba(120, 91, 54, 0.3)),
		linear-gradient(180deg, #211c18, #090909);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.52),
		inset 0 0 0 2px rgba(0, 0, 0, 0.7),
		inset 0 0 30px rgba(196, 126, 68, 0.08);
	overflow: visible;
}

.home-carousel::before,
.home-carousel::after {
	content: "";
	position: absolute;
	z-index: 3;
	left: 4%;
	right: 4%;
	height: 5px;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, #72583b 18%, #2b2118 50%, #72583b 82%, transparent);
	box-shadow: 0 0 14px rgba(194, 119, 55, 0.25);
}

.home-carousel::before {
	top: -5px;
}

.home-carousel::after {
	bottom: -5px;
}

.home-carousel .swiper-news {
	overflow: hidden;
	border: 1px solid rgba(230, 195, 138, 0.2);
	background: #050505;
}

.home-carousel .swiper-slide,
.home-carousel__slide {
	width: 100%;
	height: 100%;
}

.home-carousel .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.015);
	transition: transform 5.8s ease;
}

.home-carousel .swiper-slide-active img {
	transform: scale(1.07);
}

.home-carousel__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.62));
}

.home-carousel .swiper-news_info {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 20px 110px 54px;
	background: none;
	text-align: center;
}

.home-carousel .swiper-slide .swiper-news_info {
	opacity: 0;
	transition: opacity 0.45s ease;
}

.home-carousel .swiper-slide-active .swiper-news_info {
	opacity: 1;
}

.home-carousel .swiper-news_info span {
	width: auto;
	max-width: 850px;
	margin: 0 0 12px;
	background: none;
	color: #f8ecd0;
	-webkit-text-fill-color: #f8ecd0;
	font-family: "Marcellus", sans-serif;
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1.12;
	text-transform: uppercase;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9));
}

.home-carousel .swiper-news_info p {
	width: auto;
	max-width: 700px;
	margin: 0;
	color: #e1ded7;
	font-size: 17px;
	line-height: 1.45;
	text-shadow: 0 2px 5px #000;
}

.home-carousel .swiper-button-prev,
.home-carousel .swiper-button-next {
	width: 46px;
	height: 46px;
	margin-top: -23px;
	border: 1px solid rgba(238, 214, 170, 0.45);
	border-radius: 50%;
	background: rgba(12, 12, 12, 0.72);
	color: #f4dfb5;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.55);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-carousel .swiper-button-prev {
	left: 30px;
}

.home-carousel .swiper-button-next {
	right: 30px;
}

.home-carousel .swiper-button-prev:hover,
.home-carousel .swiper-button-next:hover {
	border-color: #d3a860;
	background: rgba(72, 49, 29, 0.92);
	transform: scale(1.06);
}

.home-carousel .swiper-button-prev::after,
.home-carousel .swiper-button-next::after {
	font-size: 18px;
	font-weight: 700;
}

.home-carousel .swiper-news-pagination {
	position: absolute;
	z-index: 4;
	right: auto;
	bottom: 22px;
	left: 0;
	width: 100%;
	height: auto;
	background: none;
	pointer-events: none;
}

.home-carousel .swiper-news-pagination .swiper-pagination {
	position: static;
	width: 100%;
	pointer-events: auto;
}

.home-carousel .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 5px !important;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: #bcb7ae;
	opacity: 0.65;
	transition: width 0.2s ease, border-radius 0.2s ease, opacity 0.2s ease;
}

.home-carousel .swiper-pagination-bullet-active {
	width: 28px;
	border-radius: 8px;
	border-color: #e2bd77;
	background: #d1a75e;
	opacity: 1;
}

.home-news-wide {
	width: 100%;
	height: auto;
	min-height: 285px;
	padding: 34px 52px;
	background:
		linear-gradient(90deg, rgba(6, 6, 7, 0.92), rgba(16, 14, 13, 0.76), rgba(6, 6, 7, 0.92)),
		url(../images/news-home-bg.jpg) center / cover no-repeat;
	border: 1px solid rgba(206, 164, 101, 0.13);
	border-radius: 0;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

.home-news-wide .news-tabs__nav {
	max-width: 1050px;
	margin: 0 auto;
	border-bottom-color: rgba(255, 255, 255, 0.07);
}

.home-news-wide .news-tabs__panels {
	max-width: 1050px;
	margin: 0 auto;
}

.home-news-wide .news-tabs__button {
	color: #d1cbc7;
}

.home-news-wide .news-tabs__button:hover,
.home-news-wide .news-tabs__button:focus,
.home-news-wide .news-tabs__button.is-active {
	color: #fbef97;
}

.home-news-wide .newsLink {
	padding-right: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-news-wide .newsLink-info {
	flex: 1 1 auto;
	min-width: 0;
}

.home-news-wide .newsLink-info a {
	width: auto;
	max-width: 760px;
	color: #fcedc0;
}

.home-news-wide .newsLink-info span {
	color: #85817e;
}

.home-news-wide .news-tabs__empty {
	color: #c7c0bc;
}

@media only screen and (max-width: 1024px) {
	main.home {
		width: calc(100vw - 30px);
		max-width: 1150px;
	}

	.home-feature-stack {
		width: 100%;
		gap: 18px;
	}

	.home-carousel {
		min-height: 0;
		max-height: none;
		aspect-ratio: 16 / 7;
		padding: 10px;
	}

	.home-carousel .swiper-news_info {
		padding: 20px 82px 48px;
	}

	.home-carousel .swiper-news_info span {
		font-size: clamp(24px, 4.5vw, 38px);
	}

	.home-carousel .swiper-news_info p {
		font-size: 15px;
	}

	.home-carousel .swiper-button-prev {
		left: 20px;
	}

	.home-carousel .swiper-button-next {
		right: 20px;
	}

	.home-news-wide {
		min-height: 260px;
		padding: 28px;
	}
}

@media only screen and (max-width: 640px) {
	main.home {
		width: calc(100vw - 50px);
	}

	.home-feature-stack {
		gap: 14px;
	}

	.home-carousel {
		aspect-ratio: 4 / 3;
		padding: 7px;
	}

	.home-carousel .swiper-news_info {
		justify-content: flex-end;
		padding: 30px 48px 58px;
	}

	.home-carousel .swiper-news_info span {
		margin-bottom: 8px;
		font-size: clamp(22px, 7vw, 30px);
		letter-spacing: 1px;
	}

	.home-carousel .swiper-news_info p {
		display: -webkit-box;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.home-carousel .swiper-button-prev,
	.home-carousel .swiper-button-next {
		width: 36px;
		height: 36px;
		margin-top: -18px;
	}

	.home-carousel .swiper-button-prev {
		left: 14px;
	}

	.home-carousel .swiper-button-next {
		right: 14px;
	}

	.home-carousel .swiper-button-prev::after,
	.home-carousel .swiper-button-next::after {
		font-size: 14px;
	}

	.home-carousel .swiper-news-pagination {
		bottom: 18px;
	}

	.home-news-wide {
		padding: 22px 14px;
	}

	.home-news-wide .news-tabs__nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
		width: 100%;
	}

	.home-news-wide .news-tabs__button {
		width: 100%;
		min-width: 0;
		padding: 9px 2px;
		font-size: 10px;
		line-height: 1.15;
		white-space: normal;
	}

	.home-news-wide .news-tabs__button::before {
		display: none;
	}

	.home-news-wide .news-tabs__count {
		display: none;
	}

	.home-news-wide .newsLink {
		align-items: flex-start;
		padding: 12px 0 12px 46px;
	}

	.home-news-wide .newsLink-info a {
		width: auto;
		white-space: normal;
	}

	.home-news-wide .newsLink-more {
		padding: 3px 0 0 8px;
		white-space: nowrap;
	}
}
