.news {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 96px 64px;
	background: #fff;
	color: #2b241f;
	font-family: "Host Grotesk", "Segoe UI", sans-serif;
}

.entry__content > .news,
.entry__content > .wp-block-acf-news {
	max-width: none;
	width: 100cqw;
	margin-left: calc(50% - 50cqw);
	margin-right: calc(50% - 50cqw);
}

.editor-styles-wrapper .wp-block-acf-news {
	max-width: none !important;
	width: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.news__title {
	margin: 0;
	color: #2b241f;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.2px;
	text-align: center;
}

.news__viewport {
	overflow: hidden;
	width: 100%;
	touch-action: pan-y;
}

.news__stage {
	position: relative;
}

.news__track {
	display: flex;
	gap: 24px;
	width: max-content;
	transition: transform 0.35s ease;
}

.news__card {
	position: relative;
	display: flex;
	flex: 0 0 288px;
	flex-direction: column;
	overflow: clip;
	background: #feeacf;
}

.news__card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.news__media {
	overflow: hidden;
	flex: none;
	height: 270px;
}

.news__photo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.25s ease-out;
}

.news__card:hover .news__photo,
.news__card:focus-within .news__photo {
	transform: scale(1.138);
}

.news__photo--empty {
	background: #d9d9d9;
}

.news__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-start;
	gap: 20px;
	min-height: 258px;
	padding: 32px;
}

.news__tag {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	box-sizing: border-box;
	width: fit-content;
	min-width: 0;
	max-width: 100%;
	margin: -44px 0 -8px;
	padding: 8px 12px;
	overflow-wrap: break-word;
	background: #fff;
	color: #2b241f;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.5px;
}

.news__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.news__name,
.news__lead,
.news__date,
.news__count {
	margin: 0;
}

.news__name {
	display: -webkit-box;
	overflow: hidden;
	max-height: 56px;
	color: #2b241f;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.news__lead {
	display: -webkit-box;
	overflow: hidden;
	color: #2b241f;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.1px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.news__meta {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	margin-top: auto;
}

.news__more {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 2px solid #2b241f;
	border-radius: 12px;
	opacity: 0.8;
	text-decoration: none;
	transition: width 0.25s ease-out;
}

.news__card:hover .news__more,
.news__card:focus-within .news__more {
	width: 72px;
}

.news__more img {
	display: block;
	width: 24px;
	height: 24px;
	max-width: none;
}

.news__date {
	flex: 1 1 auto;
	color: #3b3a39;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.6;
	text-align: right;
}

.news__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.news__controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.news__prev,
.news__next {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
}

.news__prev {
	left: max(-69px, calc(-1 * (var(--kta-inset) - 8px)));
}

.news__next {
	right: max(-69px, calc(-1 * (var(--kta-inset) - 8px)));
}

.news__prev img,
.news__next img {
	display: block;
	width: 44px;
	height: 44px;
	max-width: none;
	filter: brightness(0);
}

.news__next img {
	transform: rotate(180deg);
}

.news__prev:disabled,
.news__next:disabled {
	opacity: 0.35;
	cursor: default;
}

.news__count {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 64px;
	padding: 8px 12px;
	color: #333338;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.2;
}

.news__button {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 16px 24px;
	border: 1px solid #1ca07a;
	border-radius: 999px;
	background: #1ca07a;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.25px;
	text-decoration: none;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, gap 0.2s ease-out;
}

.news__button:hover,
.news__button:focus-visible {
	gap: 24px;
	border-color: #188868;
	background: #188868;
	color: #feeacf;
}

.news__button svg,
.news__expand svg {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
	max-width: none;
}

.news__expand {
	display: none;
}

@media (min-width: 801px) {
	.news__viewport,
	.news__viewport * {
		cursor: grab;
		-webkit-user-select: none;
		user-select: none;
	}

	.news__viewport.is-dragging,
	.news__viewport.is-dragging * {
		cursor: grabbing;
	}

	.news__photo {
		-webkit-user-drag: none;
	}

	.news__viewport ::selection {
		background: transparent;
	}
}

@media (prefers-reduced-motion: reduce) {
	.news__track,
	.news__photo,
	.news__more,
	.news__button,
	.news__expand {
		transition: none;
	}
}

@media (max-width: 1200px) and (min-width: 801px) {
	.news {
		padding: 72px 32px;
	}

	.news__title {
		font-size: 2rem;
	}

	.news__viewport {
		container-name: news;
		container-type: inline-size;
	}

	.news__prev {
		left: 8px;
		background: #fff;
		border-radius: 50%;
	}

	.news__next {
		right: 8px;
		background: #fff;
		border-radius: 50%;
	}

	@container news (max-width: 912px) {
		.news__card {
			flex-basis: calc((100cqi - 48px) / 3);
			width: calc((100cqi - 48px) / 3);
		}
	}
}

@media (max-width: 800px) {
	.news {
		gap: 32px;
		padding: 32px 20px;
	}

	.news__title {
		font-size: 1.5rem;
		letter-spacing: 0;
	}

	.news__viewport {
		overflow: visible;
	}

	.news__track {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		transform: none;
	}

	.news:not(.news--list) .news__card {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.news__card--extra {
		display: none;
	}

	.news.is-expanded .news__card--extra {
		display: flex;
	}

	.news__media {
		height: 132px;
	}

	.news:not(.news--list) .news__media {
		height: auto;
		aspect-ratio: 2 / 1;
		max-height: 220px;
	}

	.news__bar {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.news__prev,
	.news__next,
	.news__count {
		display: none;
	}

	.news:has(.news__card--extra) .news__expand {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		box-sizing: border-box;
		width: 100%;
		min-height: 44px;
		padding: 12px 20px;
		border: 2px solid #2b241f;
		border-radius: 999px;
		background: #fff;
		color: #2b241f;
		font-family: inherit;
		font-size: 1rem;
		font-weight: 500;
		line-height: 1.25;
		letter-spacing: 0;
		cursor: pointer;
		transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
	}

	.news__expand:hover,
	.news__expand:focus-visible {
		border-color: #27201c;
		background: #e6e6e6;
		color: #27201c;
	}

	.news.is-expanded .news__expand {
		display: none;
	}

	.news__button {
		box-sizing: border-box;
		width: 100%;
		margin-left: 0;
		padding: 12px 20px;
		font-size: 1rem;
		letter-spacing: 0;
	}
}
