.ggkb {
	--ggkb-gap: 16px;
	box-sizing: border-box;
	overflow: hidden;
	color: #333333;
	background: #fff4df;
	border-radius: 22px;
}

.ggkb *,
.ggkb *::before,
.ggkb *::after {
	box-sizing: border-box;
}

.ggkb__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.ggkb__heading-group {
	min-width: 0;
}

.ggkb__eyebrow {
	display: inline-block;
	margin-bottom: 7px;
	padding: 5px 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	background: #ffc15e;
	border-radius: 999px;
}

.ggkb__title {
	margin: 0;
	color: #333333;
}

.ggkb__controls {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.ggkb__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #333333;
	font: inherit;
	font-size: 28px;
	line-height: 1;
	background: #ffffff;
	border: 1px solid rgba(51, 51, 51, 0.15);
	border-radius: 50%;
	cursor: pointer;
	transition: opacity 160ms ease, transform 160ms ease;
}

.ggkb__arrow:hover:not(:disabled) {
	transform: translateY(-1px);
}

.ggkb__arrow:focus-visible {
	outline: 3px solid rgba(51, 51, 51, 0.35);
	outline-offset: 2px;
}

.ggkb__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.ggkb__rail {
	display: flex;
	align-items: stretch;
	gap: var(--ggkb-gap);
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 8px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ggkb__rail::-webkit-scrollbar {
	display: none;
}

.ggkb__card {
	flex: 0 0 calc((100% - (2 * var(--ggkb-gap))) / 3);
	min-width: 220px;
	min-height: 190px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #f0dfc3;
	border-radius: 15px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.ggkb--desktop-2 .ggkb__card {
	flex-basis: calc((100% - var(--ggkb-gap)) / 2);
}

.ggkb__kicker {
	display: block;
	margin-bottom: 12px;
	color: #686868;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ggkb__card-title {
	margin: 0 0 9px;
	color: #333333;
	font-size: 20px;
	line-height: 1.25;
}

.ggkb__text {
	margin: 0;
	color: #333333;
	font-size: 16px;
	line-height: 1.5;
}

.ggkb__hint {
	display: none;
	margin: 10px 0 0;
	color: #686868;
	font-size: 13px;
	line-height: 1.4;
	text-align: right;
}

.ggkb--not-scrollable .ggkb__controls,
.ggkb--not-scrollable .ggkb__hint {
	display: none;
}

@media (max-width: 767px) {
	.ggkb__header {
		align-items: flex-start;
	}

	.ggkb__controls {
		display: none;
	}

	.ggkb__card {
		min-width: 0;
	}

	.ggkb--mobile-76 .ggkb__card {
		flex-basis: 76%;
	}

	.ggkb--mobile-84 .ggkb__card {
		flex-basis: 84%;
	}

	.ggkb--mobile-92 .ggkb__card {
		flex-basis: 92%;
	}

	.ggkb__hint {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggkb__rail {
		scroll-behavior: auto;
	}

	.ggkb__arrow {
		transition: none;
	}
}

