.f3cs-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

.f3cs-filter .f3cs-filter__pill {
	margin: 0;
	padding: 8px 20px;
	border: 1px solid #d5d8de;
	border-radius: 999px;
	background: #fff;
	color: #2b2f38;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.f3cs-filter .f3cs-filter__pill:hover,
.f3cs-filter .f3cs-filter__pill:focus-visible {
	border-color: #4a7fe6;
	background: #eef3fd;
	color: #4a7fe6;
}

.f3cs-filter .f3cs-filter__pill.is-active {
	border-color: #4a7fe6;
	background: #4a7fe6;
	color: #fff;
}

.f3cs-grid {
	display: grid;
	grid-template-columns: repeat(var(--f3cs-cols, 3), minmax(0, 1fr));
	gap: 20px;
	transition: opacity 0.2s ease;
}

.f3cs-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.f3cs-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 40px 0;
	color: #5b6170;
	text-align: center;
}

.f3cs-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	box-sizing: border-box;
}

.f3cs-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	margin-bottom: 20px;
}

.f3cs-card__logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: 48px;
	max-width: 210px;
}

.f3cs-badge {
	flex-shrink: 0;
	padding: 4px 14px;
	border: 1px solid #4a7fe6;
	border-radius: 999px;
	background: #eef3fd;
	color: #4a7fe6;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.f3cs-card__media {
	aspect-ratio: 406 / 222;
	margin-bottom: 26px;
	border-radius: 8px;
	overflow: hidden;
	background: #e5e7eb;
}

.f3cs-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.f3cs-card .f3cs-card__title {
	margin: 0 0 8px;
	color: #0b0b0f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

.f3cs-card .f3cs-card__excerpt {
	margin: 0 0 16px;
	color: #5b6170;
	font-size: 16px;
	line-height: 1.5;
}

.f3cs-card .f3cs-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.f3cs-card__tags li {
	margin: 0;
	padding: 4px 13px;
	border: 1px solid #d5d8de;
	border-radius: 999px;
	color: #2b2f38;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.03em;
}

.f3cs-card__tags li::before {
	content: none;
}

.f3cs-card__footer {
	margin-top: auto;
	padding-top: 40px;
}

.f3cs-card .f3cs-card__button {
	display: inline-block;
	padding: 9px 20px;
	border-radius: 4px;
	background: #4a7fe6;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.f3cs-card .f3cs-card__button:hover,
.f3cs-card .f3cs-card__button:focus {
	background: #3567d4;
	color: #fff;
}

@media (max-width: 1024px) {
	.f3cs-grid {
		grid-template-columns: repeat(min(var(--f3cs-cols, 3), 2), minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.f3cs-grid {
		grid-template-columns: 1fr;
	}

	.f3cs-card {
		padding: 22px;
	}
}
