/* Section wrapper (اختياري لو عندك naming section) */
.-ycw-section.-ycwt-yctestgrid {
	background: var(--background);
}

/* Layout */
.yctg-wrap {
	max-width: 1250px;
	margin: 0 auto;
}

/* Header */
.yctg-head {
	max-width: 520px;
	margin-bottom: 22px;
}

.yctg-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	background: rgba(0, 0, 0, 0.04);
	color: var(--uicolor2);
	margin-bottom: 14px;
}

.yctg-title {
	font-size: 44px;
	line-height: 1.1;
	margin: 0 0 10px 0;
	color: var(--primary-text);
}

.yctg-desc {
	font-size: 14px;
	line-height: 1.75;
	color: var(--secondarytext);
	max-width: 520px;
}

/* === Columns Layout (TailGrids-like) === */
.yctg-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-start;
	margin-top: 22px;
}

.yctg-cols.Reviews-pox {
	display: block;
	column-count: 3;
	column-gap: 18px;
}

.yctg-cols.Reviews-pox>.yctg-card {
	display: inline-block;
	width: 100%;
	margin: 0 0 18px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

.yctg-col {
	flex: 0 0 calc(33.333% - 12px);
	min-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Card */
.yctg-card {
	background: #fff;
	border: 1px solid #00000012;
	border-radius: 14px;
	padding: 18px 18px;
	overflow: hidden;
}

/* Top Row */
.yctg-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid #0000000f;
}

.yctg-user {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.yctg-avatar {
	width: 50px;
	height: 50px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex: 0 0 auto;
	font-size: 16px;
	color: var(--primary-text);
}

.yctg-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yctg-meta {
	min-width: 0;
	flex: 1;
}

.yctg-name {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--primary-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: clamp(140px, 22vw, 220px);
}

.yctg-username {
	font-size: 12px;
	color: var(--secondarytext);
	margin-top: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: clamp(140px, 22vw, 220px);
}

.yctg-role {
	font-size: 13px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	color: var(--primary-text);
	white-space: nowrap;
	max-width: max-content;
	margin-top: 7px;
}

/* Body */
.yctg-text {
	font-size: 17px;
	line-height: 1.6;
	color: var(--secondarytext);
}

.custreviews-logos-context>.stars-avg {
	display: block;
	font-size: 15px;
	position: relative;
	color: #e1e1e1;
	direction: ltr;
	margin-top: 14px;
}

.custreviews-logos-context>.stars-avg>.stars-avg-back>i {
	font-weight: 300
}

.custreviews-logos-context>.stars-avg>.stars-avg-back,
.custreviews-logos-context>.stars-avg>.stars-avg-front {
	display: flex;
	justify-content: center
}

.custreviews-logos-context .stars-avg i {
	padding: 0 1px
}

.custreviews-logos-context .stars-avg>.stars-avg-front {
	position: absolute;
	top: 0;
	left: 0;
	color: #ffa700;
	width: var(--percent);
	flex-wrap: inherit;
	overflow: hidden;
	justify-content: start
}


/* Responsive */
@media (max-width:1100px) {
	.yctg-title {
		font-size: 38px;
	}

	.yctg-cols.Reviews-pox {
		column-count: 2;
	}

	.yctg-col {
		flex: 1;
		min-width: 280px;
	}

	.yctg-text {
		font-size: 16px;
	}
}

@media (max-width:720px) {
	.yctg-title {
		font-size: 30px;
	}

	.yctg-cols.Reviews-pox {
		column-count: 1;
	}

	.yctg-col {
		flex: 0 0 100%;
		min-width: 100%;
	}

	.yctg-card {
		padding: 16px 14px;
	}

	.yctg-avatar {
		width: 44px;
		height: 44px;
	}

	.yctg-name {
		font-size: 17px;
	}

	.yctg-role {
		font-size: 13px;
		padding: 5px 9px;
	}

	.yctg-text {
		font-size: 15px;
	}
}

@media (max-width:420px) {
	.yctg-top {
		align-items: flex-start;
	}

	.yctg-role {
		margin-top: 6px;
	}
}

/* Existing section background */
.-ycw-section.-ycwt-ycrevw {
	background: var(--background);
	position: relative;
}

.-ycwt-ycrevw .-dw-h4 {
	background: white;
}