/**
 * setupcompany.eu — Why Bulgaria pillar (Screen 6)
 */

.sc-wb-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 at 900px here made the wrap center *itself* inside that box,
	   pulling the H1/lead in far further than the full-width rail beneath it.
	   Line-length is already handled per-element: .sc-railed is max-width:62ch
	   and the H1 carries its own ch cap inline. */
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-bottom: 56px;
}

.sc-wb-hero__wrap .sc-h1 {
	line-height: 1;
}

/* ---- big picture ------------------------------------------- */
.sc-wb-big__grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sc-wb-big__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sc-wb-big__badge {
	background: var(--warm);
	color: var(--text-3);
	border-radius: 999px;
	padding: 4px 11px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sc-wb-big__badge.is-live {
	background: var(--go-tint);
	color: var(--go);
}

.sc-wb-source {
	font-size: 12.5px;
	color: var(--text-3);
	border-top: 1px solid var(--border-2);
	padding-top: 12px;
	margin-top: 4px;
}

/* body-paragraph blocks reused inside the tax/cost/location sections */
.sc-section--ink .sc-prose {
	color: var(--white);
}

.sc-section--ink .sc-prose h3 {
	color: var(--white);
}

.sc-wb-summary {
	background: var(--white);
	border-radius: 20px;
	border-left: 4px solid var(--yellow);
	padding: 32px 34px;
	display: grid;
	grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
	gap: 40px;
	align-items: center;
	box-shadow: var(--shadow-card);
	margin-top: 20px;
}

.sc-wb-summary__title {
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.35;
}

.sc-wb-summary p:not(.sc-wb-summary__title) {
	font-size: 17px;
	line-height: 1.7;
	color: var(--text-2);
}

/* ---- tax tiles ------------------------------------------- */
.sc-wb-tax__grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sc-wb-tax__tile {
	position: relative;
	overflow: hidden;
	background: var(--warm);
	border-radius: 20px;
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sc-wb-tax__tile.is-feature {
	background: var(--eu-blue);
	color: var(--white);
}

.sc-wb-tax__num {
	font-size: clamp(46px, 5.5vw, 62px);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--eu-blue);
	font-variant-numeric: tabular-nums;
	position: relative;
}

.is-feature .sc-wb-tax__num {
	color: var(--yellow);
}

.sc-wb-tax__title {
	font-size: 19px;
	font-weight: 600;
	position: relative;
}

.is-feature .sc-wb-tax__title {
	color: var(--white);
}

.sc-wb-tax__body {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-2);
	position: relative;
}

.is-feature .sc-wb-tax__body {
	color: var(--on-blue-body);
}

/* ---- bar panel ------------------------------------------ */
.sc-wb-barpanel {
	background: var(--warm);
	border-radius: 20px;
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 20px;
}

.sc-wb-barpanel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.sc-wb-barpanel__note {
	font-size: 13px;
	color: var(--text-3);
}

.sc-wb-bars {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sc-wb-bar {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sc-wb-bar__label {
	width: 116px;
	flex: none;
	font-size: 15px;
	color: var(--text-2);
}

.sc-wb-bar__label.is-hl {
	font-weight: 600;
	color: var(--ink);
}

.sc-wb-bar__fill {
	height: 26px;
	border-radius: 4px;
	background: var(--eu-blue-tint-bd);
}

.sc-wb-bar__fill.is-hl {
	background: var(--yellow);
}

.sc-wb-bar__val {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-2);
	font-variant-numeric: tabular-nums;
}

.sc-wb-bar__val.is-hl {
	font-weight: 700;
	color: var(--ink);
}

.sc-wb-barpanel__foot,
.sc-wb-costfoot {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid var(--border-2);
	padding-top: 18px;
}

.sc-wb-barpanel__foot p,
.sc-wb-costfoot p {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-2);
	flex: 1;
	min-width: 260px;
}

.sc-wb-barpanel__foot a,
.sc-wb-costfoot a {
	font-size: 15px;
	font-weight: 600;
	color: var(--eu-blue);
	white-space: nowrap;
}

.sc-wb-costfoot {
	border-top: 0;
	padding-top: 0;
	margin-top: 20px;
}

.sc-wb-costfoot p {
	color: var(--on-ink-cap);
}

.sc-wb-costfoot a {
	color: var(--yellow);
}

/* ---- cost table (on ink) ------------------------------- */
/* .sc-table-wrap itself is only defined in pricing.css (not loaded on this
   template) — provide the overflow/radius behaviour here so tables scroll
   inside their own box instead of spilling out of a grid column. */
.sc-table-wrap {
	overflow-x: auto;
	border-radius: 20px;
}

.sc-wb-costwrap {
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.sc-wb-cost {
	width: 100%;
	min-width: 700px;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.05);
}

.sc-wb-cost th {
	background: rgba(255, 255, 255, 0.06);
	padding: 18px 24px;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--on-ink-cap);
}

.sc-wb-cost th.is-hl,
.sc-wb-cost td.is-hl {
	color: var(--yellow);
}

.sc-wb-cost td {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 24px;
	font-size: 15px;
	color: var(--white);
	font-variant-numeric: tabular-nums;
}

.sc-wb-cost td.is-hl {
	font-weight: 700;
}

.sc-wb-cost td:not(.is-hl):not(:first-child) {
	color: var(--on-ink-body);
}

/* ---- location ---------------------------------------- */
.sc-wb-loc {
	display: grid;
	grid-template-columns: minmax(300px, 1fr) minmax(280px, 1fr);
	gap: 20px;
	align-items: start;
}

/* key-distances table — light variant of .sc-wb-cost (that one is tuned for the ink section) */
.sc-wb-loc .sc-wb-costwrap {
	border: 1px solid var(--border-2);
	min-width: 0; /* let it shrink inside the grid track instead of overflowing */
}

.sc-wb-dist {
	width: 100%;
	min-width: 460px;
	background: var(--white);
}

.sc-wb-dist th {
	background: var(--warm);
	color: var(--text-3);
}

.sc-wb-dist th.is-hl,
.sc-wb-dist td.is-hl {
	color: var(--eu-blue);
}

.sc-wb-dist td {
	border-top: 1px solid var(--border-2);
	color: var(--ink);
}

.sc-wb-dist td:not(.is-hl):not(:first-child) {
	color: var(--text-2);
}

.sc-wb-loc__stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* .sc-mark (base + route/bars variants) is only defined in persona.css (not
   loaded on this template) — provide it here too for the location cards. */
.sc-mark {
	display: flex;
	align-items: flex-end;
	height: 40px;
}

.sc-mark--bars {
	gap: 4px;
}

.sc-mark--bars i {
	width: 9px;
	height: 40px;
	border-radius: 2px;
	background: var(--eu-blue);
}

.sc-mark--bars i:last-child {
	background: var(--eu-blue-tint-bd);
}

.sc-mark--route {
	align-items: center;
	width: 100%;
	max-width: 200px;
	gap: 7px;
	height: 40px;
}

.sc-mark--route i {
	width: 11px;
	height: 11px;
	flex: none;
	border-radius: 999px;
	background: var(--eu-blue);
}

.sc-mark--route b {
	flex: 1;
	max-width: 80px;
	height: 2px;
	background: var(--eu-blue-tint-bd);
}

.sc-mark--plane {
	color: var(--eu-blue);
}

/* ---- workforce / investment --------------------------- */
.sc-wb-wf__grid,
.sc-wb-inv__grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* .sc-pn-data__* is only defined in persona.css (not loaded on this template) —
   provide it here too, since the workforce tiles and investment footnote use it. */
.sc-pn-data__tile {
	background: var(--warm);
	border-radius: 18px;
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sc-pn-data__num {
	font-size: clamp(34px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--eu-blue);
	font-variant-numeric: tabular-nums;
}

.sc-pn-data__body {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-2);
}

.sc-pn-data__note {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-3);
	border-top: 1px solid var(--border-2);
	padding-top: 18px;
	margin-top: 44px;
}

.sc-wb-inv__top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sc-wb-inv__sector {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-3);
}

/* ---- deep dive index --------------------------------- */
.sc-wb-deep {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.sc-wb-deep a {
	font-size: 15px;
	color: var(--white);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	padding-bottom: 9px;
}

.sc-wb-deep a:last-child {
	border-bottom: 0;
}

.sc-wb-deep a:hover {
	color: var(--yellow);
}

@media (max-width: 900px) {
	.sc-wb-summary,
	.sc-wb-loc {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
