.crp_related.crp-thumbs-grid {
	clear: both;
	margin: 10px auto;
}

.crp_related.crp-thumbs-grid h3, .crp_related.crp-thumbs-grid figure {
	margin: 0 !important;
}

.crp_related.crp-thumbs-grid ul {
	display: grid;
	grid-gap: 10px;
	margin: 0;
	justify-items: center;
	list-style: none;
	padding: 0;
}

.crp_related.crp-thumbs-grid ul li {
	text-align: center;
	border: 1px solid #ddd;
	display: flex;
	flex-direction: column;
	word-break: break-word;
}

.crp_related.crp-thumbs-grid li:hover {
	background: #eee;
	border-color: #bbb;
}

.crp_related.crp-thumbs-grid a:focus-visible {
	border: 1px solid #000;
	border-radius: 7px;
}

.crp_related.crp-thumbs-grid ul li a.crp_link {
	flex-grow: 1;
	display: grid;
	overflow: hidden;
	padding: 3px;
}

.crp_related.crp-thumbs-grid ul li a.crp_link .crp_thumb {
	grid-row-start: 1;
	grid-row-end: 3;
	grid-column-start: 1;
	grid-column-end: 2;
}

.crp_related.crp-thumbs-grid ul li a.crp_link .crp_title {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-row-start: 2;
	grid-row-end: 3;
	grid-column-start: 1;
	grid-column-end: 2;
}

.crp_related.crp-thumbs-grid a {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.crp_related.crp-thumbs-grid a:hover {
	text-decoration: none;
}

.crp_related.crp-thumbs-grid ul li img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.crp_related.crp-thumbs-grid .crp_title {
	color: #fff !important;
	padding: 3px;
	font-size: .9em;
	text-shadow: .1em .1em .2em #000;
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	width: 100%;
	overflow: hidden;
	line-height: initial;
}

.crp_related.crp-thumbs-grid li:hover .crp_title {
	background-color: rgba(0, 0, 0, 0.8);
}

.crp_related.crp-thumbs-grid li {
	vertical-align: bottom;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	list-style-type: none;
}

.crp_clear {
	clear: both;
}

.crp_title:visited {
	color: #fff !important;
}