/* Oaza Premium – identyfikacja serwisu „kamień i woda” (nadpisuje zmienne motywu motyw-z-verseo). */

:root:root {
	--oz-linen: #f6f1ea;
	--oz-linen-2: #efe7dc;
	--oz-paper: #fffdf9;
	--oz-sand: #e6d9c6;
	--oz-stone: #cbbca6;
	--oz-stone-d: #8d7f6c;
	--oz-ink: #1d2422;
	--oz-muted: #4f5a56;
	--oz-night: #17201f;
	--oz-water: #1f3634;
	--oz-water-2: #2b4a47;
	--oz-teal: #24514d;
	--oz-sage: #7fa69b;
	--oz-mist: #dfe9e4;
	--oz-ember: #a9482a;
	--oz-ember-l: #c8693f;
	--oz-glow: #f2c9a6;
	--oz-rule: #ddd2c3;
	--oz-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
	--oz-body: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--oz-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='8' viewBox='0 0 48 8'%3E%3Cpath d='M0 4c6 0 6-3 12-3s6 3 12 3 6-3 12-3 6 3 12 3' fill='none' stroke='%237fa69b' stroke-width='1.2'/%3E%3C/svg%3E");

	--color-primary: #24514d;
	--color-primary-hover: #17201f;
	--color-primary-dark: #17201f;
	--color-primary-light: #a9c6bd;
	--color-primary-subtle: #e9f0ec;
	--color-primary-muted: #b9cfc8;
	--color-accent: #a9482a;
	--color-accent-hover: #8a3a21;
	--color-accent-subtle: #f6e3d4;
	--color-bg: #f6f1ea;
	--color-bg-alt: #efe7dc;
	--color-border: #ddd2c3;
	--color-border-strong: #bfb19d;
	--color-text: #1d2422;
	--color-text-muted: #4f5a56;
	--color-text-light: #5d6763;
	--font-sans: var(--oz-body);
	--font-serif: var(--oz-display);
}

body {
	font-family: var(--oz-body);
	background-color: var(--oz-linen);
	color: var(--oz-ink);
}

h1, h2, h3, h4,
.post-header__title,
.section-title,
.widget__title,
.footer-brand__name {
	font-family: var(--oz-display);
	font-weight: 600;
	letter-spacing: -0.005em;
}

::selection { background: var(--oz-glow); color: var(--oz-ink); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--oz-ember);
	outline-offset: 3px;
}

/* ---------- Nagłówek: len z falującą linią wody ---------- */

.site-header {
	position: relative;
	background: rgba(246, 241, 234, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 0;
	box-shadow: 0 12px 24px -22px rgba(23, 32, 31, 0.6);
}
.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 8px;
	background: var(--oz-wave) repeat-x 0 0 / 48px 8px;
	pointer-events: none;
}
.site-header .primary-nav a {
	position: relative;
	color: var(--oz-ink);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: 0.01em;
	background: transparent;
}
.site-header .primary-nav > ul > li > a::after,
.site-header .primary-nav > .menu > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: var(--oz-ember-l);
	transform: scale(0);
	transition: transform 0.3s cubic-bezier(.2, .8, .2, 1.4);
}
.site-header .primary-nav a:hover,
.site-header .primary-nav a:focus-visible,
.site-header .primary-nav .current-menu-item > a,
.site-header .primary-nav .current-menu-ancestor > a {
	color: var(--oz-teal);
	background: transparent;
}
.site-header .primary-nav > ul > li > a:hover::after,
.site-header .primary-nav > .menu > li > a:hover::after,
.site-header .primary-nav .current-menu-item > a::after,
.site-header .primary-nav .current-menu-ancestor > a::after { transform: scale(1); }
.site-header .primary-nav .sub-menu {
	background: var(--oz-paper);
	border: 1px solid var(--oz-rule);
	border-radius: 14px;
	box-shadow: 0 18px 30px -18px rgba(23, 32, 31, 0.45);
}
.site-header .primary-nav .sub-menu a:hover { color: var(--oz-teal); background: var(--oz-mist); }
.mobile-nav { background: var(--oz-paper); }
.mobile-nav a { color: var(--oz-ink); font-weight: 500; }
.mobile-nav a:hover { background: var(--oz-mist); }
.mobile-nav .sub-menu { border-left-color: var(--oz-sage); }

/* Logo */
.site-branding a.oz-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--oz-ink);
	text-decoration: none;
}
.oz-logo__mark {
	flex: none;
	display: block;
	transition: transform 0.5s cubic-bezier(.2, .8, .2, 1.2);
}
.oz-logo:hover .oz-logo__mark { transform: translateY(-2px) rotate(-4deg); }
.oz-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.oz-logo__a {
	font-family: var(--oz-display);
	font-style: italic;
	font-weight: 600;
	font-size: 1.9rem;
	letter-spacing: 0.01em;
	color: var(--oz-ink);
}
.oz-logo__b {
	margin-top: 2px;
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--oz-teal);
}

/* ---------- Stopka: nocna woda ---------- */

.site-footer {
	position: relative;
	background-color: var(--oz-night);
	background-image:
		radial-gradient(ellipse 40% 60% at 12% 0%, rgba(127, 166, 155, 0.16), transparent 70%),
		repeating-radial-gradient(ellipse at 88% 110%, transparent 0 22px, rgba(127, 166, 155, 0.07) 22px 23px);
	color: #c9d6d1;
	border-top: 0;
}
.site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 8px;
	background: var(--oz-wave) repeat-x 0 0 / 48px 8px;
	opacity: 0.8;
}
.site-footer a,
.footer-col a { color: #eef3f0; }
.site-footer a:hover,
.footer-col a:hover { color: var(--oz-glow); }
.footer-brand__name { color: #f6f1ea; font-size: 1.9rem; font-style: italic; }
.footer-brand__tagline { color: #b9c8c2; max-width: 36ch; }
.footer-col__title {
	color: var(--oz-sage);
	font-family: var(--oz-body);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.footer-col:not(:has(li)) { display: none; }
.footer-grid { border-bottom: 1px solid rgba(127, 166, 155, 0.22); }
.footer-bottom { color: #b9c8c2; }
.footer-bottom a { color: #eef3f0; }

/* ---------- Wpisy, archiwa, sidebar ---------- */

.post-category-tag,
.post-card__category {
	background: var(--oz-mist);
	color: var(--oz-teal);
	border: 0;
	border-radius: 999px;
	font-weight: 500;
	letter-spacing: 0.06em;
}
.post-category-tag:hover,
.post-card__category:hover { background: var(--oz-teal); color: #fff; }
.post-card {
	background: var(--oz-paper);
	border-color: var(--oz-rule);
	border-radius: 22px;
	overflow: hidden;
}
.post-card:hover { border-color: var(--oz-stone-d); box-shadow: 0 20px 34px -26px rgba(23, 32, 31, 0.55); }
.post-card__thumbnail,
.post-card__thumbnail-placeholder { background: var(--oz-water); }
.post-card__thumbnail-placeholder svg { fill: var(--oz-sage); }
.post-card__title { font-family: var(--oz-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.post-card__read-more { color: var(--oz-ember); }

.post-header__title { font-weight: 600; line-height: 1.1; }
.breadcrumb__current { color: var(--oz-ink); }

.entry-content { font-size: 1.06rem; line-height: 1.75; }
.entry-content a {
	color: var(--oz-teal);
	text-decoration-color: rgba(36, 81, 77, 0.35);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--oz-ember); text-decoration-color: var(--oz-ember); }
.entry-content h2 {
	color: var(--oz-ink);
	font-size: 1.85rem;
	padding-bottom: 10px;
	background: var(--oz-wave) no-repeat 0 100% / 48px 8px;
}
.entry-content h3 { color: var(--oz-teal); }
.entry-content ul li::marker { color: var(--oz-ember-l); }
.entry-content ol li::marker { color: var(--oz-teal); font-family: var(--oz-display); font-weight: 700; }
.entry-content blockquote {
	border-left: 3px solid var(--oz-sage);
	background: var(--oz-mist);
	border-radius: 0 18px 18px 0;
	font-family: var(--oz-display);
	font-size: 1.25em;
	font-style: italic;
}
.entry-content th { background: var(--oz-water); color: #f6f1ea; }
.entry-content td { border-bottom-color: var(--oz-rule); }
.entry-content tr:nth-child(even) td { background: var(--oz-linen-2); }

.author-box { background: var(--oz-linen-2); border-color: var(--oz-rule); border-radius: 22px; }
.author-box__avatar { border-color: var(--oz-sage); }
.widget { background: var(--oz-paper); border-color: var(--oz-rule); border-radius: 20px; }
.widget__title::before { background: var(--oz-ember-l); border-radius: 50%; width: 8px; height: 8px; }
.widget-about { background: var(--oz-water); }
.widget-categories .count { background: var(--oz-sand); color: var(--oz-ink); border-radius: 999px; }
.section-title::after { background: linear-gradient(to right, var(--oz-sage), transparent); }

.single .related-posts { display: none; }

/* ---------- Pod wpisem ---------- */

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

.entry-content .oz-after {
	margin-top: 3em;
	display: grid;
	gap: 26px;
	font-size: 1rem;
	line-height: 1.5;
}
.entry-content .oz-after > *,
.entry-content .oz-after p,
.entry-content .oz-after li { margin: 0; }
.entry-content .oz-after ul,
.entry-content .oz-after ol { list-style: none; padding: 0; margin: 0; }
.entry-content .oz-after li::marker { content: none; }
.entry-content .oz-after a { text-decoration: none; }

.entry-content .oz-rel {
	padding: 26px 24px 24px;
	border-radius: 26px;
	background: var(--oz-linen-2);
	border: 1px solid var(--oz-rule);
}
.entry-content .oz-rel__head { margin-bottom: 18px; }
.entry-content .oz-rel__kicker {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--oz-ember);
}
.entry-content .oz-after h2.oz-rel__title,
.entry-content .oz-after h2.oz-latest__title {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 1.8rem;
	line-height: 1.15;
	color: var(--oz-ink);
}
.entry-content .oz-rel__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px;
}
.entry-content a.oz-rel__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--oz-paper);
	border-radius: 20px;
	overflow: hidden;
	color: var(--oz-ink);
	box-shadow: 0 1px 0 var(--oz-rule);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.entry-content a.oz-rel__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 28px -20px rgba(23, 32, 31, 0.6);
	color: var(--oz-ink);
}
.entry-content .oz-rel__img {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--oz-water);
	overflow: hidden;
}
.entry-content .oz-rel__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.5s ease;
}
.entry-content .oz-rel__card:hover .oz-rel__img img { transform: scale(1.05); }
.entry-content .oz-rel__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: repeating-radial-gradient(circle at 50% 60%, transparent 0 14px, rgba(127, 166, 155, 0.14) 14px 15px), var(--oz-water);
}
.entry-content .oz-rel__cat {
	display: block;
	margin: 12px 16px 0;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--oz-ember);
}
.entry-content .oz-rel__t {
	display: block;
	margin: 4px 16px 16px;
	font-family: var(--oz-display);
	font-weight: 600;
	font-size: 1.18rem;
	line-height: 1.2;
}

.entry-content .oz-latest {
	padding: 24px;
	border-radius: 26px;
	background: var(--oz-water);
	background-image: repeating-radial-gradient(ellipse at 100% 100%, transparent 0 20px, rgba(127, 166, 155, 0.08) 20px 21px);
	color: #eef3f0;
}
.entry-content .oz-after h2.oz-latest__title { color: #f6f1ea; font-size: 1.5rem; margin-bottom: 12px; }
.entry-content .oz-latest__title span { color: var(--oz-glow); font-style: italic; }
.entry-content .oz-latest__list { counter-reset: oz-l; }
.entry-content .oz-latest__list li {
	counter-increment: oz-l;
	display: grid;
	grid-template-columns: 2em minmax(0, 1fr) auto;
	gap: 10px;
	align-items: baseline;
	padding: 10px 0;
	border-top: 1px solid rgba(127, 166, 155, 0.22);
}
.entry-content .oz-latest__list li::before {
	content: counter(oz-l);
	font-family: var(--oz-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--oz-sage);
}
.entry-content .oz-latest__list a { color: #f6f1ea; font-weight: 500; }
.entry-content .oz-latest__list a:hover { color: var(--oz-glow); }
.entry-content .oz-latest__list time { font-size: 0.8rem; color: #a9bbb4; white-space: nowrap; }
.entry-content .oz-latest__more { margin-top: 14px; }
.entry-content .oz-latest__more a {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--oz-linen);
	color: var(--oz-ink);
	font-weight: 500;
}
.entry-content .oz-latest__more a:hover { background: var(--oz-glow); color: var(--oz-ink); }

@media (max-width: 600px) {
	.oz-logo__mark { width: 38px; height: 38px; }
	.oz-logo__a { font-size: 1.6rem; }
	.oz-logo__b { font-size: 0.6rem; letter-spacing: 0.16em; }
	.entry-content .oz-rel,
	.entry-content .oz-latest { padding: 20px 16px; }
	.entry-content .oz-latest__list li { grid-template-columns: 1.6em minmax(0, 1fr); }
	.entry-content .oz-latest__list time { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
	.oz-logo__mark,
	.entry-content a.oz-rel__card,
	.entry-content .oz-rel__img img,
	.site-header .primary-nav a::after { transition: none; }
}
