/* ETA Blog — Aktualności (archiwum + wpis)
   Design: editorial B2B PL, navy ETA, magazine rhythm (ui-complete / uidesigner A)
   Wersja 3.5.1 — cover-link hitbox on ≤767 (empty a was position:static → 0×0) */

body.blog,
body.eta-blog-skin,
body.archive.category,
body.archive.tag,
body.single-post {
	--eta-blog-max: 1280px;
	--eta-blog-pad-x: clamp(20px, 4vw, 40px);
	--eta-blog-gap: 24px;
	--eta-blog-card-pad: clamp(22px, 3vw, 32px);
	--eta-blog-sidebar-w: 300px;
	--eta-navy: #001f3f;
	--eta-link: #2f80ed;
	--eta-text: #2d3748;
	--eta-text-muted: #5a6c84;
	--eta-border: rgba(0, 31, 63, 0.1);
	--eta-radius: 16px;
	--eta-radius-sm: 12px;
	--eta-shadow: 0 12px 40px -14px rgba(0, 31, 63, 0.12);
}

/* ── Tło archiwum: pełna szerokość (body/html = navy w eta-shell-boxed) ─ */
html:has(body.blog),
html:has(body.eta-blog-skin),
html:has(body.single-post) {
	background-color: #f7f9fc;
}

body.eta-blog-skin,
body.blog,
body.single-post {
	background-color: #f7f9fc !important;
}

/* ── Kontener strony: tło full-bleed, siatka w .content_wrap ─────────── */
body.eta-blog-skin .page_content_wrap,
body.blog .page_content_wrap,
body.single-post .page_content_wrap {
	display: block !important;
	box-sizing: border-box;
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 32px var(--eta-blog-pad-x) 64px !important;
	background-color: #ffffff !important;
	background-image: linear-gradient(180deg, #f7f9fc 0%, #ffffff 220px) !important;
	float: none !important;
}

/* ── Siatka: treść + sidebar (tylko .content_wrap) ─────────────────────── */
body.eta-blog-skin .content_wrap,
body.blog .content_wrap,
body.single-post .content_wrap {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) var(--eta-blog-sidebar-w) !important;
	gap: clamp(24px, 4vw, 40px) !important;
	align-items: start !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: var(--eta-blog-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 !important;
	float: none !important;
	clear: both !important;
}

/* sidebar_hide: bez fantomowej kolumny 300px — treść pełna szerokość boxu, wyśrodkowana */
body.single-post.sidebar_hide .content_wrap,
body.blog.sidebar_hide .content_wrap,
body.eta-blog-skin.sidebar_hide .content_wrap,
body.archive.sidebar_hide .content_wrap,
body.search.sidebar_hide .content_wrap {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.single-post.sidebar_hide .content_wrap > .content,
body.blog.sidebar_hide .content_wrap > .content,
body.eta-blog-skin.sidebar_hide .content_wrap > .content {
	grid-column: 1 / -1;
	max-width: 100% !important;
}

body.eta-blog-skin .content_wrap::after,
body.blog .content_wrap::after {
	display: none !important;
}

body.eta-blog-skin .content_wrap > .content,
body.blog .content_wrap > .content,
body.single-post .content_wrap > .content {
	grid-column: 1;
	grid-row: 1;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.eta-blog-skin .content_wrap > .sidebar,
body.blog .content_wrap > .sidebar,
body.single-post .content_wrap > .sidebar {
	grid-column: 2;
	grid-row: 1;
	min-width: 0 !important;
	width: 100% !important;
	max-width: var(--eta-blog-sidebar-w) !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: sticky !important;
	top: calc(var(--eta-header-offset, 72px) + 16px);
	align-self: start;
}

body.eta-blog-skin .content_wrap > .clearfix,
body.blog .content_wrap > .clearfix {
	display: none !important;
}

/* ── Nagłówek archiwum ─────────────────────────────────────────────────── */
.eta-blog-archive-hero {
	margin: 0 0 28px;
	padding: 0 0 24px;
	border-bottom: 1px solid var(--eta-border);
}

.eta-blog-archive-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
}

.eta-blog-archive-hero__title {
	margin: 0 0 12px;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--eta-navy);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.eta-blog-archive-hero__lede {
	margin: 0;
	max-width: 58ch;
	font-size: clamp(16px, 1.8vw, 18px);
	line-height: 1.6;
	color: var(--eta-text-muted);
}

/* ── Lista wpisów ──────────────────────────────────────────────────────── */
body.eta-blog-skin .posts_container,
body.blog .posts_container {
	display: flex !important;
	flex-direction: column;
	gap: var(--eta-blog-gap);
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.eta-blog-skin .posts_container .post_item,
body.blog .posts_container .post_item,
body.archive .posts_container .post_item {
	box-sizing: border-box;
	position: relative;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	display: block !important;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--eta-shadow);
	transition: box-shadow 180ms ease, transform 180ms ease;
	float: none !important;
}

body.eta-blog-skin .posts_container .post_item:hover,
body.blog .posts_container .post_item:hover {
	box-shadow: 0 18px 48px -14px rgba(0, 31, 63, 0.16);
	transform: translateY(-2px);
}

@media (min-width: 768px) {
	/* Dwukolumnowa siatka: obraz (stretch) + .eta-post-card-body (child theme template). */
	body.eta-blog-skin .post_layout_classic.eta-post-card,
	body.blog .post_layout_classic.eta-post-card {
		display: grid !important;
		grid-template-columns: minmax(200px, 38%) minmax(0, 1fr);
		align-items: stretch;
	}

	body.eta-blog-skin .eta-post-card > .post_featured,
	body.blog .eta-post-card > .post_featured {
		grid-column: 1;
		grid-row: 1;
		margin: 0 !important;
		align-self: stretch;
		position: relative;
		display: block;
		min-height: 220px;
		height: auto;
		overflow: hidden;
	}

	body.eta-blog-skin .eta-post-card > .eta-post-card-body,
	body.blog .eta-post-card > .eta-post-card-body {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		min-width: 0;
		position: relative;
		padding-bottom: calc(var(--eta-blog-card-pad) + 44px);
	}

	body.eta-blog-skin .eta-post-card .post_featured .post_thumb,
	body.blog .eta-post-card .post_featured .post_thumb,
	body.eta-blog-skin .eta-post-card .post_featured > a,
	body.blog .eta-post-card .post_featured > a {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		min-height: 0;
		margin: 0;
	}

	body.eta-blog-skin .eta-post-card .post_featured img,
	body.blog .eta-post-card .post_featured img {
		width: 100%;
		height: 100%;
		min-height: 100%;
		object-fit: cover;
		object-position: center center;
		aspect-ratio: unset;
	}

	body.eta-blog-skin .eta-post-card .post_header,
	body.blog .eta-post-card .post_header {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	body.eta-blog-skin .post_layout_classic.post_item:not(.eta-post-card),
	body.blog .post_layout_classic.post_item:not(.eta-post-card) {
		display: block !important;
	}

	body.eta-blog-skin .post_layout_classic.post_item:not(.eta-post-card) .post_header,
	body.blog .post_layout_classic.post_item:not(.eta-post-card) .post_header {
		border-top: 3px solid var(--eta-link);
	}
}

body.eta-blog-skin .post_item .post_header,
body.blog .post_item .post_header,
body.archive .post_item .post_header {
	padding: var(--eta-blog-card-pad) var(--eta-blog-card-pad) 0;
}

body.eta-blog-skin .post_item .post_meta,
body.blog .post_item .post_meta,
body.archive .post_item .post_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 0 var(--eta-blog-card-pad);
	font-size: 13px;
	line-height: 1.5;
	color: var(--eta-text-muted);
	text-transform: none;
}

body.eta-blog-skin .post_item .post_meta a,
body.blog .post_item .post_meta a {
	color: var(--eta-link);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

/* Kategoria / tag — pill z obrysem */
body.eta-blog-skin .post_header .post_category,
body.blog .post_header .post_category {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	text-align: left;
}

body.eta-blog-skin .post_header .post_category .post_meta,
body.blog .post_header .post_category .post_meta {
	margin: 0 0 10px;
	padding: 0;
	justify-content: flex-start;
}

body.eta-blog-skin .post_header .post_category .post_meta_item,
body.blog .post_header .post_category .post_meta_item,
body.eta-blog-skin .post_header .post_category .post_categories,
body.blog .post_header .post_category .post_categories {
	margin: 0;
	padding: 0;
}

body.eta-blog-skin .post_header .post_category a,
body.blog .post_header .post_category a,
body.eta-blog-skin .post_item .post_meta .post_categories a,
body.blog .post_item .post_meta .post_categories a {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border: 1px solid rgba(47, 128, 237, 0.35);
	border-radius: 999px;
	background: rgba(47, 128, 237, 0.06);
	color: var(--eta-navy);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	white-space: nowrap;
}

body.eta-blog-skin .post_header .post_category a:hover,
body.blog .post_header .post_category a:hover,
body.eta-blog-skin .post_item .post_meta .post_categories a:hover,
body.blog .post_item .post_meta .post_categories a:hover {
	border-color: var(--eta-link);
	background: rgba(47, 128, 237, 0.12);
	color: var(--eta-link);
}

body.eta-blog-skin .post_item .post_meta .post_date,
body.blog .post_item .post_meta .post_date {
	color: var(--eta-text-muted);
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	white-space: nowrap;
}

body.eta-blog-skin .post_item .post_meta .post_counters,
body.blog .post_item .post_meta .post_counters,
body.eta-blog-skin .post_item .post_meta .post_comments,
body.blog .post_item .post_meta .post_comments,
body.eta-blog-skin .post_item .post_meta a[href*="#respond"],
body.blog .post_item .post_meta a[href*="#respond"],
body.eta-blog-skin .post_item .post_meta a[href*="#comments"],
body.blog .post_item .post_meta a[href*="#comments"] {
	display: none !important;
}

body.eta-blog-skin .post_item .post_title,
body.blog .post_item .post_title,
body.archive .post_item .post_title {
	margin: 0 0 12px;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

body.eta-blog-skin .post_item .post_title a,
body.blog .post_item .post_title a,
body.archive .post_item .post_title a {
	color: var(--eta-navy);
	text-decoration: none;
}

body.eta-blog-skin .post_item .post_title a:hover,
body.blog .post_item .post_title a:hover,
body.archive .post_item .post_title a:hover {
	color: var(--eta-link);
}

body.eta-blog-skin .post_item .post_content,
body.blog .post_item .post_content,
body.archive .post_item .post_content {
	padding: 0 var(--eta-blog-card-pad) calc(var(--eta-blog-card-pad) + 48px);
	color: var(--eta-text);
	font-size: 16px;
	line-height: 1.65;
}

body.eta-blog-skin .eta-post-card .post_content,
body.blog .eta-post-card .post_content {
	padding-bottom: 0;
}

body.eta-blog-skin .post_item .post_content p,
body.blog .post_item .post_content p {
	margin: 0 0 0.75em;
	max-width: 65ch;
}

/* Czytaj dalej — prawy dolny róg kafelka */
body.eta-blog-skin .post_item .post_content,
body.blog .post_item .post_content {
	position: relative;
}

body.eta-blog-skin .post_item > p:has(.eta-post-readmore),
body.blog .post_item > p:has(.eta-post-readmore),
body.eta-blog-skin .post_item > p:has(.more-link),
body.blog .post_item > p:has(.more-link),
body.eta-blog-skin .post_item > .eta-post-readmore,
body.blog .post_item > .eta-post-readmore,
body.eta-blog-skin .post_item > .more-link,
body.blog .post_item > .more-link {
	position: absolute;
	right: var(--eta-blog-card-pad);
	bottom: var(--eta-blog-card-pad);
	left: auto;
	margin: 0 !important;
	padding: 0;
	z-index: 2;
}

body.eta-blog-skin .post_item .eta-post-readmore,
body.blog .post_item .eta-post-readmore,
body.eta-blog-skin .post_item .more-link,
body.blog .post_item .more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
}

body.eta-blog-skin .post_item .eta-post-readmore__icon,
body.blog .post_item .eta-post-readmore__icon {
	font-size: 14px;
	line-height: 1;
}

body.eta-blog-skin .post_item .post_featured:not(:has(img)),
body.blog .post_item .post_featured:not(:has(img)) {
	display: none;
}

body.eta-blog-skin .post_item .post_featured img,
body.blog .post_item .post_featured img,
body.archive .post_item .post_featured img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/*
 * ThemeREX empty .cover-link — must stay absolute fill on all viewports.
 * Mobile grid reset used to force position:static on .post_featured > a → 0×0 hitbox;
 * taps hit unlinked IMG. Keep pointer-events above .mask (PE:none).
 */
body.eta-blog-skin .post_item .post_featured.hover_default > a.cover-link,
body.blog .post_item .post_featured.hover_default > a.cover-link,
body.archive .post_item .post_featured.hover_default > a.cover-link {
	position: absolute !important;
	inset: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	pointer-events: auto;
}

/* ── Paginacja ─────────────────────────────────────────────────────────── */
body.eta-blog-skin .nav-links,
body.blog .nav-links {
	margin-top: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--eta-border);
}

body.eta-blog-skin .nav-links a,
body.eta-blog-skin .nav-links span,
body.blog .nav-links a,
body.blog .nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	margin: 4px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--eta-navy);
	background: #fff;
	border: 1px solid var(--eta-border);
}

body.eta-blog-skin .nav-links .current,
body.blog .nav-links .current {
	min-width: 40px;
}

/* ── Sidebar ───────────────────────────────────────────────────────────── */
body.eta-blog-skin .sidebar,
body.blog .sidebar {
	font-size: 14px;
	line-height: 1.5;
	overflow: visible;
}

body.eta-blog-skin .sidebar .sidebar_inner,
body.blog .sidebar .sidebar_inner,
body.single-post .sidebar .sidebar_inner,
body.archive .sidebar .sidebar_inner,
body.eta-blog-skin .sidebar .elementor-120,
body.blog .sidebar .elementor-120,
body.single-post .sidebar .elementor-120,
body.archive .sidebar .elementor-120 {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.eta-blog-skin .sidebar .elementor-element-0889d9e,
body.blog .sidebar .elementor-element-0889d9e,
body.single-post .sidebar .elementor-element-0889d9e,
body.archive .sidebar .elementor-element-0889d9e {
	width: 100% !important;
	max-width: 100% !important;
	flex-direction: column !important;
	border-left: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Demo-banner ThemeREX (PHARMA) — nieużywany w sidebarze ETA */
body.eta-blog-skin .sidebar .elementor-element-1978bdb,
body.blog .sidebar .elementor-element-1978bdb,
body.single-post .sidebar .elementor-element-1978bdb,
body.archive .sidebar .elementor-element-1978bdb {
	display: none !important;
}

body.eta-blog-skin .sidebar .elementor-widget-heading .elementor-heading-title,
body.blog .sidebar .elementor-widget-heading .elementor-heading-title {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--eta-text-muted) !important;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_content,
body.blog .sidebar .widget_recent_posts .post_content {
	min-width: 0;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_categories,
body.blog .sidebar .widget_recent_posts .post_categories {
	margin: 0 0 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_categories a,
body.blog .sidebar .widget_recent_posts .post_categories a {
	display: inline-flex;
	padding: 2px 8px;
	border: 1px solid rgba(47, 128, 237, 0.3);
	border-radius: 999px;
	background: rgba(47, 128, 237, 0.05);
	color: var(--eta-navy);
	text-decoration: none;
}

body.eta-blog-skin .sidebar .widget_area.sc_widget_recent_posts,
body.blog .sidebar .widget_area.sc_widget_recent_posts,
body.eta-blog-skin .sidebar .widget_area.sc_widget_recent_posts > .widget,
body.blog .sidebar .widget_area.sc_widget_recent_posts > .widget {
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_item.with_thumb,
body.blog .sidebar .widget_recent_posts .post_item.with_thumb,
body.single-post .sidebar .widget_recent_posts .post_item.with_thumb,
body.archive .sidebar .widget_recent_posts .post_item.with_thumb {
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 14px 0 !important;
	border: none !important;
	border-top: 1px solid var(--eta-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_item.with_thumb:first-child,
body.blog .sidebar .widget_recent_posts .post_item.with_thumb:first-child {
	border-top: none !important;
	padding-top: 6px !important;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_thumb,
body.blog .sidebar .widget_recent_posts .post_thumb,
body.single-post .sidebar .widget_recent_posts .post_thumb,
body.archive .sidebar .widget_recent_posts .post_thumb {
	width: 72px !important;
	height: 72px !important;
	margin: 0 !important;
	flex-shrink: 0;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_thumb img,
body.blog .sidebar .widget_recent_posts .post_thumb img {
	width: 72px !important;
	height: 72px !important;
	object-fit: cover;
	border-radius: 10px;
}

body.eta-blog-skin .sidebar .widget_recent_posts .post_info,
body.blog .sidebar .widget_recent_posts .post_info {
	font-size: 11px;
	color: var(--eta-text-muted);
	margin-top: 4px;
}

body.eta-blog-skin .sidebar .elementor-120 > .e-con > .e-con.e-child,
body.blog .sidebar .elementor-120 > .e-con > .e-con.e-child,
body.single-post .sidebar .elementor-120 > .e-con > .e-con.e-child,
body.archive .sidebar .elementor-120 > .e-con > .e-con.e-child {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	padding: 16px 14px !important;
	margin: 0 0 16px !important;
	background: #fff;
	box-shadow: 0 8px 24px -12px rgba(0, 31, 63, 0.08);
}

body.eta-blog-skin .sidebar .elementor-120 > .e-con > .e-con.e-child .widget_area,
body.blog .sidebar .elementor-120 > .e-con > .e-con.e-child .widget_area,
body.eta-blog-skin .sidebar .elementor-120 > .e-con > .e-con.e-child .sc_widget_recent_posts,
body.blog .sidebar .elementor-120 > .e-con > .e-con.e-child .sc_widget_recent_posts,
body.eta-blog-skin .sidebar .elementor-120 > .e-con > .e-con.e-child .widget_area > .widget,
body.blog .sidebar .elementor-120 > .e-con > .e-con.e-child .widget_area > .widget,
body.eta-blog-skin .sidebar .widget_recent_posts,
body.blog .sidebar .widget_recent_posts,
body.eta-blog-skin .sidebar .widget_recent_posts .widget,
body.blog .sidebar .widget_recent_posts .widget {
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.eta-blog-skin .sidebar .trx-addons-list-items,
body.blog .sidebar .trx-addons-list-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.eta-blog-skin .sidebar .trx-addons-icon-list-item,
body.blog .sidebar .trx-addons-icon-list-item {
	margin: 0 0 8px !important;
	padding: 0;
	border: none;
}

body.eta-blog-skin .sidebar .trx-addons-icon-list-item a,
body.blog .sidebar .trx-addons-icon-list-item a {
	display: inline-flex;
	padding: 4px 0;
	color: var(--eta-navy);
	font-weight: 600;
	text-decoration: none;
}

body.eta-blog-skin .sidebar .trx-addons-icon-wrapper,
body.blog .sidebar .trx-addons-icon-wrapper {
	display: none !important;
}

body.eta-blog-skin .sidebar .search_form,
body.blog .sidebar .search_form {
	display: flex !important;
	gap: 8px;
	margin-top: 10px;
	width: 100%;
}

/* eta-shop-search.css ukrywa trx_sc_layouts_search globalnie — w sidebarze bloga przywracamy */
body.eta-blog-skin .sidebar .elementor-widget-trx_sc_layouts_search,
body.blog .sidebar .elementor-widget-trx_sc_layouts_search {
	display: block !important;
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search,
body.blog .sidebar .eta-blog-sidebar-search {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin: 10px 0 0;
	position: relative;
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search .eta-search-live,
body.blog .sidebar .eta-blog-sidebar-search .eta-search-live {
	flex: 1 1 100%;
	width: 100%;
	margin-top: 4px;
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search .eta-search-live__price,
body.blog .sidebar .eta-blog-sidebar-search .eta-search-live__price {
	display: none;
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search .eta-search-live__date,
body.blog .sidebar .eta-blog-sidebar-search .eta-search-live__date {
	font-size: 11px;
	color: var(--eta-text-muted);
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search .search_field,
body.blog .sidebar .eta-blog-sidebar-search .search_field {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	height: auto !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: static !important;
	padding: 10px 14px !important;
	border: 1px solid var(--eta-border) !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 15px !important;
	text-transform: none !important;
}

body.eta-blog-skin .sidebar .eta-blog-sidebar-search .search_submit,
body.blog .sidebar .eta-blog-sidebar-search .search_submit {
	position: static !important;
	flex-shrink: 0;
	padding: 10px 16px;
	cursor: pointer;
	width: auto !important;
	height: auto !important;
	line-height: 1.3 !important;
}

body.eta-blog-skin .sidebar .sc_layouts_search,
body.blog .sidebar .sc_layouts_search,
body.eta-blog-skin .sidebar .sc_layouts_search .search_wrap,
body.blog .sidebar .sc_layouts_search .search_wrap,
body.eta-blog-skin .sidebar .sc_layouts_search .search_form_wrap,
body.blog .sidebar .sc_layouts_search .search_form_wrap {
	width: 100% !important;
	max-width: 100% !important;
}

body.eta-blog-skin .sidebar .sc_layouts_search .search_form,
body.blog .sidebar .sc_layouts_search .search_form {
	display: flex !important;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

body.eta-blog-skin .sidebar .search_form .search_field,
body.blog .sidebar .search_form .search_field,
body.eta-blog-skin .sidebar .sc_layouts_search .search_field,
body.blog .sidebar .sc_layouts_search .search_field {
	flex: 1 1 auto;
	min-width: 0;
	width: 100% !important;
	max-width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	position: static !important;
	clip: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	border: 1px solid var(--eta-border) !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 15px !important;
}

body.eta-blog-skin .sidebar .search_form .search_submit,
body.blog .sidebar .search_form .search_submit {
	flex-shrink: 0;
	padding: 10px 16px;
	cursor: pointer;
}

body.eta-blog-skin .sidebar .widget,
body.blog .sidebar .widget,
body.archive .sidebar .widget,
body.single-post .sidebar .widget {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	padding: 18px 20px;
	margin: 0 0 16px !important;
	background: #fff;
	box-shadow: 0 8px 24px -12px rgba(0, 31, 63, 0.08);
	word-break: normal;
	overflow-wrap: break-word;
}

body.eta-blog-skin .sidebar .widget_title,
body.blog .sidebar .widget_title,
body.archive .sidebar .widget_title,
body.single-post .sidebar .widget_title {
	margin: 0 0 14px;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
	border: none;
}

body.eta-blog-skin .sidebar ul,
body.blog .sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.eta-blog-skin .sidebar li,
body.blog .sidebar li {
	margin: 0 0 10px !important;
	padding: 0;
	word-break: normal;
}

body.eta-blog-skin .sidebar input[type="search"],
body.eta-blog-skin .sidebar input[type="text"],
body.blog .sidebar input[type="search"],
body.blog .sidebar input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	border: 1px solid var(--eta-border);
	border-radius: 8px;
	font-size: 15px;
}

body.eta-blog-skin .sidebar .post_item,
body.blog .sidebar .post_item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: none;
	box-shadow: none;
	padding: 0;
	margin-bottom: 14px !important;
	background: transparent;
}

body.eta-blog-skin .sidebar .post_title,
body.blog .sidebar .post_title,
body.eta-blog-skin .sidebar h6,
body.blog .sidebar h6,
body.eta-blog-skin .sidebar .widget_recent_entries a,
body.blog .sidebar .widget_recent_entries a {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	color: var(--eta-navy) !important;
	word-break: normal;
	overflow-wrap: break-word;
}

body.eta-blog-skin .sidebar img,
body.blog .sidebar img {
	width: 56px !important;
	height: 56px !important;
	object-fit: cover;
	border-radius: 8px;
}

body.eta-blog-skin .sidebar a:hover,
body.blog .sidebar a:hover {
	color: var(--eta-link) !important;
}

/* Ukryj stopkę / elementy motywu w sidebarze bloga */
body.eta-blog-skin .sidebar .sc_layouts_title,
body.blog .sidebar .sc_layouts_title,
body.eta-blog-skin .sidebar .copyright,
body.blog .sidebar .copyright {
	display: none !important;
}

/* ── Pojedynczy wpis — hero editorial + meta pills ─────────────────────── */
body.single-post .post_header_wrap.post_header_wrap_in_content {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2.5vw, 24px);
	/* MB halved vs prior clamp(24–36) — cuts dead zone under header card */
	margin: 0 0 clamp(12px, 1.5vw, 18px);
	padding: clamp(20px, 3vw, 32px);
	/* PB halved vs prior clamp(20–32) all-sides */
	padding-bottom: clamp(10px, 1.5vw, 16px);
	background: #ffffff;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius);
	box-shadow: var(--eta-shadow);
}

/* Image-first: theme concatenates title THEN featured — reorder visually */
body.single-post .post_header_wrap.with_featured_image > .post_featured {
	order: -1;
	margin: 0 !important;
}

body.single-post .post_header_wrap.with_featured_image > .post_header {
	order: 0;
}

body.single-post .post_header_wrap .post_header.post_header_single {
	/* +15px under featured image (category/title/meta sit lower) */
	margin: 15px 0 0;
	padding: 0;
	border: 0;
}

/* Kategoria — fioletowa pigułka (jak referencja bubble) */
body.single-post .post_header .post_meta_categories {
	display: block;
	margin: 0 0 5px;
}

body.single-post .post_header .post_meta_item.post_categories {
	margin: 0 0 5px;
}

body.single-post .post_header .post_meta_categories .post_meta {
	margin: 0;
	padding: 0;
}

body.single-post .post_header .post_meta_categories .post_meta_item,
body.single-post .post_header .post_meta_categories .post_categories {
	margin: 0;
	padding: 0;
}

body.single-post .post_header .post_meta_categories a {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #ebe4f7;
	color: #5b3fa8;
	border: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}

body.single-post .post_header .post_meta_categories a:hover {
	background: #ddd0f2;
	color: #4a2f96;
}

/* Tytuł — display ~Wix H1 (~57px), theme .post_title font, luźniejszy LH */
body.single-post .post_header_wrap .post_title.entry-title,
body.single-post .post_item_single .post_title {
	margin: 0;
	color: var(--eta-navy);
	/* nie nadpisuj font-family — zostaje theme Instrument Sans / .post_title */
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Meta — pastelowe TAGI/pigułki (~10% większe niż bazowe chipy 12/6/12)
   Shared: single header + home TRX cards (.eta-home-blog) */
body.single-post,
.eta-home-blog {
	--eta-meta-chip-fs: 13.2px;
	--eta-meta-chip-pad-y: 7px;
	--eta-meta-chip-pad-x: 14px;
	--eta-meta-chip-icon: 14px;
	--eta-meta-chip-icon-gap: 10px;
}

body.single-post .post_header .post_meta_other,
.eta-home-blog .post_meta_other {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0;
}

body.single-post .post_header .post_meta_other {
	/* MT 25→40 (+15 user); MB 25 keep */
	margin: 40px 0 25px;
}

.eta-home-blog .post_meta_other {
	margin: 12px 0 0;
}

/* Kill ThemeREX separators; keep our icon ::before below */
body.single-post .post_header .post_meta_other .post_meta_item::after,
.eta-home-blog .post_meta_other .post_meta_item::after {
	display: none !important;
	content: none !important;
}

body.single-post .post_header .post_meta_other .post_author,
body.single-post .post_header .post_meta_other .post_date,
body.single-post .post_header .post_meta_other .post_meta_comments,
.eta-home-blog .post_meta_other .post_author,
.eta-home-blog .post_meta_other .post_date,
.eta-home-blog .post_meta_other .post_meta_comments {
	display: inline-flex;
	align-items: center;
	gap: var(--eta-meta-chip-icon-gap);
	margin: 0 !important;
	padding: var(--eta-meta-chip-pad-y) var(--eta-meta-chip-pad-x);
	border-radius: 999px;
	font-size: var(--eta-meta-chip-fs);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}

body.single-post .post_header .post_meta_other .post_author::before,
body.single-post .post_header .post_meta_other .post_date::before,
body.single-post .post_header .post_meta_other .post_meta_comments::before,
.eta-home-blog .post_meta_other .post_author::before,
.eta-home-blog .post_meta_other .post_date::before,
.eta-home-blog .post_meta_other .post_meta_comments::before {
	content: "" !important;
	display: block;
	flex: 0 0 var(--eta-meta-chip-icon);
	width: var(--eta-meta-chip-icon);
	height: var(--eta-meta-chip-icon);
	background-color: currentColor;
	font-size: 0 !important;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* user */
body.single-post .post_header .post_meta_other .post_author::before,
.eta-home-blog .post_meta_other .post_author::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
}

/* calendar */
body.single-post .post_header .post_meta_other .post_date::before,
.eta-home-blog .post_meta_other .post_date::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
}

/* message-circle (comments) */
body.single-post .post_header .post_meta_other .post_meta_comments::before,
.eta-home-blog .post_meta_other .post_meta_comments::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.2L4 17.2V4h16v12z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.2L4 17.2V4h16v12z'/%3E%3C/svg%3E");
}

body.single-post .post_header .post_meta_other .post_author,
.eta-home-blog .post_meta_other .post_author {
	background: #fde8d8;
	color: #b45309;
}

body.single-post .post_header .post_meta_other .post_author:hover,
.eta-home-blog .post_meta_other .post_author:hover {
	background: #fcd9bf;
	color: #92400e;
}

body.single-post .post_header .post_meta_other .post_date,
.eta-home-blog .post_meta_other .post_date {
	background: #eceff3;
	color: #4a5568;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}

.eta-home-blog .post_meta_other .post_date a {
	color: inherit;
	text-decoration: none;
}

body.single-post .post_header .post_meta_other .post_meta_comments,
.eta-home-blog .post_meta_other .post_meta_comments {
	background: #e8f4fc;
	color: #2563a8;
}

body.single-post .post_header .post_meta_other .post_meta_comments:hover,
.eta-home-blog .post_meta_other .post_meta_comments:hover {
	background: #d6ebfa;
	color: #1d4f87;
}

body.single-post .post_header .post_author_by,
body.single-post .post_header .post_meta_comments .post_meta_number,
.eta-home-blog .post_meta_other .post_author_by,
.eta-home-blog .post_meta_other .post_meta_comments .post_meta_number {
	display: none !important;
}

body.single-post .post_header .post_author_name,
.eta-home-blog .post_meta_other .post_author_name {
	font-weight: 600;
}

body.single-post .post_header .post_meta_comments .post_meta_label,
.eta-home-blog .post_meta_other .post_meta_comments .post_meta_label {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: 0;
	text-transform: none;
}

/* Hide leftover flat TRX meta row if Elementor cache still emits it */
.eta-home-blog .trx-addons-posts-item-meta {
	display: none !important;
}

/* Zdjęcie wyróżniające — pełny obraz (bez crop), szerokość 100%, wysokość naturalna */
body.single-post .post_header_wrap .post_featured.with_thumb {
	margin: 0 0 50px;
	padding: 0;
	text-align: left;
	overflow: visible;
	border-radius: var(--eta-radius-sm);
	line-height: 0;
	background: transparent;
}

body.single-post .post_header_wrap .post_featured.with_thumb img,
body.single-post .post_header_wrap .post_featured.with_thumb img.attachment-full {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center bottom;
	border-radius: var(--eta-radius-sm);
}

body.single-post .post_item_single > .post_featured > img {
	max-height: none !important;
	height: auto !important;
	width: 100% !important;
	object-fit: contain !important;
	object-position: center bottom !important;
}

body.single-post .post_item_single .post_content {
	color: var(--eta-text);
	font-size: 17px;
	line-height: 1.75;
	/* sidebar_hide: pełna szerokość wyśrodkowanego boxu (nie 68ch left-stuck) */
	max-width: 100%;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	box-sizing: border-box;
}

/* Safety: empty Gutenberg image figures leave a ~37px gap (Wix/import junk) */
body.single-post .post_item_single .post_content figure.wp-block-image:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
}

/* Wix Ricos: empty "Więcej działań" more-menu remnant (~36px hole) */
body.single-post .post_item_single .post_content .h.SZsu.G,
body.single-post .post_item_single .post_content div.SZsu,
body.single-post .post_item_single .post_content button.MHu.RVq[aria-haspopup="menu"] {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* FM-WIX-DUP-HEADER: hide leftover Ricos duplicate title/meta (theme header stays) */
body.single-post .post_item_single .post_content .HW6ttf > header,
body.single-post .post_item_single .post_content header.Ph,
body.single-post .post_item_single .post_content .Mb.PQSQ {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

/* FM-WIX-SHARE-TOOLBAR: hide dead Wix Ricos share chrome (empty 80×36 / 1280 strips) */
body.single-post .post_item_single .post_content .HW6ttf > footer,
body.single-post .post_item_single .post_content footer.Ph,
body.single-post .post_item_single .post_content footer.Ph.B6lt,
body.single-post .post_item_single .post_content section.Xyiv4,
body.single-post .post_item_single .post_content button.q.Xl.EOR,
body.single-post .post_item_single .post_content button[aria-label^="Udostępnij"],
body.single-post .post_item_single .post_content button[aria-label="Drukuj post"],
body.single-post .post_item_single .post_content .dw8bme {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	visibility: hidden !important;
}

/* ETA share bar (injected by eta_blog_sanitize_wix_ricos_content) */
body.single-post .post_item_single .post_content .eta-blog-share {
	display: block !important;
	visibility: visible !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 28px 0 8px;
	padding: 20px 0 0;
	border-top: 1px solid var(--eta-border);
	overflow: visible !important;
}

body.single-post .post_item_single .post_content .eta-blog-share__label {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
}

body.single-post .post_item_single .post_content .eta-blog-share__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

body.single-post .post_item_single .post_content .eta-blog-share__btn,
body.single-post .post_item_single .post_content .eta-blog-share a.eta-btn,
body.single-post .post_item_single .post_content .eta-blog-share button.eta-btn {
	display: inline-flex !important;
	visibility: visible !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	min-height: 44px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	text-decoration: none !important;
	cursor: pointer;
	overflow: visible !important;
}

body.single-post .post_item_single .post_content .eta-blog-share .eta-btn--outline {
	color: var(--eta-btn-outline-text, #001f3f) !important;
}

body.single-post .post_item_single .post_content .eta-blog-share .eta-btn--primary {
	color: var(--eta-btn-primary-text, #fff) !important;
}

@media (max-width: 767px) {
	body.single-post .post_item_single .post_content .eta-blog-share__btn {
		flex: 1 1 calc(50% - 8px);
	}
}

/* ONE share row: hide theme trx share when ETA bar is present */
body.single-post:has(.eta-blog-share) .post_meta_single .post_share,
body.single-post:has(.eta-blog-share) .post_item_single .post_share {
	display: none !important;
}

/* Inline CTA from Wix H2→button conversion (colors from eta-buttons-global) */
body.single-post .post_item_single .post_content .eta-blog-inline-cta {
	margin: 1.25em 0 1.75em;
	padding: 0;
}

body.single-post .post_item_single .post_content .eta-blog-inline-cta .eta-btn,
body.single-post .post_item_single .post_content .eta-blog-inline-cta a.eta-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	color: var(--eta-btn-primary-text, #fff) !important;
}

/*
 * Wix Ricos inline meta (ul.Nt.BDd.E): author / date / read-time
 * → same TAG/pill language as .post_meta_other, with icons + 10px icon gap
 */
body.single-post .post_item_single .post_content ul.Nt.BDd.E,
body.single-post .post_item_single .post_content ul.Nt {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none !important;
	margin: 12px 0 20px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.single-post .post_item_single .post_content ul.Nt > li {
	display: inline-flex !important;
	align-items: center;
	gap: var(--eta-meta-chip-icon-gap, 10px);
	margin: 0 !important;
	padding: var(--eta-meta-chip-pad-y, 7px) var(--eta-meta-chip-pad-x, 14px) !important;
	border-radius: 999px;
	font-size: var(--eta-meta-chip-fs, 13.2px);
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	list-style: none !important;
}

body.single-post .post_item_single .post_content ul.Nt > li::before {
	content: "";
	display: block;
	flex: 0 0 var(--eta-meta-chip-icon, 14px);
	width: var(--eta-meta-chip-icon, 14px);
	height: var(--eta-meta-chip-icon, 14px);
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Author — orange pill */
body.single-post .post_item_single .post_content ul.Nt > li.MABqta {
	background: #fde8d8;
	color: #b45309;
}
body.single-post .post_item_single .post_content ul.Nt > li.MABqta::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
}

/* Date — gray pill */
body.single-post .post_item_single .post_content ul.Nt > li.BTynn,
body.single-post .post_item_single .post_content ul.Nt > li.w.BTynn {
	background: #eceff3;
	color: #4a5568;
	font-weight: 500;
}
body.single-post .post_item_single .post_content ul.Nt > li.BTynn::before,
body.single-post .post_item_single .post_content ul.Nt > li.w.BTynn::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
}

/* Reading time — teal/green pill */
body.single-post .post_item_single .post_content ul.Nt > li.F56,
body.single-post .post_item_single .post_content ul.Nt > li.Ope,
body.single-post .post_item_single .post_content ul.Nt > li.F56.Ope {
	background: #e6f6ef;
	color: #0f766e;
	font-weight: 500;
}
body.single-post .post_item_single .post_content ul.Nt > li.F56::before,
body.single-post .post_item_single .post_content ul.Nt > li.Ope::before,
body.single-post .post_item_single .post_content ul.Nt > li.F56.Ope::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
}

/* Fallback if Wix class order differs: 1st=author, 2nd=date, 3rd=read */
body.single-post .post_item_single .post_content ul.Nt > li:nth-child(1):not([class*="BTynn"]):not([class*="F56"]) {
	background: #fde8d8;
	color: #b45309;
}
body.single-post .post_item_single .post_content ul.Nt > li:nth-child(2) {
	background: #eceff3;
	color: #4a5568;
	font-weight: 500;
}
body.single-post .post_item_single .post_content ul.Nt > li:nth-child(3) {
	background: #e6f6ef;
	color: #0f766e;
	font-weight: 500;
}

/* Z sidebarem: czytelna miara kolumny tekstu, wyśrodkowana w slocie content */
body.single-post.sidebar_show .post_item_single .post_content {
	max-width: 68ch;
}

body.single-post .post_item_single .post_content h2,
body.single-post .post_item_single .post_content h3 {
	color: var(--eta-navy);
	margin-top: 1.6em;
	margin-bottom: 0.6em;
}

body.single-post .post_item_single .post_content a {
	color: var(--eta-link);
}

body.single-post .post_item_single .post_content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 15px;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	overflow: hidden;
}

body.single-post .post_item_single .post_content thead {
	background: var(--eta-navy);
	color: #fff;
}

body.single-post .post_item_single .post_content thead th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.03em;
}

body.single-post .post_item_single .post_content tbody tr:nth-child(odd) {
	background: #f7f9fc;
}

body.single-post .post_item_single .post_content tbody td {
	padding: 10px 16px;
	border-top: 1px solid var(--eta-border);
	line-height: 1.5;
}

/* ── Powiązane produkty ─────────────────────────────────────────────────── */
.eta-related-products {
	margin: 48px 0 0;
	padding-top: 32px;
	border-top: 2px solid var(--eta-border);
}

.eta-related-products__title {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
}

.eta-related-products__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

@media (min-width: 640px) {
	.eta-related-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.eta-related-products__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.eta-related-products__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	/* Clip only the image top corners — bottom padding must stay visible */
	overflow: hidden;
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 180ms ease, transform 180ms ease;
	/* Breathing room below CTA (on card, not __info — survives overflow:hidden + radius) */
	padding: 0 0 20px;
	box-sizing: border-box;
}

/* ETA motion kit: keep hover lift when reveal class is present */
.eta-related-products__item.eta-reveal.is-in:hover,
.eta-related-products__item.eta-reveal.eta-reveal--in:hover {
	transform: translateY(-2px);
}

.eta-related-products__item:hover {
	box-shadow: var(--eta-shadow);
	transform: translateY(-2px);
}

.eta-related-products__img,
.eta-related-products__img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.eta-related-products__img--placeholder {
	background: linear-gradient(135deg, #e8edf3, #d0dae6);
}

.eta-related-products__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 4px;
	padding: 12px 12px 0;
	min-width: 0;
	/* Keep CTA inset from card sides; bottom gap comes from __item padding */
}

.eta-related-products__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--eta-navy);
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}

.eta-related-products__price {
	font-size: 14px;
	font-weight: 700;
	color: var(--eta-navy);
}

.eta-related-products__price .woocommerce-Price-amount {
	color: var(--eta-navy);
}

.eta-related-products__price {
	margin-bottom: 8px;
}

.eta-related-products__cta {
	margin-top: auto;
	margin-bottom: 0;
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--eta-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: center;
}

.eta-related-products__item:hover .eta-related-products__cta {
	background: var(--eta-link);
}

/* ── Ostatnie wpisy (single) ─────────────────────────────────────────────── */
.eta-recent-posts-widget {
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	padding: 18px 20px;
	margin-bottom: 16px !important;
	background: #fff;
	box-shadow: 0 8px 24px -12px rgba(0, 31, 63, 0.08);
}

.eta-recent-posts-widget .widget_title {
	margin: 0 0 14px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--eta-text-muted) !important;
	border: none !important;
}

.eta-recent__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eta-recent__item {
	margin-bottom: 14px !important;
}

.eta-recent__link {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.eta-recent__thumb,
.eta-recent__thumb img {
	width: 56px;
	min-width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.eta-recent__thumb--placeholder {
	background: linear-gradient(135deg, #e8edf3, #d0dae6);
}

.eta-recent__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eta-recent__post-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--eta-navy);
}

.eta-recent__link:hover .eta-recent__post-title {
	color: var(--eta-link);
}

.eta-recent__date {
	font-size: 11px;
	color: var(--eta-text-muted);
}

.eta-recent__all {
	margin: 12px 0 0;
	text-align: right;
}

.eta-recent__all a {
	font-size: 12px;
	font-weight: 600;
	color: var(--eta-link);
	text-decoration: none;
}

.eta-recent__all a:hover {
	text-decoration: underline;
}

/* ── Ostatnie wpisy w treści artykułu (inline) ───────────────────────────── */

.eta-recent-inline {
	margin: 40px 0 0;
	padding-top: 32px;
	border-top: 2px solid var(--eta-border);
}

.eta-recent-inline__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 12px;
}

.eta-recent-inline__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
}

.eta-recent-inline__see-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--eta-link);
	text-decoration: none;
	white-space: nowrap;
}

.eta-recent-inline__see-all:hover {
	text-decoration: underline;
}

.eta-recent-inline__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

@media (min-width: 640px) {
	.eta-recent-inline__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.eta-recent-inline__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none !important;
	color: inherit;
}

.eta-recent-inline__img,
.eta-recent-inline__img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--eta-radius-sm);
	display: block;
}

.eta-recent-inline__img--ph {
	background: linear-gradient(135deg, #e8edf3, #d0dae6);
}

.eta-recent-inline__post-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--eta-navy);
}

.eta-recent-inline__item:hover .eta-recent-inline__post-title {
	color: var(--eta-link);
}

.eta-recent-inline__date {
	display: block;
	font-size: 11px;
	color: var(--eta-text-muted);
	margin-top: 3px;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
	body.eta-blog-skin .post_layout_classic.post_item,
	body.blog .post_layout_classic.post_item {
		display: block !important;
	}

	body.eta-blog-skin .eta-post-card > .eta-post-card-body,
	body.blog .eta-post-card > .eta-post-card-body {
		padding-bottom: calc(var(--eta-blog-card-pad) + 44px);
	}

	/* Only .post_thumb may go static — empty .cover-link needs absolute fill or 0×0 hitbox (FM-cover-link-mobile). */
	body.eta-blog-skin .eta-post-card .post_featured .post_thumb,
	body.blog .eta-post-card .post_featured .post_thumb {
		position: static;
	}

	body.eta-blog-skin .post_item .post_featured,
	body.blog .post_item .post_featured {
		margin: 0 !important;
		position: relative;
		min-height: 0;
	}

	body.eta-blog-skin .post_item .post_featured img,
	body.blog .post_item .post_featured img {
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: 240px;
		aspect-ratio: 16 / 10;
		object-fit: cover;
	}
}

@media (max-width: 1023px) {
	body.eta-blog-skin .content_wrap,
	body.blog .content_wrap,
	body.single-post .content_wrap {
		display: flex !important;
		flex-direction: column;
		gap: 28px;
	}

	body.eta-blog-skin .content_wrap > .sidebar,
	body.blog .content_wrap > .sidebar,
	body.single-post .content_wrap > .sidebar {
		order: 2;
		width: 100% !important;
		max-width: 100% !important;
		position: static !important;
	}

	body.eta-blog-skin .content_wrap > .content,
	body.blog .content_wrap > .content,
	body.single-post .content_wrap > .content {
		order: 1;
	}

	.eta-blog-archive-hero {
		padding-bottom: 20px;
		margin-bottom: 4px;
	}
}

/* -- Single post: ukryj liczniki wyświetleń (meta w pigułkach zostaje) -------- */
body.single-post .post_meta .post_counters,
body.single-post .post_meta .post_views,
body.single-post .post_meta .post_meta_views {
	display: none !important;
}

/* ── Nawigacja poprzedni / następny (strzałki) ─────────────────────────── */
body.single-post .nav-links-single:not(.eta-post-nav) {
	display: none !important;
}

body.single-post .eta-post-nav {
	margin: 32px 0 28px;
}

body.single-post .eta-post-nav__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

body.single-post .eta-post-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50% !important;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.single-post .eta-post-nav__btn::before {
	font-family: "fontello", sans-serif;
	font-size: 20px;
	line-height: 1;
	font-weight: 400;
}

body.single-post .eta-post-nav__btn--prev::before {
	content: "\e837";
}

body.single-post .eta-post-nav__btn--next::before {
	content: "\e836";
}

body.single-post .eta-post-nav__btn.is-disabled {
	opacity: 0.35;
	pointer-events: none;
	border-style: dashed;
	box-shadow: none;
}

/* ── Formularz komentarzy ───────────────────────────────────────────────── */
body.single-post .comments_wrap {
	margin-top: 8px;
}

body.single-post .comments_form_title {
	color: var(--eta-navy);
	font-size: clamp(22px, 2.4vw, 28px);
	margin-bottom: 20px;
}

body.single-post .comments_wrap .comments_field {
	margin-bottom: 16px;
}

body.single-post .comments_wrap .comments_author,
body.single-post .comments_wrap .comments_email {
	width: calc(50% - 8px);
	float: left;
}

body.single-post .comments_wrap .comments_email {
	float: right;
}

body.single-post .comments_wrap .comments_field input:not([type="checkbox"]),
body.single-post .comments_wrap .comments_field textarea {
	width: 100%;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	background: #fff;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--eta-text);
	box-shadow: none;
}

body.single-post .comments_wrap .comments_field input:not([type="checkbox"]):focus,
body.single-post .comments_wrap .comments_field textarea:focus {
	border-color: rgba(47, 128, 237, 0.55);
	outline: none;
	box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

body.single-post .comments_wrap .sc_form_field_wrap {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body.single-post .comments_wrap .comment-form-cookies-consent,
body.single-post .comments_wrap .comments_field.comments_i_agree_privacy_policy {
	clear: both;
	margin-top: 4px;
}

body.single-post .comments_wrap .comment-form-cookies-consent label,
body.single-post .comments_wrap .comments_field input[type="checkbox"] + label {
	display: block;
	font-size: 14px;
	line-height: 1.55;
	color: var(--eta-text-muted);
}

body.single-post .comments_wrap .comment-form-cookies-consent input,
body.single-post .comments_wrap .comments_field input[type="checkbox"] {
	margin-right: 8px;
}

body.single-post .comment-form .form-submit {
	margin-top: 20px;
}

body.single-post .comment-form .submit,
body.single-post .comment-form #send_comment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	cursor: pointer;
}

@media (max-width: 767px) {
	body.single-post .comments_wrap .comments_author,
	body.single-post .comments_wrap .comments_email {
		width: 100%;
		float: none;
	}
}

/* ── Czytaj także — 3 kafelki poziomo ──────────────────────────────────── */
body.single-post .related_wrap {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 2px solid var(--eta-border);
}

body.single-post .related_wrap_title {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--eta-text-muted);
}

body.single-post .related_wrap .columns_wrap.posts_container {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
}

body.single-post .related_wrap .columns_wrap.posts_container::before,
body.single-post .related_wrap .columns_wrap.posts_container::after {
	display: none;
}

body.single-post .related_wrap .columns_wrap.posts_container > [class*="column-"] {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.single-post .related_wrap .related_item {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px;
	border: 1px solid var(--eta-border);
	border-radius: var(--eta-radius-sm);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.single-post .related_wrap .related_item:hover {
	border-color: rgba(47, 128, 237, 0.35);
	box-shadow: var(--eta-shadow);
}

body.single-post .related_wrap .post_featured {
	display: none;
}

body.single-post .related_wrap .post_header {
	margin: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

body.single-post .related_wrap .post_meta_categories {
	margin-bottom: 8px;
}

body.single-post .related_wrap .post_meta_categories a {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eta-link);
	text-decoration: none;
}

body.single-post .related_wrap .post_title {
	margin: 0;
	font-size: 15px !important;
	line-height: 1.45 !important;
	font-weight: 600;
}

body.single-post .related_wrap .post_title a {
	color: var(--eta-navy);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.single-post .related_wrap .post_title a:hover {
	color: var(--eta-link);
}

body.single-post .related_wrap .post_meta_info {
	margin-top: auto;
	padding-top: 12px;
	font-size: 13px;
	color: var(--eta-text-muted);
}

body.single-post .related_wrap .post_meta_comments,
body.single-post .related_wrap .post_meta_info .post_meta_comments {
	display: none !important;
}

@media (max-width: 991px) {
	body.single-post .related_wrap .columns_wrap.posts_container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	body.single-post .related_wrap .columns_wrap.posts_container {
		grid-template-columns: 1fr;
	}
}
