/* =============================================================================
 * LITSLINK BLOCKS — Feature cards · 2 cols expandable (acf/ll-feature-2col-expandable)
 * Self-contained: block-scoped palette via --f2e-* vars. Literal font fallback.
 * No global .block-head. Palette sampled from fintech mockup (09-j.png @1440).
 * Layout: centered section header → 2-col card grid. Each card: icon tile +
 * title row, body paragraph, use-case checklist, tag-pill row.
 * ========================================================================== */

/* ── Custom properties ──────────────────────────────────────────────────── */
.block-ll-feature-2col-expandable {
	--f2e-section-bg:    #f9fafb;
	--f2e-card-bg:       #ffffff;
	--f2e-card-border:   #dfe5ed;
	--f2e-card-radius:   16px;

	--f2e-ink:           #010005;
	--f2e-muted:         #374151;
	--f2e-label:         #6b7280;

	--f2e-tile-bg:       #ebf6fd;
	--f2e-accent:        #1690d3;

	--f2e-tag-bg:        #eef6fd;
	--f2e-tag-ink:       #1690d3;

	--f2e-check-color:   #1690d3;

	font-family: var(--ll-font, 'Montserrat', 'Montserrat-fallback', Arial, sans-serif);
	background: var(--f2e-section-bg);
	padding: 80px 0;
	box-sizing: border-box;
}

.block-ll-feature-2col-expandable *,
.block-ll-feature-2col-expandable *::before,
.block-ll-feature-2col-expandable *::after {
	box-sizing: border-box;
}

/* ── Inner wrapper ──────────────────────────────────────────────────────── */
.block-ll-f2e__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── Section header ─────────────────────────────────────────────────────── */
.block-ll-f2e__head {
	text-align: center;
	margin: 0 auto 56px;
	max-width: 840px;
}

.block-ll-f2e__title {
	margin: 0;
	font-size: 40px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--f2e-ink);
}

.block-ll-f2e__subtitle {
	margin: 20px auto 0;
	max-width: 720px;
	font-size: 16px;
	line-height: 27px;
	font-weight: 400;
	color: var(--f2e-muted);
}

/* ── Grid ───────────────────────────────────────────────────────────────── */
.block-ll-f2e__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	/* stretch (not start) so both cards in a row share the tallest card's height;
	   each card is a flex column with the tag row pinned to the bottom via
	   margin-top:auto, so the extra height sits between body and tags. */
	align-items: stretch;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.block-ll-f2e__card {
	background: var(--f2e-card-bg);
	border: 1px solid var(--f2e-card-border);
	border-radius: var(--f2e-card-radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Card header row: icon tile + title */
.block-ll-f2e__card-hd {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.block-ll-f2e__tile {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--f2e-tile-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.block-ll-f2e__tile img {
	display: block;
	max-width: 24px;
	max-height: 24px;
}

.block-ll-f2e__card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--f2e-ink);
	/* vertically centre against the tile */
	padding-top: 8px;
}

/* Body */
.block-ll-f2e__card-body {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	color: var(--f2e-muted);
}

/* ── Use-cases section ──────────────────────────────────────────────────── */
.block-ll-f2e__uc {
	margin-bottom: 24px;
}

.block-ll-f2e__uc-label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--f2e-label);
}

.block-ll-f2e__uc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.block-ll-f2e__uc-item {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: var(--f2e-muted);
}

/* Checkmark bullet via ::before pseudo-element */
.block-ll-f2e__uc-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 14px;
	height: 10px;
	/* Inline SVG checkmark as background */
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='%231690d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* ── Tag pills ──────────────────────────────────────────────────────────── */
.block-ll-f2e__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--f2e-card-border);
}

.block-ll-f2e__tag {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 100px;
	background: var(--f2e-tag-bg);
	color: var(--f2e-tag-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.block-ll-feature-2col-expandable { padding: 64px 0; }
	.block-ll-f2e__title { font-size: 30px; }
	.block-ll-f2e__head { margin-bottom: 40px; }
}

@media (max-width: 767px) {
	.block-ll-feature-2col-expandable { padding: 48px 0; }
	.block-ll-f2e__title { font-size: 24px; line-height: 32px; }
	.block-ll-f2e__subtitle { font-size: 15px; line-height: 24px; }
	.block-ll-f2e__grid { grid-template-columns: 1fr; gap: 16px; }
	.block-ll-f2e__card { padding: 24px; }
	.block-ll-f2e__card-hd { gap: 12px; }
	.block-ll-f2e__card-title { font-size: 16px; padding-top: 6px; }
}
