/*
 * HempGold Wiedza – plugin templates (single post "Wpis Wiedzy" and category archive).
 * Selectors start with .hgw-szablon (specificity 0,2,x) so that Elementor Kit rules such as
 * ".elementor-kit-5 h2" (0,1,1) do not restyle the template.
 */

.hgw-szablon {
	display: block;
	font-family: var(--hgw-font-tekst);
	font-size: 17px;
	line-height: 1.7;
	color: var(--hgw-tekst);
	background: var(--hgw-krem);
}
.hgw-szablon *,
.hgw-szablon *::before,
.hgw-szablon *::after {
	box-sizing: border-box;
}
.hgw-szablon .hgw-kontener {
	width: min(1200px, 100% - 32px);
	margin-inline: auto;
}
@media (min-width: 768px) {
	.hgw-szablon {
		font-size: 18px;
	}
	.hgw-szablon .hgw-kontener {
		width: min(1200px, 100% - 48px);
	}
}
.hgw-szablon a:not(:where(.vendo-pc, .vendo-bp) *) {
	color: var(--hgw-zloto-tekst);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}
.hgw-szablon a:not(:where(.vendo-pc, .vendo-bp) *):hover {
	color: var(--hgw-tekst);
	text-decoration-color: var(--hgw-zloto);
}
.hgw-szablon a:focus-visible,
.hgw-szablon summary:focus-visible,
.hgw-szablon button:focus-visible {
	outline: 2px solid var(--hgw-czern);
	outline-offset: 3px;
	border-radius: 2px;
}
.hgw-szablon img {
	max-width: 100%;
	height: auto;
}
.hgw-szablon .hgw-sekcja-tytul {
	margin: 0 0 24px;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 32px;
	line-height: 1.15;
	color: var(--hgw-naglowek);
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-sekcja-tytul {
		font-size: 40px;
	}
}

/* Hero wpisu (1.2.0): złoty panel z tekstem po lewej, grafika po prawej (od 1024 px).
   Wysokość sekcji wyznacza grafika: rozpórka z jej proporcją (--hgw-hero-proporcja, liczona
   w PHP z wymiarów obrazka), grafika wypełnia komórkę (object-fit: cover), więc przy dłuższym
   tekście sekcja rośnie, a grafika dalej pokrywa całą prawą część.
   Telefon i tablet: tekst na złotym tle, pod nim grafika na całą szerokość w swoich proporcjach. */
.hgw-szablon .hgw-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	background: var(--hgw-zloto);
	color: #FFFFFF;
	overflow: hidden;
}
.hgw-szablon .hgw-hero__tekst {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 40px 16px 44px;
}
.hgw-szablon .hgw-hero__tekst-wnetrze {
	width: 100%;
	max-width: 660px;
}
.hgw-szablon .hgw-hero__kategoria {
	margin: 0 0 14px;
	font-family: var(--hgw-font-etykiety);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hgw-szablon .hgw-hero__kategoria a,
.hgw-szablon .hgw-hero__kategoria a:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #FFFFFF;
	text-decoration: none;
}
.hgw-szablon .hgw-hero__kategoria a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.hgw-szablon .hgw-hero__chevron {
	font-size: 20px;
	line-height: 1;
	transform: translateY(-1px);
}
.hgw-szablon .hgw-hero .hgw-hero__tytul {
	margin: 0 0 20px;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 38px;
	line-height: 1.08;
	letter-spacing: 0;
	color: #FFFFFF;
	overflow-wrap: break-word;
	hyphens: manual;
}
.hgw-szablon .hgw-hero__zajawka {
	max-width: 560px;
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.6;
	color: #FFFFFF;
}
.hgw-szablon .hgw-hero__meta {
	max-width: 560px;
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 15px;
	line-height: 1.6;
	color: #FFFFFF;
}
.hgw-szablon .hgw-hero__meta a,
.hgw-szablon .hgw-hero__meta a:visited,
.hgw-szablon .hgw-hero__meta .hgw-kotwica-wideo {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hgw-szablon .hgw-hero__media {
	position: relative;
	min-width: 0;
	background: rgba(32, 26, 16, 0.12);
}
.hgw-szablon .hgw-hero__media::before {
	content: "";
	display: block;
	padding-top: var(--hgw-hero-proporcja, 100%);
}
.hgw-szablon .hgw-hero__media .hgw-hero__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
	aspect-ratio: auto;
}
.hgw-szablon .hgw-hero__dekor {
	display: none;
}
@media (min-width: 768px) {
	.hgw-szablon .hgw-hero__tekst {
		padding: 56px 24px 60px;
	}
	.hgw-szablon .hgw-hero .hgw-hero__tytul {
		font-size: 48px;
	}
	.hgw-szablon .hgw-hero__zajawka {
		font-size: 20px;
	}
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
	}
	.hgw-szablon .hgw-hero--bez-obrazu {
		grid-template-columns: minmax(0, 1fr);
	}
	/* Tekst zaczyna się na linii treści wpisu (kontener 1200 px). */
	.hgw-szablon .hgw-hero__tekst {
		padding: 56px 48px 56px max(24px, calc((100vw - 1200px) / 2));
	}
	.hgw-szablon .hgw-hero .hgw-hero__tytul {
		font-size: 46px;
	}
}
@media (min-width: 1280px) {
	.hgw-szablon .hgw-hero__tekst {
		padding: 72px 64px 72px max(24px, calc((100vw - 1200px) / 2));
	}
	.hgw-szablon .hgw-hero .hgw-hero__tytul {
		font-size: 58px;
	}
}

/* Mały hero strony kategorii (1.2.0): grafika w tle na całą szerokość, na środku złoty boks
   z nazwą kategorii (H1), białą kreską i tekstem pod nazwą. */
.hgw-szablon .hgw-kat-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: 340px;
	margin: 0;
	padding: 56px 16px;
	background: linear-gradient(135deg, #3A2F1C 0%, #201A10 70%);
	overflow: hidden;
}
.hgw-szablon .hgw-kat-hero__tlo {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hgw-szablon .hgw-kat-hero__tlo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(32, 26, 16, 0.18);
}
.hgw-szablon .hgw-kat-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}
.hgw-szablon .hgw-kat-hero__box {
	width: min(846px, 100%);
	padding: 36px 24px 40px;
	background: rgba(196, 155, 51, 0.92);
	text-align: center;
	color: #FFFFFF;
}
.hgw-szablon .hgw-kat-hero .hgw-kat-hero__tytul {
	margin: 0;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 40px;
	line-height: 1.05;
	letter-spacing: 0;
	color: #FFFFFF;
	overflow-wrap: break-word;
}
.hgw-szablon .hgw-kat-hero__linia {
	display: block;
	width: 128px;
	max-width: 40%;
	height: 2px;
	margin: 22px auto 24px;
	background: #FFFFFF;
}
.hgw-szablon .hgw-kat-hero__opis {
	max-width: 40em;
	margin: 0 auto;
	font-family: var(--hgw-font-tekst);
	font-size: 17px;
	line-height: 1.55;
	color: #FFFFFF;
}
@media (min-width: 768px) {
	.hgw-szablon .hgw-kat-hero {
		padding: 60px 24px;
	}
	.hgw-szablon .hgw-kat-hero__box {
		padding: 44px 48px 48px;
	}
	.hgw-szablon .hgw-kat-hero .hgw-kat-hero__tytul {
		font-size: 64px;
	}
	.hgw-szablon .hgw-kat-hero__opis {
		font-size: 20px;
	}
}
/* Kwadraty pod hero: na całą szerokość, z tym samym odstępem 2 px co między kaflami. */
.hgw-szablon .hgw-archiwum__lista {
	margin: 2px 0 0;
}
.hgw-szablon .hgw-archiwum__lista .hgw-kafle-obszar:not(#hgw-ochrona) {
	margin: 0;
}
.hgw-szablon .hgw-archiwum__paginacja {
	padding: 40px 0 8px;
}
.hgw-szablon .hgw-archiwum__pusto {
	margin: 48px 0;
}
.hgw-szablon .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Body grid: TOC column (240px) + article column */
.hgw-szablon .hgw-wpis__uklad {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: 32px 0 48px;
}
.hgw-szablon .hgw-wpis__glowna {
	min-width: 0;
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-wpis__uklad {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 64px;
		padding: 80px 0;
	}
	.hgw-szablon .hgw-wpis__uklad--bez-spisu .hgw-wpis__glowna {
		grid-column: 2;
	}
	.hgw-szablon .hgw-wpis__bok {
		position: relative;
	}
}

/*
 * Reading progress indicator (ring with %). The layer covers the content box of the body grid
 * (top/bottom = the grid padding) and takes no space in the flow. The ring is position: sticky;
 * bottom inside it: while the article is longer than the viewport it rides along the bottom edge,
 * and when the end of the article scrolls into view it stays at the end of the layer, so it can
 * never reach "Czytaj dalej", the contact section or the footer. Without JS: not shown.
 */
.hgw-szablon .hgw-wpis__uklad {
	position: relative;
}
.hgw-szablon .hgw-wskaznik-warstwa {
	display: none;
	position: absolute;
	top: 32px;
	bottom: 48px;
	left: 0;
	z-index: 20;
	width: 44px;
	flex-direction: column;
	justify-content: flex-end;
	pointer-events: none;
}
.hgw-js .hgw-szablon .hgw-wskaznik-warstwa {
	display: flex;
}
.hgw-szablon .hgw-wskaznik {
	position: sticky;
	bottom: 16px;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.hgw-szablon .hgw-wskaznik.is-widoczny {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}
.hgw-szablon .hgw-wskaznik__postep {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hgw-bialy);
	border: 1px solid var(--hgw-bez);
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(28, 28, 28, 0.06);
}
.hgw-szablon .hgw-wskaznik__pierscien {
	position: absolute;
	inset: 2px;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	overflow: visible;
}
.hgw-szablon .hgw-wskaznik__tor,
.hgw-szablon .hgw-wskaznik__luk {
	fill: none;
	stroke-width: 2.5;
}
.hgw-szablon .hgw-wskaznik__tor {
	stroke: var(--hgw-bez);
}
.hgw-szablon .hgw-wskaznik__luk {
	stroke: var(--hgw-zloto-tekst);
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}
/* SVG text in user units: 12px on the 48px ring (42px drawing), ~11px on the 44px ring (38px).
   Vertical centre comes from dy="0.36em" in the markup (Jost digits: cap height 0.7em). */
.hgw-szablon .hgw-wskaznik__liczba {
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 12px;
	font-style: normal;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	dominant-baseline: auto;
	alignment-baseline: auto;
	fill: var(--hgw-czern);
}
.hgw-szablon .hgw-wskaznik__znak {
	font-size: 9.5px;
}
.hgw-szablon .hgw-wskaznik__przycisk {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.hgw-szablon .hgw-wskaznik__przycisk:hover,
.hgw-szablon .hgw-wskaznik__przycisk:focus {
	background: transparent;
}
.hgw-szablon .hgw-wskaznik:hover .hgw-wskaznik__postep {
	border-color: var(--hgw-zloto);
}
.hgw-szablon .hgw-wskaznik__przycisk:focus-visible {
	outline: 2px solid var(--hgw-czern);
	outline-offset: 3px;
	border-radius: 50%;
}
@media (min-width: 768px) {
	.hgw-szablon .hgw-wskaznik-warstwa,
	.hgw-szablon .hgw-wskaznik {
		width: 48px;
	}
	.hgw-szablon .hgw-wskaznik {
		height: 48px;
		bottom: 24px;
	}
}
/* Single column (< 1024px): the ring stops in the padding under the article (author card), not on it. */
@media (max-width: 1023.98px) {
	.hgw-szablon .hgw-wpis__uklad--wskaznik {
		padding-bottom: 88px;
	}
	.hgw-szablon .hgw-wskaznik-warstwa {
		bottom: 20px;
	}
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-wskaznik-warstwa {
		top: 80px;
		bottom: 80px;
	}
	/* Keep the sticky TOC clear of the ring (48px + 24px from the bottom + 16px air). */
	.hgw-szablon .hgw-wpis__uklad--wskaznik .hgw-wpis__bok {
		padding-bottom: 88px;
	}
	.hgw-szablon .hgw-wpis__uklad--wskaznik .hgw-spis--szablon {
		max-height: calc(100vh - var(--hgw-naglowek-offset) - 32px - 88px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.hgw-szablon .hgw-wskaznik,
	.hgw-szablon .hgw-wskaznik.is-widoczny {
		transition: none;
	}
}

/* Template TOC */
.hgw-szablon .hgw-spis--szablon {
	margin: 0;
	padding: 0;
	border: 1px solid var(--hgw-bez);
	border-radius: 2px;
	background: var(--hgw-krem);
}
.hgw-szablon .hgw-spis--szablon > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 16px;
	cursor: pointer;
	list-style: none;
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hgw-tekst);
}
.hgw-szablon .hgw-spis--szablon > summary::-webkit-details-marker {
	display: none;
}
.hgw-szablon .hgw-spis--szablon > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.hgw-szablon .hgw-spis--szablon[open] > summary::after {
	transform: translateY(2px) rotate(-135deg);
}
.hgw-szablon .hgw-spis--szablon ol {
	margin: 0;
	padding: 0 16px 16px;
	list-style: none;
	counter-reset: hgw-spis;
}
.hgw-szablon .hgw-spis--szablon li {
	margin: 0;
	counter-increment: hgw-spis;
}
.hgw-szablon .hgw-spis--szablon a {
	position: relative;
	display: flex;
	gap: 8px;
	min-height: 44px;
	align-items: center;
	padding: 6px 0 6px 12px;
	border-left: 2px solid var(--hgw-bez);
	font-size: 15px;
	line-height: 1.4;
	color: var(--hgw-szary);
	text-decoration: none;
}
.hgw-szablon .hgw-spis--szablon a::before {
	content: counter(hgw-spis, decimal-leading-zero);
	flex: 0 0 auto;
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--hgw-zloto-tekst);
}
.hgw-szablon .hgw-spis--szablon a:hover {
	color: var(--hgw-tekst);
	border-left-color: var(--hgw-zloto);
}
.hgw-szablon .hgw-spis--szablon a[aria-current] {
	color: var(--hgw-tekst);
	font-weight: 700;
	border-left-color: var(--hgw-zloto-tekst);
}
.hgw-szablon .hgw-spis--szablon a:focus-visible {
	outline-offset: 0;
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-spis--szablon {
		position: sticky;
		top: calc(var(--hgw-naglowek-offset) + 32px);
		max-height: calc(100vh - var(--hgw-naglowek-offset) - 64px);
		overflow: auto;
		border: 0;
		background: transparent;
	}
	.hgw-szablon .hgw-spis--szablon > summary {
		min-height: 0;
		padding: 0 0 16px;
		cursor: default;
		color: var(--hgw-zloto-tekst);
	}
	.hgw-szablon .hgw-spis--szablon > summary::after {
		display: none;
	}
	.hgw-szablon .hgw-spis--szablon ol {
		padding: 0;
	}
}

/* Article content: text column 680px, wide elements use the whole column */
.hgw-szablon .hgw-tresc {
	font-size: inherit;
	line-height: 1.7;
	/* Long URLs in "Źródła" break instead of widening the page on 320px phones (1.1.4). */
	overflow-wrap: break-word;
}
.hgw-szablon .hgw-tresc > * {
	max-width: 680px;
	margin-top: 0;
	margin-bottom: 24px;
}
.hgw-szablon .hgw-tresc > .hgw-szeroki,
.hgw-szablon .hgw-tresc > .alignwide,
.hgw-szablon .hgw-tresc > .alignfull,
.hgw-szablon .hgw-tresc > .hgw-porownanie,
.hgw-szablon .hgw-tresc > .hgw-proces {
	max-width: none;
	width: 100%;
	margin-inline: 0;
}
.hgw-szablon .hgw-tresc > .hgw-szeroki,
.hgw-szablon .hgw-tresc > .alignwide,
.hgw-szablon .hgw-tresc > .alignfull {
	margin-top: 48px;
	margin-bottom: 48px;
}
.hgw-szablon .hgw-tresc h2:not(:where(.vendo-pc, .vendo-bp) *) {
	margin: 48px 0 16px;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.15;
	color: var(--hgw-naglowek);
}
.hgw-szablon .hgw-tresc h3:not(:where(.vendo-pc, .vendo-bp) *) {
	margin: 32px 0 8px;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.2;
	color: var(--hgw-naglowek);
}
.hgw-szablon .hgw-tresc h4:not(:where(.vendo-pc, .vendo-bp) *) {
	margin: 24px 0 8px;
	font-family: var(--hgw-font-tekst);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-tresc h2:not(:where(.vendo-pc, .vendo-bp) *) {
		font-size: 36px;
		margin-top: 56px;
	}
	.hgw-szablon .hgw-tresc h3:not(:where(.vendo-pc, .vendo-bp) *) {
		font-size: 26px;
	}
}
.hgw-szablon .hgw-tresc > :first-child {
	margin-top: 0;
}
.hgw-szablon .hgw-tresc ul:not([class*="hgw-"]):not(:where(.vendo-pc, .vendo-bp) *),
.hgw-szablon .hgw-tresc ol:not([class*="hgw-"]):not(:where(.vendo-pc, .vendo-bp) *) {
	padding-left: 1.4em;
}
.hgw-szablon .hgw-tresc li:not(:where(.vendo-pc, .vendo-bp) *) {
	margin-bottom: 8px;
}
.hgw-szablon .hgw-tresc li:not(:where(.vendo-pc, .vendo-bp) *)::marker {
	color: var(--hgw-zloto-tekst);
}
.hgw-szablon .hgw-tresc strong:not(:where(.vendo-pc, .vendo-bp) *) {
	font-weight: 700;
}
.hgw-szablon .hgw-tresc figure:not(:where(.vendo-pc, .vendo-bp) *) {
	margin-inline: 0;
}
.hgw-szablon .hgw-tresc figcaption:not(:where(.vendo-pc, .vendo-bp) *),
.hgw-szablon .hgw-tresc .wp-element-caption:not(:where(.vendo-pc, .vendo-bp) *) {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hgw-szary);
}
.hgw-szablon .hgw-tresc img:not(:where(.vendo-pc, .vendo-bp) *) {
	border-radius: 4px;
}
.hgw-szablon .hgw-tresc blockquote:not(:where(.vendo-pc, .vendo-bp) *) {
	margin-left: 0;
	padding-left: 24px;
	border-left: 2px solid var(--hgw-zloto);
	color: var(--hgw-szary);
}
.hgw-szablon .hgw-tresc .wp-block-table:not(.hgw-porownanie) {
	overflow-x: auto;
}
.hgw-szablon .hgw-tresc :not(.hgw-porownanie) > table th:not(:where(.vendo-pc, .vendo-bp) *),
.hgw-szablon .hgw-tresc :not(.hgw-porownanie) > table td:not(:where(.vendo-pc, .vendo-bp) *) {
	padding: 12px 16px;
	border: 1px solid var(--hgw-bez);
	text-align: left;
	font-size: 16px;
}
.hgw-szablon .hgw-tresc :not(.hgw-porownanie) > table th {
	background: var(--hgw-krem);
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.hgw-szablon .hgw-tresc .hgw-wideo h2,
.hgw-szablon .hgw-tresc .hgw-produkty h2 {
	margin-top: 0;
}

/* Products (Vendofy) after the content */
.hgw-szablon .hgw-wpis__glowna > .vendo-bp {
	margin: 56px 0 0;
}
/* Arkusz Vendofy HempGold wymusza Inter z !important na każdej klasie „vendo-…”, więc nagłówek
   bloku produktów potrzebuje !important o wyższej specyficzności. */
.hgw-szablon .vendo-bp .vendo-bp__title,
.hgw-szablon h2.vendo-bp__title {
	margin: 0 0 8px;
	font-family: var(--hgw-font-naglowki) !important;
	font-weight: 500 !important;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hgw-naglowek);
}
@media (min-width: 768px) {
	.hgw-szablon .vendo-bp .vendo-bp__title,
	.hgw-szablon h2.vendo-bp__title {
		font-size: 40px;
	}
}
/* Vendofy cards keep their own link style: the template's underline for links (.hgw-szablon a)
   would otherwise win over Vendofy's equally specific rules and underline card titles and
   link-type cart buttons. */
.hgw-szablon .vendo-bp .vendo-card a,
.hgw-szablon .hgw-produkt-w-tresci .vendo-card a {
	text-decoration: none;
}

/* "O autorze" */
.hgw-szablon .hgw-autor {
	max-width: 680px;
	margin: 56px 0 0;
	padding: 32px 24px;
	background: var(--hgw-krem);
	border-top: 1px solid var(--hgw-zloto);
	border-radius: 0 0 4px 4px;
}
.hgw-szablon .hgw-autor__tytul {
	margin: 0 0 16px;
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hgw-zloto-tekst);
}
.hgw-szablon .hgw-autor__uklad {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}
.hgw-szablon .hgw-autor__media {
	flex: 0 0 auto;
}
.hgw-szablon .hgw-autor__obraz {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: contain;
	border-radius: 50%;
	background: var(--hgw-bialy);
	border: 1px solid var(--hgw-bez);
}
.hgw-szablon .hgw-autor__nazwa {
	margin: 0;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 26px;
	line-height: 1.2;
}
.hgw-szablon .hgw-autor__rola {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--hgw-szary);
}
.hgw-szablon .hgw-autor__opis {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.65;
}
.hgw-szablon .hgw-autor__opis p {
	margin: 0 0 8px;
}
.hgw-szablon .hgw-autor__link {
	margin: 16px 0 0;
	font-size: 16px;
}
.hgw-szablon .hgw-autor__link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
@media (max-width: 479.98px) {
	.hgw-szablon .hgw-autor__uklad {
		flex-direction: column;
		gap: 16px;
	}
}

/* "Czytaj dalej" (beige, full width) */
.hgw-szablon .hgw-czytaj-dalej {
	padding: 48px 0;
	background: var(--hgw-krem);
	border-top: 1px solid var(--hgw-zloto-22);
}
.hgw-szablon .hgw-czytaj-dalej a {
	color: var(--hgw-tekst);
	text-decoration-color: var(--hgw-zloto-tekst);
}
.hgw-szablon .hgw-czytaj-dalej .hgw-siatka {
	margin: 0;
}
/* Cards: the 1.1.3 card (image + overlapping box) from hgw-blog.css; no extra box here. */
.hgw-szablon .hgw-czytaj-dalej__link {
	margin: 32px 0 0;
	font-size: 17px;
}
.hgw-szablon .hgw-czytaj-dalej__link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-czytaj-dalej {
		padding: 80px 0;
	}
}

/* Contact (dark green, full width) */
.hgw-szablon .hgw-kontakt {
	padding: 48px 0;
	background: var(--hgw-zielen-ciemna);
	color: var(--hgw-bez);
	text-align: center;
}
.hgw-szablon .hgw-kontakt__tytul {
	margin: 0 0 16px;
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 32px;
	line-height: 1.15;
	color: var(--hgw-bialy);
}
.hgw-szablon .hgw-kontakt__tekst {
	max-width: 560px;
	margin: 0 auto 32px;
	font-size: 17px;
	color: var(--hgw-bez);
}
.hgw-szablon .hgw-kontakt__przyciski {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
/* Buttons (brand guidelines, 10.11.2026). Main: gold gradient, cream text. Secondary: 1px outline,
   padding 1px smaller so both buttons have the same size. On the dark-green contact section the
   secondary button is inverted (cream outline and text, cream fill on hover) to stay visible. */
.hgw-szablon .hgw-przycisk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-radius: 0;
	font-family: var(--hgw-font-etykiety);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hgw-szablon .hgw-przycisk--zloty {
	padding: 15px 40px;
	border: 0;
	background: var(--hgw-przycisk-gradient);
	color: var(--hgw-krem);
}
.hgw-szablon .hgw-przycisk--zloty:hover {
	background: var(--hgw-przycisk-gradient-hover);
	color: var(--hgw-krem);
}
.hgw-szablon .hgw-przycisk--obrys {
	padding: 14px 39px;
	border: 1px solid var(--hgw-czern);
	background: transparent;
	color: var(--hgw-tekst);
}
.hgw-szablon .hgw-przycisk--obrys:hover {
	background: var(--hgw-czern);
	color: var(--hgw-krem);
}
.hgw-szablon .hgw-kontakt .hgw-przycisk--obrys {
	border-color: var(--hgw-krem);
	color: var(--hgw-krem);
}
.hgw-szablon .hgw-kontakt .hgw-przycisk--obrys:hover {
	background: var(--hgw-krem);
	color: var(--hgw-czern);
}
@media (max-width: 767.98px) {
	.hgw-szablon .hgw-przycisk {
		font-size: 17px;
	}
	.hgw-szablon .hgw-przycisk--zloty {
		padding: 15px 25px;
	}
	.hgw-szablon .hgw-przycisk--obrys {
		padding: 14px 24px;
	}
}
.hgw-szablon .hgw-kontakt .hgw-przycisk:focus-visible {
	outline: 2px solid var(--hgw-bialy);
	outline-offset: 3px;
}
@media (max-width: 639.98px) {
	.hgw-szablon .hgw-kontakt__przyciski {
		flex-direction: column;
		align-items: stretch;
	}
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-kontakt {
		padding: 80px 0;
	}
	.hgw-szablon .hgw-kontakt__tytul {
		font-size: 40px;
	}
}

/* Category archive */
.hgw-szablon .hgw-archiwum__naglowek {
	padding: 32px 0 48px;
	background: var(--hgw-krem);
	border-bottom: 1px solid var(--hgw-zloto);
}
.hgw-szablon .hgw-naglowek-kategorii {
	margin: 0;
	max-width: 760px;
}
.hgw-szablon .hgw-naglowek-kategorii__powrot {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hgw-szablon .hgw-naglowek-kategorii__powrot a {
	color: var(--hgw-zloto-tekst);
	text-decoration: none;
}
.hgw-szablon .hgw-naglowek-kategorii__powrot a:hover {
	text-decoration: underline;
}
.hgw-szablon .hgw-naglowek-kategorii__tytul {
	margin: 8px 0 16px;
	font-size: 32px;
	line-height: 1.1;
}
.hgw-szablon .hgw-naglowek-kategorii__opis {
	font-size: 18px;
	line-height: 1.6;
	color: var(--hgw-szary);
}
.hgw-szablon .hgw-archiwum__tresc {
	padding: 48px 0;
}
.hgw-szablon .hgw-archiwum__sciezka {
	margin: 0 0 56px;
}
.hgw-szablon .hgw-sciezka-karty__wstep {
	max-width: 680px;
	margin: -8px 0 24px;
	font-size: 18px;
	color: var(--hgw-szary);
}
.hgw-szablon .hgw-archiwum__sciezka .hgw-sciezka-karty__link a,
.hgw-szablon .hgw-wpisy__link-sciezki a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}
.hgw-szablon .hgw-archiwum__lista .hgw-kategorie {
	margin: 0 0 32px;
}
.hgw-szablon .hgw-kategorie__link {
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hgw-tekst);
	text-decoration: none;
}
.hgw-szablon .hgw-kategorie__link--biezaca,
.hgw-szablon .hgw-kategorie__link[aria-current="page"] {
	color: var(--hgw-tekst);
	border-bottom-color: var(--hgw-zloto-tekst);
	text-decoration: none;
}
.hgw-szablon .hgw-wpisy {
	margin: 0;
}
.hgw-szablon .hgw-paginacja a.page-numbers,
.hgw-szablon .hgw-paginacja span.page-numbers {
	border-radius: 2px;
	border-color: var(--hgw-ramka-pola);
	color: var(--hgw-tekst);
	text-decoration: none;
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 14px;
}
.hgw-szablon .hgw-paginacja .page-numbers.current {
	background: var(--hgw-zloto);
	border-color: var(--hgw-zloto);
	color: var(--hgw-bialy);
	text-decoration: none;
}
.hgw-szablon .hgw-paginacja .page-numbers.dots {
	border-color: transparent;
}
.hgw-szablon .hgw-paginacja a.page-numbers:hover {
	border-color: var(--hgw-czern);
}
@media (min-width: 768px) {
	.hgw-szablon .hgw-naglowek-kategorii__tytul {
		font-size: 44px;
	}
}
@media (min-width: 1024px) {
	.hgw-szablon .hgw-archiwum__naglowek {
		padding: 56px 0 64px;
	}
	.hgw-szablon .hgw-naglowek-kategorii__tytul {
		font-size: 56px;
	}
	.hgw-szablon .hgw-archiwum__tresc {
		padding: 80px 0;
	}
}

/* Cards inside templates */
.hgw-szablon .hgw-karta__tytul {
	font-family: var(--hgw-font-naglowki);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.2;
}
.hgw-szablon .hgw-karta__link {
	color: var(--hgw-tekst);
	text-decoration: none;
}
.hgw-szablon .hgw-karta:hover .hgw-karta__link {
	color: var(--hgw-zloto-tekst);
	text-decoration: none;
}
.hgw-szablon .hgw-karta__etykieta {
	font-family: var(--hgw-font-etykiety);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--hgw-szary);
}
@media (max-width: 639.98px) {
	.hgw-szablon .hgw-karta__tytul {
		font-size: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hgw-szablon .hgw-przycisk {
		transition: none;
	}
}

/* Anchors: a little air below the sticky header. */
.hgw-szablon .hgw-tresc h2:not(:where(.vendo-pc, .vendo-bp) *),
.hgw-szablon .hgw-tresc h3:not(:where(.vendo-pc, .vendo-bp) *) {
	scroll-margin-top: calc(var(--hgw-naglowek-offset) + 24px);
}
