
.ywd-grc-block {
	display: grid;
	grid-template-columns: minmax(280px, 30%) minmax(0, 70%);
	align-items: stretch;
	border: 1px solid #e3e7ee;
	border-radius: 28px;
	overflow: hidden;
	background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 20px 60px rgba(32, 33, 36, 0.08);
	max-width: 1320px;
	margin: 0 auto;
}

.ywd-grc-left {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 30px;
	background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
	border-right: 1px solid #e8edf3;
}

.ywd-grc-badge-wrap {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #e6ebf2;
	border-radius: 26px;
	padding: 26px;
	box-shadow: 0 18px 40px rgba(32, 33, 36, 0.08);
	margin-top: 18px;
	margin-bottom: 18px;
}

.ywd-grc-badge {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	filter: none;
}

.ywd-grc-right {
	padding: 26px 32px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	background: rgba(255, 255, 255, 0.72);
}

.ywd-grc-topbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-bottom: 18px;
}

.ywd-grc-viewport {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.ywd-grc-viewport.is-dragging {
	cursor: grabbing;
}

.ywd-grc-track {
	display: flex;
	gap: 18px;
	will-change: transform;
	transition: transform 0.4s ease;
}

.ywd-grc-track.is-dragging {
	transition: none;
}

.ywd-grc-card {
	flex: 0 0 calc((100% - 36px) / 3);
	min-width: 0;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 22px;
	padding: 24px 22px;
	box-shadow: 0 12px 30px rgba(32, 33, 36, 0.06);
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.ywd-grc-stars {
	font-size: 19px;
	line-height: 1;
	letter-spacing: 2px;
	color: #fbbc04;
	margin-bottom: 16px;
}

.ywd-grc-name {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.3;
	color: #202124;
	font-weight: 700;
}

.ywd-grc-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: #5f6368;
}

.ywd-grc-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ywd-grc-arrow {
	border: 1px solid #d8dee8;
	background: #fff;
	color: #202124;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 6px 14px rgba(32, 33, 36, 0.05);
}

.ywd-grc-arrow:hover {
	transform: translateY(-1px);
	border-color: #c9d4e5;
	box-shadow: 0 10px 22px rgba(32, 33, 36, 0.08);
}

.ywd-grc-arrow:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
	box-shadow: none;
}

.ywd-grc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.ywd-grc-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 0;
	background: #d2d8e1;
	cursor: pointer;
	padding: 0;
	transition: transform 0.2s ease, background 0.2s ease;
}

.ywd-grc-dot.is-active {
	background: #4285f4;
	transform: scale(1.15);
}

@media (max-width: 1100px) {
	.ywd-grc-block {
		grid-template-columns: minmax(220px, 28%) minmax(0, 72%);
	}

	.ywd-grc-badge-wrap {
		max-width: 220px;
		padding: 22px;
	}

	.ywd-grc-card {
		flex-basis: calc((100% - 18px) / 2);
		min-height: 230px;
	}
}

@media (max-width: 767px) {
	.ywd-grc-block {
		grid-template-columns: 1fr;
	}

	.ywd-grc-left {
		border-right: 0;
		border-bottom: 1px solid #e8edf3;
		padding: 24px 20px 16px;
	}

	.ywd-grc-badge-wrap {
		max-width: 240px;
		margin-top: 8px;
		margin-bottom: 8px;
		padding: 20px;
		border-radius: 22px;
	}

	.ywd-grc-right {
		padding: 20px 18px 20px;
	}

	.ywd-grc-topbar {
		margin-bottom: 14px;
	}

	.ywd-grc-card {
		flex-basis: 100%;
		min-height: auto;
		padding: 22px 18px;
	}

	.ywd-grc-name {
		font-size: 18px;
	}

	.ywd-grc-text {
		font-size: 15px;
	}
}


.ywd-grc-text-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ywd-grc-full-review[hidden] {
	display: none !important;
}

.ywd-grc-read-more {
	margin-top: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #202124;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
