.rcc-match-galleries-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 32px;
}

.rcc-match-gallery-card {
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.rcc-match-gallery-card__image-link {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
	text-decoration: none;
}

.rcc-match-gallery-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rcc-match-gallery-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	background: #0b5f2a;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0;
}

.rcc-match-gallery-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 190px;
	padding: 18px;
}

.rcc-match-gallery-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.25;
}

.rcc-match-gallery-card__title a {
	color: inherit;
	text-decoration: none;
}

.rcc-match-gallery-card__title a:hover,
.rcc-match-gallery-card__title a:focus {
	text-decoration: underline;
}

.rcc-match-gallery-card__meta,
.rcc-match-gallery-card__count {
	margin: 0 0 8px;
	color: #555;
	font-size: 14px;
	line-height: 1.4;
}

.rcc-match-gallery-card__result {
	width: 100%;
	margin: 8px 0 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 12px;
}

.rcc-match-gallery-card__result-text {
	margin: 0 0 6px;
	color: #0b5f2a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.rcc-match-gallery-card__scoreline {
	margin: 0 0 10px;
	color: #333;
	font-size: 13px;
	line-height: 1.4;
}

.rcc-match-gallery-highlights {
	display: grid;
	gap: 6px;
}

.rcc-match-gallery-highlight {
	margin: 0;
	color: #333;
	font-size: 13px;
	line-height: 1.35;
}

.rcc-match-gallery-highlight__label {
	display: block;
	color: #666;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.rcc-match-gallery-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	border: 0;
	border-radius: 4px;
	padding: 10px 14px;
	background: #dcac2f;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
}

.rcc-match-gallery-button:hover,
.rcc-match-gallery-button:focus {
	background: #c9971d;
	color: #111;
	text-decoration: none;
}

.rcc-match-gallery-button--back {
	margin: 0 0 24px;
}

.rcc-match-gallery-single__header {
	margin: 0 0 24px;
}

.rcc-match-gallery-single__title {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.15;
}

.rcc-match-gallery-single__date {
	margin: 0;
	color: #555;
	font-size: 16px;
}

.rcc-match-gallery-single__result {
	margin: 0 0 28px;
	border-left: 4px solid #0b5f2a;
	padding: 18px 20px;
	background: #f5faf7;
}

.rcc-match-gallery-single__result-title {
	margin: 0 0 8px;
	color: #0b5f2a;
	font-size: 24px;
	line-height: 1.2;
}

.rcc-match-gallery-single__scoreline,
.rcc-match-gallery-single__ground {
	margin: 0 0 8px;
	color: #333;
	font-size: 15px;
	line-height: 1.45;
}

.rcc-match-gallery-highlights--single {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.rcc-match-gallery-highlights--single .rcc-match-gallery-highlight {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 12px;
	background: #fff;
	font-size: 15px;
}

.rcc-match-gallery-single__report {
	margin: 0 0 28px;
}

.rcc-match-gallery-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}

.rcc-match-gallery-single__envira {
	margin-top: 28px;
}

.envirabox-toolbar .rcc-match-gallery-download-button {
	display: inline-block;
}

.envirabox-toolbar .rcc-match-gallery-download-button a {
	cursor: pointer;
}

.rcc-match-galleries-empty {
	margin: 0 0 24px;
}

@media (max-width: 978px) {
	.rcc-match-galleries-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 766px) {
	.rcc-match-galleries-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.rcc-match-gallery-card__body {
		min-height: 0;
	}

	.rcc-match-gallery-single__title {
		font-size: 28px;
	}

	.rcc-match-gallery-highlights--single {
		grid-template-columns: 1fr;
	}
}
