/* ==========================================================================
   URODA NOTES — redakcyjny motyw magazynu o urodzie
   Ciepłe tło (#FAF8F5), prawie czarny tekst, serifowe nagłówki Butler,
   sans Arboria, wielkie litery z rozstrzelonym światłem w nawigacji.
   Układ: 1440–1480 px, dużo powietrza, siatki 3-kolumnowe.
   ========================================================================== */

/* --- Fonty lokalne (bez CDN) --------------------------------------------- */
@font-face {
	font-family: 'Arboria-Book';
	src: url('fonts/Arboria-Book.woff') format('woff');
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Butler';
	src: url('fonts/Butler.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* --- Tokeny -------------------------------------------------------------- */
:root {
	--g-container: 1440px;
	--g-gutter: 32px;
	--g-font-sans: 'Arboria-Book', 'Helvetica Neue', Arial, sans-serif;
	--g-font-serif: 'Butler', 'Times New Roman', Georgia, serif;
	--g-font-size: 16px;
	--g-lineheight: 1.65;

	--paper: #faf8f5;
	--paper-deep: #f4f0e9;
	--paper-tint: #efeae2;
	--ink: #141414;
	--ink-strong: #000000;
	--ink-soft: #4a4640;
	--ink-mute: #8a8378;
	--line: #e4dfd6;
	--line-strong: #141414;
	--white: #ffffff;
	--black: #141414;

	--nav-height: 56px;
	--topbar-height: 40px;
	--radius: 0;
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--g-font-sans);
	font-size: var(--g-font-size);
	font-weight: 300;
	line-height: var(--g-lineheight);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.j-drawer-open,
body.j-search-open {
	overflow: hidden;
}
img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: inherit;
}
button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
p {
	margin: 0 0 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--ink);
	font-family: var(--g-font-serif);
	font-weight: 400;
	line-height: 1.2;
	overflow-wrap: break-word;
}
input,
select,
textarea {
	font: inherit;
	color: inherit;
	max-width: 100%;
}
::selection {
	background: var(--ink);
	color: var(--paper);
}

/* --- Dostępność i narzędzia ---------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.j-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--ink);
	color: var(--paper);
	padding: 14px 22px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.j-skip:focus {
	left: 12px;
	top: 12px;
}
:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}
.j-container {
	width: 100%;
	max-width: calc(var(--g-container) + var(--g-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--g-gutter);
}
.j-main {
	display: block;
}
.j-icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* --- Typografia pomocnicza ----------------------------------------------- */
.j-eyebrow {
	display: inline-block;
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-eyebrow--light {
	color: rgba(250, 248, 245, 0.6);
}
.j-kicker {
	font-family: var(--g-font-sans);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
a.j-kicker:hover {
	color: var(--ink);
}
.j-kicker--brand {
	color: var(--ink-soft);
}
.j-kicker__sep {
	display: inline-block;
	margin: 0 7px;
	color: var(--line);
}
.j-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--g-font-sans);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 4px;
	transition: opacity 0.25s ease, border-color 0.25s ease;
}
.j-link:hover {
	opacity: 0.6;
}
.j-link__arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}
.j-link:hover .j-link__arrow {
	transform: translateX(3px);
}
.j-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 17px 34px;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.j-button:hover {
	background: #2c2c2c;
	color: var(--white);
}
.j-button--light {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
}
.j-button--light:hover {
	background: var(--white);
	color: var(--ink);
}
.j-empty {
	color: var(--ink-mute);
	font-size: 15px;
	padding: 36px 0;
	margin: 0;
}

/* --- Pasek wydania ------------------------------------------------------- */
.j-topbar {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}
.j-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--topbar-height);
}
.j-topbar__date,
.j-topbar__note,
.j-topbar__search {
	font-family: var(--g-font-sans);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-topbar__note {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.j-topbar__inner {
	position: relative;
}
.j-topbar__search {
	display: inline-flex;
	align-items: center;
	min-height: var(--topbar-height);
	padding: 0;
	transition: color 0.2s ease;
}
.j-topbar__search:hover {
	color: var(--ink);
}

/* --- Masthead ------------------------------------------------------------ */
.j-masthead-wrap {
	background: var(--paper);
}
.j-masthead {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 30px;
	padding-bottom: 28px;
}
.j-masthead__aside {
	font-family: var(--g-font-sans);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-mute);
	white-space: nowrap;
}
.j-masthead__aside--right {
	text-align: right;
}
.j-masthead__brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.j-masthead__word {
	font-family: var(--g-font-serif);
	font-size: 44px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-strong);
	text-indent: 0.14em;
}
.j-masthead__sub {
	margin-top: 12px;
	font-family: var(--g-font-sans);
	font-size: 9.5px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

/* --- Sticky nawigacja ---------------------------------------------------- */
.j-navbar {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(250, 248, 245, 0.94);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: box-shadow 0.25s ease;
}
.j-navbar.is-stuck {
	box-shadow: 0 10px 28px rgba(20, 20, 20, 0.06);
}
.j-navbar__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--nav-height);
}
.j-navbar__links {
	display: flex;
	align-items: center;
	gap: 27px;
}
.j-nav__link {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.145em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.j-nav__link:hover {
	opacity: 0.55;
}
.j-nav__link.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1px;
	height: 1px;
	background: var(--ink);
}
.j-navbar__aux {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 16px;
}
.j-navbar__brandlink {
	display: none;
	font-family: var(--g-font-serif);
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}
.j-navbar__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--ink);
	transition: opacity 0.2s ease;
}
.j-navbar__search:hover {
	opacity: 0.55;
}
.j-navbar__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	color: var(--ink);
}
.j-navbar__toggle-lines {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 18px;
	height: 12px;
}
.j-navbar__toggle-lines span {
	display: block;
	width: 18px;
	height: 1px;
	background: var(--ink);
}
.j-navbar__toggle-label {
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* --- Szuflada mobilna ---------------------------------------------------- */
.j-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 300;
	display: flex;
	flex-direction: column;
	width: min(86vw, 380px);
	padding: 22px 24px 28px;
	background: var(--paper);
	transform: translateX(-102%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.j-drawer.is-open {
	transform: translateX(0);
}
.j-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}
.j-drawer__brand {
	font-family: var(--g-font-serif);
	font-size: 19px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.j-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
}
.j-drawer__search {
	margin-top: 24px;
}
.j-drawer__nav {
	margin-top: 26px;
}
.j-drawer__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--g-font-serif);
	font-size: 21px;
	line-height: 1.3;
	transition: opacity 0.2s ease;
}
.j-drawer__link:hover {
	opacity: 0.6;
}
.j-drawer__link-count {
	font-family: var(--g-font-sans);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
	white-space: nowrap;
}
.j-drawer__foot {
	margin-top: auto;
	padding-top: 28px;
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	line-height: 1.8;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-drawer__foot a {
	display: block;
	color: var(--ink);
	text-transform: none;
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.j-scrim {
	position: fixed;
	inset: 0;
	z-index: 290;
	background: rgba(20, 20, 20, 0.42);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.j-scrim.is-visible {
	opacity: 1;
}

/* --- Formularz wyszukiwania ---------------------------------------------- */
.j-searchform {
	display: flex;
	position: relative;
	align-items: center;
	gap: 14px;
}
.j-searchform__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	padding: 11px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	font-family: var(--g-font-sans);
	font-size: 13px;
	font-weight: 300;
	color: var(--ink);
	transition: border-color 0.2s ease;
}
.j-searchform__input::placeholder {
	color: var(--ink-mute);
}
.j-searchform__input:focus {
	outline: none;
	border-bottom-color: var(--ink);
}
.j-searchform__button {
	flex: 0 0 auto;
	font-family: var(--g-font-sans);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
	padding: 8px 0;
	transition: color 0.2s ease;
}
.j-searchform__button:hover {
	color: var(--ink);
}

/* --- Nakładka wyszukiwania ----------------------------------------------- */
.j-search {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	justify-content: center;
	padding: 11vh 24px 40px;
	background: rgba(250, 248, 245, 0.98);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	overflow-y: auto;
}
.j-search.is-open {
	opacity: 1;
	visibility: visible;
}
.j-search__inner {
	width: min(780px, 100%);
	align-self: flex-start;
}
.j-search__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}
.j-search__label {
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-search__close {
	font-size: 26px;
	line-height: 1;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
}
.j-searchform--overlay {
	margin-top: 34px;
	display: block;
}
.j-searchform--overlay .j-searchform__input {
	border-bottom: 1px solid var(--ink);
	font-family: var(--g-font-serif);
	font-size: 32px;
	line-height: 1.2;
	padding: 10px 0 16px;
}
.j-searchform--overlay .j-searchform__button {
	position: absolute;
	right: 0;
	bottom: 20px;
	font-size: 10.5px;
	color: var(--ink);
}
.j-search__hint {
	margin-top: 18px;
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

/* --- Hero ---------------------------------------------------------------- */
.j-hero {
	padding-top: 34px;
}
.j-hero__label {
	display: flex;
	align-items: center;
	gap: 18px;
}
.j-hero__label-line {
	flex: 1 1 auto;
	height: 1px;
	background: var(--line);
}
.j-hero__label-date {
	white-space: nowrap;
}
.j-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	align-items: center;
	gap: 64px;
	margin-top: 26px;
}
.j-hero__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	max-height: 760px;
	overflow: hidden;
	background: var(--paper-tint);
}
.j-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.j-hero__media:hover .j-hero__img {
	transform: scale(1.025);
}
.j-hero__content {
	padding-right: 12px;
}
.j-hero__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}
.j-hero__title {
	margin: 20px 0 22px;
	font-size: clamp(34px, 3.7vw, 56px);
	line-height: 1.07;
	letter-spacing: -0.005em;
}
.j-hero__title a {
	transition: opacity 0.25s ease;
}
.j-hero__title a:hover {
	opacity: 0.7;
}
.j-hero__dek {
	max-width: 46ch;
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.j-hero__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 26px 0 0;
	font-family: var(--g-font-sans);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-hero__content .j-link {
	margin-top: 30px;
}

/* --- Nagłówki sekcji ----------------------------------------------------- */
.j-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}
.j-section-head__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.j-section-title {
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.1;
}
.j-section-head__count {
	font-family: var(--g-font-sans);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
	white-space: nowrap;
	padding-bottom: 4px;
}

/* --- Siatki -------------------------------------------------------------- */
.j-grid {
	display: grid;
	gap: 40px;
}
.j-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Rzędy kategorii: pełne, zbalansowane rzędy także przy 1–2 wpisach. */
.j-grid--rail {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 34px 32px;
}
.j-grid--rail > .j-card {
	grid-column: span 2;
}
.j-rail--2 .j-grid--rail {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.j-rail--2 .j-card__media {
	aspect-ratio: 3 / 2;
}
.j-rail--1 .j-grid--rail {
	grid-template-columns: 1fr;
}
.j-rail--1 .j-card {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	align-items: center;
	gap: 52px;
}
.j-rail--1 .j-card__media {
	aspect-ratio: 4 / 3;
}
.j-rail--1 .j-card__body {
	gap: 12px;
	padding-right: 24px;
}
.j-rail--1 .j-card__title {
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.16;
}
.j-rail--1 .j-card__title a {
	-webkit-line-clamp: 2;
}
.j-rail--1 .j-card__excerpt {
	-webkit-line-clamp: 2;
	max-width: 48ch;
	font-size: 15px;
}

/* --- Karta artykułu ------------------------------------------------------ */
.j-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}
.j-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--paper-tint);
}
.j-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.j-card:hover .j-card__img {
	transform: scale(1.035);
}
.j-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	min-width: 0;
}
.j-card__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.j-card__title {
	font-size: 23px;
	line-height: 1.24;
	letter-spacing: -0.002em;
}
.j-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: opacity 0.25s ease;
}
.j-card__title a:hover {
	opacity: 0.7;
}
.j-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--ink-soft);
}
.j-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	font-family: var(--g-font-sans);
	font-size: 9.5px;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

/* --- Sekcja najnowszych -------------------------------------------------- */
.j-latest {
	padding-top: 74px;
}

/* --- Rzędy kategorii ----------------------------------------------------- */
.j-rails {
	margin-top: 16px;
}
.j-rail {
	padding: 30px 0 66px;
	border-top: 1px solid var(--line);
}
.j-rail:first-child {
	border-top: 0;
}
.j-rail .j-section-head {
	margin-bottom: 30px;
}

/* --- Newsletter ---------------------------------------------------------- */
.j-newsletter {
	background: var(--ink);
	color: var(--paper);
	margin-top: 30px;
}
.j-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	padding-top: 82px;
	padding-bottom: 82px;
}
.j-newsletter__title {
	margin: 16px 0 18px;
	color: var(--paper);
	font-size: clamp(30px, 3.1vw, 44px);
	line-height: 1.1;
}
.j-newsletter__dek {
	max-width: 46ch;
	margin: 0;
	color: rgba(250, 248, 245, 0.72);
	font-size: 15.5px;
	line-height: 1.7;
}
.j-newsletter__row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(250, 248, 245, 0.35);
}
.j-newsletter__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 16px 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--paper);
	font-family: var(--g-font-sans);
	font-size: 14.5px;
	font-weight: 300;
}
.j-newsletter__input::placeholder {
	color: rgba(250, 248, 245, 0.45);
}
.j-newsletter__input:focus {
	outline: none;
}
.j-newsletter__row .j-button {
	margin-bottom: -1px;
}
.j-newsletter__note {
	margin: 16px 0 0;
	max-width: 46ch;
	font-size: 10px;
	line-height: 1.7;
	letter-spacing: 0.06em;
	color: rgba(250, 248, 245, 0.45);
}
.j-newsletter__thanks {
	margin: 16px 0 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--paper);
}

/* --- Stopka -------------------------------------------------------------- */
.j-footer {
	margin-top: 0;
	padding: 66px 0 30px;
	background: var(--paper-deep);
	border-top: 1px solid var(--line);
}
.j-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr);
	gap: 48px;
}
.j-footer__word {
	display: inline-block;
	font-family: var(--g-font-serif);
	font-size: 25px;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.j-footer__tagline {
	margin: 16px 0 0;
	max-width: 34ch;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ink-soft);
}
.j-footer__contact {
	margin: 24px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
}
.j-footer__contact-label {
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-footer__contact a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.j-footer__title {
	margin: 2px 0 18px;
	font-family: var(--g-font-sans);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-footer__list li {
	margin-bottom: 9px;
}
.j-footer__list a {
	font-size: 13.5px;
	line-height: 1.5;
	transition: opacity 0.2s ease;
}
.j-footer__list a:hover {
	opacity: 0.6;
}
.j-footer__count {
	margin-left: 7px;
	font-size: 9px;
	letter-spacing: 0.1em;
	color: var(--ink-mute);
}
.j-footer__note {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.j-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 52px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-family: var(--g-font-sans);
	font-size: 9.5px;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}

/* --- Archiwa ------------------------------------------------------------- */
.j-archive {
	padding-top: 54px;
	padding-bottom: 90px;
}
.j-archive__head {
	max-width: 900px;
	margin-bottom: 46px;
}
.j-archive__title {
	margin: 16px 0 0;
	font-size: clamp(38px, 5vw, 66px);
	line-height: 1.03;
}
.j-archive__description {
	margin-top: 18px;
	max-width: 62ch;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.j-archive__description p:last-child {
	margin-bottom: 0;
}
.j-archive__meta {
	margin-top: 18px;
	font-family: var(--g-font-sans);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-archive__empty {
	padding-top: 10px;
}
.j-search-page__form {
	margin-top: 28px;
	max-width: 460px;
}

/* --- Paginacja ----------------------------------------------------------- */
.j-main .navigation {
	margin-top: 62px;
}
.j-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.j-main .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 9px 12px;
	border: 1px solid var(--line);
	font-family: var(--g-font-sans);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.j-main .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}
.j-main a.page-numbers:hover {
	border-color: var(--ink);
}

/* --- Pojedynczy artykuł -------------------------------------------------- */
.j-article {
	padding-top: 34px;
}
.j-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-family: var(--g-font-sans);
	font-size: 9.5px;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
	max-width: 100%;
}
.j-breadcrumb a {
	transition: color 0.2s ease;
}
.j-breadcrumb a:hover {
	color: var(--ink);
}
.j-breadcrumb__sep {
	color: var(--line);
}
.j-breadcrumb__current {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
.j-article__head {
	max-width: 940px;
	margin-top: 34px;
}
.j-article__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.j-article__title {
	margin: 18px 0 24px;
	font-size: clamp(36px, 4.6vw, 62px);
	line-height: 1.05;
	letter-spacing: -0.008em;
}
.j-article__lede {
	max-width: 62ch;
	font-size: 19px;
	line-height: 1.65;
	color: var(--ink-soft);
}
.j-article__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 26px;
	font-family: var(--g-font-sans);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.j-article__author {
	color: var(--ink);
}
.j-article__media {
	margin: 46px 0 0;
	padding: 0;
}
.j-article__media .j-container {
	max-width: 720px;
}
.j-article__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center;
	background: var(--paper-tint);
}
.j-article__caption {
	margin-top: 12px;
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	line-height: 1.6;
	letter-spacing: 0.08em;
	color: var(--ink-mute);
}
.j-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	align-items: start;
	gap: 72px;
	margin-top: 56px;
}
.j-article__aside {
	position: sticky;
	top: calc(var(--nav-height) + 26px);
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.j-article__aside-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
.j-article__aside-link {
	font-family: var(--g-font-serif);
	font-size: 18px;
	line-height: 1.3;
}
.j-article__aside-link:hover {
	opacity: 0.65;
}
.j-article__aside-text {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ink-soft);
}
.j-article__aside-back {
	margin-top: 4px;
	align-self: flex-start;
}

/* --- Treść artykułu ------------------------------------------------------ */
.j-entry__content {
	max-width: 760px;
	font-size: 17.5px;
	line-height: 1.78;
	color: #26231f;
	overflow-wrap: break-word;
}
.j-entry__content > *:first-child {
	margin-top: 0;
}
.j-entry__content p {
	margin: 0 0 1.35em;
}
.j-entry__content h2,
.j-entry__content h3,
.j-entry__content h4 {
	color: var(--ink-strong);
	line-height: 1.18;
}
.j-entry__content h2 {
	margin: 2em 0 0.55em;
	font-size: 31px;
}
.j-entry__content h3 {
	margin: 1.8em 0 0.5em;
	font-size: 25px;
}
.j-entry__content h4 {
	margin: 1.6em 0 0.5em;
	font-size: 20px;
}
.j-entry__content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.j-entry__content a:hover {
	opacity: 0.7;
}
.j-entry__content strong {
	font-weight: 600;
}
.j-entry__content ul,
.j-entry__content ol {
	margin: 0 0 1.4em;
	padding-left: 1.25em;
}
.j-entry__content ul {
	list-style: disc;
}
.j-entry__content ol {
	list-style: decimal;
}
.j-entry__content li {
	margin-bottom: 0.5em;
}
.j-entry__content li::marker {
	color: var(--ink-mute);
}
.j-entry__content blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 24px;
	border-left: 1px solid var(--ink);
	font-family: var(--g-font-serif);
	font-size: 27px;
	line-height: 1.4;
	color: var(--ink);
}
.j-entry__content blockquote p:last-child {
	margin-bottom: 0;
}
.j-entry__content img {
	width: 100%;
	height: auto;
	margin: 1.8em 0;
}
.j-entry__content figure {
	margin: 1.8em 0;
}
.j-entry__content figcaption {
	margin-top: 10px;
	font-family: var(--g-font-sans);
	font-size: 11px;
	line-height: 1.6;
	color: var(--ink-mute);
}
.j-entry__content hr {
	margin: 2.6em 0;
	border: 0;
	border-top: 1px solid var(--line);
}
.j-entry__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.6em;
	font-size: 14.5px;
}
.j-entry__content th,
.j-entry__content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}
.j-entry__content th {
	background: var(--paper-deep);
	font-weight: 500;
}
.j-entry__content iframe {
	max-width: 100%;
}

/* --- Strony statyczne ---------------------------------------------------- */
.j-page {
	padding-top: 40px;
	padding-bottom: 90px;
}
.j-page__head {
	max-width: 900px;
	margin: 30px 0 44px;
}
.j-page__title {
	margin-top: 16px;
	font-size: clamp(36px, 4.6vw, 62px);
	line-height: 1.05;
}
.j-page__content {
	max-width: 760px;
}
.j-page__links {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* --- 404 ----------------------------------------------------------------- */
.j-404 {
	padding: 70px 0 110px;
}
.j-404__code {
	margin: 16px 0 0;
	font-family: var(--g-font-serif);
	font-size: clamp(96px, 17vw, 220px);
	line-height: 0.82;
	letter-spacing: 0.02em;
	color: var(--line);
}
.j-404__title {
	margin: 24px 0 0;
	font-size: clamp(34px, 4.4vw, 58px);
	line-height: 1.06;
	max-width: 18ch;
}
.j-404__dek {
	margin: 20px 0 0;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.j-404 .j-button {
	margin-top: 32px;
}
.j-404__search {
	margin-top: 44px;
	max-width: 440px;
}
.j-404__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.j-404__cat {
	font-family: var(--g-font-sans);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mute);
	transition: color 0.2s ease;
}
.j-404__cat:hover {
	color: var(--ink);
}

/* --- Powiązane ----------------------------------------------------------- */
.j-related {
	margin-top: 70px;
	padding: 64px 0 96px;
	border-top: 1px solid var(--line);
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1200px) {
	.j-hero__grid {
		gap: 44px;
	}
	.j-article__layout {
		gap: 48px;
		grid-template-columns: minmax(0, 1fr) 210px;
	}
	.j-grid {
		gap: 32px;
	}
	.j-card__title {
		font-size: 21.5px;
	}
	.j-footer__grid {
		gap: 36px;
	}
}

@media (max-width: 1100px) {
	:root {
		--g-gutter: 26px;
	}
	.j-masthead__aside {
		display: none;
	}
	.j-masthead {
		grid-template-columns: 1fr;
		padding-top: 24px;
		padding-bottom: 22px;
	}
	.j-masthead__word {
		font-size: 34px;
	}
	.j-masthead__sub {
		margin-top: 9px;
		font-size: 8.5px;
		letter-spacing: 0.22em;
	}
	.j-navbar__links {
		display: none;
	}
	.j-navbar__inner {
		justify-content: flex-start;
		min-height: 52px;
	}
	.j-navbar__toggle {
		display: inline-flex;
	}
	.j-navbar__brandlink {
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		font-size: 14px;
	}
	.j-navbar__aux {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	.j-hero {
		padding-top: 28px;
	}
	.j-hero__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.j-hero__media {
		aspect-ratio: 4 / 5;
		max-height: 620px;
	}
	.j-hero__content {
		padding-right: 0;
	}
	.j-hero__title {
		font-size: clamp(32px, 6vw, 52px);
	}
	.j-newsletter__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 64px;
		padding-bottom: 64px;
	}
	.j-footer__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
	}
	.j-footer__col--note {
		display: none;
	}
}

@media (max-width: 900px) {
	.j-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 26px;
	}
	.j-card__title {
		font-size: 20.5px;
	}
	.j-article__layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}
	.j-article__aside {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 18px 36px;
		order: 2;
	}
	.j-article__aside-block {
		min-width: 150px;
	}
	.j-article__img {
		aspect-ratio: 4 / 3;
	}
	.j-page__content,
	.j-entry__content {
		max-width: 100%;
	}
}

@media (max-width: 680px) {
	:root {
		--g-gutter: 20px;
		--nav-height: 50px;
	}
	.j-topbar__note {
		display: none;
	}
	.j-topbar__inner {
		justify-content: space-between;
	}
	.j-masthead {
		padding-top: 20px;
		padding-bottom: 18px;
	}
	.j-masthead__word {
		font-size: 29px;
		letter-spacing: 0.12em;
		text-indent: 0.12em;
	}
	.j-masthead__sub {
		font-size: 8px;
		letter-spacing: 0.18em;
		max-width: 250px;
	}
	.j-navbar__brandlink {
		font-size: 13px;
	}
	.j-hero {
		padding-top: 22px;
	}
	.j-hero__label-date {
		display: none;
	}
	.j-hero__grid {
		margin-top: 18px;
	}
	.j-hero__media {
		max-height: none;
	}
	.j-hero__title {
		margin: 16px 0 16px;
		font-size: clamp(30px, 8.6vw, 42px);
	}
	.j-hero__dek {
		font-size: 15.5px;
	}
	.j-hero__meta {
		margin-top: 20px;
	}
	.j-hero__content .j-link {
		margin-top: 24px;
	}
	.j-latest {
		padding-top: 52px;
	}
	.j-grid--3 {
		grid-template-columns: 1fr;
		gap: 38px;
	}
	.j-grid--rail,
	.j-rail--2 .j-grid--rail {
		grid-template-columns: 1fr;
		gap: 38px;
	}
	.j-grid--rail > .j-card {
		grid-column: auto;
	}
	.j-rail--1 .j-card {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}
	.j-rail--1 .j-card__media,
	.j-rail--2 .j-card__media {
		aspect-ratio: 4 / 5;
	}
	.j-rail--1 .j-card__body {
		gap: 9px;
		padding-right: 0;
	}
	.j-rail--1 .j-card__title {
		font-size: 22px;
	}
	.j-rail--1 .j-card__title a {
		-webkit-line-clamp: 3;
	}
	.j-rail--1 .j-card__excerpt {
		-webkit-line-clamp: 3;
		font-size: 14.5px;
	}
	.j-rail {
		padding: 22px 0 46px;
	}
	.j-section-head {
		align-items: flex-end;
		flex-wrap: wrap;
		gap: 14px;
		margin-bottom: 26px;
	}
	.j-section-title {
		font-size: 30px;
	}
	.j-card__title {
		font-size: 22px;
	}
	.j-newsletter {
		margin-top: 10px;
	}
	.j-newsletter__inner {
		padding-top: 52px;
		padding-bottom: 56px;
		gap: 34px;
	}
	.j-newsletter__row {
		flex-direction: column;
		align-items: stretch;
		border-bottom: 0;
		gap: 10px;
	}
	.j-newsletter__input {
		border-bottom: 1px solid rgba(250, 248, 245, 0.35);
		padding: 14px 0;
	}
	.j-newsletter__row .j-button {
		margin-bottom: 0;
	}
	.j-footer {
		padding: 52px 0 26px;
	}
	.j-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
	}
	.j-footer__brand {
		grid-column: 1 / -1;
	}
	.j-footer__bottom {
		margin-top: 38px;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.j-archive {
		padding-top: 36px;
		padding-bottom: 70px;
	}
	.j-archive__head {
		margin-bottom: 32px;
	}
	.j-archive__title {
		font-size: clamp(34px, 9vw, 48px);
	}
	.j-searchform--overlay .j-searchform__input {
		font-size: 24px;
	}
	.j-search {
		padding-top: 9vh;
	}
	.j-article {
		padding-top: 24px;
	}
	.j-article__head {
		margin-top: 26px;
	}
	.j-article__title {
		font-size: clamp(32px, 8.8vw, 46px);
		margin: 14px 0 18px;
	}
	.j-article__lede {
		font-size: 17px;
	}
	.j-article__media {
		margin-top: 30px;
	}
	.j-article__img {
		aspect-ratio: 4 / 5;
		max-height: none;
	}
	.j-article__layout {
		margin-top: 38px;
		gap: 36px;
	}
	.j-entry__content {
		font-size: 16.5px;
		line-height: 1.75;
	}
	.j-entry__content h2 {
		font-size: 27px;
	}
	.j-entry__content h3 {
		font-size: 22px;
	}
	.j-entry__content blockquote {
		font-size: 23px;
		padding-left: 18px;
	}
	.j-related {
		margin-top: 46px;
		padding: 46px 0 70px;
	}
	.j-404 {
		padding: 46px 0 80px;
	}
	.j-404__search {
		margin-top: 34px;
	}
	.j-page {
		padding-top: 28px;
	}
	.j-page__head {
		margin: 24px 0 32px;
	}
	.j-page__title {
		font-size: clamp(32px, 8.8vw, 46px);
	}
	.j-drawer {
		width: min(88vw, 360px);
	}
}

@media (max-width: 420px) {
	.j-masthead__sub {
		letter-spacing: 0.14em;
	}
	.j-footer__grid {
		grid-template-columns: 1fr;
	}
	.j-footer__brand {
		grid-column: auto;
	}
	.j-hero__media {
		aspect-ratio: 1 / 1;
	}
	.j-card__media {
		aspect-ratio: 1 / 1;
	}
	.j-article__img {
		aspect-ratio: 1 / 1;
	}
}

/* --- Ograniczenie animacji ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
