.bookmakerReviewListWrapper {
	container-type: inline-size;
	container-name: bookmaker-review-list;
	margin: var(--spacing--16) 0;
}

.bookmakerReviewList {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 16px;
}

.bookmakerReviewList .bookmakerReviewListItem {
	border: thin solid var(--light-gray);
	border-spacing: 0;
	font-size: 16px;
}

.bookmakerReviewList .bookmakerReviewList__header {
	background-color: var(--light-gray);
	border-collapse: collapse;
}

.bookmakerReviewList .bookmakerReviewList__header th {
	position: relative;
	padding: 16px;
	line-height: 24px;
}

.bookmakerReviewList .bookmakerReviewList__header th:not(:last-child)::before {
	position: absolute;
	content: "";
	top: 16px;
	bottom: 16px;
	right: 0;
	border-right: thin solid var(--gray);
}

.bookmakerReviewList tbody td {
	border-top: thin solid var(--light-gray);
	border-bottom: thin solid var(--light-gray);
}

.bookmakerReviewList tbody td:first-child {
	border-left: 1px solid #d1d5db;
}

.bookmakerReviewList tbody td:last-child {
	border-right: 1px solid #d1d5db;
}

.bookmakerReviewList tbody td:first-child,
.bookmakerReviewList .bookmakerReviewList__header th:first-child {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

/* Target the last cell of a row */
.bookmakerReviewList tbody td:last-child,
.bookmakerReviewList .bookmakerReviewList__header th:last-child {
	/*border-right: thin solid var(--light-gray);*/
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.bookmakerReviewList .bookmakerReviewListItem__col {
	padding-top: var(--spacing--32);
	padding-bottom: var(--spacing--32);
}

.bookmakerReviewList .bookmakerReviewListItem__col.--logo {
	width: 20%;
	text-align: center;
	vertical-align: middle;
	padding-left: var(--spacing--16);
	padding-right: var(--spacing--16);
}

.bookmakerReviewList .bookmakerReviewListItem__logoLink {
	display: inline-flex;
}

.bookmakerReviewList .bookmakerReviewListItem__col.--ratings {
	width: 28%;
	padding-left: var(--spacing--16);
	padding-right: var(--spacing--16);
}

.bookmakerReviewList .bookmakerReviewListItem__col.--ratings .bookmakerReviewListItem__rating:not(:last-child) {
	margin-bottom: var(--spacing--8);
}

.bookmakerReviewList .bookmakerReviewListItem__col.--perex {
	width: 52%;
	padding-left: var(--spacing--16);
	padding-right: var(--spacing--16);
	vertical-align: top;
}

.bookmakerReviewList .bookmakerReviewListItem__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	border-radius: var(--border-radius);
	padding: var(--spacing--8);
	gap: var(--spacing--12);
	width: 100%;
}

.bookmakerReviewList .bookmakerReviewListItem__logo {
	max-width: 120px;
	width: 120px;
	height: 40px;
	padding: var(--spacing--4) var(--spacing--8);
	background-color: var(--bookmaker-color, transparent);
	border-radius: var(--border-radius);
	object-fit: contain;
}

.bookmakerReviewList .bookmakerReviewListItem__body {
	display: grid;
	grid-template-columns: minmax(0, 210px) minmax(0,600px) 1fr;
	gap: var(--spacing--32);
	margin-top: var(--spacing--32);
}

.bookmakerReviewList .bookmakerReviewListItem__ratingLabel {
	font-weight: bold;
	color: var(--black);
	line-height: 1.25;
}

.bookmakerReviewList .bookmakerReviewListItem__ratingLabel a {
	font-weight: 400;
	color: var(--black);
}

.bookmakerReviewList .bookmakerReviewListItem__ratingLabel a:hover {
	text-decoration: none;
}

.bookmakerReviewList .bookmakerReviewListItem__spacer {
	visibility: hidden;
	height: var(--spacing--16);
}

.bookmakerReviewList .bookmakerReviewListItem__spacer:last-child {
	display: none;
}

.bookmakerReviewList .bookmakerReviewListItem__linksBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
	gap: 10px;
}

.bookmakerReviewListWrapper .bookmakerReviewList .bookmakerReviewListItem__linksBlock {
	flex-direction: row;
	flex-wrap: wrap;
}

.bookmakerReviewListWrapper .bookmakerReviewList .bookmakerReviewListItem__linksBlock:not(:empty) {
	margin-top: 1rem;
}

.bookmakerReviewList .bookmakerReviewListItem__linksBlock .more_info_link {
    color: var(--darker-green);
	font-size: 16px;
    font-weight: normal;
    text-decoration: underline;
    text-decoration-color: inherit;
}

.bookmakerReviewList .bookmakerReviewListItem__description {
	margin: 0;
}

.bookmakerReviewList .bookmakerReviewListItem__linksBlock .more_info_link:hover {
    text-decoration: none;
}

@container bookmaker-review-list (min-width: 968px) {
	.bookmakerReviewList .bookmakerReviewListItem__description {
		padding: 0;
	}
}

@container bookmaker-review-list (max-width: 968px) {
	.bookmakerReviewList .bookmakerReviewList__header {
		display: none;
	}
	.bookmakerReviewList .bookmakerReviewListItem {
		display: flex;
		flex-direction: column;
		border-radius: var(--border-radius);
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col {
		width: 100%;
		padding-left: var(--spacing--32);
		padding-right: var(--spacing--32);

	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings {
		padding-top: 0;
		padding-bottom: var(--spacing--16);
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--review {
		padding-top: var(--spacing--16);
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col:not(:last-child) {
		border-bottom: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col:not(:first-child) {
		border-top: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col:first-child {
		border-left: 0;
		border-top: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col:last-child {
		border-bottom: 0;
		border-right: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--perex {
		padding-top: 0;
		padding-bottom: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--perex p {
		margin-bottom: 0;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings {
		display: flex;
		gap: var(--spacing--8)
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings .bookmakerReviewListItem__rating  {
		width: 100%;
		margin-bottom: 0;
	}

	.bookmakerReviewList .bookmakerReviewListItem__linksBlock .more_info_link {
		font-size: 14px;
	}

	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings .bookmakerReviewListItem__rating .--editor:last-child,
	.bookmakerReviewList .bookmakerReviewListItem__linksBlock, .bookmakerReviewList .bookmakerReviewListItem__linksBlock .btn-primary {
		width: 100%;
	}

	.bookmakerReviewList .bookmakerReviewListItem__description {
		margin-bottom: var(--spacing--16);
	}
	.bookmakerReviewListWrapper .bookmakerReviewList .bookmakerReviewListItem__linksBlock:not(:empty) {
		margin-top: 0;
		margin-bottom: var(--spacing--24);
		width: 100%;
		flex-wrap: wrap;
	}
	.bookmakerReviewList .bookmakerReviewListItem__linksBlock .more_info_link {
		width: 100%;
		text-align: center;
	}
}

@container bookmaker-review-list (max-width: 468px) {
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings .bookmakerReviewListItem__rating  {
		width: 100%;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col.--ratings {
		flex-direction: column;
	}
	.bookmakerReviewList .bookmakerReviewListItem .bookmakerReviewListItem__col {
		padding-left: var(--spacing--16);
		padding-right: var(--spacing--16);
		padding-bottom: var(--spacing--16);
		padding-top: var(--spacing--16);
	}
}
