/**
 * Tick lists for House & Land packages.
 *
 * Markup comes from [dbn_package_ticks] and [dbn_package_features] in
 * inc/package-lists.php. Colours and type are read from Elementor's global
 * tokens, so changing a Global Colour or Global Font changes these too.
 *
 * The tick is the lucide check icon, applied as a mask so it takes its colour
 * from the list. That keeps one SVG for every state instead of a coloured copy
 * per variant.
 */

.dbn-ticklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.dbn-ticklist li {
	position: relative;
	padding-inline-start: 30px;
	font-family: var( --e-global-typography-text-font-family, inherit );
	font-size: var( --e-global-typography-text-font-size, 17px );
	line-height: 1.5;
	color: var( --e-global-color-text, #3D5A5F );
}

.dbn-ticklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	background-color: var( --e-global-color-primary, #017580 );
	-webkit-mask-image: var( --dbn-tick );
	mask-image: var( --dbn-tick );
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.dbn-ticklist {
	--dbn-tick: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E" );
}

/* The card list sits under a rule, tighter and smaller than body copy. */
.dbn-ticklist--card {
	gap: 10px;
}

.dbn-ticklist--card li {
	font-size: var( --e-global-typography-dbnbodysm-font-size, 14px );
}

/* The package page list runs two columns once there is room for them. */
@media ( min-width: 768px ) {

	.dbn-ticklist--features {
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}
}
