/* FizjoZOO – uzupełnienie theme.json. Tokeny: var(--wp--preset--*). */

/* ---------- Podstawy ---------- */
:where(body) { -webkit-font-smoothing: antialiased; }
:where(img) { height: auto; }
:focus-visible { outline: 2px solid var(--wp--preset--color--accent-hover); outline-offset: 2px; }
.fz-icon { flex: none; width: 1em; height: 1em; vertical-align: -0.125em; }

/* ---------- Podpis odręczny (kicker) ---------- */
.is-style-kicker {
	font-family: var(--wp--preset--font-family--script);
	font-size: var(--wp--preset--font-size--kicker);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -1px;
	color: var(--wp--preset--color--secondary);
	margin-bottom: 0.25rem !important;
	text-transform: none;
}
.is-style-kicker + :where(h1, h2, h3) { margin-top: 0; }

/* ---------- Grupy ---------- */
.is-style-card {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--40);
}
.is-style-panel {
	background: var(--wp--preset--gradient--lavender-panel);
	border-radius: var(--wp--custom--radius--panel);
	padding: var(--wp--preset--spacing--60);
}
@media (max-width: 781px) {
	.is-style-panel { border-radius: 0 0 var(--wp--custom--radius--large) var(--wp--custom--radius--large); padding: var(--wp--preset--spacing--40); }
}

/* ---------- Karta usługi (kafelek oferty) ---------- */
.is-style-service {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--40);
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.is-style-service:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--float); }
.is-style-service .wp-block-image { margin: 0; }
.is-style-service .wp-block-image img { width: 64px; height: 64px; object-fit: contain; border-radius: 0; }
.is-style-service :where(h2, h3) { font-size: var(--wp--preset--font-size--heading-5); margin: 0; }
.is-style-service p { margin: 0; }
.is-style-service .fz-more { margin-top: auto; font-weight: 600; }
.is-style-service .fz-more a { text-decoration: none; }
.is-style-service .fz-more a::after { content: " →"; }
@media (prefers-reduced-motion: reduce) { .is-style-service { transition: none; } .is-style-service:hover { transform: none; } }

/* Siatka kafelków: 4 / 2 / 1 kolumna */
.fz-grid { display: grid !important; gap: var(--wp--preset--spacing--40); grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.fz-grid > * { margin: 0 !important; }

/* ---------- Zespół ---------- */
.fz-grid:has(> .is-style-person) { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.is-style-person { text-align: center; }
.is-style-person .wp-block-image { margin: 0 auto; }
.is-style-person .wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; width: 170px; max-width: 100%; margin-inline: auto; }
.is-style-person :where(h3, h4) { font-size: var(--wp--preset--font-size--heading-6); letter-spacing: 1px; margin: 0.75rem 0 0.25rem; }
.is-style-person p { margin: 0; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--secondary); line-height: 1.5; }
.fz-photo-placeholder {
	width: 180px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
	background: var(--wp--preset--gradient--lavender-panel);
	display: grid; place-items: center;
	color: var(--wp--preset--color--lavender-500); font-family: var(--wp--preset--font-family--script); font-size: 2rem;
}

/* ---------- Zaleta z ikoną (Dlaczego my) ---------- */
.is-style-feature { display: grid !important; grid-template-columns: 56px 1fr; gap: 0.25rem 1rem; align-items: start; }
.is-style-feature > .wp-block-image { grid-row: span 2; margin: 0; }
.is-style-feature > .wp-block-image img { width: 56px; height: 56px; object-fit: contain; border-radius: 0; }
.is-style-feature > :where(h3, h4) { font-size: var(--wp--preset--font-size--large); margin: 0; letter-spacing: 0.5px; }
.is-style-feature > p { margin: 0; }
.is-style-feature > :only-child, .is-style-feature:not(:has(> .wp-block-image)) { grid-template-columns: 1fr; }

/* ---------- Opinie ---------- */
.wp-block-quote.is-style-testimonial {
	border: 0; margin: 0; padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--card);
	position: relative;
}
.wp-block-quote.is-style-testimonial::before {
	content: "“"; position: absolute; top: 0.1em; right: 0.4em;
	font: 700 5rem/1 Georgia, serif; color: var(--wp--preset--color--lavender-300);
}
.wp-block-quote.is-style-testimonial p { font-size: var(--wp--preset--font-size--small); }
.wp-block-quote.is-style-testimonial cite { display: block; margin-top: 0.75rem; font-style: normal; font-weight: 600; color: var(--wp--preset--color--heading); }
.wp-block-quote.is-style-testimonial cite small { display: block; font-weight: 400; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--x-small); }
.fz-slider { display: grid !important; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--wp--preset--spacing--30); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.fz-slider > * { scroll-snap-align: start; margin: 0 !important; }
@media (max-width: 781px) { .fz-slider { grid-auto-columns: 85%; } }

/* ---------- Karta gabinetu ze zdjęciem (strona główna) ---------- */
.wp-block-cover.is-style-location { border-radius: var(--wp--custom--radius--medium); overflow: hidden; min-height: 440px; align-items: flex-end; }
.wp-block-cover.is-style-location .wp-block-cover__inner-container { width: 100%; }
.wp-block-cover.is-style-location :where(h2, h3) { color: var(--wp--preset--color--white); margin: 0; }
.wp-block-cover.is-style-location h3 a { color: inherit; text-decoration: none; }
.wp-block-cover.is-style-location h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wp-block-cover.is-style-location .wp-block-cover__image-background { transition: transform 0.6s ease; }
.wp-block-cover.is-style-location:hover .wp-block-cover__image-background { transform: scale(1.04); }
.wp-block-cover.is-style-location .is-style-checklist li::before { background: var(--wp--preset--color--white); }
.wp-block-cover.is-style-location .fz-cover-tag {
	display: inline-block; margin: 0 0 auto; padding: 0.3rem 0.9rem;
	background: rgba(255, 255, 255, 0.92); color: var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--pill); font-size: var(--wp--preset--font-size--x-small); font-weight: 600;
}

/* ---------- Hero z dwoma zdjęciami ---------- */
.fz-hero-media { display: grid !important; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--30); align-items: end; }
.fz-hero-media > * { margin: 0 !important; }
.fz-hero-media .wp-block-image img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: var(--wp--custom--radius--large); }
.fz-hero-media > :nth-child(2) { transform: translateY(-2.5rem); }
@media (max-width: 781px) { .fz-hero-media > :nth-child(2) { transform: none; } }

/* Zdjęcie w kolumnie obok tekstu */
.fz-media-tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--wp--custom--radius--large); }

/* Brak pliku (media do przeniesienia) – miękkie tło zamiast pustego miejsca */
.wp-block-image img:not([src]), .wp-block-image img[src=""] { background: var(--wp--preset--gradient--lavender-panel); min-height: 200px; }

/* ---------- Lista z łapkami ---------- */
.is-style-checklist { list-style: none; padding-left: 0; }
.is-style-checklist li { position: relative; padding-left: 1.9em; margin-bottom: 0.4em; }
.is-style-checklist li::before {
	content: "";
	position: absolute; left: 0; top: 0.35em;
	width: 1.15em; height: 1.15em;
	background: var(--wp--preset--color--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13c-2.8 0-6 3.1-6 5.6C6 20.4 7.3 21 9 21c1.2 0 2-.6 3-.6s1.8.6 3 .6c1.7 0 3-.6 3-2.4 0-2.5-3.2-5.6-6-5.6zM5.5 12a2.5 3 0 1 0 0-6 2.5 3 0 0 0 0 6zm13 0a2.5 3 0 1 0 0-6 2.5 3 0 0 0 0 6zM9 8a2.5 3.2 0 1 0 0-6.4A2.5 3.2 0 0 0 9 8zm6 0a2.5 3.2 0 1 0 0-6.4A2.5 3.2 0 0 0 15 8z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13c-2.8 0-6 3.1-6 5.6C6 20.4 7.3 21 9 21c1.2 0 2-.6 3-.6s1.8.6 3 .6c1.7 0 3-.6 3-2.4 0-2.5-3.2-5.6-6-5.6zM5.5 12a2.5 3 0 1 0 0-6 2.5 3 0 0 0 0 6zm13 0a2.5 3 0 1 0 0-6 2.5 3 0 0 0 0 6zM9 8a2.5 3.2 0 1 0 0-6.4A2.5 3.2 0 0 0 9 8zm6 0a2.5 3.2 0 1 0 0-6.4A2.5 3.2 0 0 0 15 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- FAQ (core/details) ---------- */
.wp-block-details.is-style-faq { background: var(--wp--preset--color--white); }
.wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-top: 0.75rem; }
.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--wp--preset--color--heading);
	list-style: none;
	display: flex; justify-content: space-between; gap: 1rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 1.4em; line-height: 1; color: var(--wp--preset--color--accent); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details[open] > summary { margin-bottom: 0.5rem; }

/* ---------- Nagłówek ---------- */
.fz-topbar { font-size: var(--wp--preset--font-size--x-small); line-height: 1.5; }
.fz-topbar a { color: inherit; text-decoration: none; }
.fz-topbar a:hover { text-decoration: underline; color: inherit; }
.fz-topbar .fz-field { margin: 0; display: inline-flex; align-items: center; gap: 0.4em; flex-wrap: wrap; }
@media (max-width: 1024px) { .fz-topbar { display: none; } }

.fz-header { position: relative; z-index: 50; }
.fz-header .wp-block-site-logo img { width: auto; max-height: 92px; }
@media (max-width: 781px) { .fz-header .wp-block-site-logo img { max-height: 64px; } }
@media (min-width: 600px) {
.fz-header .wp-block-navigation .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: var(--wp--custom--radius--small);
	box-shadow: var(--wp--preset--shadow--float);
	padding: 0.4rem 0;
	min-width: 280px !important;
}
	.fz-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 1rem; }
	.fz-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
}
/* Menu mobilne (overlay) */
.fz-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 20px; }
.fz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.fz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.fz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start; text-align: left; }
.fz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.9rem; font-size: 1.125rem; }
.fz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding: 0.5rem 0 0 1rem !important; gap: 0.6rem; border-left: 2px solid var(--wp--preset--color--lavender-300); font-size: 1rem; }
.fz-header .wp-block-navigation .current-menu-item > a,
.fz-header .wp-block-navigation [aria-current="page"] { color: var(--wp--preset--color--accent); }

/* ---------- Pola danych gabinetu ---------- */
.fz-field { display: flex; align-items: center; gap: 0.4em; flex-wrap: wrap; }
.fz-field .fz-icon { color: var(--wp--preset--color--accent); }
.fz-topbar .fz-field .fz-icon { color: inherit; }
.fz-field__label { font-weight: 600; }
.fz-social { display: inline-flex; gap: 0.5rem; align-items: center; }
.fz-social__link {
	display: inline-grid; place-items: center;
	width: 2rem; height: 2rem; border-radius: 50%;
	background: currentColor;
}
.fz-social__link .fz-icon { width: 1rem; height: 1rem; color: var(--fz-social-icon, var(--wp--preset--color--white)); }
.fz-topbar .fz-social__link { width: 1.6rem; height: 1.6rem; background: rgba(255, 255, 255, 0.15); }
.fz-topbar .fz-social__link .fz-icon { color: var(--wp--preset--color--white); }

/* ---------- Karta gabinetu ---------- */
.fz-loc-card { display: flex; flex-direction: column; gap: 0.75rem; }
.fz-loc-card--full {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--50);
}
@media (min-width: 782px) { .fz-loc-card--full { height: 100%; } }
.fz-loc-card__tagline {
	margin: 0;
	font-family: var(--wp--preset--font-family--script);
	font-size: var(--wp--preset--font-size--kicker);
	font-weight: 600;
	color: var(--wp--preset--color--secondary);
	line-height: 1.2;
}
.fz-loc-card__name { margin: 0; }
.fz-loc-card__name a { color: inherit; text-decoration: none; }
.fz-loc-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fz-loc-card__row { display: flex; gap: 0.6rem; align-items: flex-start; }
.fz-loc-card__row .fz-icon { margin-top: 0.35em; color: var(--wp--preset--color--lavender-500); }
.fz-loc-card--full .fz-loc-card__row .fz-icon { color: var(--wp--preset--color--accent); }
.fz-loc-card__button { margin-top: auto; padding-top: 0.75rem; }
.fz-loc-card--compact { gap: 0.4rem; font-size: var(--wp--preset--font-size--x-small); }
.fz-loc-card--compact .fz-loc-card__name { font-size: var(--wp--preset--font-size--small); letter-spacing: 0.5px; }
.fz-loc-card--compact + .fz-loc-card--compact { margin-top: 1.25rem; }

/* ---------- Stopka ---------- */
.fz-footer a { color: inherit; text-decoration: none; }
.fz-footer a:hover { color: var(--wp--preset--color--lavender-500); }
.fz-footer .fz-footer__title {
	color: var(--wp--preset--color--lavender-100);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.fz-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.fz-footer .fz-social__link { background: var(--wp--preset--color--white); --fz-social-icon: var(--wp--preset--color--secondary); }
.fz-footer .fz-social__link:hover { background: var(--wp--preset--color--lavender-300); }
.fz-copyright { margin: 0; }
.fz-footer__logo { width: fit-content; }

/* ---------- Przełącznik gabinetów ---------- */
.fz-locswitch { position: relative; z-index: 9999; font-size: 0.875rem; }
.fz-locswitch.is-floating { position: fixed; right: 24px; bottom: 24px; }
.fz-locswitch__trigger {
	display: flex; align-items: center; gap: 8px;
	background: #3a2150; color: #fff;
	border: 0; cursor: pointer;
	padding: 14px 22px; border-radius: var(--wp--custom--radius--pill);
	box-shadow: 0 4px 16px rgba(58, 33, 80, 0.35);
	font: 600 0.875rem/1 var(--wp--preset--font-family--body);
	transition: background 0.25s ease;
}
.fz-locswitch__trigger:hover,
.fz-locswitch.is-open .fz-locswitch__trigger { background: #a97fc4; }
.fz-locswitch__menu {
	position: absolute; right: 0; bottom: 100%;
	list-style: none; margin: 0; padding: 10px;
	display: grid; gap: 8px; min-width: 260px;
	background: #f2ecf7; border: 1px solid #ddd0e8; border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--float);
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.fz-locswitch:not(.is-floating) .fz-locswitch__menu { top: 100%; bottom: auto; transform: translateY(4px); }
.fz-locswitch.is-open .fz-locswitch__menu,
.fz-locswitch:focus-within .fz-locswitch__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-12px); }
@media (hover: hover) and (pointer: fine) {
	.fz-locswitch:hover .fz-locswitch__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-12px); }
}
.fz-locswitch__item {
	display: flex; flex-direction: column; gap: 2px;
	padding: 10px 14px; border-radius: 8px;
	text-decoration: none; color: #2e2436;
	transition: background 0.2s ease;
}
.fz-locswitch__item:hover, .fz-locswitch__item:focus, .fz-locswitch__item[aria-current] { background: #ddd0e8; color: #2e2436; }
.fz-locswitch__item-title { font-weight: 700; color: #3a2150; }
.fz-locswitch__item-sub { font-size: 0.75rem; color: #5b5b52; }
@media (max-width: 768px) {
	.fz-locswitch.is-floating { right: 16px; bottom: 16px; }
	.fz-locswitch__trigger { padding: 12px 18px; font-size: 0.8125rem; }
	.fz-locswitch__menu { min-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
	.fz-locswitch__menu, .fz-locswitch__trigger { transition: none; }
}

/* ---------- Blog ---------- */
.fz-post-card { height: 100%; }
.fz-post-card .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; }

/* v0.1.1 – poprawki po zrzutach */
.wp-block-cover.is-style-location h3 { font-size: var(--wp--preset--font-size--heading-4); }
@media (max-width: 781px) {
	.fz-grid:has(> .is-style-person) { grid-template-columns: repeat(2, 1fr); gap: var(--wp--preset--spacing--30); }
	.is-style-person .wp-block-image img { width: 120px; }
	.wp-block-cover.is-style-location { min-height: 360px !important; }
}
/* v0.1.4 – opinie: karuzela, jedna opinia na raz, strzałki i kropki (skrypt w inc/setup.php) */
.fz-slider { grid-auto-flow: column; grid-auto-columns: 100%; grid-template-columns: none; align-items: start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 0; }
.fz-slider::-webkit-scrollbar { display: none; }
.wp-block-quote.is-style-testimonial { padding-top: 2.75rem; }
.fz-slider-nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem !important; }
.fz-slider-nav__btn {
	display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--accent);
	box-shadow: var(--wp--preset--shadow--card); cursor: pointer; font-size: 1.25rem; line-height: 1;
}
.fz-slider-nav__btn:hover, .fz-slider-nav__btn:focus-visible { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--white); }
.fz-slider-nav__dots { display: flex; gap: 0.5rem; }
.fz-slider-nav__dot { width: 0.7rem; height: 0.7rem; padding: 0; border: 0; border-radius: 50%; background: var(--wp--preset--color--lavender-300); cursor: pointer; }
.fz-slider-nav__dot[aria-current="true"] { background: var(--wp--preset--color--accent); }
/* v0.1.5 – oferta jak w oryginale: rzędy po 3, ostatni rząd z 2 kafelkami rozciągnięty na całą szerokość */
.fz-grid:has(> .is-style-service) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
.fz-grid > .is-style-service { grid-column: span 2; }
.fz-grid > .is-style-service:nth-child(3n+1):nth-last-child(2),
.fz-grid > .is-style-service:nth-child(3n+2):last-child { grid-column: span 3; }
.fz-grid > .is-style-service:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
@media (max-width: 1023px) {
	.fz-grid:has(> .is-style-service) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fz-grid > .is-style-service,
	.fz-grid > .is-style-service:nth-child(n) { grid-column: auto; }
}
@media (max-width: 599px) {
	.fz-grid:has(> .is-style-service) { grid-template-columns: 1fr; }
}

/* Wygląd kafelka jak w oryginale */
.is-style-service { padding: var(--wp--preset--spacing--50) clamp(1.5rem, 3vw, 2.75rem); gap: 1rem !important; }
.is-style-service:hover { transform: none; background: var(--wp--preset--gradient--lavender-panel); box-shadow: var(--wp--preset--shadow--card); }
.is-style-service .wp-block-image img { width: 96px; height: 96px; }
.is-style-service :where(h2, h3) { font-size: var(--wp--preset--font-size--small); letter-spacing: 2px; margin-top: 0.5rem; }
.is-style-service .fz-more { margin-top: 0.25rem; font-weight: 400; text-transform: capitalize; }
.is-style-service .fz-more a { color: var(--wp--preset--color--secondary); }
.is-style-service .fz-more a:hover { color: var(--wp--preset--color--accent); }
.is-style-service .fz-more a::after { content: " \2192"; font-weight: 700; margin-left: 0.35em; }
@media (prefers-reduced-motion: no-preference) { .is-style-service { transition: background 0.3s ease; } }
/* ==========================================================================
   v0.1.7 – jak w oryginale: fioletowe hero, zespół w kartach, tło w łapy (parallax)
   Dotyczy stron z szablonem „Strona bez tytułu (sekcje)”.
   Grafiki tła: /wp-content/uploads/2026/08/Untitled-design-4/-5 (jak w Elementorze).
   ========================================================================== */

/* --- Tło całej strony: łapy, nieruchome przy przewijaniu (efekt paralaksy), 9% krycia --- */
body.page-template-page-no-title { background: var(--wp--preset--color--white); }
body.page-template-page-no-title::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: url(/wp-content/uploads/2026/08/Untitled-design-4-1536x1024.png) center / cover no-repeat;
	opacity: 0.09;
}
/* Sekcje pod hero przezroczyste, żeby tło było widać (jak w oryginale) */
.page-template-page-no-title .wp-block-post-content > .alignfull:not(:first-child) { background: transparent !important; }

/* --- Hero gabinetu: pierwsza sekcja ze zdjęciami-pigułkami (.fz-hero-media); strona główna zostaje lawendowa --- */
.page-template-page-no-title .wp-block-post-content > .alignfull:first-child:has(.fz-hero-media) {
	background: linear-gradient(rgba(160, 151, 163, 0.45), rgba(160, 151, 163, 0.45)), url(/wp-content/uploads/2026/08/Untitled-design-5-1536x1024.png) center / cover no-repeat, var(--wp--preset--color--secondary) !important;
	color: var(--wp--preset--color--white);
	padding-top: clamp(3rem, 7vw, 5rem) !important;
	padding-bottom: clamp(3rem, 7vw, 5rem) !important;
}
.page-template-page-no-title .wp-block-post-content > .alignfull:first-child:has(.fz-hero-media) :where(h1, h2, h3, p, .is-style-kicker) { color: var(--wp--preset--color--white); }
.page-template-page-no-title .wp-block-post-content > .alignfull:first-child:has(.fz-hero-media) .wp-block-button__link { background: var(--wp--preset--color--lavender-500); color: var(--wp--preset--color--white); box-shadow: none; }
.page-template-page-no-title .wp-block-post-content > .alignfull:first-child:has(.fz-hero-media) .wp-block-button__link:hover { background: var(--wp--preset--color--accent); }
.page-template-page-no-title .wp-block-post-content > .alignfull:first-child:has(.fz-hero-media) a:not(.wp-block-button__link) { color: var(--wp--preset--color--white); }

/* Zdjęcia w hero: „pigułki” – większe i wyżej, mniejsze i niżej */
.fz-hero-media { grid-template-columns: 1.27fr 1fr; align-items: start; gap: clamp(1rem, 2.5vw, 2rem); }
.fz-hero-media .wp-block-image img { border-radius: 100px; aspect-ratio: 325 / 580; }
.fz-hero-media > :nth-child(2) { transform: none; margin-top: 3.75rem !important; }
.fz-hero-media > :nth-child(2) .wp-block-image img, .fz-hero-media > :nth-child(2) img { aspect-ratio: 255 / 520; }
@media (max-width: 781px) {
	.fz-hero-media .wp-block-image img { border-radius: 60px; }
	.fz-hero-media > :nth-child(2) { margin-top: 2rem !important; }
}

/* --- Zespół: karty ze zdjęciem u góry --- */
.fz-grid:has(> .is-style-person) { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--wp--preset--spacing--40); }
.is-style-person {
	background: var(--wp--preset--color--white);
	border-radius: 30px;
	box-shadow: -30px 0 60px rgba(181, 202, 191, 0.39);
	padding: 0 1rem 2.5rem;
	justify-content: flex-start !important;
	gap: 0.6rem !important;
	overflow: hidden;
}
.is-style-person .wp-block-image { align-self: stretch; margin: 0 -1rem 0.6rem !important; }
.is-style-person .wp-block-image img,
.is-style-person .wp-block-image img:not([src]) {
	width: 100% !important; max-width: none; height: 250px; aspect-ratio: auto;
	object-fit: cover; border-radius: 20px 20px 0 0; margin: 0;
}
.is-style-person :where(h3, h4) { font-size: 0.9375rem; letter-spacing: 1.5px; margin: 0; }
.is-style-person p { font-size: var(--wp--preset--font-size--small); letter-spacing: 1px; color: var(--wp--preset--color--heading); line-height: 1.6; }
@media (max-width: 781px) {
	.fz-grid:has(> .is-style-person) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.is-style-person .wp-block-image img { width: 100% !important; height: 180px; }
	.is-style-person p { font-size: var(--wp--preset--font-size--x-small); }
}
@media (max-width: 479px) {
	.fz-grid:has(> .is-style-person) { grid-template-columns: 1fr; }
	.is-style-person .wp-block-image img { height: 260px; }
}
/* ==========================================================================
   v0.1.8 – „Umów wizytę” (CTA) jak w oryginale: fioletowa karta z łapkami
   i psem (grafika 6-2.png z Elementora), biały tekst, biały przycisk obrysowy.
   Działa dla: sekcji z klasą .fz-cta (wzorzec, nowe strony) oraz ostatniej
   sekcji już zaimportowanych stron (bez zmiany treści).
   ========================================================================== */
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) {
	background: transparent !important;
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: var(--wp--preset--spacing--60) !important;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) > .alignwide {
	position: relative;
	display: flex;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 1.75rem;
	min-height: clamp(20rem, 32vw, 29rem);
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.25rem);
	border-radius: var(--wp--custom--radius--large);
	overflow: hidden;
	color: var(--wp--preset--color--white);
	background:
		linear-gradient(90deg, rgba(70, 57, 92, 0.28) 0%, rgba(70, 57, 92, 0) 60%),
		url(/wp-content/uploads/2026/08/6-2.png) center / cover no-repeat,
		#9182b6;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) > .alignwide > .wp-block-group {
	max-width: min(40rem, 58%);
	margin: 0 !important;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) :where(h2, h3, p, .fz-field, .fz-field a, .fz-field .fz-icon) {
	color: var(--wp--preset--color--white);
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) h2 {
	font-size: var(--wp--preset--font-size--heading-1);
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.15;
	margin: 0 0 0.75rem;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) p {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) .wp-block-buttons { margin: 0 !important; }
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--white);
	box-shadow: none;
	padding: 1.15em 2.6em;
	text-transform: capitalize;
}
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) .wp-block-button__link:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--accent);
}
@media (prefers-reduced-motion: no-preference) {
	:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) .wp-block-button__link { transition: background 0.25s ease, color 0.25s ease; }
}
/* Telefon: pies poza kadrem (zostają łapki), tekst na całą szerokość */
@media (max-width: 781px) {
	:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) > .alignwide {
		border-radius: var(--wp--custom--radius--medium);
		min-height: 0;
		background-position: 0 0, 15% center, 0 0;
	}
	:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) > .alignwide > .wp-block-group { max-width: none; }
	:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) h2 { font-size: var(--wp--preset--font-size--heading-2); }
}
/* ==========================================================================
   v0.1.9 – podstrony: nagłówek strony (baner z psem), akordeony jak w oryginale,
   cenniki, lżejsza grafika CTA.
   ========================================================================== */

/* CTA: mniejszy plik tła (1536 px, 553 KB zamiast 978 KB) */
:is(.fz-cta, .wp-block-post-content > .alignfull:last-child:has(> .alignwide > .wp-block-buttons)) > .alignwide {
	background-image:
		linear-gradient(90deg, rgba(70, 57, 92, 0.28) 0%, rgba(70, 57, 92, 0) 60%),
		url(/wp-content/uploads/2026/08/6-2-1536x1024.png);
}

/* --- Nagłówek podstrony: fioletowy baner z łapkami i psem (5-2.png z Elementora) --- */
.fz-page-hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(13rem, 24vw, 21rem);
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
	background: url(/wp-content/uploads/2026/08/5-2-1536x1024.png) center 76% / cover no-repeat, #9182b6 !important;
}
.fz-page-hero h1 {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 600;
	margin: 0;
	text-shadow: 0 1px 12px rgba(70, 57, 92, 0.25);
}
@media (max-width: 781px) {
	.fz-page-hero { background-position: 72% 55% !important; min-height: 11rem; }
}

/* --- Akordeony (Szczegóły → FAQ): białe wiersze ze strzałką, jak w oryginale --- */
.wp-block-details.is-style-faq {
	border: 0;
	border-radius: var(--wp--custom--radius--small);
	box-shadow: 0 4px 18px rgba(58, 33, 80, 0.07);
	padding: 0.9rem 1.25rem;
}
.wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-top: 0.6rem; }
.wp-block-details.is-style-faq summary { font-weight: 500; color: var(--wp--preset--color--ink); align-items: center; }
.wp-block-details.is-style-faq summary::after {
	content: ""; flex: none; width: 0.55em; height: 0.55em; margin-right: 0.2em;
	border: solid var(--wp--preset--color--heading); border-width: 0 2px 2px 0;
	transform: translateY(-25%) rotate(45deg); transition: transform 0.2s ease;
}
.wp-block-details.is-style-faq[open] summary::after { content: ""; transform: translateY(15%) rotate(-135deg); }
.wp-block-details.is-style-faq[open] > summary { margin-bottom: 0.75rem; color: var(--wp--preset--color--heading); }
.wp-block-details.is-style-faq > :not(summary) { font-size: var(--wp--preset--font-size--small); margin-top: 0.6rem; margin-bottom: 0; }
.wp-block-details.is-style-faq ol { padding-left: 1.25em; }
.wp-block-details.is-style-faq ol li { margin-bottom: 0.5em; }
@media (prefers-reduced-motion: reduce) { .wp-block-details.is-style-faq summary::after { transition: none; } }

/* Sekcja „zdjęcie + akordeony”: zdjęcie przy dłuższej treści zostaje na górze */
.wp-block-columns.are-vertically-aligned-top .fz-hero-media,
.wp-block-column:has(> .wp-block-details) ~ .wp-block-column .fz-media-tall,
.wp-block-column:has(+ .wp-block-column > .wp-block-details) .fz-media-tall { position: sticky; top: 2rem; }

/* Zdjęcie obok akordeonów: proporcje jak w oryginale (ok. 9:8 zamiast 4:5) */
.wp-block-column:has(+ .wp-block-column > .wp-block-details) .fz-media-tall img,
.wp-block-column:has(> .wp-block-details) + .wp-block-column .fz-media-tall img { aspect-ratio: 9 / 8; }

/* --- Cennik --- */
.fz-price + .fz-price { margin-top: var(--wp--preset--spacing--30); }
.fz-price .fz-price-cat {
	margin: 0;
	padding: 0.65rem 1.1rem;
	background: #a089b7;
	color: var(--wp--preset--color--white);
	border-radius: 12px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.wp-block-table.fz-price-table { margin: 0.5rem 0 0; }
.wp-block-table.fz-price-table table { border-collapse: separate; border-spacing: 0 0.4rem; width: 100%; }
.wp-block-table.fz-price-table td {
	border: 0;
	border-bottom: 1px solid #eae5f0;
	background: #f7f4f9;
	padding: 0.75rem 1.1rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	vertical-align: middle;
}
.wp-block-table.fz-price-table td:first-child { border-radius: 10px 0 0 10px; font-weight: 500; }
.wp-block-table.fz-price-table td:last-child { border-radius: 0 10px 10px 0; text-align: right; font-weight: 700; color: var(--wp--preset--color--heading); white-space: nowrap; width: 9.5rem; }
.wp-block-table.fz-price-table td small { display: block; font-weight: 400; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--x-small); }
.fz-price-note { margin-top: var(--wp--preset--spacing--40) !important; color: var(--wp--preset--color--secondary); }
@media (max-width: 479px) {
	.wp-block-table.fz-price-table td { padding: 0.65rem 0.8rem; }
	.wp-block-table.fz-price-table td:last-child { width: auto; }
}

/* Poprawka v0.1.5: na tablecie i telefonie kafelki z ostatniego rzędu nie mogą zajmować 3 kolumn
   (na /zaspa/ i w ofercie strona przewijała się w bok). */
@media (max-width: 1023px) {
	.fz-grid > .is-style-service { grid-column: auto !important; }
}
/* v0.1.10 – niższy baner podstron (o 30%) */
.fz-page-hero {
	min-height: clamp(9rem, 17vw, 14.75rem);
	padding-top: var(--wp--preset--spacing--40) !important;
	padding-bottom: var(--wp--preset--spacing--40) !important;
}
@media (max-width: 781px) {
	.fz-page-hero { min-height: 7.75rem; }
}
/* v0.1.11 – baner podstron: cały pies widoczny przy każdej szerokości ekranu.
   Warstwa 1 (tło): górna część grafiki – same łapki, rozciągnięte na całą szerokość.
   Warstwa 2 (::after): ta sama grafika w skali dopasowanej do wysokości banera, przyklejona
   do prawej krawędzi, z miękkim przejściem z lewej – pies zawsze cały, niezależnie od szerokości. */
.fz-page-hero {
	--fz-hero-h: clamp(9rem, 17vw, 14.75rem);
	position: relative;
	isolation: isolate;
	min-height: var(--fz-hero-h);
	background: url(/wp-content/uploads/2026/08/5-2-1536x1024.png) center top / cover no-repeat, #9182b6 !important;
}
.fz-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* pies zajmuje ok. 52–92% wysokości grafiki → skala 300% wysokości banera pokazuje głowę i łapę */
	background: url(/wp-content/uploads/2026/08/5-2-1536x1024.png) right 0 top 74% / auto 300% no-repeat;
	-webkit-mask-image: linear-gradient(to right, transparent calc(100% - var(--fz-hero-h) * 3.1), #000 calc(100% - var(--fz-hero-h) * 2.2));
	        mask-image: linear-gradient(to right, transparent calc(100% - var(--fz-hero-h) * 3.1), #000 calc(100% - var(--fz-hero-h) * 2.2));
}
.fz-page-hero > * { position: relative; }
@media (max-width: 781px) {
	.fz-page-hero { --fz-hero-h: 7.75rem; background-position: center top !important; }
	.fz-page-hero::after { opacity: 0.4; }
	.fz-page-hero h1 { font-size: var(--wp--preset--font-size--heading-3); }
}
/* ==========================================================================
   v0.1.12 – O nas (sylwetki), Galeria, Wizyta, Kontakt
   ========================================================================== */

/* Sylwetka: zdjęcie po lewej (zaokrąglone), tekst po prawej – jak w oryginale */
.fz-person .fz-person-photo { margin: 0; position: sticky; top: 2rem; }
.fz-person .fz-person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--wp--custom--radius--large); }
.fz-person .is-style-kicker { margin-bottom: 0 !important; }
.fz-person .fz-person-name { font-size: var(--wp--preset--font-size--heading-3); margin: 0 0 0.25rem; }
.fz-person .fz-person-sub { font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--secondary); margin-top: 0; }
.fz-person .wp-block-details.is-style-faq { margin-top: 1rem; }
.fz-person .wp-block-details.is-style-faq ul { padding-left: 1.2em; }
.fz-person .wp-block-details.is-style-faq li { margin-bottom: 0.35em; }
/* odstęp i linia między osobami */
:where(section) > .wp-block-group:has(> .fz-person) + .wp-block-group:has(> .fz-person) {
	border-top: 1px solid var(--wp--preset--color--lavender-300);
	padding-top: var(--wp--preset--spacing--60);
}
/* zespoły na przemian: biały / lawendowy */
#niedzwiednik { background: var(--wp--preset--gradient--lavender-fade); }
.fz-team-note { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--secondary); }
#zaspa, #niedzwiednik, [id^="antonina"], [id^="maria"] { scroll-margin-top: 1.5rem; }
@media (max-width: 781px) {
	.fz-person .fz-person-photo { position: static; max-width: 22rem; margin-inline: auto; }
	.fz-person .fz-person-photo img { aspect-ratio: 1; }
}

/* Galeria: równa siatka kadrów, delikatne zaokrąglenie, powiększenie po kliknięciu (lightbox WP) */
.wp-block-gallery.fz-gallery { --wp--style--unstable-gallery-gap: var(--wp--preset--spacing--30); gap: var(--wp--preset--spacing--30); }
.wp-block-gallery.fz-gallery .wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: var(--wp--custom--radius--medium); transition: transform 0.4s ease, filter 0.4s ease; }
.wp-block-gallery.fz-gallery .wp-block-image { overflow: hidden; border-radius: var(--wp--custom--radius--medium); }
.wp-block-gallery.fz-gallery .wp-block-image:hover img { transform: scale(1.04); filter: brightness(1.05); }
@media (max-width: 600px) { .wp-block-gallery.fz-gallery.columns-3 .wp-block-image { width: calc(50% - var(--wp--preset--spacing--30) / 2) !important; } }
@media (prefers-reduced-motion: reduce) { .wp-block-gallery.fz-gallery .wp-block-image img { transition: none; } }

/* Wizyta: karty gabinetów z dojazdem */
.wp-block-group.is-style-card > h3 { font-size: var(--wp--preset--font-size--heading-5); margin: 0 0 0.25rem; }
.wp-block-group.is-style-card > p { font-size: var(--wp--preset--font-size--small); }
.wp-block-group.is-style-card > .fz-field { font-weight: 600; margin-top: 0.25rem; }
.wp-block-columns:has(> .wp-block-column > .is-style-card) > .wp-block-column > .is-style-card { height: 100%; }

/* Kontakt: formularz na lawendowym tle */
#formularz { position: relative; }
.wp-block-post-content > section:has(#formularz) { background: var(--wp--preset--gradient--lavender-fade); }
/* ==========================================================================
   v0.1.13 – behawiorystyka, groomer, cenniki partii 4
   ========================================================================== */

/* Kolaż 3 zdjęć (jak w oryginale): dwa mniejsze po lewej, jedno wysokie po prawej */
.fz-collage { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--wp--preset--spacing--20); aspect-ratio: 1 / 1.1; }
.fz-collage > * { margin: 0 !important; min-height: 0; }
.fz-collage > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.fz-collage .wp-block-image, .fz-collage .wp-block-image img { height: 100%; }
.fz-collage .wp-block-image img { width: 100%; object-fit: cover; border-radius: var(--wp--custom--radius--medium); }
.fz-collage > :nth-child(3) img { border-radius: var(--wp--custom--radius--large); }
.wp-block-columns.are-vertically-aligned-top .fz-collage { position: sticky; top: 2rem; }
@media (max-width: 781px) { .fz-collage { aspect-ratio: 4 / 3; } }

/* Sekcje z samym tekstem (długie opisy SEO) – czytelna kolumna, lekkie tło co druga */
.fz-text-section + .fz-text-section,
.wp-block-post-content > section:nth-of-type(even).fz-text-section { background: var(--wp--preset--gradient--lavender-fade); }
.fz-text-section .is-style-checklist { margin-block: 1rem; }

/* Kafelki – 3 w rzędzie wyśrodkowane (oferta behawiorysty, groomer) */
.fz-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 62rem; margin-inline: auto !important; }
.fz-grid:has(> :nth-child(3):last-child) > * { grid-column: auto !important; }
@media (max-width: 781px) { .fz-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; } }

/* Link „Dowiedz się więcej” w akordeonie */
.wp-block-details .fz-more a { font-weight: 600; text-decoration: none; }
.wp-block-details .fz-more a::after { content: " →"; }

/* Cennik: podtytuł (zajęcia w parze / indywidualne) */
.fz-price .fz-price-sub { margin: 0.9rem 0 0 !important; padding-left: 1.1rem; color: var(--wp--preset--color--secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.fz-price-note { text-align: left; }
.fz-price-note.has-text-align-center { text-align: center; }
/* ==========================================================================
   v0.1.14 – wpisy bloga: tabele, nagłówki, cytaty (treść wpisów to zwykły HTML)
   ========================================================================== */
body.single-post .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--heading-3); margin-top: var(--wp--preset--spacing--50); }
body.single-post .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--heading-5); margin-top: var(--wp--preset--spacing--40); }
body.single-post .wp-block-post-content .article-takeaways h2 { margin-top: 0; }

/* Tabele w treści – obramowanie jak w oryginale, przewijanie w poziomie na telefonie */
body.single-post .wp-block-post-content .wp-block-table { overflow-x: auto; margin-block: var(--wp--preset--spacing--30); }
body.single-post .wp-block-post-content .wp-block-table table { border-collapse: collapse; width: 100%; min-width: 32rem; }
body.single-post .wp-block-post-content .wp-block-table :is(th, td) { border: 1px solid var(--wp--preset--color--lavender-300); padding: 0.65rem 0.9rem; font-size: var(--wp--preset--font-size--small); line-height: 1.5; vertical-align: top; text-align: left; }
body.single-post .wp-block-post-content .wp-block-table th { background: var(--wp--preset--color--lavender-50); color: var(--wp--preset--color--heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: var(--wp--preset--font-size--x-small); }
body.single-post .wp-block-post-content .wp-block-table tbody tr:nth-child(even) td { background: #faf8fc; }

/* Cytaty / wyróżnienia we wpisach */
body.single-post .wp-block-post-content blockquote { margin: var(--wp--preset--spacing--40) 0; padding: 1rem 1.25rem; background: var(--wp--preset--color--lavender-50); border-left: 4px solid var(--wp--preset--color--lavender-500); border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0; }
body.single-post .wp-block-post-content blockquote p { margin: 0; }
/* ==========================================================================
   v0.1.15 – strona główna (wybór gabinetu) wizualnie jak oryginał fizjozoo.pl
   ========================================================================== */
.fz-front-hero { position: relative; overflow: hidden; background: #fff; }
.fz-front-hero > * { position: relative; z-index: 1; }

/* Dekoracje: duże koło z gradientem (lewo) i kropki (prawo, lewo-dół) */
@media (min-width: 1024px) {
	.fz-front-hero::before {
		content: ""; position: absolute; z-index: 0; top: 60px; left: calc(50% - 760px);
		width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
		background: linear-gradient(130deg, #EEE4F6 0%, rgba(238, 228, 246, 0) 75%);
	}
	.fz-front-hero::after {
		content: ""; position: absolute; z-index: 0; top: 70px; left: calc(50% + 540px);
		width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
		background: #EEE4F6; box-shadow: 85px -15px 0 -5px #6FA3D8;
	}
	.fz-front-cards::before {
		content: ""; position: absolute; left: calc(50% - 740px); bottom: 2px;
		width: 15px; height: 15px; border-radius: 50%; background: #46395C; pointer-events: none;
	}
}

/* Nagłówek: mały odręczny H1 (SEO) + duże „Witaj w FizjoZOO” */
.fz-front-hero h1.fz-front-kicker {
	font-family: var(--wp--preset--font-family--script);
	font-size: 22px; font-weight: 600; line-height: 1.6; letter-spacing: -1px;
	text-transform: uppercase; color: #1F3A5F; margin-bottom: 0;
}
.fz-front-hero .fz-front-title {
	font-size: clamp(40px, 5vw, 70px); font-weight: 700; line-height: 1.1;
	color: #66597B; margin-top: 20px;
}
.fz-front-hero h2 { margin-top: 20px; }
.fz-front-hero .fz-front-lead { max-width: 768px; font-size: 20px; line-height: 1.6; color: #1F2A44; margin-top: 20px; }

/* Karty gabinetów */
.fz-front-hero .fz-front-cards { position: relative; max-width: 1240px; gap: 20px; margin-top: 100px; }
.wp-block-cover.is-style-location { min-height: 375px !important; padding: 20px; border-radius: 25px; }
.wp-block-cover.is-style-location .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(46, 109, 164, 0) 0%, #1F3A5F 100%) !important;
	opacity: 1 !important;
}
.wp-block-cover.is-style-location .wp-block-cover__inner-container {
	align-self: stretch; display: flex; flex-direction: column; align-items: flex-start;
	width: 100% !important;
}
.wp-block-cover.is-style-location .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none; }
.wp-block-cover.is-style-location .fz-cover-tag {
	margin: 0 0 auto; padding: 5px 12px; background: #66597B; color: #fff;
	border-radius: 25px; font-size: 15px; font-weight: 400; line-height: 1.6;
	letter-spacing: 1px; text-transform: capitalize;
}
.wp-block-cover.is-style-location h3 {
	margin-top: 50px; font-size: clamp(1.8rem, 3vw, 2.441rem); font-weight: 600; line-height: 1.2;
	letter-spacing: 1px; text-transform: capitalize; color: #fff;
}
.wp-block-cover.is-style-location .fz-field {
	margin-top: 0; padding-right: 90px; align-items: flex-start; flex-wrap: nowrap; gap: 6px;
	font-size: 18px; line-height: 1.8; color: #fff;
}
.wp-block-cover.is-style-location h3 + .fz-field { margin-top: 20px; }
.wp-block-cover.is-style-location .fz-field__value { flex: 1 1 auto; min-width: 0; }
.wp-block-cover.is-style-location .fz-field .fz-icon { width: 14px; height: 14px; margin-top: 9px; color: #D7C9E2; flex: none; }

/* Strzałka w kółku (cała karta jest linkiem przez h3 a::after) */
.wp-block-cover.is-style-location .wp-block-cover__inner-container::after {
	content: ""; position: absolute; right: 24px; bottom: 10px;
	width: 56px; height: 56px; border-radius: 50%; pointer-events: none;
	background: #66597B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
	transition: background-color 0.3s ease;
}
.wp-block-cover.is-style-location:hover .wp-block-cover__inner-container::after { background-color: #46395C; }

@media (max-width: 781px) {
	.fz-front-hero .fz-front-cards { margin-top: 40px; }
	.wp-block-cover.is-style-location { min-height: 0 !important; }
	.wp-block-cover.is-style-location .fz-cover-tag { align-self: stretch; text-align: center; }
	.wp-block-cover.is-style-location .fz-field { padding-right: 0; }
	.wp-block-cover.is-style-location .wp-block-cover__inner-container::after { position: static; margin-top: 20px; }
}
/* ==========================================================================
   v0.1.16 – animacja wjazdu sekcji przy przewijaniu (jak fadeInUp w Elementorze)
   Działa tylko gdy <html> ma klasę fz-anim (dodaje ją skrypt; bez JS
   i przy „ogranicz ruch” w systemie treść jest po prostu widoczna).
   Pierwsza sekcja strony (baner/hero) nie jest animowana – szybszy LCP.
   ========================================================================== */
html.fz-anim :is(
	.wp-block-post-content > section:not(:first-child) > :not(.wp-block-columns):not(.fz-grid),
	.wp-block-post-content > section:not(:first-child) > .wp-block-columns > .wp-block-column,
	.wp-block-post-content > section:not(:first-child) > .fz-grid > *
):not(.fz-done) {
	opacity: 0;
	transform: translate3d(0, 80px, 0);
	transition: opacity 1.25s ease, transform 1.25s ease;
}
html.fz-anim :is(
	.wp-block-post-content > section:not(:first-child) > :not(.wp-block-columns):not(.fz-grid),
	.wp-block-post-content > section:not(:first-child) > .wp-block-columns > .wp-block-column,
	.wp-block-post-content > section:not(:first-child) > .fz-grid > *
).is-in {
	opacity: 1;
	transform: none;
}
@media print {
	html.fz-anim * { opacity: 1 !important; transform: none !important; }
}
/* ==========================================================================
   v0.1.17 – sekcje tekstowe (bez zdjęć) na pełną szerokość treści (1280 px),
   wyrównane z sekcjami ze zdjęciami
   ========================================================================== */
.fz-text-section > .wp-block-group { max-width: var(--wp--style--global--wide-size) !important; padding-left: 0 !important; padding-right: 0 !important; }
.fz-text-section > .wp-block-group > :not(.alignleft):not(.alignright) { max-width: none !important; }
/* ==========================================================================
   v0.1.18 – mapa Google gabinetu ([fizjozoo_mapa])
   ========================================================================== */
.fz-map { margin: var(--wp--preset--spacing--30) 0 0; }
.fz-map__frame {
	position: relative; overflow: hidden; height: var(--fz-map-h, 360px);
	border-radius: var(--wp--custom--radius--medium); box-shadow: var(--wp--preset--shadow--card);
	background: var(--wp--preset--color--lavender-50);
}
.fz-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.fz-map__frame--consent {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
	padding: 1.5rem; text-align: center;
	background: var(--wp--preset--gradient--lavender-panel, var(--wp--preset--color--lavender-50));
}
.fz-map__note { margin: 0; font-weight: 600; color: var(--wp--preset--color--heading); }
.fz-map__small { margin: 0; font-size: var(--wp--preset--font-size--x-small); opacity: 0.75; }
/* Mapa + przycisk w białej karcie – jak karta z danymi gabinetu nad nią */
.fz-map {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--50);
	margin: var(--wp--preset--spacing--40) 0 0 !important;
}
.fz-map .fz-map__frame { box-shadow: none; border-radius: var(--wp--custom--radius--small); }
.fz-map .fz-map__caption { margin: 1.5rem 0 0 !important; padding-left: 0; }
.fz-map .fz-map__caption .wp-block-button__link { display: inline-block; }
/* Karta gabinetu nad mapą: karty równej wysokości, mapy na jednej linii */
.wp-block-column:has(.fz-map) { display: flex; flex-direction: column; }
.wp-block-column:has(.fz-map) .fz-loc-card--full { height: auto; flex: 1 1 auto; }
@media (max-width: 781px) { .fz-map { --fz-map-h: 280px; } .fz-map__frame { height: 280px; } }
/* ==========================================================================
   v0.1.19 – Panel Zespołu: kafelki [fizjozoo_zespol] i podstrona osoby
   ========================================================================== */

/* --- Kafelki: wygląd jak dotychczasowe karty „Osoba z zespołu”, cała karta klikalna --- */
.fz-team-card { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.fz-team-card .fz-team-card__name a { color: inherit; text-decoration: none; }
.fz-team-card .fz-team-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fz-team-card:hover { transform: translateY(-4px); box-shadow: -30px 10px 60px rgba(181, 202, 191, 0.55); }
.fz-team-card:hover .fz-team-card__name { color: var(--wp--preset--color--accent); }
.fz-team-card:focus-within { outline: 2px solid var(--wp--preset--color--accent-hover); outline-offset: 3px; }
.fz-team-card .fz-team-card__name a:focus-visible { outline: 0; }
.fz-team-card__placeholder {
	display: grid; place-items: center; height: 250px;
	background: var(--wp--preset--gradient--lavender-panel);
	color: var(--wp--preset--color--lavender-500);
	font-family: var(--wp--preset--font-family--script); font-size: 2rem;
	border-radius: 20px 20px 0 0;
}
@media (prefers-reduced-motion: reduce) { .fz-team-card, .fz-team-card:hover { transition: none; transform: none; } }

/* --- Podstrona osoby: tło w łapy jak na stronach z sekcjami --- */
body.single-zespol { background: var(--wp--preset--color--white); }
body.single-zespol::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: url(/wp-content/uploads/2026/08/Untitled-design-4-1536x1024.png) center / cover no-repeat;
	opacity: 0.09;
}

.fz-member__body {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--60);
}
.fz-member__body > * + * { margin-top: var(--wp--preset--spacing--50); }

/* Tekst pod imieniem + gabinety */
.fz-member__intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.fz-member__lead {
	flex: 1 1 32rem; margin: 0;
	font-size: var(--wp--preset--font-size--large); font-weight: 500; line-height: 1.6;
	color: var(--wp--preset--color--secondary);
}
.fz-member__locs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.fz-member__locs a {
	display: inline-flex; align-items: center; gap: 0.4em;
	padding: 0.35rem 0.95rem; border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--secondary); color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--x-small); letter-spacing: 1px; text-decoration: none;
	transition: background 0.25s ease;
}
.fz-member__locs a:hover, .fz-member__locs a:focus-visible { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }

/* Zdjęcie profilowe po lewej, opis opływa je */
.fz-member__content { display: flow-root; }
.fz-member__photo {
	float: left; width: min(38%, 380px);
	margin: 0.4rem clamp(1.5rem, 3.5vw, 3rem) 1.5rem 0;
}
.fz-member__photo img {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
	border-radius: var(--wp--custom--radius--large);
	box-shadow: -30px 0 60px rgba(181, 202, 191, 0.39);
}
.fz-member__content > :first-child:not(.fz-member__photo),
.fz-member__photo + * { margin-top: 0; }
.fz-member__content :where(h2, h3, h4) { margin: 1.75rem 0 0.75rem; }
.fz-member__content h2 { font-size: var(--wp--preset--font-size--heading-3); }
.fz-member__content h3 { font-size: var(--wp--preset--font-size--heading-4); }
.fz-member__content :where(ul, ol) { display: flow-root; padding-left: 1.4em; }
.fz-member__content p { margin: 0 0 1rem; }
@media (max-width: 599px) {
	.fz-member__photo { float: none; width: 100%; max-width: 420px; margin: 0 auto 1.5rem; }
}

/* Nagłówki sekcji na podstronie */
.fz-member__section > h2 {
	font-size: var(--wp--preset--font-size--heading-3);
	margin: 0 0 var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--lavender-300);
}

/* Realizowane usługi – przyciski-pigułki */
.fz-member__service-list { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.fz-member__service {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.85em 1.6em; border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--gradient--lavender-panel);
	border: 1px solid var(--wp--preset--color--lavender-300);
	color: var(--wp--preset--color--primary); font-weight: 500; letter-spacing: 0.5px; text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.fz-member__service::after { content: "\2192"; font-weight: 700; color: var(--wp--preset--color--accent); transition: transform 0.25s ease, color 0.25s ease; }
.fz-member__service:hover, .fz-member__service:focus-visible {
	background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--white);
}
.fz-member__service:hover::after, .fz-member__service:focus-visible::after { color: var(--wp--preset--color--white); transform: translateX(3px); }

/* Galeria (do 6 zdjęć) */
.fz-member__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30); list-style: none; margin: 0; padding: 0; }
.fz-member__gallery[data-count="1"] { grid-template-columns: minmax(0, 520px); }
.fz-member__gallery[data-count="2"], .fz-member__gallery[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fz-member__gallery a { display: block; overflow: hidden; border-radius: var(--wp--custom--radius--medium); }
.fz-member__gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.fz-member__gallery a:hover img { transform: scale(1.04); }
@media (max-width: 781px) { .fz-member__gallery, .fz-member__gallery[data-count] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Dyplomy i certyfikaty */
.fz-member__certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: var(--wp--preset--spacing--30); list-style: none; margin: 0; padding: 0; }
.fz-member__certs figure { margin: 0; height: 100%; padding: 0.75rem; background: var(--wp--preset--color--white); border-radius: var(--wp--custom--radius--small); box-shadow: var(--wp--preset--shadow--card); }
.fz-member__certs a { display: block; }
.fz-member__certs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--wp--preset--color--lavender-50); border-radius: 6px; }
.fz-member__certs figcaption { margin-top: 0.6rem; font-size: var(--wp--preset--font-size--x-small); line-height: 1.5; color: var(--wp--preset--color--secondary); text-align: center; }
@media (max-width: 479px) { .fz-member__certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Przycisk rezerwacji */
.fz-member__cta { display: flex; justify-content: center; padding-top: var(--wp--preset--spacing--30); }

/* Podgląd zdjęć (galeria, dyplomy) */
.fz-lightbox { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--wp--custom--radius--small); background: transparent; overflow: visible; }
.fz-lightbox::backdrop { background: rgba(31, 42, 68, 0.85); }
.fz-lightbox img { display: block; max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: var(--wp--custom--radius--small); }
.fz-lightbox button {
	position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.92); color: var(--wp--preset--color--primary); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.fz-lightbox button:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--accent); }
.fz-lightbox__close { top: -14px; right: -14px; }
.fz-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.fz-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.fz-lightbox.is-single .fz-lightbox__prev, .fz-lightbox.is-single .fz-lightbox__next { display: none; }
@media (max-width: 599px) { .fz-lightbox__close { top: 8px; right: 8px; } }

/* ==========================================================================
   v0.1.29 – Przełącznik gabinetów: otwiera się po najechaniu (lub kliknięciu)
   i zostaje otwarty; zamyka go biały X w prawym górnym rogu, Esc albo
   kliknięcie poza panelem. Klasę has-js dodaje view.js – bez JS zostaje
   dotychczasowe zachowanie (hover / focus-within).
   ========================================================================== */
.fz-locswitch.has-js:not(.is-open) .fz-locswitch__menu { opacity: 0; visibility: hidden; pointer-events: none; }
.fz-locswitch__close-item { position: absolute; top: -12px; right: -12px; margin: 0; padding: 0; list-style: none; }
.fz-locswitch__close {
	display: grid; place-items: center;
	width: 30px; height: 30px; padding: 0;
	border: 2px solid #fff; border-radius: 50%;
	background: #3a2150; color: #fff;
	box-shadow: 0 2px 8px rgba(58, 33, 80, 0.35);
	cursor: pointer;
	transition: background 0.2s ease;
}
.fz-locswitch__close:hover,
.fz-locswitch__close:focus-visible { background: #a97fc4; }
.fz-locswitch__close svg { display: block; }
@media (prefers-reduced-motion: reduce) { .fz-locswitch__close { transition: none; } }
