/**
 * list-1 — vertical pills, size from text + padding.
 * Desktop: padding 17 15. Mobile: padding 9 10.
 */

.content-list.content-list--list-1 {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 100%;
	width: fit-content;
}

.content-list--list-1 .content-list__item {
	align-items: center;
	align-self: flex-start;
	background: var(--content-list-bg, #15203c);
	border: 0;
	border-radius: 14px;
	box-sizing: border-box;
	display: inline-flex;
	height: auto;
	justify-content: center;
	max-width: 100%;
	padding: 17px 15px;
	width: auto;
}

.content-list--list-1 .content-list__label {
	color: var(--content-list-text, #ffffff);
	display: block;
	font-family: var(--content-list-font);
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 24px;
	overflow: visible;
	overflow-wrap: break-word;
	text-align: center;
	white-space: normal;
	word-break: break-word;
}

@media (max-width: 768px) {
	.content-list.content-list--list-1 {
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: flex-start;
		margin: 0 0 15px;
		max-width: 100%;
		width: 100%;
	}

	.content-list.content-list--list-1 .content-list__item {
		align-self: auto;
		flex: 1 1 auto;
		height: auto;
		max-width: 100%;
		min-height: 0;
		min-width: 0;
		padding: 9px 10px;
		width: auto;
	}

	.content-list.content-list--list-1 .content-list__label,
	.content-list.content-list--list-1 .content-list__item--long .content-list__label {
		font-size: 8.5px;
		font-weight: 400;
		line-height: 1.2;
		max-width: 100%;
		overflow: visible;
		overflow-wrap: anywhere;
		white-space: normal;
		word-break: break-word;
	}
}
