.header {
	border-color: var(--color-dark);
}

.header__logo svg path {
	fill: var(--color-primary);
}

.header__search svg path {
	fill: var(--color-dark);
}

.header__lang {
	color: var(--color-dark);
}

.header__phone {
	color: var(--color-dark);
}

.header__menu a {
	color: var(--color-dark);
}

.header__catalog-link > .btn__text {
	color: var(--color-white);
}

.article-detail {
	padding-top: 12vh;
	padding-bottom: 40px;
}

.article-detail__title {
	margin-bottom: 20px;
}

.article-detail__hero {
	width: 100%;
	height: 400px;
	border-radius: var(--radius-m);
	overflow: hidden;
	margin-bottom: 20px;
}

.article-detail__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.article-detail__content {
	margin: 0;
}

.article-detail__content h1,
.article-detail__content h2,
.article-detail__content h3,
.article-detail__content h4 {
	margin-top: 30px;
	margin-bottom: 20px;
}

.article-detail__content p {
	margin-bottom: 20px;
}

.article-detail__content ul,
.article-detail__content ol {
	margin-bottom: 25px;
	padding-left: 20px;
}

.article-detail__content li {
	margin-bottom: 10px;
}

.article-detail__content ul li {
	list-style: disc;
}

.article-detail__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-m);
	margin: 30px 0;
	display: block;
}

.article-detail__content blockquote {
	margin: 40px 0;
	padding: 20px 30px;
	border-left: 4px solid var(--color-primary);
	background-color: var(--color-gray);
	font-style: italic;
	font-size: 20px;
}

.article-detail__content a {
	color: var(--color-primary);
	text-decoration: underline;
	transition: opacity 0.3s;
}

.article-detail__content a:hover {
	text-decoration: none;
	opacity: 0.8;
}

.related-articles {
	padding: 15px 0 35px;
	margin-bottom: 0 !important;
	background-color: var(--color-gray);
}

.related-articles__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.related-articles__nav {
	display: flex;
	gap: 30px;
}

.custom-prev,
.custom-next {
	position: relative;
	width: 35px;
	height: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	color: var(--color-dark);
	transition: opacity var(--transition-base);
}

.custom-prev:hover,
.custom-next:hover {
	opacity: 0.5;
}

.custom-prev.swiper-button-disabled,
.custom-next.swiper-button-disabled {
	opacity: 0.2;
	cursor: default;
}

.custom-prev::before,
.custom-next::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: currentColor;
}

.custom-next::after {
	content: "";
	position: absolute;
	right: 0;
	width: 12px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.custom-prev::after {
	content: "";
	position: absolute;
	left: 0;
	width: 12px;
	height: 12px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(45deg);
}

.related-card {
	position: relative;
	display: block;
	border-radius: var(--radius-m);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	text-decoration: none;
	color: var(--color-white);
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
}

.related-card__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-card:hover .related-card__img {
	transform: scale(1.05);
}

.related-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.8) 0%,
		transparent 100%
	);
	z-index: 1;
	pointer-events: none;
}

.related-card__info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	display: flex;
	box-sizing: border-box;
	justify-content: space-between;
	align-items: flex-end;
	gap: 15px;
	z-index: 2;
}

.related-card__title {
	font-size: 20px;
	margin: 0;
	color: var(--color-white);
}

.related-card__arrow {
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: transform var(--transition-base);
}

.related-card__arrow .icon-arrow-diag {
	position: relative;
	width: 24px;
	height: 24px;
	color: inherit;
	transition: transform var(--transition-base);
}

.related-card__arrow .icon-arrow-diag::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 2px;
	background-color: currentColor;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.related-card__arrow .icon-arrow-diag::after {
	content: "";
	position: absolute;
	top: 1px;
	right: 1px;
	width: 12px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.related-card:hover .icon-arrow-diag {
	transform: rotate(45deg);
}

@media (max-width: 992px) {
	.header__burger span {
		background: var(--color-dark);
	}
}

@media (max-width: 768px) {
	.article-detail__hero {
		height: 250px;
	}
	.related-card__title {
		font-size: 18px;
	}
}

@media (max-width: 576px) {
	.article-detail {
		padding-top: 12vh;
	}
}
