:root {
	--poh-blog-navy: #102541;
	--poh-blog-blue: #163f73;
	--poh-blog-yellow: #f8bd00;
	--poh-blog-ink: #122033;
	--poh-blog-muted: #5d6c80;
	--poh-blog-soft: #f3f6fa;
	--poh-blog-line: #dfe6ef;
}

body.poh-blog-redesign,
body.poh-blog-redesign article,
body.poh-blog-redesign article * {
	text-transform: none !important;
}

body.poh-blog-redesign {
	background: #f4f7fb;
	color: var(--poh-blog-ink);
}

body.poh-blog-redesign .site-content > .ast-container,
body.poh-blog-redesign .site-content .ast-container {
	display: block;
	width: min(100%, 1320px);
	max-width: 1320px;
	padding: clamp(30px, 4vw, 58px) clamp(20px, 3vw, 38px) 96px;
	margin-inline: auto;
}

body.poh-blog-redesign article.ast-article-single,
body.poh-blog-redesign article.pbs26-editorial-content {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.poh-blog-redesign .ast-article-single > [class*="single-layout"],
body.poh-blog-redesign .ast-article-single .entry-content {
	width: 100%;
	max-width: none;
}

body.poh-blog-redesign .poh-blog-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(390px, 35vw, 490px);
	padding: clamp(42px, 5vw, 68px) 51% clamp(42px, 5vw, 68px) clamp(32px, 5vw, 68px);
	margin: 0 0 clamp(34px, 4vw, 54px);
	overflow: hidden;
	color: #fff;
	background: var(--poh-blog-navy);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 28px;
	box-shadow: 0 25px 65px rgba(16,37,65,.18);
}

body.poh-blog-redesign .poh-blog-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(90deg, rgba(16,37,65,.99) 0%, rgba(16,37,65,.96) 44%, rgba(16,37,65,.45) 64%, rgba(16,37,65,.12) 100%),
		linear-gradient(135deg, rgba(248,189,0,.12), transparent 48%);
}

body.poh-blog-redesign .poh-blog-hero::after {
	position: absolute;
	left: clamp(32px, 5vw, 68px);
	bottom: 0;
	z-index: 3;
	width: 84px;
	height: 5px;
	content: "";
	background: var(--poh-blog-yellow);
	border-radius: 5px 5px 0 0;
}

body.poh-blog-redesign .poh-blog-kicker {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 9px;
	width: auto;
	padding: 8px 13px;
	margin: 0 0 18px;
	color: #ffe18a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .02em;
	background: rgba(248,189,0,.13);
	border: 1px solid rgba(248,189,0,.42);
	border-radius: 999px;
}

body.poh-blog-redesign .poh-blog-kicker::before {
	width: 7px;
	height: 7px;
	content: "";
	background: var(--poh-blog-yellow);
	border-radius: 50%;
}

body.poh-blog-redesign .poh-blog-hero h1,
body.poh-blog-redesign .poh-blog-hero .entry-title,
body.poh-blog-redesign .poh-blog-hero .pbs26-editorial-title {
	position: relative;
	z-index: 2;
	max-width: 720px;
	padding: 0;
	margin: 0;
	color: #fff !important;
	font-size: clamp(36px, 4vw, 61px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.035em;
	text-wrap: balance;
}

body.poh-blog-redesign .poh-blog-hero .entry-meta {
	display: none;
}

body.poh-blog-redesign .poh-blog-meta {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-top: 25px;
	color: rgba(255,255,255,.8);
	font-size: 13px;
	font-weight: 650;
}

body.poh-blog-redesign .poh-blog-meta span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

body.poh-blog-redesign .poh-blog-meta span:not(:last-child)::after {
	width: 4px;
	height: 4px;
	content: "";
	background: var(--poh-blog-yellow);
	border-radius: 50%;
}

body.poh-blog-redesign .poh-blog-hero-media {
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -2;
	width: 52%;
	height: 100%;
	padding: 0;
	margin: 0;
	background: #dbe3ed;
}

body.poh-blog-redesign .poh-blog-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body.poh-blog-redesign .poh-blog-hero-media figcaption {
	position: absolute;
}

body.poh-blog-redesign .poh-blog-meta-legacy {
	display: none !important;
}

/* Starsze wpisy PBS26 miały własny, wyśrodkowany hero i osobny pasek metadanych. */
body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 520px !important;
	height: auto !important;
	padding: 68px !important;
	text-align: left !important;
}

body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-kicker,
body.poh-blog-redesign .site-content .ast-container > .pbs26-article-meta {
	display: none !important;
}

body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-title {
	display: block !important;
	align-self: stretch !important;
	width: 50% !important;
	max-width: 720px !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: clamp(40px, 3.2vw, 54px) !important;
	line-height: 1.08 !important;
	text-align: left !important;
}

body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-hero.poh-blog-hero-media {
	position: absolute !important;
	inset: 0 0 0 auto !important;
	width: 49% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-hero.poh-blog-hero-media img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

body.poh-blog-redesign .entry-content,
body.poh-blog-redesign .pbs26-editorial-content {
	font-size: 18px;
	line-height: 1.78;
}

body.poh-blog-redesign .entry-content > :not(.poh-auto-placement):not(.pbs26-related):not(.pbs26-site-links),
body.poh-blog-redesign .pbs26-editorial-content > :not(.poh-blog-hero):not(.poh-auto-placement):not(.pbs26-related):not(.pbs26-site-links) {
	width: min(100%, 880px);
	margin-right: auto;
	margin-left: auto;
}

body.poh-blog-redesign .entry-content > p:first-of-type,
body.poh-blog-redesign .pbs26-editorial-lead {
	color: #263a52;
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 550;
	line-height: 1.58;
}

body.poh-blog-redesign .entry-content h2,
body.poh-blog-redesign .pbs26-editorial-section h2,
body.poh-blog-redesign .pbs26-depth-content h2,
body.poh-blog-redesign .pbs26-editorial-faq h2 {
	position: relative;
	padding-top: 18px;
	margin-top: clamp(42px, 6vw, 68px);
	margin-bottom: 20px;
	color: var(--poh-blog-navy);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.025em;
	text-wrap: balance;
}

body.poh-blog-redesign .entry-content h2::before,
body.poh-blog-redesign .pbs26-editorial-section h2::before,
body.poh-blog-redesign .pbs26-depth-content h2::before,
body.poh-blog-redesign .pbs26-editorial-faq h2::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 4px;
	content: "";
	background: var(--poh-blog-yellow);
	border-radius: 999px;
}

body.poh-blog-redesign .entry-content h3,
body.poh-blog-redesign .pbs26-editorial-content h3 {
	margin-top: 34px;
	margin-bottom: 14px;
	color: var(--poh-blog-blue);
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 800;
	line-height: 1.25;
}

body.poh-blog-redesign .entry-content p,
body.poh-blog-redesign .pbs26-editorial-content p {
	margin-bottom: 1.35em;
	color: var(--poh-blog-ink);
}

body.poh-blog-redesign .entry-content a:not(.poh__button):not(.poh-button),
body.poh-blog-redesign .pbs26-editorial-content a:not(.poh__button):not(.poh-button) {
	color: var(--poh-blog-blue);
	text-decoration-color: rgba(22,63,115,.32);
	text-underline-offset: 3px;
}

body.poh-blog-redesign .entry-content > ul:not(.ez-toc-list),
body.poh-blog-redesign .entry-content > ol:not(.ez-toc-list),
body.poh-blog-redesign .pbs26-editorial-section > ul,
body.poh-blog-redesign .pbs26-editorial-section > ol,
body.poh-blog-redesign .pbs26-depth-content > ul,
body.poh-blog-redesign .pbs26-depth-content > ol,
body.poh-blog-redesign .pbs26-editorial-faq > ul,
body.poh-blog-redesign .pbs26-editorial-faq > ol {
	padding: 24px 28px 24px 52px;
	margin-top: 24px;
	margin-bottom: 30px;
	background: #fff;
	border: 1px solid var(--poh-blog-line);
	border-left: 4px solid var(--poh-blog-yellow);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(16,37,65,.05);
}

body.poh-blog-redesign .entry-content > ul > li,
body.poh-blog-redesign .entry-content > ol > li,
body.poh-blog-redesign .pbs26-editorial-section > ul > li,
body.poh-blog-redesign .pbs26-editorial-section > ol > li,
body.poh-blog-redesign .pbs26-depth-content > ul > li,
body.poh-blog-redesign .pbs26-depth-content > ol > li,
body.poh-blog-redesign .pbs26-editorial-faq > ul > li,
body.poh-blog-redesign .pbs26-editorial-faq > ol > li {
	padding-left: 4px;
	margin-bottom: 9px;
}

body.poh-blog-redesign .entry-content blockquote,
body.poh-blog-redesign .pbs26-editorial-content blockquote,
body.poh-blog-redesign .pbs26-quick-answer,
body.poh-blog-redesign .pbs26-editorial-note {
	padding: 28px 30px;
	margin: 34px auto;
	color: var(--poh-blog-ink);
	background: linear-gradient(135deg, #fff9e8, #fff);
	border: 1px solid #f1d37a;
	border-left: 5px solid var(--poh-blog-yellow);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(16,37,65,.06);
}

body.poh-blog-redesign .pbs26-quick-answer ul {
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.poh-blog-redesign .entry-content table,
body.poh-blog-redesign .pbs26-editorial-content table {
	width: 100%;
	margin: 32px 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--poh-blog-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(16,37,65,.06);
}

body.poh-blog-redesign .entry-content th,
body.poh-blog-redesign .pbs26-editorial-content th {
	padding: 16px 18px;
	color: #fff;
	background: var(--poh-blog-blue);
	border-color: rgba(255,255,255,.16);
}

body.poh-blog-redesign .entry-content td,
body.poh-blog-redesign .pbs26-editorial-content td {
	padding: 16px 18px;
	border-color: var(--poh-blog-line);
}

body.poh-blog-redesign .entry-content figure:not(.poh-blog-hero-media),
body.poh-blog-redesign .pbs26-editorial-content figure:not(.poh-blog-hero-media) {
	margin-top: 36px;
	margin-bottom: 40px;
}

body.poh-blog-redesign .entry-content figure img,
body.poh-blog-redesign .pbs26-editorial-content figure img {
	border-radius: 18px;
	box-shadow: 0 18px 46px rgba(16,37,65,.14);
}

body.poh-blog-redesign .entry-content figcaption,
body.poh-blog-redesign .pbs26-editorial-content figcaption {
	margin-top: 10px;
	color: var(--poh-blog-muted);
	font-size: 13px;
	text-align: center;
}

body.poh-blog-redesign #ez-toc-container,
body.poh-blog-redesign .pbs26-toc {
	padding: 24px 28px;
	margin: 38px auto 48px;
	background: #fff;
	border: 1px solid var(--poh-blog-line);
	border-radius: 18px;
	box-shadow: 0 14px 35px rgba(16,37,65,.06);
}

body.poh-blog-redesign #ez-toc-container .ez-toc-title,
body.poh-blog-redesign .pbs26-toc summary {
	color: var(--poh-blog-navy);
	font-size: 16px;
	font-weight: 800;
}

body.poh-blog-redesign #ez-toc-container ul,
body.poh-blog-redesign .pbs26-toc ol {
	padding: 12px 0 0 22px;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.poh-blog-redesign .pbs26-editorial-intro {
	display: block;
	padding: 0;
	background: transparent;
	border: 0;
}

body.poh-blog-redesign .pbs26-editorial-intro-copy {
	width: 100%;
}

body.poh-blog-redesign .pbs26-editorial-section,
body.poh-blog-redesign .pbs26-depth-content,
body.poh-blog-redesign .pbs26-editorial-faq {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.poh-blog-redesign .pbs26-editorial-next {
	padding: clamp(28px, 4vw, 42px);
	margin-top: 54px;
	margin-bottom: 54px;
	color: #fff;
	background: linear-gradient(135deg, var(--poh-blog-navy), var(--poh-blog-blue));
	border: 0;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(16,37,65,.18);
}

body.poh-blog-redesign .pbs26-editorial-next h2,
body.poh-blog-redesign .pbs26-editorial-next p {
	color: #fff;
}

body.poh-blog-redesign .pbs26-related,
body.poh-blog-redesign .pbs26-site-links {
	width: min(100%, 1120px);
	max-width: 1120px;
	margin: 64px auto 0;
}

body.poh-blog-redesign .poh-auto-placement--article {
	width: min(100%, 1120px);
	max-width: 1120px;
	padding: clamp(28px, 4vw, 48px);
	margin: 70px auto 0;
	transform: none;
	background: #fff;
	border: 1px solid var(--poh-blog-line);
	border-radius: 24px;
	box-shadow: 0 24px 65px rgba(16,37,65,.12);
}

body.poh-blog-redesign .poh-blog-form-intro {
	max-width: 720px;
	margin: 0 auto 30px;
	text-align: center;
}

body.poh-blog-redesign .poh-blog-form-intro .poh-blog-kicker {
	align-self: auto;
	margin-inline: auto;
	color: var(--poh-blog-blue);
	background: #fff7d9;
	border-color: #efd26c;
}

body.poh-blog-redesign .poh-blog-form-intro h2 {
	padding: 0;
	margin: 0 0 13px;
	color: var(--poh-blog-navy);
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.12;
	letter-spacing: -.025em;
}

body.poh-blog-redesign .poh-blog-form-intro h2::before {
	display: none;
}

body.poh-blog-redesign .poh-blog-form-intro > p:last-child {
	margin: 0;
	color: var(--poh-blog-muted);
	font-size: 17px;
}

body.poh-blog-redesign .poh-auto-placement--article > .poh {
	max-width: 1024px;
	margin-inline: auto;
}

body.poh-blog-redesign .poh-auto-placement--article .poh__title {
	font-size: clamp(30px, 2.5vw, 38px) !important;
	overflow-wrap: break-word;
}

body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] {
	grid-template-columns: minmax(0, 1fr);
}

body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] > .poh__step-title,
body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] > .poh__grid--details,
body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] .poh-contact-fields,
body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] .poh__consents,
body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] .poh__legal-note,
body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] .poh__actions {
	grid-column: 1;
	grid-row: auto;
}

body.poh-blog-redesign .poh-auto-placement--article .poh--portal .poh__step[data-step="2"] .poh-contact-fields {
	margin-top: 2px;
}

body.poh-blog-redesign .poh-auto-placement--article .poh__title,
body.poh-blog-redesign .poh-auto-placement--article .poh__step-title {
	padding-top: 0;
}

body.poh-blog-redesign .poh-auto-placement--article .poh__title::before,
body.poh-blog-redesign .poh-auto-placement--article .poh__step-title::before {
	display: none;
}

body.poh-blog-redesign .poh-blog-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
	width: 100%;
	height: 4px;
	pointer-events: none;
	background: rgba(255,255,255,.2);
}

body.admin-bar.poh-blog-redesign .poh-blog-progress {
	top: 32px;
}

body.poh-blog-redesign .poh-blog-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--poh-blog-yellow);
	box-shadow: 0 0 12px rgba(248,189,0,.5);
}

@media (max-width: 900px) {
	body.poh-blog-redesign .poh-blog-hero {
		min-height: 0;
		padding: 40px 30px 0;
	}

	body.poh-blog-redesign .poh-blog-hero::before {
		background: linear-gradient(180deg, rgba(16,37,65,.99) 0%, rgba(16,37,65,.96) 54%, rgba(16,37,65,.35) 76%, rgba(16,37,65,.08) 100%);
	}

	body.poh-blog-redesign .poh-blog-hero::after {
		left: 30px;
	}

	body.poh-blog-redesign .poh-blog-hero-media {
		position: relative;
		inset: auto;
		z-index: -2;
		width: calc(100% + 60px);
		height: 270px;
		margin: 34px -30px 0;
	}

	body.poh-blog-redesign .poh-blog-hero h1,
	body.poh-blog-redesign .poh-blog-hero .entry-title,
	body.poh-blog-redesign .poh-blog-hero .pbs26-editorial-title {
		max-width: none;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero {
		min-height: 0 !important;
		height: auto !important;
		padding: 40px 30px 0 !important;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-title {
		width: 100% !important;
		max-width: none !important;
		font-size: clamp(34px, 7vw, 50px) !important;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-hero.poh-blog-hero-media {
		position: relative !important;
		inset: auto !important;
		width: calc(100% + 60px) !important;
		height: 270px !important;
		margin: 34px -30px 0 !important;
	}
}

@media (max-width: 600px) {
	body.poh-blog-redesign .site-content > .ast-container,
	body.poh-blog-redesign .site-content .ast-container {
		padding: 22px 16px 70px;
	}

	body.poh-blog-redesign .poh-blog-hero {
		padding: 30px 22px 0;
		border-radius: 20px;
	}

	body.poh-blog-redesign .poh-blog-hero h1,
	body.poh-blog-redesign .poh-blog-hero .entry-title,
	body.poh-blog-redesign .poh-blog-hero .pbs26-editorial-title {
		font-size: clamp(32px, 9.2vw, 43px);
		line-height: 1.08;
	}

	body.poh-blog-redesign .poh-blog-meta {
		gap: 8px 12px;
		font-size: 12px;
	}

	body.poh-blog-redesign .poh-blog-meta span:not(:last-child)::after {
		display: none;
	}

	body.poh-blog-redesign .poh-blog-hero-media {
		width: calc(100% + 44px);
		height: 230px;
		margin-right: -22px;
		margin-left: -22px;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero {
		padding: 30px 22px 0 !important;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-title {
		font-size: clamp(32px, 9.2vw, 43px) !important;
	}

	body.poh-blog-redesign article.pbs26-editorial-content > header.pbs26-editorial-header.poh-blog-hero .pbs26-editorial-hero.poh-blog-hero-media {
		width: calc(100% + 44px) !important;
		height: 230px !important;
		margin: 34px -22px 0 !important;
	}

	body.poh-blog-redesign .entry-content,
	body.poh-blog-redesign .pbs26-editorial-content {
		font-size: 17px;
		line-height: 1.72;
	}

	body.poh-blog-redesign .entry-content > ul:not(.ez-toc-list),
	body.poh-blog-redesign .entry-content > ol:not(.ez-toc-list),
	body.poh-blog-redesign .pbs26-editorial-section > ul,
	body.poh-blog-redesign .pbs26-editorial-section > ol,
	body.poh-blog-redesign .pbs26-depth-content > ul,
	body.poh-blog-redesign .pbs26-depth-content > ol,
	body.poh-blog-redesign .pbs26-editorial-faq > ul,
	body.poh-blog-redesign .pbs26-editorial-faq > ol,
	body.poh-blog-redesign #ez-toc-container,
	body.poh-blog-redesign .pbs26-toc {
		padding: 20px 20px 20px 34px;
	}

	body.poh-blog-redesign .entry-content table,
	body.poh-blog-redesign .pbs26-editorial-content table {
	display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.poh-blog-redesign .poh-auto-placement--article {
		padding: 24px 14px;
		margin-top: 54px;
		border-radius: 18px;
	}

	body.admin-bar.poh-blog-redesign .poh-blog-progress {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.poh-blog-redesign *,
	body.poh-blog-redesign *::before,
	body.poh-blog-redesign *::after {
		scroll-behavior: auto !important;
	}
}
