.tg-news-banner {
	display: block;
	width: 100%;
	margin: 80px 0 0 0;
}
.tg-news {
	--news-color: #84171c;
	color: #222;
}
.tg-news *,
.tg-news *::before,
.tg-news *::after {
	box-sizing: border-box;
}
.tg-news-heading {
	text-align: center;
	background: #fff;
}
.tg-news-heading h1 {
	position: relative;
	display: inline-block;
	min-width: 180px;
	margin: 0;
	padding: 22px 36px;
	background: var(--news-color);
	color: #fff;
	font-size: 22px;
	font-weight: normal;
	line-height: 1.5;
}
.tg-news-heading h1::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: "";
	border-right: 10px solid transparent;
	border-bottom: 8px solid #f8f8f8;
	border-left: 10px solid transparent;
	transform: translateX(-50%);
}
.tg-news-main {
	padding: 0 0 64px;
	background: linear-gradient(#f8f8f8, #fff 150px);
}
.tg-news-categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 64px;
	padding: 24px 20px 18px;
}
.tg-news-categories a {
	padding-bottom: 8px;
	border-bottom: 1px solid transparent;
	color: #777;
	font-size: 18px;
	line-height: 26px;
}
.tg-news-categories a:hover,
.tg-news-categories a:focus-visible,
.tg-news-categories a.is-current {
	border-color: var(--news-color);
	color: var(--news-color);
}
.tg-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 28px;
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}
.tg-news-card {
	min-width: 0;
	background: #f7f7f7;
	transition: background .25s;
}
.tg-news-card-link {
	display: block;
	height: 100%;
	padding: 16px;
	color: inherit;
}
.tg-news-picture {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
}
.tg-news-picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tg-news-copy {
	padding: 16px 12px 12px;
}
.tg-news-copy h2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 60px;
	margin: 0;
	font-size: 20px;
	font-weight: normal;
	line-height: 30px;
}
.tg-news-card-bottom {
	position: relative;
	height: 70px;
	margin-top: 14px;
}
.tg-news-card time {
	display: block;
	color: #444;
	font-size: 16px;
	line-height: 24px;
	transition: opacity .25s;
}
.tg-news-card time::before {
	display: block;
	width: 36px;
	height: 1px;
	margin-bottom: 12px;
	background: var(--news-color);
	content: "";
}
.tg-news-more {
	position: absolute;
	top: 10px;
	left: 50%;
	width: 150px;
	padding: 6px 12px;
	border: 1px solid #fff;
	color: #fff;
	font-size: 18px;
	line-height: 26px;
	text-align: center;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity .25s;
}
.tg-news-card:hover,
.tg-news-card:focus-within {
	background: var(--news-color);
	color: #fff;
}
.tg-news-card:hover time,
.tg-news-card:focus-within time {
	opacity: 0;
}
.tg-news-card:hover .tg-news-more,
.tg-news-card:focus-within .tg-news-more {
	opacity: 1;
}
.tg-news-card-link:focus-visible {
	outline: 2px solid var(--news-color);
	outline-offset: 4px;
}
.tg-news-pagination {
	margin-top: 40px;
	text-align: center;
}
.tg-news-pagination .pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0 20px;
}
.tg-news-pagination li a,
.tg-news-pagination li span {
	display: block;
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	color: #555;
	line-height: 22px;
}
.tg-news-pagination li.active span,
.tg-news-pagination a:hover,
.tg-news-pagination a:focus-visible {
	border-color: var(--news-color);
	background: var(--news-color);
	color: #fff;
}
.tg-news-pagination li.disabled span {
	color: #aaa;
}
.tg-news-empty {
	padding: 40px 20px;
	color: #888;
	text-align: center;
}
@media (max-width: 900px) {
	.tg-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tg-news-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tg-news-categories { gap: 12px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.tg-news-card,
	.tg-news-card-link,
	.tg-news-card time,
	.tg-news-more { transition: none; }
}
