/* GoConsent theme - Lawsuit defense (template-goconsent-defense.php). */

.def-plans {
	display: grid;
	/* Side by side only when each card gets at least 420px; otherwise they stack. */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	margin-inline: auto;
	padding-top: 14px; /* Room for the badge. */
}

.def-plans .plan-card {
	min-width: 0;
}

.def-plans .tick-list {
	gap: 8px;
}

.def-note {
	margin: 24px auto 0;
	color: var(--site-text-muted);
	font-size: var(--site-size-sm);
	text-align: center;
}

.def-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-lg);
	background: var(--site-surface);
}

.def-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--site-size-sm);
}

.def-table th,
.def-table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

.def-table thead th {
	color: var(--site-text-muted);
	font-weight: 600;
}

.def-table tr + tr td,
.def-table tbody + tbody th,
.def-table thead + tbody td {
	border-top: 1px solid var(--site-border);
}

.def-table td:last-child {
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.def-table__group th {
	padding-top: 18px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.def-table td:last-child {
		white-space: normal;
	}
}

/* "A tested method": the scanner validation report download. */
.def-sample {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.def-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	align-items: center;
	margin-top: 32px;
	padding: 20px 24px;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-lg);
	background: var(--site-brand-soft);
}

.def-proof__icon {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--site-surface);
	color: var(--site-brand);
}

.def-proof__icon svg {
	width: 24px;
	height: 24px;
}

.def-proof__body {
	flex: 1 1 320px;
}

.def-proof__title {
	margin: 0 0 4px;
	color: var(--site-heading);
	font-size: var(--site-size-md);
}

.def-proof__text {
	margin: 0;
	color: var(--site-text-body);
	font-size: var(--site-size-sm);
}

.def-proof__btn {
	flex: none;
}

/* "Which package fits?" under the package cards. */
.def-guide {
	margin: 32px 0 0; /* Full width of the package row above. */
	padding: 24px;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-lg);
	background: var(--site-surface);
}

.def-guide__title {
	margin: 0 0 16px;
	color: var(--site-heading);
	font-size: var(--site-size-md);
}

.def-guide__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px 28px;
}

.def-guide__name {
	margin: 0 0 4px;
	color: var(--site-brand);
	font-weight: 600;
}

.def-guide__text {
	margin: 0;
	color: var(--site-text-body);
	font-size: var(--site-size-sm);
}

.def-guide__note {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--site-border);
	color: var(--site-text-muted);
	font-size: var(--site-size-sm);
}
