/* ==========================================================================
   notiOne blog – warstwa stylów dopasowująca motyw Rosemary do nowego
   serwisu notione.com (Poppins, zieleń notiOne, zaokrąglone karty).
   Ładowany jako ostatni arkusz – nadpisuje style.css / responsive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeny (kolory z serwisu – oklch + fallback hex)
   -------------------------------------------------------------------------- */
:root {
	--noti-font: "Poppins", "Verdana", "Arial", "Helvetica", "Trebuchet MS", sans-serif;

	--noti-green-50:  #eff8f6;
	--noti-green-100: #dff1ed;
	--noti-green-200: #c0e4dc;
	--noti-green-300: #a0d6ca;
	--noti-green-400: #81c8b9;
	--noti-green-500: #61baa7;
	--noti-green-600: #269d8e;
	--noti-green-700: #3a7064;
	--noti-green-800: #274a43;
	--noti-green-900: #132521;

	--noti-neutral-50:  #fcfcfc;
	--noti-neutral-100: #f9f9f9;
	--noti-neutral-200: #e2e2e2;
	--noti-neutral-300: #d9d9d9;
	--noti-neutral-400: #999999;
	--noti-neutral-500: #909090;
	--noti-neutral-600: #8e999e;
	--noti-neutral-700: #4d4d4d;
	--noti-neutral-800: #2f2f2f;
	--noti-neutral-900: #1d1d1b;

	--noti-accent-red: #d41242;
	--noti-cart-action: #dd465f;

	--noti-container: 80rem;      /* 1280px – jak --container-page w serwisie */
	--noti-page-x: 1.5rem;
	--noti-radius-card: 24px;
	--noti-radius-btn: 999px;
	--noti-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
	--noti-shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.10);
	--noti-duration: 160ms;
	--noti-ease: cubic-bezier(0.2, 0, 0, 1);
}

@supports (color: oklch(0.5 0.1 180)) {
	:root {
		--noti-green-50:  oklch(0.9718 0.0099 181.41);
		--noti-green-100: oklch(0.9437 0.0197 181.1);
		--noti-green-200: oklch(0.8907 0.0392 180.41);
		--noti-green-300: oklch(0.8353 0.0582 179.58);
		--noti-green-400: oklch(0.7815 0.0749 179.4);
		--noti-green-500: oklch(0.7281 0.0909 177.98);
		--noti-green-600: oklch(0.6293 0.1032 182.37);
		--noti-green-700: oklch(0.5041 0.0612 177.52);
		--noti-green-800: oklch(0.3802 0.0427 179.52);
		--noti-green-900: oklch(0.2473 0.0252 178.38);
		--noti-neutral-50:  oklch(0.9911 0 89.88);
		--noti-neutral-100: oklch(0.9821 0 89.88);
		--noti-neutral-200: oklch(0.9128 0 89.88);
		--noti-neutral-300: oklch(0.8853 0 89.88);
		--noti-neutral-400: oklch(0.683 0 89.88);
		--noti-neutral-500: oklch(0.6534 0 89.88);
		--noti-neutral-600: oklch(0.6757 0.0147 226.66);
		--noti-neutral-700: oklch(0.4202 0 89.88);
		--noti-neutral-800: oklch(0.3052 0 89.88);
		--noti-neutral-900: oklch(0.23 0.0038 106.69);
		--noti-cart-action: oklch(0.6139 0.1866 15.07);
	}
}

/* --------------------------------------------------------------------------
   2. Typografia globalna
   -------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	font-family: var(--noti-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--noti-neutral-800);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--noti-font);
	font-weight: 600;
	color: var(--noti-neutral-800);
	line-height: 1.2;
	margin: 0 0 0.5em;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { line-height: 1.6; }

a {
	color: var(--noti-green-600);
	text-decoration: none;
	transition: color var(--noti-duration) var(--noti-ease), border-color var(--noti-duration) var(--noti-ease), background-color var(--noti-duration) var(--noti-ease);
}
a:hover, a:focus-visible { color: var(--noti-green-700); }

:focus-visible {
	outline: 2px solid var(--noti-green-500);
	outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

/* Rosemary nie ustawia box-sizing globalnie – bez tego min-height/padding
   przycisków sumują się i przycisk „Sklep” rozpycha nagłówek. */
.noti-header, .noti-header *, .noti-footer, .noti-footer *, .noti-btn, .noti-iconbtn, .noti-mobile-menu * { box-sizing: border-box; }

/* --------------------------------------------------------------------------
   3. Siatka strony (nadpisuje sztywne szerokości Rosemary)
   -------------------------------------------------------------------------- */
.noti-container {
	width: min(100% - (var(--noti-page-x) * 2), var(--noti-container));
	margin-inline: auto;
}

.noti-page { padding-top: 61px; } /* wysokość stałego nagłówka */

.container {
	width: min(100% - (var(--noti-page-x) * 2), var(--noti-container));
	max-width: none;
	margin: 0 auto;
}

#content {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	overflow: visible;
	margin: 40px 0 80px;
}
.noti-crumbs--post + #content { margin-top: 16px; }
#main {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	float: none;
}
#main.fullwidth { width: 100%; }
#sidebar {
	width: 320px;
	flex: 0 0 320px;
	float: none;
}

@media (max-width: 1023px) {
	#content { flex-direction: column; gap: 40px; margin-top: 28px; }
	#main, #sidebar { width: 100%; max-width: 100%; flex: none; }
}
#content > * { min-width: 0; max-width: 100%; }
@media (max-width: 767px) {
	:root { --noti-page-x: 1rem; }
	body { font-size: 15px; }
	h1 { font-size: 24px; }
	h2 { font-size: 22px; }
}

/* ukryj resztki starego motywu, jeśli gdzieś zostały */
#top-bar, #header, #logo, #instagram-footer, #footer { display: none !important; }

/* --------------------------------------------------------------------------
   4. Przyciski
   -------------------------------------------------------------------------- */
.noti-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 24px;
	border-radius: var(--noti-radius-btn);
	font-family: var(--noti-font);
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color var(--noti-duration) var(--noti-ease), border-color var(--noti-duration) var(--noti-ease), color var(--noti-duration) var(--noti-ease), transform var(--noti-duration) var(--noti-ease);
}
.noti-btn:active { transform: translateY(1px); }

.noti-btn--primary { background: var(--noti-green-500); color: #fff; }
.noti-btn--primary:hover, .noti-btn--primary:focus-visible { background: var(--noti-green-600); color: #fff; }

.noti-btn--outline { background: transparent; border-color: var(--noti-neutral-400); color: var(--noti-neutral-800); }
.noti-btn--outline:hover, .noti-btn--outline:focus-visible { border-color: var(--noti-green-500); color: var(--noti-green-600); }

.noti-btn--red { background: var(--noti-accent-red); color: #fff; }
.noti-btn--red:hover { background: #b60f38; color: #fff; }

.noti-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--noti-neutral-800);
	cursor: pointer;
	transition: background-color var(--noti-duration) var(--noti-ease);
}
.noti-iconbtn:hover, .noti-iconbtn:focus-visible { background: var(--noti-neutral-100); }
.noti-iconbtn img { height: 32px; width: auto; }

/* --------------------------------------------------------------------------
   5. Nagłówek
   -------------------------------------------------------------------------- */
.noti-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	height: 61px;
	background: #fff;
	border-bottom: 4px solid var(--noti-green-500);
	color: var(--noti-neutral-800);
	transition: box-shadow var(--noti-duration) var(--noti-ease);
}
.noti-header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08); }
.admin-bar .noti-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .noti-header { top: 46px; } }

.noti-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 100%;
}

.noti-header__mobile-left { display: flex; align-items: center; gap: 16px; }
.noti-header__sygnet img { height: 36px; width: auto; display: block; }
.noti-header__burger-icon, .noti-header__close-icon { width: 36px; height: 36px; }
.noti-header__close-icon { display: none; }
.noti-header.is-menu-open .noti-header__burger-icon { display: none; }
.noti-header.is-menu-open .noti-header__close-icon { display: block; }

.noti-header__logo { display: none; line-height: 0; }
.noti-header__logo img { width: 100px; height: auto; }

.noti-header__nav {
	display: none;
	flex: 1 1 0;
	min-width: 0;
	align-items: center;
	gap: 28px;
	margin-left: 32px;
}
.noti-header__link {
	padding: 8px 4px;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	font-weight: 600;
	color: var(--noti-neutral-800);
	white-space: nowrap;
	transition: border-color var(--noti-duration) var(--noti-ease), color var(--noti-duration) var(--noti-ease);
}
.noti-header__link:hover, .noti-header__link:focus-visible, .noti-header__link.is-current {
	color: var(--noti-neutral-800);
	border-bottom-color: var(--noti-green-500);
}

.noti-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.noti-header__shop { display: none; }
.noti-header__account { }
.noti-header__cart { margin-right: 8px; }

.noti-lang { display: none; align-items: center; gap: 2px; }
.noti-lang__item {
	padding: 6px 8px;
	border-radius: var(--noti-radius-btn);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--noti-neutral-500);
}
.noti-lang__item:hover { color: var(--noti-neutral-800); background: var(--noti-neutral-100); }
.noti-lang__item.is-current { color: var(--noti-green-600); background: var(--noti-green-50); }

@media (min-width: 1024px) {
	.noti-header__mobile-left { display: none; }
	.noti-header__logo { display: block; }
	.noti-header__nav { display: flex; }
	.noti-header__shop { display: inline-flex; }
	.noti-header__account { display: none; }
	.noti-lang { display: flex; }
}

/* menu mobilne */
.noti-mobile-menu {
	position: fixed;
	top: 61px; left: 0; right: 0; bottom: 0;
	background: #fff;
	overflow-y: auto;
	padding: 20px 0 40px;
	z-index: 999;
}
.admin-bar .noti-mobile-menu { top: calc(61px + 46px); }
.noti-mobile-menu[hidden] { display: none; }
html.noti-menu-open, html.noti-menu-open body { overflow: hidden; }
.noti-mobile-menu__nav { display: flex; flex-direction: column; }
.noti-mobile-menu__link {
	padding: 14px 4px;
	border-bottom: 1px solid var(--noti-neutral-200);
	font-size: 16px;
	font-weight: 600;
	color: var(--noti-neutral-800);
}
.noti-mobile-menu__link.is-current { color: var(--noti-green-600); }
.noti-mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.noti-mobile-menu__actions .noti-btn { width: 100%; }
.noti-lang--mobile { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.noti-lang--mobile .noti-lang__item { font-size: 14px; padding: 8px 14px; }
@media (min-width: 1024px) { .noti-mobile-menu { display: none !important; } }

/* --------------------------------------------------------------------------
   6. Nagłówek archiwum / wyszukiwarki
   -------------------------------------------------------------------------- */
.archive-box {
	text-align: center;
	padding: 36px 0 0;
	margin: 0;
	border: 0;
}
.archive-box span {
	display: inline-block;
	padding: 6px 14px;
	border-radius: var(--noti-radius-btn);
	background: var(--noti-green-50);
	color: var(--noti-green-700);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.archive-box h1 {
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	margin: 0;
	padding: 0;
	border: 0;
}
.archive-box span + h1 { margin-top: 0; }


/* --------------------------------------------------------------------------
   6b. Nagłówek bloga: okruszki, tytuł, zakładki kategorii
   -------------------------------------------------------------------------- */
.noti-bloghead { padding: 36px 0 0; }
.noti-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--noti-neutral-700); }
.noti-crumbs a { color: var(--noti-neutral-700); }
.noti-crumbs a:hover { color: var(--noti-green-600); }
.noti-crumbs [aria-current] { color: var(--noti-neutral-800); }
.noti-crumbs__sep { width: 6px; height: 6px; border-top: 1.5px solid var(--noti-neutral-500); border-right: 1.5px solid var(--noti-neutral-500); transform: rotate(45deg); flex: 0 0 auto; }
.noti-crumbs--post { padding: 28px 0 0; }
@media (max-width: 767px) { .noti-crumbs--post { padding-top: 20px; } .noti-crumbs--post [aria-current] { display: block; width: 100%; } }
.noti-crumbs--post [aria-current] { color: var(--noti-neutral-500); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-entry p:empty { display: none; }
.noti-bloghead__title { margin: 14px 0 0; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--noti-neutral-800); }
@media (max-width: 767px) { .noti-bloghead { padding-top: 24px; } .noti-bloghead__title { font-size: 24px; } }

.noti-tabs {
	position: relative;
	margin: 0 0 24px;
	background: #fff;
	border: 1px solid var(--noti-neutral-200);
	border-radius: var(--noti-radius-card);
	box-shadow: var(--noti-shadow-card);
	overflow: hidden;
}
.noti-tabs__scroll {
	display: flex;
	flex-wrap: wrap;            /* desktop: tagi zawijają się do kolejnych linii */
	gap: 0 4px;
	padding: 4px 12px;
}
.noti-tabs__item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 12px 12px;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--noti-neutral-700);
	white-space: nowrap;
	transition: color var(--noti-duration) var(--noti-ease), border-color var(--noti-duration) var(--noti-ease);
}
.noti-tabs__item:hover { color: var(--noti-neutral-800); }
.noti-tabs__item.is-active { color: var(--noti-neutral-800); font-weight: 600; border-bottom-color: var(--noti-green-500); }

/* telefon / tablet: jedna linia z przewijaniem poziomym i „zanikaniem” na prawej krawędzi jako podpowiedź, że jest więcej */
@media (max-width: 767px) {
	.noti-tabs__scroll {
		flex-wrap: nowrap;
		padding: 0 32px 0 12px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.noti-tabs__scroll::-webkit-scrollbar { display: none; }
	.noti-tabs::after {
		content: "";
		position: absolute;
		top: 0; right: 0; bottom: 0;
		width: 40px;
		pointer-events: none;
		background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%);
	}
	.noti-tabs__item { padding: 16px 12px 14px; }
}
.noti-tabs__count {
	display: inline-block;
	min-width: 20px;
	padding: 2px 6px;
	border-radius: var(--noti-radius-btn);
	background: var(--noti-neutral-100);
	color: var(--noti-neutral-500);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}
.noti-tabs__item.is-active .noti-tabs__count { background: var(--noti-green-50); color: var(--noti-green-700); }

/* Gdy nad listą są zakładki, #content nie potrzebuje dużego górnego marginesu */
.noti-bloghead ~ .container #content, .container:has(.noti-bloghead) + .container #content { margin-top: 24px; }

/* Widget „Kategorie” (standardowy WP) – jak lista kategorii w nowym serwisie */
.widget_categories ul li { padding: 0; border-bottom: 1px solid var(--noti-neutral-100); }
.widget_categories ul li:last-child { border-bottom: 0; }
.widget_categories ul li a {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 12px;
	padding: 12px 4px;
	color: var(--noti-neutral-800);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.3;
}
.widget_categories ul li a::after {
	content: "";
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 8px; height: 8px;
	border-top: 1.5px solid var(--noti-neutral-500);
	border-right: 1.5px solid var(--noti-neutral-500);
	transform: rotate(45deg);
	transition: border-color var(--noti-duration) var(--noti-ease), transform var(--noti-duration) var(--noti-ease);
}
.widget_categories ul li a:hover { color: var(--noti-green-600); }
.widget_categories ul li a:hover::after { border-color: var(--noti-green-600); transform: translateX(2px) rotate(45deg); }
.widget_categories ul li a .cat-name { grid-column: 1; }
.widget_categories ul li a .cat-count { grid-column: 1; font-size: 12px; font-weight: 400; color: var(--noti-neutral-500); margin-top: 2px; }
.widget_categories ul ul.children { margin-left: 16px; }
.widget .widget-title + ul { margin-top: -4px; }

/* --------------------------------------------------------------------------
   7. Wpisy – lista / siatka / pełny
   -------------------------------------------------------------------------- */
.post, article.post, .list-item, .grid-item {
	background: #fff;
	border: 1px solid var(--noti-neutral-200);
	border-radius: var(--noti-radius-card);
	box-shadow: var(--noti-shadow-card);
	overflow: hidden;
	margin: 0 0 32px;
	padding: 0;
	text-align: left;
	transition: box-shadow var(--noti-duration) var(--noti-ease), transform var(--noti-duration) var(--noti-ease);
}
.blog .post:hover, .archive .post:hover, .search .post:hover,
.list-item:hover, .grid-item:hover {
	box-shadow: var(--noti-shadow-card-hover);
	transform: translateY(-2px);
}
.single .post, .page .post { transform: none !important; }

.post-header {
	padding: 28px 32px 0;
	margin: 0;
	text-align: left;
}
.post-header .cat { display: block; margin-bottom: 10px; line-height: 1; }
.post-header .cat a {
	display: inline-block;
	padding: 5px 12px;
	margin: 0 6px 6px 0;
	border: 0;
	border-radius: var(--noti-radius-btn);
	background: var(--noti-green-50);
	color: var(--noti-green-700);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}
.post-header .cat a:hover { background: var(--noti-green-100); color: var(--noti-green-800); }
.post-header h1, .post-header h2 {
	font-family: var(--noti-font);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
}
.post-header h2 a, .post-header h1 a { font-size: inherit; font-family: inherit; font-weight: inherit; text-transform: none; letter-spacing: 0; color: var(--noti-neutral-800); }
.post-header h2 a:hover { color: var(--noti-green-600); }
.post-header .date, .list-meta .date {
	display: block;
	font-family: var(--noti-font);
	font-size: 13px;
	font-style: normal;
	color: var(--noti-neutral-500);
	margin: 0 0 4px;
}

.post-img { margin: 0; line-height: 0; }
.post-img img { width: 100%; height: auto; display: block; }
.post-img + .post-header, .post-img + .post-entry { padding-top: 24px; }
.post .post-header + .post-img { margin-top: 20px; }

.post-entry {
	padding: 4px 32px 28px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--noti-neutral-700);
}
.post-entry p { line-height: 1.7; margin-bottom: 1.2em; }
.post-entry > *:last-child { margin-bottom: 0; }
.post-entry h1, .post-entry h2, .post-entry h3, .post-entry h4, .post-entry h5, .post-entry h6 {
	font-family: var(--noti-font);
	color: var(--noti-neutral-800);
	margin: 1.6em 0 0.6em;
	text-transform: none;
	letter-spacing: 0;
}
.post-entry h2 { font-size: 24px; }
.post-entry h3 { font-size: 20px; }
.post-entry h4 { font-size: 18px; }
.post-entry a { color: var(--noti-green-600); text-decoration: underline; text-decoration-color: var(--noti-green-300); text-underline-offset: 3px; }
.post-entry a:hover { color: var(--noti-green-700); text-decoration-color: currentColor; }
.post-entry img { border-radius: 16px; }
.post-entry blockquote {
	margin: 1.6em 0;
	padding: 20px 24px;
	border: 0;
	border-left: 4px solid var(--noti-green-500);
	border-radius: 0 16px 16px 0;
	background: var(--noti-green-50);
	font-style: normal;
}
.post-entry blockquote p { font-family: var(--noti-font); font-size: 17px; line-height: 1.6; color: var(--noti-neutral-800); }
.post-entry ul li, .post-entry ol li { line-height: 1.7; margin-bottom: 6px; }
.post-entry hr { border: 0; border-top: 1px solid var(--noti-neutral-200); margin: 2em 0; }
.post-entry table { border-radius: 12px; overflow: hidden; }
.post-entry th { background: var(--noti-neutral-100); font-weight: 600; }
.post-entry pre { border-radius: 12px; background: var(--noti-neutral-100); }

.more-link { display: inline-block; margin-top: 8px; text-decoration: none !important; }
.more-button, .feat-item .read-more {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 24px;
	border-radius: var(--noti-radius-btn);
	border: 1px solid var(--noti-neutral-300);
	background: #fff;
	color: var(--noti-neutral-800);
	font-family: var(--noti-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
	transition: border-color var(--noti-duration) var(--noti-ease), color var(--noti-duration) var(--noti-ease), background-color var(--noti-duration) var(--noti-ease);
}
.more-button:hover, .feat-item .read-more:hover { border-color: var(--noti-green-500); color: var(--noti-green-600); background: #fff; }

/* lista */
.list-item { display: flex; align-items: stretch; }
.list-item .post-img { width: 40%; flex: 0 0 40%; margin: 0; }
.list-item .post-img a { display: block; height: 100%; }
.list-item .post-img img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.list-item .list-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; padding: 28px 32px; }
.list-item .post-header { padding: 0; margin: 0 0 8px; }
.list-item .post-header h2, .list-item .post-header h2 a { font-size: 20px; }
.list-item .post-entry { padding: 0; font-size: 15px; }
.list-item .post-entry p { margin: 0; }
.list-item .list-meta { margin-top: auto; padding-top: 14px; }
@media (max-width: 640px) {
	.list-item { flex-direction: column; }
	.list-item p { display: block; }
	.list-item .post-img img { max-width: 100%; }
	.list-item .post-img { margin-right: 0; }
	.list-item .post-img { width: 100%; flex: none; }
	.list-item .post-img img { min-height: 0; aspect-ratio: 16 / 10; }
	.list-item .list-content { padding: 22px 22px 24px; }
}

/* siatka */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.sp-grid > li, #main.fullwidth .sp-grid > li, .sp-grid li:nth-of-type(2n + 2), #main.fullwidth .sp-grid li:nth-of-type(2n + 2) {
	width: auto; float: none; margin: 0;
}
#main.fullwidth .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-item { height: 100%; display: flex; flex-direction: column; margin: 0; }
.grid-item .post-img img { aspect-ratio: 16 / 10; object-fit: cover; }
.grid-item .post-header { padding: 22px 24px 0; }
.grid-item .post-header h2, .grid-item .post-header h2 a { font-size: 18px; }
.grid-item .post-entry { padding: 0 24px 22px; font-size: 14px; flex: 1 1 auto; }
.grid-item .post-entry p { margin: 0; }
.grid-item .list-meta { padding: 0 24px 22px; }
@media (max-width: 1023px) { #main.fullwidth .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-grid, #main.fullwidth .sp-grid { grid-template-columns: 1fr; } }

/* pełny wpis (single) */
.single .post-header { padding: 36px 40px 0; }
.single .post-header h1 { font-size: 32px; line-height: 1.2; }
.single .post-entry { padding: 8px 40px 32px; font-size: 17px; }
@media (max-width: 767px) {
	.post-header, .single .post-header { padding: 22px 22px 0; }
	.post-entry, .single .post-entry { padding: 4px 22px 22px; font-size: 16px; }
	.post-header h1, .post-header h2, .single .post-header h1 { font-size: 22px; }
}

/* meta / udostępnianie */
.post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 32px;
	padding: 18px 0;
	border-top: 1px solid var(--noti-neutral-200);
	border-bottom: 0;
	background: transparent;
}
.single .post-meta { margin: 0 40px 28px; }
.meta-comments { float: none; margin: 0; padding: 0; border: 0; }
.meta-comments a { font-style: normal; font-size: 13px; font-weight: 500; color: var(--noti-neutral-600); letter-spacing: 0; text-transform: none; }
.meta-comments a:hover { color: var(--noti-green-600); }
.meta-share { float: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; }
.share-text { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--noti-neutral-500); margin-right: 8px; }
.meta-share a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	color: var(--noti-neutral-700); background: var(--noti-neutral-100);
	font-size: 14px; margin: 0; padding: 0;
}
.meta-share a:hover { background: var(--noti-green-50); color: var(--noti-green-600); }
@media (max-width: 767px) { .post-meta, .single .post-meta { margin-left: 22px; margin-right: 22px; } }

/* tagi */
.post-tags { margin: 24px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
	display: inline-block; margin: 0; padding: 6px 14px;
	border: 1px solid var(--noti-neutral-200); border-radius: var(--noti-radius-btn);
	background: #fff; color: var(--noti-neutral-700);
	font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.post-tags a:hover { border-color: var(--noti-green-500); color: var(--noti-green-600); background: #fff; }

/* autor */
.post-author {
	display: flex; gap: 20px; align-items: flex-start;
	margin: 0 40px 32px; padding: 24px 28px;
	border: 1px solid var(--noti-neutral-200); border-radius: var(--noti-radius-card);
	background: var(--noti-neutral-50);
}
.post-author .author-img { float: none; margin: 0; flex: 0 0 auto; }
.post-author .author-img img { width: 72px; height: 72px; border-radius: 50%; }
.post-author .author-content { overflow: visible; }
.author-content h5 { font-size: 16px; margin: 0 0 6px; }
.author-content h5 a { color: var(--noti-neutral-800); font-family: var(--noti-font); text-transform: none; letter-spacing: 0; }
.author-content p { font-size: 14px; color: var(--noti-neutral-700); line-height: 1.6; margin: 0 0 10px; }
.author-content .author-social {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: #fff; border: 1px solid var(--noti-neutral-200); color: var(--noti-neutral-700); margin-right: 6px;
}
.author-content .author-social:hover { border-color: var(--noti-green-500); color: var(--noti-green-600); }

/* powiązane wpisy */
.post-related { margin: 0 40px 32px; padding: 0; border: 0; }
.post-box { border: 0; margin: 0 0 16px; text-align: left; }
.post-box-title {
	display: inline-block; background: transparent; padding: 0; border: 0;
	font-family: var(--noti-font); font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--noti-neutral-800);
}
.post-related .item-related, #main.fullwidth .item-related { width: auto; float: none; margin: 0; }
.post-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-related .post-box { grid-column: 1 / -1; }
.item-related { background: #fff; border: 1px solid var(--noti-neutral-200); border-radius: 18px; overflow: hidden; text-align: left; }
.item-related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; display: block; }
.item-related h3 { padding: 14px 16px 4px; margin: 0; font-size: 15px; line-height: 1.35; }
.item-related h3 a { color: var(--noti-neutral-800); font-family: var(--noti-font); text-transform: none; letter-spacing: 0; }
.item-related h3 a:hover { color: var(--noti-green-600); }
.item-related span.date { display: block; padding: 0 16px 14px; font-size: 12px; font-style: normal; color: var(--noti-neutral-500); }
@media (max-width: 640px) { .post-related { grid-template-columns: 1fr; } }

/* komentarze */
.post-comments { margin: 0 40px 32px; padding: 0; border: 0; }
@media (max-width: 767px) { .post-author, .post-related, .post-comments { margin-left: 22px; margin-right: 22px; } }
.comments { margin: 0; }
.comments ul, .comments ol { list-style: none; margin: 0; padding: 0; }
.thecomment { display: flex; gap: 16px; margin: 0 0 16px; padding: 20px; border: 1px solid var(--noti-neutral-200); border-radius: 18px; background: #fff; }
.thecomment .author-img { float: none; margin: 0; flex: 0 0 auto; }
.thecomment .author-img img { width: 48px; height: 48px; border-radius: 50%; }
.thecomment .comment-text { flex: 1 1 0; min-width: 0; margin: 0; }
.thecomment .comment-text span.author a { font-family: var(--noti-font); font-size: 15px; font-weight: 600; color: var(--noti-neutral-800); text-transform: none; letter-spacing: 0; }
.thecomment .comment-text span.date { display: block; font-size: 12px; font-style: normal; color: var(--noti-neutral-500); margin: 2px 0 8px; }
.thecomment .comment-text p { font-size: 15px; line-height: 1.6; color: var(--noti-neutral-700); }
.post-comments span.reply { float: right; }
.post-comments span.reply a { font-size: 12px; font-weight: 600; color: var(--noti-green-600); text-transform: none; letter-spacing: 0; margin-left: 10px; }
.post-comments span.reply a:hover { color: var(--noti-green-700); }
.post-comments ul.children { margin: 0 0 0 40px; }
@media (max-width: 640px) { .post-comments ul.children { margin-left: 16px; } }

#respond { margin: 8px 0 0; padding: 28px; border: 1px solid var(--noti-neutral-200); border-radius: var(--noti-radius-card); background: var(--noti-neutral-50); }
#respond h3, #reply-title { font-family: var(--noti-font); font-size: 20px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--noti-neutral-800); margin: 0 0 16px; }
#respond label { font-size: 13px; font-weight: 500; color: var(--noti-neutral-700); }
#respond input, #respond textarea {
	width: 100%; box-sizing: border-box;
	font-family: var(--noti-font); font-size: 15px; color: var(--noti-neutral-800);
	background: #fff; border: 1px solid var(--noti-neutral-300); border-radius: 12px;
	padding: 12px 14px; margin: 4px 0 12px;
	transition: border-color var(--noti-duration) var(--noti-ease), box-shadow var(--noti-duration) var(--noti-ease);
}
#respond input:focus, #respond textarea:focus { outline: 0; border-color: var(--noti-green-500); box-shadow: 0 0 0 3px var(--noti-green-100); }
#respond input[type="checkbox"] { width: auto; margin-right: 8px; }
#respond .comment-form-url { display: block; }
#respond #submit, #respond input[type="submit"] {
	width: auto; display: inline-flex; align-items: center; justify-content: center;
	min-height: 42px; padding: 10px 28px; margin: 4px 0 0;
	border: 0; border-radius: var(--noti-radius-btn);
	background: var(--noti-green-500); color: #fff;
	font-family: var(--noti-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer;
}
#respond #submit:hover, #respond input[type="submit"]:hover { background: var(--noti-green-600); color: #fff; }

/* paginacja */
.pagination { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; padding: 0; border: 0; overflow: visible; }
.pagination .older, .pagination .newer { float: none; }
.pagination a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 22px;
	border: 1px solid var(--noti-neutral-300); border-radius: var(--noti-radius-btn);
	background: #fff; color: var(--noti-neutral-800);
	font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
.pagination a:hover { border-color: var(--noti-green-500); color: var(--noti-green-600); background: #fff; }

/* strony (page.php) */
.page .post-entry { padding-top: 8px; }

/* 404 */
.error-page { padding: 60px 0; text-align: center; }
.error-page h1 { font-family: var(--noti-font); font-size: 96px; font-weight: 700; color: var(--noti-green-500); line-height: 1; }
.error-page p { font-size: 18px; color: var(--noti-neutral-700); }

/* --------------------------------------------------------------------------
   8. Slider wyróżnionych (featured)
   -------------------------------------------------------------------------- */
.featured-area { margin: 32px 0 0; }
.feat-item { border-radius: var(--noti-radius-card); overflow: hidden; }
.feat-overlay { background: rgba(255, 255, 255, 0.92); border-radius: 18px; }
.feat-item .post-header h2 a { color: var(--noti-neutral-800); font-family: var(--noti-font); font-size: 26px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.feat-item .post-header h2 a:hover { color: var(--noti-green-600); }
.bx-wrapper { margin-bottom: 0; }
.bx-wrapper .bx-pager.bx-default-pager a { background: var(--noti-neutral-300); border-radius: 50%; }
.bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:hover { background: var(--noti-green-500); }

/* --------------------------------------------------------------------------
   9. Sidebar / widgety
   -------------------------------------------------------------------------- */
.widget {
	margin: 0 0 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--noti-neutral-200);
	border-radius: var(--noti-radius-card);
	text-align: left;
	font-size: 14px;
	color: var(--noti-neutral-700);
}
/* puste widgety (np. pusty akapit) – nie pokazuj pustej karty */
.widget:empty, .widget:not(:has(*)), .widget:has(> p:only-child:empty) { display: none; }

.widget-title {
	display: block;
	margin: 0 0 16px;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 2px solid var(--noti-green-500);
	background: transparent;
	font-family: var(--noti-font);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--noti-neutral-800);
	text-align: left;
}
.widget a { color: var(--noti-neutral-700); }
.widget a:hover { color: var(--noti-green-600); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--noti-neutral-100); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { font-weight: 500; }
.widget img { border-radius: 12px; }
.widget input, .widget select, .widget #searchform input#s, .widget #searchform input#s:focus {
	width: 100%; box-sizing: border-box;
	font-family: var(--noti-font); font-size: 14px; color: var(--noti-neutral-800);
	background: #fff; border: 1px solid var(--noti-neutral-300); border-radius: var(--noti-radius-btn);
	padding: 10px 16px; margin: 0;
}
.widget input:focus, .widget select:focus, .widget #searchform #s:focus { outline: 0; border-color: var(--noti-green-500); box-shadow: 0 0 0 3px var(--noti-green-100); }
.widget .tagcloud a {
	display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px;
	border: 1px solid var(--noti-neutral-200); border-radius: var(--noti-radius-btn);
	background: #fff; color: var(--noti-neutral-700); font-size: 12px !important; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.widget .tagcloud a:hover { border-color: var(--noti-green-500); color: var(--noti-green-600); background: #fff; }

/* ostatnie wpisy (widget motywu) */
.widget ul.side-newsfeed li { padding: 10px 0; border-bottom: 1px solid var(--noti-neutral-100); }
.widget ul.side-newsfeed li .side-item { display: flex; gap: 12px; align-items: center; }
.widget ul.side-newsfeed li .side-item .side-image { flex: 0 0 76px; width: 76px; float: none; margin: 0; }
.widget ul.side-newsfeed li .side-item .side-image img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.widget ul.side-newsfeed li .side-item .side-item-text { overflow: visible; }
.widget ul.side-newsfeed li .side-item .side-item-text h4 { margin: 0 0 2px; font-size: 14px; line-height: 1.35; }
.widget ul.side-newsfeed li .side-item .side-item-text h4 a { font-family: var(--noti-font); color: var(--noti-neutral-800); font-weight: 600; text-transform: none; letter-spacing: 0; }
.widget ul.side-newsfeed li .side-item .side-item-text h4 a:hover { color: var(--noti-green-600); }
.widget ul.side-newsfeed li .side-item .side-item-text .side-item-meta { font-size: 12px; font-style: normal; color: var(--noti-neutral-500); }

/* o mnie / social (widgety motywu) */
.about-widget { text-align: center; }
.about-widget img { margin-bottom: 14px; }
.about-widget p { font-size: 14px; line-height: 1.6; }
.social-widget { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.social-widget a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--noti-neutral-100); color: var(--noti-neutral-700); margin: 0; }
.social-widget a i { font-size: 15px; color: inherit; }
.social-widget a:hover { background: var(--noti-green-50); color: var(--noti-green-600); }
.social-widget a:hover > i { color: var(--noti-green-600); }

/* kalendarz */
#wp-calendar { width: 100%; font-size: 13px; }
#wp-calendar caption { font-weight: 600; color: var(--noti-neutral-800); padding-bottom: 8px; }
#wp-calendar thead th { background: var(--noti-neutral-100); padding: 6px; border: 0; font-weight: 600; }
#wp-calendar tbody td { padding: 6px; border: 0; text-align: center; }
#wp-calendar tbody td a { color: var(--noti-green-600); font-weight: 600; }
#wp-calendar tbody td:hover { background: var(--noti-green-50); }

/* instagram w sidebarze */
#sidebar .instagram-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#sidebar .instagram-pics li { width: auto; margin: 0; padding: 0; border: 0; }
#sidebar .instagram-pics li img { border-radius: 8px; width: 100%; }

/* --------------------------------------------------------------------------
   10. Stopka (statyczna kopia stopki serwisu)
   -------------------------------------------------------------------------- */
.noti-footer {
	background: transparent;
	padding-top: 24px;
	color: var(--noti-neutral-800);
	font-family: var(--noti-font);
}
.noti-footer__card {
	width: 100%;
	border-radius: 24px 24px 0 0;
	border: 1px solid var(--noti-neutral-100);
	border-bottom: 0;
	background: var(--noti-neutral-100);
	box-shadow: 0 -2px 10.5px rgba(0, 0, 0, 0.25);
}
.noti-footer__inner { padding: 32px 0; }
.noti-footer__top { display: grid; gap: 36px; }
.noti-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.noti-footer__logo { line-height: 0; }
.noti-footer__logo img { width: 132px; height: auto; }
.noti-footer__address { font-style: normal; }
.noti-footer__address p, .noti-footer__support { margin: 0; font-size: 13px; line-height: 20px; color: var(--noti-neutral-800); }
.noti-footer__login { width: 100%; max-width: 254px; height: 38px; }
.noti-footer__support strong { font-weight: 600; margin-left: 1ch; }
.noti-footer__support a { color: inherit; }
.noti-footer__support a:hover { color: var(--noti-green-600); }

.noti-footer__columns { display: grid; gap: 32px; }
.noti-footer__title { margin: 0 0 16px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--noti-neutral-800); }
.noti-footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.noti-footer__list a { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--noti-neutral-700); }
.noti-footer__list a:hover, .noti-footer__list a:focus-visible { color: var(--noti-green-600); }

.noti-footer__middle { display: grid; gap: 28px; margin-top: 36px; }
.noti-footer__social { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.noti-footer__social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; }
.noti-footer__social img { width: 24px; height: 24px; }
.noti-footer__payments { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.noti-footer__payments span {
	display: inline-flex; align-items: center; justify-content: center;
	width: 60px; height: 40px; padding: 0 8px; box-sizing: border-box;
	border: 0.81px solid var(--noti-neutral-200); border-radius: 6px; background: var(--noti-neutral-50);
}
.noti-footer__payments img { max-height: 16px; width: auto; max-width: 100%; object-fit: contain; }

.noti-footer__bottom { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--noti-neutral-200); }
.noti-footer__copy { margin: 0; font-size: 12px; line-height: 20px; color: var(--noti-neutral-500); }
.noti-footer__copy strong { font-weight: 600; }
.noti-footer__legal { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.noti-footer__legal a { font-size: 12px; line-height: 20px; font-weight: 500; color: var(--noti-neutral-700); }
.noti-footer__legal a:hover { color: var(--noti-green-600); }

@media (min-width: 768px) {
	.noti-footer { padding-top: 40px; }
	.noti-footer__card { border-radius: 40px 40px 0 0; }
	.noti-footer__inner { padding: 64px 0; }
	.noti-footer__top { grid-template-columns: 260px 1fr; gap: 48px; }
	.noti-footer__columns { grid-template-columns: repeat(3, 1fr); }
	.noti-footer__middle { grid-template-columns: 260px 1fr; gap: 48px; margin-top: 48px; align-items: center; }
	.noti-footer__payments { justify-content: flex-end; }
	.noti-footer__bottom { margin-top: 40px; display: flex; align-items: center; gap: 64px; }
	.noti-footer__legal { margin: 0; flex-direction: row; gap: 40px; }
}

/* --------------------------------------------------------------------------
   11. „Do góry”
   -------------------------------------------------------------------------- */
#gotop {
	display: none;
	position: fixed !important;
	bottom: 24px !important;
	right: 20px !important;
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--noti-green-500) !important;
	color: #fff !important;
	font-size: 18px !important;
	line-height: 44px !important;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	z-index: 900;
}
#gotop:hover { background: var(--noti-green-600) !important; }

/* Contact Form 7 (jeśli używany) */
.wpcf7 input, .wpcf7 textarea { font-family: var(--noti-font); border: 1px solid var(--noti-neutral-300); border-radius: 12px; padding: 12px 14px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--noti-green-500); outline: 0; }
.wpcf7 .wpcf7-submit { background: var(--noti-green-500); color: #fff; border: 0; border-radius: var(--noti-radius-btn); font-weight: 600; padding: 10px 28px; }
.wpcf7 .wpcf7-submit:hover { background: var(--noti-green-600); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
