/*
Theme Name: Wycena
Theme URI: https://wycena-przedsiębiorstwa.pl/
Author: Evesoft
Author URI: https://evesoft.pl/
Description: Lekki motyw blokowy (FSE) dla wycena-przedsiębiorstwa.pl. Zastępuje Neve + Neve PRO + Otter Blocks, zachowując dotychczasowy wygląd. Bez builda, bez płatnych dodatków, fonty hostowane lokalnie.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wycena
*/

/* ==========================================================================
   Spis treści
   1. Zmienne (w tym aliasy --nv-* używane w istniejącej treści)
   2. Baza i typografia (wartości 1:1 z dotychczasowego motywu)
   3. Układ: kontener, wyrównania
   4. Nagłówek witryny i menu
   5. Bloki w treści
   6. Formularze i wyszukiwarka
   7. Wpis: okładka, treść, tagi, panel boczny
   8. Listy wpisów i stronicowanie
   9. Stopka, przycisk „do góry", pływający kontakt
   10. Animacje wejścia (klasy po Otter Blocks)
   11. Style treści przeniesione z „Dodatkowego CSS" Customizera
   12. Baner i okno zgód na pliki cookie
   ========================================================================== */

/* 1. Zmienne
   ========================================================================== */
:root {
	--wyc-container: 748px;
	--wyc-fs-body: 16px;
	--wyc-fs-h1: 39px;
	--wyc-lh-h1: 1.2em;
	--wyc-fs-h2: 19px;
	--wyc-fs-h3: 20px;
	--wyc-fs-h4: 16px;
	--wyc-fs-h5: 14px;
	--wyc-fs-h6: 14px;
	--wyc-fs-btn: 14px;
	--wyc-fs-post-title: 28px;
	--wyc-fs-list-title: 28px;
	--wyc-shadow: 0 3px 6px -5px rgba(0, 0, 0, .1), 0 4px 8px rgba(0, 0, 0, .1);
	--wyc-fallback-ff: Arial, Helvetica, sans-serif;

	/* Aliasy zgodności: treść i „Dodatkowy CSS" pisane pod Neve odwołują się do --nv-*. */
	--nv-primary-accent: var(--wp--preset--color--primary);
	--nv-secondary-accent: var(--wp--preset--color--secondary);
	--nv-site-bg: var(--wp--preset--color--base);
	--nv-light-bg: var(--wp--preset--color--light);
	--nv-dark-bg: var(--wp--preset--color--dark);
	--nv-text-color: var(--wp--preset--color--contrast);
	--nv-text-dark-bg: var(--wp--preset--color--on-dark);
	--nv-c-1: var(--wp--preset--color--accent);
	--nv-c-2: var(--wp--preset--color--accent-warm);
	--nv-fallback-ff: var(--wyc-fallback-ff);
}

@media (min-width: 576px) {
	:root {
		--wyc-container: 992px;
		--wyc-fs-h1: 55px;
		--wyc-lh-h1: 1.3em;
		--wyc-fs-h2: 30px;
		--wyc-fs-post-title: 32px;
		--wyc-fs-list-title: 32px;
	}
}

@media (min-width: 960px) {
	:root {
		--wyc-container: 1170px;
		--wyc-fs-body: 17px;
		--wyc-fs-h1: 70px;
		--wyc-fs-h2: 32px;
		--wyc-fs-h3: 24px;
		--wyc-fs-h4: 20px;
		--wyc-fs-h5: 16px;
		--wyc-fs-h6: 16px;
		--wyc-fs-btn: 16px;
		--wyc-fs-post-title: 48px;
	}
}

/* Klasy kolorów z palety Neve zapisane w istniejących blokach. */
.has-neve-link-color-color { color: var(--nv-primary-accent) !important; }
.has-neve-link-color-background-color { background-color: var(--nv-primary-accent) !important; }
.has-neve-link-hover-color-color { color: var(--nv-secondary-accent) !important; }
.has-neve-link-hover-color-background-color { background-color: var(--nv-secondary-accent) !important; }
.has-neve-text-color-color { color: var(--nv-text-color) !important; }
.has-neve-text-color-background-color { background-color: var(--nv-text-color) !important; }
.has-neve-button-color-color { color: var(--nv-primary-accent) !important; }
.has-neve-button-color-background-color { background-color: var(--nv-primary-accent) !important; }
.has-nv-site-bg-color { color: var(--nv-site-bg) !important; }
.has-nv-site-bg-background-color { background-color: var(--nv-site-bg) !important; }
.has-nv-light-bg-color { color: var(--nv-light-bg) !important; }
.has-nv-light-bg-background-color { background-color: var(--nv-light-bg) !important; }
.has-nv-dark-bg-color { color: var(--nv-dark-bg) !important; }
.has-nv-dark-bg-background-color { background-color: var(--nv-dark-bg) !important; }
.has-nv-text-dark-bg-color { color: var(--nv-text-dark-bg) !important; }
.has-nv-text-dark-bg-background-color { background-color: var(--nv-text-dark-bg) !important; }
.has-nv-c-1-color { color: var(--nv-c-1) !important; }
.has-nv-c-1-background-color { background-color: var(--nv-c-1) !important; }
.has-nv-c-2-color { color: var(--nv-c-2) !important; }
.has-nv-c-2-background-color { background-color: var(--nv-c-2) !important; }

/* 2. Baza i typografia
   ========================================================================== */
html {
	box-sizing: border-box;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

*,
::after,
::before {
	box-sizing: border-box;
}

blockquote, body, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, html, iframe, legend, li, ol, p, pre, textarea, ul {
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--nv-site-bg);
	color: var(--nv-text-color);
	font-family: Poppins, var(--wyc-fallback-ff);
	font-size: var(--wyc-fs-body);
	font-weight: 400;
	line-height: 1.7em; /* celowo w em: wartość w px dziedziczy się jak w dotychczasowym motywie */
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}

h1, h2, h3, h4, h5, h6, p {
	margin-bottom: 30px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Lexend, var(--wyc-fallback-ff);
	font-weight: 600;
	color: inherit;
}

h1 { font-size: var(--wyc-fs-h1); line-height: var(--wyc-lh-h1); }
h2 { font-size: var(--wyc-fs-h2); line-height: 1.3em; }
h3 { font-size: var(--wyc-fs-h3); line-height: 1.3em; }
h4 { font-size: var(--wyc-fs-h4); line-height: 1.3em; }
h5 { font-size: var(--wyc-fs-h5); line-height: 1.3em; }
h6 { font-size: var(--wyc-fs-h6); line-height: 1.3em; }

/*
 * Podkreślenie linków w treści idzie przez zmienną (jak w dotychczasowym motywie), dzięki czemu
 * zwykła reguła w stylach wpisu, np. „.klasa a { text-decoration: none }", nadal je wyłącza.
 */
a {
	--linkdeco: none;
	color: var(--nv-primary-accent);
	cursor: pointer;
	text-decoration: var(--linkdeco);
}

a:hover {
	text-decoration: none;
}

a:where(:not([class*="button"])):focus,
a:where(:not([class*="button"])):hover {
	color: var(--nv-secondary-accent);
}

.entry-content a:not([class]),
.entry-content a[class]:not([class*="button"]):not([class*="wp-block"]) {
	--linkdeco: underline;
}

ul {
	list-style: none;
}

ol,
ul {
	padding-left: 0;
}

dl, pre { margin: 20px 0; }
dl dd { padding-left: 30px; }
dl dt { font-weight: 600; }

audio, embed, img, object, video {
	height: auto;
	max-width: 100%;
}

iframe {
	border: 0;
	max-width: 100%;
}

hr {
	color: inherit;
	height: 0;
	border: 0;
	border-top: 2px solid;
	margin: 10px 0 20px;
	width: 100%;
	display: inline-block;
}

mark {
	background: 0;
	color: var(--nv-text-color);
}

figcaption {
	font-size: .9em;
	opacity: .75;
}

code {
	background: #d0effb;
	border-radius: 5px;
	border: 1px solid var(--nv-light-bg);
	padding: 0 3px;
	color: #333;
}

pre {
	display: block;
	padding: 30px;
	background: var(--nv-light-bg);
	white-space: pre-wrap;
	font-size: .9em;
	font-family: Courier, monospace;
}

pre code {
	border: 0;
	background: 0 0;
}

blockquote {
	margin: 40px 0;
	border: solid var(--nv-text-color);
	border-width: 0 0 0 4px;
	padding: 0 0 0 20px;
}

blockquote p {
	margin-bottom: 10px;
	font-size: 1.25em;
	font-style: italic;
}

blockquote cite {
	font-style: normal;
	font-size: .9em !important;
	font-weight: 600;
}

blockquote.has-text-align-center,
blockquote.is-style-plain {
	border: 0;
	padding: 0;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 20px;
	width: 100%;
	word-break: initial;
}

td, th {
	padding: 20px;
	text-align: left;
}

th { padding-bottom: 10px; }

td {
	font-size: .9em;
	border-bottom: 2px solid var(--nv-text-color);
}

article,
.wyc-widget {
	word-break: break-word;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	background-color: var(--nv-site-bg);
	color: var(--nv-text-color);
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	width: auto;
	left: 5px;
	top: 5px;
	line-height: normal;
	padding: 10px 15px;
	text-decoration: none;
	z-index: 100000;
}

/* 3. Układ
   ========================================================================== */
.wyc-container {
	width: 100%;
	max-width: var(--wyc-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.wyc-fluid {
	width: 100%;
}

.wyc-main {
	flex: 1 auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 7.5px;
}

.wp-block-image.alignfull {
	padding: 0;
}

.alignwide {
	width: 98vw;
	max-width: 98vw;
	margin-left: calc(50% - 49vw);
	margin-right: calc(50% - 49vw);
}

@media (min-width: 960px) {
	.alignwide {
		width: 70vw;
		max-width: 70vw;
		margin-left: calc(50% - 35vw);
		margin-right: calc(50% - 35vw);
	}
}

/* Wewnątrz kolumn i we wpisie (z panelem bocznym) „pełna szerokość" oznacza szerokość rodzica. */
.wyc-single__article :is(.alignfull, .alignwide),
.wp-block-columns:has(.alignfull, .alignwide) :is(.alignfull, .alignwide) {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/*
 * Wewnętrzny kontener grup i okładek o pełnej szerokości (patrz inc/compat.php) jest ograniczany
 * tylko na stronie głównej i w szablonie „bez tytułu" oraz we wpisach — tak jak dotąd.
 */
.wyc-container--inner > .entry-content .alignfull > [class*="__inner-container"],
.wyc-container--inner > .entry-content .alignwide > [class*="__inner-container"] {
	max-width: 718px;
}

@media (min-width: 576px) {
	.wyc-container--inner > .entry-content .alignfull > [class*="__inner-container"],
	.wyc-container--inner > .entry-content .alignwide > [class*="__inner-container"] {
		max-width: 962px;
	}
}

@media (min-width: 960px) {
	.wyc-container--inner > .entry-content .alignfull > [class*="__inner-container"],
	.wyc-container--inner > .entry-content .alignwide > [class*="__inner-container"] {
		max-width: 1140px;
	}

	.wyc-single__article > .entry-content .alignfull > [class*="__inner-container"],
	.wyc-single__article > .entry-content .alignwide > [class*="__inner-container"] {
		max-width: 789px;
	}

	.wyc-single__article {
	}
}

.alignleft { float: left; margin: 20px 20px 20px 0; }
.alignright { float: right; margin: 20px 0 20px 20px; }
.aligncenter { display: block; text-align: center; margin: 0 auto; }

/* Tytuł strony (szablon domyślny) */
.wyc-page-title {
	margin-top: 60px;
}

.yoast-breadcrumbs {
	display: block;
	font-size: 14px;
	margin-bottom: 30px;
}

.yoast-breadcrumbs a {
	color: #676767;
}

/* 4. Nagłówek witryny i menu
   ========================================================================== */
.wyc-header {
	background: var(--nv-site-bg);
	box-shadow: 0 -1px 3px rgba(0, 0, 0, .1);
	position: relative;
	z-index: 100;
}

.wyc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	min-height: 110px;
}

.wyc-brand {
	display: flex;
	align-items: center;
	color: var(--nv-secondary-accent);
	padding: 10px 0;
	margin: 4px 0;
}

.wyc-brand:hover,
.wyc-brand:focus {
	color: var(--nv-secondary-accent);
}

.wyc-brand__logo {
	display: block;
	width: 32px;
	max-width: 32px;
	height: auto;
	margin-right: 10px;
}

.wyc-brand__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.7em;
}

.wyc-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wyc-menu li {
	display: block;
	position: relative;
}

.wyc-menu a {
	display: flex;
	align-items: center;
	position: relative;
	min-height: 25px;
}

.wyc-burger {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	border: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: var(--nv-text-color);
	cursor: pointer;
	font: inherit;
	line-height: inherit;
}

.wyc-burger__bars i {
	display: block;
	width: 15px;
	height: 2px;
	background-color: currentColor;
	position: relative;
	transition: .1s;
}

.wyc-burger__bars i:nth-child(2) {
	margin: 3px 0;
}

.wyc-nav__close .wyc-burger__bars i:nth-child(1) { transform: rotate(45deg); top: 5px; }
.wyc-nav__close .wyc-burger__bars i:nth-child(2) { opacity: 0; }
.wyc-nav__close .wyc-burger__bars i:nth-child(3) { transform: rotate(-45deg); bottom: 5px; }

/* Telefon i tablet: menu w wysuwanym panelu */
@media (max-width: 959px) {
	.wyc-nav {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999900;
		display: flex;
		flex-direction: column;
		width: 360px;
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		overflow-y: auto;
		background: var(--nv-site-bg);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform .3s cubic-bezier(.79, .14, .15, .86), visibility .3s;
	}

	.wyc-menu-open .wyc-nav {
		transform: none;
		visibility: visible;
	}

	.wyc-nav__close {
		align-self: flex-end;
		margin: 8px 10px;
	}

	.wyc-nav .wyc-menu {
		flex-direction: column;
		padding: 20px 19px;
	}

	.wyc-nav .wyc-menu a {
		padding: 15px 0;
		color: var(--nv-secondary-accent);
		font-size: 1em;
		font-weight: 600;
		line-height: 1.6em;
		text-transform: uppercase;
	}

	.wyc-nav .wyc-menu .current-menu-item > a {
		color: #00a6ec;
	}

	.wyc-nav .sub-menu {
		margin-left: 10px;
	}

	.wyc-nav-overlay {
		position: fixed;
		inset: 0;
		z-index: 999899;
		background: rgba(0, 0, 0, .5);
	}

	.wyc-menu-open body {
		overflow: hidden;
	}

	/* Otwarty panel menu ma być nad pływającym przyciskiem kontaktu. */
	.wyc-menu-open .wyc-header {
		z-index: 999900;
	}
}

/* Komputer: menu w wierszu, nagłówek przyklejony */
@media (min-width: 960px) {
	.wyc-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
	}

	.wyc-header__inner {
		min-height: 77px;
	}

	.wyc-brand {
		margin: 8px 0;
	}

	.wyc-burger,
	.wyc-nav-overlay {
		display: none !important;
	}

	.wyc-nav .wyc-menu {
		margin: 0 -10px;
	}

	.wyc-nav .wyc-menu > li {
		margin: 0 10px;
		padding: 0 4px;
	}

	.wyc-nav .wyc-menu a {
		padding-top: 1px;
		color: var(--nv-secondary-accent);
		font-size: .9em;
		font-weight: 600;
		line-height: 1.6em;
		text-transform: uppercase;
	}

	.wyc-nav .wyc-menu > li::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0 auto;
		width: 0;
		height: 2px;
		background-color: var(--nv-secondary-accent);
		transition: .3s;
		pointer-events: none;
	}

	.wyc-nav .wyc-menu > li:hover::after {
		width: 100%;
	}

	.wyc-nav .wyc-menu .current-menu-item > a {
		color: #00a6ec;
	}

	.wyc-nav .sub-menu {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 100;
		min-width: 150px;
		background: var(--nv-site-bg);
		box-shadow: rgba(149, 157, 165, .2) 0 8px 24px;
		opacity: 0;
		visibility: hidden;
	}

	.wyc-nav li:hover > .sub-menu,
	.wyc-nav li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	.wyc-nav .sub-menu a {
		padding: 10px 20px;
		white-space: nowrap;
	}
}

/* 5. Bloki w treści
   ========================================================================== */
.entry-content ol,
.entry-content ul {
	margin: 30px 0;
	padding-left: 20px;
}

.entry-content ul {
	list-style: disc;
}

.entry-content li,
.wyc-widget li {
	margin-top: 10px;
}

/* Przyciski */
.wp-block-button__link,
.wp-block-search__button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	box-sizing: border-box;
	border-color: currentColor;
	cursor: pointer;
	font-family: Poppins, var(--wyc-fallback-ff);
	font-size: var(--wyc-fs-btn);
	font-weight: 700;
	line-height: 1.6em;
	text-align: center;
	text-transform: none;
}

.wp-block-button__link {
	padding: 12px 24px;
	border-radius: 0;
}

:root :where(.wp-element-button, .wp-block-button__link) {
	background-color: var(--nv-primary-accent);
	color: var(--nv-text-dark-bg);
	border-radius: 0;
	font-size: var(--wyc-fs-btn);
	font-weight: 700;
	line-height: 1.6em;
	padding: 12px 24px;
}

.wp-block-button__link:not(.has-background):hover,
.wp-block-search__button:hover,
input[type="submit"]:hover {
	background-color: var(--nv-secondary-accent);
	color: #fff;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: .667em 1.333em;
}

.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button__link.is-style-outline:not(.has-background) {
	background-color: transparent;
}

.is-style-secondary .wp-block-button__link {
	background-color: transparent;
	color: var(--nv-dark-bg);
	border: 2px solid currentColor;
	padding: 10px 22px;
}

.is-style-secondary .wp-block-button__link:hover {
	background-color: var(--nv-dark-bg);
	color: var(--nv-text-dark-bg);
}

/* Tabele, separatory, cytaty */
.wp-block-table {
	margin-top: 30px;
	margin-bottom: 30px;
}

.wp-block-table figcaption {
	margin: 15px auto;
	text-align: center;
}

.wp-block-table.is-style-stripes {
	border: 0;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--nv-light-bg);
}

.wp-block-separator {
	border-bottom: 0;
	border-top: 2px solid;
}

.wp-block-separator.is-style-wide {
	border-width: 4px;
}

.wp-block-separator.is-style-dots::before {
	content: "";
	border-top: 4px dotted;
	display: block;
}

.wp-block-pullquote {
	margin: 30px 0;
	border: solid var(--nv-text-color);
	border-width: 4px 0;
	padding: 30px 20px;
}

.wp-block-pullquote p { font-size: 1.5em !important; }
.wp-block-pullquote blockquote { padding: 0; border: 0; }
.wp-block-verse { background-color: inherit; font-size: 1.25em; border: 0; }

.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: .8em; font-weight: 500; }

/* Najnowszy wpis na stronie głównej (pętla zapytań zamiast bloku Otter „posts-grid") */
.entry-content .wyc-latest-post .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-content .wyc-latest-post .wp-block-post {
	margin: 0 0 30px;
	background: var(--nv-light-bg);
}

.wyc-latest-post .wp-block-post-featured-image {
	position: relative;
	margin: 0;
}

.wyc-latest-post .wp-block-post-featured-image a {
	display: block;
}

.wyc-latest-post .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.wyc-latest-post__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 1rem;
}

@media (min-width: 601px) {
	.wyc-latest-post__body {
		padding: 2rem;
	}
}

.wyc-latest-post .wp-block-post-title {
	margin: 0;
	line-height: 1.25em;
}

.wyc-latest-post .wp-block-post-title a {
	color: var(--nv-primary-accent);
	text-decoration: none;
}

.wyc-latest-post .wp-block-post-title a:hover {
	text-decoration: underline;
}

.wyc-latest-post .wp-block-post-excerpt,
.wyc-latest-post .wp-block-post-excerpt p {
	margin: 0;
	font-size: 16px;
	color: var(--nv-primary-accent);
}

/* Znak w kółku (zamiast ikony Font Awesome z Otter Blocks) */
.wyc-icon-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 20px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
}

/* 6. Formularze i wyszukiwarka
   ========================================================================== */
button,
input,
select,
textarea {
	margin: 0;
	line-height: inherit;
	box-sizing: border-box;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: var(--nv-primary-accent);
	color: var(--nv-text-dark-bg);
	border-style: solid;
	border-width: 0;
	border-radius: 0;
	padding: 12px 24px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--nv-secondary-accent);
	color: #fff;
}

form input:read-write,
form select,
form select option,
form textarea,
.wp-block-search__input {
	border: 2px solid var(--nv-light-bg);
	border-radius: 0;
	background: var(--nv-site-bg);
	color: var(--nv-text-color);
	padding: 10px 12px;
	font-family: Poppins;
}

input[type="color"], input[type="date"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], select, textarea {
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	resize: vertical;
}

input:read-write:focus,
select:focus,
textarea:focus {
	outline: 0;
	box-shadow: 0 0 3px 0 var(--nv-secondary-accent);
	border-color: var(--nv-secondary-accent);
}

::placeholder {
	color: inherit;
	opacity: .7;
}

label {
	display: inline-block;
}

.wpforms-container .wpforms-field-label,
form label {
	font-weight: 400;
	line-height: 1.7em;
	font-size: var(--wyc-fs-body);
}

fieldset {
	padding: 20px 30px;
	margin-bottom: 20px;
	border: 2px solid var(--nv-light-bg);
}

fieldset legend {
	font-weight: 700;
	padding: 0 15px;
	margin-left: -15px;
}

/* Wyszukiwarka (blok core/search z ikoną wewnątrz pola) */
.wyc-search .wp-block-search__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 400;
}

.wyc-search .wp-block-search__inside-wrapper {
	display: flex;
	max-width: 100%;
	padding: 0;
	border: 0;
	line-height: 1;
}

.wyc-search .wp-block-search__input {
	flex-grow: 1;
	min-width: 0;
	width: calc(100% - 45px);
	border-right: 0;
	font-size: inherit;
	line-height: inherit;
	text-overflow: ellipsis;
}

.wyc-search .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 45px;
	margin: 0;
	padding: 10px 12px;
	border: 2px solid var(--nv-light-bg);
	border-left: 0;
	border-radius: 0;
	background: var(--nv-site-bg);
	color: var(--nv-text-color);
}

.wyc-search .wp-block-search__button:hover {
	background: var(--nv-site-bg);
	color: var(--nv-text-color);
}

.wyc-search .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	min-width: 0;
	opacity: .7;
	fill: currentColor;
}

.wyc-search .wp-block-search__input:focus + .wp-block-search__button {
	border-color: var(--nv-secondary-accent);
}

/* 7. Wpis
   ========================================================================== */
.wyc-cover.wp-block-cover {
	min-height: 250px;
	padding: 40px 15px;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
}

.wyc-cover .wp-block-cover__inner-container {
	width: 100%;
	color: var(--nv-text-dark-bg);
}

.wyc-cover .wp-block-post-title {
	margin-bottom: 30px;
	font-size: var(--wyc-fs-post-title);
	line-height: 1.2em;
	word-wrap: break-word;
}

.wyc-cover .yoast-breadcrumbs,
.wyc-cover .yoast-breadcrumbs a {
	color: var(--nv-text-dark-bg);
}

@media (min-width: 576px) {
	.wyc-cover.wp-block-cover {
		min-height: 30vh;
		padding: 60px 30px;
	}

	.wyc-cover .wp-block-post-title {
		line-height: 1.3em;
	}
}

@media (min-width: 960px) {
	.wyc-cover.wp-block-cover {
		min-height: 50vh;
		padding: 60px 40px;
		align-items: flex-end;
	}
}

.wyc-single__article {
	margin-bottom: 60px;
	min-width: 0;
}

/* Jak dotąd: marginesy pionowe „zlewają się" z marginesami pierwszego/ostatniego bloku treści. */
.wyc-single__article > .wp-block-post-content {
	display: block;
}

.wyc-single__article > :first-child {
	margin-top: 60px;
}

.wyc-single__article > :not(:last-child) {
	margin-bottom: 60px;
}

.wyc-single__article > :last-child {
	padding-bottom: 30px;
}

.wyc-single__article .wp-block-image {
	margin-bottom: 24px;
}

.wyc-tags a {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 10px;
	border-radius: 4px;
	background: var(--nv-primary-accent);
	color: #fff !important;
	font-size: .75em !important;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.wyc-tags .wp-block-post-terms__prefix {
	display: inline-block;
	margin-right: 10px;
}

.wyc-tags .wp-block-post-terms__separator {
	display: none;
}

.wyc-sidebar {
	padding: 60px 0;
	margin-bottom: 20px;
}

.wyc-sidebar > * {
	margin-bottom: 40px;
}

.wyc-sidebar > :last-child {
	margin-bottom: 0;
}

.wyc-sidebar .widget-title {
	margin-bottom: 10px;
	font-size: var(--wyc-fs-h4);
	font-weight: 700;
}

.wyc-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wyc-sidebar .wp-block-latest-posts a {
	color: var(--nv-text-color);
}

.wyc-sidebar .wp-block-latest-posts a:hover {
	color: var(--nv-secondary-accent);
}

@media (min-width: 960px) {
	.wyc-single {
		display: flex;
		flex-wrap: nowrap;
	}

	.wyc-single__article {
		flex: 0 0 auto;
		width: calc(70% - 9px); /* 70% wiersza 1170 px minus odstępy kolumn = 789 px, jak dotąd */
	}

	.wyc-sidebar {
		flex: 1 1 auto;
		min-width: 0;
		padding-left: 60px;
	}
}

/* 8. Listy wpisów i stronicowanie
   ========================================================================== */
.wyc-main--list > .wyc-container {
	margin-top: 60px;
	margin-bottom: 60px;
}

.wyc-posts .wp-block-post-template {
	margin: 0;
	padding: 0 0 40px;
	list-style: none;
}

.wyc-posts .wp-block-post {
	display: flex;
	flex-direction: column;
	margin: 0 0 60px;
	padding-bottom: 20px;
}

.wyc-posts .wp-block-post-featured-image {
	margin: 0 0 20px;
}

.wyc-posts .wp-block-post-featured-image a {
	display: block;
}

.wyc-posts .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	box-shadow: var(--wyc-shadow);
}

.wyc-posts .wp-block-post-title {
	margin-bottom: 30px;
	font-size: var(--wyc-fs-list-title);
	line-height: 1.3em;
	word-wrap: break-word;
}

/* W wynikach wyszukiwania tytuły są mniejsze (rozmiar H3) — jak dotąd. */
body.search .wyc-posts .wp-block-post-title {
	font-size: var(--wyc-fs-h3);
}

.wyc-posts .wp-block-post-title a {
	color: var(--nv-text-color);
}

.wyc-posts .wp-block-post-title a:hover {
	color: var(--nv-secondary-accent);
}

.wyc-posts .wp-block-post-excerpt,
.wyc-posts .wp-block-post-excerpt__excerpt {
	margin: 0;
}

@media (min-width: 960px) {
	.wyc-posts .wp-block-post.has-post-thumbnail {
		display: grid;
		grid-template-columns: 35fr 65fr;
		gap: 20px;
		align-items: center;
	}

	.wyc-posts .wp-block-post-featured-image {
		margin: 0;
	}

	.wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) {
		grid-template-columns: 65fr 35fr;
	}

	.wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) .wp-block-post-featured-image {
		grid-column: 2;
		grid-row: 1;
	}

	.wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) .wyc-post__body {
		grid-column: 1;
		grid-row: 1;
	}
}

/* Najnowszy wpis wyróżniony — tylko pierwsza strona bloga (strona „Publikacje"). */
body.blog:not(.paged) .wyc-posts .wp-block-post:first-child {
	display: block;
	margin-bottom: 60px;
	padding-bottom: 0;
	background: var(--nv-light-bg);
}

body.blog:not(.paged) .wyc-posts .wp-block-post:first-child .wp-block-post-featured-image {
	margin: 0;
}

body.blog:not(.paged) .wyc-posts .wp-block-post:first-child .wp-block-post-featured-image img {
	height: 320px;
	object-fit: cover;
	box-shadow: none;
}

body.blog:not(.paged) .wyc-posts .wp-block-post:first-child .wyc-post__body {
	padding: 20px;
}

body.blog:not(.paged) .wyc-posts .wp-block-post:first-child .wp-block-post-title {
	margin-bottom: 20px;
}

body.blog:not(.paged) .wyc-posts .wp-block-post:first-child .wp-block-post-title {
	font-size: calc(var(--wyc-fs-list-title) * 1.3);
}

@media (min-width: 960px) {
	/* Po wyróżnionym wpisie kolejność „obraz z lewej / z prawej" zaczyna się od nowa. */
	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) {
		grid-template-columns: 35fr 65fr;
	}

	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) .wp-block-post-featured-image {
		grid-column: 1;
	}

	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(even) .wyc-post__body {
		grid-column: 2;
	}

	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(odd):not(:first-child) {
		grid-template-columns: 65fr 35fr;
	}

	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(odd):not(:first-child) .wp-block-post-featured-image {
		grid-column: 2;
		grid-row: 1;
	}

	body.blog:not(.paged) .wyc-posts .wp-block-post.has-post-thumbnail:nth-child(odd):not(:first-child) .wyc-post__body {
		grid-column: 1;
		grid-row: 1;
	}
}

.wyc-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin: 0;
}

.wyc-pagination .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
}

.wyc-pagination .page-numbers,
.wyc-pagination .wp-block-query-pagination-next,
.wyc-pagination .wp-block-query-pagination-previous {
	display: block;
	margin: 0;
	padding: 12px 15px;
	border-radius: 3px;
	background: var(--nv-light-bg);
	color: inherit;
	line-height: 1;
}

.wyc-pagination .page-numbers.dots {
	background: 0;
}

.wyc-pagination .page-numbers.current {
	background: var(--nv-primary-accent);
	color: var(--nv-text-dark-bg);
}

.wyc-pagination a:focus,
.wyc-pagination a:hover {
	text-decoration: underline;
	color: var(--nv-secondary-accent);
}

.wyc-none .wyc-search {
	max-width: 100%;
}

/* 9. Stopka
   ========================================================================== */
.wyc-footer {
	background: var(--nv-site-bg);
}

.wyc-footer p:last-child {
	margin-bottom: 0;
}

.wyc-footer__widgets {
	padding-top: 4px;
	padding-bottom: 4px;
}

.wyc-footer__widgets > * {
	margin-bottom: 40px;
}

.wyc-footer__widgets > :last-child {
	margin-bottom: 0;
}

.wyc-footer .wyc-patron img {
	max-height: 80px;
	width: auto;
}

.wyc-footer .wyc-patron a {
	color: inherit;
	text-decoration: none;
}

.wyc-footer__nav {
	padding: 4px 0;
}

.wyc-footer-menu {
	display: flex;
	justify-content: flex-start;
	margin: 4px 0;
}

.wyc-footer-menu .wyc-menu {
	margin: 0 -10px;
}

.wyc-footer-menu .wyc-menu > li {
	margin: 0 10px;
	padding: 0 4px;
}

.wyc-footer-menu a {
	padding-top: 1px;
	color: var(--nv-text-color);
	font-weight: 500;
	line-height: 1.6;
}

.wyc-footer-menu a:hover,
.wyc-cookie-settings button:hover {
	color: var(--nv-primary-accent);
}

/* „Ustawienia cookies" — przycisk (otwiera okno zgód) wyglądający jak pozostałe linki stopki. */
.wyc-cookie-settings button {
	display: flex;
	align-items: center;
	min-height: 25px;
	padding: 1px 0 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--nv-text-color);
	font: inherit;
	font-weight: 500;
	line-height: 1.6;
	text-align: left;
	cursor: pointer;
}

.wyc-cookie-settings button:hover {
	background: none;
}

.wyc-cookie-settings button:focus-visible {
	outline: 2px solid var(--nv-secondary-accent);
	outline-offset: 3px;
}

.wyc-footer__bottom {
	padding: 4px 0;
	background: #01216b;
	color: var(--nv-text-dark-bg);
}

.wyc-copy {
	margin: 4px 0;
	text-align: center;
	font-weight: 500;
	line-height: 1.6em;
}

.wyc-copy p {
	margin: 0;
}

.wyc-copy a {
	color: var(--nv-text-dark-bg);
	text-decoration: underline;
}

@media (min-width: 960px) {
	.wyc-footer__widgets {
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.wyc-footer__nav {
		padding: 8px 0;
		border-top: 4px solid var(--nv-dark-bg);
	}

	.wyc-footer__bottom {
		padding: 8px 0;
	}

	.wyc-footer-menu {
		justify-content: flex-end;
	}
}

/* Przycisk „do góry": pojawia się po przewinięciu o wysokość ekranu — sam CSS (position: sticky). */
.wyc-top {
	position: absolute;
	top: 100vh;
	bottom: 0;
	right: 20px;
	z-index: 999;
	width: 36px;
	pointer-events: none;
	color: var(--nv-text-dark-bg);
}

.wyc-top svg {
	position: sticky;
	top: calc(100vh - 62px);
	top: calc(100dvh - 62px);
	display: block;
	width: 36px;
	height: 32px;
	padding: 8px 10px;
	border-radius: 3px;
	background: var(--nv-primary-accent);
	pointer-events: auto;
}

/*
 * Pływający kontakt (zastępuje wtyczkę Buttonizer): telefon / e-mail / LinkedIn.
 * Przełącznik na kliknięcie — jak w oryginale: ikona głównego przycisku obraca się o 45°
 * (250 ms, ease-in-out), a podopcje wysuwają się zza niego. Logika: inc/blocks.php (wycena-js).
 */
.wyc-fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99990;
	font-family: Poppins, var(--wyc-fallback-ff);
	font-size: 14px;
	line-height: 1;
}

.wyc-fab__toggle {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #01216b;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.wyc-fab__toggle:hover {
	background: #01216b;
	color: #fff;
}

.wyc-fab__toggle svg {
	transition: transform .25s ease-in-out;
}

.wyc-fab.is-open .wyc-fab__toggle svg {
	transform: rotate(45deg);
}

.wyc-fab__toggle:focus-visible,
.wyc-fab__menu a:focus-visible {
	outline: 3px solid #019ee2;
	outline-offset: 3px;
}

.wyc-fab__menu a:focus-visible {
	border-radius: 24px;
}

.wyc-fab__menu {
	position: absolute;
	right: 7px;
	bottom: 66px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Zamknięte: podopcje schowane za głównym przyciskiem, niewidoczne i poza kolejnością fokusu. */
.wyc-fab__menu li {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(calc((4 - var(--wyc-i)) * 52px + 7px));
	transition: transform .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
}

.wyc-fab__menu li:nth-child(1) { --wyc-i: 1; }
.wyc-fab__menu li:nth-child(2) { --wyc-i: 2; }
.wyc-fab__menu li:nth-child(3) { --wyc-i: 3; }

.wyc-fab.is-open .wyc-fab__menu li,
html:not(.wyc-js) .wyc-fab:focus-within .wyc-fab__menu li {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.wyc-fab__menu a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.wyc-fab__menu a span {
	padding: 7px 10px;
	border-radius: 4px;
	background: var(--wyc-fab-c);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.wyc-fab__menu a svg {
	box-sizing: content-box;
	width: 22px;
	height: 22px;
	padding: 10px;
	border-radius: 50%;
	background: var(--wyc-fab-c);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.wyc-fab__in { --wyc-fab-c: #2867b2; }
.wyc-fab__mail { --wyc-fab-c: #ea4335; }
.wyc-fab__tel { --wyc-fab-c: #fa4545; }

/* „Hello" z Buttonizera: jednorazowe zwrócenie uwagi 10 s po wczytaniu strony. */
@keyframes wyc-hello {
	0% { transform: scale(1); }
	10%, 20% { transform: scale(.9) rotate(-8deg); }
	30%, 50%, 70% { transform: scale(1.3) rotate(8deg); }
	40%, 60% { transform: scale(1.3) rotate(-8deg); }
	80%, 100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: no-preference) {
	.wyc-fab:not(.is-open) .wyc-fab__toggle {
		animation: wyc-hello 1s ease-in-out 10s 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wyc-fab__toggle svg,
	.wyc-fab__menu li {
		transition: none;
	}
}

/* Telefon: „do góry" obok pływającego kontaktu (po lewej), żeby się nie zasłaniały. */
@media (max-width: 959px) {
	.wyc-top {
		right: 84px;
	}

	.wyc-top svg {
		top: calc(100vh - 60px);
		top: calc(100dvh - 60px);
	}
}

@media (min-width: 960px) {
	.wyc-fab {
		top: calc(8px + var(--wp-admin--admin-bar--height, 0px));
		right: 8px;
		bottom: auto;
	}

	/* Na komputerze przycisk jest u góry, więc podopcje rozwijają się w dół. */
	.wyc-fab__menu {
		top: 66px;
		bottom: auto;
	}

	.wyc-fab__menu li {
		transform: translateY(calc(var(--wyc-i) * -52px - 7px));
	}
}

/* Węższe ekrany komputerów: miejsce na pływający przycisk, żeby nie zasłaniał pozycji „Kontakt" w menu. */
@media (min-width: 960px) and (max-width: 1329px) {
	.wyc-header__inner {
		padding-right: 80px;
	}
}

@media print {
	.wyc-fab,
	.wyc-top,
	.wyc-burger,
	.wyc-nav {
		display: none !important;
	}
}

/* 10. Animacje wejścia (klasy zapisane w treści przez Otter Blocks)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.animated {
		animation-duration: 1s;
		animation-fill-mode: both;
	}

	.animated.delay-500ms { animation-delay: .5s; }
	.animated.slideInLeft { animation-name: wyc-slide-in-left; }
	.animated.slideInUp { animation-name: wyc-slide-in-up; }
	.animated.fadeInBottomLeft { animation-name: wyc-fade-in-bottom-left; }
}

@keyframes wyc-slide-in-left {
	from { transform: translate3d(-100%, 0, 0); visibility: visible; }
	to { transform: translateZ(0); }
}

@keyframes wyc-slide-in-up {
	from { transform: translate3d(0, 100%, 0); visibility: visible; }
	to { transform: translateZ(0); }
}

@keyframes wyc-fade-in-bottom-left {
	from { opacity: 0; transform: translate3d(-100%, 100%, 0); }
	to { opacity: 1; transform: translateZ(0); }
}

/* 12. Baner i okno zgód na pliki cookie (wtyczka custom-consent / vanilla-cookieconsent)
   Wtyczka deklaruje krój „Roboto", którego strona nie ładuje — przeglądarka podstawiała
   font systemowy (często szeryfowy). Tu: kroje, skala i przyciski motywu. Selektor „body #cc-main"
   jest potrzebny, bo wtyczka dopisuje swoje zmienne w <style> już po wczytaniu strony.
   ========================================================================== */
body #cc-main {
	--cc-font-family: Poppins, Arial, Helvetica, sans-serif;
	--cc-btn-border-radius: 0;
	--cc-primary-color: var(--nv-text-color);
	--cc-secondary-color: #44474d;
	--cc-link-color: var(--nv-secondary-accent);
	--cc-btn-primary-bg: var(--nv-primary-accent);
	--cc-btn-primary-color: #fff;
	--cc-btn-primary-border-color: var(--nv-primary-accent);
	--cc-btn-primary-hover-bg: var(--nv-secondary-accent);
	--cc-btn-primary-hover-color: #fff;
	--cc-btn-primary-hover-border-color: var(--nv-secondary-accent);
	--cc-btn-secondary-bg: transparent;
	--cc-btn-secondary-color: var(--nv-dark-bg);
	--cc-btn-secondary-border-color: var(--nv-dark-bg);
	--cc-btn-secondary-hover-bg: var(--nv-dark-bg);
	--cc-btn-secondary-hover-color: #fff;
	--cc-btn-secondary-hover-border-color: var(--nv-dark-bg);
	--cc-toggle-on-bg: var(--nv-secondary-accent);
	--cc-footer-bg: var(--nv-light-bg);
	--cc-footer-border-color: #e4e3ea;
	font-family: var(--cc-font-family);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* Nagłówki: Lexend 600 */
body #cc-main .cm__title,
body #cc-main .pm__title {
	font-family: Lexend, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

body #cc-main .pm__section-title {
	font-family: Lexend, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

/* Tekst: Poppins 400, 14 px */
body #cc-main .cm__desc,
body #cc-main .pm__section-desc-wrapper,
body #cc-main .pm__section-desc,
body #cc-main .pm__service-title {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

body #cc-main .pm__section-table {
	font-size: 13px;
	line-height: 1.5;
}

body #cc-main .pm__section-table td,
body #cc-main .pm__section-table th {
	line-height: 1.5;
}

body #cc-main .pm__badge {
	font-size: 12px;
	font-weight: 500;
}

body #cc-main .cm__link-group {
	font-size: 13px;
}

body #cc-main a,
body #cc-main .cc__link {
	font-weight: 500;
}

body #cc-main b,
body #cc-main strong {
	font-weight: 600;
}

/* Przyciski jak w motywie: prostokątne, Poppins 600, obrys 2 px dla przycisku drugorzędnego */
body #cc-main .cm__btn,
body #cc-main .pm__btn {
	min-height: 46px;
	padding: 10px 22px;
	border-width: 2px;
	border-radius: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

body #cc-main .pm__close-btn {
	border-radius: 0;
}

body #cc-main :is(.cm__btn, .pm__btn, .pm__close-btn, .pm__section-title, a):focus-visible {
	outline: 3px solid #019ee2;
	outline-offset: 2px;
}

/* 11. Style treści przeniesione z „Dodatkowego CSS" Customizera (stan z 18.11.2026)
   Zmienione wyłącznie selektory elementów motywu:
     .nv-post-cover                                   -> .wyc-cover (okładka wpisu)
     .nv-post-thumbnail-wrap, .o-posts-grid-post-image -> .wp-block-post-featured-image (miniatury)
   Nowe reguły dla kolejnych wpisów/stron dopisuj tutaj.
   ========================================================================== */
/* Strona huba: wycena-firmy-i-udzialow (ID 1641) */
body.page-id-1641 main p a,body.page-id-1641 main summary a{color:#0a4fa3;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
body.page-id-1641 main .hub-contact a{color:#fff}
body.page-id-1641 main h2.has-text-align-center,body.page-id-1641 main h3.has-text-align-center{text-align:center}
body.page-id-1641 main .wp-block-columns .wp-block-column>.wp-block-group{height:100%;box-sizing:border-box}
body.page-id-1641 main ul.hub-links{list-style:none;margin:0 0 8px;padding:0}
body.page-id-1641 main ul.hub-links.two{columns:2;column-gap:16px}
@media(max-width:700px){body.page-id-1641 main ul.hub-links.two{columns:1}}
body.page-id-1641 main ul.hub-links li{position:relative;list-style:none;margin:0 0 8px;padding:9px 14px;background:#fff;border-left:4px solid #0693e3;border-radius:4px;box-shadow:0 1px 5px rgba(1,33,107,.10);font-size:14.5px;font-weight:600;color:#01216b;break-inside:avoid}
body.page-id-1641 main ul.hub-links li a{color:#01216b;text-decoration:none;font-weight:600}
body.page-id-1641 main ul.hub-links li a::before{content:"";position:absolute;inset:0}
body.page-id-1641 main ul.hub-links li:has(a)::after{content:"→";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#0693e3;font-weight:700}
body.page-id-1641 main ul.hub-links li:has(a){padding-right:44px}
body.page-id-1641 main ul.hub-links li:has(a):hover{background:#dbe9fb}
body.page-id-1641 main details{background:#fff;border:1px solid #c9d3e6;border-left:6px solid #0693e3;border-radius:6px;padding:16px 56px 16px 20px;margin-bottom:12px;position:relative;box-shadow:0 1px 6px rgba(1,33,107,.08)}
body.page-id-1641 main details summary{list-style:none;font-size:21px;font-weight:700;color:#01216b;cursor:pointer;display:block}
body.page-id-1641 main details summary::-webkit-details-marker{display:none}
body.page-id-1641 main details summary::marker{content:""}
body.page-id-1641 main details::after{content:"+";position:absolute;right:16px;top:12px;width:32px;height:32px;line-height:30px;text-align:center;border-radius:50%;background:#0693e3;color:#fff;font-size:24px;font-weight:700;pointer-events:none}
body.page-id-1641 main details[open]::after{content:"–"}
body.page-id-1641 main details[open]{background:#f7fbff}
body.page-id-1641 main details>p{font-size:18px;margin-top:12px}
body.page-id-1641 main .hub-faq-hint{text-align:center;color:#4a5160;margin-bottom:24px}

/* Strona O Autorze (ID 61): kafelki usług DCF */
body.page-id-61 .oa-tile{position:relative;transition:filter .2s}
body.page-id-61 .oa-tile a{color:#fff;text-decoration:none;font-weight:500}
body.page-id-61 .oa-tile a::after{content:"";position:absolute;inset:0;z-index:2}
body.page-id-61 .oa-tile:hover{filter:brightness(.92)}
body.page-id-61 .oa-tile a:focus-visible{outline:3px solid #fff;outline-offset:-6px}

/* O Autorze: zdjecie na gorze sekcji, wydluzone */
body.page-id-61 .wp-block-columns:has(img.wp-image-1393){align-items:flex-start}
body.page-id-61 .wp-block-columns:has(img.wp-image-1393)>.wp-block-column:first-child{align-self:flex-start}
body.page-id-61 img.wp-image-1393{height:1050px;width:100%;object-fit:cover;object-position:50% 25%}
@media(max-width:781px){body.page-id-61 img.wp-image-1393{height:auto;max-height:none}}

/* mobile: bez justowania i oś czasu bez grafiki (hub) */
@media (max-width:781px){
.hub-timeline{counter-reset:st}
.hub-timeline .wp-block-image{display:none}
.hub-timeline .wp-block-column>p:first-child::before{counter-increment:st;content:counter(st) ". "}
span[style*="text-align:justify"]{text-align:left!important;hyphens:manual!important}
}

/* Oznaczenie grafik AI  wpisy 75, 76, 77 */
body.postid-1563 .wyc-cover::after,body.postid-1583 .wyc-cover::after,body.postid-1607 .wyc-cover::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}
/* Oznaczenie grafik AI  miniatury wpisow 75, 76, 77 na liscie wpisow i stronie glownej */
.wp-block-post-featured-image:has(a[href*="wycena-firmy-podzial-majatku"],a[href*="wycena-przedsiebiorstwa-na-potrzeby-spadku"],a[href*="wycena-udzialow-przy-wylaczeniu-wspolnika"]){position:relative}
.wp-block-post-featured-image:has(a[href*="wycena-firmy-podzial-majatku"],a[href*="wycena-przedsiebiorstwa-na-potrzeby-spadku"],a[href*="wycena-udzialow-przy-wylaczeniu-wspolnika"])::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}

/* Home: hero na telefonie – zdjecie w calosci, tekst nad zdjeciem */
@media (max-width:781px){
 body.page-id-5 .wp-block-cover.alignfull{min-height:0!important;align-items:flex-start!important;padding-bottom:104vw!important;background-color:#2a3a57;overflow:hidden}
 body.page-id-5 .wp-block-cover.alignfull>img.wp-block-cover__image-background{top:auto!important;bottom:0!important;height:112vw!important;object-fit:cover!important;object-position:100% 0!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14%);mask-image:linear-gradient(to bottom,transparent 0,#000 14%)}
 body.page-id-5 .wp-block-cover.alignfull>.wp-block-cover__background{background:transparent!important}
 body.page-id-5 .wp-block-cover__inner-container>.wp-block-spacer{height:6px!important}
 body.page-id-5 .wp-block-cover__inner-container .wp-block-columns{gap:10px!important}
 body.page-id-5 .wp-block-cover__inner-container .wp-block-columns .wp-block-column:empty{display:none}
}

/* Oznaczenie grafiki AI - wpis 78: naglowek wpisu */
body.postid-1627 .wyc-cover::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}
/* Oznaczenie grafiki AI - wpis 78: miniatury (lista wpisow, strona glowna) */
.wp-block-post-featured-image:has(a[href*="wycena-udzialu-kapitalowego-art-65-ksh"]){position:relative}
.wp-block-post-featured-image:has(a[href*="wycena-udzialu-kapitalowego-art-65-ksh"])::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}

/* === STYL WPISÓW (wszystkie wpisy) — początek === */
body.single-post{--bn:#01216b;--bb:#1f5fd1;--bl:#dbe6fb}
/* Spis treści */
body.single-post #ez-toc-container{background:transparent;border:0;border-left:6px solid var(--bn);border-radius:0;box-shadow:none;padding:6px 0 6px 22px;width:100%!important}
body.single-post #ez-toc-container .ez-toc-title{font-family:Lexend,Arial,sans-serif;font-size:1.2rem;font-weight:700;color:var(--bn);letter-spacing:.06em;text-transform:uppercase}
body.single-post #ez-toc-container ul.ez-toc-list a{color:var(--bn);font-weight:500;line-height:1.9;text-decoration:none}
body.single-post #ez-toc-container ul.ez-toc-list a:hover{color:var(--bb);text-decoration:underline}
body.single-post #ez-toc-container .ez-toc-counter ul li a::before,body.single-post #ez-toc-container .ez-toc-heading-level-2 a::before{color:var(--bb);font-weight:700}
/* Tytuły części */
body.single-post .entry-content h2{color:var(--bn);font-weight:700;border-left:6px solid var(--bb);padding-left:16px;margin:2.8rem 0 1.2rem;line-height:1.25}
body.single-post .entry-content h3{color:var(--bn);font-weight:600;border-left:4px solid #8fb0ea;padding-left:14px;margin:2.1rem 0 .9rem;line-height:1.3}
body.single-post .entry-content h4{color:var(--bb);font-weight:600;border-left:3px solid var(--bl);padding-left:12px;margin:1.7rem 0 .7rem}
body.single-post .blog-przyklad :is(h2,h3,h4),body.single-post .blog-bledy :is(h2,h3,h4),body.single-post .blog-podsumowanie :is(h2,h3,h4){border-left:0;padding-left:0}
/* Krótka odpowiedź */
body.single-post .blog-krotka{font-size:1.18rem;font-weight:500;line-height:1.75;color:var(--bn);border-left:6px solid var(--bb);padding-left:20px;margin:1.4rem 0 2rem}
body.single-post .blog-krotka::before{content:"Krótka odpowiedź";display:block;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--bb);margin-bottom:6px}
/* Tabele */
body.single-post .entry-content .wp-block-table table{border-collapse:collapse;width:100%;font-size:.95rem;border:0}
body.single-post .wp-block-table th,body.single-post .wp-block-table table:not(:has(thead)) tr:first-child td{background:var(--bn);color:#fff;font-weight:600;border:1px solid var(--bn);padding:11px 14px;text-align:left}
body.single-post .wp-block-table tbody td{border:0;border-bottom:1px solid #dbe3f3;padding:10px 14px}
body.single-post .wp-block-table tbody tr:nth-child(even) td{background:#f2f5fb}
body.single-post .wp-block-table tbody td:first-child{font-weight:600;color:var(--bn)}
body.single-post .wp-block-table figcaption{font-size:.85rem;color:#5a6785;font-style:italic}
/* Przykład */
body.single-post .blog-przyklad{border-left:6px solid #e0a100;padding-left:22px;margin:2.4rem 0}
body.single-post .blog-przyklad h3{color:#8a5a00}
body.single-post .blog-przyklad h4{color:#b27a00}
/* Najczęstsze błędy */
body.single-post .blog-bledy{border-left:6px solid #c0392b;padding-left:22px;margin:2.4rem 0}
body.single-post .blog-bledy h3{color:#a12b1f}
body.single-post .blog-bledy ul li::marker{content:"✗  ";color:#c0392b;font-weight:700}
/* Podsumowanie */
body.single-post .blog-podsumowanie{border-left:6px solid var(--bn);padding-left:22px;margin:2.8rem 0}
body.single-post .blog-podsumowanie h2{color:var(--bn)}
body.single-post .blog-podsumowanie>p:first-of-type{font-weight:600;color:var(--bn)}
body.single-post .blog-podsumowanie ul li::marker{content:"✓  ";color:#1a7f5a;font-weight:700}
/* FAQ */
body.single-post .blog-faq{margin:3.2rem 0}
body.single-post .blog-faq h3{font-size:.95rem;text-transform:uppercase;letter-spacing:.1em;color:#5a6785;font-weight:700;border-left:0;padding-left:0;margin:2rem 0 .6rem}
body.single-post .blog-faq .schema-faq-section{margin:0 0 1.3rem}
body.single-post .blog-faq .schema-faq-question{display:block;font-size:1.08rem;font-weight:700;color:var(--bn);border-left:4px solid var(--bb);padding-left:14px;margin-bottom:6px}
body.single-post .blog-faq .schema-faq-answer{display:block;border-left:4px solid var(--bl);padding-left:14px;color:#2b2b2b;line-height:1.75}
body.single-post .blog-krotka,body.single-post .blog-krotka em{font-style:normal}
/* Tabele — zagęszczenie */
body.single-post .entry-content .wp-block-table table :is(td,th){font-size:15.5px;line-height:1.5;padding:9px 14px}
body.single-post .entry-content .wp-block-table table :is(td,th) p{margin:0}
/* Lista kontrolna — delikatnie, bez pionowej linii */
body.single-post .blog-lista{margin:2.4rem 0;padding:20px 26px 8px 28px;background:#f1f7f7;border-radius:6px}
body.single-post .blog-lista>*:first-child{margin-top:0}
body.single-post .blog-lista h3{border-left:0;padding-left:0;color:#2f6f73;font-weight:600;font-size:1.3rem}
body.single-post .blog-lista>p{color:#44546a;font-style:italic}
body.single-post .blog-lista ul li{color:#2b2b2b}
body.single-post .blog-lista ul li::marker{content:"☐  ";color:#2f6f73;font-weight:700}
/* === STYL WPISÓW (wszystkie wpisy) — koniec === */

/* Brak podwójnej linii: nagłówki wewnątrz ramek z własną lewą linią (CTA, Czytaj dalej) */
body.single-post .entry-content .wp-block-group[style*="border-left"] :is(h2,h3,h4){border-left:0 !important;padding-left:0 !important;margin-left:0 !important;}

/* Oznaczenie grafiki AI - wpis 79: naglowek wpisu */
body.postid-1806 .wyc-cover::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}
/* Oznaczenie grafiki AI - wpis 79: miniatury (lista wpisow, strona glowna) */
.wp-block-post-featured-image:has(a[href*="jak-podwazyc-opinie-bieglego-wycena"]){position:relative}
.wp-block-post-featured-image:has(a[href*="jak-podwazyc-opinie-bieglego-wycena"])::after{content:"Obraz wygenerowany przez AI";position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;padding:2px 10px;font-size:12px;line-height:1.4;color:rgba(255,255,255,.88);background:rgba(0,0,0,.35);border-radius:3px;white-space:nowrap;pointer-events:none}
