/**
 * setupcompany.eu — Why Bulgaria deep-dive template (Screen 7)
 */

.sc-bt-hero__wrap {
	/* No max-width here: .sc-hero__wrap (core.css) already caps this box at
	   var(--maxw) and centers it — matching .sc-rail__inner below it. Capping
	   it again narrower here would center the wrap *itself* inside that box,
	   pulling the H1/lead in far further left than the full-width rail. */
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-bottom: 52px;
}

.sc-bt-body {
	background: var(--warm);
	padding: 80px var(--pad-x) 96px;
}

.sc-bt-body__grid {
	display: grid;
	grid-template-columns: minmax(300px, 1fr) 280px;
	gap: 64px;
	align-items: start;
}

.sc-bt-prose {
	min-width: 0;
	max-width: none;
}

.sc-bt-prose h2 {
	font-size: clamp(26px, 3vw, 34px);
	scroll-margin-top: 96px;
}

.sc-bt-note {
	background: #fff7db;
	border: 1px solid #ffe9a3;
	border-radius: 12px;
	padding: 16px 20px;
	font-size: 14.5px !important;
	line-height: 1.6;
	color: #6b5200 !important;
}

/* worked-example cards */
.sc-bt-example {
	background: var(--white);
	border-radius: 18px;
	padding: 30px 32px;
	box-shadow: var(--shadow-card);
	border-left: 4px solid var(--yellow);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sc-bt-example--flat {
	border-left: 0;
	box-shadow: var(--shadow-flat);
}

.sc-bt-example__label {
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-3) !important;
}

.sc-bt-example__title {
	font-size: 19px !important;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ink) !important;
}

.sc-bt-example__rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.sc-bt-example__rows > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-2);
	font-size: 16px;
}

.sc-bt-example__rows > div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sc-bt-example__rows dt {
	color: var(--text-2);
}

.sc-bt-example__rows dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.sc-bt-example__rows .is-total dt {
	font-weight: 600;
	color: var(--ink);
}

.sc-bt-example__rows .is-total dd {
	font-weight: 700;
	color: var(--go);
}

.sc-bt-example__foot {
	font-size: 14px !important;
	line-height: 1.6;
	color: var(--text-3) !important;
}

.sc-bt-table {
	box-shadow: var(--shadow-card);
	/* The table keeps a 520px minimum, so on phones it scrolls inside its own
	   box instead of widening the page (.sc-table-wrap isn't defined for this
	   template's CSS). */
	overflow-x: auto;
	border-radius: 20px;
}

.sc-bt-table table {
	min-width: 520px;
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
}

.sc-bt-table th {
	background: var(--warm);
	border-bottom: 1px solid var(--border-2);
	padding: 16px 22px;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-3);
}

.sc-bt-table td {
	border-bottom: 1px solid var(--border-2);
	padding: 16px 22px;
	font-size: 15.5px;
	color: var(--text-2);
	font-variant-numeric: tabular-nums;
}

.sc-bt-table tr.is-hl {
	background: #fffbeb;
}

.sc-bt-table tr.is-hl td {
	font-weight: 700;
	color: var(--ink);
}

.sc-bt-table tr:last-child td {
	border-bottom: 0;
}

.sc-bt-caption {
	font-size: 14px !important;
	line-height: 1.65;
	color: var(--text-3) !important;
}

/* inline CTA */
.sc-bt-inlinecta {
	position: relative;
	overflow: hidden;
	background: var(--eu-blue);
	border-radius: 20px;
	padding: 36px 34px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 1.1em;
}

.sc-bt-inlinecta__title {
	position: relative;
	font-size: 22px !important;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--white) !important;
	max-width: 26ch;
}

.sc-bt-inlinecta__body {
	position: relative;
	font-size: 16.5px !important;
	line-height: 1.65;
	color: var(--on-blue-body) !important;
	max-width: 52ch;
}

.sc-bt-inlinecta .sc-btn-row {
	position: relative;
	margin-top: 4px;
}

/* sidebar */
.sc-bt-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 96px;
}

.sc-bt-brief {
	background: var(--ink);
	border-radius: 18px;
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--white);
}

.sc-bt-brief__cover {
	width: 72px;
	height: 96px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--on-ink-cap);
}

.sc-bt-brief__title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.sc-bt-brief__body {
	font-size: 14px;
	line-height: 1.6;
	color: var(--on-ink-cap);
}

@media (max-width: 900px) {
	.sc-bt-body__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.sc-bt-aside {
		position: static;
	}
}
