/* =====================
   Shared support content
   FAQ / Troubleshooting / Maintenance
   ===================== */

.faq-page,
.troubleshooting,
.maintenance-page {
	padding: min(72px, 5vw) 0 min(154px, 10.7vw);
	background: #f5f7f9;
}

.faq-page__inner,
.troubleshooting__inner,
.maintenance-page__inner {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding: 0 min(80px, 5.56vw);
}

.faq-page__layout,
.troubleshooting__layout,
.maintenance-page__layout {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: min(96px, 6.67vw);
	align-items: start;
}

.faq-nav,
.troubleshooting-nav,
.maintenance-nav {
	position: sticky;
	top: 110px;
	background: var(--background-white);
	border-radius: 5px;
}

.faq-page__content,
.troubleshooting__content,
.maintenance-page__content {
	min-width: 0;
}

.faq-page__content .vk_outer + .vk_outer,
.troubleshooting-product + .troubleshooting-product,
.maintenance-section + .maintenance-section {
	margin-top: 120px;
}

.faq-page__content .vk_outer_container > h3,
.troubleshooting-product__title,
.maintenance-page__heading h2 {
	margin: 0;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.faq-page__content .vk_outer_container > h3,
.troubleshooting-product__header,
.maintenance-page__heading {
	margin-bottom: 44px;
}

.faq-page__content .vk_outer_container > h3::after,
.troubleshooting-product__label,
.maintenance-page__heading p {
	display: block;
	margin: 12px 0 0;
	color: var(--main-red);
	font-family: var(--font-condensed);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.03rem;
}

.faq-page__content .vk_outer_container > h4:not(.is-style-vk-heading-plain),
.troubleshooting-group__title,
.maintenance-section__title {
	margin: 0 0 44px;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.faq-page__content
	.vk_outer_container
	> h4:not(.is-style-vk-heading-plain)::after,
.troubleshooting-group__title::after,
.maintenance-section__title::after {
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 12px;
	background: linear-gradient(
		90deg,
		var(--main-red) 0 54px,
		var(--border-gray) 54px 100%
	);
	content: "";
}

.faq-page__content .vk_faq_content,
.troubleshooting-group > p,
.troubleshooting-topic p,
.troubleshooting-topic li,
.troubleshooting-steps,
.maintenance-section__lead,
.maintenance-subsection > p {
	color: var(--main-navy);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.05em;
}

.troubleshooting-group > p,
.troubleshooting-topic p,
.maintenance-section__lead,
.maintenance-subsection > p {
	margin: 0;
}

.faq-page__content p + p,
.troubleshooting-group > p + p,
.troubleshooting-topic p + p,
.maintenance-subsection > p + p {
	margin-top: 22px;
}

.faq-page__content .faq-slit-comparison__title,
.troubleshooting-topic h4,
.maintenance-subsection__title {
	position: relative;
	margin: 0 0 20px;
	padding-left: 18px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04rem;
}

.faq-page__content .faq-slit-comparison__title::before,
.troubleshooting-topic h4::before,
.maintenance-subsection__title::before {
	position: absolute;
	top: 0.22em;
	bottom: 0.18em;
	left: 0;
	width: 2px;
	background: var(--main-red);
	content: "";
}

@media (max-width: 1100px) {
	.faq-page__inner,
	.troubleshooting__inner,
	.maintenance-page__inner {
		padding-right: 40px;
		padding-left: 40px;
	}

	.faq-page__layout,
	.troubleshooting__layout,
	.maintenance-page__layout {
		grid-template-columns: 230px minmax(0, 1fr);
		gap: 40px;
	}

	.faq-page__content .vk_outer_container > h3,
	.troubleshooting-product__title,
	.maintenance-page__heading h2 {
		font-size: 28px;
	}
}

@media (max-width: 820px) {
	.faq-page,
	.troubleshooting,
	.maintenance-page {
		padding: 12.82vw 0 20.51vw;
	}

	.faq-page__inner,
	.troubleshooting__inner,
	.maintenance-page__inner {
		padding-right: min(20px, 5.13vw);
		padding-left: min(20px, 5.13vw);
	}

	.faq-page__layout,
	.troubleshooting__layout,
	.maintenance-page__layout {
		grid-template-columns: 1fr;
		gap: 12.82vw;
	}

	.faq-nav,
	.troubleshooting-nav,
	.maintenance-nav {
		position: static;
		top: auto;
	}

	.faq-page__content .vk_outer + .vk_outer,
	.troubleshooting-product + .troubleshooting-product,
	.maintenance-section + .maintenance-section {
		margin-top: 20.51vw;
	}

	.faq-page__content .vk_outer_container > h3,
	.troubleshooting-product__title,
	.maintenance-page__heading h2 {
		font-size: 24px;
	}

	.faq-page__content .vk_outer_container > h3,
	.troubleshooting-product__header,
	.maintenance-page__heading {
		margin-bottom: 12.82vw;
	}

	.faq-page__content .vk_outer_container > h4:not(.is-style-vk-heading-plain),
	.troubleshooting-group__title,
	.maintenance-section__title {
		font-size: 20px;
	}

	.faq-page__content .faq-slit-comparison__title,
	.troubleshooting-topic h4,
	.maintenance-subsection__title {
		font-size: 18px;
	}
}

/* Shared sidebar navigation for support detail pages. */
.troubleshooting-nav,
.maintenance-nav {
	padding: 4px 16px;
}

.troubleshooting-nav__title,
.maintenance-nav__title {
	display: block;
	margin: 0;
	padding: 18px 8px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	border-bottom: 1px solid #cbd1d8;
}

.troubleshooting-nav__list,
.maintenance-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.troubleshooting-nav__list li,
.maintenance-nav__list li {
	border-bottom: 1px solid #cbd1d8;
}

.troubleshooting-nav__list li:last-child,
.maintenance-nav__list li:last-child {
	border-bottom: 0;
}

.troubleshooting-nav__list a,
.maintenance-nav__list a {
	position: relative;
	display: block;
	padding: 13px 8px 13px 25px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.troubleshooting-nav__list a::before,
.maintenance-nav__list a::before {
	position: absolute;
	top: 13px;
	left: 8px;
	width: 17px;
	color: var(--main-red);
	content: "-";
}

.troubleshooting-group + .troubleshooting-group,
.maintenance-subsection + .maintenance-subsection {
	margin-top: 44px;
}

@media (hover: hover) and (pointer: fine) {
	.troubleshooting-nav a:hover,
	.troubleshooting-nav a:focus-visible,
	.maintenance-nav a:hover,
	.maintenance-nav a:focus-visible {
		color: var(--main-red);
	}
}

@media (max-width: 820px) {
	.troubleshooting-group + .troubleshooting-group,
	.maintenance-subsection + .maintenance-subsection {
		margin-top: 12.82vw;
	}
}
