.seoew-suggested-article, .seoew-suggested-article * {
	box-sizing: border-box;
}

/**
 * Widget: پیشنهاد مقاله (Suggested Article)
 */

.seoew-suggested-article {
	--seoew-sa-media-basis: 42%;
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 24px;
	background: var(--seoew-color-bg);
	border: 1px solid var(--seoew-color-border);
	border-radius: var(--seoew-radius-lg);
	box-shadow: var(--seoew-shadow-soft);
	padding: 18px;
	min-height: 0;
	overflow: hidden;
	font-family: var(--seoew-font-family);
}

.seoew-suggested-article__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.seoew-suggested-article__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	margin: 0 0 12px;
	color: var(--seoew-color-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.seoew-suggested-article__label-icon {
	display: inline-flex;
	font-size: 14px;
	line-height: 1;
}

.seoew-suggested-article__label-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.seoew-suggested-article__title {
	margin: 0 0 10px;
	overflow-wrap: anywhere;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--seoew-color-heading);
}

.seoew-suggested-article__title a {
	color: inherit;
	text-decoration: none;
	transition: color .25s ease;
}

.seoew-suggested-article__title a:hover {
	color: var(--seoew-color-primary-hover);
}

.seoew-suggested-article__desc {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--seoew-color-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.seoew-suggested-article__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	background: transparent;
	border: none;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--seoew-color-primary);
	text-decoration: none;
	transition: color .25s ease, gap .25s ease;
}

.seoew-suggested-article__btn:hover {
	color: var(--seoew-color-primary-hover);
	gap: 12px;
}

.seoew-suggested-article__btn-icon {
	display: inline-flex;
	font-size: 1em;
	line-height: 1;
}

.seoew-suggested-article__btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.seoew-suggested-article__media {
	position: relative;
	flex: 0 0 var(--seoew-sa-media-basis);
	min-width: 0;
}

.seoew-suggested-article__dots {
	position: absolute;
	top: -16px;
	inset-inline-start: -16px;
	width: 64px;
	height: 64px;
	background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
	background-size: 8px 8px;
	color: var(--seoew-color-primary);
	opacity: .35;
	z-index: 0;
	pointer-events: none;
}

.seoew-suggested-article__image-link {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--seoew-radius-md);
	overflow: hidden;
}

.seoew-suggested-article__image-link img {
	width: 100%;
	height: 100%;
	min-height: 150px;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.seoew-suggested-article__image-link:hover img {
	transform: scale(1.04);
}

.seoew-suggested-article--no-image .seoew-suggested-article__content {
	flex-basis: 100%;
}

/* حالت ادیتور وقتی هنوز مقاله‌ای انتخاب نشده */
.seoew-suggested-article__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	border: 1px dashed var(--seoew-color-border);
	border-radius: var(--seoew-radius-md);
	color: var(--seoew-color-text);
	font-family: var(--seoew-font-family);
	font-size: 14px;
	text-align: center;
	padding: 24px;
}

@media (max-width: 900px) {
	.seoew-suggested-article {
		padding: 16px;
		gap: 16px;
	}

	.seoew-suggested-article__image-link img {
		min-height: 140px;
	}
}

@media (max-width: 767px) {
	.seoew-suggested-article {
		flex-direction: column;
		min-height: auto;
		padding: 16px;
		gap: 16px;
	}

	.seoew-suggested-article__media {
		order: -1;
		flex-basis: auto;
	}

	.seoew-suggested-article__image-link img {
		min-height: 120px;
	}

	.seoew-suggested-article__desc {
		-webkit-line-clamp: 1;
		margin-bottom: 12px;
	}
}
