/* Article engagement */
.tz-article-engagement {
	margin: 28px 0;
	direction: rtl;
	font-family: "Estedad", sans-serif;
}

.tz-article-engagement__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 14px;
	padding: 20px 22px;
	border: 1px solid #e5e9ef;
	border-radius: 18px;
	background: #fff;
}

.tz-article-engagement__top > div {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tz-article-engagement__top strong {
	color: #182230;
	font-size: 16px;
	font-weight: 700;
}

.tz-article-engagement__top span {
	color: #667085;
	font-size: 13px;
	line-height: 1.8;
}

.tz-article-engagement__comment-link {
	flex: 0 0 auto;
	padding: 9px 18px;
	border: 1px solid #d8dee8;
	border-radius: 12px;
	background: #f8fafc;
	color: #26364a;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s ease;
}

.tz-article-engagement__comment-link:hover {
	border-color: #aeb9c8;
	background: #eef2f7;
	color: #182230;
}

.tz-article-rating {
	padding: 26px 24px 22px;
	border: 1px solid #e5e9ef;
	border-radius: 18px;
	background: linear-gradient(145deg, #f8fafc 0%, #f1f4f8 100%);
	text-align: center;
}

.tz-article-rating h2 {
	margin: 0 0 7px;
	color: #182230;
	font-size: 18px;
	font-weight: 750;
	line-height: 1.7;
}

.tz-article-rating > p {
	margin: 0 0 22px;
	color: #667085;
	font-size: 13px;
}

.tz-article-rating__numbers {
	display: grid;
	grid-template-columns: repeat(10, minmax(36px, 1fr));
	gap: 8px;
	max-width: 670px;
	margin: 0 auto;
	direction: ltr;
}

.tz-article-rating__button {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	min-width: 0;
	border: 1px solid #d6dde7;
	border-radius: 50%;
	background: #fff;
	color: #344054;
	font-family: inherit;
	font-size: 13px;
	font-weight: 650;
	cursor: pointer;
	transition: 0.18s ease;
}

.tz-article-rating__button:hover,
.tz-article-rating__button:focus-visible {
	border-color: #486581;
	background: #486581;
	color: #fff;
	transform: translateY(-2px);
	outline: none;
}

.tz-article-rating__button.is-selected {
	border-color: #263f59;
	background: #263f59;
	color: #fff;
}

.tz-article-rating__button:disabled {
	cursor: default;
	opacity: 0.65;
	transform: none;
}

.tz-article-rating__labels {
	display: flex;
	justify-content: space-between;
		direction: ltr;
	max-width: 670px;
	margin: 10px auto 0;
	color: #7b8797;
	font-size: 11px;
}

.tz-article-rating__labels span {
	direction: rtl;
}

.tz-article-rating__result {
	margin-top: 18px;
	color: #667085;
	font-size: 12px;
}

.tz-article-rating__result strong {
	color: #263f59;
	font-size: 15px;
}

.tz-article-rating__message {
	min-height: 22px;
	margin-top: 5px;
	color: #24734f;
	font-size: 12px;
	font-weight: 600;
}

.tz-article-rating__message.is-error {
	color: #b42318;
}

@media (max-width: 767px) {
	.tz-article-engagement {
		margin: 22px 0;
	}

	.tz-article-engagement__top {
		align-items: flex-start;
		gap: 14px;
		padding: 17px 16px;
	}

	.tz-article-engagement__top strong {
		font-size: 14px;
	}

	.tz-article-engagement__top span {
		font-size: 11px;
	}

	.tz-article-engagement__comment-link {
		padding: 8px 12px;
		font-size: 11px;
	}

	.tz-article-rating {
		padding: 21px 14px 18px;
		border-radius: 16px;
	}

	.tz-article-rating h2 {
		font-size: 15px;
	}

	.tz-article-rating > p {
		margin-bottom: 17px;
		font-size: 11px;
	}

	.tz-article-rating__numbers {
		grid-template-columns: repeat(5, 38px);
		justify-content: center;
		gap: 9px;
	}

	.tz-article-rating__labels {
		font-size: 10px;
	}

	.tz-article-rating__result,
	.tz-article-rating__message {
		font-size: 11px;
	}
}

@media (max-width: 360px) {
	.tz-article-rating__numbers {
		grid-template-columns: repeat(5, 34px);
		gap: 7px;
	}
}