.table-block {
	padding: 2rem 0;
}

.table-block-heading,
.table-block__cta {
	margin: 2rem 0 0;
}

.table-block__wrapper {
	padding: 2.25rem 0 0;
	position: relative;
}

.table-block__tabs-nav {
	position: relative;
	padding: 2.5rem 0 0;
	overflow-x: auto;
	margin: 0 auto;
	height: auto;
	gap: 1rem;
	border-bottom: 0.25rem solid transparent;
	width: 100%;
}

.table-block__tabs-nav::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 0.25rem;
	background: rgba(0, 0, 0, 0.15);
}

.table-block__tabs-btn {
	display: block;
	padding: 1rem 0.75rem;
	background: none;
	border: none;
	border-bottom: 0.25rem solid transparent;
	cursor: pointer;
	color: var(--black);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	z-index: 1;
	appearance: none;
}

.table-block__tabs-btn:hover,
.table-block__tabs-btn.is-active {
	border-bottom-color: var(--secondary-red);
}

.c-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	text-align: center;
	overflow-wrap: break-word;
}

.c-table__cell {
	border-right: 0.5px solid var(--black);
	border-bottom: 0.5px solid var(--black);
	padding: 1.5rem 0.25rem;
	line-height: 1;
	color: var(--black);
}

.c-table__row:last-child td {
	border-bottom: none;
}

.c-table__cell:last-child {
	border-right: none;
}

.c-table__row--heading .c-table__cell {
	background: var(--couchbase-system-light);
	font-weight: 700;
	padding: 0.75rem 0.25rem;
}

.c-table__row--eol-expired {
	background: #f3f3f3;
}

.c-table__cell--visible {
	display: table-cell;
}

.c-table--default,
.c-table--eol {
	border: 0.5px solid var(--black);
}

.feature-table__layout {
	display: flex;
	width: 100%;
	align-items: flex-start;
}

.feature-table__labels {
	flex: 0 0 8rem;
	padding-top: 2rem;
}

.feature-table__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.feature-table__column .feature-table__list {
	background: var(--white);
	border-radius: 0.75rem;
	box-shadow: 0 0 29px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.feature-table__columns {
	display: flex;
	gap: 0.5rem;
	flex: 1;
	padding: 2rem 1rem;
	overflow-x: auto;
}

.feature-table__column {
	flex: 1;
	margin: 0 1rem;
	min-width: 9rem;
}

.feature-table__cell--label {
	display: flex;
	align-items: center;
	min-height: 5.5rem;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 400;
	padding-right: 1rem;
	color: inherit;
	background: transparent;
}

.feature-table__cell--label.feature-table__cell--heading {
	font-weight: 700;
}

.feature-table__cell--card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4rem;
	padding: 1.5rem 2rem;
	border-bottom: 2px solid #d4cfca;
	text-align: center;
	background: var(--white);
}

.feature-table__cell--card.feature-table__cell--heading {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 1.25rem 1rem;
	border-bottom: none;
}

.feature-table__cell--highlight.bg-orange {
	background: var(--orange);
}

.feature-table__cell--highlight.bg-dark-grey {
	background: var(--dark-grey);
	color: var(--black);
}

.feature-table__column .feature-table__cell--card:last-child {
	border-bottom: none;
}

.table-cell-checks {
	display: flex;
	align-items: center;
	justify-content: center;
}

.table-cell-icon {
	display: inline-block;
}

.table-cell-rating {
	gap: 0.25rem;
}

.c-table__dots {
	display: none;
	text-align: center;
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	right: 0;
	margin: auto;
}

.c-table__dots .dot {
	height: 0.75rem;
	width: 0.75rem;
	margin: 0 0.25rem;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
	border: none;
}

.c-table__dots .dot.active {
	background: #000;
}

.expand-btn {
	padding: 0.75rem 2.5rem 0.75rem 1.25rem;
}

.expand-btn::before {
	position: absolute;
	content: "";
	width: 1.125rem;
	height: 0.75rem;
	right: 0.75rem;
	top: 0;
	bottom: 0;
	margin: auto;
	background: url(../../../images/decorative-items/down-white-arrow.svg)
		no-repeat center / contain;
}

.expand-btn.expanded::before {
	background: url(../../../images/decorative-items/up-white-arrow.svg)
		no-repeat center / contain;
}

.feature-table__columns::-webkit-scrollbar {
	height: 10px;
	width: 4px;
	background: #d9d9d9;
	border-radius: 5px;
}

.feature-table__columns::-webkit-scrollbar-thumb:horizontal {
	background: var(--black);
	border-radius: 10px;
}

.table-block
	.has-decoration__position--bottom-right.has-decoration__type--performance {
	bottom: -15rem;
	--decoration-scale: 1.2;
	right: -4rem;
}

.c-table__cell > img {
	width: 1.125rem;
	height: 1.125rem;
}

.vertical-align-middle .c-table__cell {
	vertical-align: middle;
}

.vertical-align-top .c-table__cell {
	vertical-align: top;
}

.vertical-align-bottom .c-table__cell {
	vertical-align: bottom;
}

@media (min-width: 768px) {
	.c-table__cell {
		display: table-cell;
	}

	.c-table__dot-controls {
		display: none;
	}

	.feature-table__layout {
		gap: 2.5rem;
	}

	.feature-table__columns {
		gap: 1.5rem;
		padding: 2rem 1.5rem;
	}

	.feature-table__column {
		margin: 0;
	}

	.feature-table__labels {
		padding-top: 1.5rem;
		flex: 0 0 16rem;
	}

	.table-block
		.has-decoration__position--bottom-right.has-decoration__type--performance {
		bottom: -18rem;
		--decoration-scale: 1.5;
		right: -3.25rem;
	}
}

@media all and (min-width: 992px) {
	.table-block
		.has-decoration__position--bottom-right.has-decoration__type--performance {
		bottom: -15.5rem;
		--decoration-scale: 2;
		right: 0.75rem;
	}
}
