.lgs-wrap {
	--lgs-accent: #00c83c;
	--lgs-gap: 28px;
	--lgs-desktop-cols: 2;
	--lgs-tablet-cols: 2;
	--lgs-mobile-cols: 1;
	--lgs-image-ratio: 2.03;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	color: inherit;
}

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

.lgs-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
	padding: 0;
}

.lgs-filter {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #1f1f1f;
	background: transparent;
	color: #1f1f1f;
	border-radius: 0;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	padding: 10px 14px;
	cursor: pointer;
	transition: color .16s ease, border-color .16s ease, background-color .16s ease;
	text-decoration: none !important;
}

.lgs-filter:hover,
.lgs-filter:focus-visible {
	border-color: var(--lgs-accent);
	color: var(--lgs-accent);
	outline: none;
}

.lgs-filter.is-active {
	background: var(--lgs-accent);
	border-color: var(--lgs-accent);
	color: #fff;
}

.lgs-filter-minimal .lgs-filter {
	border: 0;
	padding: 5px 0;
	margin-right: 16px;
	background: transparent;
	color: #555;
	border-bottom: 1px solid transparent;
}

.lgs-filter-minimal .lgs-filter:hover,
.lgs-filter-minimal .lgs-filter:focus-visible,
.lgs-filter-minimal .lgs-filter.is-active {
	background: transparent;
	color: #111;
	border-bottom-color: var(--lgs-accent);
}

.lgs-series-intro {
	margin: 0 0 30px;
	padding: 22px 0 24px;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
}

.lgs-intro-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
}

.lgs-intro-copy {
	min-width: 0;
	max-width: 900px;
}

.lgs-intro-title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font: inherit;
	font-size: clamp(20px, 2vw, 28px) !important;
	font-weight: 750;
	line-height: 1.16;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: #1f1f1f;
}

.lgs-intro-short {
	margin: 0 !important;
	max-width: 820px;
	font-size: 16px;
	line-height: 1.55;
	color: #424242;
}

.lgs-intro-toggle {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border: 1px solid #1f1f1f;
	border-radius: 0;
	background: transparent;
	color: #1f1f1f;
	font: inherit;
	font-size: 26px;
	font-weight: 400;
	line-height: 34px;
	padding: 0;
	text-align: center;
	cursor: pointer;
}

.lgs-intro-toggle:hover,
.lgs-intro-toggle:focus-visible {
	color: var(--lgs-accent);
	border-color: var(--lgs-accent);
	outline: none;
}

.lgs-intro-long {
	max-width: 900px;
	margin-top: 22px;
	font-size: 16px;
	line-height: 1.62;
	color: #2f2f2f;
}

.lgs-intro-long > :first-child { margin-top: 0; }
.lgs-intro-long > :last-child { margin-bottom: 0; }

.lgs-intro-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #777;
}

.lgs-grid {
	display: grid;
	grid-template-columns: repeat(var(--lgs-desktop-cols), minmax(0, 1fr));
	column-gap: var(--lgs-gap);
	row-gap: var(--lgs-gap);
	align-items: start;
}

.lgs-card {
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.lgs-card[hidden] {
	display: none !important;
}

.lgs-image-link {
	display: block;
	text-decoration: none !important;
}

.lgs-image-frame {
	width: 100%;
	aspect-ratio: var(--lgs-image-ratio) / 1;
	overflow: hidden;
	background: #ececec;
}

.lgs-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
	transform: scale(1);
	transition: transform .22s ease;
}

.lgs-image-link:hover .lgs-image {
	transform: scale(1.012);
}

.lgs-image-placeholder {
	background: #ececec;
}

.lgs-card-body {
	padding-top: 11px;
}

.lgs-category {
	margin: 0 0 9px;
	color: var(--lgs-accent);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.lgs-title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font: inherit;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.lgs-title a,
.lgs-title a:visited {
	color: #202020;
	text-decoration: none !important;
}

.lgs-title a:hover,
.lgs-title a:focus-visible {
	color: var(--lgs-accent);
}

.lgs-date {
	margin: -4px 0 10px;
	color: #777;
	font-size: 12px;
	line-height: 1.4;
}

.lgs-excerpt {
	margin: 0 !important;
	color: #555;
	font-size: 15px;
	line-height: 1.6;
}

.lgs-empty {
	margin: 18px 0 0;
	color: #666;
}

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

@media (max-width: 680px) {
	.lgs-grid {
		grid-template-columns: repeat(var(--lgs-mobile-cols), minmax(0, 1fr));
	}

	.lgs-filters {
		gap: 8px;
		margin-bottom: 20px;
	}

	.lgs-filter {
		font-size: 12px;
		padding: 9px 11px;
	}

	.lgs-intro-head {
		gap: 16px;
	}

	.lgs-intro-title {
		font-size: 20px !important;
	}

	.lgs-intro-short,
	.lgs-intro-long {
		font-size: 15px;
	}

	.lgs-intro-toggle {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
		line-height: 30px;
	}

	.lgs-title {
		font-size: 16px !important;
	}

	.lgs-excerpt {
		font-size: 14px;
	}
}
