:root {
	--tscig-blue: #0b4d84;
	--tscig-yellow: #fbbd18;
	--tscig-ink: #14213d;
	--tscig-muted: #657085;
	--tscig-line: #e5e9ef;
	--tscig-soft: #fff7df;
}

.tscig-section {
	margin: 18px 0 28px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--tscig-line);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(20, 33, 61, .06);
}

.tscig-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
}

.tscig-section__head h2 {
	margin: 0;
	color: var(--tscig-blue);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	line-height: 1.2;
}

.tscig-section__head p {
	margin: 0;
	color: var(--tscig-muted);
	font-size: .9rem;
	text-align: right;
}

.tscig-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.tscig-card {
	display: flex;
	min-width: 0;
	min-height: 124px;
	padding: 14px 10px 12px;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	gap: 8px;
	color: var(--tscig-ink);
	text-align: center;
	text-decoration: none !important;
	background: #fff;
	border: 1px solid var(--tscig-line);
	border-radius: 15px;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tscig-card:hover,
.tscig-card:focus-visible {
	color: var(--tscig-blue);
	border-color: var(--tscig-yellow);
	box-shadow: 0 8px 22px rgba(11, 77, 132, .12);
	transform: translateY(-2px);
	outline: none;
}

.tscig-card.is-current {
	background: var(--tscig-soft);
	border-color: var(--tscig-yellow);
	box-shadow: inset 0 0 0 1px var(--tscig-yellow);
}

.tscig-card__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	color: var(--tscig-blue);
	background: var(--tscig-soft);
	border-radius: 50%;
}

.tscig-card__icon svg,
.tscig-card__icon .tscr-category-icon {
	width: 31px;
	height: 31px;
}

.tscig-card__icon .tscig-svg {
	width: 35px;
	height: 35px;
}

.tscig-emoji {
	display: block;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 29px;
	line-height: 1;
}

.tscig-card__label {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: .86rem;
	font-weight: 750;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.tscig-card__meta {
	margin-top: auto;
	color: var(--tscig-muted);
	font-size: .72rem;
	line-height: 1.2;
}

.tscig-home-icon svg {
	display: block;
	width: 30px;
	height: 30px;
	margin: auto;
	color: var(--tscig-blue);
}

@media (max-width: 1100px) {
	.tscig-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.tscig-section {
		margin: 14px 0 22px;
		padding: 14px;
		border-radius: 14px;
	}

	.tscig-section__head {
		display: block;
	}

	.tscig-section__head p {
		margin-top: 6px;
		text-align: left;
	}

	.tscig-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.tscig-card {
		min-height: 112px;
		padding: 11px 8px 10px;
	}

	.tscig-card__icon {
		width: 47px;
		height: 47px;
		flex-basis: 47px;
	}

	.tscig-card__label {
		font-size: .79rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tscig-card {
		transition: none;
	}
}

