/* Модуль documents (бриф 5.3): вкладка «Документы», блок под ценой, буклеты бренда. Основа — классы темы. */

/* ---- вкладка ---- */
#tab_04 .vtv-docs {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 60px;
	align-items: flex-start;
}
.vtv-docs__group {
	flex: 1 1 400px;
	max-width: 468px;
	min-width: 0;
}
.vtv-docs__group .single-char__download-body {
	max-width: none;
}
.vtv-docs__row span:first-child {
	word-break: break-word;
}
.vtv-docs__row span:last-child {
	white-space: nowrap;
}
.vtv-docs__lang {
	display: inline-block;
	margin-left: 6px;
	padding: 0 5px;
	border: 1px solid rgba(128, 126, 125, 0.4);
	border-radius: 3px;
	font-style: normal;
	font-size: 11px;
	line-height: 16px;
	color: var(--im-seryy, #807e7d);
	text-decoration: none;
	vertical-align: 1px;
}
#tab_04 .vtv-docs__all {
	margin-top: 40px;
}
.vtv-docs__zip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 30px;
}

/* ---- блок под ценой ---- */
.vtv-docs-short .single-intro__sub-title {
	margin-bottom: 8px;
}
.vtv-docs-short__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}
.vtv-docs-short__link {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	font-weight: 500;
	font-size: 14px;
	line-height: 140%;
	color: var(--im-chernyy, #000);
	text-decoration: none;
}
.vtv-docs-short__link span {
	text-decoration: underline;
	text-decoration-skip-ink: none;
}
.vtv-docs-short__link b {
	flex-grow: 1;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	justify-content: flex-end;
	font-weight: 500;
	color: var(--im-seryy, #807e7d);
	white-space: nowrap;
}
.vtv-docs-short__link b::before {
	content: "";
	flex-grow: 1;
	min-width: 12px;
	height: 1px;
	margin-bottom: 4px;
	background-color: var(--im-seryy, #807e7d);
	opacity: 0.2;
}
.vtv-docs-short__link:hover span {
	color: var(--im-akcent---dop, #4d87de);
}

/* ---- страница бренда ---- */
.vtv-docs-brand {
	padding: 60px 0 20px;
}
.vtv-docs-brand__title {
	margin-bottom: 30px;
}
.vtv-docs-brand__list .vtv-docs-brand__item {
	width: calc((100% - 60px) / 4);
	color: inherit;
	text-decoration: none;
}
.vtv-docs-brand__cover {
	background: var(--im-belyy, #f5f3ef);
}
.vtv-docs-brand__nocover {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
	font-weight: 500;
	color: var(--im-seryy, #807e7d);
}
.vtv-docs-brand__name {
	font-size: 18px;
	margin-top: 15px;
}
.vtv-docs-brand__meta {
	font-size: 14px !important;
	color: var(--im-seryy, #807e7d) !important;
}

@media (max-width: 1024px) {
	.vtv-docs-brand__list .vtv-docs-brand__item {
		width: calc((100% - 40px) / 3);
	}
}

@media (max-width: 768px) {
	/* тема делает вложенные .wrapper-padding горизонтальной лентой — группы документов ставим столбиком */
	.single-char #tab_04 .vtv-docs.wrapper-padding {
		flex-direction: column;
		flex-wrap: nowrap;
		overflow: visible;
		scroll-snap-type: none;
		gap: 25px !important;
	}
	.vtv-docs__group {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
	}
	#tab_04 .vtv-docs__all {
		margin-top: 25px;
	}
	.vtv-docs__zip {
		width: 100%;
		justify-content: center;
	}
	.vtv-docs-brand {
		padding: 40px 0 10px;
	}
	.vtv-docs-brand__list {
		flex-wrap: nowrap;
		overflow: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.vtv-docs-brand__list::-webkit-scrollbar {
		display: none;
	}
	.vtv-docs-brand__list .vtv-docs-brand__item {
		width: 60%;
		flex-shrink: 0;
		scroll-snap-align: start;
	}
}
