/* ==========================================================================
   Investment Brief — /investment-brief/
   Self-contained: duplicates the small set of primitives (cost table, FAQ
   two-column layout) that live elsewhere in per-template CSS rather than
   core, per the site's convention.
   ========================================================================== */

.sc-btn-row--mixed {
	align-items: center;
	margin-top: 6px;
}

.sc-ib-trust {
	font-size: 14px;
	color: var(--on-ink-cap);
	margin-top: -8px;
}

/* ---- Form ---- */
.sc-ib-form__wrap {
	max-width: 620px;
}

.sc-ib-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sc-ib-form__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.sc-formalert {
	border-radius: 12px;
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.55;
}

.sc-formalert--ok {
	background: var(--go-tint);
	color: #1c5c39;
}

/* ---- What is inside ---- */
.sc-ib-sections {
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.sc-ib-section {
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 22px 24px;
}

.sc-ib-section__num {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--eu-blue-tint);
	color: var(--eu-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
}

.sc-ib-section__title {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin: 0 0 4px;
}

.sc-ib-section__body {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-2);
	margin: 0;
}

/* ---- Stat tiles ---- */
.sc-ib-stats {
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 36px;
}

.sc-ib-stat {
	align-items: flex-start;
	gap: 8px;
}

.sc-ib-stat__num {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--eu-blue);
}

.sc-ib-stat__label {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink);
}

.sc-ib-stat__note {
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-3);
}

/* ---- Cost / tax table (duplicated from why-gabrovo.css) ---- */
.sc-table-wrap {
	overflow-x: auto;
}

.sc-ib-costwrap {
	max-width: 480px;
}

.sc-wg-cost {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.sc-wg-cost th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-3);
	padding: 0 0 10px;
	border-bottom: 1px solid var(--border-2);
}

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

.sc-wg-cost td {
	padding: 12px 0;
	border-bottom: 1px solid var(--border-2);
	color: var(--text-2);
}

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

.sc-wg-cost .ta-r {
	text-align: right;
}

.sc-wb-costfoot {
	border-top: 1px solid var(--border-2);
	padding-top: 16px;
	font-size: 14px;
	line-height: 1.6;
}

/* ---- Who it is for (sc-aud-card duplicated from service.css) ---- */
.sc-ib-who {
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.sc-aud-card {
	color: var(--ink);
	transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}

.sc-aud-card:hover {
	color: var(--ink);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(26, 31, 46, 0.08);
}

.sc-aud-card:hover .sc-card__link {
	text-decoration: underline;
}

.sc-aud-card__title {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.3;
}

.sc-aud-card__body {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-2);
	flex: 1;
}

/* ---- Sources list ---- */
.sc-ib-sources {
	columns: 2;
	column-gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-2);
}

.sc-ib-sources li {
	break-inside: avoid;
	padding-left: 14px;
	position: relative;
	margin-bottom: 6px;
}

.sc-ib-sources li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--eu-blue);
}

/* ---- FAQ two-column layout ---- */
.sc-faq {
	background: var(--warm);
}

.sc-faq__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
	gap: 56px;
	align-items: start;
}

.sc-faq__intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sc-faq__intro .sc-h2 {
	max-width: 15ch;
}

.sc-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (max-width: 1024px) {
	.sc-ib-stats,
	.sc-ib-who {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.sc-ib-sections,
	.sc-ib-form__grid {
		grid-template-columns: 1fr;
	}

	.sc-faq__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.sc-ib-stats,
	.sc-ib-who {
		grid-template-columns: 1fr;
	}

	.sc-ib-sources {
		columns: 1;
	}
}
