/* DNH Gambling article template. Loaded on Gambling articles only. Colours come from the theme variables (light and dark mode). */

.dnh-g-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--theme-text-color);
}

.dnh-g-breadcrumbs a {
	color: var(--theme-link-initial-color);
	font-weight: 600;
	text-decoration: none;
}

.dnh-g-breadcrumbs a:hover {
	color: var(--theme-link-hover-color);
	text-decoration: underline;
}

.dnh-g-breadcrumbs [aria-current] {
	min-width: 0;
	overflow-wrap: anywhere;
}

.dnh-g-byline .dnh-g-byline__updated span,
.dnh-g-byline .dnh-g-byline__edited span {
	font-weight: 400;
}

.dnh-g-byline .dnh-g-byline__updated span {
	margin-inline-end: 4px;
}

/* Sidebar lists */

.dnh-g-sidebar-empty {
	visibility: hidden;
}

.dnh-g-widget .widget-title {
	margin: 0 0 16px;
	font-size: 20px;
	line-height: 1.3;
}

.dnh-g-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnh-g-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	border-block-end: 1px solid var(--theme-border-bottom-popup, rgba(128, 128, 128, 0.3));
}

.dnh-g-list li:first-child {
	padding-block-start: 0;
}

.dnh-g-list li:last-child {
	border-block-end: 0;
}

.dnh-g-list__thumb {
	flex: 0 0 64px;
	display: block;
}

.dnh-g-list__thumb img {
	display: block;
	inline-size: 64px;
	block-size: 64px;
	object-fit: cover;
	border-radius: 4px;
}

.dnh-g-list__title {
	min-width: 0;
	color: var(--theme-link-initial-color);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.dnh-g-list__title:hover {
	color: var(--theme-link-hover-color);
}

.dnh-g-more {
	display: inline-block;
	margin-block-start: 16px;
	padding: 6px 16px;
	border: 1px solid currentColor;
	border-radius: 4px;
	color: var(--theme-link-initial-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.dnh-g-more:hover {
	color: var(--theme-link-hover-color);
}

/* Related posts */

.dnh-g-related {
	margin-block-start: 48px;
	padding-block-start: 32px;
	border-block-start: 1px solid var(--theme-border-color);
}

.dnh-g-related__heading {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.3;
}

.dnh-g-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.dnh-g-card {
	display: block;
	color: var(--theme-link-initial-color);
	text-decoration: none;
}

.dnh-g-card:hover {
	color: var(--theme-link-hover-color);
}

.dnh-g-card__img {
	display: block;
	aspect-ratio: 16 / 9;
	margin-block-end: 12px;
	overflow: hidden;
	border-radius: 4px;
	background-color: var(--theme-palette-color-5, #e1e8ed);
}

.dnh-g-card__img img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.dnh-g-card__title {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

@media (max-width: 689.98px) {
	.dnh-g-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Byline on phones: one item per line, without the slash separators of the theme */

@media (max-width: 689.98px) {
	.dnh-g-byline li {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		margin: 0 0 6px;
	}

	.dnh-g-byline li::before,
	.dnh-g-byline li::after {
		content: none !important;
	}

	.dnh-g-byline .dnh-g-byline__edited span {
		margin-inline-end: 4px;
	}
}
