/* ============================================================================================
	PAGINATION WITH THUMBNAIL / BLOCK
============================================================================================ */
.meehhobar-pagination-with-thumbnail:not(:has(a)) {
	display: none
}
.pagination-item {
	margin: 0 0 12px
}
@media screen and (min-width: 660px)  {
	.meehhobar-pagination-with-thumbnail {
		display: flex;
		justify-content: space-between;
		gap: 0 1em
	}
	.pagination-item {
		flex: 1;
		min-width: 0;
		margin: 0
	}
}
.pagination-anchor {
	display: flex;
	gap: 0 12px;
	padding: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	background-color: var(--wp--preset--color--contrast-grade-2);
	color: var(--wp--preset--color--contrast);
	word-break: break-all;
	text-decoration: none;
	transition: .3s ease-in-out
}
.pagination-anchor:hover {
	transform: translateY(-4px)
}
.pagination-right .pagination-anchor {
	flex-flow: row-reverse;
	text-align: right
}
.pagination-image {
	flex-shrink: 0;
	width: 90px;
	height: 90px
}
.pagination-image img {
	width: 100%;
	height: 100%;
	object-fit: cover
}
.pagination-image:not(:has(img))::before {
	content: "No image";
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--sub-text);
	font-size: 12px
}
.pagination-label {
	font-weight: bold;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: .05em;
	text-transform: uppercase
}
.pagination-title {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-flow: column;
	gap: 8px
}
.pagination-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	font-size: var(--wp--preset--font-size--x-small);
}
/* arrow */
.pagination-left .pagination-label::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 6px 3px 0;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg)
}
.pagination-right .pagination-label::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 0 3px 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg)
}

.meehhobar-pagination-with-thumbnail.has-background,
.editor-styles-wrapper .block-editor-block-list__block:has(.meehhobar-pagination-with-thumbnail.has-background) {
	background: transparent !important
}
