

/* Start:/local/templates/.default/components/bitrix/news.list/docs_info/style.css?178895547812205*/
.docs-info {
	--docs-bg: #e8eef3;
	--docs-card: #ffffff;
	--docs-text: #16324f;
	--docs-muted: #7a8fa3;
	--docs-accent: #2bb8b8;
	--docs-hero: #0d3b5c;
	--docs-radius: 18px;
	--docs-shadow: 0 10px 28px rgba(22, 50, 79, 0.08);
	color: var(--docs-text);
	font-family: inherit;
}

.docs-info__intro {
	margin-bottom: 28px;
}

.docs-info__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.docs-info__hint {
	max-width: 640px;
	color: var(--docs-muted);
	font-size: 15px;
	line-height: 1.5;
}

.docs-info__label {
	margin-bottom: 14px;
	color: var(--docs-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.docs-info__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.docs-info__item {
	background: var(--docs-card);
	border-radius: var(--docs-radius);
	box-shadow: var(--docs-shadow);
	overflow: hidden;
}

.docs-info__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: inherit;
}

.docs-info__item.is-open .docs-info__trigger {
	background: var(--docs-hero);
	color: #fff;
}

.docs-info__num {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eef5f8;
	color: var(--docs-accent);
	font-size: 13px;
	font-weight: 700;
}

.docs-info__item.is-open .docs-info__num {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.docs-info__trigger-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.docs-info__name {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.docs-info__subtitle {
	color: var(--docs-muted);
	font-size: 14px;
}

.docs-info__item.is-open .docs-info__subtitle {
	color: rgba(255, 255, 255, 0.72);
}

.docs-info__arrow {
	flex: 0 0 17px;
	width: 21px;
	height: 21px;
	position: relative;
	transition: transform 0.25s ease;
}

.docs-info__arrow::before {
	content: '';
	position: absolute;
	inset: 4px 2px 4px 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}

.docs-info__item.is-open .docs-info__arrow {
	transform: rotate(90deg);
}

.docs-info__panel[hidden] {
	display: none;
}

.docs-info__panel-inner {
	background: #f4f7fa;
}

.docs-info__hero {
	padding: 8px 20px 28px;
	background: var(--docs-hero);
	color: #fff;
}

.docs-info__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.docs-info__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--docs-accent);
}

.docs-info__hero-title {
	font-size: clamp(26px, 5vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 10px;
}

.docs-info__hero-desc {
	max-width: 460px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.45;
}

.docs-info__block {
	padding: 28px 20px 8px;
}

.docs-info__block--docs {
	padding-bottom: 24px;
}

.docs-info__block-title {
	margin-bottom: 8px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
}

.docs-info__docs-count {
	margin-bottom: 16px;
	color: var(--docs-muted);
	font-size: 14px;
}

.docs-info__requisites {
	background: var(--docs-card);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: var(--docs-shadow);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.docs-info__requisite-name {
	margin-bottom: 4px;
	color: var(--docs-muted);
	font-size: 13px;
}

.docs-info__requisite-value {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}

.docs-info__requisite-value a {
	color: var(--docs-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.docs-info__docs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.docs-info__doc {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--docs-card);
	box-shadow: var(--docs-shadow);
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs-info__doc:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(22, 50, 79, 0.12);
}

.docs-info__doc-preview {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.docs-info__doc-icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #e8f7f7;
	position: relative;
}

.docs-info__doc-icon::before {
	content: '';
	position: absolute;
	inset: 11px 13px;
	border: 2px solid var(--docs-accent);
	border-radius: 3px;
	background:
		linear-gradient(var(--docs-accent), var(--docs-accent)) 6px 7px / 10px 2px no-repeat,
		linear-gradient(var(--docs-accent), var(--docs-accent)) 6px 11px / 10px 2px no-repeat,
		linear-gradient(var(--docs-accent), var(--docs-accent)) 6px 15px / 7px 2px no-repeat;
}

.docs-info__doc-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.docs-info__doc-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.docs-info__doc-meta {
	color: var(--docs-muted);
	font-size: 13px;
}

.docs-info__doc-download {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 0;
	border-radius: 10px;
	background: #e8f7f7;
	color: var(--docs-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.docs-info__doc-download:hover,
.docs-info__doc-download:focus-visible {
	background: var(--docs-accent);
	color: #fff;
	outline: none;
}

.docs-info__footer-hint {
	margin-top: 18px;
	color: var(--docs-muted);
	font-size: 13px;
}

@media (max-width: 575px) {
	.docs-info__trigger {
		padding: 16px;
		gap: 12px;
	}

	.docs-info__name {
		font-size: 16px;
	}

	.docs-info__block-title {
		font-size: 24px;
	}
}

/* PDF preview modal */
html.docs-pdf-open,
body.docs-pdf-open {
	overflow: hidden;
}

.docs-pdf-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(16, 41, 67, 0.55);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.docs-pdf-overlay[hidden] {
	display: none;
}

.mag-doc,
.mag-doc * {
	box-sizing: border-box;
}

.mag-doc {
	--ink: #102943;
	--brand: #1d8ba1;
	--brand-light: #c9edf3;
	--paper: #fff;
	--muted: #63798d;
	--line: #dbe4ea;
	--soft: #f4f7f9;
	width: min(720px, 100%);
	margin: auto;
	overflow: hidden;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid #e7edf1;
	border-radius: 15px;
	box-shadow: 0 24px 70px rgba(16, 41, 67, 0.16);
	font-family: inherit;
}

.mag-doc__header {
	display: grid;
	grid-template-columns: 70px 1fr 60px;
	gap: 28px;
	align-items: center;
	min-height: 120px;
	padding: 0 20px;
}

.mag-doc__badge {
	display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    color: #fff;
    background: #e45458;
    border-radius: 12px;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.mag-doc__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--brand);
	font-size: clamp(15px, 2vw, 19px);
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.mag-doc__title {
	margin: 0;
    font-size: clamp(24px, 1vw, 40px);
	line-height: 1.08;
	font-weight: 800;
}

.mag-doc__close {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	padding: 0 0 6px;
	color: var(--ink);
	background: #fff;
	border: 4px solid var(--brand-light);
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px #dce6ec;
	cursor: pointer;
	font: 400 52px/1 Arial, sans-serif;
}

.mag-doc__viewer {
	position: relative;
	display: grid;
	place-items: start center;
	min-height: 420px;
	max-height: min(72vh, 960px);
	overflow: auto;
	padding: 0 34px;
	background: #e5ebef;
}

.mag-doc__canvas {
	display: block;
	max-width: 100%;
	height: auto;
	background: #fff;
	box-shadow: 0 0 0 1px #d5dde3;
}

.mag-doc__loader,
.mag-doc__error {
	position: absolute;
	inset: 50% auto auto 50%;
	z-index: 2;
	margin: 0;
	transform: translate(-50%, -50%);
	padding: 14px 20px;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 12px;
	text-align: center;
	font-weight: 700;
}

.mag-doc__error {
	color: #b42318;
}

.mag-doc__thumbs {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 17px 34px 14px;
	background: var(--soft);
	border-bottom: 1px solid var(--line);
	scrollbar-color: var(--brand) #e9eef2;
}

.mag-doc__thumb {
	flex: 0 0 89px;
    min-width: 0;
    padding: 6px 9px 5px;
    color: var(--muted);
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
}

.mag-doc__thumb canvas {
	display: block;
	width: 100%;
	height: 100px;
	margin-bottom: 10px;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 0 0 2px #d9e1e6;
}

.mag-doc__thumb[aria-current="page"] {
	color: var(--ink);
	background: #fff;
	border-color: var(--brand);
}

.mag-doc__controls {
	display: grid;
	grid-template-columns: 220px 1fr 220px;
	gap: 20px;
	align-items: center;
	padding: 14px;
}

.mag-doc__button {
    min-height: 46px;
    padding: 0px 20px;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 20px;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
}

.mag-doc__button:disabled {
	color: #aebbc6;
	background: #f5f7f8;
	cursor: not-allowed;
}

.mag-doc__counter {
	text-align: center;
	font-size: clamp(13px, 1.4vw, 21px);
	font-weight: 700;
}

.mag-doc__download {
	display: inline-block;
	margin: 3px 18px 16px;
	color: var(--brand);
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
}

.mag-doc__download:hover {
	text-decoration: underline;
}

.mag-doc button:focus-visible,
.mag-doc a:focus-visible {
	outline: 4px solid rgba(29, 139, 161, 0.28);
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.docs-pdf-overlay {
		padding: 12px 8px;
	}

	.mag-doc {
		border-radius: 22px;
	}

	.mag-doc__header {
		grid-template-columns: 58px 1fr 50px;
		gap: 13px;
		min-height: auto;
		padding: 18px 16px;
	}

	.mag-doc__badge {
		width: 58px;
		height: 70px;
		border-radius: 16px;
		font-size: 18px;
	}

	.mag-doc__eyebrow {
		margin-bottom: 4px;
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.mag-doc__title {
		font-size: 23px;
	}

	.mag-doc__close {
		width: 50px;
		height: 50px;
		padding-bottom: 4px;
		border-width: 5px;
		font-size: 39px;
	}

	.mag-doc__viewer {
		min-height: 360px;
		padding: 0 10px;
	}

	.mag-doc__thumbs {
		gap: 10px;
		padding: 15px 12px;
	}

	.mag-doc__thumb {
		flex-basis: 82px;
		padding: 6px;
		border-width: 3px;
		border-radius: 13px;
		font-size: 17px;
	}

	.mag-doc__thumb canvas {
		height: 103px;
		margin-bottom: 7px;
	}

	.mag-doc__controls {
		grid-template-columns: 1fr 1fr;
		padding: 18px 12px 10px;
	}

	.mag-doc__counter {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.mag-doc__button {
		min-height: 54px;
		padding: 10px;
		border-radius: 14px;
		font-size: 17px;
	}

	.mag-doc__download {
		margin: 12px 16px 24px;
		font-size: 19px;
	}
}

/* End */
/* /local/templates/.default/components/bitrix/news.list/docs_info/style.css?178895547812205 */
