/*
Theme Name: Domki Białogóra
Description: Motyw potomny Neve dla jednostronicowej strony Domki Białogóra.
Author: Domki Białogóra
Template: neve
Version: 1.4.0
Text Domain: domki-bialogora
*/

:root {
	--db-pine: #183e3a;
	--db-pine-dark: #102d2a;
	--db-sage: #91a8a1;
	--db-sand: #f6f1e8;
	--db-sand-light: #fbf8f2;
	--db-terracotta: #d46f4c;
	--db-terracotta-dark: #b95536;
	--db-charcoal: #202421;
	--db-muted: #64706b;
	--db-line: #e7ded1;
	--db-white: #ffffff;
	--db-radius: 14px;
	--db-radius-large: 32px;
	--db-content: 1240px;
	--db-header-offset: 96px;
	--db-shadow: 0 22px 60px rgba(24, 62, 58, 0.09);
	--db-transition: 180ms ease;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--db-header-offset);
}

[id] {
	scroll-margin-top: var(--db-header-offset);
}

body {
	background: var(--db-white);
	color: var(--db-charcoal);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .header {
	top: 32px;
}

.header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 1px 0 rgba(24, 62, 58, 0.08);
	backdrop-filter: blur(12px);
}

.header-main-inner {
	background: transparent;
}

.header .container {
	max-width: 1440px;
	padding-left: 28px;
	padding-right: 28px;
}

.site-title {
	color: var(--db-pine) !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.builder-item--primary-menu .nav-ul > li > a {
	color: var(--db-charcoal);
	font-size: 15px;
	font-weight: 600;
}

.builder-item--primary-menu .nav-ul > li > a:hover {
	color: var(--db-terracotta);
}

.menu-item-cta > a {
	background: var(--db-terracotta);
	border-radius: 7px;
	color: var(--db-white) !important;
	font-weight: 700 !important;
	margin-left: 10px;
	padding-left: 22px !important;
	padding-right: 22px !important;
}

.menu-item-cta > a:hover {
	background: var(--db-terracotta-dark);
	color: var(--db-white) !important;
	transform: translateY(-1px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--db-pine);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

h2 {
	font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
	font-size: clamp(1.4rem, 2vw, 2rem);
}

a {
	transition:
		color var(--db-transition),
		background-color var(--db-transition),
		border-color var(--db-transition),
		transform var(--db-transition);
}

.wp-element-button,
.wp-block-button__link,
button,
input[type="submit"] {
	background: var(--db-terracotta);
	border: 2px solid var(--db-terracotta);
	border-radius: 7px;
	color: var(--db-white);
	font-weight: 700;
	letter-spacing: 0.015em;
	min-height: 52px;
	padding: 13px 25px;
	text-decoration: none;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--db-terracotta-dark);
	border-color: var(--db-terracotta-dark);
	color: var(--db-white);
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--db-pine);
	color: var(--db-pine);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--db-pine);
	color: var(--db-white);
}

.home .entry-title,
.home .nv-page-title-wrap {
	display: none;
}

.home .container.single-page-container {
	max-width: none;
	padding: 0;
}

.home .nv-single-page-wrap,
.home .nv-content-wrap,
.home .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.home .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

img {
	height: auto;
}

.db-eyebrow {
	color: #59766f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.db-section {
	padding: clamp(76px, 9vw, 130px) 28px;
}

.db-section > * {
	max-width: var(--db-content);
}

.db-section-lead {
	color: var(--db-muted);
	font-size: 20px;
	margin: 0 auto 46px;
	max-width: 720px;
}

.db-hero-shell {
	padding: 18px;
}

.db-hero-grid {
	background: var(--db-sand);
	border-radius: var(--db-radius-large);
	box-shadow: var(--db-shadow);
	gap: 0;
	margin: 0 auto;
	max-width: 1500px !important;
	overflow: hidden;
}

.db-hero-copy {
	padding: clamp(54px, 7vw, 110px) clamp(38px, 6vw, 90px);
}

.db-hero-title {
	font-size: clamp(3.1rem, 5.3vw, 6rem);
	margin-bottom: 28px;
	max-width: 680px;
}

.db-hero-lead {
	font-size: clamp(18px, 1.6vw, 23px);
	line-height: 1.55;
	margin-bottom: 34px;
	max-width: 520px;
}

.db-hero-actions {
	align-items: center;
	gap: 18px;
}

.db-hero-media,
.db-hero-media figure {
	height: 100%;
	margin: 0;
	min-height: 640px;
}

.db-hero-media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.db-facts-wrap {
	background: var(--db-sand-light);
	border-bottom: 1px solid var(--db-line);
	border-top: 1px solid var(--db-line);
	padding: 24px 28px;
}

.db-facts {
	gap: 0;
	margin: 0 auto;
	max-width: var(--db-content) !important;
}

.db-facts > .wp-block-column {
	border-right: 1px solid var(--db-line);
	padding: 4px 20px;
}

.db-facts > .wp-block-column:last-child {
	border-right: 0;
}

.db-fact {
	margin: 0;
	text-align: center;
}

.db-fact strong,
.db-fact span {
	display: block;
}

.db-fact strong {
	color: var(--db-pine);
	font-size: 17px;
}

.db-fact span {
	color: var(--db-muted);
	font-size: 13px;
	margin-top: 2px;
}

.db-domki-section {
	background: var(--db-white);
}

.db-content-grid {
	gap: clamp(40px, 7vw, 100px);
}

.db-content-media figure {
	margin: 0;
}

.db-content-media img {
	aspect-ratio: 4 / 5;
	border-radius: var(--db-radius-large);
	box-shadow: var(--db-shadow);
	object-fit: cover;
	width: 100%;
}

.db-content-copy > p {
	color: var(--db-muted);
	font-size: 18px;
}

.db-check-list {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
}

.db-check-list li {
	border-bottom: 1px solid var(--db-line);
	padding: 10px 0 10px 30px;
	position: relative;
}

.db-check-list li::before {
	color: var(--db-terracotta);
	content: "✓";
	font-weight: 900;
	left: 0;
	position: absolute;
}

.db-amenities-title {
	margin: clamp(64px, 8vw, 110px) auto 34px;
}

.db-amenities {
	gap: 22px;
}

.db-amenity-card {
	background: var(--db-sand-light);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius);
	height: 100%;
	padding: 30px;
}

.db-amenity-card h4 {
	font-size: 24px;
	margin-bottom: 12px;
}

.db-amenity-card p {
	color: var(--db-muted);
	font-size: 16px;
	margin-bottom: 0;
}

.db-gallery-section {
	background: var(--db-sand-light);
	text-align: center;
}

.db-gallery-grid,
.db-area-gallery {
	gap: 18px !important;
}

.db-gallery-grid figure,
.db-area-gallery figure {
	border-radius: var(--db-radius);
	overflow: hidden;
}

.db-gallery-grid img {
	aspect-ratio: 4 / 5 !important;
	object-fit: cover;
	transition: transform 350ms ease;
}

.db-gallery-grid figure:hover img,
.db-area-gallery figure:hover img {
	transform: scale(1.025);
}

.db-area-section {
	background: var(--db-white);
}

.db-area-intro {
	gap: clamp(40px, 7vw, 100px);
	margin-bottom: 54px;
}

.db-distance-grid {
	display: grid !important;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db-distance {
	background: var(--db-sand-light);
	border: 1px solid var(--db-line);
	border-radius: 12px;
	margin: 0;
	padding: 18px 20px;
}

.db-distance strong,
.db-distance span {
	display: block;
}

.db-distance strong {
	color: var(--db-pine);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
}

.db-distance span {
	color: var(--db-muted);
	font-size: 14px;
}

.db-area-gallery img {
	aspect-ratio: 4 / 3 !important;
	object-fit: cover;
	transition: transform 350ms ease;
}

.db-price-section {
	background: var(--db-sand);
}

.db-price-card {
	background: var(--db-pine);
	border-radius: var(--db-radius-large);
	box-shadow: var(--db-shadow);
	color: var(--db-white);
	max-width: 1100px !important;
	padding: clamp(56px, 8vw, 96px) clamp(28px, 7vw, 80px);
}

.db-price-card h2 {
	color: var(--db-white);
}

.db-eyebrow-light {
	color: #cbdad5;
}

.db-price-copy {
	color: #e7efec;
	font-size: 20px;
	margin: 0 auto 32px;
	max-width: 720px;
}

.db-faq-section {
	background: var(--db-white);
}

.db-faq-list {
	margin-top: 46px;
	max-width: 900px !important;
}

.db-faq-list details {
	border-bottom: 1px solid var(--db-line);
	padding: 22px 0;
}

.db-faq-list summary {
	color: var(--db-pine);
	cursor: pointer;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 600;
}

.db-faq-list details p {
	color: var(--db-muted);
	margin: 16px 0 4px;
}

.db-booking-section {
	background: var(--db-sage);
}

.db-booking-grid {
	gap: clamp(36px, 7vw, 90px);
}

.db-booking-section h2,
.db-booking-section .db-eyebrow {
	color: var(--db-pine-dark);
}

.db-booking-section p {
	color: var(--db-pine-dark);
	font-size: 19px;
	max-width: 660px;
}

.db-contact-buttons {
	align-items: stretch;
	width: 100%;
}

.db-contact-buttons .wp-block-button,
.db-contact-buttons .wp-block-button__link {
	width: 100%;
}

.db-contact-buttons .wp-block-button__link {
	text-align: center;
}

.db-contact-section {
	background: var(--db-pine-dark);
	color: #dce7e3;
	padding-bottom: 76px;
	padding-top: 76px;
}

.db-contact-grid {
	gap: 60px;
}

.db-contact-section h2,
.db-contact-section h3 {
	color: var(--db-white);
}

.db-contact-section a {
	color: var(--db-white);
	font-weight: 700;
}

.db-contact-section a:hover {
	color: #efb09a;
}

.db-map-link {
	margin-top: 24px;
}

.footer-top,
.footer-bottom {
	background: #0b2321 !important;
	color: #dce7e3;
}

@media (max-width: 960px) {
	:root {
		--db-header-offset: 78px;
	}

	body {
		font-size: 17px;
	}

	.menu-item-cta > a {
		display: inline-flex;
		margin-left: 0;
		margin-top: 12px;
	}

	.db-hero-title {
		font-size: clamp(2.7rem, 8vw, 4.4rem);
	}

	.db-facts {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.db-facts > .wp-block-column {
		border-bottom: 1px solid var(--db-line);
		border-right: 0;
		padding: 14px;
	}

	.db-facts > .wp-block-column:last-child {
		grid-column: 1 / -1;
	}

	.db-distance-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	body.admin-bar .header {
		top: 46px;
	}

	.db-section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.db-hero-shell {
		padding: 10px;
	}

	.db-hero-grid {
		border-radius: 22px;
	}

	.db-hero-copy {
		padding: 48px 26px;
	}

	.db-hero-media,
	.db-hero-media figure {
		min-height: 360px;
	}

	.db-content-grid,
	.db-area-intro,
	.db-booking-grid {
		gap: 36px;
	}

	.db-content-media img {
		aspect-ratio: 4 / 3;
	}

	.db-amenities {
		gap: 16px;
	}

	.db-gallery-grid,
	.db-area-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.db-gallery-grid figure:last-child,
	.db-area-gallery figure:last-child {
		grid-column: 1 / -1;
	}

	.db-gallery-grid figure:last-child img,
	.db-area-gallery figure:last-child img {
		aspect-ratio: 16 / 9 !important;
	}

	.db-contact-grid {
		gap: 24px;
	}
}

@media (max-width: 520px) {
	.db-hero-title {
		font-size: 2.75rem;
	}

	.db-facts,
	.db-distance-grid {
		grid-template-columns: 1fr;
	}

	.db-facts > .wp-block-column:last-child {
		grid-column: auto;
	}

	.db-gallery-grid,
	.db-area-gallery {
		grid-template-columns: 1fr !important;
	}

	.db-gallery-grid figure:last-child,
	.db-area-gallery figure:last-child {
		grid-column: auto;
	}

	.db-gallery-grid img,
	.db-gallery-grid figure:last-child img,
	.db-area-gallery img,
	.db-area-gallery figure:last-child img {
		aspect-ratio: 4 / 3 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}

/* === DOMKI BIALOGORA — VISUAL POLISH V8 START === */

:root {
	--nv-primary-accent: var(--db-terracotta);
	--nv-secondary-accent: var(--db-pine);
}

/* Jedna kompensacja nagłówka zamiast sumowania paddingu i marginu. */

html {
	scroll-padding-top: var(--db-header-offset);
}

.home [id] {
	scroll-margin-top: 0;
}

/* Pełne szerokości sekcji blokowane wcześniej przez Neve do 70vw. */

.home .entry-content .alignwide {
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--db-content) !important;
	width: min(100%, var(--db-content)) !important;
}

.home .entry-content .db-hero-grid {
	max-width: 1500px !important;
	width: 100% !important;
}

.home .entry-content .db-price-card {
	max-width: 1100px !important;
	width: 100% !important;
}

.home .entry-content .db-faq-list {
	max-width: 900px !important;
	width: 100% !important;
}

.db-section > * {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

/* Nagłówek. */

.header .site-logo .site-title {
	color: var(--db-pine) !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 25px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.05 !important;
	text-transform: none !important;
}

.header .site-logo small {
	color: var(--db-muted);
	font-size: 12px;
	line-height: 1.3;
}

.builder-item--primary-menu .nav-ul > li > .wrap > a,
.builder-item--primary-menu .nav-ul > li.nv-active > .wrap > a {
	color: var(--db-charcoal) !important;
}

.builder-item--primary-menu .nav-ul > li:not(.menu-item-cta) > .wrap > a:hover {
	color: var(--db-terracotta) !important;
}

.builder-item--primary-menu .nav-ul > li.menu-item-cta > .wrap > a {
	align-items: center;
	background: var(--db-terracotta) !important;
	border-radius: 7px;
	color: var(--db-white) !important;
	display: inline-flex;
	font-weight: 750 !important;
	justify-content: center;
	margin-left: 10px;
	min-height: 48px;
	padding: 10px 22px !important;
}

.builder-item--primary-menu .nav-ul > li.menu-item-cta > .wrap > a:hover {
	background: var(--db-terracotta-dark) !important;
	color: var(--db-white) !important;
	transform: translateY(-1px);
}

/* Hero. */

.db-hero-grid {
	align-items: stretch !important;
}

.db-hero-copy {
	box-sizing: border-box;
	flex-basis: 44% !important;
	padding: clamp(56px, 4.8vw, 76px);
}

.db-hero-media {
	box-sizing: border-box;
	flex-basis: 56% !important;
	min-height: 580px;
	position: relative;
}

.db-hero-media figure {
	height: auto;
	inset: 0;
	margin: 0;
	min-height: 0;
	position: absolute;
	width: 100%;
}

.db-hero-media img {
	display: block;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	width: 100% !important;
}

.db-hero-title {
	font-size: clamp(3.15rem, 4.1vw, 4.4rem);
	hyphens: none;
	letter-spacing: -0.035em;
	max-width: 560px;
	overflow-wrap: normal;
	word-break: normal;
}

.db-hero-lead {
	font-size: clamp(18px, 1.35vw, 21px);
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

.db-hero-actions {
	flex-wrap: wrap;
}

/* Delikatne interakcje kart. */

.db-amenity-card,
.db-distance {
	transition:
		box-shadow 180ms ease,
		transform 180ms ease,
		border-color 180ms ease;
}

.db-amenity-card:hover,
.db-distance:hover {
	border-color: rgba(24, 62, 58, 0.2);
	box-shadow: 0 16px 35px rgba(24, 62, 58, 0.08);
	transform: translateY(-3px);
}

/* Lepsza obsługa klawiatury. */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid rgba(212, 111, 76, 0.55);
	outline-offset: 4px;
}

/* Przycisk powrotu do góry zgodny z paletą. */

.scroll-to-top {
	background: var(--db-pine) !important;
	border-radius: 50% !important;
	color: var(--db-white) !important;
	height: 48px;
	padding: 0 !important;
	width: 48px;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
	background: var(--db-terracotta) !important;
	color: var(--db-white) !important;
}

/* Usunięcie domyślnego paska Neve / Powered by WordPress. */

.footer-bottom {
	display: none !important;
}

@media (min-width: 782px) and (max-width: 1100px) {
	.db-hero-copy {
		flex-basis: 46% !important;
		padding: 46px 36px;
	}

	.db-hero-media {
		flex-basis: 54% !important;
		min-height: 520px;
	}

	.db-hero-title {
		font-size: clamp(2.65rem, 5vw, 3.45rem);
	}
}

@media (max-width: 960px) {
	.builder-item--primary-menu .nav-ul > li.menu-item-cta > .wrap > a {
		margin-left: 0;
		margin-top: 12px;
	}
}

@media (max-width: 781px) {
	.db-hero-grid {
		display: flex;
		flex-direction: column;
	}

	.db-hero-copy,
	.db-hero-media {
		flex-basis: 100% !important;
	}

	.db-hero-copy {
		padding: 46px 27px;
	}

	.db-hero-title {
		font-size: clamp(2.65rem, 11vw, 3.8rem);
		max-width: 620px;
	}

	.db-hero-media {
		min-height: 370px;
	}

	.db-section {
		padding-bottom: 76px;
		padding-top: 76px;
	}
}

@media (max-width: 520px) {
	.header .site-logo small {
		display: none;
	}

	.header .site-logo .site-title {
		font-size: 21px !important;
	}

	.db-hero-shell {
		padding: 8px;
	}

	.db-hero-copy {
		padding: 40px 22px;
	}

	.db-hero-title {
		font-size: clamp(2.45rem, 12vw, 3.2rem);
	}

	.db-hero-media {
		min-height: 300px;
	}

	.db-hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.db-hero-actions .wp-block-button,
	.db-hero-actions .wp-block-button__link {
		text-align: center;
		width: 100%;
	}

	.db-section {
		padding-bottom: 64px;
		padding-top: 64px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.db-amenity-card,
	.db-distance {
		transition: none;
	}

	.db-amenity-card:hover,
	.db-distance:hover {
		transform: none;
	}
}

/* === DOMKI BIALOGORA — VISUAL POLISH V8 END === */

/* === DOMKI BIALOGORA PAGES V9 CSS START === */

.db-designed-page .single-page-container {
	max-width: none;
	padding: 0;
}

.db-designed-page .nv-single-page-wrap,
.db-designed-page .nv-content-wrap,
.db-designed-page .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.db-designed-page .nv-page-title-wrap {
	display: none;
}

.db-designed-page .entry-content > * {
	margin-bottom: 0;
	margin-top: 0;
}

.db-page-hero {
	background: var(--db-sand);
	padding: clamp(82px, 9vw, 132px) 28px;
}

.db-page-hero__inner {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--db-content) !important;
	width: 100% !important;
}

.db-page-eyebrow {
	color: #59766f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.db-page-title {
	color: var(--db-pine);
	font-size: clamp(3rem, 5.6vw, 5.5rem);
	hyphens: none;
	letter-spacing: -0.04em;
	margin-bottom: 26px;
	max-width: 920px;
	overflow-wrap: normal;
	word-break: normal;
}

.db-page-lead {
	color: var(--db-muted);
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.55;
	margin-bottom: 0;
	max-width: 820px;
}

.db-page-section {
	background: var(--db-white);
	padding: clamp(72px, 8vw, 120px) 28px;
}

.db-page-section--sand {
	background: var(--db-sand-light);
}

.db-page-inner {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--db-content) !important;
	width: 100% !important;
}

.db-page-grid {
	align-items: center;
	gap: clamp(40px, 7vw, 92px);
}

.db-page-grid img {
	border-radius: var(--db-radius-large);
	box-shadow: var(--db-shadow);
	object-fit: cover;
	width: 100%;
}

.db-page-copy p,
.db-page-copy li {
	color: var(--db-muted);
	font-size: 18px;
}

.db-page-copy h2,
.db-page-inner > h2 {
	margin-bottom: 26px;
}

.db-page-list {
	margin-top: 28px;
}

.db-page-list li {
	border-bottom: 1px solid var(--db-line);
	padding: 11px 0;
}

.db-page-cards {
	gap: 20px;
	margin-top: 38px;
}

.db-page-card {
	background: var(--db-sand-light);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius);
	height: 100%;
	padding: 30px;
}

.db-page-card h3 {
	font-size: 25px;
	margin-bottom: 13px;
}

.db-page-card p {
	color: var(--db-muted);
	font-size: 16px;
	margin-bottom: 0;
}

.db-page-gallery {
	gap: 18px !important;
	margin-top: 38px;
}

.db-page-gallery figure {
	border-radius: var(--db-radius);
	overflow: hidden;
}

.db-page-gallery img {
	aspect-ratio: 4 / 3 !important;
	object-fit: cover;
	transition: transform 350ms ease;
	width: 100%;
}

.db-page-gallery figure:hover img {
	transform: scale(1.025);
}

.db-page-notice {
	background: var(--db-pine);
	border-radius: var(--db-radius-large);
	color: var(--db-white);
	padding: clamp(42px, 6vw, 72px);
}

.db-page-notice h2,
.db-page-notice h3 {
	color: var(--db-white);
}

.db-page-notice p {
	color: #e5efec;
	font-size: 19px;
}

.db-page-cta {
	background: var(--db-sage);
	border-radius: var(--db-radius-large);
	margin-top: 64px;
	padding: clamp(42px, 6vw, 72px);
	text-align: center;
}

.db-page-cta h2 {
	color: var(--db-pine-dark);
}

.db-page-cta p {
	color: var(--db-pine-dark);
	font-size: 18px;
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
}

.db-page-buttons {
	justify-content: center;
	margin-top: 28px;
}

.db-page-faq {
	max-width: 900px !important;
}

.db-page-faq details {
	border-bottom: 1px solid var(--db-line);
	padding: 22px 0;
}

.db-page-faq summary {
	color: var(--db-pine);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 600;
}

.db-page-faq details p {
	color: var(--db-muted);
	margin: 16px 0 4px;
}

.db-blog-query {
	margin-top: 42px;
}

.db-blog-query .wp-block-post {
	background: var(--db-sand-light);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius);
	overflow: hidden;
	padding-bottom: 24px;
}

.db-blog-query .wp-block-post-title,
.db-blog-query .wp-block-post-excerpt {
	padding-left: 24px;
	padding-right: 24px;
}

.db-map-section {
	background: var(--db-sand-light);
	padding: clamp(72px, 8vw, 110px) 28px;
}

.db-map-inner {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--db-content) !important;
	width: 100% !important;
}

.db-map-heading {
	margin-bottom: 18px;
}

.db-map-copy {
	color: var(--db-muted);
	font-size: 18px;
	margin-bottom: 30px;
}

.db-map-embed {
	background: var(--db-white);
	border: 1px solid var(--db-line);
	border-radius: var(--db-radius-large);
	box-shadow: var(--db-shadow);
	overflow: hidden;
}

.db-map-embed iframe {
	border: 0;
	display: block;
	height: 500px;
	width: 100%;
}

.db-page-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 30px auto 0;
}

.db-page-links a {
	background: var(--db-white);
	border: 1px solid var(--db-line);
	border-radius: 999px;
	color: var(--db-pine);
	font-size: 14px;
	font-weight: 700;
	padding: 9px 16px;
	text-decoration: none;
}

.db-page-links a:hover {
	background: var(--db-pine);
	border-color: var(--db-pine);
	color: var(--db-white);
}

@media (max-width: 781px) {
	.db-page-hero,
	.db-page-section,
	.db-map-section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.db-page-title {
		font-size: clamp(2.7rem, 12vw, 4rem);
	}

	.db-page-grid {
		gap: 34px;
	}

	.db-page-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.db-map-embed iframe {
		height: 390px;
	}
}

@media (max-width: 520px) {
	.db-page-hero {
		padding-bottom: 72px;
		padding-top: 72px;
	}

	.db-page-section,
	.db-map-section {
		padding-bottom: 64px;
		padding-top: 64px;
	}

	.db-page-gallery {
		grid-template-columns: 1fr !important;
	}

	.db-page-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.db-page-buttons .wp-block-button,
	.db-page-buttons .wp-block-button__link {
		text-align: center;
		width: 100%;
	}

	.db-map-embed iframe {
		height: 330px;
	}

	.db-page-links {
		align-items: stretch;
		flex-direction: column;
	}

	.db-page-links a {
		text-align: center;
	}
}

/* === DOMKI BIALOGORA PAGES V9 CSS END === */

/* === DB V11 DISTANCE CARDS START === */

/*
 * Szersza i czytelniejsza sekcja odległości
 * na stronie „Białogóra i okolice”.
 */
@media (min-width: 961px) {
    body.page-id-32 .db-page-inner > .db-page-grid {
        width: 100% !important;
        max-width: 1080px !important;
        gap: clamp(40px, 5vw, 56px);
    }

    body.page-id-32 .db-page-grid .db-page-cards {
        gap: 14px;
    }

    body.page-id-32 .db-page-grid .db-page-card {
        padding: 22px 18px;
    }

    body.page-id-32 .db-page-grid .db-page-card h3 {
        font-size: clamp(22px, 2vw, 25px);
        white-space: nowrap;
    }

    body.page-id-32 .db-page-grid .db-page-card p {
        font-size: 15px;
        line-height: 1.5;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: auto;
    }
}

/* Tablet: opis i kafelki przechodzą do osobnych rzędów. */
@media (min-width: 782px) and (max-width: 960px) {
    body.page-id-32 .db-page-inner > .db-page-grid {
        max-width: 760px !important;
        flex-wrap: wrap !important;
        gap: 28px;
    }

    body.page-id-32 .db-page-grid > .wp-block-column {
        flex-basis: 100% !important;
    }

    body.page-id-32 .db-page-card p {
        word-break: normal;
        overflow-wrap: normal;
    }
}

/* Telefon: wygodniejsze odstępy i czytelne opisy. */
@media (max-width: 781px) {
    body.page-id-32 .db-page-cards {
        gap: 14px;
        margin-top: 26px;
    }

    body.page-id-32 .db-page-card {
        padding: 22px;
    }

    body.page-id-32 .db-page-card p {
        word-break: normal;
        overflow-wrap: normal;
    }
}

/* === DB V11 DISTANCE CARDS END === */

/* === DB V12 FULL MENU START === */

@media (min-width: 1100px) and (max-width: 1399px) {
    .header .primary-menu-ul > li {
        margin-left: 6px !important;
        margin-right: 6px !important;
    }

    .header .primary-menu-ul > li > .wrap > a {
        font-size: 15.5px;
    }

    .header .primary-menu-ul > li.menu-item-cta > .wrap > a {
        padding-left: 17px;
        padding-right: 17px;
    }
}

@media (min-width: 960px) and (max-width: 1099px) {
    .header .primary-menu-ul > li {
        margin-left: 3px !important;
        margin-right: 3px !important;
    }

    .header .primary-menu-ul > li > .wrap > a {
        font-size: 13.5px;
    }

    .header .primary-menu-ul > li.menu-item-cta > .wrap > a {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header .site-logo small {
        display: none;
    }

    .header .site-title {
        font-size: 22px;
    }
}

#lokalizacja {
    scroll-margin-top: 96px;
}

/* === DB V12 FULL MENU END === */

/* === DB V13 ONEPAGE UX START === */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

.header {
    position: sticky !important;
    top: 0;
    z-index: 9990;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.admin-bar .header {
    top: 32px;
}

#domki,
#galeria,
#okolica,
#cennik,
#kontakt,
#rezerwacja,
#lokalizacja {
    scroll-margin-top: 96px;
}

/* Szeroka mapa na stronie głównej. */
#lokalizacja > .db-map-inner {
    width: calc(100% - 56px) !important;
    max-width: var(--db-content) !important;
}

.db-map-embed {
    width: 100% !important;
    max-width: none !important;
}

.db-map-embed iframe {
    display: block;
    width: 100% !important;
    height: clamp(480px, 52vw, 650px) !important;
    border: 0;
}

/* Szersza treść rozbudowanych podstron. */
body.db-designed-page .db-page-inner >
:where(
    .wp-block-columns,
    .wp-block-gallery,
    .wp-block-group,
    .db-page-grid,
    .db-page-cards,
    .db-map-embed,
    .db-page-links
) {
    width: 100% !important;
    max-width: var(--db-content) !important;
}

body.db-designed-page .db-page-grid {
    gap: clamp(36px, 5vw, 68px);
}

body.page-id-35 .db-map-embed {
    width: 100% !important;
    max-width: var(--db-content) !important;
}

/* Przyciski prowadzące do pełnych podstron. */
.db-more-actions {
    width: calc(100% - 56px);
    max-width: var(--db-content) !important;
    justify-content: center;
    margin: 38px auto 0 !important;
}

.db-more-button .wp-block-button__link {
    background: var(--db-terracotta);
    border: 1px solid var(--db-terracotta);
    border-radius: 7px;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    padding: 13px 24px;
    text-decoration: none;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.db-more-button .wp-block-button__link:hover,
.db-more-button .wp-block-button__link:focus-visible {
    background: var(--db-green);
    border-color: var(--db-green);
    box-shadow: 0 10px 28px rgba(26, 73, 62, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

/* Pełnoekranowy lightbox zdjęć. */
.entry-content img:not([data-no-lightbox]) {
    cursor: zoom-in;
}

.db-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(8, 15, 13, 0.95);
}

.db-lightbox[aria-hidden="false"] {
    display: flex;
}

.db-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.db-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(94vw, 1800px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.db-lightbox__close,
.db-lightbox__previous,
.db-lightbox__next {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(15, 38, 32, 0.78);
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.db-lightbox__close {
    top: 0;
    right: 0;
}

.db-lightbox__previous {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.db-lightbox__next {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.db-lightbox__close:hover,
.db-lightbox__previous:hover,
.db-lightbox__next:hover,
.db-lightbox__close:focus-visible,
.db-lightbox__previous:focus-visible,
.db-lightbox__next:focus-visible {
    background: var(--db-terracotta);
    border-color: var(--db-terracotta);
}

.db-lightbox__caption {
    position: absolute;
    right: 80px;
    bottom: 0;
    left: 80px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

body.db-lightbox-open {
    overflow: hidden;
}

@media (max-width: 781px) {
    body.admin-bar .header {
        top: 46px;
    }

    #lokalizacja > .db-map-inner,
    .db-more-actions {
        width: calc(100% - 32px) !important;
    }

    .db-map-embed iframe {
        height: 440px !important;
    }

    body.db-designed-page .db-page-inner >
    :where(
        .wp-block-columns,
        .wp-block-gallery,
        .wp-block-group,
        .db-page-grid,
        .db-page-cards,
        .db-map-embed
    ) {
        width: 100% !important;
    }

    .db-lightbox {
        padding: 14px;
    }

    .db-lightbox__image {
        max-width: 96vw;
        max-height: 82vh;
    }

    .db-lightbox__previous,
    .db-lightbox__next,
    .db-lightbox__close {
        width: 42px;
        height: 42px;
    }

    .db-lightbox__caption {
        right: 46px;
        left: 46px;
        font-size: 13px;
    }
}

/* === DB V13 ONEPAGE UX END === */

/* === DB V14 FIXED HEADER START === */

:root {
    --db-fixed-header-height: 78px;
}

/*
 * Neve umieszcza nagłówek w kontenerze overflow:hidden,
 * dlatego position:sticky nie może działać prawidłowo.
 */
.header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9990;
    width: 100%;
}

body {
    padding-top: var(--db-fixed-header-height);
}

body.admin-bar {
    padding-top: calc(
        var(--db-fixed-header-height) + 32px
    );
}

body.admin-bar .header {
    top: 32px;
}

html {
    scroll-padding-top: calc(
        var(--db-fixed-header-height) + 18px
    );
}

#domki,
#galeria,
#okolica,
#cennik,
#kontakt,
#rezerwacja,
#lokalizacja {
    scroll-margin-top: calc(
        var(--db-fixed-header-height) + 18px
    );
}

@media (max-width: 782px) {
    body.admin-bar {
        padding-top: calc(
            var(--db-fixed-header-height) + 46px
        );
    }

    body.admin-bar .header {
        top: 46px;
    }
}

/* === DB V14 FIXED HEADER END === */

/* === DB V15 ANCHOR OFFSET START === */

/*
 * Offset kotwicy liczymy tylko raz.
 * Nagłówek ma 78 px, a dodatkowy odstęp wynosi 18 px.
 */
html {
    scroll-padding-top: 0 !important;
}

#domki,
#galeria,
#okolica,
#cennik,
#kontakt,
#rezerwacja,
#lokalizacja {
    scroll-margin-top: calc(
        var(--db-fixed-header-height) + 18px
    ) !important;
}

/* === DB V15 ANCHOR OFFSET END === */

/* === DB V16 SECTION BUTTONS START === */

/*
 * Przyciski są osobnymi blokami Gutenberga bezpośrednio
 * za sekcjami. Rozszerzamy ich kontener na całą szerokość
 * i kontynuujemy tło poprzedniej sekcji.
 */
.entry-content > .db-more-actions {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 130px;
    justify-content: center !important;
    align-items: flex-start;
    margin: 0 !important;
    padding: 0 28px clamp(68px, 6vw, 92px) !important;
}

/* Domki */
.entry-content > .db-more-actions-domki {
    background-color: #ffffff;
}

/* Galeria */
.entry-content > .db-more-actions-galeria {
    background-color: #fbf8f2;
}

/* Białogóra i okolice */
.entry-content > .db-more-actions-okolica {
    background-color: #ffffff;
}

/* Cennik */
.entry-content > .db-more-actions-cennik {
    background-color: #f6f1e8;
}

/* Lokalizacja */
.entry-content > .db-more-actions-lokalizacja {
    background-color: #fbf8f2;
}

/* Kontakt */
.entry-content > .db-more-actions-kontakt {
    background-color: #102d2a;
}

/*
 * Wymuszamy pełny zestaw stanów przycisku, aby Neve
 * nie zmieniało tła na białe.
 */
.entry-content .db-more-actions
.db-more-button .wp-block-button__link,
.entry-content .db-more-actions
.db-more-button .wp-block-button__link:link,
.entry-content .db-more-actions
.db-more-button .wp-block-button__link:visited {
    opacity: 1 !important;
    background: #d46f4c !important;
    background-color: #d46f4c !important;
    border: 1px solid #d46f4c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    box-shadow: none;
    text-decoration: none !important;
}

.entry-content .db-more-actions
.db-more-button .wp-block-button__link:hover,
.entry-content .db-more-actions
.db-more-button .wp-block-button__link:focus,
.entry-content .db-more-actions
.db-more-button .wp-block-button__link:focus-visible,
.entry-content .db-more-actions
.db-more-button .wp-block-button__link:active {
    opacity: 1 !important;
    background: #b95536 !important;
    background-color: #b95536 !important;
    border-color: #b95536 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    box-shadow: 0 12px 30px rgba(74, 37, 25, 0.24);
    outline: 3px solid rgba(212, 111, 76, 0.22);
    outline-offset: 3px;
    transform: translateY(-2px);
}

/* Brak pustej przerwy pomiędzy sekcją i przyciskiem. */
.entry-content > .db-more-actions
+ .wp-block-group.alignfull {
    margin-top: 0 !important;
}

@media (max-width: 781px) {
    .entry-content > .db-more-actions {
        width: 100% !important;
        min-height: 108px;
        padding-right: 16px !important;
        padding-bottom: 56px !important;
        padding-left: 16px !important;
    }

    .entry-content .db-more-actions
    .db-more-button,
    .entry-content .db-more-actions
    .db-more-button .wp-block-button__link {
        width: 100%;
        max-width: 360px;
        text-align: center;
    }
}

/* === DB V16 SECTION BUTTONS END === */

/* === DB V19 BLOG START === */
.db-blog-intro {
    margin-inline: auto;
    max-width: 760px;
}

.db-blog-grid {
    align-items: stretch;
    gap: clamp(22px, 2.4vw, 34px);
    margin-top: clamp(38px, 5vw, 64px);
}

.db-blog-grid > .wp-block-column {
    min-width: 0;
}

.db-blog-card {
    background: var(--db-white);
    border: 1px solid rgba(24, 62, 58, 0.13);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(24, 62, 58, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.db-blog-card__image {
    margin: 0;
    overflow: hidden;
}

.db-blog-card__image img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 280ms ease;
    width: 100%;
}

.db-blog-card:hover .db-blog-card__image img {
    transform: scale(1.025);
}

.db-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
}

.db-blog-card__body .db-eyebrow {
    margin-bottom: 12px;
}

.db-blog-card__title {
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.12;
    margin: 0 0 18px;
}

.db-blog-card__title a {
    color: var(--db-pine);
    text-decoration: none;
}

.db-blog-card__title a:hover,
.db-blog-card__title a:focus-visible {
    color: var(--db-terracotta-dark);
}

.db-blog-card__body > .wp-block-buttons {
    margin-top: auto;
    padding-top: 20px;
}

body.single-post .container.single-post-container {
    max-width: 1240px;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

body.single-post article.post {
    padding-bottom: clamp(72px, 9vw, 124px);
    padding-top: clamp(54px, 7vw, 96px);
}

body.single-post article .entry-header {
    margin: 0 auto clamp(38px, 5vw, 64px);
    max-width: 940px;
    text-align: center;
}

body.single-post article .entry-title {
    color: var(--db-pine);
    font-family: var(--db-font-serif, Georgia, serif);
    font-size: clamp(2.55rem, 5.5vw, 5rem);
    line-height: 1.02;
}

body.single-post article .nv-meta-list {
    justify-content: center;
}

body.single-post article .post-thumbnail,
body.single-post article .nv-post-thumbnail-wrap {
    border-radius: 24px;
    margin-inline: auto;
    max-width: 1100px;
    overflow: hidden;
}

body.single-post article .post-thumbnail img,
body.single-post article .nv-post-thumbnail-wrap img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.db-blog-article {
    color: var(--db-text);
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    line-height: 1.78;
    margin: clamp(42px, 6vw, 78px) auto 0;
    max-width: 860px;
}

.db-blog-article .db-article-lead {
    color: var(--db-pine);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.55;
}

.db-blog-article h2 {
    color: var(--db-pine);
    font-family: var(--db-font-serif, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
    margin-bottom: 22px;
    margin-top: clamp(48px, 7vw, 78px);
}

.db-blog-article p,
.db-blog-article li {
    max-width: 780px;
}

.db-blog-article li + li {
    margin-top: 12px;
}

.db-blog-article > .wp-block-buttons {
    margin-top: clamp(46px, 6vw, 72px);
}

@media (max-width: 781px) {
    .db-blog-grid {
        gap: 24px;
    }

    .db-blog-card__body {
        padding: 24px;
    }

    body.single-post article.post {
        padding-top: 44px;
    }

    .db-blog-article {
        margin-top: 36px;
    }
}
/* === DB V19 BLOG END === */

/* === DB V20 BLOG POLISH START === */
@media (min-width: 782px) {
    .db-blog-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .db-blog-grid > .wp-block-column {
        flex-basis: auto !important;
        width: auto !important;
    }
}

.db-article-cover {
    border-radius: 24px;
    box-shadow: 0 20px 52px rgba(24, 62, 58, 0.1);
    margin: 0 auto clamp(42px, 6vw, 74px);
    max-width: 1100px;
    overflow: hidden;
}

.db-article-cover img {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    width: 100%;
}

body.single-post .nv-content-wrap {
    width: 100%;
}

@media (max-width: 781px) {
    .db-blog-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
    }

    .db-article-cover {
        border-radius: 18px;
        margin-bottom: 38px;
    }
}
/* === DB V20 BLOG POLISH END === */

/* === DB V22 PRIVACY PAGE START === */

.db-legal-page .db-legal-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding:
        clamp(78px, 9vw, 138px)
        clamp(22px, 6vw, 90px)
        clamp(70px, 8vw, 118px);
    color: #fffaf2;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(199, 111, 72, 0.3),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #173a32 0%,
            #244b40 54%,
            #31594c 100%
        );
}

.db-legal-page .db-legal-hero h1 {
    max-width: 920px;
    margin: 14px auto 20px;
    color: #fffaf2;
    font-size: clamp(2.65rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.db-legal-page .db-legal-hero .db-eyebrow {
    margin: 0;
    color: #d9b8a4;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.db-legal-page .db-legal-lead {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 250, 242, 0.84);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.7;
}

.db-legal-page .db-legal-content {
    box-sizing: border-box;
    width: min(100% - 40px, 1080px);
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(58px, 8vw, 110px) 0;
}

.db-legal-page .db-legal-content > * {
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
}

.db-legal-page .db-legal-content h2 {
    margin-top: clamp(44px, 6vw, 72px);
    margin-bottom: 18px;
    color: #1c4037;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.db-legal-page .db-legal-content p,
.db-legal-page .db-legal-content li {
    color: #43544f;
    font-size: clamp(1rem, 1.2vw, 1.09rem);
    line-height: 1.82;
}

.db-legal-page .db-legal-content ul {
    box-sizing: border-box;
    margin: 18px auto 28px;
    padding-left: 1.35rem;
}

.db-legal-page .db-legal-content li + li {
    margin-top: 9px;
}

.db-legal-page .db-legal-content a {
    color: #a94c2d;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.db-legal-page .db-legal-content a:hover,
.db-legal-page .db-legal-content a:focus-visible {
    color: #173a32;
}

.db-legal-page .db-legal-updated {
    box-sizing: border-box;
    padding: 17px 20px;
    border: 1px solid rgba(36, 75, 64, 0.14);
    border-radius: 14px;
    background: #f7f2e9;
}

.db-legal-page .db-legal-contact {
    box-sizing: border-box;
    max-width: 860px;
    margin-top: clamp(58px, 7vw, 88px);
    padding: clamp(30px, 5vw, 54px);
    border-radius: 24px;
    background: #f3eadf;
    box-shadow: 0 18px 55px rgba(30, 55, 47, 0.08);
}

.db-legal-page .db-legal-contact h2 {
    margin-top: 0;
}

.db-legal-page .db-legal-contact p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .db-legal-page .db-legal-hero {
        padding:
            66px
            20px
            62px;
    }

    .db-legal-page .db-legal-content {
        width: min(100% - 32px, 1080px);
        padding-top: 50px;
        padding-bottom: 72px;
    }

    .db-legal-page .db-legal-content h2 {
        margin-top: 42px;
    }

    .db-legal-page .db-legal-contact {
        padding: 26px 22px;
        border-radius: 18px;
    }
}

/* === DB V22 PRIVACY PAGE END === */

/* === DB V22.3 CUSTOM SITE FOOTER START === */

.db-site-footer {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    color: rgba(255, 250, 242, 0.78);
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(199, 111, 72, 0.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #122f29 0%,
            #193a32 52%,
            #21463b 100%
        );
}

.db-site-footer *,
.db-site-footer *::before,
.db-site-footer *::after {
    box-sizing: border-box;
}

.db-site-footer__main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 1.45fr)
        minmax(250px, 0.9fr);
    gap: clamp(38px, 6vw, 92px);
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
    padding:
        clamp(68px, 8vw, 112px)
        0
        clamp(56px, 7vw, 92px);
}

.db-site-footer h2 {
    margin: 0 0 24px;
    color: #fffaf2;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.db-site-footer__logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 22px;
    color: #fffaf2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 0.94;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.db-site-footer__logo span,
.db-site-footer__logo strong {
    display: block;
    color: inherit;
}

.db-site-footer__logo strong {
    font-weight: 600;
}

.db-site-footer__brand p {
    max-width: 390px;
    margin: 0 0 24px;
    color: rgba(255, 250, 242, 0.7);
    font-size: 0.98rem;
    line-height: 1.75;
}

.db-site-footer__location {
    display: inline-flex;
    color: #e3bca5;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
}

.db-site-footer__location:hover,
.db-site-footer__location:focus-visible {
    color: #ffffff;
}

.db-site-footer__nav {
    width: 100%;
}

.db-site-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.db-site-footer__menu li {
    margin: 0;
    padding: 0;
}

.db-site-footer__menu a {
    display: inline-block;
    padding: 3px 0;
    color: rgba(255, 250, 242, 0.78);
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.db-site-footer__menu a:hover,
.db-site-footer__menu a:focus-visible {
    color: #ffffff;
    transform: translateX(3px);
}

.db-site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.db-site-footer__contact-link {
    display: inline-block;
    margin-bottom: 11px;
    color: #fffaf2;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.db-site-footer__contact-link:hover,
.db-site-footer__contact-link:focus-visible {
    color: #e3bca5;
}

.db-site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 18px;
    padding: 13px 24px;
    border: 2px solid #c96c47;
    border-radius: 8px;
    color: #ffffff;
    background: #c96c47;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.db-site-footer__button:hover,
.db-site-footer__button:focus-visible {
    border-color: #e18a64;
    color: #ffffff;
    background: #e18a64;
    transform: translateY(-2px);
}

.db-site-footer__bottom {
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.db-site-footer__bottom p {
    margin: 0;
    color: rgba(255, 250, 242, 0.55);
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .db-site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .db-site-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .db-site-footer__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
        width: min(100% - 36px, 1380px);
        padding-top: 62px;
        padding-bottom: 56px;
    }

    .db-site-footer__contact {
        grid-column: auto;
    }

    .db-site-footer__menu {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .db-site-footer__bottom {
        width: min(100% - 36px, 1380px);
    }

    .db-site-footer__button {
        width: 100%;
    }
}

/* === DB V22.3 CUSTOM SITE FOOTER END === */

/* === DB SEO CONTENT V25 START === */

.db-seo-content {
    width: min(1240px, calc(100% - 40px));
    margin: clamp(64px, 8vw, 108px) auto;
    padding: clamp(42px, 6vw, 82px);
    background: #f7f3ec;
    border: 1px solid rgba(31, 65, 56, 0.10);
    border-radius: 28px;
    box-sizing: border-box;
}

.db-seo-content--home {
    background:
        linear-gradient(
            135deg,
            #f8f3ea 0%,
            #f2eee7 100%
        );
}

.db-seo-content--compact {
    max-width: 1120px;
}

.db-seo-content > h2 {
    max-width: 900px;
    margin: 0 auto 24px;
}

.db-seo-content__lead {
    max-width: 850px;
    margin: 0 auto 46px;
    color: #52635e;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.db-seo-grid {
    gap: 22px;
    margin-top: 42px;
    margin-bottom: 40px;
    align-items: stretch;
}

.db-seo-grid > .wp-block-column {
    padding: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(31, 65, 56, 0.10);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(32, 50, 44, 0.06);
}

.db-seo-grid h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #203f37;
}

.db-seo-grid p:last-child {
    margin-bottom: 0;
}

.db-seo-content a:not(.wp-block-button__link),
.db25-article a:not(.wp-block-button__link),
.db25-related-box a {
    color: #b95332;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.db-seo-content a:not(.wp-block-button__link):hover,
.db25-article a:not(.wp-block-button__link):hover,
.db25-related-box a:hover {
    color: #873a25;
}

.db25-home-buttons,
.db25-article__buttons {
    gap: 14px;
    margin-top: 34px;
}

.db25-home-buttons .wp-block-button__link,
.db25-article__buttons .wp-block-button__link,
.db-seo-content .wp-block-button__link {
    background: #c65c39;
    border: 2px solid #c65c39;
    color: #ffffff;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(156, 66, 38, 0.17);
}

.db25-home-buttons .wp-block-button__link:hover,
.db25-article__buttons .wp-block-button__link:hover,
.db-seo-content .wp-block-button__link:hover {
    background: #9f4328;
    border-color: #9f4328;
    color: #ffffff;
}

.db25-home-buttons .is-style-outline .wp-block-button__link,
.db25-article__buttons .is-style-outline .wp-block-button__link {
    background: transparent;
    border-color: #274d42;
    color: #274d42;
    box-shadow: none;
}

.db25-home-buttons .is-style-outline .wp-block-button__link:hover,
.db25-article__buttons .is-style-outline .wp-block-button__link:hover {
    background: #274d42;
    border-color: #274d42;
    color: #ffffff;
}

.db25-article {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(44px, 6vw, 76px) 0;
}

.db25-article__lead {
    margin-bottom: 46px;
    padding: 26px 30px;
    background: #f7f3ec;
    border-left: 4px solid #c65c39;
    border-radius: 0 16px 16px 0;
    color: #354c45;
    font-size: clamp(1.08rem, 1.5vw, 1.22rem);
    line-height: 1.75;
}

.db25-article h2 {
    margin-top: 58px;
    margin-bottom: 18px;
}

.db25-article p,
.db25-article li {
    line-height: 1.8;
}

.db25-article .wp-block-list {
    margin-top: 22px;
    margin-bottom: 34px;
}

.db25-related-box {
    max-width: 980px;
    margin: 58px auto 22px;
    padding: 30px 34px;
    background: #f7f3ec;
    border: 1px solid rgba(31, 65, 56, 0.12);
    border-radius: 20px;
}

.db25-related-box h2 {
    margin-top: 0;
}

.db25-summary-list {
    max-width: 820px;
    margin: 32px auto;
}

.db25-summary-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

@media (max-width: 781px) {
    .db-seo-content {
        width: min(100% - 24px, 1240px);
        margin: 48px auto;
        padding: 34px 22px;
        border-radius: 20px;
    }

    .db-seo-content__lead {
        margin-bottom: 30px;
    }

    .db-seo-grid {
        gap: 16px;
        margin-top: 30px;
    }

    .db-seo-grid > .wp-block-column {
        padding: 24px 21px;
    }

    .db25-article {
        width: min(100% - 32px, 980px);
        padding: 36px 0 54px;
    }

    .db25-article__lead {
        padding: 22px;
    }

    .db25-article h2 {
        margin-top: 44px;
    }

    .db25-related-box {
        margin: 42px 16px 20px;
        padding: 25px 22px;
    }
}

/* === DB SEO CONTENT V25 END === */

/* === DB V27 LOCAL CONTENT START === */
.db-v27-home-guides,
.db-v27-local-copy {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(64px, 7vw, 104px);
}

.db-v27-guides-intro {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: clamp(34px, 4vw, 52px);
    margin-left: auto;
}

.db-v27-guide-grid {
    gap: clamp(18px, 2.2vw, 28px);
    align-items: stretch;
    margin-bottom: clamp(18px, 2.2vw, 28px);
}

.db-v27-guide-grid > .wp-block-column {
    display: flex;
}

.db-v27-guide-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(43, 70, 61, 0.13);
    border-radius: 20px;
    background: #fffdf9;
    box-shadow: 0 16px 42px rgba(31, 54, 47, 0.07);
}

.db-v27-guide-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #263f37;
}

.db-v27-guide-card p {
    overflow-wrap: anywhere;
}

.db-v27-guide-link {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 14px;
}

.db-v27-guide-link a {
    color: #a94627;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.db-v27-guide-link a:hover,
.db-v27-guide-link a:focus-visible {
    color: #73301d;
    text-decoration-thickness: 2px;
}

.db-v27-local-copy {
    margin-top: clamp(32px, 5vw, 72px);
    margin-bottom: clamp(32px, 5vw, 72px);
}

.db-v27-local-copy > .wp-block-group__inner-container,
.db-v27-local-copy {
    max-width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.db-v27-local-copy p {
    max-width: 850px;
}

@media (max-width: 781px) {
    .db-v27-home-guides,
    .db-v27-local-copy {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .db-v27-guide-grid {
        gap: 16px;
    }

    .db-v27-guide-card {
        padding: 24px;
    }

    .db-v27-local-copy > .wp-block-group__inner-container,
    .db-v27-local-copy {
        max-width: min(100% - 28px, 1180px);
    }
}
/* === DB V27 LOCAL CONTENT END === */

/* DB V28.2E 50PX SECTION RHYTHM START */
body.home :is(.nv-content-wrap.entry-content, .entry-content),
body.db-designed-page :is(.nv-content-wrap.entry-content, .entry-content) {
    display: flow-root;
}

body.home :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]),
body.db-designed-page :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]) {
    clear: both;
    display: flow-root;
}

body.home :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child),
body.db-designed-page :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child) {
    margin-block-start: clamp(50px, 5vw, 88px) !important;
}

body.home :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]),
body.db-designed-page :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]) {
    clear: both;
    display: flow-root;
    transform: none !important;
}

body.home :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child),
body.db-designed-page :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child) {
    margin-block-start: clamp(50px, 5vw, 88px) !important;
}

@media (max-width: 781px) {
    body.home :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child),
    body.db-designed-page :is(.nv-content-wrap.entry-content, .entry-content) > :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-gallery, .wp-block-media-text, .db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child),
    body.home :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child),
    body.db-designed-page :is(.db-v27-home-guides, .db-v27-local-copy, .db-map-section, [id="lokalizacja"]):not(:first-child) {
        margin-block-start: 50px !important;
    }
}
/* DB V28.2E 50PX SECTION RHYTHM END */

/* DB V36 SPACING FOOTER MENU START */
:root {
  --db-v36-section-gap: clamp(76px, 7.5vw, 124px);
  --db-v36-section-gap-small: clamp(56px, 6vw, 88px);
  --db-v36-content-bottom: clamp(84px, 8vw, 132px);
}

/* Większy oddech między głównymi sekcjami treści */
body .entry-content > .wp-block-group + .wp-block-group,
body .entry-content > .wp-block-cover + .wp-block-group,
body .entry-content > .wp-block-group + .wp-block-cover,
body .entry-content > .wp-block-columns + .wp-block-group,
body .entry-content > .wp-block-group + .wp-block-columns,
body main .entry-content > .wp-block-group + .wp-block-group,
body main .entry-content > .wp-block-cover + .wp-block-group,
body main .entry-content > .wp-block-group + .wp-block-cover {
  margin-top: var(--db-v36-section-gap) !important;
}

/* Oddech po ostatniej sekcji przed prawdziwą stopką */
body .entry-content > .wp-block-group:last-child,
body .entry-content > .wp-block-cover:last-child,
body .entry-content > .wp-block-columns:last-child {
  margin-bottom: var(--db-v36-content-bottom) !important;
}

/* Dodatkowy bufor dla jasnych kart, które wizualnie przyklejały się do ciemnych sekcji */
body .entry-content > .wp-block-group.has-background + .wp-block-group,
body .entry-content > .wp-block-group[style*="background"] + .wp-block-group,
body .entry-content > .wp-block-group + .wp-block-group.has-background,
body .entry-content > .wp-block-group + .wp-block-group[style*="background"] {
  margin-top: var(--db-v36-section-gap) !important;
}

/* Prawdziwa stopka zostaje jedna i ma własny spokojny oddech */
body footer,
body .site-footer,
body .nv-footer-content,
body .hfg_footer {
  margin-top: 0 !important;
}

/* Usuwa nadmierne sklejanie w dolnej części podstron */
body:not(.home) .entry-content {
  padding-bottom: clamp(16px, 3vw, 40px);
}

@media (max-width: 782px) {
  :root {
    --db-v36-section-gap: clamp(54px, 12vw, 82px);
    --db-v36-section-gap-small: clamp(42px, 10vw, 66px);
    --db-v36-content-bottom: clamp(64px, 14vw, 96px);
  }

  body .entry-content > .wp-block-group + .wp-block-group,
  body .entry-content > .wp-block-cover + .wp-block-group,
  body .entry-content > .wp-block-group + .wp-block-cover,
  body .entry-content > .wp-block-columns + .wp-block-group,
  body .entry-content > .wp-block-group + .wp-block-columns {
    margin-top: var(--db-v36-section-gap) !important;
  }
}
/* DB V36 SPACING FOOTER MENU END */

/* DB V38 GLOBAL MENU BLOG LAYOUT START */

/* Menu główne: spójność widoczności pozycji Blog i brak ucinania pozycji przy szerokim menu */
body .header-main-inner,
body .builder-item--primary-menu,
body .nv-navbar,
body .nav-menu-primary,
body .header-menu-sidebar,
body .hfg_header {
  overflow: visible !important;
}

body .builder-item--primary-menu .nav-ul,
body .nav-menu-primary ul,
body .header-menu-sidebar .nav-ul,
body .nv-navbar ul,
body .menu {
  max-width: 100% !important;
}

body .builder-item--primary-menu .nav-ul > li,
body .nav-menu-primary li,
body .header-menu-sidebar .nav-ul > li,
body .nv-navbar li,
body .menu li {
  flex: 0 0 auto;
  white-space: nowrap;
}

body .builder-item--primary-menu a[href*="/blog"],
body .nav-menu-primary a[href*="/blog"],
body .header-menu-sidebar a[href*="/blog"],
body .nv-navbar a[href*="/blog"],
body .menu a[href*="/blog"] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
}

/* Desktop: menu może się łamać do drugiej linii zamiast chować ostatnie pozycje */
@media (min-width: 960px) {
  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end;
    align-items: center;
    row-gap: 8px;
  }

  body .builder-item--primary-menu .nav-ul > li > a,
  body .nav-menu-primary li > a,
  body .nv-navbar li > a {
    padding-left: clamp(9px, 0.8vw, 14px) !important;
    padding-right: clamp(9px, 0.8vw, 14px) !important;
  }
}

/* Tablet/mobile: pozycje menu mają być pełnej szerokości i nie mogą wypadać poza panel */
@media (max-width: 959px) {
  body .header-menu-sidebar .nav-ul,
  body .header-menu-sidebar ul,
  body .nav-menu-primary ul,
  body .menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
  }

  body .header-menu-sidebar li,
  body .nav-menu-primary li,
  body .menu li {
    width: 100%;
  }

  body .header-menu-sidebar a,
  body .nav-menu-primary a,
  body .menu a {
    width: 100%;
  }
}

/* Wpisy blogowe: wycentrowany, spójny układ zamiast przesunięcia w prawo */
body.single-post .neve-main,
body.single-post main,
body.single-post article,
body.single-post .nv-single-post-wrap,
body.single-post .nv-content-wrap,
body.single-post .entry-content,
body.blog .neve-main,
body.blog main,
body.blog .nv-index-posts,
body.blog .nv-content-wrap {
  box-sizing: border-box;
}

body.single-post .nv-single-post-wrap,
body.single-post .nv-content-wrap,
body.single-post .entry-content {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post article,
body.single-post .hentry {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post .entry-header,
body.single-post .nv-thumb-wrap,
body.single-post .post-thumbnail,
body.single-post .entry-content > * {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post .entry-content > .alignwide,
body.single-post .entry-content > .wp-block-image,
body.single-post .entry-content > .wp-block-gallery {
  max-width: 1040px !important;
}

body.single-post .entry-content p,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Lista bloga: karty i siatka nie uciekają w prawo */
body.blog .nv-index-posts,
body.archive .nv-index-posts,
body.blog .posts-wrapper,
body.archive .posts-wrapper {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.blog article,
body.archive article,
body.blog .hentry,
body.archive .hentry {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Bezpieczny oddech przy dolnej części wpisów i listy bloga */
body.single-post .entry-content {
  padding-bottom: clamp(72px, 8vw, 120px);
}

body.blog .nv-index-posts {
  padding-bottom: clamp(72px, 8vw, 120px);
}

/* DB V38 GLOBAL MENU BLOG LAYOUT END */

/* DB V39.1 CANONICAL HEADER MENU START */

/* Stabilny header: logo po lewej, menu i CTA w jednej linii na desktopie */
body header,
body .site-header,
body .hfg_header,
body .header-main-inner,
body .header-main-inner .container,
body .builder-item,
body .builder-item--primary-menu,
body .nav-menu-primary,
body .nv-navbar {
  overflow: visible !important;
}

@media (min-width: 960px) {
  body .header-main-inner .container,
  body .hfg_header .header-main-inner .container,
  body .site-header .header-main-inner .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(18px, 2vw, 36px) !important;
    min-height: 88px !important;
  }

  body .builder-item--logo,
  body .site-logo,
  body .site-branding {
    flex: 0 0 auto !important;
    min-width: 230px !important;
  }

  body .builder-item--primary-menu,
  body .nav-menu-primary,
  body .nv-navbar {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body header nav ul,
  body .site-header nav ul,
  body .hfg_header nav ul,
  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 clamp(12px, 1vw, 22px) !important;
    overflow: visible !important;
    max-width: 100% !important;
  }

  body header nav li,
  body .site-header nav li,
  body .hfg_header nav li,
  body .builder-item--primary-menu .nav-ul > li,
  body .nav-menu-primary li,
  body .nv-navbar li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  body header nav a,
  body .site-header nav a,
  body .hfg_header nav a,
  body .builder-item--primary-menu .nav-ul > li > a,
  body .nav-menu-primary li > a,
  body .nv-navbar li > a {
    white-space: nowrap !important;
    font-size: clamp(14px, 0.9vw, 17px) !important;
    line-height: 1.2 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body header a[href*="/blog"],
  body .site-header a[href*="/blog"],
  body .hfg_header a[href*="/blog"],
  body .builder-item--primary-menu a[href*="/blog"],
  body .nav-menu-primary a[href*="/blog"],
  body .nv-navbar a[href*="/blog"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
  }

  body header .wp-block-button__link,
  body header .button,
  body .site-header .wp-block-button__link,
  body .site-header .button,
  body .hfg_header .wp-block-button__link,
  body .hfg_header .button {
    white-space: nowrap !important;
  }
}

/* Na mniejszych ekranach menu nie ma prawa ucinać pozycji */
@media (max-width: 959px) {
  body .header-menu-sidebar,
  body .header-menu-sidebar .nav-ul,
  body .header-menu-sidebar ul,
  body .nav-menu-primary ul,
  body .menu {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body .header-menu-sidebar li,
  body .nav-menu-primary li,
  body .menu li {
    width: 100% !important;
  }

  body .header-menu-sidebar a,
  body .nav-menu-primary a,
  body .menu a {
    width: 100% !important;
    display: flex !important;
  }
}

/* Wpisy blogowe: środek strony, bez uciekania w prawo */
body.single-post .container,
body.single-post .content-area,
body.single-post .nv-single-post-wrap,
body.single-post .nv-content-wrap,
body.single-post article,
body.single-post .entry-header,
body.single-post .entry-content {
  float: none !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.single-post .nv-single-post-wrap,
body.single-post .nv-content-wrap,
body.single-post .entry-content {
  max-width: 860px !important;
  width: min(860px, calc(100% - 32px)) !important;
}

body.single-post article,
body.single-post .hentry {
  max-width: 960px !important;
  width: min(960px, calc(100% - 32px)) !important;
}

/* DB V39.1 CANONICAL HEADER MENU END */

/* DB V40 HEADER TOPBAR CLEANUP START */

/* Top bar nie powinien renderować drugiego menu nad głównym headerem */
body .hfg_header .header-top,
body .site-header .header-top,
body .header-top {
  min-height: 0 !important;
}

body .hfg_header .header-top .builder-item--primary-menu,
body .hfg_header .header-top .nav-menu-primary,
body .site-header .header-top .builder-item--primary-menu,
body .site-header .header-top .nav-menu-primary {
  display: none !important;
}

/* Główny header: jedna stabilna linia na desktopie */
@media (min-width: 1100px) {
  body .header-main-inner .container,
  body .hfg_header .header-main-inner .container,
  body .site-header .header-main-inner .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: clamp(20px, 2vw, 40px) !important;
    min-height: 88px !important;
  }

  body .builder-item--logo,
  body .site-logo,
  body .site-branding {
    flex: 0 0 clamp(220px, 18vw, 300px) !important;
    min-width: clamp(220px, 18vw, 300px) !important;
  }

  body .builder-item--primary-menu,
  body .nav-menu-primary,
  body .nv-navbar {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul,
  body header nav ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(14px, 1.15vw, 24px) !important;
    overflow: visible !important;
  }

  body .builder-item--primary-menu .nav-ul > li,
  body .nav-menu-primary li,
  body .nv-navbar li,
  body header nav li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  body .builder-item--primary-menu .nav-ul > li > a,
  body .nav-menu-primary li > a,
  body .nv-navbar li > a,
  body header nav li > a {
    font-size: clamp(14px, 0.88vw, 16px) !important;
    line-height: 1.2 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap !important;
  }

  body .builder-item--button_base,
  body .builder-item--button,
  body .builder-item--header_button,
  body .hfg_header .button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

/* Przy średnich szerokościach menu może przejść do dwóch linii, ale nie może chować Bloga */
@media (min-width: 960px) and (max-width: 1099px) {
  body .header-main-inner .container,
  body .hfg_header .header-main-inner .container,
  body .site-header .header-main-inner .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    row-gap: 10px !important;
  }

  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul,
  body header nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px 16px !important;
  }
}

/* Blog w headerze zawsze widoczny */
body header a[href*="/blog"],
body .site-header a[href*="/blog"],
body .hfg_header a[href*="/blog"],
body .builder-item--primary-menu a[href*="/blog"],
body .nav-menu-primary a[href*="/blog"],
body .nv-navbar a[href*="/blog"] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
  white-space: nowrap !important;
}

/* Wpisy blogowe nadal trzymamy centralnie */
body.single-post .nv-single-post-wrap,
body.single-post .nv-content-wrap,
body.single-post article,
body.single-post .entry-header,
body.single-post .entry-content {
  float: none !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.single-post .entry-content,
body.single-post .nv-content-wrap {
  max-width: 860px !important;
  width: min(860px, calc(100% - 32px)) !important;
}

/* DB V40 HEADER TOPBAR CLEANUP END */

/* DB V41 HEADER RESERVATION CTA START */

/* Przywrócony przycisk rezerwacyjny w głównym menu */
body header li.db-header-reservation-cta,
body .site-header li.db-header-reservation-cta,
body .hfg_header li.db-header-reservation-cta,
body .builder-item--primary-menu li.db-header-reservation-cta,
body .nav-menu-primary li.db-header-reservation-cta,
body .nv-navbar li.db-header-reservation-cta {
  flex: 0 0 auto !important;
  margin-left: clamp(10px, 1vw, 18px) !important;
}

body header li.db-header-reservation-cta > a,
body .site-header li.db-header-reservation-cta > a,
body .hfg_header li.db-header-reservation-cta > a,
body .builder-item--primary-menu li.db-header-reservation-cta > a,
body .nav-menu-primary li.db-header-reservation-cta > a,
body .nv-navbar li.db-header-reservation-cta > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
  background: #d96f4a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body header li.db-header-reservation-cta > a:hover,
body .site-header li.db-header-reservation-cta > a:hover,
body .hfg_header li.db-header-reservation-cta > a:hover {
  background: #c95f3e !important;
  color: #ffffff !important;
}

/* Menu + CTA ma zostać w jednej, czytelnej linii na szerokich ekranach */
@media (min-width: 1180px) {
  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul,
  body header nav ul {
    justify-content: flex-end !important;
    gap: clamp(12px, 0.95vw, 20px) !important;
  }

  body .builder-item--primary-menu .nav-ul > li > a,
  body .nav-menu-primary li > a,
  body .nv-navbar li > a,
  body header nav li > a {
    font-size: clamp(14px, 0.82vw, 16px) !important;
  }
}

/* Na średnich szerokościach CTA może spaść do drugiej linii, ale ma nie znikać */
@media (min-width: 960px) and (max-width: 1179px) {
  body .builder-item--primary-menu .nav-ul,
  body .nav-menu-primary ul,
  body .nv-navbar ul,
  body header nav ul {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    row-gap: 10px !important;
  }

  body header li.db-header-reservation-cta,
  body .site-header li.db-header-reservation-cta,
  body .hfg_header li.db-header-reservation-cta {
    margin-left: 0 !important;
  }
}

/* Mobile/offcanvas: przycisk rezerwacyjny pełnej szerokości */
@media (max-width: 959px) {
  body header li.db-header-reservation-cta,
  body .site-header li.db-header-reservation-cta,
  body .hfg_header li.db-header-reservation-cta,
  body .header-menu-sidebar li.db-header-reservation-cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }

  body header li.db-header-reservation-cta > a,
  body .site-header li.db-header-reservation-cta > a,
  body .hfg_header li.db-header-reservation-cta > a,
  body .header-menu-sidebar li.db-header-reservation-cta > a {
    width: 100% !important;
  }
}

/* DB V41 HEADER RESERVATION CTA END */

/* DB V42 HEADER CTA STRONG RED START */

/* Mocniejszy czerwony przycisk rezerwacyjny w headerze */
body header li.db-header-reservation-cta > a,
body .site-header li.db-header-reservation-cta > a,
body .hfg_header li.db-header-reservation-cta > a,
body .builder-item--primary-menu li.db-header-reservation-cta > a,
body .nav-menu-primary li.db-header-reservation-cta > a,
body .nv-navbar li.db-header-reservation-cta > a,
body .header-menu-sidebar li.db-header-reservation-cta > a {
  background: #b91c1c !important;
  color: #ffffff !important;
  border: 2px solid #b91c1c !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 0 28px !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.28) !important;
  transform: translateY(0) !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

body header li.db-header-reservation-cta > a:hover,
body .site-header li.db-header-reservation-cta > a:hover,
body .hfg_header li.db-header-reservation-cta > a:hover,
body .builder-item--primary-menu li.db-header-reservation-cta > a:hover,
body .nav-menu-primary li.db-header-reservation-cta > a:hover,
body .nv-navbar li.db-header-reservation-cta > a:hover,
body .header-menu-sidebar li.db-header-reservation-cta > a:hover {
  background: #991b1b !important;
  border-color: #991b1b !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 16px 34px rgba(153, 27, 27, 0.34) !important;
}

body header li.db-header-reservation-cta > a:focus-visible,
body .site-header li.db-header-reservation-cta > a:focus-visible,
body .hfg_header li.db-header-reservation-cta > a:focus-visible,
body .header-menu-sidebar li.db-header-reservation-cta > a:focus-visible {
  outline: 3px solid rgba(185, 28, 28, 0.32) !important;
  outline-offset: 4px !important;
}

/* Desktop: przycisk trochę oddzielony od zwykłych pozycji menu */
@media (min-width: 1180px) {
  body header li.db-header-reservation-cta,
  body .site-header li.db-header-reservation-cta,
  body .hfg_header li.db-header-reservation-cta,
  body .builder-item--primary-menu li.db-header-reservation-cta,
  body .nav-menu-primary li.db-header-reservation-cta,
  body .nv-navbar li.db-header-reservation-cta {
    margin-left: clamp(14px, 1.3vw, 26px) !important;
  }
}

/* Mobile: pełna szerokość, nadal czerwony i mocno widoczny */
@media (max-width: 959px) {
  body header li.db-header-reservation-cta > a,
  body .site-header li.db-header-reservation-cta > a,
  body .hfg_header li.db-header-reservation-cta > a,
  body .header-menu-sidebar li.db-header-reservation-cta > a {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 24px !important;
  }
}

/* DB V42 HEADER CTA STRONG RED END */

/* DB V43 FORCE HEADER CTA BUTTON START */

/* Wymuszenie wyglądu przycisku po konkretnym ID elementu menu */
body header li.menu-item-211 > a,
body header #menu-item-211 > a,
body .site-header li.menu-item-211 > a,
body .site-header #menu-item-211 > a,
body .hfg_header li.menu-item-211 > a,
body .hfg_header #menu-item-211 > a,
body .builder-item--primary-menu li.menu-item-211 > a,
body .nav-menu-primary li.menu-item-211 > a,
body .nv-navbar li.menu-item-211 > a,
body .header-menu-sidebar li.menu-item-211 > a,
body header li.db-header-reservation-cta > a,
body .site-header li.db-header-reservation-cta > a,
body .hfg_header li.db-header-reservation-cta > a,
body .builder-item--primary-menu li.db-header-reservation-cta > a,
body .nav-menu-primary li.db-header-reservation-cta > a,
body .nv-navbar li.db-header-reservation-cta > a,
body .header-menu-sidebar li.db-header-reservation-cta > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 7px !important;
  background-color: #d96f4a !important;
  background: #d96f4a !important;
  color: #ffffff !important;
  border: 2px solid #d96f4a !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(217, 111, 74, 0.28) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body header li.menu-item-211 > a:hover,
body header #menu-item-211 > a:hover,
body .site-header li.menu-item-211 > a:hover,
body .site-header #menu-item-211 > a:hover,
body .hfg_header li.menu-item-211 > a:hover,
body .hfg_header #menu-item-211 > a:hover,
body .builder-item--primary-menu li.menu-item-211 > a:hover,
body .nav-menu-primary li.menu-item-211 > a:hover,
body .nv-navbar li.menu-item-211 > a:hover,
body .header-menu-sidebar li.menu-item-211 > a:hover,
body header li.db-header-reservation-cta > a:hover,
body .site-header li.db-header-reservation-cta > a:hover,
body .hfg_header li.db-header-reservation-cta > a:hover {
  background-color: #c85f3e !important;
  background: #c85f3e !important;
  border-color: #c85f3e !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(200, 95, 62, 0.34) !important;
}

body header li.menu-item-211,
body header #menu-item-211,
body .site-header li.menu-item-211,
body .site-header #menu-item-211,
body .hfg_header li.menu-item-211,
body .hfg_header #menu-item-211,
body .builder-item--primary-menu li.menu-item-211,
body .nav-menu-primary li.menu-item-211,
body .nv-navbar li.menu-item-211,
body .header-menu-sidebar li.menu-item-211,
body header li.db-header-reservation-cta,
body .site-header li.db-header-reservation-cta,
body .hfg_header li.db-header-reservation-cta {
  margin-left: clamp(12px, 1.1vw, 22px) !important;
  flex: 0 0 auto !important;
}

@media (max-width: 959px) {
  body header li.menu-item-211,
  body header #menu-item-211,
  body .site-header li.menu-item-211,
  body .site-header #menu-item-211,
  body .hfg_header li.menu-item-211,
  body .hfg_header #menu-item-211,
  body .header-menu-sidebar li.menu-item-211,
  body .header-menu-sidebar #menu-item-211,
  body .header-menu-sidebar li.db-header-reservation-cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }

  body header li.menu-item-211 > a,
  body header #menu-item-211 > a,
  body .site-header li.menu-item-211 > a,
  body .site-header #menu-item-211 > a,
  body .hfg_header li.menu-item-211 > a,
  body .hfg_header #menu-item-211 > a,
  body .header-menu-sidebar li.menu-item-211 > a,
  body .header-menu-sidebar #menu-item-211 > a,
  body .header-menu-sidebar li.db-header-reservation-cta > a {
    width: 100% !important;
    min-height: 52px !important;
  }
}

/* DB V43 FORCE HEADER CTA BUTTON END */
