/* ==========================================================================
   Sonora Studio — zmienne marki, przełącznik witryn, drobne uzupełnienia
   Układ i wygląd sekcji pochodzą z istniejącego style.css; tutaj tylko to,
   co nowe. Paleta i typografia wg brandbooka (Studio):
   Libre Baskerville + Avenir (Avenir tymczasowo = Nunito Sans).
   ========================================================================== */

:root {
	--sn-arrow-white: 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sn-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sn-sand: #e5d8ce;
	--sn-sand-light: #f3ece4;
	--sn-rose: #c59589;
	--sn-terracotta: #ae6954;
	--sn-sage: #6c7560;
	--sn-brown: #51382e;
	--sn-brown-dark: #3a261f;
	--sn-gold: #b87f41;
	--sn-cream: #fcf9f3;

	--sn-font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--sn-font-body: "Nunito Sans", "Avenir Next", Avenir, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Przełącznik Studio ↔ Produkt (po lewej, nad nagłówkiem) ----- */

.site-switcher {
	background: var(--sn-brown);
	font-family: var(--sn-font-body);
	font-size: 14px;
	line-height: 1;
}

.site-switcher__inner ul {
	display: flex;
	justify-content: flex-start;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-switcher__inner li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-switcher__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	color: var(--sn-sand) !important;
	text-decoration: none !important;
	border-bottom: 3px solid transparent;
	transition: background-color 0.2s, color 0.2s;
}

.site-switcher__link strong {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.site-switcher__link span {
	opacity: 0.8;
}

.site-switcher__link:hover,
.site-switcher__link:focus-visible {
	background: var(--sn-brown-dark);
	color: #fff !important;
}

.site-switcher__link.is-current {
	color: #fff !important;
	border-bottom-color: var(--sn-gold);
}

.site-switcher__link:focus-visible {
	outline: 2px solid var(--sn-gold);
	outline-offset: -2px;
}

@media (max-width: 600px) {
	.site-switcher__inner li { flex: 1; }
	.site-switcher__link { width: 100%; justify-content: center; padding: 12px 8px; }
	.site-switcher__link span { display: none; }
}

/* ---------- Uzupełnienia nowych sekcji strony głównej ------------------- */

/* pływający box z poprzedniej sekcji nie może wchodzić w nowe sekcje */
#oferta { clear: both; }

/* cena w boxie oferty — w stylu istniejących boxów */
.booking .offer-price {
	margin: -8px 0 14px;
	font-weight: 700;
	color: var(--sn-gold);
}

/* wstęp pod tytułem sekcji (oferta, baza wiedzy) */
.booking .row-wide-800 p { padding: 0 0 20px; }

/* FAQ (animacja: assets/js/sonora-reveal.js) */
.sonora-faq { display: grid; gap: 12px; margin-top: 0; }
.sonora-faq details {
	margin: 0;
	border-radius: 0 22px 0 22px;
	background: var(--sn-sand-light);
	transition: background-color 0.3s, box-shadow 0.3s;
}
.sonora-faq details.is-open { background: #fff; box-shadow: 0 0 0 1px rgba(184, 127, 65, 0.35), 0 18px 36px -26px rgba(81, 56, 46, 0.45); }
.sonora-faq summary {
	position: relative;
	padding: 22px 76px 22px 28px;
	color: #51382e;
	font-family: var(--sn-font-head);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}
.sonora-faq summary::-webkit-details-marker { display: none; }
/* ikona: kółko + dwie kreski; pionowa obraca się i znika, zostaje minus */
.sonora-faq summary::before {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	border: 1.5px solid #51382e;
	border-radius: 50%;
	background:
		linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat;
	color: #51382e;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sonora-faq summary::after {
	content: "" !important;
	position: absolute;
	right: 40.25px;
	top: 50%;
	width: 1.5px;
	height: 12px;
	margin-top: -6px;
	background: #51382e;
	transform: none;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s, background-color 0.3s;
}
.sonora-faq details.is-open summary::before { border-color: #51382e; background-color: #51382e; color: #fff; transform: rotate(180deg); }
.sonora-faq details.is-open summary::after { background: #fff; opacity: 0; transform: rotate(90deg); }
.sonora-faq summary:hover::before { border-color: var(--sn-gold); }
.sonora-faq summary:focus-visible { outline: 2px solid var(--sn-gold); outline-offset: 2px; border-radius: inherit; }
.sonora-faq__body { overflow: hidden; }
.sonora-faq details p,
.sonora-faq__body p { margin: 0; padding: 0 76px 24px 28px; font-size: 15px; text-align: left; }

/* sekcja FAQ na stronie głównej */
html body #faq { max-width: none; padding: 112px 24px 120px; }
html body #faq .row-wide-800 { max-width: 820px !important; margin: 0 auto !important; padding: 0 !important; background: transparent !important; }
html body #faq .row-wide-800 .titles { margin-bottom: 48px; padding: 0; line-height: 1.3 !important; }
@media only screen and (max-width: 1024px) {
	html body #faq { padding: 80px 40px 88px; }
	html body #faq .row-wide-800 .titles { margin-bottom: 36px; }
}
@media only screen and (max-width: 640px) {
	html body #faq { padding: 64px 20px 72px; }
	.sonora-faq summary { padding: 18px 64px 18px 20px; font-size: 16px; }
	.sonora-faq summary::before { right: 16px; width: 30px; height: 30px; margin-top: -15px; }
	.sonora-faq summary::after { right: 30.25px; }
	.sonora-faq details p, .sonora-faq__body p { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.sonora-faq summary::before, .sonora-faq summary::after { transition: none; }
}

/* ---------- Nagłówek: logo + język · menu · koszyk · przyciski ------------ */

/* czcionka menu (desktop, rozwijane i panel mobilny) */
#kad-header-menu .nav-main a,
.kad-mobile-nav a {
	font-family: var(--sn-font-body) !important;
	font-weight: 700 !important;
	font-style: normal !important;
	letter-spacing: 0;
}

/* topbar powtarzał przyciski z menu */
body.sn-menu-cta #kad-header-menu #topbar { display: none; }

/* jeden rząd, wszystko wyśrodkowane w pionie (bez ujemnych marginesów ze style.css
   i bez wysokości ustawianych przez skrypt „shrink header”) */
#kad-header-menu .kad-header-menu-inner.container { padding: 0 24px; }
#kad-header-menu .kad-header-flex {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0 16px;
	height: auto !important;
	min-height: 96px;
	margin: 0 !important;
	padding: 0;
}
#kad-header-menu .kad-header-height {
	height: auto !important;
	line-height: normal !important;
	margin: 0 !important;
}
#kad-header-menu .kad-header-flex-item { height: auto !important; margin: 0; padding: 0; }
#kad-header-menu .kad-left-header { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
#kad-header-menu #logo a.brand { display: flex; align-items: center; height: auto !important; padding: 0; }
#kad-header-menu #logo a img {
	width: 160px !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
}
#kad-header-menu .kad-center-header { flex: 1 1 auto; min-width: 0; }
#kad-header-menu .kad-right-header { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }

#kad-header-menu nav.nav-main { margin: 0; }
#kad-header-menu .nav-main ul.sf-menu { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; margin: 0; }
#kad-header-menu .nav-main ul.sf-menu > li { height: auto; margin: 0; }
#kad-header-menu .nav-main ul.sf-menu > li > a {
	display: flex;
	align-items: center;
	height: 44px !important;
	min-height: 0;
	margin: 0;
	padding: 0 9px !important;
	font-size: 14px;
	line-height: 1.2 !important;
	white-space: nowrap;
}
#kad-header-menu .nav-main ul.sub-menu a { font-size: 13.5px; line-height: 1.5; }

/* strzałki rozwijania: cienki szewron zamiast pełnego trójkąta */
.kt-showsub-indicator #kad-header-menu .nav-main .sf-dropdown > a::after,
#kad-header-menu .nav-main .sf-dropdown > a::after {
	content: "" !important;
	display: inline-block;
	flex: 0 0 auto;
	width: 6px;
	height: 6px !important;
	min-height: 0 !important;
	margin: -3px 1px 0 7px;
	padding: 0;
	border: solid currentColor;
	border-width: 0 1.4px 1.4px 0;
	transform: rotate(45deg);
	transition: transform 0.2s, margin 0.2s;
}
#kad-header-menu .nav-main ul.sf-menu > li.sf-dropdown:hover > a::after,
#kad-header-menu .nav-main ul.sf-menu > li.sfHover > a::after { margin-top: 3px; transform: rotate(225deg); }
/* trzeci poziom (motyw daje mu osobną klasę sf-dropdown-submenu): szewron w prawo */
#kad-header-menu .nav-main li.sf-dropdown-submenu > a { position: relative; }
#kad-header-menu .nav-main li.sf-dropdown-submenu > a::after {
	content: "" !important;
	position: absolute;
	right: 18px;
	left: auto;
	top: 50%;
	box-sizing: border-box;
	width: 6px;
	height: 6px !important;
	min-height: 0 !important;
	margin: -3px 0 0;
	padding: 0;
	border: solid currentColor;
	border-width: 0 1.4px 1.4px 0;
	transform: rotate(-45deg);
}

/* koszyk: lżejsza ikona i okrągły licznik */
#kad-header-menu .kt-header-extras ul.sf-menu { align-items: center; margin: 0; }
#kad-header-menu .menu-cart-icon-kt { height: auto; margin: 0; }
#kad-header-menu .menu-cart-icon-kt > a.menu-cart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px !important;
	padding: 0 !important;
	line-height: 1 !important;
}
#kad-header-menu .menu-cart-icon-kt > a::after { display: none !important; }
/* strzałka okienka koszyka dokładnie pod środkiem ikony (przycisk 42 px, strzałka 12 px) */
#kad-header-menu #kad-head-cart-popup::before { right: 15px !important; left: auto !important; }
.menu-cart-btn .kt-extras-label,
.kt-woo-cart-toggle .kt-extras-label { position: relative; display: inline-block; line-height: 1; }
.menu-cart-btn i.kt-icon-shopping-bag::before,
.kt-woo-cart-toggle i.kt-icon-shopping-bag::before {
	content: "" !important;
	display: block;
	width: 26px;
	height: 26px;
	background: #51382e;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8h12.8l1 11.2a1.7 1.7 0 0 1-1.7 1.8H6.3a1.7 1.7 0 0 1-1.7-1.8z'/%3E%3Cpath d='M8.8 10.5V7a3.2 3.2 0 0 1 6.4 0v3.5'/%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' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8h12.8l1 11.2a1.7 1.7 0 0 1-1.7 1.8H6.3a1.7 1.7 0 0 1-1.7-1.8z'/%3E%3Cpath d='M8.8 10.5V7a3.2 3.2 0 0 1 6.4 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.menu-cart-btn .kt-cart-total,
.kt-woo-cart-toggle .kt-cart-total {
	position: absolute !important;
	top: -1px !important;
	right: -3px !important;
	left: auto !important;
	bottom: auto !important;
	display: block !important;
	box-sizing: border-box;
	width: 14px !important;
	min-width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #51382e !important;
	box-shadow: 0 0 0 1.5px #fff;
	color: #fff !important;
	font: 700 9px/15px var(--sn-font-body) !important; /* 15px: cyfra optycznie na środku 14 px kółka */
	font-variant-numeric: tabular-nums;
	text-align: center !important;
	text-indent: 0 !important;
	letter-spacing: 0 !important;
}

/* przyciski za koszykiem */
.sn-header-cta { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sn-header-cta li { margin: 0; padding: 0; list-style: none; }
.kad-mobile-nav li.menu-cta > a {
	display: block;
	border-radius: 5px;
	background: #51382e;
	color: #fff !important;
	font-family: var(--sn-font-head) !important;
	font-style: normal !important;
	font-weight: 500 !important;
	text-align: center;
	text-transform: none;
	transition: background-color 0.2s;
}
.kad-mobile-nav li.menu-cta > a { margin: 10px 20px 0; padding: 12px 20px; font-size: 15px; }
.kad-mobile-nav li.menu-cta > a:hover,
.kad-mobile-nav li.menu-cta > a:focus-visible { background: #3a261f; color: #fff !important; }
.kad-mobile-nav li.menu-cta-book { margin-top: 18px; }

/* przełącznik języka: flagi w kółkach */
.sn-lang ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; line-height: 0; }
.sn-lang li { display: block; margin: 0; padding: 0; list-style: none; line-height: 0; }
/* obwódka jako box-shadow: motyw zeruje border-bottom linków w nagłówku (!important) */
.sn-lang a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	line-height: 0;
	box-shadow: 0 0 0 1.5px transparent;
	transition: box-shadow 0.2s, opacity 0.2s;
}
.sn-lang svg {
	display: block;
	flex: 0 0 auto;
	width: 22px !important;
	height: 22px !important;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(58, 38, 31, 0.18);
}
.sn-lang a:not([aria-current]) { opacity: 0.75; }
.sn-lang a[aria-current] { box-shadow: 0 0 0 1.5px var(--sn-gold); }
.sn-lang a:hover,
.sn-lang a:focus-visible { box-shadow: 0 0 0 1.5px #51382e; opacity: 1; }
.sn-lang a:focus-visible { outline: 2px solid var(--sn-gold); outline-offset: 3px; }

/* węższe ekrany: menu schodzi do drugiego rzędu, nic się nie łamie */
@media only screen and (max-width: 1439px) {
	#kad-header-menu .kad-header-flex { flex-wrap: wrap; justify-content: space-between; min-height: 0; padding: 12px 0 4px; }
	#kad-header-menu .kad-center-header { order: 3; flex: 0 0 100%; }
}

/* nagłówek mobilny: język obok logo */
#kad-mobile-banner .mobile-header-container { align-items: center; }
#kad-mobile-banner #mobile-logo { flex: 0 1 auto !important; width: auto !important; }
#kad-mobile-banner #mobile-logo img { max-width: 150px; height: auto; }
#kad-mobile-banner .sn-lang { margin: 0 auto 0 10px; }
@media only screen and (max-width: 374px) {
	#kad-mobile-banner #mobile-logo img { max-width: 118px; }
	#kad-mobile-banner .sn-lang { margin-left: 6px; }
}

/* ---------- Podstrony w układzie sekcyjnym (template-sekcje.php) --------
   Układ, odstępy i typografia pochodzą ze style.css (jak na stronie głównej
   i „O Sonorze”). Tu tylko dopasowanie nagłówków, które mają inny poziom. */

/* tytuł sekcji jako H2 — ta sama interlinia co dotychczasowe div.titles */
.sn-sections .row-wide-800 h2.titles { margin: 0; line-height: 66px !important; }
@media only screen and (max-width: 1024px) {
	/* ogólna reguła dla h2 na telefonie zmniejszała tytuł względem div.titles */
	.sn-sections .row-wide-800 h2.titles { font-size: 35px !important; line-height: 1.2 !important; }
	/* opinie jak na stronie głównej (.page-id-2): bez piaskowego pasa pod tytułem */
	.sn-sections #opinie .row-wide-800 {
		margin-top: 0 !important;
		margin-bottom: -20px !important;
		padding-top: 80px !important;
		background-color: transparent !important;
	}
}

.sn-steps .kol-1-1 { vertical-align: top; }

/* rząd zdjęcie + tekst po szarej sekcji: odstęp jak .small-separator */
.sn-sections .sn-row { display: flow-root; padding-top: 60px; }
.sn-sections .sn-gap { margin-top: 60px; }

/* odstęp pod podtytułem opinii jak na stronie głównej (edytor usuwa pusty <br>) */
.sn-sections #opinie .row-wide-800 h3 { margin-bottom: 38px; }

/* pływający box nie może wchodzić w kolejną sekcję */
.sn-sections .sn-offer { display: flow-root; }

/* uwagi robocze — USUNĄĆ z treści przed wdrożeniem na produkcję */
.sn-sections p.sn-verify {
	padding: 10px 14px;
	border: 2px dashed var(--sn-terracotta);
	background: #fff;
	color: var(--sn-brown);
	font-size: 14px;
	text-align: left;
}

/* do 1024 px .row-wide-800 ma piaskowe tło, więc pytania FAQ muszą być białe */
@media only screen and (max-width: 1024px) {
	.row-wide-800 .sonora-faq details { background: #fff; }
}

/* ---------- Typografia całej witryny ------------------------------------ */

/* H1: bez kursywy, w brązie marki, pełne krycie */
h1,
.page-layout h1,
.kol-right h1,
.titleclass h1,
h1.page_head_title,
h1.product_title {
	font-style: normal !important;
	color: #51382e !important;
}
/* krycie bez !important, żeby animacja wejścia mogła je zmieniać */
html body .page-layout h1,
html body .titleclass h1 { opacity: 1; }

/* akapity: mniejsza interlinia (było 2–2.3) */
/* „html body” — style.css motywu jest wczytywany drugi raz po tym pliku */
html body p,
html body .single-article p,
html body .postcontent p,
html body .sidebar p { line-height: 1.7 !important; }

/* ---------- Hero: odstęp od nagłówka ----------------------------------- */
@media only screen and (min-width: 1025px) {
	.page-layout > .section-full:first-child { padding-top: 48px; }
}

/* ---------- Odtwarzacz audio (assets/js/sonora-audio.js) --------------- */
.sn-player {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 360px;
	margin-top: 10px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
	background: var(--sn-sand-light);
	font-family: var(--sn-font-body);
}
.sn-player__btn {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50% !important;
	background: #51382e !important;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}
.sn-player__btn:hover { background: var(--sn-gold) !important; }
.sn-player__btn:active { transform: scale(0.95); }
.sn-player__btn:focus-visible { outline: 2px solid var(--sn-gold); outline-offset: 3px; }
.sn-player__btn svg { width: 20px; height: 20px; }
.sn-player .sn-i-pause,
.sn-player.is-playing .sn-i-play { display: none; }
.sn-player.is-playing .sn-i-pause { display: block; }
.sn-player__seek {
	--p: 0%;
	flex: 1 1 auto;
	min-width: 60px;
	height: 4px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(to right, var(--sn-gold) var(--p), #dccbbb var(--p));
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.sn-player__seek::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #51382e;
	box-shadow: 0 1px 3px rgba(58, 38, 31, 0.3);
	-webkit-appearance: none;
	appearance: none;
}
.sn-player__seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #51382e;
}
.sn-player__seek:focus-visible { outline: 2px solid var(--sn-gold); outline-offset: 6px; }
.sn-player__time {
	flex: 0 0 auto;
	color: #51382e;
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Boksy „booking” (strona główna i podstrony) ----------------- */

html body .booking .kol-1-1 { vertical-align: top; padding: 64px 48px; }
.booking .kol-1-1 > p { max-width: 440px; margin-left: auto; margin-right: auto; }

/* ikona: liniowe SVG bez tła (inc/studio-icons.php) */
.booking .sn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 18px;
	color: var(--sn-gold);
}
.booking .sn-icon svg { width: 44px; height: 44px; stroke-width: 1.3; }

/* nagłówki: zwykła pisownia, bez rozstrzelenia */
.booking h5,
.sn-sections .booking .sn-box-title {
	margin: 0 0 18px !important;
	padding: 0;
	font-family: var(--sn-font-head) !important;
	font-size: 21px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #51382e;
}
/* stare nagłówki zapisane wersalikami (tłumaczenia Polylang zostają bez zmian) */
.booking h5.sn-caps { text-transform: lowercase !important; }
.booking h5.sn-caps::first-letter { text-transform: uppercase; }

.booking .offer-price { margin: -6px 0 16px; font-size: 14px; }

@media only screen and (max-width: 1024px) {
	html body .booking .kol-1-1 { padding: 44px 40px; }
}
@media only screen and (max-width: 480px) {
	html body .booking .kol-1-1 { padding: 40px 24px; }
}

/* ---------- Nagłówki H2 i tytuły sekcji: kolor jak w hero, bez kursywy --- */
html body h2,
html body .row-wide-800 .titles {
	color: #51382e !important;
	font-style: normal !important;
	opacity: 1 !important;
}

/* ---------- Strona główna: sekcja z filmem ------------------------------ */
.sn-film { clear: both; padding: 120px 24px; background: #fff; }
.sn-film__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: center;
	max-width: 1150px;
	margin: 0 auto;
}
html body .sn-film .sn-film__title {
	margin: 0;
	padding: 0;
	font-family: var(--sn-font-head);
	font-size: 34px !important;
	font-weight: 400;
	line-height: 1.35 !important;
	letter-spacing: 0;
}
html body .sn-film hr {
	width: 120px !important;
	margin: 28px 0 !important;
	border: 0;
	border-top: 2px solid var(--sn-gold);
}
.sn-film__text p { margin: 0; max-width: 420px; }
.sn-film .btn { margin-top: 28px !important; }

/* film: zaokrąglenie jak zdjęcie w hero (lustrzane) + przesunięte tło */
.sn-film__media { position: relative; }
.sn-film__media::before {
	content: "";
	position: absolute;
	inset: 44px -44px -44px 44px;
	border-radius: 0 0 0 180px;
	background: var(--sn-sand-light);
	z-index: 0;
}
/* kształt nadany samemu filmowi (clip-path działa też na warstwie wideo w Safari) */
.sn-film__frame {
	--sn-film-r: 180px;
	position: relative;
	z-index: 1;
	isolation: isolate;
	aspect-ratio: 16 / 9;
}
html body .sn-film__video {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	border: 0 !important; /* style.css daje każdemu <video> 100 px piaskowej ramki */
	object-fit: cover;
	border-radius: 0 0 0 var(--sn-film-r);
	clip-path: inset(0 round 0 0 0 var(--sn-film-r));
	-webkit-clip-path: inset(0 round 0 0 0 var(--sn-film-r));
	filter: none;
}
.sn-film__controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.sn-film__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50% !important;
	background: rgba(81, 56, 46, 0.72) !important;
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background-color 0.2s;
}
.sn-film__btn:hover { background: #51382e !important; }
.sn-film__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sn-film__btn svg { width: 20px; height: 20px; }
.sn-film__frame .sn-i-pause,
.sn-film__frame.is-playing .sn-i-play,
.sn-film__frame .sn-i-sound,
.sn-film__frame.has-sound .sn-i-muted { display: none; }
.sn-film__frame.is-playing .sn-i-pause,
.sn-film__frame.has-sound .sn-i-sound { display: block; }

/* animacja wejścia (tylko gdy działa JS) */
.sn-js .sn-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sn-js .sn-reveal--media { transform: translateY(48px) scale(0.96); transition-duration: 1.1s; transition-delay: 0.15s; }
.sn-js .sn-reveal--media::before { opacity: 0; transform: translate(-24px, -24px); transition: opacity 0.9s ease 0.6s, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s; }
.sn-js .sn-reveal.is-in { opacity: 1; transform: none; }
.sn-js .sn-reveal--media.is-in::before { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.sn-js .sn-reveal,
	.sn-js .sn-reveal--media::before { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media only screen and (max-width: 1024px) {
	.sn-film { padding: 80px 40px 96px; }
	.sn-film__inner { grid-template-columns: 1fr; gap: 48px; }
	html body .sn-film .sn-film__title { font-size: 28px !important; }
	.sn-film__media::before { inset: 28px -16px -28px 28px; border-radius: 0 0 0 110px; }
	.sn-film__frame { --sn-film-r: 110px; }
}
@media only screen and (max-width: 480px) {
	.sn-film { padding: 64px 24px 80px; }
	html body .sn-film .sn-film__title { font-size: 25px !important; }
	.sn-film__media::before { inset: 20px -12px -20px 20px; border-radius: 0 0 0 80px; }
	.sn-film__frame { --sn-film-r: 80px; }
}

/* ---------- Strona główna: sekcja „Masaż dźwiękiem” -------------------- */
.sn-massage { clear: both; padding-bottom: 80px; }
html body .sn-massage .row-wide-800 { padding: 0 0 48px; margin-top: 0 !important; }
html body .sn-massage .row-wide-800 .titles { margin: 0; padding: 0 20px; line-height: 1.3 !important; font-size: 45px !important; font-weight: 400; }
.sn-massage__body { display: flow-root; }
html body .sn-massage .kol-right-text-offer { min-height: 0; padding: 56px 60px 60px; }
/* lead w boksie: H3 (pod H2 sekcji) wygląda jak dotychczasowy H2 */
html body .sn-massage__lead {
	margin: 0;
	font-family: var(--sn-font-head);
	font-size: 24px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.6 !important;
	letter-spacing: 0.2px;
	color: #51382e;
}

@media only screen and (max-width: 1024px) {
	.sn-massage { padding-bottom: 72px; }
	html body .sn-massage .row-wide-800 { padding: 72px 40px 40px !important; margin: 0 !important; background: transparent !important; }
	html body .sn-massage .row-wide-800 .titles { padding: 0; font-size: 35px !important; }
	html body .sn-massage .kol-right-text-offer { padding: 0 40px; }
}
@media only screen and (max-width: 480px) {
	html body .sn-massage .row-wide-800 { padding: 56px 24px 32px !important; }
	html body .sn-massage .kol-right-text-offer { padding: 0 24px; }
	html body .sn-massage .row-wide-800 .titles { font-size: 30px !important; }
	html body .sn-massage__lead { font-size: 21px; }
}

/* ---------- Przycisk „pigułka” (sekcje strony głównej, boksy, nagłówek) --
   Brązowa pigułka ze złotym kółkiem ze strzałką; po najechaniu cały przycisk
   zmienia kolor (tło złote, kółko brązowe). */
.sn-btn-pill .btn,
html body .booking .btn,
html body .sn-film .btn {
	display: inline-block;
	min-width: 0 !important;
	margin: 32px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
}
html body .booking .btn { margin-top: 28px !important; }
.sn-btn-pill .btn::after,
html body .booking .btn::after,
html body .sn-film .btn::after { display: none !important; }
.sn-btn-pill .btn a,
html body .booking .btn a,
html body .sn-film .btn a,
.sn-header-cta a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 4px 4px 4px 20px;
	border: 1.5px solid #51382e;
	border-radius: 999px;
	background: #51382e;
	color: #fff !important;
	font-family: var(--sn-font-head) !important;
	font-size: 15px;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 8px 22px -10px rgba(81, 56, 46, 0.55);
	transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.sn-btn-pill .btn a::after,
html body .booking .btn a::after,
html body .sn-film .btn a::after,
.sn-header-cta a::after {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sn-gold) 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
	-webkit-mask: none;
	mask: none;
	transition: background-color 0.3s, transform 0.3s;
}
.sn-btn-pill .btn a:hover,
html body .booking .btn a:hover,
html body .sn-film .btn a:hover,
.sn-header-cta a:hover,
.sn-btn-pill .btn a:focus-visible,
html body .booking .btn a:focus-visible,
html body .sn-film .btn a:focus-visible,
.sn-header-cta a:focus-visible {
	border-color: var(--sn-gold);
	background: var(--sn-gold);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -12px rgba(81, 56, 46, 0.55);
}
.sn-btn-pill .btn a:hover::after,
html body .booking .btn a:hover::after,
html body .sn-film .btn a:hover::after,
.sn-header-cta a:hover::after,
.sn-btn-pill .btn a:focus-visible::after,
html body .booking .btn a:focus-visible::after,
html body .sn-film .btn a:focus-visible::after,
.sn-header-cta a:focus-visible::after { background-color: #51382e; transform: translateX(2px); }
.sn-btn-pill .btn a:focus-visible,
html body .booking .btn a:focus-visible,
html body .sn-film .btn a:focus-visible,
.sn-header-cta a:focus-visible { outline: 2px solid #51382e; outline-offset: 3px; }

/* wariant jasny (boksy, sekcja z filmem): obrys, brązowe kółko; po najechaniu wypełnia się brązem */
html body .booking .btn a,
html body .sn-film .btn a {
	background: transparent;
	color: #51382e !important;
	box-shadow: none;
}
html body .booking .btn a::after,
html body .sn-film .btn a::after { background-color: #51382e; }
html body .booking .btn a:hover,
html body .booking .btn a:focus-visible,
html body .sn-film .btn a:hover,
html body .sn-film .btn a:focus-visible {
	border-color: #51382e;
	background: #51382e;
	color: #fff !important;
	box-shadow: 0 12px 24px -14px rgba(81, 56, 46, 0.6);
}
html body .booking .btn a:hover::after,
html body .booking .btn a:focus-visible::after,
html body .sn-film .btn a:hover::after,
html body .sn-film .btn a:focus-visible::after { background-color: var(--sn-gold); }

/* nagłówek: ta sama pigułka, mniejsza */
.sn-header-cta { gap: 8px; }
.sn-header-cta a {
	gap: 10px;
	height: 40px;
	padding: 3px 3px 3px 16px;
	font-size: 14px; /* jak pozycje menu */
	box-shadow: 0 6px 16px -10px rgba(81, 56, 46, 0.55);
}
.sn-header-cta a::after { width: 32px; height: 32px; background-size: 14px; }
.sn-header-cta a:hover,
.sn-header-cta a:focus-visible { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
	.sn-btn-pill .btn a,
html body .booking .btn a,
html body .sn-film .btn a,
.sn-header-cta a, .sn-btn-pill .btn a::after,
html body .booking .btn a::after,
html body .sn-film .btn a::after,
.sn-header-cta a::after { transition: none; }
}


/* ---------- Strona główna: „Nasze sesje” — karty w siatce --------------- */
html body #oferta { padding: 112px 0 120px; }
html body #oferta .row-wide-800 { margin: 0 auto !important; padding: 0 24px 56px !important; background: transparent !important; }
html body #oferta .row-wide-800 .titles { padding: 0; line-height: 1.3 !important; }
html body #oferta .row-wide-800 h3 {
	max-width: 560px;
	margin: 16px auto 0;
	padding: 0;
	font-size: 19px;
	line-height: 1.6 !important;
	opacity: 0.85;
}
html body #oferta .booking {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 24px;
}
html body #oferta .booking .kol-1-1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: auto;
	padding: 44px 32px 36px;
	border-radius: 0 32px 0 32px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.06), 0 18px 40px -28px rgba(81, 56, 46, 0.35);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
html body #oferta .booking .kol-1-1:hover {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.06), 0 26px 48px -26px rgba(81, 56, 46, 0.45);
}
html body #oferta .booking .sn-icon { margin-bottom: 16px; }
html body #oferta .booking h5 { margin-bottom: 14px !important; font-size: 20px !important; }
html body #oferta .booking .offer-price {
	display: inline-block;
	margin: 0 0 18px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--sn-sand-light);
	color: #51382e;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4 !important;
}
html body #oferta .booking .kol-1-1 > p:not(.offer-price) { margin: 0 0 28px; font-size: 14.5px; }
/* przyciski równo na dole kart */
html body #oferta .booking .btn { margin-top: auto !important; }

@media only screen and (max-width: 1024px) {
	html body #oferta { padding: 80px 0 88px; }
	html body #oferta .row-wide-800 { padding: 0 40px 40px !important; }
	html body #oferta .booking { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 40px; }
}
@media only screen and (max-width: 640px) {
	html body #oferta { padding: 64px 0 72px; }
	html body #oferta .row-wide-800 { padding: 0 24px 32px !important; text-align: left; }
	html body #oferta .row-wide-800 h3 { margin-left: 0; font-size: 17px; }
	html body #oferta .booking { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
	html body #oferta .booking .kol-1-1 { padding: 36px 24px 28px; }
}
@media (prefers-reduced-motion: reduce) {
	html body #oferta .booking .kol-1-1 { transition: none; }
	html body #oferta .booking .kol-1-1:hover { transform: none; }
}

/* ---------- Strona główna: opinie klientów ------------------------------- */
.sn-reviews { clear: both; padding: 112px 24px 120px; background: #fff; }
.sn-reviews__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
html body .sn-reviews .sn-reviews__title { margin: 0; padding: 0; font-family: var(--sn-font-head); font-size: 45px; font-weight: 400; line-height: 1.3 !important; letter-spacing: 1.2px; }
html body .sn-reviews .sn-reviews__lead {
	margin: 16px auto 0;
	font-family: var(--sn-font-head);
	font-size: 19px;
	font-style: italic;
	line-height: 1.6 !important;
	color: #51382e;
	opacity: 0.85;
}
.sn-reviews__lead::first-letter { text-transform: uppercase; }
.sn-reviews__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1150px;
	margin: 0 auto;
}
.sn-review {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 44px 44px 36px;
	border-radius: 0 32px 0 32px;
	background: var(--sn-sand-light);
}
.sn-review__quote { width: 34px; height: 26px; margin-bottom: 22px; color: var(--sn-gold); }
html body .sn-review__text { flex: 1 1 auto; margin: 0; padding: 0; border: 0; }
html body .sn-review__text p {
	margin: 0;
	font-family: var(--sn-font-head);
	font-size: 17px;
	font-style: normal;
	line-height: 1.75 !important;
	color: #51382e;
}
.sn-review__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(184, 127, 65, 0.3);
}
.sn-review__avatar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #51382e;
	color: #fff;
	font-family: var(--sn-font-head);
	font-size: 16px;
	line-height: 1;
}
.sn-review__name { font-size: 15px; font-weight: 700; color: #51382e; }

/* kolejne karty pojawiają się z małym opóźnieniem */
.sn-js .sn-reviews .sn-review:nth-child(2) { transition-delay: 0.1s; }
.sn-js .sn-reviews .sn-review:nth-child(3) { transition-delay: 0.2s; }
.sn-js .sn-reviews .sn-review:nth-child(4) { transition-delay: 0.3s; }

@media only screen and (max-width: 1024px) {
	.sn-reviews { padding: 80px 40px 88px; }
	.sn-reviews__head { margin-bottom: 40px; }
	html body .sn-reviews .sn-reviews__title { font-size: 35px !important; }
	.sn-reviews__grid { gap: 20px; }
	.sn-review { padding: 36px 32px 28px; }
}
@media only screen and (max-width: 640px) {
	.sn-reviews { padding: 64px 20px 72px; }
	.sn-reviews__head { margin-bottom: 32px; padding: 0 4px; text-align: left; }
	html body .sn-reviews .sn-reviews__title { font-size: 30px !important; }
	html body .sn-reviews .sn-reviews__lead { margin-left: 0; font-size: 17px; }
	.sn-reviews__grid { grid-template-columns: 1fr; gap: 16px; }
	.sn-review { padding: 32px 24px 24px; }
	html body .sn-review__text p { font-size: 16px; }
}

/* ---------- Strona główna: „Dlaczego warto” ---------------------------- */
.sn-why { clear: both; padding: 40px 24px 120px; background: #fff; }
.sn-why__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 80px;
	align-items: center;
	max-width: 1150px;
	margin: 0 auto;
}
html body .sn-why .sn-why__title {
	margin: 0;
	padding: 0;
	font-family: var(--sn-font-head);
	font-size: 34px !important;
	font-weight: 400;
	line-height: 1.35 !important;
}
html body .sn-why hr { width: 120px !important; margin: 28px 0 32px !important; border: 0; border-top: 2px solid var(--sn-gold); }
/* treść z ACF bywa <p><ul>…</ul></p>: puste akapity chowamy */
.sn-why__list > p:empty { display: none; }
html body .sn-why__list ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
html body .sn-why__list li {
	position: relative;
	margin: 0;
	padding: 4px 0 4px 46px;
	background: none;
	color: #51382e;
	font-size: 15px;
	line-height: 1.6;
	list-style: none;
}
html body .sn-why__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: var(--sn-sand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B87F41' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html body .sn-why__list li::first-letter { text-transform: uppercase; }
.sn-why__media { position: relative; display: flex; justify-content: center; }
html body .sn-why__media img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0; }

@media only screen and (max-width: 1024px) {
	.sn-why { padding: 24px 40px 88px; }
	.sn-why__inner { grid-template-columns: 1fr; gap: 40px; }
	.sn-why__media { order: -1; }
	html body .sn-why .sn-why__title { font-size: 28px !important; }
	html body .sn-why hr { margin-left: 0 !important; }
}
@media only screen and (max-width: 640px) {
	.sn-why { padding: 16px 20px 72px; }
	html body .sn-why .sn-why__title { font-size: 25px !important; }
	html body .sn-why__media img { max-width: 320px; }
	html body .sn-why__list li { padding: 2px 0 2px 44px; font-size: 14.5px; }
}

/* ---------- Strona główna: CTA (rezerwacja + voucher) ------------------- */
html body .sn-cta { padding: 96px 0; }
html body .sn-cta .booking {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 24px;
}
html body .sn-cta .booking .kol-1-1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: auto;
	padding: 52px 44px 44px;
	border-radius: 0 32px 0 32px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.06), 0 18px 40px -28px rgba(81, 56, 46, 0.35);
}
html body .sn-cta .booking .kol-1-1 > p { margin-bottom: 0; }
html body .sn-cta .booking .btn { margin-top: auto !important; padding-top: 28px !important; }
html body .sn-cta .booking h5 { font-size: 22px !important; }
/* karta główna: brązowa, przycisk jasny */
html body .sn-cta .booking .kol-1-1.sn-cta__main { background: #51382e; }
html body .sn-cta .booking .kol-1-1.sn-cta__main h5,
html body .sn-cta .booking .kol-1-1.sn-cta__main p { color: #fff !important; }
html body .sn-cta .booking .kol-1-1.sn-cta__main p { opacity: 0.85; }
html body .sn-cta .booking .kol-1-1.sn-cta__main .sn-icon { color: var(--sn-gold); }
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a { border-color: #fff; background: #fff; color: #51382e !important; }
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a::after { background-color: var(--sn-gold); }
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a:hover,
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a:focus-visible { border-color: var(--sn-gold); background: var(--sn-gold); color: #fff !important; }
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a:hover::after,
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a:focus-visible::after { background-color: #51382e; }
html body .sn-cta .booking .kol-1-1.sn-cta__main .btn a:focus-visible { outline-color: #fff; }

/* ---------- Strona główna: „Gdzie nas znajdziesz” ----------------------- */
html body #lokalizacje { max-width: none; padding: 112px 0 120px; }
html body #lokalizacje .row-wide-800 { margin: 0 auto !important; padding: 0 24px 56px !important; background: transparent !important; }
html body #lokalizacje .row-wide-800 .titles { padding: 0; line-height: 1.3 !important; }
html body #lokalizacje .booking {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 24px;
}
html body #lokalizacje .booking .kol-1-1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: auto;
	padding: 48px 44px 40px;
	border-radius: 0 32px 0 32px;
	background: var(--sn-sand-light);
}
html body #lokalizacje .booking .kol-1-1 > p { margin-bottom: 0; }
html body #lokalizacje .booking .btn { margin-top: auto !important; padding-top: 28px !important; }

@media only screen and (max-width: 1024px) {
	html body .sn-cta { padding: 72px 0; }
	html body .sn-cta .booking,
	html body #lokalizacje .booking { gap: 20px; padding: 0 40px; }
	html body #lokalizacje { padding: 80px 0 88px; }
	html body #lokalizacje .row-wide-800 { padding: 0 40px 40px !important; }
	html body .sn-cta .booking .kol-1-1,
	html body #lokalizacje .booking .kol-1-1 { padding: 40px 28px 32px; }
}
@media only screen and (max-width: 640px) {
	html body .sn-cta { padding: 56px 0; }
	html body .sn-cta .booking,
	html body #lokalizacje .booking { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
	html body #lokalizacje { padding: 64px 0 72px; }
	html body #lokalizacje .row-wide-800 { padding: 0 24px 32px !important; }
	html body .sn-cta .booking .kol-1-1,
	html body #lokalizacje .booking .kol-1-1 { padding: 36px 24px 28px; }
	html body .sn-cta .booking h5 { font-size: 20px !important; }
}

/* tytuły sekcji jako H2: ten sam rozmiar co dotychczasowe div.titles (reguła motywu dla h2 je zmniejszała) */
html body .row-wide-800 h2.titles { font-size: 45px !important; }
@media only screen and (max-width: 1024px) { html body .row-wide-800 h2.titles { font-size: 35px !important; } }
@media only screen and (max-width: 640px) { html body .row-wide-800 .titles, html body .row-wide-800 h2.titles { font-size: 30px !important; } }

/* ---------- Strona główna: „Baza wiedzy” — karty-linki ---------------- */
html body #wiedza { padding: 112px 0 120px; }
html body #wiedza .row-wide-800 { margin: 0 auto !important; padding: 0 24px 56px !important; background: transparent !important; }
html body #wiedza .row-wide-800 .titles { padding: 0; line-height: 1.3 !important; }
html body #wiedza .row-wide-800 h3 { margin: 16px auto 0; padding: 0; font-size: 19px; line-height: 1.6 !important; opacity: 0.85; }
html body .sn-know {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 24px;
}
html body .sn-know .sn-know__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: auto;
	padding: 32px 28px 28px;
	border-radius: 0 28px 0 28px;
	background: #fff;
	text-align: left;
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.06), 0 18px 40px -30px rgba(81, 56, 46, 0.35);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
html body .sn-know .sn-icon {
	width: 52px;
	height: 52px;
	margin: 0 0 24px;
	border-radius: 50%;
	background: var(--sn-sand-light);
	transition: background-color 0.3s, color 0.3s;
}
html body .sn-know .sn-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
html body .sn-know .sn-know__title {
	margin: 0 0 10px;
	font-family: var(--sn-font-head);
	font-size: 19px !important;
	font-weight: 400;
	font-style: normal;
	line-height: 1.35 !important;
	color: #51382e;
}
html body .sn-know .sn-know__card > p { margin: 0; max-width: none; font-size: 14.5px; text-align: left; }
html body .sn-know .sn-know__link { margin-top: auto; padding-top: 24px; }
html body .sn-know .sn-know__link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #51382e !important;
	font-family: var(--sn-font-head);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
}
/* cała karta klikalna */
html body .sn-know .sn-know__link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
html body .sn-know .sn-know__link a::after {
	content: "";
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #51382e 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px no-repeat;
	transition: transform 0.3s, background-color 0.3s;
}
html body .sn-know .sn-know__card:hover,
html body .sn-know .sn-know__card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.06), 0 26px 48px -26px rgba(81, 56, 46, 0.45);
}
html body .sn-know .sn-know__card:hover .sn-icon,
html body .sn-know .sn-know__card:focus-within .sn-icon { background: var(--sn-gold); color: #fff; }
html body .sn-know .sn-know__card:hover .sn-know__link a::after,
html body .sn-know .sn-know__card:focus-within .sn-know__link a::after { transform: translateX(4px); background-color: var(--sn-gold); }
html body .sn-know .sn-know__link a:focus-visible { outline: none; }
html body .sn-know .sn-know__card:focus-within { outline: 2px solid #51382e; outline-offset: 3px; }

@media only screen and (max-width: 1024px) {
	html body #wiedza { padding: 80px 0 88px; }
	html body #wiedza .row-wide-800 { padding: 0 40px 40px !important; }
	html body .sn-know { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 40px; }
}
@media only screen and (max-width: 640px) {
	html body #wiedza { padding: 64px 0 72px; }
	html body #wiedza .row-wide-800 { padding: 0 24px 32px !important; text-align: left; }
	html body #wiedza .row-wide-800 h3 { margin-left: 0; font-size: 17px; }
	html body .sn-know { grid-template-columns: 1fr; gap: 14px; padding: 0 20px; }
	html body .sn-know .sn-know__card { padding: 24px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .sn-know .sn-know__card { transition: none; }
	html body .sn-know .sn-know__card:hover { transform: none; }
}

/* karty w siatkach: style.css daje .kol-1-1 margin:auto na węższych ekranach, co blokuje rozciąganie */
html body #oferta .booking > .kol-1-1,
html body .sn-cta .booking > .kol-1-1,
html body #lokalizacje .booking > .kol-1-1,
html body .sn-know > .kol-1-1 { width: 100% !important; max-width: none !important; margin: 0 !important; }
/* strona główna: FAQ na białym tle także na telefonie (stara reguła robiła kafelki białe) */
html body.home #faq .sonora-faq details:not(.is-open) { background: var(--sn-sand-light); }

/* ---------- Stopka --------------------------------------------------------
   Treść to widżety w bazie (Wygląd → Widżety); tu tylko wygląd. */
html body #containerfooter.footerclass {
	margin: 0;
	padding: 88px 0 0 !important;
	border: 0;
	background: #3a261f !important;
	color: rgba(243, 236, 228, 0.78);
	font-size: 14.5px !important;
}
html body #containerfooter .container { max-width: 1150px !important; padding: 0 24px; }
html body #containerfooter .row {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	margin: 0;
}
html body #containerfooter .row::before,
html body #containerfooter .row::after { display: none; }
html body #containerfooter .row > [class*="footercol"] { width: auto; float: none; margin: 0 !important; padding: 0; }
html body #containerfooter .footer-widget,
html body #containerfooter aside { margin: 0; padding: 0; }
html body #containerfooter .wp-block-spacer { display: none; }

/* logo i odznaka nagrody */
html body #containerfooter .footercol1 img { display: block !important; margin: 0 0 28px !important; }
html body #containerfooter .footercol1 .wp-image-684 { width: 180px !important; height: auto; }
html body #containerfooter .footercol1 .wp-image-1539 { width: 84px !important; height: auto; opacity: 0.9; }

html body #containerfooter h3.wp-block-heading {
	margin: 0 0 22px;
	padding: 0;
	color: #fff;
	font-family: var(--sn-font-head);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3 !important;
	letter-spacing: 0.2px;
}
html body #containerfooter ul.wp-block-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
html body #containerfooter ul.wp-block-list li {
	margin: 0;
	padding: 0;
	color: rgba(243, 236, 228, 0.78);
	font-size: 14.5px;
	line-height: 1.6;
	list-style: none;
}
html body #containerfooter a {
	color: rgba(243, 236, 228, 0.9) !important;
	text-decoration: none !important;
	border: 0 !important;
	background-image: linear-gradient(var(--sn-gold), var(--sn-gold));
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: color 0.2s, background-size 0.3s;
}
html body #containerfooter a:hover,
html body #containerfooter a:focus-visible { color: #fff !important; background-size: 100% 1px; }
html body #containerfooter a:focus-visible { outline: 2px solid var(--sn-gold); outline-offset: 3px; }
html body #containerfooter em { font-style: normal; }

/* ikony społecznościowe w stopce: obrys, złote po najechaniu */
html body #containerfooter .footercol2 .wp-block-social-links { gap: 10px; margin: 26px 0 0; padding: 0; }
html body #containerfooter .footercol2 .wp-block-social-link {
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(243, 236, 228, 0.35);
	border-radius: 50% !important;
	background: transparent !important;
	color: #f3ece4 !important;
	transition: background-color 0.2s, border-color 0.2s;
}
html body #containerfooter .footercol2 .wp-block-social-link a { padding: 10px; background: none; }
html body #containerfooter .footercol2 .wp-block-social-link svg { width: 18px; height: 18px; }
html body #containerfooter .footercol2 .wp-block-social-link:hover { border-color: var(--sn-gold); background: var(--sn-gold) !important; }

/* dolny pasek */
html body #containerfooter .footerbase {
	margin-top: 72px;
	padding: 24px 0 28px;
	border-top: 1px solid rgba(243, 236, 228, 0.14);
	background: transparent;
}
html body #containerfooter .footercredits { display: flex; justify-content: space-between; align-items: center; }
html body #containerfooter .footercredits p { margin: 0; color: rgba(243, 236, 228, 0.6); font-size: 13px; }

@media only screen and (max-width: 1024px) {
	html body #containerfooter.footerclass { padding: 72px 0 0 !important; }
	html body #containerfooter .container { padding: 0 40px; }
	html body #containerfooter .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
}
@media only screen and (max-width: 600px) {
	html body #containerfooter.footerclass { padding: 56px 0 96px !important; }
	html body #containerfooter .container { padding: 0 24px; }
	html body #containerfooter .row { grid-template-columns: 1fr; gap: 36px; }
	html body #containerfooter .footerbase { margin-top: 48px; }
	html body #containerfooter .footercredits { justify-content: flex-start; }

	/* przypięty pasek na telefonie: brązowy, dwa przyciski w stylu strony */
	html body .footermenu {
		display: flex !important;
		gap: 8px !important;
		bottom: 0 !important;
		margin: 0;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
		background: rgba(58, 38, 31, 0.96) !important;
		box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.35);
		backdrop-filter: blur(6px);
		list-style: none;
	}
	html body .footermenu li { flex: 1 1 0; margin: 0; padding: 0; list-style: none; }
	html body #containerfooter .footermenu li a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		height: 44px;
		margin: 0 !important;
		padding: 0 12px !important;
		border: 1.5px solid rgba(243, 236, 228, 0.6) !important;
		border-radius: 999px;
		color: #fff !important;
		font-family: var(--sn-font-head);
		font-size: 14px;
		font-weight: 500 !important;
		background-image: none !important;
	}
	html body #containerfooter .footermenu li:first-child a { border-color: var(--sn-gold) !important; background: var(--sn-gold) !important; }
	html body #containerfooter .footermenu li a:hover { font-weight: 500 !important; }
}

/* © na środku stopki (pusta nawigacja stopki nie może przesuwać tekstu) */
html body #containerfooter .footercredits { display: block; text-align: center; }
html body #containerfooter .footercredits .footernav { float: none; width: auto; margin: 0; }
html body #containerfooter .footercredits p { float: none; width: 100%; text-align: center; }

/* „Na górę”: kółko w prawym dolnym rogu, z odstępem od krawędzi
   (motyw ustawia pozycję w atrybucie style, stąd !important) */
html body #topcontrol {
	right: 24px !important;
	bottom: 24px !important;
	width: 48px;
	height: 48px;
	z-index: 20;
}
html body #topcontrol .to_the_top {
	position: static !important;
	inset: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #51382e;
	color: #fff;
	box-shadow: 0 10px 24px -10px rgba(58, 38, 31, 0.6);
	transition: background-color 0.2s, transform 0.2s;
}
html body #topcontrol .to_the_top .kt-icon-chevron-up { display: block; width: 18px; height: 18px; margin: 0; padding: 0; font-size: 0; line-height: 0; }
html body #topcontrol .to_the_top .kt-icon-chevron-up::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%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' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body #topcontrol:hover .to_the_top { background: var(--sn-gold); transform: translateY(-2px); }
/* telefon: nad przypiętym paskiem przycisków */
@media only screen and (max-width: 600px) {
	html body #topcontrol { right: 16px !important; bottom: calc(80px + env(safe-area-inset-bottom)) !important; width: 44px; height: 44px; }
	html body #topcontrol .to_the_top { width: 44px; height: 44px; }
}

/* delikatne wejście (strona główna, nadawane w sonora-reveal.js) */
.sn-js .sn-reveal.sn-reveal--soft {
	transform: translateY(18px);
	/* !important: karty mają własne transition (najechanie), które wyłączałoby animację */
	transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}
.sn-js .sn-reveal.sn-reveal--hero-img { transform: scale(1.02); filter: blur(3px); transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease !important; }
.sn-js .sn-reveal.sn-reveal--soft.is-in { opacity: 1; transform: none; filter: none; }

/* hero ukryty od pierwszego renderu (zanim skrypt nada animację), żeby nie mrugał;
   gdyby skrypt się nie wczytał, po 2,5 s pokazuje się sam */
html.sn-js:not(.sn-ready) body.home .first-sec > .kol-1-1,
html.sn-js:not(.sn-ready) body.home .first-sec .kol-right .kol > *,
html.sn-js:not(.sn-ready) body.sn-anim .first-sec > .kol-1-1,
html.sn-js:not(.sn-ready) body.sn-anim .first-sec .kol-right .kol > * {
	opacity: 0;
	animation: sn-show 0.6s ease 2.5s forwards;
}
@keyframes sn-show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	html.sn-js:not(.sn-ready) body.home .first-sec > .kol-1-1,
	html.sn-js:not(.sn-ready) body.home .first-sec .kol-right .kol > * { opacity: 1; animation: none; }
}

/* ---------- Strona główna: tablet (641–1024 px) ------------------------- */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	/* tytuły i podtytuły sekcji na środku */
	html body .row-wide-800 .titles,
	html body .row-wide-800 h2.titles,
	html body .row-wide-800 h3 { text-align: center !important; }
	html body .row-wide-800 h3 { margin-left: auto !important; margin-right: auto !important; }

	/* hero: zdjęcie na środku */
	html body .first-sec > .kol-1-1 { text-align: center; }
	html body .first-sec > .kol-1-1 img { display: block; margin: 0 auto !important; }

	/* pierwsze boksy obok siebie */
	html body .sn-intro-boxes .booking {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 24px;
		padding: 24px 40px;
	}
	html body .sn-intro-boxes .booking > .mobi-only,
	html body .sn-intro-boxes .booking > .kol-1-1 > .mobi-only { display: none; }
	html body .sn-intro-boxes .booking > .kol-1-1 { width: 100% !important; margin: 0 !important; padding: 48px 8px !important; }
}

/* stopka: kontener bootstrapa ma stałą szerokość, wyrównujemy do reszty strony */
html body #containerfooter .container { width: 100% !important; margin: 0 auto !important; }
@media only screen and (max-width: 1024px) {
	html body #containerfooter.footerclass { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ---------- Sekcje „tekst + zdjęcie” (O Sonorze i kolejne podstrony) ---- */
.sn-split { clear: both; padding: 56px 24px; background: #fff; }
.sn-split--first { padding-top: 112px; }
.sn-split__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 80px;
	align-items: center;
	max-width: 1150px;
	margin: 0 auto;
}
.sn-split--rev .sn-split__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
html body .sn-split .sn-split__title {
	margin: 0;
	padding: 0;
	font-family: var(--sn-font-head);
	font-size: 30px !important;
	font-weight: 400;
	font-style: normal;
	line-height: 1.4 !important;
	color: #51382e;
}
html body .sn-split hr { width: 120px !important; margin: 28px 0 !important; border: 0; border-top: 2px solid var(--sn-gold); }
html body .sn-split__text > p { margin: 0 0 16px; font-size: 15px; }
html body .sn-split__text h6 { margin: 28px 0 0; }
html body .sn-split__text .sn-player { margin-top: 12px; }
.sn-split__media { display: flex; flex-direction: column; align-items: center; }
html body .sn-split__media img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0; }
html body .sn-split__media img.sn-shape { max-width: none; border-radius: 0 0 0 140px; }
.sn-split--rev .sn-split__media img.sn-shape { border-radius: 0 0 140px 0; }

/* lista ze złotymi ptaszkami (jak w „Dlaczego warto”) */
.sn-list > p:empty { display: none; }
html body .sn-list ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
html body .sn-list li {
	position: relative;
	margin: 0;
	padding: 3px 0 3px 46px;
	color: #51382e;
	font-size: 15px;
	line-height: 1.6;
	list-style: none;
}
html body .sn-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sn-sand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B87F41' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html body .sn-list li strong { color: var(--sn-gold); font-weight: 700; }

/* piaskowy pas z tytułem */
html body .sn-band { padding: 112px 0 64px; }
html body .sn-band .row-wide-800,
html body .sn-split--history .row-wide-800 { margin: 0 auto !important; padding: 0 24px 24px !important; background: transparent !important; }
html body .sn-band .row-wide-800 .titles,
html body .sn-split--history .row-wide-800 .titles { padding: 0; line-height: 1.3 !important; }
html body .sn-band .sn-split { background: transparent; }
html body .sn-band .sn-list li::before { background-color: #fff; }
.sn-split--history { padding-top: 112px; padding-bottom: 64px; }

/* cytat pod zdjęciem */
html body .sn-quote {
	margin: 28px 0 0;
	padding: 4px 0 4px 22px;
	border: 0;
	border-left: 2px solid var(--sn-gold);
	background: none;
}
html body .sn-quote p { margin: 0; color: #51382e; font-family: var(--sn-font-head); font-size: 22px; font-style: italic; line-height: 1.45 !important; }

/* „pracownia” w układzie sekcji „Masaż dźwiękiem” */
.sn-massage--plain { padding-top: 56px; }

/* jasny przycisk-pigułka poza boksami */
.sn-btn-light .btn {
	display: inline-block;
	min-width: 0 !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
}
.sn-btn-light .btn::after { display: none !important; }
.sn-btn-light .btn a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 4px 4px 4px 20px;
	border: 1.5px solid #51382e;
	border-radius: 999px;
	background: transparent;
	color: #51382e !important;
	font-family: var(--sn-font-head) !important;
	font-size: 15px;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.sn-btn-light .btn a::after {
	content: "";
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #51382e 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
	transition: background-color 0.3s, transform 0.3s;
}
.sn-btn-light .btn a:hover,
.sn-btn-light .btn a:focus-visible { background: #51382e; color: #fff !important; transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(81, 56, 46, 0.6); }
.sn-btn-light .btn a:hover::after,
.sn-btn-light .btn a:focus-visible::after { background-color: var(--sn-gold); transform: translateX(2px); }
.sn-btn-light .btn a:focus-visible { outline: 2px solid #51382e; outline-offset: 3px; }

@media only screen and (max-width: 1024px) {
	.sn-split { padding: 40px 40px; }
	.sn-split--first { padding-top: 80px; }
	.sn-split__inner,
	.sn-split--rev .sn-split__inner { grid-template-columns: 1fr; gap: 36px; }
	.sn-split__media { order: -1; }
	html body .sn-split .sn-split__title { font-size: 26px !important; }
	html body .sn-band { padding: 80px 0 40px; }
	html body .sn-band .row-wide-800, html body .sn-split--history .row-wide-800 { padding: 0 40px 16px !important; }
	.sn-split--history { padding-top: 80px; }
	html body .sn-split__media img.sn-shape { border-radius: 0 0 0 90px; }
	.sn-split--rev .sn-split__media img.sn-shape { border-radius: 0 0 90px 0; }
}
@media only screen and (max-width: 640px) {
	.sn-split { padding: 32px 20px; }
	.sn-split--first { padding-top: 64px; }
	html body .sn-split .sn-split__title { font-size: 23px !important; }
	html body .sn-band { padding: 64px 0 32px; }
	html body .sn-band .row-wide-800, html body .sn-split--history .row-wide-800 { padding: 0 24px 8px !important; }
	.sn-split--history { padding-top: 64px; }
	html body .sn-split__media img { max-width: 340px; }
	html body .sn-quote p { font-size: 19px; }
}

/* odtwarzacz na piaskowym tle */
html body .sn-band .sn-player { background: #fff; }
@media only screen and (max-width: 480px) {
	.sn-btn-light .btn a { white-space: normal; text-align: left; line-height: 1.35; padding-top: 6px; padding-bottom: 6px; }
}

/* ---------- O Sonorze: „Muzyka Sonory” — zdjęcie + nachodzący box ------- */
.sn-overlap { position: relative; max-width: 1150px; margin: 40px auto 0; padding: 0 24px 24px; }
.sn-overlap__media { width: 70%; }
html body .sn-overlap__media img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 420; object-fit: cover; margin: 0; border-radius: 0 0 0 140px; }
.sn-overlap__box {
	position: relative;
	z-index: 2;
	width: 62%;
	margin: -150px 0 0 auto;
	padding: 52px 56px 48px;
	border-radius: 0 32px 0 32px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(81, 56, 46, 0.05), 0 24px 48px -30px rgba(81, 56, 46, 0.35);
}
html body .sn-overlap__box hr { width: 120px !important; margin: 24px 0 !important; border: 0; border-top: 2px solid var(--sn-gold); }
html body .sn-overlap__box > p { margin: 0 0 8px; font-size: 15px; }
html body .sn-overlap__box .sn-split__title { font-size: 26px !important; }

/* ---------- O Sonorze: „Historia” — większe zdjęcie, linia zachodzi na nie --- */
html body .sn-history .sn-split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
html body .sn-history .sn-split__text { position: relative; z-index: 2; padding-top: 24px; }
html body .sn-history .sn-split__text hr { width: calc(100% + 140px) !important; max-width: none; margin-right: -140px !important; }
html body .sn-history .sn-split__media { position: relative; align-items: stretch; }
html body .sn-history .sn-split__media::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 82%;
	height: 78%;
	background: var(--sn-sand-light);
	z-index: 0;
}
html body .sn-history .sn-split__media img {
	position: relative;
	z-index: 1;
	max-width: none;
	width: 88%;
	margin: 56px 0 0 -40px;
	border-radius: 0 0 160px 0;
	box-shadow: 0 24px 48px -32px rgba(81, 56, 46, 0.4);
}
html body .sn-history .sn-quote { margin: 48px 0 0 auto; max-width: 440px; padding: 0 0 0 22px; }
html body .sn-history .sn-quote p { font-size: 26px; }

@media only screen and (max-width: 1024px) {
	.sn-overlap { padding: 0 40px 16px; }
	.sn-overlap__media { width: 100%; }
	html body .sn-overlap__media img { border-radius: 0 0 0 90px; }
	.sn-overlap__box { width: 88%; margin-top: -80px; padding: 40px 36px 36px; }
	html body .sn-history .sn-split__inner { grid-template-columns: 1fr; gap: 24px; }
	html body .sn-history .sn-split__text hr { width: 120px !important; margin-right: 0 !important; }
	html body .sn-history .sn-split__media img { width: 100%; margin: 32px 0 0; border-radius: 0 0 110px 0; }
	html body .sn-history .sn-split__media::before { right: -16px; top: 0; }
	html body .sn-history .sn-quote { margin: 32px 0 0; }
}
@media only screen and (max-width: 640px) {
	.sn-overlap { padding: 0 20px 8px; }
	.sn-overlap__box { width: auto; margin: -48px 12px 0; padding: 32px 24px 28px; }
	html body .sn-overlap__box .sn-split__title { font-size: 22px !important; }
	html body .sn-overlap__media img { border-radius: 0 0 0 70px; }
	html body .sn-history .sn-split__media img { border-radius: 0 0 80px 0; }
	html body .sn-history .sn-quote p { font-size: 20px; }
}

/* poprawki: tytuł w nachodzącym boksie jak pozostałe tytuły */
html body .sn-overlap .sn-split__title {
	margin: 0;
	padding: 0;
	font-family: var(--sn-font-head);
	font-style: normal !important;
	font-weight: 400;
	line-height: 1.4 !important;
	color: #51382e !important;
	opacity: 1 !important;
}
/* zdjęcie Rosenberga ma tło i zaokrąglenie w samym pliku: bez dodatkowych dekoracji,
   za to większe i lekko wchodzące pod tekst (jak na oryginalnej stronie) */
html body .sn-history .sn-split__media::before { display: none; }
html body .sn-history .sn-split__media img {
	width: calc(100% + 80px) !important;
	max-width: none;
	margin: 0 0 0 -80px !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	z-index: 0;
}
html body .sn-history .sn-split__text hr { width: calc(100% + 64px) !important; margin-right: -64px !important; }
@media only screen and (max-width: 1024px) {
	html body .sn-history .sn-split__media img { width: 100% !important; margin: 0 !important; }
	html body .sn-history .sn-split__text hr { width: 120px !important; margin-right: 0 !important; }
}

/* ---------- O Sonorze: tablet (641–1024) — dwie kolumny jak na komputerze --- */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	html body .sn-split__inner,
	html body .sn-split--rev .sn-split__inner,
	html body .sn-history .sn-split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
	html body .sn-split__media { order: 0; }
	html body .sn-split .sn-split__title { font-size: 23px !important; }
	html body .sn-split hr { margin: 20px 0 !important; }
	html body .sn-split__text > p, html body .sn-list li { font-size: 14.5px; }
	html body .sn-split__media img { max-width: 100%; }
	html body .sn-history .sn-split__inner { align-items: start; }
	html body .sn-history .sn-split__media img { width: 100% !important; margin: 0 !important; }
	html body .sn-history .sn-quote p { font-size: 20px; }
	.sn-overlap__box { width: 78%; margin-top: -120px; }
	html body .sn-overlap__media img { aspect-ratio: 16 / 8; }
}
/* telefon: box „Muzyka” na pełną szerokość, mniej wcięć */
@media only screen and (max-width: 640px) {
	.sn-overlap__box { margin: -40px 0 0; padding: 28px 22px 26px; }
	html body .sn-overlap__media img { aspect-ratio: 4 / 3; }
	html body .sn-overlap__box .sn-split__title { font-size: 21px !important; }
}

/* ---------- Podstrony z treścią z edytora (np. „Dla kogo”) -------------- */
@media only screen and (min-width: 1025px) {
	html body #oferta .booking.sn-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 998px; }
}
.sn-split--last { padding-bottom: 112px; }
html body .sn-reviews.sn-reviews--sand { background: var(--sn-sand-light); }
html body .sn-reviews--sand .sn-review { background: #fff; }
.sn-reviews figure > p:empty, .sn-split__inner > p:empty { display: none; }
html body .sn-cta.sn-cta--white { background: #fff !important; }
html body .sn-cta--white .booking .kol-1-1:not(.sn-cta__main) { background: var(--sn-sand-light); box-shadow: none; }
html body .sn-sections .sn-split__text p.sn-verify { font-size: 14px; margin-top: 20px; }
@media only screen and (max-width: 1024px) { .sn-split--last { padding-bottom: 72px; } }
/* ciemna karta: nagłówek wpisany w edytorze jako H2 */
html body .sn-sections .sn-cta .booking .kol-1-1.sn-cta__main .sn-box-title { color: #fff !important; }
html body .sn-split .sn-list + p { margin-top: 24px; }

.sn-massage--top { padding-top: 96px; }
html body .sn-sections #oferta .booking .kol-1-1 > p.sn-verify { margin: -12px 0 0; font-size: 13.5px; }
@media only screen and (max-width: 1024px) { .sn-massage--top { padding-top: 56px; } }
html body .sn-split .sn-list + .sn-btn-light .btn { margin-top: 28px !important; }
html body .sn-sections .sn-massage p.sn-verify { margin: 20px 0 0; }
@media only screen and (max-width: 1024px) {
	html body .sn-sections #faq .row-wide-800 .sonora-faq details:not(.is-open) { background: var(--sn-sand-light); }
}

/* ---------- „Jak wygląda sesja” — tablet i telefon ---------------------- */
@media only screen and (max-width: 1024px) {
	html body.sn-anim.page-id-2041 .first-sec .kol-right { padding-bottom: 56px !important; }
	html body .sn-sections .sn-massage--top { padding-top: 0; padding-bottom: 8px; }
}
/* tablet: płatność w dwóch kolumnach, jak pozostałe bloki */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	html body .sn-sections .sn-massage--top .sn-massage__body {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
		align-items: center;
		padding: 0 40px;
	}
	html body .sn-sections .sn-massage--top .sn-massage__body > p { display: none; }
	html body .sn-sections .sn-massage--top .sn-massage__body > .mobi-only .kol-1-1,
	html body .sn-sections .sn-massage--top .sn-massage__body > .mobi-only .small-mobi { width: 100% !important; margin: 0 !important; padding: 0 !important; }
	html body .sn-sections .sn-massage--top .sn-massage__body > .mobi-only img { width: 100% !important; max-width: 100%; height: auto; margin: 0 !important; }
	html body .sn-sections .sn-massage--top .kol-right-text-offer { width: 100%; margin: 0; padding: 0 !important; }
	html body .sn-sections .sn-massage--top .kol-right-text-offer hr { margin-left: 0 !important; width: 120px !important; }
	html body .sn-sections .sn-massage--top .sn-massage__lead { font-size: 22px; }
}
@media only screen and (max-width: 640px) {
	html body .sn-sections .sn-massage--top .kol-right-text-offer hr { margin-left: 0 !important; width: 120px !important; }
	html body .sn-sections #oferta .booking .kol-1-1 { padding: 32px 22px 28px; }
}

/* pasek na telefonie: napis zawsze w jednej linii */
@media only screen and (max-width: 600px) {
	html body #containerfooter .footermenu li a { white-space: nowrap; line-height: 1.2 !important; padding: 0 8px !important; }
}
@media only screen and (max-width: 374px) {
	html body #containerfooter .footermenu li a { font-size: 13px; }
	html body #containerfooter .footermenu li:first-child { flex: 1.35 1 0; }
}

/* ---------- „Jak wygląda sesja”: zdjęcie z hero nachodzi na piaskową sekcję
   (jak na stronie głównej) i mniejszy odstęp nad FAQ ---------------------- */
@media only screen and (min-width: 1025px) {
	html body.page-id-2041 .sn-sections .first-sec > .kol-1-1 { position: relative; z-index: 3; }
	html body.page-id-2041 .sn-sections #oferta { position: relative; z-index: 1; margin-top: -90px; padding-top: 200px; }
	html body.page-id-2041 .sn-sections .sn-massage--top { padding-bottom: 0; }
	html body.page-id-2041 .sn-sections #faq { padding-top: 88px; }
}
@media only screen and (max-width: 1024px) {
	html body.page-id-2041 .sn-sections #faq { padding-top: 48px; }
}

/* ---------- „Działanie Sonory” ------------------------------------------ */
@media only screen and (min-width: 1025px) {
	html body.page-id-88 .page-layout .first-sec > .kol-1-1 { position: relative; z-index: 3; }
	html body.page-id-88 .sn-hero-next { position: relative; z-index: 1; margin-top: -90px; padding-top: 170px; }
}
@media only screen and (max-width: 1024px) {
	html body.page-id-88 .first-sec .kol-right { padding-bottom: 56px !important; }
}
html body .sn-note { margin-top: 24px; padding: 18px 22px; border-left: 2px solid var(--sn-gold); background: #fff; color: #51382e; font-size: 14.5px; line-height: 1.7; }
html body .sn-split hr + .sn-note { margin-top: 0; }
.sn-note p { margin: 0; }
.sn-motto { padding: 8px 24px 104px; text-align: center; }
html body .sn-motto p { max-width: 720px; margin: 0 auto; color: #51382e; font-family: var(--sn-font-head); font-size: 34px; font-style: italic; line-height: 1.45 !important; }
.sn-motto::before { content: ""; display: block; width: 120px; margin: 0 auto 32px; border-top: 2px solid var(--sn-gold); }
html body .sn-use { padding: 112px 0 0; }
html body .sn-use .kol-right-text-offer p + p { margin-top: 16px; }
.sn-research { padding-top: 88px; padding-bottom: 112px; }
html body .sn-research .sn-split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
html body .sn-research .sn-list ul { gap: 12px; }
html body .sn-research .sn-note { background: var(--sn-sand-light); }
.sn-cite { margin: 28px 0 0; padding: 40px 40px 32px; border-radius: 0 32px 0 32px; background: var(--sn-sand-light); }
.sn-cite .sn-review__quote { width: 34px; height: 26px; margin-bottom: 18px; color: var(--sn-gold); }
html body .sn-cite blockquote { margin: 0; padding: 0; border: 0; }
html body .sn-cite blockquote p { margin: 0; color: #51382e; font-family: var(--sn-font-head); font-size: 17px; line-height: 1.75 !important; }
.sn-cite figcaption { margin-top: 20px; color: #51382e; font-size: 13.5px; font-weight: 700; }
@media only screen and (min-width: 1025px) {
	html body .sn-cta.sn-cta--three .booking { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	html body .sn-cta.sn-cta--three .booking .kol-1-1 { padding: 48px 28px 40px; }
}
.sn-posts { padding: 112px 24px 120px; background: #fff; }
html body .sn-posts .row-wide-800 { margin: 0 auto !important; padding: 0 0 48px !important; background: transparent !important; }
html body .sn-posts .row-wide-800 .titles { padding: 0; line-height: 1.3 !important; }
.sn-posts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1150px; margin: 0 auto; }
.sn-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 0 28px 0 28px; background: var(--sn-sand-light); transition: transform 0.35s, box-shadow 0.35s; }
.sn-post:hover, .sn-post:focus-within { transform: translateY(-4px); box-shadow: 0 26px 48px -28px rgba(81, 56, 46, 0.45); }
html body .sn-post__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.sn-post__body { padding: 22px 22px 26px; }
html body .sn-post__date { margin: 0 0 8px; color: var(--sn-gold); font-size: 12.5px; font-weight: 700; }
html body .sn-post .sn-post__title { margin: 0 0 10px; font-family: var(--sn-font-head); font-size: 17px; font-weight: 400; font-style: normal; line-height: 1.4 !important; }
html body .sn-post__title a { color: #51382e !important; text-decoration: none; }
.sn-post__title a::after { content: ""; position: absolute; inset: 0; }
html body .sn-post__body > p:last-child { margin: 0; font-size: 14px; }
.sn-posts__all { margin-top: 32px; text-align: center; }
@media only screen and (max-width: 1024px) {
	.sn-motto { padding: 0 40px 72px; }
	html body .sn-motto p { font-size: 28px; }
	html body .sn-use { padding-top: 72px; }
	.sn-research { padding-top: 48px; padding-bottom: 72px; }
	html body .sn-research .sn-split__inner { grid-template-columns: 1fr; gap: 32px; }
	.sn-posts { padding: 80px 40px 88px; }
	.sn-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media only screen and (max-width: 640px) {
	.sn-motto { padding: 0 24px 56px; }
	html body .sn-motto p { font-size: 23px; }
	.sn-cite { padding: 32px 24px 24px; }
	.sn-posts { padding: 64px 20px 72px; }
	.sn-posts__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* „Działanie Sonory” — poprawki */
html body .sn-motto p { font-size: 34px !important; }
@media only screen and (min-width: 1025px) { html body.page-id-88 .sn-hero-next { padding-top: 130px; } }
html body .sn-post .sn-post__title a,
html body .sn-post .sn-post__title a:hover { border: 0 !important; box-shadow: none !important; background-image: none !important; text-decoration: none !important; }
@media only screen and (max-width: 1024px) { html body .sn-motto p { font-size: 28px !important; } }
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	html body .sn-cta.sn-cta--three .booking > .sn-cta__main { grid-column: 1 / -1; }
	html body .sn-use .sn-massage__body > .mobi-only .kol-1-1,
	html body .sn-use .sn-massage__body > .mobi-only .small-mobi { width: 100% !important; margin: 0 !important; padding: 0 !important; }
	html body .sn-use .sn-massage__body > .mobi-only .small-mobi { padding: 0 40px !important; }
	html body .sn-use .sn-massage__body > .mobi-only img { width: 100% !important; max-width: 100%; height: auto; margin: 0 !important; }
}
@media only screen and (max-width: 640px) { html body .sn-motto p { font-size: 23px !important; } }

/* ---------- „Działanie Sonory” — tablet i telefon ----------------------- */
@media only screen and (max-width: 1024px) {
	/* zdjęcie w „Zastosowaniu” na całą szerokość kolumny treści */
	html body .sn-use .sn-massage__body > .mobi-only .kol-1-1,
	html body .sn-use .sn-massage__body > .mobi-only .small-mobi { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
	html body .sn-use .sn-massage__body > .mobi-only img { display: block; width: calc(100% - 80px) !important; max-width: none !important; height: auto; margin: 0 auto !important; }
	html body .sn-use .sn-massage__body > p { display: none; }
	html body .sn-use .kol-right-text-offer { padding-top: 32px !important; }
	html body .sn-use .kol-right-text-offer hr { width: 120px !important; margin-left: 0 !important; }
	html body .sn-use .sn-massage__body { padding-bottom: 0; }
}
@media only screen and (max-width: 640px) {
	html body .sn-use .sn-massage__body > .mobi-only img { width: calc(100% - 40px) !important; }
	/* wpisy: kompaktowa karta ze zdjęciem po lewej */
	html body .sn-post { flex-direction: row; align-items: stretch; border-radius: 0 20px 0 20px; }
	html body .sn-post__img { flex: 0 0 112px; width: 112px; height: auto; min-height: 100%; aspect-ratio: auto; }
	.sn-post__body { flex: 1 1 auto; min-width: 0; padding: 14px 16px 16px; }
	html body .sn-post .sn-post__title { margin: 0; font-size: 15px; }
	html body .sn-post__body > p:last-child:not(.sn-post__date) { display: none; }
	html body .sn-post__date { margin-bottom: 4px; }
}

/* ---------- „Kontakt” --------------------------------------------------- */
html body .sn-contact { clear: both; padding: 88px 0 96px; }
.sn-contact__head { max-width: 760px; margin: 0 auto 48px; padding: 0 24px; text-align: center; }
html body .sn-contact__title { margin: 0 0 16px; padding: 0; font-family: var(--sn-font-head); font-size: 45px; font-weight: 400; line-height: 1.3; letter-spacing: 1.2px; }
html body .sn-contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 998px; margin: 0 auto; padding: 0 24px; }
html body .sn-contact__cards > .kol-1-1 { display: flex; flex-direction: column; align-items: center; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 44px 32px 36px; border-radius: 0 32px 0 32px; background: #fff; box-shadow: 0 1px 2px rgba(81,56,46,.06), 0 18px 40px -28px rgba(81,56,46,.35); }
html body .sn-contact__cards .sn-box-title { margin: 0 0 14px; padding: 0; font-family: var(--sn-font-head); font-size: 21px !important; font-weight: 400; line-height: 1.3 !important; }
html body .sn-contact__cards .btn { margin-top: auto !important; }
html body .sn-contact__cards .btn a { background: transparent; color: #51382e !important; box-shadow: none; }
.sn-contact__cards .btn { padding-top: 24px !important; }

.sn-form { padding: 112px 24px; background: #fff; }
.sn-form__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; max-width: 1150px; margin: 0 auto; }
html body .sn-form__media img { display: block; width: 100%; height: auto; margin: 0; }
.sn-form__card { padding: 48px 48px 36px; border-radius: 0 32px 0 32px; background: var(--sn-sand-light); }
html body .sn-form__card .sn-split__title { margin: 0; padding: 0; font-family: var(--sn-font-head); font-size: 28px !important; font-weight: 400; line-height: 1.35 !important; }
html body .sn-form__card > hr { width: 120px !important; margin: 24px 0 28px !important; border: 0; border-top: 2px solid var(--sn-gold); }
html body .sn-form .frm_forms { margin: 0; }
html body .sn-form .frm_forms fieldset { margin: 0; padding: 0; border: 0; }
html body .sn-form .frm_primary_label { margin: 0; padding: 0 0 6px; color: #51382e; font-size: 14px; font-weight: 700; }
html body .sn-form .frm_forms input[type="text"],
html body .sn-form .frm_forms input[type="email"],
html body .sn-form .frm_forms input[type="tel"],
html body .sn-form .frm_forms textarea { width: 100% !important; max-width: 100%; height: auto; margin: 0; padding: 12px 16px; border: 1px solid #cdb9a8; border-radius: 10px; background: #fff; box-shadow: none; color: #3a261f; font-family: var(--sn-font-body); font-size: 16px; line-height: 1.4; }
html body .sn-form .frm_forms input:focus,
html body .sn-form .frm_forms textarea:focus { border-color: #51382e; outline: 2px solid var(--sn-gold); outline-offset: 1px; }
html body .sn-form .frm_checkbox label { display: flex; gap: 10px; align-items: flex-start; color: #51382e; font-size: 13.5px; font-weight: 400; line-height: 1.55; }
html body .sn-form .frm_checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #51382e; }
html body .sn-form .frm_submit { margin: 0; }
html body .sn-form .frm_submit button { display: inline-flex; align-items: center; gap: 12px; width: auto; height: auto; margin: 8px 0 0; padding: 4px 4px 4px 24px !important; border: 1.5px solid #51382e !important; border-radius: 999px !important; background: #51382e !important; box-shadow: none; color: #fff !important; font-family: var(--sn-font-head) !important; font-size: 15px; font-style: normal; font-weight: 500; line-height: 1.2; cursor: pointer; }
html body .sn-form .frm_submit button::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--sn-gold) var(--sn-arrow-white) center / 15px no-repeat; }
html body .sn-form .frm_submit button:hover { border-color: var(--sn-gold) !important; background: var(--sn-gold) !important; }
html body .sn-form .frm_submit button:hover::after { background-color: #51382e; }

html body .sn-map { padding: 96px 0; }
.sn-map__frame { max-width: 1150px; margin: 24px auto 0; padding: 0 24px; }
.sn-map__frame iframe { display: block; width: 100%; height: 450px; border-radius: 0 32px 0 32px; }

html body .sn-data { clear: both; padding: 80px 0; }
.sn-data__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 998px; margin: 0 auto; padding: 0 24px; }
.sn-data__card { padding: 36px 36px 32px; border-radius: 0 28px 0 28px; background: #fff; overflow-wrap: anywhere; }
html body .sn-data__card h2 { margin: 0 0 16px; padding: 0; font-family: var(--sn-font-head); font-size: 21px; font-weight: 400; line-height: 1.35 !important; }
.sn-data__card p { margin: 0 0 8px; }

@media only screen and (max-width: 1024px) {
	html body .sn-contact { padding: 64px 0 72px; }
	html body .sn-contact__title { font-size: 35px; }
	html body .sn-contact__cards, .sn-data__grid { padding: 0 40px; gap: 20px; }
	.sn-form { padding: 72px 40px; }
	.sn-form__inner { grid-template-columns: 1fr; gap: 32px; }
	.sn-form__media { display: none; }
	html body .sn-map { padding: 72px 0; }
	.sn-map__frame { padding: 0 40px; }
	.sn-map__frame iframe { height: 380px; }
}
@media only screen and (max-width: 640px) {
	html body .sn-contact { padding: 48px 0 56px; }
	html body .sn-contact__title { font-size: 30px; }
	html body .sn-contact__cards, .sn-data__grid { grid-template-columns: 1fr; padding: 0 20px; gap: 14px; }
	.sn-form { padding: 56px 20px; }
	.sn-form__card { padding: 32px 20px 24px; }
	html body .sn-form__card .sn-split__title { font-size: 23px !important; }
	html body .sn-form .frm_form_field { grid-column: 1 / -1 !important; }
	.sn-map__frame { padding: 0 20px; }
	.sn-map__frame iframe { height: 320px; }
	html body .sn-data { padding: 56px 0; }
}

/* ---------- Strona FAQ -------------------------------------------------- */
html body .sn-faq-head { padding: 88px 0 56px; }
html body .sn-faq-head .sn-contact__head { margin-bottom: 32px; }
.sn-faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; padding: 0 24px; }
html body .sn-faq-nav a { display: inline-block; padding: 10px 20px; border: 1.5px solid #51382e; border-radius: 999px; color: #51382e !important; font-family: var(--sn-font-head); font-size: 14px; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
html body .sn-faq-nav a:hover, html body .sn-faq-nav a:focus-visible { background: #51382e; color: #fff !important; }
.sn-faq-nav > p { display: contents; }
.sn-faq-nav br { display: none; }
.sn-faq-page { max-width: 868px; margin: 0 auto; padding: 40px 24px 104px; }
.sn-faq-group { padding-top: 48px; scroll-margin-top: 120px; }
html body .sn-faq-group h2 { margin: 0 0 20px; padding: 0; font-family: var(--sn-font-head); font-size: 28px; font-weight: 400; line-height: 1.35 !important; }
html body .sn-sections .sn-faq-group p.sn-verify { margin: 16px 0 0; }
@media only screen and (max-width: 1024px) {
	html body .sn-faq-head { padding: 64px 0 40px; }
	.sn-faq-page { padding: 16px 40px 72px; }
}
@media only screen and (max-width: 640px) {
	html body .sn-faq-head { padding: 48px 0 32px; }
	.sn-faq-nav { padding: 0 20px; gap: 8px; }
	html body .sn-faq-nav a { padding: 8px 14px; font-size: 13px; }
	.sn-faq-page { padding: 8px 20px 56px; }
	.sn-faq-group { padding-top: 36px; }
	html body .sn-faq-group h2 { font-size: 22px; }
}

/* ---------- Poprawki po przeglądzie: Kontakt, FAQ, wpisy ---------------- */
html body.page-id-92 .sn-contact .booking.sn-contact__cards { margin: 0 auto !important; padding-top: 0; padding-bottom: 0; }
html body.page-id-92 .sn-contact .booking.sn-contact__cards > .kol-1-1 { padding: 40px 32px 36px; }
html body .sn-contact__cards > .kol-1-1 > p { margin: 0 0 24px; }
html body .sn-contact__cards .btn { margin-top: auto !important; padding-top: 0 !important; }
html body .sn-form .frm_forms.with_frm_style input[type="text"],
html body .sn-form .frm_forms.with_frm_style input[type="email"],
html body .sn-form .frm_forms.with_frm_style input[type="tel"],
html body .sn-form .frm_forms.with_frm_style textarea { background: #fff !important; }
/* etykieta „Nazwisko” była ukryta; pokazujemy ją (dostępność i równe pola) */
html body .sn-form .frm_hidden_container .frm_primary_label { visibility: visible !important; }
/* tytuły H1 w nagłówkach Kontaktu i FAQ bez dużych wcięć motywu */
html body .page-layout h1.sn-contact__title,
html body h1.sn-contact__title { padding: 0 !important; margin: 0 0 16px !important; }
@media only screen and (max-width: 640px) {
	/* wpisy: zdjęcie o stałym rozmiarze (wcześniej rozciągało kartę) */
	html body .sn-post { align-items: center; }
	html body .sn-post img.sn-post__img { flex: 0 0 112px; align-self: stretch; width: 112px !important; height: 112px !important; min-height: 0; max-height: 140px; object-fit: cover; }
}

/* ---------- Kontakt: formularz jako jedna karta ze zdjęciem, mapa na całą szerokość */
@media only screen and (min-width: 1025px) {
	.sn-form__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; overflow: hidden; border-radius: 0 40px 0 160px; background: var(--sn-sand-light); }
	.sn-form__media { position: relative; min-height: 100%; }
	html body .sn-form__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; }
	.sn-form__card { padding: 64px 64px 52px; border-radius: 0; }
}
html body .sn-map { padding: 88px 0 0; }
.sn-map__frame { max-width: none; margin: 32px 0 0; padding: 0; }
.sn-map__frame iframe { width: 100%; height: 520px; border-radius: 0; }
@media only screen and (max-width: 1024px) {
	html body .sn-map { padding: 64px 0 0; }
	.sn-map__frame { padding: 0; margin-top: 16px; }
	.sn-map__frame iframe { height: 400px; }
}
@media only screen and (max-width: 640px) {
	.sn-map__frame { padding: 0; }
	.sn-map__frame iframe { height: 340px; }
}

/* ---------- Kontakt: dane + formularz w jednej karcie ------------------- */
html body .sn-kontakt { clear: both; padding: 80px 0 112px; }
html body .sn-kontakt__card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); max-width: 1102px; margin: 0 auto; overflow: hidden; border-radius: 0 40px 0 40px; background: #fff; box-shadow: 0 30px 60px -40px rgba(81, 56, 46, 0.45); }
.sn-kontakt__info { padding: 52px 44px; background: #51382e; }
html body .sn-kontakt__info h2 { margin: 0 0 32px; padding: 0; color: #fff !important; font-family: var(--sn-font-head); font-size: 24px; font-weight: 400; line-height: 1.35 !important; }
html body .sn-kontakt__info ul { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
html body .sn-kontakt__info li { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sn-kontakt__info .sn-icon { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; color: var(--sn-gold); }
.sn-kontakt__info .sn-icon svg { width: 24px; height: 24px; }
.sn-kontakt__info li > div > span { display: block; margin-bottom: 2px; color: rgba(243, 236, 228, 0.65); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
html body .sn-kontakt__info a, html body .sn-kontakt__info li p { margin: 0; color: #fff !important; font-size: 16px; line-height: 1.6 !important; text-decoration: none; overflow-wrap: anywhere; }
html body .sn-kontakt__info a:hover, html body .sn-kontakt__info a:focus-visible { color: #fff !important; text-decoration: underline; text-decoration-color: var(--sn-gold); text-underline-offset: 4px; }
.sn-kontakt__info small { color: rgba(243, 236, 228, 0.65); font-size: 13px; }
html body .sn-kontakt__form.sn-form { padding: 52px 56px 44px; background: #fff; }
html body .sn-kontakt__form .sn-split__title { margin: 0 0 28px; padding: 0; font-family: var(--sn-font-head); font-size: 28px !important; font-weight: 400; line-height: 1.35 !important; }
html body .sn-kontakt__form .frm_forms.with_frm_style input[type="text"],
html body .sn-kontakt__form .frm_forms.with_frm_style input[type="email"],
html body .sn-kontakt__form .frm_forms.with_frm_style input[type="tel"],
html body .sn-kontakt__form .frm_forms.with_frm_style textarea { background: var(--sn-cream) !important; }
@media only screen and (max-width: 1024px) {
	html body .sn-kontakt { padding: 64px 40px 72px; }
	html body .sn-kontakt .sn-contact__head { padding: 0; margin-bottom: 32px; }
	html body .sn-kontakt__card { grid-template-columns: 1fr; }
	html body .sn-kontakt__info ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sn-kontakt__info { padding: 36px 32px; }
	html body .sn-kontakt__form.sn-form { padding: 40px 32px 32px; }
}
@media only screen and (max-width: 640px) {
	html body .sn-kontakt { padding: 48px 16px 56px; }
	html body .sn-kontakt__info ul { grid-template-columns: 1fr; gap: 20px; }
	.sn-kontakt__info { padding: 28px 22px; }
	html body .sn-kontakt__info h2 { margin-bottom: 22px; font-size: 21px; }
	html body .sn-kontakt__form.sn-form { padding: 32px 20px 24px; }
	html body .sn-kontakt__form .sn-split__title { font-size: 23px !important; }
}
html body .sn-kontakt__info ul a, html body .sn-kontakt__info ul a:hover { border: 0 !important; box-shadow: none !important; background-image: none !important; }
html body .sn-kontakt__info ul a:not(:hover):not(:focus-visible) { text-decoration: none !important; }

/* Kontakt: mniejszy odstęp między formularzem a tytułem nad mapą (to samo tło) */
html body .sn-kontakt { padding-bottom: 0; }
html body .sn-map { padding-top: 88px; }
html body .sn-map .row-wide-800 { margin: 0 auto !important; padding: 0 24px !important; }
html body .sn-map .row-wide-800 .titles { padding: 0 !important; }
@media only screen and (max-width: 1024px) { html body .sn-kontakt { padding-bottom: 0; } html body .sn-map { padding-top: 64px; } html body .sn-map .row-wide-800 { padding: 0 40px !important; } }
@media only screen and (max-width: 640px) { html body .sn-map { padding-top: 48px; } html body .sn-map .row-wide-800 { padding: 0 20px !important; } }

/* ---------- „Nasz zespół” ---------------------------------------------- */
html body .sn-team { padding-bottom: 80px; }
html body .sn-person__text, html body .sn-person__text p { margin: 0 0 16px; font-size: 15px; }
html body .sn-person__text:empty, html body .sn-person__text p:empty { display: none; }
html body .sn-person__more summary { display: inline-block; padding: 8px 0; color: #51382e; font-weight: 700; text-decoration: underline; text-decoration-color: var(--sn-gold); text-underline-offset: 5px; cursor: pointer; list-style: none; }
.sn-person__more summary::-webkit-details-marker { display: none; }
.sn-person__more[open] summary { margin-bottom: 16px; }
html body .sn-split__media.sn-person__round img { max-width: 400px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
html body .sn-team__quote { max-width: 820px; margin: 56px auto; padding: 0 24px; text-align: center; }
html body .sn-team__quote blockquote { margin: 0; padding: 0; border: 0; background: none; }
html body .sn-team__quote blockquote p { margin: 0; color: #51382e; font-family: var(--sn-font-head); font-size: 20px; font-style: italic; line-height: 1.7 !important; }
.sn-team__quote figcaption { margin-top: 20px; color: #51382e; font-weight: 700; }
@media only screen and (max-width: 640px) {
	html body .sn-split__media.sn-person__round img { max-width: 280px; }
	html body .sn-team__quote { margin: 32px auto; }
	html body .sn-team__quote blockquote p { font-size: 17px; }
}
/* hero nachodzi na piaskowy pas (jak na innych stronach); bez podwójnego odstępu przed CTA */
@media only screen and (min-width: 1025px) {
	html body.page-id-834 .page-layout .first-sec > .kol-1-1,
	html body.page-id-2056 .sn-sections .first-sec > .kol-1-1 { position: relative; z-index: 3; }
	html body.page-id-834 .sn-team { position: relative; z-index: 1; margin-top: -90px; padding-top: 200px; }
	html body.page-id-2056 .sn-sections #oferta { position: relative; z-index: 1; margin-top: -90px; padding-top: 200px; }
}
html body .sn-team { padding-bottom: 0; }
html body .sn-team > .sn-person:last-of-type { padding-bottom: 0; }
/* Kontakt: gwiazdka „pole wymagane” przy treści zgody zamiast samotnie nad nią */
html body .sn-kontakt__form #frm_field_25_container > .frm_primary_label { display: none !important; }
html body .sn-kontakt__form #frm_field_25_container .frm_checkbox label::after { content: "*"; margin-left: 3px; color: #b94a48; font-weight: 700; }
/* „Nasz zespół”: tytuł sekcji wyśrodkowany także na telefonie */
html body .sn-team .row-wide-800 .titles { width: 100%; margin-left: auto; margin-right: auto; text-align: center !important; }
/* „Współpraca i rozwój sieci” */
html body.page-id-2056 .sn-sections .first-sec p.sn-verify { margin-top: 16px; }
html body.page-id-2056 .sn-sections #oferta .row-wide-800 .titles { width: 100%; margin-left: auto; margin-right: auto; text-align: center !important; }
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	html body.page-id-2056 .sn-sections #oferta .booking > .kol-1-1:nth-of-type(3) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
}
@media only screen and (min-width: 641px) and (max-width: 1024px) {
	html body.page-id-2056 .sn-sections #oferta .booking > .kol-1-1:nth-of-type(3) { width: calc(50% - 8px) !important; max-width: calc(50% - 8px) !important; margin-left: auto !important; margin-right: auto !important; justify-self: center !important; }
}
@media only screen and (max-width: 640px) {
	/* cały instrument widoczny w hero */
	html body.page-id-2056 .sn-sections .first-sec > .kol-1-1 img { display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; object-fit: contain !important; }
}
@media only screen and (max-width: 640px) {
	html body.page-id-2056 .sn-sections .first-sec > .kol-1-1 { height: auto !important; min-height: 0 !important; max-height: none !important; padding-top: 0 !important; padding-bottom: 0 !important; aspect-ratio: auto !important; }
}

/* ---------- Menu: pozycje „#” tylko otwierają dropdown ----------------- */
.menu-item-has-children > a[href="#"] { cursor: default; }

/* ---------- „Media o nas”: długie adresy łamią się na tablecie i telefonie */
html body.page-id-804 .entry-content li a { overflow-wrap: anywhere; }
/* mniejszy odstęp między tytułem a listą */
html body.page-id-804 #pageheader h1.entry-title { margin-bottom: 0 !important; padding-bottom: 40px !important; }
html body.page-id-804 #pageheader .page-header-inner,
html body.page-id-804 #pageheader .page-header { height: auto !important; min-height: 0 !important; }
@media only screen and (max-width: 640px) {
	html body.page-id-804 #pageheader h1.entry-title { padding-bottom: 28px !important; }
}

/* ---------- Blog i kategorie: siatka kart ------------------------------- */
html body:is(.blog, .category) #ktmain { border: 0 !important; }
html body:is(.blog, .category) .kt_archivecontent { display: flex; flex-wrap: wrap; row-gap: 28px; margin: 0 -14px; }
html body:is(.blog, .category) .kt_archivecontent::before, html body:is(.blog, .category) .kt_archivecontent::after { display: none; }
html body:is(.blog, .category) .kt_archivecontent > .b_item { display: flex; float: none; width: 50%; min-height: 0 !important; height: auto !important; padding: 0 14px; }
html body:is(.blog, .category) article.blog_item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0 !important;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(81, 56, 46, 0.1);
	border-radius: 0 28px 0 28px;
	background: #fff;
	box-shadow: 0 22px 44px -34px rgba(81, 56, 46, 0.45);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
html body:is(.blog, .category) article.blog_item:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(81, 56, 46, 0.55); }
html body:is(.blog, .category) article.blog_item .blog-grid-media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sn-sand-light); }
html body:is(.blog, .category) article.blog_item .blog-grid-media :is(a, div) { display: block; width: 100%; height: 100%; margin: 0; padding: 0; }
html body:is(.blog, .category) article.blog_item .blog-grid-media :is(img, iframe) { display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0; object-fit: cover; }
/* film musi leżeć nad linkiem rozciągniętym na całą kartę */
html body:is(.blog, .category) article.kt-post-summary-video .blog-grid-media { position: relative; z-index: 2; }
html body:is(.blog, .category) article.blog_item .postcontent { display: flex; flex: 1; flex-direction: column; padding: 22px 26px 24px; }
html body:is(.blog, .category) article.blog_item .kt-post-cats { margin: 0 0 10px; line-height: 1.6; }
html body:is(.blog, .category) article.blog_item .kt-post-cats a { position: relative; z-index: 2; }
html body:is(.blog, .category) article.blog_item .postcontent h5.entry-title { margin: 0 0 12px; padding: 0; color: #51382e; font-size: 20px; font-style: normal; line-height: 1.45 !important; transition: color 0.25s; }
html body:is(.blog, .category) article.blog_item:hover h5.entry-title { color: #8a5c2b; }
html body:is(.blog, .category) article.blog_item header a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
html body:is(.blog, .category) article.blog_item header a:focus-visible { outline: none; }
html body:is(.blog, .category) article.blog_item:focus-within { outline: 2px solid #51382e; outline-offset: 3px; }
html body:is(.blog, .category) article.blog_item .entry-content p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; padding: 0; font-size: 14px !important; line-height: 1.75; text-align: left; }
html body:is(.blog, .category) article.blog_item footer { margin-top: auto; padding-top: 20px; }
html body:is(.blog, .category) article.blog_item .post-grid-footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid rgba(81, 56, 46, 0.14); }
html body:is(.blog, .category) article.blog_item .post-grid-footer-meta > :not(.postdate) { display: none; }
html body:is(.blog, .category) article.blog_item .postdate { margin: 0; padding: 0; color: #7a645a; font-size: 12px; }
html body:is(.blog, .category) article.blog_item .post-grid-footer-meta::after {
	content: "";
	flex: 0 0 32px;
	height: 32px;
	border-radius: 50%;
	background: #51382e 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.3s, background-color 0.3s;
}
html body:is(.blog, .category) article.blog_item:hover .post-grid-footer-meta::after { transform: translateX(4px); background-color: var(--sn-gold); }
@media only screen and (max-width: 640px) {
	html body:is(.blog, .category) .kt_archivecontent { row-gap: 20px; }
	html body:is(.blog, .category) .kt_archivecontent > .b_item { width: 100%; }
	html body:is(.blog, .category) article.blog_item .postcontent { padding: 20px 20px 20px; }
}

/* ---------- Blog i kategorie: paginacja --------------------------------- */
html body:is(.blog, .category) .wp-pagenavi { margin-top: 48px; }
html body:is(.blog, .category) .wp-pagenavi .nav-links { display: flex; justify-content: center; align-items: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 6px; border-radius: 40px; background: var(--sn-sand-light); }
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers {
	display: inline-flex; flex: 0 1 44px; justify-content: center; align-items: center;
	width: 44px; min-width: 0; height: 44px; margin: 0; padding: 0;
	border: 0; border-radius: 50%; background: transparent;
	color: #51382e; font-family: var(--sn-font-head); font-size: 15px; line-height: 1; text-decoration: none;
	transition: background-color 0.25s, color 0.25s;
}
html body:is(.blog, .category) .wp-pagenavi .nav-links a.page-numbers:hover { background: #fff; color: #51382e; }
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers.current { background: #51382e; color: #fff; }
html body:is(.blog, .category) .wp-pagenavi .nav-links :is(.prev, .next) { background: #fff; }
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers:focus-visible { outline: 2px solid #51382e; outline-offset: 2px; }
@media only screen and (max-width: 400px) {
	html body:is(.blog, .category) .wp-pagenavi .nav-links { gap: 0; padding: 4px; }
}

/* ---------- Blog i kategorie: panel autorki ----------------------------- */
html body:is(.blog, .category) #ktsidebar .sidebar { padding: 32px 26px; border-radius: 0 28px 0 28px; background: var(--sn-sand-light); }
html body:is(.blog, .category) #ktsidebar section { margin: 0; padding: 0; }
html body:is(.blog, .category) #ktsidebar .wp-block-image { margin: 0 0 20px; text-align: center; }
html body:is(.blog, .category) #ktsidebar .wp-block-image img { width: 150px; height: 150px; margin: 0 auto; border: 5px solid #fff; border-radius: 50%; object-fit: cover; }
html body:is(.blog, .category) #ktsidebar h3 { margin: 0 0 14px; padding: 0; border: 0; color: #51382e; font-size: 17px !important; font-style: normal; line-height: 1.5 !important; text-align: center !important; }
html body:is(.blog, .category) #ktsidebar #block-19 p { margin: 0; font-size: 13.5px; line-height: 1.75; text-align: center; }
html body:is(.blog, .category) #ktsidebar #block-14 h3 { margin: 28px 0 6px; padding-top: 28px; border-top: 1px solid rgba(81, 56, 46, 0.18); text-align: left !important; }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts li { margin: 0; padding: 0; border: 0; list-style: none; }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts li + li { border-top: 1px solid rgba(81, 56, 46, 0.12); }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts li::before { display: none; }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts a { display: block; padding: 12px 0; color: #51382e; font-size: 13.5px; font-style: normal; line-height: 1.55; text-decoration: none; }
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts a:hover { color: #8a5c2b; text-decoration: underline; }
@media only screen and (max-width: 991px) {
	html body:is(.blog, .category) #ktsidebar { margin-top: 48px; }
	html body:is(.blog, .category) #ktsidebar .sidebar { max-width: 620px; margin: 0 auto; }
}
@media only screen and (min-width: 641px) and (max-width: 991px) {
	/* zdjęcie obok podpisu i opisu, lista wpisów pod spodem */
	html body:is(.blog, .category) #ktsidebar .sidebar { display: grid; grid-template-columns: 160px 1fr; column-gap: 28px; max-width: none; }
	html body:is(.blog, .category) #ktsidebar section { grid-column: 1 / -1; }
	html body:is(.blog, .category) #ktsidebar #block-16 { grid-column: 1; grid-row: 1 / span 2; }
	html body:is(.blog, .category) #ktsidebar #block-20 { grid-column: 2; grid-row: 1; align-self: end; }
	html body:is(.blog, .category) #ktsidebar #block-19 { grid-column: 2; grid-row: 2; }
	html body:is(.blog, .category) #ktsidebar #block-20 h3, html body:is(.blog, .category) #ktsidebar #block-19 p { text-align: left !important; }
}
@media (prefers-reduced-motion: reduce) {
	html body:is(.blog, .category) article.blog_item, html body:is(.blog, .category) article.blog_item:hover { transform: none; transition: none; }
}
/* motyw dodaje własne linie pod wpisami: zostaje jedna */
html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts :is(li, a) { border-bottom: 0 !important; }

/* ---------- Blog: szerokość, H1, strzałki paginacji ------------ */
@media only screen and (min-width: 992px) {
	html body:is(.blog, .category) #content.container { width: 100%; max-width: 1368px; padding-left: 24px; padding-right: 24px; }
	html body:is(.blog, .category) #content > .row { display: flex; align-items: flex-start; gap: 40px; margin: 0; }
	html body:is(.blog, .category) #content > .row::before,
	html body:is(.blog, .category) #content > .row::after { display: none; }
	html body:is(.blog, .category) #ktmain { flex: 1; width: auto; min-width: 0; padding: 0; }
	html body:is(.blog, .category) #ktsidebar { flex: 0 0 320px; width: 320px; padding: 0; }
	html body:is(.blog, .category) #ktsidebar h3 { font-size: 19px !important; }
	html body:is(.blog, .category) #ktsidebar #block-19 p { font-size: 14px; }
}
html body:is(.blog, .category) #pageheader h1.entry-title { font-style: normal !important; }
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers { flex-basis: 40px; width: 40px; height: 40px; }
html body:is(.blog, .category) .wp-pagenavi .nav-links :is(.prev, .next) { background: transparent; }
html body:is(.blog, .category) .wp-pagenavi .nav-links a:is(.prev, .next):hover { background: #fff; }
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers i,
html body:is(.blog, .category) .wp-pagenavi .nav-links .page-numbers i::before { margin: 0; font-size: 11px !important; line-height: 1; }
/* motyw ogranicza wysokość miniatur do 176 px: mają wypełniać całą ramkę */
html body:is(.blog, .category) article.blog_item .blog-grid-media img { max-height: none !important; }

/* ---------- Blog: telefon ----------------------------------------------- */
@media only screen and (max-width: 640px) {
	html body:is(.blog, .category) #pageheader .page-header,
	html body:is(.blog, .category) #pageheader .page-header-inner { height: auto !important; min-height: 0 !important; }
	html body:is(.blog, .category) #pageheader h1.entry-title { margin: 32px 0 0 !important; padding: 0 0 28px !important; font-size: 34px !important; line-height: 1.25 !important; }
	html body:is(.blog, .category) article.blog_item .kt-post-cats { margin: -6px 0 6px; }
	html body:is(.blog, .category) article.blog_item .kt-post-cats a { display: inline-block; padding: 6px 0; font-size: 11px; }
	html body:is(.blog, .category) article.blog_item .postcontent h5.entry-title { font-size: 19px; }
	html body:is(.blog, .category) #ktsidebar { margin-top: 36px; }
	html body:is(.blog, .category) #ktsidebar .sidebar { padding: 28px 20px; }
	html body:is(.blog, .category) #ktsidebar .wp-block-latest-posts a { padding: 14px 0; font-size: 14px; }
}
