/* =========================================================
   Comparison with other companies
   ========================================================= */

.kb-rivals {
	margin-block: 24px;
	padding-block: 24px;
	text-align: center;
}
.kb-rivals__inner {
	margin-bottom: 48px;
	padding-top: 48px;
}
.kb-rivals__head {
	display: flow-root;
	padding-inline: 12px;
}
.kb-rivals__icon {
	display: block;
	margin: 0 auto 16px;
}
.kb-rivals__head h2 { margin: 0 0 24px; }
.kb-rivals__head .kb-rule { margin: 0 0 16px; }

.kb-rivals__frame {
	margin-inline: auto;
	padding-inline: 12px;
}
@media (min-width: 992px) {
	.kb-rivals__frame { width: 83.33333333%; }
}
.kb-rivals__scroll {
	overflow: auto;
	padding: 8px;
	border-radius: 6px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.kb-rivals__table {
	width: 100%;
	min-width: 600px;
	margin: 0;
	border-collapse: separate;
	border-spacing: 2px;
}
.kb-rivals__table th,
.kb-rivals__table td {
	padding: 1rem .5rem;
	border: 0;
	font-size: .9rem;
	line-height: 1.5;
	vertical-align: middle;
}
.kb-rivals__table th {
	width: 25%;
	background: #9a9a9a;
	color: #fff;
	font-weight: 700;
}
.kb-rivals__table td {
	background: #e5e5e5;
	color: #212529;
}
.kb-rivals__table .kb-rivals__ours {
	background: #b8edfc;
	color: #3164a2;
}
.kb-rivals__ours--mark { font-weight: 700; }

.kb-rivals__table .kb-rivals__ours-head { background: #0c60b0; }
.kb-rivals__table .kb-rivals__a-head { background: #6b37a1; }
.kb-rivals__table .kb-rivals__b-head { background: #26983a; }

/* Rounded outer corners */
.kb-rivals__table thead th:first-child { border-top-left-radius: 6px; }
.kb-rivals__table thead th:last-child { border-top-right-radius: 6px; }
.kb-rivals__table tbody tr:last-child th { border-bottom-left-radius: 6px; }
.kb-rivals__table tbody tr:last-child td:last-child { border-bottom-right-radius: 6px; }
