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

html, body { height: 100%; }

:root{
	--bg: #efe6df;
	--ink: #1f1f1f;
	--accent: #b5121b;
	--footer-bg: #7f9487;

	--maxw: 1200px;
	--side-pad: 40px;

	/* Wysokości ramy */
	--header-h: 140px;     /* dopasuj jeśli jeszcze powiększysz logotypy */
	--footer-h: 64px;

	/* Menu */
	--menu-gap: clamp(14px, 2vh, 26px);
	--menu-size: clamp(30px, 4.2vw, 68px); /* lekko mniejsze niż wcześniej */
	--menu-stroke: rgba(31,31,31,0.55);

	/* Dłonie */
	--hand-opacity: 0.2;
	--hand-w: min(350px, 38vw);
}

body{
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;

	/* UWAGA: przy tym układzie NIE blokujemy scrolla */
	overflow-x: hidden;
	overflow-y: auto;

	/* rezerwa dla stopki fixed (żeby treść nie wchodziła pod footer “na stałe”) */
	padding-bottom: var(--footer-h);
}

/* Obrazki – bezpieczeństwo */
img{ max-width: 100%; height: auto; display: block; }

a{ color: inherit; text-decoration: none; }
a:focus-visible{
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

/* =========================================================
   FIXED HEADER — tylko logotypy (bez tekstu pod logo)
   ========================================================= */

.brand{
	position: fixed;
	top: 18px;
	left: var(--side-pad);
	z-index: 100;
	max-width:170px;
}

.brand img{

}

.dlr-logo{
	position: fixed;
	top: 18px;
	right: var(--side-pad);
	z-index: 100;

	width: 150px;
	max-width: 150px;
}

/* opcjonalnie: subtelna linia jak we wzorcu */
.header-rule{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--accent);
	z-index: 110;
}

/* =========================================================
   TŁO — dłonie (fixed, pod headerem i pod menu)
   ========================================================= */

.hand{
	position: fixed;
	top: 30%;
	width: var(--hand-w);
	opacity: var(--hand-opacity);
	filter: grayscale(1);
	width:20%;
	pointer-events: none;
	user-select: none;

	z-index: 10;
}

.left-hand{ transform: translateY(-10px); }
.right-hand{ right:1%; transform: translateY(-10px) }

/* =========================================================
   TREŚĆ — menu i przyszłe sekcje
   Klucz: padding-top = header-h, więc nigdy nie wejdzie w logotypy.
   Ale przy scrollu i tak “wjeżdża” pod header, bo header jest fixed nad nią.
   ========================================================= */

.menu{
	position: relative;
	z-index: 50;

	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: calc(var(--header-h) + 20px) var(--side-pad) 40px; /* top zabezpiecza header */

	/* centrowanie “ładne” gdy jest miejsce,
       a gdy brakuje miejsca – robi się scroll i menu nie wchodzi w header */
	min-height: calc(100vh - var(--footer-h));
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: var(--menu-gap);
}

/* Typografia menu */
.menu a{
	font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: var(--menu-size);
	line-height: 1.05;

	color: transparent;
	-webkit-text-stroke: 1.5px var(--menu-stroke);

	transition: transform 160ms ease, -webkit-text-stroke-color 160ms ease, opacity 160ms ease;
}

.menu a:hover{
	-webkit-text-stroke-color: var(--accent);
	transform: translateY(-1px);
}

.menu a:active{ transform: translateY(0) scale(0.99); }

/* =========================================================
   FIXED FOOTER
   ========================================================= */

footer{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-h);

	background: var(--footer-bg);
	color: #fff;
	z-index: 100;

	padding: 12px var(--side-pad);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;

	font-size: 13px;
	letter-spacing: 1px;
}

footer a{
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.35);
	padding-bottom: 2px;
}
footer a:hover{ border-bottom-color: rgba(255,255,255,0.85); }

/* =========================================================
   Responsywność
   ========================================================= */

@media (max-width: 900px){
	:root{
		--side-pad: 20px;
		--header-h: 130px;
		--menu-size: clamp(28px, 5.0vw, 60px);
	}
	.brand img{ width: 130px; }
	.dlr-logo{ width: 130px; max-width: 130px; }
}

@media (max-width: 560px){
	:root{
		--header-h: 120px;
		--footer-h: 72px; /* stopka częściej łamie linie */
		--menu-size: clamp(26px, 7.0vw, 52px);
	}
	.hand{ display: none; }
	.menu a{
		-webkit-text-stroke: 1.3px var(--menu-stroke);
		letter-spacing: 2.5px;
	}
}

/* Dostępność */
@media (prefers-reduced-motion: reduce){
	.menu a{ transition: none; }
}
/* =========================================================
   STOPKA — wersja uporządkowana (3 kolumny)
   Wklej na koniec CSS
   ========================================================= */

.site-footer{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-h);

	background: var(--footer-bg);
	color: #fff;
	z-index: 100;

	/* zamiast “nadziudzianego” układu kolumnowego */
	display: flex;
	align-items: center;
}

.site-footer__inner{
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--side-pad);

	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	align-items: center;
	gap: 16px;
}

.site-footer__left{
	font-size: 13px;
	letter-spacing: 0.6px;
	line-height: 1.2;
	opacity: 0.95;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-footer__sep{
	margin: 0 10px;
	opacity: 0.7;
}

.site-footer__madeby a{
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.35);
	padding-bottom: 2px;
}

.site-footer__madeby a:hover{
	border-bottom-color: rgba(255,255,255,0.85);
}

.site-footer__center{
	display: flex;
	justify-content: center;
	gap: 16px;
	font-size: 13px;
	letter-spacing: 0.8px;
	white-space: nowrap;
}

.site-footer__center a{
	color: #fff;
	opacity: 0.92;
	border-bottom: 1px solid rgba(255,255,255,0.35);
	padding-bottom: 2px;
}

.site-footer__center a:hover{
	opacity: 1;
	border-bottom-color: rgba(255,255,255,0.85);
}

.site-footer__right{
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

/* social buttons – schludne */
.site-footer .social-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,0.55);
	border-radius: 2px;
	font-size: 12px;
	letter-spacing: 1px;
	opacity: 0.95;
	transition: background 160ms ease, opacity 160ms ease;
}

.site-footer .social-btn:hover{
	background: rgba(255,255,255,0.12);
	opacity: 1;
}

/* Responsywność: na mniejszych ekranach stopka ma 2 wiersze */
@media (max-width: 900px){
	.site-footer__inner{
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		row-gap: 8px;
	}

	.site-footer__left{
		grid-column: 1 / -1;
		white-space: normal;
	}

	.site-footer__center{
		justify-content: flex-start;
	}
}

@media (max-width: 560px){
	/* przy Twoim układzie footer-h masz 72px na mobile,
       ale jeśli chcesz więcej oddechu, zwiększ w :root */
	.site-footer__center{
		gap: 12px;
		flex-wrap: wrap;
	}
}
/* =========================================================
   STOPKA — uporządkowana + “Realizacja” jako akcent mniejszościowy
   ========================================================= */

.site-footer{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-h);

	background: var(--footer-bg);
	color: #fff;
	z-index: 100;

	display: flex;
	align-items: center;
}

.site-footer__inner{
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--side-pad);

	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
}

.site-footer__left{
	font-size: 13px;
	letter-spacing: 0.6px;
	opacity: 0.95;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-footer__center{
	display: flex;
	justify-content: center;
	gap: 16px;
	font-size: 13px;
	letter-spacing: 0.8px;
	white-space: nowrap;
}

.site-footer__center a{
	color: #fff;
	opacity: 0.92;
	border-bottom: 1px solid rgba(255,255,255,0.35);
	padding-bottom: 2px;
}

.site-footer__center a:hover{
	opacity: 1;
	border-bottom-color: rgba(255,255,255,0.85);
}

/* Prawa kolumna: social + realizacja (wyciszona) */
.site-footer__right{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.site-footer__social{
	display: flex;
	gap: 10px;
}

/* social buttons */
.site-footer .social-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,0.55);
	border-radius: 2px;
	font-size: 12px;
	letter-spacing: 1px;
	opacity: 0.95;
	transition: background 160ms ease, opacity 160ms ease;
}

.site-footer .social-btn:hover{
	background: rgba(255,255,255,0.12);
	opacity: 1;
}

/* Realizacja — akcent mniejszościowy (mniej ważny) */
.site-footer__madeby{
	font-size: 11px;                 /* mniejsze */
	letter-spacing: 0.5px;
	opacity: 0.65;                   /* wyciszone */
	white-space: nowrap;
}

.site-footer__madeby a{
	color: rgba(255,255,255,0.85);
	border-bottom: 1px solid rgba(255,255,255,0.25);
	padding-bottom: 1px;
}

.site-footer__madeby a:hover{
	color: #fff;
	opacity: 0.95;
	border-bottom-color: rgba(255,255,255,0.6);
}

/* Responsywność */
@media (max-width: 900px){
	.site-footer__inner{
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		row-gap: 8px;
	}

	.site-footer__center{
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.site-footer__right{
		align-items: flex-start;
	}

	.site-footer__madeby{
		white-space: normal;
	}
}
/* ========= PODSTRONY: układ content + sidebar ========= */


.inner{
	max-width: var(--maxw);
	margin: 0;                 /* zamiast auto */
	margin-left: var(--side-pad);
	margin-right: auto;
	padding-top: 1px;      /* bariera */
	margin-top: -1px;
}



.inner__grid{
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 80px;
	align-items: start;
}

.inner__side{
	position: sticky;
	top: 200px; /* tyle ile masz offset kontenera */
	align-self: start;border-left
}

.inner__content{
	grid-column: 2;
}


.inner__title{
	margin: 0 0 18px;
	font-size: 34px;
	letter-spacing: 1px;
}

.inner__body{
	font-size: 16px;
	line-height: 1.7;
}
@media (max-width: 900px) {
	.inner__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.inner__side {
		padding-top: 0;
		order: 2;
	}

	.inner__content {
		order: 1;
	}
}

/* Menu na podstronach (ramka top-right) */
.menu-box{
	position: fixed;
	top: calc(var(--header-h) - 10px);
	right: var(--side-pad);
	z-index: 90;

	display: flex;
	flex-direction: column;
	gap: 8px;

	padding: 14px 14px;
	border: 1px solid rgba(31,31,31,0.25);
	background: rgba(239,230,223,0.82);
	backdrop-filter: blur(4px);
}

.menu-box a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ink);
	opacity: 0.85;
}

.menu-box a:hover{ opacity: 1; }

.menu-box__social{
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

/* Lista wpisów w działach */
.list{ display: grid; gap: 12px; }
.list__item {
	#border: 1px solid rgba(31,31,31,0.15);
	#border-left: 0;
	padding: 14px 16px;
	#background: rgba(255,255,255,0.25);
}
.list__title{ font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.list__excerpt{ margin-top: 6px; opacity: 0.8; }

/* Sidebar card */
.sidecard{
	border: 1px solid rgba(31,31,31,0.15);
	background: rgba(255,255,255,0.25);
	padding: 16px;
}
.sidecard__title{
	margin: 0 0 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}
.sidecard__label{ display:block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; margin: 10px 0 6px; }
.sidecard__input{ width: 100%; height: 38px; padding: 8px 10px; border: 1px solid rgba(31,31,31,0.25); background: rgba(255,255,255,0.6); }
.sidecard__check{ display:flex; gap:10px; font-size: 12px; opacity: .85; margin: 10px 0; }
.sidecard__btn{ height: 38px; padding: 0 14px; border: 1px solid rgba(31,31,31,0.35); background: transparent; text-transform: uppercase; letter-spacing: 1px; }
.sidecard__btn:hover{ border-color: var(--accent); }

/* RWD */
@media (max-width: 1100px){
	.inner__grid{ grid-template-columns: 320px 1fr; }
}

@media (max-width: 900px){
	.inner__grid{ grid-template-columns: 1fr; }
	.menu-box{ position: static; border: none; padding: 0; background: transparent; backdrop-filter: none; }
}
/* =========================================================
   PODSTRONY: MENU TAB BAR (TOP RIGHT) – jak na screenie
   ========================================================= */

:root{
	--tabs-h: 44px;
	--tabs-bg: rgba(239,230,223,0.90);
	--tabs-border: rgba(31,31,31,0.25);
	--tabs-ink: rgba(31,31,31,0.92);
}

/* pasek zakotwiczony w prawym górnym rogu */
.top-tabs{
	position: fixed;
	top: 0;                 /* przyklejone do górnej krawędzi */
	right: 0;               /* przyklejone do prawej */
	z-index: 120;

	display: flex;
	align-items: stretch;

	height: var(--tabs-h);

	border-left: 1px solid var(--tabs-border);
	border-bottom: 1px solid var(--tabs-border);
	background: var(--tabs-bg);
	backdrop-filter: blur(4px);
}

/* pojedyncze “zakładki” */
.top-tabs__item{
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 0 16px;
	height: 100%;

	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;

	color: var(--tabs-ink);
	border-right: 1px solid var(--tabs-border);
	opacity: 0.92;
	white-space: nowrap;
}

.top-tabs__item:hover{
	opacity: 1;
}

/* aktywny link – jeśli dodasz klasę w Twig, będzie jak “podświetlona zakładka” */
.top-tabs__item.is-active{
	background: rgba(31,31,31,0.08);
	opacity: 1;
}

/* Responsywność: na małych ekranach tabs schodzą do 2 linii (wrap) */
@media (max-width: 900px){
	.top-tabs{
		left: 0;              /* na tablet lepiej na całą szerokość */
		right: 0;
		justify-content: center;
		flex-wrap: wrap;
		height: auto;
		min-height: var(--tabs-h);
	}
	.top-tabs__item{
		height: var(--tabs-h);
	}
}

@media (max-width: 560px){
	.top-tabs__item{
		padding: 0 12px;
		font-size: 11px;
		letter-spacing: 0.8px;
	}
}
:root{
	--inner-top: 135px; /* ustawiasz raz, niezależnie od header-h */
}

/* =========================================================
   PODSTRONY: OFFSET TOP (JEDNO ŹRÓDŁO PRAWDY)
   Steruje tym, jak wysoko zaczyna się treść (.inner) pod fixed logo/headerem
   oraz pod paskiem .top-tabs.
   ========================================================= */

:root{
  /* Ustaw raz i reguluj w razie potrzeby (desktop). */
  --inner-top: 135px;
}

/* Desktop / standard: 1 rząd tabsów */
.inner{
  padding-top: calc(var(--inner-top) + var(--tabs-h));
}

/* Mobile/tablet: tabs mogą zawijać się do 2 rzędów */
@media (max-width: 900px){
  .inner{
    padding-top: calc(var(--inner-top) + (var(--tabs-h) * 2));
  }
}
.inner{
	padding-top: 10px !important;
}


/* =========================================================
   NEWSLETTER: "Pierwsza wzmianka" + newsletter w jednym rzędzie
   (bez zmiany kontrolerów i bez nowych plików)
   ========================================================= */

.inner__grid--newsletter{
	grid-template-columns: 1fr;
	gap: 24px;
}

/* ważne: w bazowym layoucie inner__content ma grid-column:2 — tu to zerujemy */
.inner__grid--newsletter .inner__content{
	grid-column: 1;
}

.inner__toprow{
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 24px;
	align-items: start;

	margin-top: 190px; /* TO DODAJEMY */
}

/* lepsze zachowanie wąskich elementów (nie rozsadzają siatki) */
.inner__toprow > *{
	min-width: 0;
}

.list__item--featured{
	margin: 0;
}

@media (max-width: 980px){
	.inner__toprow{
		grid-template-columns: 1fr;
		margin-top: 40px; /* żeby na mobile nie było absurdu */
	}
}
/* Wymuszenie: Newsletter po lewej, Pierwsza wzmianka po prawej */
.inner__topcards{
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

/* newsletter (include sidebar) zawsze jako 1. kolumna */
.inner__topcards > .sidecards{
	grid-column: 1;
}

/* pierwsza wzmianka zawsze jako 2. kolumna */
.inner__topcards > .sidecard--mention{
	grid-column: 2;
}

/* mobile: pod sobą */
@media (max-width: 980px){
	.inner__topcards{
		grid-template-columns: 1fr;
	}
	.inner__topcards > .sidecards,
	.inner__topcards > .sidecard--mention{
		grid-column: auto;
	}
}


/* =========================
   Newsletter: TOP ROW (newsletter + pierwsza wzmianka obok siebie)
   ========================= */
.inner__toprow{
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 190px;
}

/* Newsletter po lewej, wzmianka po prawej */
.inner__toprow > .sidecards{ grid-column: 1; }
.inner__toprow > .sidecard--mention{ grid-column: 2; }

/* Żeby content nie był na siłę w kolumnie 2 (masz takie reguły globalnie) */
.inner__content--newsletter{ grid-column: auto; }

@media (max-width: 980px){
  .inner__toprow{
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .inner__toprow > .sidecards,
  .inner__toprow > .sidecard--mention{ grid-column: auto; }
}
/* Dwa kafelki obok siebie (newsletter + pierwsza wzmianka) */
.inner__toprow{
	display: grid;
	grid-template-columns: 360px minmax(0, 360px);
	gap: 24px;
	align-items: start;
	margin-top: 190px;
}

/* Mobile: pod sobą */
@media (max-width: 980px){
	.inner__toprow{
		grid-template-columns: 1fr;
		margin-top: 40px;
	}
}

/* To jest ta jedyna zmiana o którą prosiłeś:
   Podnieść napis "Newsletter" w kafelku (jeśli jest jako .sidecard__title) */
.sidecards--newsletter .sidecard__title{
	margin-top: 0;
	margin-bottom: 10px;
}
/* =========================================
   FIX: poprawne obniżenie content + newsletter
   (bez margin collapsing)
   ========================================= */

/* bariera – zapobiega zapadaniu marginesów */
.inner__grid--newsletter{
	padding-top: 60px;
}

/* NIE RUSZAMY:
   - article
   - h1
   - aside
*/
/* SINGLE newsletter / czytanie wzmianki */
.inner{
	padding-top: 60px;
}

/* =========================================================
   UJEDNOLICENIE STARTU KONTENERA (LISTA + POJEDYNCZY)
   Wymaganie: wspólny kontener zaczyna się 200px poniżej góry,
   a newsletter + treść startują u góry tego kontenera (bez dodatkowych marginesów).
   ========================================================= */

.inner.inner--offset200{
  margin-top: 200px !important;
  padding-top: 0 !important;
}

/* jeśli gdzieś wcześniej było margin-top na toprow (np. 190px) – zerujemy */
.inner.inner--offset200 .inner__toprow{
  margin-top: 0 !important;
}

/* jeśli gdzieś wcześniej była “bariera”/padding-top dla newslettera – zerujemy */
.inner.inner--offset200 .inner__grid--newsletter{
  padding-top: 0 !important;
}
.inner--offset200{
	margin-top: 200px;
}
/* Wspólny offset dla kontenera */


/* Cofamy sidebar (newsletter) na stronach, gdzie jest układ z inner__side */

.list__teaser{
	margin-top: 6px;
	opacity: .85;
	line-height: 1.35;
	font-size: 0.95em;
}
.inner__grid--two{
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 24px;
	align-items: start;   /* <-- kluczowe */
}

.sidecard--placeholder{
	min-height: 260px; /* aby prawa kolumna startowała tak samo jak przy newsletterze */
	border: 1px solid transparent;
}

@media (max-width: 900px){
	.inner__grid--two{
		grid-template-columns: 1fr;
	}
}

.list__teaser{
	margin-top: 6px;
	opacity: .85;
	line-height: 1.35;
	font-size: .95em;
}
/* Wszystkie wzmianki wyglądają tak samo */
a.list__item{
	display: block;
	padding: 14px 16px;
	border: 1px solid rgba(31,31,31,0.15);
	background: rgba(255,255,255,0.25);
	text-decoration: none;
	color: inherit;
}

/* Odstęp między wpisami (działa i dla sidecard i dla list) */
.sidecard a.list__item,
.list a.list__item{
	margin-bottom: 12px;
}

/* Opcjonalnie: ostatni bez odstępu */
.sidecard a.list__item:last-child,
.list a.list__item:last-child{
	margin-bottom: 0;
}
/* 1) Wszystkie wpisy mają pełną ramkę (usuwa efekt "paska") */
.list__item{
	border-left: 1px solid rgba(31,31,31,0.15) !important;  /* nadpisuje border-left:0 */
}

/* 2) "Wyróżniona" karta ma wyglądać tak samo jak zwykła lista */
.sidecard--mention{
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 0 12px 0;   /* odstęp jak gap */
}

/* 3) Jeśli sidecard dokłada jakieś wewnętrzne formatowanie, neutralizujemy je */
.sidecard--mention .list__item{
	margin: 0 !important;
}
.flash-wrap{
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 9999;
	display: grid;
	gap: 10px;
}

.flash{
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 8px 22px rgba(0,0,0,.12);
	font-size: 14px;
	line-height: 1.35;
	max-width: 420px;
}

.flash--success{
	background: rgba(102,188,41,.15);
	border-color: rgba(102,188,41,.35);
	color: #1f3a12;
}

.flash--error,
.flash--danger{
	background: rgba(220,53,69,.12);
	border-color: rgba(220,53,69,.28);
	color: #5a0d14;
}

.flash--warning{
	background: rgba(255,193,7,.16);
	border-color: rgba(255,193,7,.35);
	color: #5a4300;
}

.flash--info{
	background: rgba(13,110,253,.12);
	border-color: rgba(13,110,253,.28);
	color: #0b2a63;
}
/* Desktop/mobile przełączanie */
.dlr-nav__desktop { display: block; }
.dlr-nav__burger, .dlr-nav__mobile { display: none; }

@media (max-width: 900px) {
	.dlr-nav__desktop { display: none; }
	.dlr-nav__burger { display: inline-flex; align-items: center; justify-content: center; }
	.dlr-nav__mobile { display: block; }
}

/* Burger ikonka */
/* ===== DLR Mobile Menu (FIX) ===== */

/* desktop / mobile przełączanie */
.dlr-nav__desktop { display: block; }
.dlr-nav__burger { display: none; }
.dlr-nav__mobile { display: block; } /* ale kontrolujemy widoczność przez [hidden] */

.dlr-nav__mobile[hidden] { display: none !important; } /* kluczowe! */

@media (max-width: 900px) {
	.dlr-nav { position: relative; }

	.dlr-nav__desktop { display: none; }
	.dlr-nav__burger { display: inline-flex; }
	/* UWAGA: NIE wymuszamy display:block na .dlr-nav__mobile – tym steruje hidden */
}

/* burger po PRAWEJ (fixed) */
.dlr-nav__burger{
	position: fixed;
	top: 14px;
	right: 14px;
	z-index: 1100;

	background: transparent;
	border: 0;
	padding: 10px;
	cursor: pointer;

	color: var(--ink); /* dopasuj jeśli trzeba */
}

/* 3 kreski (środkowa to sam span) */
.dlr-nav__burger-lines{
	width: 26px;
	height: 2px;
	display: inline-block;
	position: relative;
	background: currentColor; /* środkowa kreska */
}

.dlr-nav__burger-lines:before,
.dlr-nav__burger-lines:after{
	content:"";
	position:absolute;
	left:0;
	right:0;
	height:2px;
	background: currentColor;
}

.dlr-nav__burger-lines:before{ transform: translateY(-8px); }
.dlr-nav__burger-lines:after { transform: translateY(8px); }

/* animacja do X */
.dlr-nav.is-open .dlr-nav__burger-lines{
	background: transparent;
}
.dlr-nav.is-open .dlr-nav__burger-lines:before{
	transform: rotate(45deg);
}
.dlr-nav.is-open .dlr-nav__burger-lines:after{
	transform: rotate(-45deg);
}

/* panel mobilny jako overlay */
.dlr-nav__mobile{
	position: fixed;
	inset: 0;
	z-index: 1050;
	background: var(--bg);

	/* POPRAWKA — normalny padding */
	#padding: 90px 22px 40px;

	overflow: auto;
}

/* Mobile panel */
.dlr-menu { list-style: none; margin: 10px 0 0; padding: 0; }
.dlr-menu__item { margin: 0; padding: 0; }
.dlr-menu__link, .dlr-menu__text { display: block; padding: 10px 0; }
.dlr-menu__sub { list-style: none; margin: 0 0 0 12px; padding: 0; }
/* ===== Mobile overlay: logo left + centered menu like homepage ===== */

.dlr-nav__mobile{
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* logo po LEWEJ u góry */
.dlr-mobile__logo{
	position: fixed;
	top: 14px;
	left: 14px;
	z-index: 1200;
	display: inline-block;
}

/* ===== Mobile overlay: poprawki ===== */

/* większe logo */
.dlr-mobile__logo img{
	height: 88px;        /* było 44 → teraz 2x większe */
	width: auto;
	display: block;
}

/* pozycja logo trochę niżej żeby nie nachodziło na burger */
.dlr-mobile__logo{
	top: 18px;
	left: 18px;
}

/* menu wyżej (bez pionowego centrowania) */
.dlr-mobile__menu{
	width: 100%;
	max-width: 520px;
	margin-bottom: 40px;

	text-align: center;
}

/* większe odstępy między linkami */
.menu--mobile a{
	display: block;
	padding: 16px 0;
	font-size: 24px;
	line-height: 1.2;
}


/* dopasowanie wielkości linków na mobile */
.menu--mobile a{
	display: block;
	padding: 14px 0;
	font-size: 22px;        /* dopasuj pod swój look */
	line-height: 1.2;
}
@media (max-width: 900px){
	.inner__side--desktop{ display:none !important; }
}
@media (max-width: 900px){

	/* Siatka ma przejść na 1 kolumnę */
	.inner__grid{
		display: block !important;
	}

	/* Treść ma mieć równe odstępy */
	.inner__content{
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box !important;
	}

	/* Jeżeli gdzieś są przesunięcia/kolumny – wyłączamy */
	.inner__content,
	.inner__body{
		left: auto !important;
		right: auto !important;
		transform: none !important;
	}

	/* Dodatkowo: jeśli wrapper ma offsety */
	.inner{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
@media (max-width: 900px){

	/* Sekcje newsletter/materialy: wszystko ma iść w normalnym flow */
	.inner__topcards{
		position: static !important;
		top: auto !important;
		z-index: auto !important;

		display: block !important;
		margin: 0 0 16px 0 !important;
	}

	.inner__topcards .sidecards{
		position: static !important;
		margin: 0 0 16px 0 !important;
	}

	/* jeśli "Pierwsza wzmianka" była obok newslettera – na mobile pod spodem */
	.sidecard--mention{
		margin: 0 0 16px 0 !important;
	}

	/* lista wpisów nie może wjeżdżać pod newsletter */
	.inner__content{
		position: static !important;
		margin-top: 0 !important;
		clear: both !important;
	}

	/* Gdyby gdzieś był sticky w samym boxie newslettera */
	.newsletter,
	.newsletter-box,
	.sidecard,
	.sidecards{
		position: static !important;
		top: auto !important;
	}

	/* pewność: żadnych transformów, które powodują nakładanie */
	.inner__topcards,
	.sidecards,
	.sidecard,
	.inner__content{
		transform: none !important;
	}
}
@media (max-width: 900px){

	/* 1) rodzice nie mogą mieć transform/overflow, bo robią osobny kontekst */
	.inner__grid,
	.inner__topcards,
	.sidecards,
	.inner__side{
		transform: none !important;
		overflow: visible !important;
	}

	/* 2) wyłącz sticky/fixed na wszystkim w boxie newslettera */
	.sidecards,
	.sidecards *{
		position: static !important;
		top: auto !important;
		bottom: auto !important;
		left: auto !important;
		right: auto !important;
	}

	/* 3) układ w jednej kolumnie, jeden flow */
	.inner__topcards{
		display: block !important;
	}

	.inner__content{
		position: static !important;
		margin-top: 0 !important;
		clear: both !important;
	}

	/* 4) odstępy, żeby nigdy się nie "zderzyło" */
	.sidecards{
		margin: 0 0 18px 0 !important;
	}
}
/* ===== MOBILE FIX: newsletter nie sticky ===== */

@media (max-width: 900px){

	.inner__side{
		position: static !important;
		top: auto !important;
	}

	/* grid musi być jednokolumnowy */
	.inner__grid{
		display: block !important;
	}

}
