/* ============================================================
   Top Benefits Block – style.css
   Präfix: tb-
   ============================================================ */

.tb-wrap {
	--tb-accent: #c0392b;
	--tb-icon-bg: #f5e6e6;
	--tb-card-bg: #f5f0ee;
	--tb-border: #e8c8c8;
	--tb-columns: 3;

	width: 100%;
	padding: 16px 0;
}

.tb-grid {
	display: grid;
	grid-template-columns: repeat( var( --tb-columns ), 1fr );
	gap: 24px;
}

/* ── Card ── */
.tb-card {
	background-color: var( --tb-card-bg );
	border: 4px solid var( --tb-border );
	border-radius: 16px;
	padding: 36px 28px 32px;
	text-align: center;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	cursor: default;
}

.tb-card:hover {
	border-color: var( --tb-border );
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
	transform: translateY( -3px );
}

/* ── Icon ── */
.tb-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background-color: var( --tb-icon-bg );
	margin: 0 auto 20px;
	transition: background-color 0.25s ease;
}

.tb-card:hover .tb-icon-wrap {
	background-color: var( --tb-icon-bg );
}

.tb-icon-img,
.tb-icon-svg {
	width: 32px;
	height: 32px;
	color: var( --tb-accent );
	transition: color 0.25s ease, filter 0.25s ease;
	display: block;
}

/* SVG uploaded as <img> needs color via filter on hover */
.tb-card:hover .tb-icon-svg {
	/*color: #ffffff;*/
	/*stroke: #ffffff;*/
}
/*
.tb-card:hover .tb-icon-img {
	filter: brightness(0) invert(1);
}*/

/* ── Title ── */
.tb-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 10px;
	line-height: 1.3;
}

/* ── Text ── */
.tb-text {
	font-size: 16px;
	font-weight: 400;
	color: #666666;
	line-height: 1.6;
}

/* ── Responsive ── */
@media ( max-width: 768px ) {
	.tb-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 16px;
	}
}

@media ( max-width: 480px ) {
	.tb-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.tb-card {
		padding: 28px 20px 24px;
	}
}
