.studteam-post-subject-groups {
	--posts-subject-blue: #086ca8;
	--posts-subject-dark: #073b60;
	--posts-subject-orange: #ff5b16;
	color: var(--posts-subject-dark);
	margin: 0 auto 36px;
	max-width: 1240px;
}
.studteam-post-subject-groups__heading {
	margin: 0 0 24px;
	color: var(--posts-subject-dark);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.2;
}
.studteam-post-subject-groups__tabs {
	display: flex;
	align-items: stretch;
	gap: 0;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	cursor: grab;
}
.studteam-post-subject-groups__tabs::-webkit-scrollbar {
	display: none;
}
.studteam-post-subject-groups__tabs.is-dragging,
.studteam-post-subject-groups__tabs.is-dragging * {
	cursor: grabbing !important;
	user-select: none !important;
}
.studteam-post-subject-groups__tab {
	flex: 1 0 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 54px;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px 12px 0 0;
	background: #f4f7f8;
	color: var(--posts-subject-dark);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.studteam-post-subject-groups__tab:hover,
.studteam-post-subject-groups__tab:focus-visible {
	background: #e7f0f7;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}
.studteam-post-subject-groups__tab.is-active {
	background: var(--posts-subject-blue);
	color: #fff;
	border-top-right-radius: 0 !important;
}
.studteam-post-subject-groups__group-count {
	color: var(--posts-subject-orange);
	font-size: .92em;
}
.studteam-post-subject-groups__tab.is-active .studteam-post-subject-groups__group-count {
	color: #ffad4a;
}
.studteam-post-subject-groups__panel {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 28px 26px 24px;
	border-radius: 0 14px 14px 14px;
	background: var(--posts-subject-blue);
	color: #fff;
}
.studteam-post-subject-groups__panel[hidden] {
	display: none !important;
}
.studteam-post-subject-groups__scroll-controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: auto;
	padding-top: 24px;
}
.studteam-post-subject-groups__scroll-controls[hidden] {
	display: none !important;
}
.studteam-post-subject-groups__scroll-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 4px;
	background: transparent;
	color: rgba(255,255,255,.9);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.studteam-post-subject-groups__scroll-controls button:hover:not(:disabled),
.studteam-post-subject-groups__scroll-controls button:focus-visible {
	border-color: rgba(255,255,255,.55);
	background: rgba(255,255,255,.1);
	color: #fff;
}
.studteam-post-subject-groups__scroll-controls button:disabled {
	opacity: .42;
	cursor: default;
}
.studteam-post-subject-groups__scroll-controls svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}
.studteam-post-subject-groups:not(.is-last-tab-active) .studteam-post-subject-groups__panel:not([hidden]) {
	border-top-right-radius: var(--posts-subject-panel-top-right-radius, 20px) !important;
}
.studteam-post-subject-groups.is-last-tab-active .studteam-post-subject-groups__panel:not([hidden]) {
	border-top-right-radius: 0 !important;
}
.studteam-post-subject-groups.is-tab-hovered .studteam-post-subject-groups__panel:not([hidden]),
.studteam-post-subject-groups.is-tab-focused .studteam-post-subject-groups__panel:not([hidden]) {
	border-top-right-radius: 0 !important;
}
.studteam-post-subject-groups__columns {
	display: flex;
	flex: 1 0 auto;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 22px 24px;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	scroll-behavior: smooth;
	overscroll-behavior-inline: contain;
}
.studteam-post-subject-groups__columns::-webkit-scrollbar {
	display: none;
}
.studteam-post-subject-groups__letter-row {
	display: grid;
	flex: 0 0 auto;
	grid-template-columns: 28px max-content;
	align-items: start;
	column-gap: 14px;
	min-width: 0;
}
.studteam-post-subject-groups__letter {
	margin: 0;
	padding-top: 1px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}
.studteam-post-subject-groups__letter-links {
	display: grid;
	grid-template-columns: repeat(var(--posts-subject-columns, 1), minmax(180px, 230px));
	column-gap: 24px;
	min-width: 0;
	width: max-content;
	max-width: none;
	overflow: visible;
}
.studteam-post-subject-groups__letter-column {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.studteam-post-subject-groups__subject {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	color: rgba(255,255,255,.94);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none !important;
	transition: color .2s ease;
}
.studteam-post-subject-groups__subject:hover,
.studteam-post-subject-groups__subject:focus-visible {
	color: #fff;
	text-decoration: none !important;
}
@media (max-width: 900px) {
	.studteam-post-subject-groups__letter-links {
		column-gap: 18px;
	}
}
@media (max-width: 680px) {
	.studteam-post-subject-groups {
		margin-bottom: 28px;
	}
	.studteam-post-subject-groups__heading {
		margin-bottom: 16px;
		font-size: 23px;
	}
	.studteam-post-subject-groups__tab {
		flex-basis: 158px;
		min-height: 48px;
		padding: 10px 12px;
		font-size: 14px;
	}
	.studteam-post-subject-groups__panel {
		min-height: auto;
		padding: 22px 18px;
		border-radius: 0 12px 12px 12px;
	}
	.studteam-post-subject-groups:not(.is-last-tab-active) .studteam-post-subject-groups__panel:not([hidden]) {
		border-top-right-radius: var(--posts-subject-panel-top-right-radius, 12px) !important;
	}
	.studteam-post-subject-groups__letter-row {
		grid-template-columns: 22px max-content;
		column-gap: 10px;
	}
	.studteam-post-subject-groups__letter {
		font-size: 18px;
	}
	.studteam-post-subject-groups__letter-links {
		grid-template-columns: repeat(var(--posts-subject-columns, 1), minmax(140px, 190px));
		column-gap: 14px;
	}
	.studteam-post-subject-groups__subject {
		font-size: 13px;
	}
}
