.bkr-dela-detail {
	--dela-gutter: max(16px, calc((100% - 1340px) / 2));
	--dela-header-offset: 118px;
	font-family: 'Fira Sans', sans-serif;
	color: #000;
	margin: 0;
	padding: calc(var(--dela-header-offset)) var(--dela-gutter) 0;
	box-sizing: border-box;
	background: #f4f5f8;
}

body.bankirro-dela-case-page {
	background: #f4f5f8;
}

.bkr-dela-detail__container {
	width: 100%;
	max-width: 1340px;
	margin: 0 auto;
	box-sizing: border-box;
}

.bkr-dela-detail__breadcrumbs {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
	padding: 0;
	font-weight: 400;
	font-size: 12px;
	line-height: 1;
}

.bkr-dela-detail__breadcrumbs-link,
.bkr-dela-detail__breadcrumbs-sep,
.bkr-dela-detail__breadcrumbs-current {
	color: rgba(0, 0, 0, 0.4);
	text-decoration: none;
}

.bkr-dela-detail__breadcrumbs-link:hover {
	color: rgba(0, 0, 0, 0.6);
}

.bkr-dela-detail__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 64px;
	width: 100%;
	margin-top: 60px;
}

.bkr-dela-detail__hero {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 48px;
	width: 100%;
}

.bkr-dela-detail__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
}

.bkr-dela-detail__title {
	margin: 0;
	font-size: 56px;
	font-weight: 600;
	line-height: 1.05;
	color: #000;
	word-break: break-word;
}

.bkr-dela-detail__city {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: rgba(0, 0, 0, 0.4);
	white-space: nowrap;
}

.bkr-dela-detail__city svg {
	flex-shrink: 0;
}

.bkr-dela-detail__main {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	align-self: stretch;
	gap: 20px;
	width: 100%;
}

.bkr-dela-detail__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	width: 320px;
	flex: none;
	flex-shrink: 0;
}

.bkr-dela-detail__content {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-end;
	align-self: stretch;
	gap: 40px;
	min-width: 0;
}

.bkr-dela-detail__thumb-link {
	display: block;
	width: 320px;
	flex-shrink: 0;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.bkr-dela-detail__thumb-link:hover {
	opacity: 0.92;
}

.bkr-dela-detail__thumb {
	display: block;
	width: 100%;
	height: 450px;
	border-radius: 20px;
	object-fit: contain;
	object-position: center top;
	background: #fff;
}

.bkr-dela-detail__docs {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
}

.bkr-dela-detail__doc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-height: 40px;
	padding: 2px 12px 2px 2px;
	border-radius: 100px;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.bkr-dela-detail__doc--light:hover {
	background: #0d6efd;
	color: #fff;
}

.bkr-dela-detail__doc--light:hover .bkr-dela-detail__doc-icon {
	background: #fff;
	color: #0d6efd;
}

.bkr-dela-detail__doc-inner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.bkr-dela-detail__doc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.bkr-dela-detail__doc-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
}

.bkr-dela-detail__doc--light {
	background: #dbe9ff;
	color: #0d6efd;
}

.bkr-dela-detail__doc--light .bkr-dela-detail__doc-icon {
	background: #0d6efd;
	color: #fff;
}

.bkr-dela-detail__doc--primary {
	background: #dbe9ff;
	color: #0d6efd;
}

.bkr-dela-detail__doc--primary .bkr-dela-detail__doc-icon {
	background: #0d6efd;
	color: #fff;
}

.bkr-dela-detail__doc--primary:hover {
	background: #0d6efd;
	color: #fff;
}

.bkr-dela-detail__doc--primary:hover .bkr-dela-detail__doc-icon {
	background: #fff;
	color: #0d6efd;
}

.bkr-dela-detail__card {
	display: flex;
	flex: none;
	align-items: flex-start;
	align-self: stretch;
	gap: 40px;
	width: 100%;
	min-width: 0;
	min-height: 450px;
	padding: 30px;
	background: #fff;
	border-radius: 20px;
	box-sizing: border-box;
}

.bkr-dela-detail__info {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 48px;
	min-width: 0;
}

.bkr-dela-detail__fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: 600px;
}

.bkr-dela-detail__field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.bkr-dela-detail__field-label {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.4);
}

.bkr-dela-detail__field-value {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.8);
	word-break: break-word;
}

.bkr-dela-detail__field-value--debt {
	font-size: 32px;
	font-weight: 500;
	line-height: 1.1;
	color: #000;
}

.bkr-dela-detail__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 53px;
	padding: 24px 40px;
	border: none;
	border-radius: 100px;
	background: #0d6efd;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	transition: background 0.2s ease;
}

.bkr-dela-detail__cta:hover {
	background: #0b5ed7;
	color: #fff;
}

.bkr-dela-detail__divider {
	width: 1px;
	align-self: stretch;
	background: rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.bkr-dela-detail__meta {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 260px;
	flex-shrink: 0;
}

.bkr-dela-detail__meta-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bkr-dela-detail__meta-label {
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: rgba(0, 0, 0, 0.8);
}

.bkr-dela-detail__service-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	border-radius: 100px;
	background: #ecf3ff;
	color: #0d6efd;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	width: fit-content;
}

.bkr-dela-detail__banks {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.bkr-dela-detail__bank {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	border-radius: 100px;
	background: #f4f5f8;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease;
}

.bkr-dela-detail__bank:hover {
	background: #101523;
	color: #fff;
}

.bkr-dela-detail__bank-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.bkr-dela-detail__bank-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.bkr-dela-detail__text {
	align-self: stretch;
	width: 100%;
	margin: 0;
	font-family: 'Fira Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.8;
	color: #000;
}

.bkr-dela-detail__text-accent {
	color: #0d6efd;
}

.bkr-dela-detail__next {
	display: inline-flex;
	align-items: center;
	align-self: flex-end;
	gap: 20px;
}

.bkr-dela-detail__next-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 6px;
}

.bkr-dela-detail__next-label {
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	color: rgba(0, 0, 0, 0.8);
}

.bkr-dela-detail__next-title {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: #000;
	text-decoration: none;
	word-break: break-word;
}

.bkr-dela-detail__next-title:hover {
	color: #0d6efd;
}

.bkr-dela-detail__next-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
	text-decoration: none;
	transition: background 0.2s ease;
}

.bkr-dela-detail__next-btn:hover {
	background: #dde7f1;
}

.bkr-dela-detail__next-btn:hover svg path {
	stroke: #0d6efd;
}

.bankirro-dela-case-page .bkr-cases-test__container,
.bankirro-dela-case-page .bkr-team-test__container,
.bankirro-dela-case-page .bkr-ratings-test__container {
	padding-top: 0;
}

.bankirro-dela-case-page .bkr-cases-test {
	margin-top: var(--test-block-gap, 120px);
}

.bankirro-dela-case-page .bkr-team-test,
.bankirro-dela-case-page .bkr-ratings-test {
	margin-top: var(--test-block-gap, 120px);
}

.bankirro-dela-case-page #bkr-quiz-test {
	margin-top: var(--test-block-gap, 120px);
	scroll-margin-top: 100px;
}

@media (min-width: 981px) {
	.bkr-dela-detail__thumb-link {
		order: 1;
	}

	.bkr-dela-detail__docs {
		order: 2;
	}
}

@media (max-width: 1200px) {
	.bkr-dela-detail__card {
		flex-direction: column;
		min-height: 0;
	}

	.bkr-dela-detail__divider {
		width: 100%;
		height: 1px;
	}

	.bkr-dela-detail__meta {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.bkr-dela-detail__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.bkr-dela-detail__title {
		font-size: 36px;
	}

	.bkr-dela-detail__main {
		flex-direction: column;
		gap: 10px;
	}

	.bkr-dela-detail__aside {
		width: 100%;
		flex-shrink: 0;
	}

	.bkr-dela-detail__content {
		flex: 0 0 auto;
		width: 100%;
		align-items: stretch;
		gap: 24px;
	}

	.bkr-dela-detail__card {
		flex: 0 0 auto;
		width: 100%;
		min-height: 0;
	}

	.bkr-dela-detail__info {
		flex: none;
	}

	.bkr-dela-detail__docs {
		order: 1;
	}

	.bkr-dela-detail__thumb-link {
		order: 2;
	}

	.bkr-dela-detail__thumb-link,
	.bkr-dela-detail__thumb {
		width: 100%;
		max-width: none;
	}

	.bkr-dela-detail__thumb {
		height: auto;
		aspect-ratio: 300 / 422;
	}

	.bkr-dela-detail__field-value--debt {
		font-size: 28px;
	}

	.bkr-dela-detail__cta {
		width: 100%;
		padding-inline: 24px;
	}

	.bkr-dela-detail__next {
		align-self: stretch;
		justify-content: space-between;
	}
}

@media (max-width: 640px) {
	.bkr-dela-detail {
		--dela-gutter: max(10px, calc((100% - 1340px) / 2));
		padding-top: 70px;
	}

	.bkr-dela-detail__breadcrumbs {
		gap: 5px;
		top: 20px;
		font-size: 10px;
		margin: 32px 0;
	}

	.bkr-dela-detail__body {
		margin-top: 12px;
		gap: 64px;
	}

	.bkr-dela-detail__hero {
		gap: 24px;
	}

	.bkr-dela-detail__head {
		gap: 10px;
	}

	.bkr-dela-detail__title {
		font-size: 22px;
		line-height: 1.2;
	}

	.bkr-dela-detail__city {
		font-size: 12px;
		line-height: 1;
		white-space: normal;
	}

	.bkr-dela-detail__city svg {
		width: 16px;
		height: 16px;
	}

	.bkr-dela-detail__main {
		gap: 10px;
	}

	.bkr-dela-detail__aside {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.bkr-dela-detail__docs {
		order: 1;
	}

	.bkr-dela-detail__thumb-link {
		order: 2;
	}

	.bkr-dela-detail__thumb-link,
	.bkr-dela-detail__thumb {
		width: 100%;
		max-width: none;
	}

	.bkr-dela-detail__thumb {
		height: auto;
		aspect-ratio: 300 / 422;
	}

	.bkr-dela-detail__doc-icon {
		width: 30px;
		height: 30px;
	}

	.bkr-dela-detail__doc-icon svg {
		width: 16px;
		height: 16px;
	}

	.bkr-dela-detail__doc {
		min-height: 34px;
	}

	.bkr-dela-detail__doc-text {
		font-size: 14px;
	}

	.bkr-dela-detail__card {
		padding: 20px;
		gap: 24px;
		overflow: visible;
	}

	.bkr-dela-detail__info {
		justify-content: flex-start;
		gap: 20px;
	}

	.bkr-dela-detail__fields {
		gap: 12px;
		max-width: none;
	}

	.bkr-dela-detail__field-label {
		font-size: 10px;
		line-height: 1;
	}

	.bkr-dela-detail__field-value {
		font-size: 14px;
		line-height: 1;
	}

	.bkr-dela-detail__field-value--debt {
		font-size: 20px;
		line-height: 1.2;
	}

	.bkr-dela-detail__cta {
		width: 100%;
		padding: 20px 32px;
		font-size: 16px;
		line-height: 1;
	}

	.bkr-dela-detail__meta-label {
		font-size: 12px;
	}

	.bkr-dela-detail__service-tag {
		padding: 12px 14px;
		font-size: 12px;
	}

	.bkr-dela-detail__banks {
		gap: 6px;
	}

	.bkr-dela-detail__bank {
		max-width: 100%;
	}

	.bkr-dela-detail__text {
		font-size: 14px;
		line-height: 1.8;
	}

	.bkr-dela-detail__next {
		align-self: flex-start;
		justify-content: flex-start;
		gap: 10px;
	}

	.bkr-dela-detail__next-title {
		font-size: 20px;
		line-height: 1.2;
	}

	.bkr-dela-detail__next-btn {
		width: 34px;
		height: 34px;
	}

	.bankirro-dela-case-page {
		--cases-gutter: 10px;
		--team-gutter: 10px;
		--ratings-gutter: 10px;
		--test-block-gap: 80px;
	}

	.bankirro-dela-case-page .bkr-cases-test,
	.bankirro-dela-case-page .bkr-team-test,
	.bankirro-dela-case-page .bkr-ratings-test,
	.bankirro-dela-case-page #bkr-quiz-test {
		margin-top: 80px;
	}

	.bankirro-dela-case-page #bkr-ratings-test .bkr-ratings-test__grid {
		grid-template-columns: 1fr;
	}
}
