.pbg_news_section {
	container: pnx / inline-size;
	margin-top: 18px;
}

.pbg_news_head_actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.pbg_news_add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.7);
	font-size: 19px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.pbg_news_add:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.pbg_news_all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 15px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.75);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.pbg_news_all:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	text-decoration: none;
}

.pbg_news_all i {
	font-size: 17px;
	transition: transform .2s ease;
}

.pbg_news_all:hover i {
	transform: translateX(3px);
}

.pnx {
	--pnx-a: #4fea9f;
	--pnx-a-rgb: 79, 234, 159;
	--pnx-on: #0c1410;
	--pnx-card: #26262e;
	--pnx-text: #f4f5f8;
	--pnx-muted: #9294a3;
	--pnx-line: rgba(255, 255, 255, 0.07);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.pnx .empty-element {
	grid-column: 1 / -1;
	padding: 34px 12px;
	border: 1px dashed rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	color: var(--pnx-muted);
	text-align: center;
}

.pnx a.pnx-card,
.pnx a.pnx-card:hover,
.pnx a.pnx-card:focus {
	color: var(--pnx-text);
	text-decoration: none;
}

.pnx-card {
	position: relative;
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--pnx-line);
	border-radius: 18px;
	background: var(--pnx-card);
	isolation: isolate;
	transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .3s ease;
}

.pnx-card:hover {
	border-color: rgba(var(--pnx-a-rgb), 0.35);
	box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--pnx-a-rgb), 0.08);
	transform: translateY(-3px);
}

.pnx-card__media {
	position: relative;
	display: block;
	flex: 0 0 auto;
	overflow: hidden;
	background: #1a1a20;
}

.pnx .pnx-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.pnx-card:hover .pnx-card__img {
	transform: scale(1.06);
}

.pnx-card__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.pnx-card__tags {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 24px);
	pointer-events: none;
}

.pnx-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(12, 12, 16, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.pnx-badge:empty {
	display: none;
}

.pnx-badge--new {
	border-color: transparent;
	background: var(--pnx-a);
	color: var(--pnx-on);
}

.pnx-badge--new i {
	position: relative;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.pnx-badge--new i::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: currentColor;
	animation: pnxPing 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}

.pnx-card__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.pnx-card__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--pnx-text);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.pnx-card__text {
	display: -webkit-box;
	overflow: hidden;
	color: #b4b6c3;
	font-size: 13px;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.pnx-card__text:empty {
	display: none;
}

.pnx-card__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	color: var(--pnx-muted);
	font-size: 12px;
	font-weight: 700;
}

.pnx-card__info {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.pnx-card__info i {
	font-size: 15px;
	opacity: .8;
}

.pnx-card__go {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--pnx-text);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	transition: background .25s ease, color .25s ease;
}

.pnx-card__go i {
	font-size: 16px;
	transition: transform .25s ease;
}

.pnx-card:hover .pnx-card__go {
	background: var(--pnx-a);
	color: var(--pnx-on);
}

.pnx-card:hover .pnx-card__go i {
	transform: translateX(3px);
}

.pnx-card {
	flex-direction: row;
	align-items: stretch;
	min-height: 112px;
}

.pnx-card .pnx-card__media {
	width: 168px;
}

.pnx-card .pnx-card__body {
	justify-content: center;
	padding: 14px 16px;
}

.pnx-card .pnx-card__title {
	font-size: 15px;
}

.pnx-card .pnx-card__text {
	-webkit-line-clamp: 1;
}

.pnx-card .pnx-card__tags {
	top: 8px;
	left: 8px;
}

.pnx-card .pnx-badge--cat {
	display: none;
}

.pnx-card .pnx-card__go span {
	display: none;
}

.pnx-card .pnx-card__go {
	padding: 6px;
}

.pnx > .pnx-card:first-child,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card {
	flex-direction: column;
	justify-content: flex-end;
	min-height: 340px;
}

.pnx > .pnx-card:first-child .pnx-card__media,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: auto;
}

.pnx > .pnx-card:first-child .pnx-card__shade,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__shade {
	background: linear-gradient(180deg, rgba(12, 12, 16, 0.15) 0%, rgba(12, 12, 16, 0.25) 35%, rgba(12, 12, 16, 0.92) 100%);
}

.pnx > .pnx-card:first-child .pnx-card__body,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__body {
	flex: 0 0 auto;
	gap: 10px;
	padding: 22px;
}

.pnx > .pnx-card:first-child .pnx-card__title,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__title {
	font-size: 22px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.pnx > .pnx-card:first-child .pnx-card__text,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__text {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13.5px;
	-webkit-line-clamp: 2;
}

.pnx > .pnx-card:first-child .pnx-card__meta,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__meta {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.72);
}

.pnx > .pnx-card:first-child .pnx-card__tags,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__tags {
	top: 16px;
	left: 16px;
}

.pnx > .pnx-card:first-child .pnx-badge--cat,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-badge--cat {
	display: inline-flex;
}

.pnx > .pnx-card:first-child .pnx-card__go,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__go {
	padding: 7px 14px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.12);
}

.pnx > .pnx-card:first-child .pnx-card__go span,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__go span {
	display: inline;
}

.pnx > .pnx-card:first-child:hover .pnx-card__go,
.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card:hover .pnx-card__go {
	background: var(--pnx-a);
}

@container pnx (min-width: 640px) {
	.pnx:has(> .pnx-card:nth-child(2):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pnx:has(> .pnx-card:nth-child(3)) {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	}

	.pnx:has(> .pnx-card:nth-child(3):last-child) > .pnx-card:first-child {
		grid-row: span 2;
	}

	.pnx:has(> .pnx-card:nth-child(4)) > .pnx-card:first-child {
		grid-row: span 3;
	}

	.pnx > .pnx-card:only-child {
		min-height: 300px;
	}

	.pnx:has(> .pnx-card:nth-child(3)) > .pnx-card:not(:first-child) .pnx-card__media {
		width: 128px;
	}

	.pnx:has(> .pnx-card:nth-child(3)) > .pnx-card:not(:first-child) .pnx-card__go {
		display: none;
	}
}

@container pnx (max-width: 639px) {
	.pnx > .pnx-card:first-child,
	.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card {
		min-height: 260px;
	}

	.pnx > .pnx-card:first-child .pnx-card__title,
	.pnx:has(> .pnx-card:nth-child(2):last-child) > .pnx-card .pnx-card__title {
		font-size: 19px;
	}
}

@container pnx (max-width: 420px) {
	.pnx-card .pnx-card__media {
		width: 112px;
	}

	.pnx-card .pnx-card__body {
		padding: 12px;
	}

	.pnx-card .pnx-card__title {
		font-size: 14px;
	}

	.pnx-card .pnx-card__text {
		display: none;
	}
}

@keyframes pnxPing {
	0% { transform: scale(1); opacity: .7; }
	80%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (max-width: 600px) {
	.pbg_news_all span {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pnx *, .pnx *::before, .pnx *::after {
		animation: none !important;
		transition: none !important;
	}
}
