:root {
	--c52-single-bg: #020914;
	--c52-single-bg-2: #061321;
	--c52-single-card: #081726;
	--c52-single-card-2: #0b1c2d;
	--c52-single-line: rgba(255, 255, 255, 0.09);
	--c52-single-text: #ffffff;
	--c52-single-muted: #96a5b7;
	--c52-single-blue: #087cff;
	--c52-single-cyan: #21c2c8;
}

html {
	scroll-behavior: smooth;
}

.c52-single-page,
.c52-single-page * {
	box-sizing: border-box;
}

.c52-single-page {
	overflow: hidden;
	background: var(--c52-single-bg);
	color: var(--c52-single-text);
}

.c52-single-page a {
	text-decoration: none;
}

#tresc-wpisu {
	scroll-margin-top: 120px;
}

/* HERO */

.c52-single-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 72vh, 780px);
	padding: 115px 0 92px;
	overflow: hidden;
	background:
		radial-gradient(circle at 78% 32%, rgba(8, 124, 255, 0.18), transparent 34%),
		linear-gradient(125deg, #020914 0%, #04101d 52%, #06172a 100%);
	isolation: isolate;
}

.c52-single-hero.has-image {
	background-image: var(--c52-single-hero-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.c52-single-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(1, 8, 18, 0.97) 0%, rgba(1, 8, 18, 0.88) 45%, rgba(1, 8, 18, 0.38) 100%),
		linear-gradient(0deg, rgba(2, 9, 20, 0.95) 0%, rgba(2, 9, 20, 0.22) 58%, rgba(2, 9, 20, 0.6) 100%);
}

.c52-single-hero.no-image .c52-single-hero__overlay {
	background:
		radial-gradient(circle at 82% 30%, rgba(8, 124, 255, 0.18), transparent 30%),
		linear-gradient(125deg, rgba(2, 9, 20, 0.98), rgba(6, 23, 42, 0.96));
}

.c52-single-hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.16;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 65px 65px;
	mask-image: linear-gradient(to right, #000, transparent 86%);
}

.c52-single-hero__glow {
	position: absolute;
	right: 5%;
	bottom: -190px;
	z-index: -1;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: rgba(33, 194, 200, 0.1);
	filter: blur(110px);
}

.c52-single-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 52px;
	color: #8292a5;
	font-size: 0.75rem;
}

.c52-single-breadcrumb a {
	color: #aab6c5;
	transition: color 0.2s ease;
}

.c52-single-breadcrumb a:hover {
	color: var(--c52-single-cyan);
}

.c52-single-breadcrumb > span:last-child {
	max-width: min(570px, 100%);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.c52-single-hero__content {
	max-width: 1040px;
}

.c52-single-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 23px;
	color: #2697ff;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.c52-single-eyebrow > span {
	width: 34px;
	height: 3px;
	background: linear-gradient(90deg, var(--c52-single-blue), var(--c52-single-cyan));
}

.c52-single-hero h1 {
	max-width: 1050px;
	margin: 0;
	color: #fff;
	font-size: clamp(3rem, 6.2vw, 6.5rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.06em;
	text-wrap: balance;
	text-transform: uppercase;
}

.c52-single-hero__lead {
	max-width: 790px;
	margin: 29px 0 0;
	color: #bec8d4;
	font-size: clamp(1rem, 1.5vw, 1.13rem);
	line-height: 1.82;
}

.c52-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 13px 24px;
	margin-top: 28px;
	color: #9cabbc;
	font-size: 0.79rem;
}

.c52-single-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.c52-single-hero__meta svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: var(--c52-single-cyan);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c52-single-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 35px;
}

/* BUTTONS */

.c52-single-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 25px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 0.79rem;
	font-weight: 900;
	letter-spacing: 0.035em;
	text-transform: uppercase;
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease;
}

.c52-single-btn--primary {
	border-color: var(--c52-single-cyan);
	background: var(--c52-single-cyan);
	color: #001319;
	box-shadow: 0 14px 34px rgba(33, 194, 200, 0.2);
}

.c52-single-btn--primary:hover {
	transform: translateY(-2px);
	border-color: #37d6dc;
	background: #37d6dc;
	color: #001319;
	box-shadow: 0 18px 42px rgba(33, 194, 200, 0.3);
}

.c52-single-btn--outline {
	border-color: rgba(255, 255, 255, 0.54);
	background: rgba(255, 255, 255, 0.025);
	color: #fff;
}

.c52-single-btn--outline:hover {
	transform: translateY(-2px);
	border-color: #2697ff;
	background: rgba(8, 124, 255, 0.11);
	color: #fff;
}

.c52-single-btn--full {
	width: 100%;
}

/* MAIN */

.c52-single-main {
	padding: 95px 0 105px;
	background:
		radial-gradient(circle at 0 25%, rgba(8, 124, 255, 0.07), transparent 27%),
		var(--c52-single-bg);
}

.c52-single-article {
	overflow: hidden;
	border: 1px solid var(--c52-single-line);
	background:
		linear-gradient(145deg, rgba(10, 26, 43, 0.98), rgba(5, 15, 27, 0.98));
	box-shadow: 0 28px 75px rgba(0, 0, 0, 0.34);
}

.c52-single-featured {
	position: relative;
	height: clamp(330px, 46vw, 620px);
	margin: 0;
	overflow: hidden;
	background: #06111d;
}

.c52-single-featured__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c52-single-featured::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background: linear-gradient(180deg, transparent 48%, rgba(2, 9, 20, 0.84) 100%);
}

.c52-single-featured figcaption {
	position: absolute;
	right: 34px;
	bottom: 30px;
	left: 34px;
	z-index: 1;
}

.c52-single-featured figcaption span,
.c52-single-featured figcaption strong {
	display: block;
}

.c52-single-featured figcaption span {
	margin-bottom: 7px;
	color: var(--c52-single-cyan);
	font-size: 0.69rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.c52-single-featured figcaption strong {
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.2;
}

.c52-single-featured--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 35px;
	background:
		radial-gradient(circle at 70% 25%, rgba(8, 124, 255, 0.19), transparent 32%),
		linear-gradient(135deg, #06111d, #0b2035);
}

.c52-single-featured--placeholder::after {
	display: none;
}

.c52-single-featured--placeholder > div {
	text-align: center;
}

.c52-single-featured--placeholder span,
.c52-single-featured--placeholder strong {
	display: block;
}

.c52-single-featured--placeholder span {
	margin-bottom: 15px;
	color: rgba(255, 255, 255, 0.12);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 900;
	letter-spacing: -0.09em;
}

.c52-single-featured--placeholder strong {
	max-width: 700px;
	color: #fff;
	font-size: clamp(1.45rem, 3vw, 2.5rem);
	line-height: 1.15;
}

.c52-single-content {
	position: relative;
	padding: clamp(34px, 5vw, 65px);
}

.c52-single-content::before {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, var(--c52-single-blue), var(--c52-single-cyan), transparent);
}

.c52-single-content__heading {
	margin-bottom: 34px;
	padding-bottom: 27px;
	border-bottom: 1px solid var(--c52-single-line);
}

.c52-single-content__heading span {
	display: block;
	margin-bottom: 10px;
	color: #2697ff;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.13em;
}

.c52-single-content__heading h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}

.c52-single-entry {
	color: #b6c1cd;
	font-size: 1rem;
	line-height: 1.86;
	overflow-wrap: anywhere;
}

.c52-single-entry > *:first-child {
	margin-top: 0;
}

.c52-single-entry > *:last-child {
	margin-bottom: 0;
}

.c52-single-entry h2,
.c52-single-entry h3,
.c52-single-entry h4,
.c52-single-entry h5,
.c52-single-entry h6 {
	color: #fff;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.025em;
}

.c52-single-entry h2 {
	margin: 2.1em 0 0.75em;
	font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.c52-single-entry h3 {
	margin: 1.9em 0 0.7em;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.c52-single-entry h4 {
	margin: 1.7em 0 0.65em;
	font-size: 1.24rem;
}

.c52-single-entry p,
.c52-single-entry ul,
.c52-single-entry ol,
.c52-single-entry blockquote,
.c52-single-entry figure,
.c52-single-entry table {
	margin: 0 0 1.55em;
}

.c52-single-entry ul,
.c52-single-entry ol {
	padding-left: 1.35em;
}

.c52-single-entry li {
	margin-bottom: 0.6em;
}

.c52-single-entry li::marker {
	color: var(--c52-single-cyan);
}

.c52-single-entry a {
	color: #43d4da;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.c52-single-entry a:hover {
	color: #fff;
}

.c52-single-entry strong {
	color: #fff;
}

.c52-single-entry blockquote {
	padding: 25px 27px;
	border-left: 3px solid var(--c52-single-cyan);
	background: rgba(33, 194, 200, 0.055);
	color: #d4dce5;
	font-size: 1.05rem;
}

.c52-single-entry img {
	max-width: 100%;
	height: auto;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.c52-single-entry .alignwide {
	width: auto;
	max-width: none;
	margin-right: -20px;
	margin-left: -20px;
}

.c52-single-entry table {
	width: 100%;
	border-collapse: collapse;
}

.c52-single-entry th,
.c52-single-entry td {
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
}

.c52-single-entry th {
	background: rgba(8, 124, 255, 0.11);
	color: #fff;
}

/* SIDEBAR */

.c52-single-sidebar {
	position: sticky;
	top: 120px;
	display: grid;
	gap: 22px;
}

.c52-single-side-card {
	position: relative;
	padding: 38px 34px;
	overflow: hidden;
	border: 1px solid var(--c52-single-line);
	background:
		linear-gradient(145deg, rgba(10, 26, 43, 0.98), rgba(5, 15, 27, 0.98));
	box-shadow: 0 28px 75px rgba(0, 0, 0, 0.3);
}

.c52-single-side-card::before {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, var(--c52-single-blue), var(--c52-single-cyan), transparent);
}

.c52-single-side-card::after {
	position: absolute;
	top: -105px;
	right: -95px;
	width: 230px;
	height: 230px;
	content: "";
	border-radius: 50%;
	background: rgba(8, 124, 255, 0.11);
	filter: blur(28px);
}

.c52-single-side-card > * {
	position: relative;
	z-index: 1;
}

.c52-single-side-card__number {
	display: block;
	margin-bottom: 14px;
	color: #2697ff;
	font-size: 0.67rem;
	font-weight: 900;
	letter-spacing: 0.13em;
}

.c52-single-side-card h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.7rem, 2.5vw, 2.35rem);
	font-weight: 850;
	line-height: 1.12;
	letter-spacing: -0.04em;
}

.c52-single-side-card p {
	margin: 20px 0 27px;
	color: var(--c52-single-muted);
	font-size: 0.9rem;
	line-height: 1.75;
}

.c52-single-side-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 19px;
	color: #acb9c8;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.c52-single-side-link:hover {
	color: var(--c52-single-cyan);
}

.c52-single-side-info {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 24px;
	border: 1px solid rgba(33, 194, 200, 0.13);
	background: rgba(33, 194, 200, 0.045);
}

.c52-single-side-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border: 1px solid rgba(33, 194, 200, 0.22);
	background: rgba(33, 194, 200, 0.075);
	color: var(--c52-single-cyan);
}

.c52-single-side-info__icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c52-single-side-info span,
.c52-single-side-info strong {
	display: block;
}

.c52-single-side-info span {
	margin-bottom: 4px;
	color: #718195;
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.c52-single-side-info strong {
	color: #fff;
	font-size: 0.9rem;
}

.c52-single-side-info p {
	margin: 6px 0 0;
	color: #8393a5;
	font-size: 0.73rem;
	line-height: 1.55;
}

/* POST NAVIGATION */

.c52-single-post-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: 18px;
	margin-top: 55px;
}

.c52-single-post-nav__item,
.c52-single-post-nav__back {
	min-height: 128px;
	border: 1px solid var(--c52-single-line);
	background:
		linear-gradient(145deg, rgba(10, 26, 43, 0.94), rgba(5, 15, 27, 0.94));
}

.c52-single-post-nav__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 25px 28px;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background-color 0.2s ease;
}

a.c52-single-post-nav__item:hover {
	transform: translateY(-3px);
	border-color: rgba(33, 194, 200, 0.38);
	background: rgba(10, 31, 50, 0.98);
}

.c52-single-post-nav__item--next {
	align-items: flex-end;
	text-align: right;
}

.c52-single-post-nav__direction {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--c52-single-cyan);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.c52-single-post-nav__item strong {
	max-width: 390px;
	color: #fff;
	font-size: 1rem;
	line-height: 1.45;
}

.c52-single-post-nav__item--disabled {
	opacity: 0.42;
}

.c52-single-post-nav__back {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 9px;
	width: 145px;
	padding: 20px;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.c52-single-post-nav__back:hover {
	transform: translateY(-3px);
	border-color: #2697ff;
	color: var(--c52-single-cyan);
}

.c52-single-post-nav__back svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

/* CTA */

.c52-single-cta {
	padding: 5px 0 105px;
	background: var(--c52-single-bg);
}

.c52-single-cta__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 45px;
	padding: 58px 65px;
	overflow: hidden;
	background:
		linear-gradient(118deg, #087cef 0%, #0861c9 50%, #064386 100%);
	box-shadow: 0 28px 75px rgba(0, 76, 165, 0.25);
}

.c52-single-cta__inner::before,
.c52-single-cta__inner::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
}

.c52-single-cta__inner::before {
	top: -250px;
	right: -150px;
	width: 380px;
	height: 380px;
}

.c52-single-cta__inner::after {
	right: 80px;
	bottom: -200px;
	width: 240px;
	height: 240px;
}

.c52-single-cta__inner > * {
	position: relative;
	z-index: 1;
}

.c52-single-cta__inner > div > span {
	display: block;
	margin-bottom: 13px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.69rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.c52-single-cta h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.2rem, 4.2vw, 4rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.c52-single-cta h2 strong {
	display: block;
	color: #bff7f8;
	font-weight: inherit;
}

.c52-single-cta p {
	max-width: 680px;
	margin: 17px 0 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.94rem;
	line-height: 1.72;
}

.c52-single-btn--light {
	min-width: 225px;
	border-color: #fff;
	background: #fff;
	color: #061326;
}

.c52-single-btn--light:hover {
	transform: translateY(-2px);
	border-color: #ddfcfd;
	background: #ddfcfd;
	color: #061326;
}

/* PAGINATION IN CONTENT */

.c52-single-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
	padding-top: 25px;
	border-top: 1px solid var(--c52-single-line);
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
	.c52-single-hero h1 {
		font-size: clamp(3rem, 6.8vw, 5.5rem);
	}

	.c52-single-side-card {
		padding: 33px 28px;
	}
}

@media (max-width: 991.98px) {
	.c52-single-hero {
		min-height: 620px;
		padding: 100px 0 75px;
	}

	.c52-single-hero__overlay {
		background:
			linear-gradient(90deg, rgba(1, 8, 18, 0.96), rgba(1, 8, 18, 0.72)),
			linear-gradient(0deg, rgba(2, 9, 20, 0.96), rgba(2, 9, 20, 0.25));
	}

	.c52-single-sidebar {
		position: static;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	}

	.c52-single-post-nav {
		grid-template-columns: 1fr 1fr;
	}

	.c52-single-post-nav__back {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		min-height: 78px;
		flex-direction: row;
	}

	.c52-single-cta__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.c52-single-btn--light {
		min-width: 0;
	}
}

@media (max-width: 767.98px) {
	.c52-single-hero {
		min-height: 590px;
		padding: 82px 0 62px;
		background-position: center;
	}

	.c52-single-breadcrumb {
		margin-bottom: 38px;
	}

	.c52-single-breadcrumb > span:last-child {
		display: none;
	}

	.c52-single-hero h1 {
		font-size: clamp(2.55rem, 13.7vw, 4.35rem);
		line-height: 0.97;
	}

	.c52-single-hero__lead {
		margin-top: 22px;
		font-size: 0.96rem;
		line-height: 1.7;
	}

	.c52-single-hero__actions {
		flex-direction: column;
	}

	.c52-single-hero__actions .c52-single-btn {
		width: 100%;
	}

	.c52-single-main {
		padding: 72px 0 78px;
	}

	.c52-single-featured {
		height: clamp(260px, 72vw, 430px);
	}

	.c52-single-featured figcaption {
		right: 22px;
		bottom: 21px;
		left: 22px;
	}

	.c52-single-content {
		padding: 32px 23px 38px;
	}

	.c52-single-entry {
		font-size: 0.95rem;
		line-height: 1.78;
	}

	.c52-single-entry .alignwide {
		margin-right: 0;
		margin-left: 0;
	}

	.c52-single-sidebar {
		grid-template-columns: 1fr;
	}

	.c52-single-post-nav {
		grid-template-columns: 1fr;
		gap: 13px;
		margin-top: 38px;
	}

	.c52-single-post-nav__back {
		grid-column: auto;
		grid-row: auto;
	}

	.c52-single-post-nav__item,
	.c52-single-post-nav__back {
		min-height: 105px;
	}

	.c52-single-cta {
		padding-bottom: 75px;
	}

	.c52-single-cta__inner {
		padding: 42px 27px;
	}

	.c52-single-cta__inner > a {
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.c52-single-eyebrow {
		font-size: 0.65rem;
	}

	.c52-single-hero h1 {
		font-size: clamp(2.35rem, 14.5vw, 3.55rem);
	}

	.c52-single-hero__meta {
		display: grid;
		grid-template-columns: 1fr;
	}

	.c52-single-side-card {
		padding: 30px 22px;
	}

	.c52-single-side-info {
		padding: 21px;
	}

	.c52-single-post-nav__item {
		padding: 23px 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.c52-single-page *,
	.c52-single-page *::before,
	.c52-single-page *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
