/*
Theme Name: Kadence Noclegi Ojcow Child
Theme URI: https://noclegi-ojcow.pl
Description: Child theme for the noclegi-ojcow.pl local accommodation portal.
Author: noclegi-ojcow.pl
Template: kadence
Version: 1.0.0
Text Domain: kadence-noclegi
*/

:root {
	--nopn-forest: #153f32;
	--nopn-leaf: #54775a;
	--nopn-clay: #b96f37;
	--nopn-sun: #d7a64d;
	--nopn-sky: #dbe9ec;
	--nopn-stone: #f2efe8;
	--nopn-paper: #fffdf8;
	--nopn-ink: #14201b;
	--nopn-muted: #66736c;
	--nopn-line: #e0ded5;
	--nopn-white: #ffffff;
	--nopn-shadow: 0 18px 48px rgba(20, 32, 27, 0.13);
}

body {
	color: var(--nopn-ink);
	background: #f8f5ed;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.page .entry-header {
	display: none;
}

.page .entry-hero.page-hero-section {
	display: none;
}

.page .entry.single-entry {
	box-shadow: none;
	background: transparent;
}

.page .entry-content-wrap {
	padding: 0;
}

.site .entry-content {
	margin-top: 0;
}

.content-area,
.site-main {
	margin-top: 0;
}

.site-header,
#masthead {
	border-bottom: 1px solid rgba(20, 32, 27, 0.08);
	background: rgba(255, 253, 248, 0.96);
	box-shadow: 0 10px 28px rgba(20, 32, 27, 0.06);
}

.site-branding a,
.site-title a {
	color: var(--nopn-forest);
	font-weight: 800;
}

.site-branding .custom-logo,
.site-logo-img img,
.site-branding img {
	width: auto;
	max-width: 320px;
	max-height: 128px;
	height: auto;
	object-fit: contain;
}

#masthead .site-branding .custom-logo,
#masthead .site-logo-img img,
#masthead .site-branding img {
	width: auto;
	max-width: 320px;
	max-height: 128px;
	height: auto;
	object-fit: contain;
}

.mobile-header .site-branding .custom-logo,
.mobile-header .site-logo-img img,
.mobile-header .site-branding img,
#mobile-header .site-branding .custom-logo,
#mobile-header .site-logo-img img,
#mobile-header .site-branding img {
	max-width: 230px;
	max-height: 80px;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-weight: 700;
}

.nopn-hero {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	min-height: calc(100vh - 84px);
	padding: 0;
	color: var(--nopn-white);
}

.nopn-hero.wp-block-cover {
	align-items: center;
	justify-content: flex-start;
}

.nopn-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(7, 18, 15, 0.82), rgba(21, 63, 50, 0.52) 46%, rgba(7, 18, 15, 0.18)),
		linear-gradient(0deg, rgba(7, 18, 15, 0.38), rgba(7, 18, 15, 0));
	pointer-events: none;
}

.nopn-hero .wp-block-cover__background {
	opacity: 0 !important;
	z-index: 1;
}

.wp-block-cover.nopn-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
body:not(.editor-styles-wrapper) .wp-block-cover.nopn-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 20 !important;
	width: min(1180px, calc(100% - 44px));
	margin-inline: auto;
	padding-block: 72px 118px;
	color: var(--nopn-white);
	opacity: 1 !important;
	filter: none !important;
	mix-blend-mode: normal;
}

.wp-block-cover.nopn-hero h1.wp-block-heading {
	max-width: 920px;
	margin: 0 0 22px;
	color: var(--nopn-white);
	opacity: 1 !important;
	font-size: 4.75rem;
	line-height: 1.02;
	letter-spacing: 0;
	text-wrap: balance;
}

.wp-block-cover.nopn-hero p {
	max-width: 720px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.92);
	opacity: 1 !important;
	font-size: 1.22rem;
	line-height: 1.65;
}

.nopn-hero .wp-block-button__link,
.nopn-button,
.nopn-card__button,
.nopn-link-button,
.nopn-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 20px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: var(--nopn-sun);
	color: #141913;
	font-weight: 800;
	text-decoration: none;
	line-height: 1.2;
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.nopn-hero .wp-block-button__link:hover,
.nopn-button:hover,
.nopn-card__button:hover,
.nopn-link-button:hover,
.nopn-search button:hover {
	background: #e3b762;
	color: #141913;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(20, 32, 27, 0.14);
}

.nopn-search-shell {
	position: relative;
	z-index: 5;
	width: min(1180px, calc(100% - 44px));
	margin: -68px auto 0;
	padding: 0;
}

.nopn-search {
	display: grid;
	grid-template-columns: 1.15fr 1fr 0.85fr 0.85fr auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.96);
	box-shadow: var(--nopn-shadow);
	backdrop-filter: blur(14px);
}

.nopn-search label {
	display: grid;
	gap: 7px;
	min-width: 0;
	color: var(--nopn-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.nopn-search input,
.nopn-search select {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-white);
	color: var(--nopn-ink);
	font-size: 1rem;
}

.nopn-search button {
	width: 100%;
	min-width: 150px;
	cursor: pointer;
}

.nopn-section {
	width: min(1180px, calc(100% - 44px));
	margin-inline: auto;
	padding-block: 72px;
}

.nopn-section--compact {
	padding-block: 52px;
}

.nopn-section--soft,
.nopn-section--why {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: max(22px, calc((100vw - 1180px) / 2));
	background: var(--nopn-stone);
}

.nopn-section--why {
	background: linear-gradient(180deg, #fffdf8, #eef5f0);
}

.nopn-section__intro {
	display: flex;
	gap: 24px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 28px;
}

.nopn-section__intro > * {
	min-width: 0;
}

.nopn-eyebrow,
.wp-block-cover.nopn-hero p.nopn-eyebrow {
	margin: 0 0 10px;
	color: var(--nopn-clay);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

.nopn-section h2,
.nopn-list-heading {
	margin: 0 0 16px;
	font-size: 2.45rem;
	line-height: 1.12;
	letter-spacing: 0;
	text-wrap: balance;
}

.nopn-section p {
	max-width: 820px;
	color: var(--nopn-muted);
}

.nopn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 24px 0 0;
}

.nopn-location-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.nopn-location-tile {
	position: relative;
	display: grid;
	min-height: 210px;
	overflow: hidden;
	align-items: end;
	border-radius: 8px;
	background: var(--nopn-forest);
	color: var(--nopn-white);
	text-decoration: none;
	box-shadow: 0 16px 38px rgba(20, 32, 27, 0.12);
}

.nopn-location-tile:hover {
	color: var(--nopn-white);
	text-decoration: none;
	transform: translateY(-2px);
}

.nopn-location-tile__image {
	position: absolute;
	inset: 0;
}

.nopn-location-tile__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 40, 32, 0.08), rgba(16, 40, 32, 0.78));
}

.nopn-location-tile__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.24s ease;
}

.nopn-location-tile:hover .nopn-location-tile__image img {
	transform: scale(1.04);
}

.nopn-location-tile__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 5px;
	padding: 18px;
}

.nopn-location-tile__content strong {
	font-size: 1.24rem;
	line-height: 1.15;
}

.nopn-location-tile__content span {
	color: rgba(255, 255, 255, 0.84);
	font-weight: 800;
}

.nopn-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(224, 222, 213, 0.86);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: 0 16px 38px rgba(20, 32, 27, 0.1);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nopn-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 54px rgba(20, 32, 27, 0.16);
}

.nopn-card__image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: #d8ded8;
}

.nopn-card--attraction .nopn-card__image {
	aspect-ratio: 16 / 10;
}

.nopn-card__image img,
.nopn-single__hero img,
.nopn-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.nopn-card:hover .nopn-card__image img {
	transform: scale(1.04);
}

.nopn-card__badge {
	position: absolute;
	left: 14px;
	top: 14px;
	padding: 7px 11px;
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.92);
	color: var(--nopn-forest);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
	box-shadow: 0 8px 18px rgba(20, 32, 27, 0.16);
}

.nopn-card__placeholder,
.nopn-image-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background:
		linear-gradient(135deg, rgba(21, 63, 50, 0.9), rgba(185, 111, 55, 0.7)),
		var(--nopn-stone);
	color: var(--nopn-white);
	font-weight: 700;
	text-align: center;
}

.nopn-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.nopn-object-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 2px 0 12px;
}

.nopn-object-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.nopn-object-badge--verified {
	background: #eaf5ee;
	color: var(--nopn-forest);
}

.nopn-object-badge--featured {
	background: #fff2d7;
	color: #7a4d0a;
}

.nopn-card__meta,
.nopn-single__meta {
	color: var(--nopn-clay);
	font-size: 0.86rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

.nopn-card h3 {
	margin: 8px 0 10px;
	font-size: 1.28rem;
	line-height: 1.22;
	letter-spacing: 0;
}

.nopn-card h3 a {
	color: var(--nopn-ink);
	text-decoration: none;
}

.nopn-card h3 a:hover {
	color: var(--nopn-forest);
	text-decoration: underline;
}

.nopn-card p {
	margin: 0 0 16px;
	color: var(--nopn-muted);
	line-height: 1.58;
}

.nopn-rating {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 16px;
	color: var(--nopn-muted);
	font-weight: 800;
}

.nopn-rating--compact {
	margin-bottom: 12px;
	font-size: 0.92rem;
}

.nopn-rating__stars {
	display: inline-flex;
	gap: 2px;
	color: #c9c2ad;
	letter-spacing: 0;
}

.nopn-rating__stars .is-filled {
	color: var(--nopn-sun);
}

.nopn-rating--empty {
	color: #7c837e;
}

.nopn-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: auto 0 18px;
}

.nopn-card__facts span,
.nopn-card__distance {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	min-height: 32px;
	padding: 7px 10px;
	border-radius: 999px;
	background: #eef5f0;
	color: var(--nopn-forest);
	font-size: 0.88rem;
	font-weight: 800;
}

.nopn-card svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.nopn-card__bottom {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.nopn-card__price {
	color: var(--nopn-forest);
	font-size: 1.35rem;
	font-weight: 900;
	white-space: nowrap;
}

.nopn-card__price small {
	display: block;
	color: var(--nopn-muted);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.nopn-card__button {
	min-width: 142px;
	white-space: nowrap;
}

.nopn-card__type {
	color: var(--nopn-forest);
	font-weight: 900;
}

.nopn-card--atrakcja .nopn-card__body,
.nopn-card--attraction .nopn-card__body {
	padding: 18px;
}

.nopn-card--atrakcja .nopn-card__distance,
.nopn-card--attraction .nopn-card__distance {
	margin: auto 0 16px;
	width: fit-content;
	background: #f6eee2;
	color: #7a431f;
}

.nopn-card--atrakcja .nopn-card__button,
.nopn-card--attraction .nopn-card__button {
	width: 100%;
}

.nopn-pagination {
	margin-top: 28px;
}

.nopn-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nopn-pagination a,
.nopn-pagination span {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	color: var(--nopn-forest);
	font-weight: 900;
	text-decoration: none;
}

.nopn-pagination .current {
	background: var(--nopn-forest);
	color: var(--nopn-white);
}

.nopn-related__grid,
.nopn-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.nopn-related__group,
.nopn-info-box {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: 0 12px 28px rgba(20, 32, 27, 0.08);
}

.nopn-related__group h3,
.nopn-info-box h2 {
	margin: 0 0 14px;
	font-size: 1.2rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.nopn-nearby-list,
.nopn-distance-list {
	display: grid;
	gap: 10px;
}

.nopn-nearby-card,
.nopn-distance-row {
	display: grid;
	gap: 4px;
	padding: 12px;
	border: 1px solid rgba(224, 222, 213, 0.85);
	border-radius: 8px;
	background: var(--nopn-white);
	color: var(--nopn-ink);
	text-decoration: none;
}

.nopn-distance-row {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.nopn-nearby-card:hover,
.nopn-distance-row:hover {
	border-color: rgba(84, 119, 90, 0.55);
	color: var(--nopn-forest);
	text-decoration: none;
}

.nopn-nearby-card__type,
.nopn-distance-row span {
	color: var(--nopn-clay);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.nopn-card--event .nopn-card__image {
	aspect-ratio: 16 / 10;
}

.nopn-empty {
	padding: 24px;
	border: 1px dashed var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-white);
	color: var(--nopn-muted);
}

.nopn-map-shell {
	position: relative;
}

.nopn-map-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.nopn-map-filters button {
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	color: var(--nopn-forest);
	font-weight: 900;
	cursor: pointer;
}

.nopn-map-filters button.is-active {
	background: var(--nopn-forest);
	color: var(--nopn-white);
}

.nopn-map {
	position: relative;
	z-index: 1;
	min-height: 520px;
	overflow: hidden;
	border: 1px solid rgba(224, 222, 213, 0.9);
	border-radius: 8px;
	background: var(--nopn-stone);
	box-shadow: var(--nopn-shadow);
}

.nopn-map-popup strong {
	display: block;
	margin-bottom: 6px;
	color: var(--nopn-ink);
	font-size: 1rem;
}

.nopn-map-popup__type {
	display: inline-block;
	margin-bottom: 5px;
	color: var(--nopn-clay);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.nopn-map-popup p {
	margin: 0 0 8px;
	color: var(--nopn-muted);
	line-height: 1.45;
}

.nopn-map-popup a {
	color: var(--nopn-forest);
	font-weight: 800;
}

.nopn-map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	color: var(--nopn-muted);
	font-weight: 800;
}

.nopn-map-legend span {
	display: inline-flex;
	gap: 7px;
	align-items: center;
}

.nopn-map-legend i {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--nopn-forest);
}

.nopn-map-legend .is-stay {
	background: var(--nopn-sun);
}

.nopn-map-legend .is-food {
	background: var(--nopn-clay);
}

.nopn-map-legend .is-attraction {
	background: var(--nopn-forest);
}

.nopn-owner-cta {
	position: relative;
	display: flex;
	gap: 24px;
	overflow: hidden;
	align-items: center;
	justify-content: space-between;
	padding: 38px;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(16, 40, 32, 0.96), rgba(21, 63, 50, 0.88)),
		var(--nopn-forest);
	color: var(--nopn-white);
	box-shadow: var(--nopn-shadow);
}

.nopn-owner-cta .wp-block-group__inner-container {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}

.nopn-owner-cta h2 {
	color: var(--nopn-white);
}

.nopn-owner-cta p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.82);
}

.nopn-blog-topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.nopn-blog-topics li {
	padding: 16px 18px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	color: var(--nopn-forest);
	font-weight: 800;
}

.nopn-form-wrap {
	max-width: 900px;
	margin-top: 28px;
	padding: 24px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: var(--nopn-shadow);
}

.nopn-ff-upload {
	padding: 16px;
	border: 1px dashed rgba(84, 119, 90, 0.45);
	border-radius: 8px;
	background: #f7fbf7;
}

.nopn-ff-upload__input {
	width: 100%;
	padding: 13px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-white);
	color: var(--nopn-ink);
}

.nopn-ff-upload__help {
	margin-top: 8px;
	color: var(--nopn-muted);
	font-size: 0.92rem;
}

.nopn-ff-upload__status {
	margin-top: 9px;
	color: var(--nopn-forest);
	font-size: 0.92rem;
	font-weight: 800;
}

.nopn-ff-upload__status.is-error {
	color: #9f341c;
}

.nopn-why-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.nopn-why-item {
	min-width: 0;
	padding: 22px;
	border: 1px solid rgba(224, 222, 213, 0.86);
	border-radius: 8px;
	background: rgba(255, 253, 248, 0.9);
	box-shadow: 0 12px 28px rgba(20, 32, 27, 0.08);
}

.nopn-why-icon {
	display: inline-grid;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	place-items: center;
	border-radius: 8px;
	background: var(--nopn-forest);
	color: var(--nopn-white);
}

.nopn-why-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nopn-why-item h3 {
	margin: 0 0 8px;
	font-size: 1.08rem;
	line-height: 1.24;
}

.nopn-why-item p {
	margin: 0;
	font-size: 0.95rem;
}

.nopn-park {
	align-items: center;
	gap: 42px;
}

.nopn-park .wp-block-media-text__media {
	overflow: hidden;
	border-radius: 8px;
	box-shadow: var(--nopn-shadow);
}

.nopn-park img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nopn-park .wp-block-media-text__content {
	padding: 0;
}

.nopn-single {
	width: min(1180px, calc(100% - 44px));
	margin: 42px auto 72px;
}

.nopn-breadcrumbs {
	margin-bottom: 18px;
	color: var(--nopn-muted);
	font-size: 0.92rem;
}

.nopn-breadcrumbs a {
	color: var(--nopn-forest);
	font-weight: 800;
	text-decoration: none;
}

.nopn-breadcrumbs a:hover {
	text-decoration: underline;
}

.nopn-single__hero {
	overflow: hidden;
	aspect-ratio: 16 / 7;
	border-radius: 8px;
	background: var(--nopn-stone);
	box-shadow: var(--nopn-shadow);
}

.nopn-single__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 48px;
	margin-top: 42px;
	align-items: start;
}

.nopn-single h1 {
	margin: 8px 0 14px;
	font-size: 3.4rem;
	line-height: 1.06;
	letter-spacing: 0;
}

.nopn-single__lead {
	max-width: 760px;
	color: var(--nopn-muted);
	font-size: 1.1rem;
	line-height: 1.65;
}

.nopn-location-archive__header {
	padding: 34px 0 10px;
}

.nopn-location-archive__header h1 {
	margin: 8px 0 14px;
	font-size: 3.4rem;
	line-height: 1.06;
	letter-spacing: 0;
}

.nopn-location-archive__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.nopn-location-archive__stats span {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef5f0;
	color: var(--nopn-forest);
	font-weight: 900;
}

.nopn-panel {
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	padding: 20px;
	box-shadow: 0 12px 34px rgba(20, 32, 27, 0.09);
}

.nopn-panel h2 {
	margin: 0 0 14px;
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.nopn-detail-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nopn-detail-list li {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--nopn-line);
}

.nopn-detail-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.nopn-detail-list strong {
	color: var(--nopn-ink);
}

.nopn-single__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	margin-top: 42px;
}

.nopn-richtext {
	color: var(--nopn-ink);
	line-height: 1.7;
}

.nopn-richtext p:first-child {
	margin-top: 0;
}

.nopn-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nopn-amenities li {
	border: 1px solid var(--nopn-line);
	border-radius: 999px;
	padding: 8px 12px;
	background: var(--nopn-white);
	color: var(--nopn-forest);
	font-weight: 800;
}

.nopn-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.nopn-gallery a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: var(--nopn-stone);
}

.nopn-comments {
	margin-top: 54px;
	padding: 28px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: 0 12px 34px rgba(20, 32, 27, 0.09);
}

.nopn-comments .comments-title,
.nopn-comments .comment-reply-title {
	margin-top: 0;
	font-size: 1.65rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.nopn-comments .comment-list {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.nopn-comments .comment-body {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--nopn-line);
}

.nopn-comment-rating {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
	color: var(--nopn-forest);
	font-weight: 900;
}

.comment-form-nopn-rating {
	display: grid;
	gap: 8px;
}

.nopn-review-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	width: fit-content;
}

.nopn-review-rating input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nopn-review-rating label {
	margin: 0;
	color: #c9c2ad;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.nopn-review-rating label::before {
	content: "\2605";
}

.nopn-review-rating input:checked ~ label,
.nopn-review-rating label:hover,
.nopn-review-rating label:hover ~ label {
	color: var(--nopn-sun);
}

.nopn-review-rating label {
	font-size: 0;
}

.nopn-review-rating label::before {
	font-size: 1.8rem;
}

.nopn-footer {
	margin-top: 0;
	padding: 42px max(22px, calc((100vw - 1180px) / 2)) 22px;
	background: #102820;
	color: rgba(255, 255, 255, 0.83);
}

.nopn-footer a {
	color: var(--nopn-white);
	font-weight: 800;
	text-decoration: none;
}

.nopn-footer a:hover {
	text-decoration: underline;
}

.nopn-footer__inner,
.nopn-footer .wp-block-columns.nopn-footer__inner {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(150px, 0.8fr));
	gap: 34px;
	align-items: start;
}

.nopn-footer .wp-block-columns.nopn-footer__inner > .wp-block-column {
	min-width: 0;
	flex-basis: auto;
	flex-grow: 0;
}

.nopn-footer .wp-block-columns,
.nopn-footer .wp-block-column {
	margin-bottom: 0;
}

.nopn-footer__logo {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 1.45rem;
	font-weight: 900;
	line-height: 1.15;
}

.nopn-footer__logo--image {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.nopn-footer__logo--image img {
	width: auto;
	max-width: 76px;
	max-height: 76px;
	border-radius: 10px;
	object-fit: contain;
}

.nopn-footer__logo--image span {
	color: var(--nopn-white);
}

.nopn-footer h2 {
	margin: 0 0 12px;
	color: var(--nopn-white);
	font-size: 1rem;
	line-height: 1.2;
}

.nopn-footer p {
	margin: 0 0 12px;
	max-width: 520px;
	color: rgba(255, 255, 255, 0.75);
}

.nopn-footer__nav ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nopn-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.nopn-footer__bottom p {
	margin: 0;
	font-size: 0.9rem;
}

.nopn-portal-notice {
	position: fixed;
	right: 24px;
	bottom: 112px;
	z-index: 99990;
	width: min(430px, calc(100vw - 32px));
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.24s ease, transform 0.24s ease;
}

.nopn-portal-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.nopn-portal-notice__panel {
	position: relative;
	overflow: hidden;
	max-height: min(72vh, 680px);
	padding: 24px;
	border: 1px solid rgba(21, 63, 50, 0.18);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: 0 22px 70px rgba(20, 32, 27, 0.2);
	color: var(--nopn-ink);
}

.nopn-portal-notice__panel::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--nopn-forest), var(--nopn-sun));
}

.nopn-portal-notice__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--nopn-line);
	border-radius: 999px;
	background: var(--nopn-white);
	color: var(--nopn-forest);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.nopn-portal-notice__eyebrow {
	margin: 0 42px 7px 0;
	color: var(--nopn-clay);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nopn-portal-notice h2 {
	margin: 0 42px 12px 0;
	color: var(--nopn-ink);
	font-size: 1.35rem;
	line-height: 1.18;
}

.nopn-portal-notice__content {
	overflow: auto;
	max-height: min(43vh, 365px);
	padding-right: 4px;
}

.nopn-portal-notice__content p {
	margin: 0 0 10px;
	color: var(--nopn-muted);
	font-size: 0.96rem;
	line-height: 1.55;
}

.nopn-portal-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.nopn-portal-notice__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 900;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.nopn-portal-notice__button--primary {
	border: 1px solid var(--nopn-forest);
	background: var(--nopn-forest);
	color: var(--nopn-white);
}

.nopn-portal-notice__button--secondary {
	border: 1px solid rgba(21, 63, 50, 0.38);
	background: transparent;
	color: var(--nopn-forest);
}

.nopn-portal-notice__button:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

#cookie-notice {
	box-shadow: 0 -14px 40px rgba(20, 32, 27, 0.18);
	font-family: inherit;
}

#cookie-notice .cookie-notice-container {
	display: flex;
	gap: 14px 18px;
	align-items: center;
	justify-content: center;
	padding: 16px max(28px, calc((100vw - 1180px) / 2));
	text-align: left;
}

#cookie-notice .cn-text-container {
	max-width: 790px;
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.45;
}

#cookie-notice .cn-buttons-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
	margin: 0;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--nopn-ink);
	font-weight: 900;
	line-height: 1.1;
}

#cookie-notice #cn-refuse-cookie {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.48);
	color: var(--nopn-white);
}

#cookie-notice #cn-more-info {
	background: rgba(255, 253, 248, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.48);
	color: var(--nopn-white);
}

.nopn-slider {
	position: relative;
	margin-top: 26px;
}

.nopn-slider__controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 14px;
}

.nopn-slider__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--nopn-line);
	border-radius: 999px;
	background: var(--nopn-paper);
	color: var(--nopn-forest);
	font-size: 1.1rem;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(20, 32, 27, 0.08);
	transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.nopn-slider__button:hover:not(:disabled) {
	background: var(--nopn-sun);
	color: #141913;
	transform: translateY(-1px);
}

.nopn-slider__button:disabled {
	cursor: default;
	opacity: 0.38;
	box-shadow: none;
}

.nopn-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 31.5%);
	align-items: stretch;
	gap: 24px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 12px;
	scroll-padding-inline: 2px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.nopn-slider__track:focus {
	outline: 2px solid rgba(215, 166, 77, 0.7);
	outline-offset: 4px;
}

.nopn-slider__track .nopn-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	scroll-snap-align: start;
}

.nopn-slider__track .nopn-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.nopn-slider__track .nopn-card__bottom,
.nopn-slider__track .nopn-card__body > .nopn-card__button:last-child {
	margin-top: auto;
}

#sekcja-noclegi.nopn-section,
#sekcja-restauracje.nopn-section,
#sekcja-atrakcje.nopn-section {
	padding-block: 50px 42px;
}

#sekcja-najczesciej-ogladane.nopn-section {
	padding-block: 36px;
}

#sekcja-mapa.nopn-section {
	padding-block: 46px;
}

#sekcja-dodaj-obiekt.nopn-owner-cta {
	margin-top: 42px;
	margin-bottom: 44px;
}

#sekcja-noclegi .wp-block-buttons,
#sekcja-restauracje .wp-block-buttons,
#sekcja-atrakcje .wp-block-buttons {
	display: flex;
	justify-content: center;
	margin-top: 24px;
	margin-bottom: 0;
}

#sekcja-noclegi .wp-block-buttons .wp-block-button,
#sekcja-restauracje .wp-block-buttons .wp-block-button,
#sekcja-atrakcje .wp-block-buttons .wp-block-button {
	margin: 0;
}

#sekcja-noclegi .wp-block-buttons .wp-block-button__link,
#sekcja-restauracje .wp-block-buttons .wp-block-button__link,
#sekcja-atrakcje .wp-block-buttons .wp-block-button__link {
	min-width: 238px;
	padding: 13px 22px;
	border: 1px solid rgba(21, 63, 50, 0.78) !important;
	border-radius: 8px;
	background: transparent !important;
	color: var(--nopn-forest) !important;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

#sekcja-noclegi .wp-block-buttons .wp-block-button__link:hover,
#sekcja-restauracje .wp-block-buttons .wp-block-button__link:hover,
#sekcja-atrakcje .wp-block-buttons .wp-block-button__link:hover {
	background: var(--nopn-forest) !important;
	color: var(--nopn-white) !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(20, 32, 27, 0.12);
}

.nopn-section--compact-home {
	padding-block: 46px;
}

.nopn-most-viewed {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.nopn-most-viewed__item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--nopn-line);
	border-radius: 8px;
	background: var(--nopn-paper);
	box-shadow: 0 12px 30px rgba(20, 32, 27, 0.07);
}

.nopn-most-viewed__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 7px;
	background: var(--nopn-stone);
}

.nopn-most-viewed__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nopn-most-viewed__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 5px;
	color: var(--nopn-muted);
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
}

.nopn-most-viewed h3 {
	margin: 0 0 5px;
	font-size: 1rem;
	line-height: 1.25;
}

.nopn-most-viewed h3 a {
	color: var(--nopn-ink);
	text-decoration: none;
}

.nopn-most-viewed h3 a:hover {
	color: var(--nopn-forest);
	text-decoration: underline;
}

.nopn-most-viewed p {
	margin: 0;
	color: var(--nopn-muted);
	font-size: 0.9rem;
}

@media (max-width: 1080px) {
	.nopn-hero {
		min-height: min(860px, calc(100svh - 84px)) !important;
	}

	.wp-block-cover.nopn-hero h1.wp-block-heading {
		font-size: 3.7rem;
	}

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

	.nopn-search button {
		grid-column: 1 / -1;
	}

	.nopn-grid,
	.nopn-location-grid,
	.nopn-single__content,
	.nopn-why-grid,
	.nopn-blog-topics,
	.nopn-related__grid,
	.nopn-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nopn-card__bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.nopn-card__button {
		width: 100%;
	}

	.nopn-slider__track {
		grid-auto-columns: minmax(270px, 47%);
	}

	#sekcja-noclegi.nopn-section,
	#sekcja-restauracje.nopn-section,
	#sekcja-atrakcje.nopn-section {
		padding-block: 46px 40px;
	}

	#sekcja-mapa.nopn-section {
		padding-block: 44px;
	}

	.nopn-most-viewed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nopn-single__header {
		grid-template-columns: 1fr;
	}

	.nopn-single__content > .nopn-panel {
		grid-column: 1 / -1;
	}

	.nopn-footer__inner,
	.nopn-footer .wp-block-columns.nopn-footer__inner {
		grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(160px, 1fr));
	}
}

@media (max-width: 782px) {
	.nopn-hero {
		min-height: min(760px, calc(100svh - 72px)) !important;
	}

	.wp-block-cover.nopn-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
	body:not(.editor-styles-wrapper) .wp-block-cover.nopn-hero .wp-block-cover__inner-container {
		width: min(100% - 28px, 1180px);
		padding-block: 44px 96px;
	}

	.wp-block-cover.nopn-hero h1.wp-block-heading {
		font-size: 2.65rem;
	}

	.wp-block-cover.nopn-hero p {
		font-size: 1.04rem;
	}

	.nopn-search-shell,
	.nopn-section,
	.nopn-single {
		width: min(100% - 28px, 1180px);
	}

	.nopn-search {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.nopn-section {
		padding-block: 54px;
	}

	#sekcja-noclegi.nopn-section,
	#sekcja-restauracje.nopn-section,
	#sekcja-atrakcje.nopn-section {
		padding-block: 38px 32px;
	}

	.nopn-section--compact-home {
		padding-block: 30px;
	}

	#sekcja-mapa.nopn-section {
		padding-block: 36px;
	}

	#sekcja-dodaj-obiekt.nopn-owner-cta {
		margin-top: 34px;
		margin-bottom: 36px;
	}

	.nopn-section__intro {
		display: block;
	}

	.nopn-section h2,
	.nopn-list-heading {
		font-size: 2rem;
	}

	.nopn-grid,
	.nopn-location-grid,
	.nopn-single__content,
	.nopn-gallery,
	.nopn-why-grid,
	.nopn-blog-topics,
	.nopn-related__grid,
	.nopn-info-grid {
		grid-template-columns: 1fr;
	}

	.nopn-map {
		min-height: 420px;
	}

	.nopn-slider__controls {
		justify-content: flex-start;
	}

	.nopn-slider__track {
		grid-auto-columns: minmax(260px, 86%);
		gap: 16px;
		margin-inline: -2px;
		padding-bottom: 10px;
	}

	#sekcja-noclegi .wp-block-buttons,
	#sekcja-restauracje .wp-block-buttons,
	#sekcja-atrakcje .wp-block-buttons {
		margin-top: 20px;
	}

	#sekcja-noclegi .wp-block-buttons .wp-block-button,
	#sekcja-restauracje .wp-block-buttons .wp-block-button,
	#sekcja-atrakcje .wp-block-buttons .wp-block-button {
		width: 100%;
	}

	#sekcja-noclegi .wp-block-buttons .wp-block-button__link,
	#sekcja-restauracje .wp-block-buttons .wp-block-button__link,
	#sekcja-atrakcje .wp-block-buttons .wp-block-button__link {
		width: 100%;
		min-width: 0;
	}

	.nopn-portal-notice {
		top: 88px;
		right: 14px;
		bottom: auto;
		left: 14px;
		width: auto;
	}

	.nopn-portal-notice__panel {
		max-height: 44svh;
		padding: 18px;
	}

	.nopn-portal-notice h2 {
		font-size: 1.18rem;
	}

	.nopn-portal-notice__content {
		max-height: calc(44svh - 188px);
	}

	.nopn-portal-notice__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	#cookie-notice .cookie-notice-container {
		display: block;
		padding: 14px 24px;
		text-align: left;
	}

	#cookie-notice .cn-buttons-container {
		display: grid;
		grid-template-columns: 1fr;
		margin-top: 10px;
	}

	#cookie-notice .cn-button:not(.cn-button-custom) {
		width: 100%;
	}

	.nopn-most-viewed {
		grid-template-columns: 1fr;
	}

	.nopn-most-viewed__item {
		grid-template-columns: 84px 1fr;
	}

	.nopn-owner-cta .wp-block-group__inner-container {
		display: block;
	}

	.nopn-owner-cta {
		display: block;
		padding: 26px;
	}

	.nopn-park {
		grid-template-columns: 1fr !important;
	}

	.nopn-park .wp-block-media-text__content {
		padding-top: 24px;
	}

	.nopn-single__hero {
		aspect-ratio: 4 / 3;
	}

	.nopn-single h1 {
		font-size: 2.3rem;
	}

	.nopn-detail-list li {
		grid-template-columns: 1fr;
		gap: 2px;
	}

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

	.nopn-footer .nopn-footer__inner.wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nopn-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.nopn-footer__inner,
	.nopn-footer .nopn-footer__inner.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.nopn-footer__brand {
		grid-column: auto;
	}
}
