.tbc-card-header {
	background: #1c6be1;
	color: #061e38;
	padding: 7px 10px 8px;
}

.tbc-card .tbc-card-price { font-size: 20px; line-height: 1.3; font-weight: 500; }
.tbc-card .tbc-card-duration { display: block; color: #fff; font-size: 14px; line-height: 1.3; font-weight: 600; }

.tbc-card-body {
	background: #001d3b;
	color: #fff;
	padding: 26px 24px 18px;
}

.tbc-card .tbc-card-title { display: block; font-size: 20px; line-height: 1.3; }
.tbc-card .tbc-card-description { font-size: 13px; line-height: 1.55; margin: 18px 0 20px; font-weight: 400; }
.tbc-card .tbc-card-capacity { font-size: 15px; line-height: 1.4; margin: 0 0 20px; font-weight: 400; }
.tbc-card-capacity i { margin-right: 5px; }
.tbc-card .tbc-card-link { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; line-height: 1.4; font-weight: 400; transition: color 0.3s ease; }
.tbc-card .tbc-card-link i { font-size: 13px; line-height: 1; }
.tbc-card .tbc-card-title a { color: inherit; text-decoration: none; }

.tbc-card--light .tbc-card-header {
	background: #001d3b;
	color: #fff;
}

.tbc-card--light .tbc-card-price {
	color: #1680ff;
}

.tbc-card--light .tbc-card-body {
	background: #1c6be1;
	color: #061e38;
}

/* Also repair grids created before the container class was saved correctly. */
:is(.tbc-migration-grid, .e-con.e-grid:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) {
	grid-template-rows: none !important;
	grid-auto-rows: auto;
}

:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(odd) .tbc-card--auto .tbc-card-description,
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(odd) .tbc-card--auto .tbc-card-capacity { color: #00c6e7; }
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(even) .tbc-card--auto .tbc-card-header { background: #001d3b; color: #fff; }
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(even) .tbc-card--auto .tbc-card-price { color: #1680ff; }
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(even) .tbc-card--auto .tbc-card-body { background: #1c6be1; color: #061e38; }
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget:nth-child(even) .tbc-card--auto .tbc-card-link { color: #061e38; }
:is(.tbc-migration-grid, .e-con:has(> .elementor-widget .tbc-card--auto), .e-con-inner:has(> .elementor-widget .tbc-card--auto)) > .elementor-widget .tbc-card--auto .tbc-card-link:hover { color: #fff; }

.tbc-card--dark .tbc-card-description,
.tbc-card--dark .tbc-card-capacity {
	color: #00c6e7;
}

.tbc-card-image {
	display: block;
	overflow: hidden;
	background: #001d3b;
	line-height: 0;
}

.tbc-card-image img {
	transition: transform 0.35s ease;
	transform: scale(1.01);
	transform-origin: center;
	backface-visibility: hidden;
}

.tbc-card:hover .tbc-card-image img {
	transform: scale(1.08);
}

.tbc-card-body a {
	color: #36a6ff;
	transition: color 0.3s ease;
}

.tbc-card--light .tbc-card-body a {
	color: #061e38;
}

.tbc-card-body a:hover,
.tbc-card--light .tbc-card-body a:hover {
	color: #fff;
}

.tbc-card-description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.tbc-prices .tbc-prices-heading {
	color: #1c6be1;
	font-size: 44px;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid #e5eaf0;
}

.tbc-prices .tbc-price-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tbc-prices .tbc-price-list li {
	display: flex;
	align-items: baseline;
	gap: 15px;
	color: #253d57;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	padding: 0 0 15px;
}

.tbc-prices .tbc-price-list li i {
	color: #1c6be1;
	font-size: 14px;
	width: 12px;
	flex: 0 0 12px;
}

.tbc-prices .tbc-price-list + .tbc-prices-heading {
	margin-top: 14px;
}

.tbc-prices .tbc-section-heading {
	font-size: 22px;
}

.tbc-prices .tbc-request-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 41px;
	box-sizing: border-box;
	background: #1c6be1;
	color: #fff;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.tbc-prices .tbc-request-button:hover {
	background: #001d3b;
	color: #fff;
}
