.dialogos-related-posts__heading {
	margin: 0 0 30px;
	font-family: "Roboto Slab", serif;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.3;
}

.dialogos-related-posts__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 54px;
	row-gap: 50px;
}

.dialogos-related-posts__viewport {
	position: relative;
}

.dialogos-related-posts__card[hidden] {
	display: none;
}

.dialogos-related-posts__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #565656;
	background: #fff;
	border: 1px solid currentColor;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.dialogos-related-posts__nav--previous {
	left: -22px;
}

.dialogos-related-posts__nav--next {
	right: -22px;
}

.dialogos-related-posts__nav:hover:not(:disabled) {
	color: #ff931e;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dialogos-related-posts__nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.dialogos-related-posts__nav:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.dialogos-related-posts__card {
	display: flex;
	align-items: stretch;
	min-width: 0;
	overflow: hidden;
	padding: 10px;
	gap: 24px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.dialogos-related-posts__card:hover {
	box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.dialogos-related-posts__image-link {
	display: block;
	flex: 0 0 25%;
	min-width: 0;
}

.dialogos-related-posts__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 150px;
	object-fit: cover;
	border-radius: 10px;
	transition: filter 180ms ease;
}

.dialogos-related-posts__card:hover .dialogos-related-posts__image {
	filter: brightness(0.85);
}

.dialogos-related-posts__content {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 20px 15px 15px 0;
}

.dialogos-related-posts__date {
	display: block;
	margin-bottom: 12px;
	color: #ff931e;
	font-family: "Roboto Slab", serif;
	font-size: 14px;
	line-height: 17px;
}

.dialogos-related-posts__title {
	margin: 0;
	font-family: "Roboto Slab", serif;
	font-size: 22px;
	font-weight: 300;
	line-height: 30px;
}

.dialogos-related-posts__title a,
.dialogos-related-posts__read-more,
.dialogos-related-posts__pagination a {
	text-decoration: none;
}

.dialogos-related-posts__title a {
	color: #565656;
}

.dialogos-related-posts__excerpt {
	margin: 12px 0 0;
}

.dialogos-related-posts__read-more {
	align-self: flex-start;
	margin-top: 15px;
}

.dialogos-related-posts__title a:hover,
.dialogos-related-posts__read-more:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.dialogos-related-posts a:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
	text-decoration: underline;
}

.dialogos-related-posts__pagination {
	margin-top: 50px;
}

.dialogos-related-posts__pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dialogos-related-posts__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid currentColor;
	border-radius: 6px;
}

.dialogos-related-posts__pagination .current {
	color: #ff931e;
	font-weight: 700;
	border-width: 2px;
}

@media (max-width: 767px) {
	.dialogos-related-posts__viewport {
		padding-inline: 20px;
	}

	.dialogos-related-posts__nav--previous {
		left: -4px;
	}

	.dialogos-related-posts__nav--next {
		right: -4px;
	}

	.dialogos-related-posts__card {
		gap: 16px;
	}

	.dialogos-related-posts__image-link {
		flex-basis: 25%;
	}

	.dialogos-related-posts__image {
		min-height: 120px;
	}

	.dialogos-related-posts__title {
		font-size: 18px;
		line-height: 1.4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dialogos-related-posts__card,
	.dialogos-related-posts__image {
		transition: none;
	}

	.dialogos-related-posts__card:hover {
		transform: none;
	}
}
