/* Reklamiarnia - strona główna (design z Penpota, 1920 px). Struktura w Elementorze, wygląd tutaj. */

.rk-site {
	--rk-vw: min(1vw, 12px);
	--rk-red: #e31e24;
	--rk-blue: #1e4f9e;
	--rk-ink: #111;
	--rk-pill: #f1f0ec;
	--rk-dark: #1c1c1c;
	--rk-muted: #5f5f5f;
	--rk-gap: max(clamp(16px, calc(2.1 * var(--rk-vw)), 40px), calc((100% - 1200px) / 2));
	--rk-radius: clamp(24px, calc(3 * var(--rk-vw)), 56px);
	--rk-arrow-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e31e24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--rk-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--rk-ink);
	background: #fff;
}

/* ---- Ukryj stary header/footer (strona ma własne w treści) i wyzeruj opakowania motywu ---- */
.rk-home .entry-header,
.rk-site .kadence-sticky-header,
.rk-site .mob-menu-header-holder,
.rk-site .mobmenu-left-panel,
.rk-site .mobmenu-right-panel,
.rk-site .mobmenu-overlay {
	display: none !important;
}

.rk-home .site-container,
.rk-home .content-container,
.rk-home .content-wrap,
.rk-home .entry-content-wrap,
.rk-home .entry-content,
.rk-home .single-content {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.rk-home .content-area,
.rk-home .site-main {
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* ---- Reset Elementora w obrębie projektu ---- */
:where(.rk-site [class*='rk-']).e-con,
:where(.rk-site [class*='rk-']) .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	padding: 0;
	gap: 0;
}

:where(.rk-site [class*='rk-']).e-con > .e-con-inner {
	padding: 0;
	gap: 0;
}

:where(.rk-site [class*='rk-']) .elementor-widget:not(:last-child),
:where(.rk-site [class*='rk-']).elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

:where(.rk-site [class*='rk-']) .elementor-widget-text-editor,
:where(.rk-site [class*='rk-']) .elementor-widget-heading .elementor-heading-title,
:where(.rk-site [class*='rk-']).elementor-widget-text-editor,
:where(.rk-site [class*='rk-']).elementor-widget-heading .elementor-heading-title {
	font-family: inherit;
	color: inherit;
}

/*
 * Elementor 4 wypisuje `.elementor-widget-text-editor { color: var(--e-global-color-text) }` (szary z kitu)
 * oraz `.elementor-widget-heading .elementor-heading-title { color: var(--e-global-color-primary) }` (jasnoniebieski z kitu).
 * Zapis powyżej ma specyficzność 0, więc przegrywa i tekst na ciemnych/kolorowych tłach robi się szary.
 * Tu wystarcza (0,2,0): bije Elementora, a reguły komponentów z własnym kolorem (rk-*) nadal go nadpisują.
 */
.rk-site :where([class*='rk-']) .elementor-widget-text-editor,
.rk-site :where([class*='rk-']).elementor-widget-text-editor,
.rk-site :where([class*='rk-']) .elementor-widget-heading .elementor-heading-title,
.rk-site :where([class*='rk-']).elementor-widget-heading .elementor-heading-title {
	color: inherit;
}

.rk-site .elementor-widget-text-editor p {
	margin: 0;
}

.rk-site .elementor-widget-text-editor ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site .elementor-widget-heading .elementor-heading-title {
	margin: 0;
	letter-spacing: 0.005em;
}

.rk-site a {
	color: inherit;
	text-decoration: none;
}

/* ---- Przyciski ---- */
.rk-site .rk-btn {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: max-content;
}

.rk-site .rk-sechead__text {
	flex: 1 1 auto;
	min-width: 0;
}

.rk-site .rk-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--rk-red);
	color: #fff;
	font: 600 clamp(16px, calc(1.05 * var(--rk-vw)), 20px) / 1 'Inter Tight', system-ui, sans-serif;
	letter-spacing: -0.02em;
	white-space: nowrap !important;
	transition: transform 0.2s, background 0.2s, color 0.2s;
}

.rk-site .rk-btn .elementor-button:hover {
	transform: translateY(-2px);
}

.rk-site .rk-btn .elementor-button::after {
	content: '';
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff var(--rk-arrow-red) center / 18px no-repeat;
}

.rk-site .rk-btn .elementor-button-content-wrapper {
	display: flex;
}

.rk-site .rk-btn--outline .elementor-button {
	background: transparent;
	border-color: var(--rk-red);
}

.rk-site .rk-btn--dark .elementor-button {
	background: var(--rk-dark);
}

.rk-site .rk-btn--dark .elementor-button::after {
	background: var(--rk-red) var(--rk-arrow-white) center / 18px no-repeat;
}

.rk-site .rk-btn--white .elementor-button {
	background: #fff;
	color: var(--rk-btn-fg, var(--rk-blue));
}

.rk-site .rk-btn--white .elementor-button::after {
	background: var(--rk-red) var(--rk-arrow-white) center / 18px no-repeat;
}

.rk-site .rk-btn--phone .elementor-button {
	padding: 20px clamp(24px, calc(2.2 * var(--rk-vw)), 44px);
	background: var(--rk-dark);
	font-size: clamp(16px, calc(1.15 * var(--rk-vw)), 22px);
	font-weight: 700;
}

.rk-site .rk-btn--phone .elementor-button::after {
	display: none;
}

.rk-site .rk-btn--arrow .elementor-button,
.rk-site .rk-btn--arrow-white .elementor-button {
	width: 44px;
	height: 44px;
	padding: 0;
	justify-content: center;
	background: var(--rk-red) var(--rk-arrow-white) center / 18px no-repeat;
}

.rk-site .rk-btn--arrow-white .elementor-button {
	background: #fff var(--rk-arrow-red) center / 18px no-repeat;
}

.rk-site .rk-btn--arrow .elementor-button::after,
.rk-site .rk-btn--arrow-white .elementor-button::after {
	display: none;
}

.rk-site .rk-btn--ghost .elementor-button {
	padding: 16px 22px 16px 24px;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.28);
	min-width: 220px;
	justify-content: space-between;
}

.rk-site .rk-btn--ghost .elementor-button-content-wrapper {
	flex: 1;
	justify-content: space-between;
}

.rk-site .rk-btn--ghost .elementor-button::after {
	width: 20px;
	height: 20px;
	background: var(--rk-arrow-white) center / contain no-repeat;
}

/* ---- Plakietki ---- */
.rk-site .rk-badge {
	width: auto;
	max-width: max-content;
}

.rk-site .rk-badge p {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font: 700 clamp(12px, calc(0.85 * var(--rk-vw)), 15px) / 1 'Inter Tight', sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rk-site .rk-badge--light {
	color: #fff;
}

.rk-site .rk-badge--light p {
	border-color: rgba(255, 255, 255, 0.55);
}

/* ---- Nagłówki ---- */
.rk-site .rk-h1 .elementor-heading-title {
	font-size: clamp(46px, calc(5.6 * var(--rk-vw)), 108px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: 0.012em;
	color: #fff;
}

.rk-site .rk-h2 .elementor-heading-title {
	font-size: clamp(36px, calc(3.9 * var(--rk-vw)), 76px);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: 0.005em;
	color: var(--rk-blue);
}

.rk-site .rk-h2--white .elementor-heading-title {
	color: #fff;
}

.rk-site .rk-h2--center {
	text-align: center;
}

/* ---- Header ---- */
.rk-site .rk-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px var(--rk-gap);
	background: #fff;
}

.rk-site .rk-logo {
	width: auto;
}

.rk-site .rk-logo {
	--rk-img-w: clamp(170px, calc(17 * var(--rk-vw)), 240px);
}


.rk-site .rk-logo img,
.rk-site .rk-logo img.lazyload,
.rk-site .rk-logo img.lazyloading {
	display: block;
	width: var(--rk-img-w) !important;
	height: auto !important;
	aspect-ratio: 936 / 114 !important;
}

.rk-site .rk-nav-wrap {
	width: auto;
}

.rk-site .rk-menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border-radius: 999px;
	background: var(--rk-pill);
}

.rk-site .rk-menu a {
	display: block;
	padding: 12px clamp(14px, calc(1.3 * var(--rk-vw)), 26px);
	border-radius: 999px;
	font-size: clamp(15px, calc(1.15 * var(--rk-vw)), 22px);
	font-weight: 500;
	letter-spacing: -0.02em;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}

.rk-site .rk-menu a:hover {
	background: #fff;
	color: var(--rk-red);
}

.rk-site .rk-menu .current-menu-item > a {
	background: var(--rk-red);
	color: #fff;
}

/* ---- Hero ---- */
.rk-site .rk-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: calc(100% - 2 * var(--rk-gap)) !important;
	margin: 0 var(--rk-gap);
	min-height: clamp(560px, calc(45 * var(--rk-vw)), 880px);
	padding: clamp(32px, calc(5 * var(--rk-vw)), 96px);
	border-radius: var(--rk-radius);
	background-color: #000;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	isolation: isolate;
}

.rk-site .rk-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.rk-site .rk-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(16px, calc(1.6 * var(--rk-vw)), 32px);
}

.rk-site .rk-lead p {
	font-size: clamp(18px, calc(1.5 * var(--rk-vw)), 28px);
	letter-spacing: -0.012em;
	color: #fff;
}

.rk-site .rk-hero__cta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 16px;
}

.rk-site .rk-hero__card {
	position: absolute;
	right: 0;
	bottom: 0;
	left: auto;
	width: fit-content !important;
	max-width: calc(100% - 24px);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: clamp(16px, calc(2 * var(--rk-vw)), 36px);
	padding: clamp(14px, calc(1.3 * var(--rk-vw)), 24px) clamp(18px, calc(1.7 * var(--rk-vw)), 30px);
	border-top-left-radius: clamp(28px, calc(2.6 * var(--rk-vw)), 48px);
	background: #fff;
}

.rk-site .rk-hero__card-title .elementor-heading-title {
	white-space: nowrap;
	font-size: clamp(18px, calc(1.5 * var(--rk-vw)), 28px);
	font-weight: 700;
	color: var(--rk-ink);
}

.rk-site .rk-hero__card-text p {
	margin-top: 4px;
	white-space: nowrap;
	padding-right: 4px;
	font-size: clamp(13px, calc(0.9 * var(--rk-vw)), 16px);
	color: var(--rk-muted);
	letter-spacing: -0.02em;
}

.rk-site .rk-avatars {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.rk-site .rk-avatars .elementor-widget {
	width: auto;
}

.rk-site .rk-avatars .elementor-widget + .elementor-widget {
	margin-left: clamp(-16px, -1.1vw, -12px);
}

.rk-site .rk-avatars img {
	display: block;
	width: clamp(40px, 3.6vw, 56px);
	height: clamp(40px, 3.6vw, 56px);
	border: 3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}

/* ---- Pasek haseł ---- */
.rk-site .rk-marquee {
	margin-top: clamp(16px, calc(1.6 * var(--rk-vw)), 30px);
	padding: clamp(16px, calc(1.7 * var(--rk-vw)), 30px) var(--rk-gap);
	border-bottom: 1px solid #e8e8e8;
	overflow: hidden;
}

.rk-site .rk-marquee__list ul {
	display: flex;
	justify-content: space-between;
	gap: clamp(24px, calc(3 * var(--rk-vw)), 56px);
	white-space: nowrap;
}

.rk-site .rk-marquee__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: clamp(18px, calc(1.5 * var(--rk-vw)), 28px);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.rk-site .rk-marquee__list li::before {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rk-red);
}

/* ---- Nagłówek sekcji ---- */
.rk-site .rk-sechead {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(28px, calc(3 * var(--rk-vw)), 56px);
}

.rk-site .rk-sechead__text {
	display: flex;
	flex-direction: column;
	gap: clamp(14px, calc(1.4 * var(--rk-vw)), 26px);
}

/* ---- Oferta ---- */
.rk-site .rk-offer,
.rk-site .rk-work,
.rk-site .rk-reviews {
	padding: clamp(48px, calc(7 * var(--rk-vw)), 130px) var(--rk-gap) clamp(32px, calc(4 * var(--rk-vw)), 80px);
}

/* Widżet „Oferta Abitone" ma własną otoczkę elementor-widget-container, która nie może zaburzać siatki kart. */
.rk-site .rk-cards > .elementor-widget-container,
.rk-site .rk-work-grid > .elementor-widget-container {
	display: contents;
}

.rk-site .rk-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, calc(1.25 * var(--rk-vw)), 24px);
}

.rk-site .rk-card {
	display: flex;
	flex-direction: column;
	gap: clamp(14px, calc(1.3 * var(--rk-vw)), 24px);
}

.rk-site .rk-card__media {
	position: relative;
}

.rk-site .rk-card__img img {
	display: block;
	width: 100%;
	aspect-ratio: 594 / 422;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
	object-fit: cover;
}

.rk-site .rk-tag {
	z-index: 2;
	position: absolute;
	top: 20px;
	left: 20px;
	width: auto;
}

.rk-site .rk-tag p {
	padding: 11px 24px;
	border-radius: 999px;
	background: rgba(60, 60, 60, 0.72);
	backdrop-filter: blur(6px);
	color: #fff;
	font: 700 clamp(12px, calc(0.85 * var(--rk-vw)), 15px) / 1 'Inter Tight', sans-serif;
	letter-spacing: 0.06em;
}

.rk-site .rk-card__row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.rk-site .rk-card__title .elementor-heading-title {
	font-size: clamp(24px, calc(2.1 * var(--rk-vw)), 40px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.005em;
}

.rk-site .rk-card__text p {
	font-size: clamp(15px, calc(1.05 * var(--rk-vw)), 20px);
	color: var(--rk-muted);
	letter-spacing: -0.02em;
}

/* ---- Realizacje ---- */
.rk-site .rk-work-grid {
	display: grid !important;
	grid-template-columns: 1.25fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: clamp(14px, calc(1.25 * var(--rk-vw)), 24px);
	min-height: clamp(520px, calc(38 * var(--rk-vw)), 760px);
}

.rk-site .rk-wcard {
	position: relative;
	min-height: 260px;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.rk-site .rk-wcard--1 {
	grid-row: 1 / span 2;
}

.rk-site .rk-wcard--2 {
	grid-column: 2 / span 2;
}

.rk-site .rk-wcard::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
}

.rk-site .rk-wcard__label {
	position: absolute;
	left: 24px;
	bottom: 24px;
	width: auto;
}

.rk-site .rk-wcard__label .elementor-heading-title {
	display: inline-block;
	padding: 14px 22px;
	border-radius: 999px;
	background: rgba(50, 50, 50, 0.85);
	color: #fff;
	font-size: clamp(15px, calc(1.05 * var(--rk-vw)), 20px);
	font-weight: 500;
	letter-spacing: -0.005em;
}

.rk-site .rk-stat-tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(22px, calc(2 * var(--rk-vw)), 36px);
	background: var(--rk-red);
	color: #fff;
}

.rk-site .rk-stat-tile::before {
	display: none;
}

.rk-site .rk-stat-tile__top {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}

.rk-site .rk-stat-tile__num .elementor-heading-title {
	font-size: clamp(64px, calc(6.9 * var(--rk-vw)), 132px);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	color: #fff;
}

.rk-site .rk-stat-tile__text p {
	margin-top: 10px;
	font-size: clamp(16px, calc(1.2 * var(--rk-vw)), 24px);
	letter-spacing: -0.02em;
}

/* ---- O nas ---- */
.rk-site .rk-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, calc(5 * var(--rk-vw)), 96px);
	margin-top: clamp(32px, calc(4 * var(--rk-vw)), 80px);
	padding: clamp(48px, calc(5.5 * var(--rk-vw)), 100px) max(clamp(24px, calc(6 * var(--rk-vw)), 112px), calc((100% - 1060px) / 2));
	background: var(--rk-blue);
	color: #fff;
	--rk-btn-fg: var(--rk-blue);
}

.rk-site .rk-about__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(18px, calc(1.8 * var(--rk-vw)), 34px);
}

.rk-site .rk-about__text p {
	max-width: 36em;
	font-size: clamp(16px, calc(1.15 * var(--rk-vw)), 22px);
	line-height: 1.45;
	letter-spacing: -0.02em;
}

.rk-site .rk-stats {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: clamp(20px, calc(2.1 * var(--rk-vw)), 40px);
}

.rk-site .rk-stat__num .elementor-heading-title {
	font-size: clamp(36px, calc(2.9 * var(--rk-vw)), 56px);
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.rk-site .rk-stat__label p {
	margin-top: 4px;
	font-size: clamp(14px, calc(0.95 * var(--rk-vw)), 18px);
	color: rgba(255, 255, 255, 0.82);
}

.rk-site .rk-about__img img {
	display: block;
	width: 100%;
	aspect-ratio: 903 / 640;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
	object-fit: cover;
	background: #ddd;
}

/* ---- Zaufali nam ---- */
.rk-site .rk-trust {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(18px, calc(1.8 * var(--rk-vw)), 34px);
	padding: clamp(48px, calc(5.5 * var(--rk-vw)), 100px) var(--rk-gap);
	background: #f6f6f6;
}

.rk-site .rk-trust__logos,
.rk-site .rk-trust .elementor-widget-shortcode,
.rk-site .rk-trust .elementor-widget-abitone-logotypy {
	width: 100%;
}

.rk-site .rk-logos {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: clamp(10px, calc(0.85 * var(--rk-vw)), 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-site .rk-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 215 / 150;
	padding: 14px;
	border-radius: clamp(14px, calc(1.1 * var(--rk-vw)), 20px);
	background: #fff;
	overflow: hidden;
}

.rk-site .rk-logos__item img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* ---- CTA ---- */
.rk-site .rk-cta {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: clamp(48px, calc(6 * var(--rk-vw)), 120px) max(clamp(24px, calc(4.6 * var(--rk-vw)), 88px), calc((100% - 1120px) / 2));
	background: var(--rk-red);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	--rk-btn-fg: var(--rk-red);
}

.rk-site .rk-cta::after {
	content: 'r';
	position: absolute;
	right: 10%;
	bottom: -28%;
	z-index: -1;
	font-size: clamp(300px, calc(36 * var(--rk-vw)), 720px);
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.12);
}

.rk-site .rk-cta__title .elementor-heading-title {
	font-size: clamp(44px, calc(6.1 * var(--rk-vw)), 118px);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: 0.005em;
	color: #fff;
}

.rk-site .rk-cta__text p {
	margin-top: clamp(14px, calc(1.4 * var(--rk-vw)), 26px);
	font-size: clamp(17px, calc(1.3 * var(--rk-vw)), 25px);
	letter-spacing: -0.02em;
}

.rk-site .rk-cta__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(10px, calc(1 * var(--rk-vw)), 18px);
}

.rk-site .rk-cta__phone .elementor-heading-title {
	font-size: clamp(40px, calc(4.9 * var(--rk-vw)), 94px);
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.rk-site .rk-cta__mail p {
	font-size: clamp(17px, calc(1.4 * var(--rk-vw)), 27px);
	letter-spacing: -0.02em;
}

/* ---- Stopka ---- */
.rk-site .rk-footer {
	padding: clamp(36px, calc(3.4 * var(--rk-vw)), 64px) max(clamp(20px, calc(3.75 * var(--rk-vw)), 72px), calc((100% - 1140px) / 2)) 0;
	background: var(--rk-dark);
	color: #fff;
	overflow: hidden;
}

.rk-site .rk-footer__top {
	display: grid;
	grid-template-columns: 1.7fr 0.8fr 1.3fr 1.2fr;
	gap: clamp(24px, calc(3 * var(--rk-vw)), 56px);
	padding-bottom: clamp(32px, calc(3 * var(--rk-vw)), 56px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rk-site .rk-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.rk-site .rk-footer__logo {
	width: auto;
	padding: 10px 18px;
	border-radius: 14px;
	background: #fff;
}

.rk-site .rk-footer__logo img {
	display: block;
	width: clamp(120px, calc(9 * var(--rk-vw)), 170px);
	height: auto;
}

.rk-site .rk-footer__about p,
.rk-site .rk-footer__address p {
	font-size: clamp(14px, calc(1.05 * var(--rk-vw)), 20px);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: -0.02em;
}

.rk-site .rk-footer__phone .elementor-heading-title {
	font-size: clamp(36px, calc(3.7 * var(--rk-vw)), 72px);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	color: #fff;
}

.rk-site .rk-footer__mail p {
	font-size: clamp(16px, calc(1.35 * var(--rk-vw)), 26px);
	letter-spacing: -0.02em;
}

.rk-site .rk-footer__label p {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #ff6a6e; /* jaśniejszy czerwony: kontrast 4,5:1 na ciemnym tle stopki */
}

.rk-site .rk-footer__links li {
	margin-bottom: 11px;
}

.rk-site .rk-footer__links a {
	font-size: clamp(15px, calc(1.1 * var(--rk-vw)), 21px);
	letter-spacing: -0.02em;
	transition: color 0.2s;
}

.rk-site .rk-footer__links a:hover {
	color: var(--rk-red);
}

.rk-site .rk-footer__cta {
	margin-top: 22px;
}

.rk-site .rk-footer__bottom {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 0 0;
	font-size: clamp(13px, calc(0.85 * var(--rk-vw)), 16px);
	color: rgba(255, 255, 255, 0.55);
}

.rk-site .rk-footer__bottom a:hover {
	color: #fff;
}

.rk-site .rk-footer::after {
	content: 'reklamiarnia.pl';
	display: block;
	margin: 8px 0 -0.12em;
	font-size: clamp(60px, calc(11.4 * var(--rk-vw)), 230px);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.025em;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.06);
	pointer-events: none;
	user-select: none;
}

/* ---- Tablet ---- */
@media (max-width: 1100px) {
	.rk-site .rk-cards {
		grid-template-columns: 1fr 1fr;
	}

	.rk-site .rk-logos {
		grid-template-columns: repeat(4, 1fr);
	}

	.rk-site .rk-footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.rk-site .rk-marquee__list ul {
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
	}
}

/* ---- Mobile ---- */
@media (max-width: 800px) {
	.rk-site .rk-header {
		flex-wrap: wrap;
	}

	.rk-site .rk-nav-wrap {
		order: 3;
		width: 100%;
		overflow-x: auto;
	}

	.rk-site .rk-hero {
		justify-content: flex-start;
		padding-bottom: 200px;
	}

	.rk-site .rk-hero::before {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5));
	}

	.rk-site .rk-hero__card {
		left: 0;
		flex-wrap: wrap;
		gap: 16px;
	}

	.rk-site .rk-sechead {
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-site .rk-cards {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-work-grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		min-height: 0;
	}

	.rk-site .rk-wcard--1,
	.rk-site .rk-wcard--2 {
		grid-row: auto;
		grid-column: auto;
	}

	.rk-site .rk-wcard {
		min-height: 300px;
	}

	.rk-site .rk-about {
		grid-template-columns: 1fr;
	}

	.rk-site .rk-logos {
		grid-template-columns: repeat(3, 1fr);
	}

	.rk-site .rk-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-site .rk-footer__top {
		grid-template-columns: 1fr;
	}
}

/* ---- Wtyczka mobile-menu: strona ma własne menu w treści ---- */
.rk-site .mob-menu-header-holder,
.rk-site .mobmenu-left-panel,
.rk-site .mobmenu-right-panel,
.rk-site .mobmenu-overlay,
.rk-site .mobmenu-footer-menu-holder {
	display: none !important;
}

/* ---- Hamburger i menu mobilne ---- */
.rk-site .rk-header {
	position: relative;
	z-index: 20;
}

.rk-site .rk-burger-wrap {
	display: none;
	width: auto;
}

.rk-site .rk-burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 48px;
	height: 48px;
	padding: 0 12px;
	border: 0;
	border-radius: 50%;
	background: var(--rk-pill);
	cursor: pointer;
}

.rk-site .rk-burger span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--rk-ink);
}

@media (max-width: 800px) {
	.rk-site .rk-burger-wrap {
		display: block;
	}

	.rk-site .rk-header .rk-header__actions,
	.rk-site .rk-header .rk-nav-wrap {
		display: none;
	}

	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		display: block;
		position: absolute;
		top: 100%;
		left: var(--rk-gap);
		right: var(--rk-gap);
		z-index: 30;
		order: 0;
		width: auto;
		padding: 8px;
		border-radius: 28px;
		background: #fff;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
		overflow: visible;
	}

	.rk-site.rk-nav-open .rk-menu {
		flex-direction: column;
		border-radius: 20px;
	}

	.rk-site.rk-nav-open .rk-menu a {
		padding: 16px 20px;
		font-size: 20px;
	}
}

/* ---- Menu: ikona domu ---- */
.rk-site .rk-menu__home a {
	display: flex;
	align-items: center;
	padding: 12px calc(1.1 * var(--rk-vw) + 8px);
}

.rk-site .rk-menu__home svg {
	display: block;
}

/* ---- Elementy tylko na mobile / tylko na desktopie ---- */
.rk-site .rk-wcard--5,
.rk-site .rk-work__more,
.rk-site .rk-dots {
	display: none;
}

/* ---- Slider kart na desktopie (gdy wyróżniono więcej niż 3 usługi) ---- */
.rk-site .rk-cards-arrow {
	display: none;
}

@media (min-width: 901px) {
	.rk-site .rk-cards.rk-cards--slider {
		--rk-cards-gap: clamp(14px, calc(1.25 * var(--rk-vw)), 24px);
		display: flex;
		flex-wrap: nowrap;
		gap: var(--rk-cards-gap);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.rk-site .rk-cards.rk-cards--slider::-webkit-scrollbar {
		display: none;
	}

	/* dokładnie 3 karty w widoku, reszta po przewinięciu */
	.rk-site .rk-cards--slider .rk-card {
		flex: 0 0 calc((100% - 2 * var(--rk-cards-gap)) / 3);
		scroll-snap-align: start;
	}

	.rk-site .rk-cards--slider + .rk-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		margin-top: 22px;
	}

	.rk-site .rk-cards--slider + .rk-dots button:not(.rk-cards-arrow) {
		position: relative;
		width: 24px;
		height: 24px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.rk-site .rk-cards--slider + .rk-dots button:not(.rk-cards-arrow)::before {
		content: '';
		position: absolute;
		top: 8px;
		left: 8px;
		width: 8px;
		height: 8px;
		border-radius: 8px;
		background: #d4d4d4;
		transition: width 0.2s, left 0.2s, background 0.2s;
	}

	.rk-site .rk-cards--slider + .rk-dots button.is-active::before {
		left: -2px;
		width: 28px;
		background: var(--rk-red);
	}

	.rk-site .rk-cards-arrow {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin: 0 14px;
		padding: 0;
		border: 1.5px solid #d4d4d4;
		border-radius: 50%;
		background: #fff;
		color: var(--rk-ink);
		cursor: pointer;
		transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
	}

	.rk-site .rk-cards-arrow:hover:not(:disabled),
	.rk-site .rk-cards-arrow:focus-visible {
		background: var(--rk-ink);
		border-color: var(--rk-ink);
		color: #fff;
	}

	.rk-site .rk-cards-arrow:disabled {
		opacity: 0.35;
		cursor: default;
	}

	.rk-site .rk-cards-arrow svg {
		width: 18px;
		height: 18px;
	}
}

/* ---- Mobile i tablet ---- */
@media (max-width: 900px) {
	/* Oferta jako slider */
	.rk-site .rk-cards {
		display: flex !important;
		flex-direction: row;
		flex-wrap: nowrap !important;
		gap: 16px;
		margin-right: calc(-1 * var(--rk-gap));
		padding-right: var(--rk-gap);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.rk-site .rk-cards::-webkit-scrollbar {
		display: none;
	}

	.rk-site .rk-card {
		flex: 0 0 min(78%, 420px);
		scroll-snap-align: start;
	}

	.rk-site .rk-dots {
		display: flex;
		justify-content: center;
		gap: 0;
		margin-top: 18px;
	}

	/* kropka 8 px, ale obszar dotyku 24 px (wymóg dostępności) */
	.rk-site .rk-dots button {
		position: relative;
		width: 24px;
		height: 24px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.rk-site .rk-dots button::before {
		content: '';
		position: absolute;
		top: 8px;
		left: 8px;
		width: 8px;
		height: 8px;
		border-radius: 8px;
		background: #d4d4d4;
		transition: width 0.2s, left 0.2s, background 0.2s;
	}

	.rk-site .rk-dots button.is-active::before {
		left: -2px;
		width: 28px;
		background: var(--rk-red);
	}

	.rk-site .rk-offer .rk-sechead .rk-btn {
		display: none;
	}
}

@media (max-width: 800px) {
	/* Realizacje: układ jak w makiecie mobilnej */
	.rk-site .rk-work-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: none;
		gap: 12px;
		min-height: 0;
	}

	.rk-site .rk-wcard--1 {
		display: none;
	}

	.rk-site .rk-wcard--2,
	.rk-site .rk-wcard--5 {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 230px;
	}

	.rk-site .rk-wcard--5 {
		display: block;
	}

	.rk-site .rk-wcard--3,
	.rk-site .rk-wcard--4 {
		grid-column: auto;
		grid-row: auto;
		min-height: 190px;
	}

	.rk-site .rk-wcard__label {
		left: 12px;
		bottom: 12px;
	}

	.rk-site .rk-wcard__label .elementor-heading-title {
		padding: 10px 16px;
		font-size: 14px;
	}

	.rk-site .rk-work .rk-sechead .rk-btn {
		display: none;
	}

	.rk-site .rk-work__more {
		display: block;
		width: 100%;
		max-width: none;
		margin-top: 14px;
	}

	.rk-site .rk-work__more .elementor-button {
		width: 100%;
		justify-content: space-between;
		padding-left: 28px;
	}

	/* Stopka: dwie kolumny (Menu | Oferta), reszta na całą szerokość */
	.rk-site .rk-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 28px 16px;
	}

	.rk-site .rk-footer__col--brand,
	.rk-site .rk-footer__col--social {
		grid-column: 1 / -1;
	}

	.rk-site .rk-footer__col--social {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.rk-site .rk-footer__col--social .rk-footer__label {
		flex-basis: 100%;
	}

	.rk-site .rk-footer__cta {
		margin-top: 0;
	}
}

@media (max-width: 800px) {
	.rk-site .rk-footer {
		padding-top: 32px;
	}

	.rk-site .rk-footer__top {
		gap: 22px 16px;
		padding-bottom: 24px;
	}

	.rk-site .rk-footer__col {
		gap: 10px;
	}

	.rk-site .rk-footer__links li {
		margin-bottom: 6px;
	}

	.rk-site .rk-footer__links a {
		font-size: 15px;
	}

	.rk-site .rk-footer__col--brand .rk-footer__phone .elementor-heading-title {
		font-size: 34px;
	}

	.rk-site .rk-footer__col--social {
		gap: 8px;
	}

	.rk-site .rk-footer__col--social .rk-btn--ghost {
		flex: 1 1 calc(50% - 4px);
		max-width: none;
	}

	.rk-site .rk-footer__col--social .rk-btn--ghost .elementor-button {
		min-width: 0;
		width: 100%;
		padding: 12px 16px;
	}

	.rk-site .rk-footer__col--social .rk-footer__cta {
		flex: 1 1 100%;
		max-width: none;
	}

	.rk-site .rk-footer__col--social .rk-footer__cta .elementor-button {
		width: 100%;
		justify-content: space-between;
	}

	.rk-site .rk-footer__bottom {
		padding-top: 16px;
		flex-direction: column;
		align-items: flex-start;
	}

	.rk-site .rk-footer::after {
		margin-top: 0;
		font-size: 17vw;
	}
}

/* ---- Poprawki: body, hero na mobile, menu mobilne ---- */
body.rk-site {
	padding-top: 0 !important;
}

.rk-site .rk-menu__home-label,
.rk-site .rk-menu__call,
.rk-site .rk-menu__mail {
	display: none;
}

@media (max-width: 800px) {
	.rk-site .rk-hero {
		padding-bottom: 0;
		justify-content: flex-start;
	}

	.rk-site .rk-hero__inner {
		padding-bottom: 240px;
	}

	.rk-site .rk-hero__card {
		left: 0;
		right: 0;
		width: 100% !important;
		max-width: none;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 14px 16px;
		padding: 22px 22px 24px;
		border-top-right-radius: clamp(24px, 6vw, 36px);
	}

	.rk-site .rk-hero__card-copy {
		flex: 1 1 100%;
	}

	.rk-site .rk-hero__card-title .elementor-heading-title {
		font-size: 24px;
	}

	.rk-site .rk-hero__card-text p {
		white-space: normal;
		font-size: 15px;
	}

	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		padding: 10px 14px 14px;
		border-radius: 24px;
		box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
	}

	.rk-site.rk-nav-open .rk-menu {
		gap: 0;
		padding: 0;
		border-radius: 0;
		background: transparent;
	}

	.rk-site.rk-nav-open .rk-menu li {
		border-bottom: 1px solid #ececec;
	}

	.rk-site.rk-nav-open .rk-menu li:last-child {
		border-bottom: 0;
	}

	.rk-site.rk-nav-open .rk-menu a {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 17px 6px;
		border-radius: 0;
		background: transparent !important;
		color: var(--rk-ink) !important;
		font-size: 20px;
		font-weight: 600;
		letter-spacing: -0.02em;
	}

	.rk-site.rk-nav-open .rk-menu .current-menu-item > a {
		color: var(--rk-red) !important;
	}

	.rk-site.rk-nav-open .rk-menu__home-label {
		display: inline;
	}

	.rk-site.rk-nav-open .rk-menu__mail {
		display: block;
		border-bottom: 0;
		padding-top: 8px;
	}

	.rk-site.rk-nav-open .rk-menu__mail a {
		justify-content: center;
		padding: 14px;
		border-radius: 999px;
		background: var(--rk-pill) !important;
		color: var(--rk-ink) !important;
	}

	.rk-site.rk-nav-open .rk-menu__call {
		display: block;
		border-bottom: 0;
		padding-top: 12px;
	}

	.rk-site.rk-nav-open .rk-menu__call a {
		justify-content: center;
		padding: 16px;
		border-radius: 999px;
		background: var(--rk-dark) !important;
		color: #fff !important;
	}
}

/* =====================================================================
   Nagłówek: na desktopie zwykły (przewija się razem ze stroną), a po przewinięciu pojawia się
   pływający „dock” (patrz sekcja na końcu pliku). Na mobile nagłówek jest sticky bez zmiany rozmiaru.
   ===================================================================== */
html {
	scroll-padding-top: 96px;
}

.rk-site .rk-menu a {
	transition: background 0.2s, color 0.2s;
}

@media (max-width: 800px) {
	.rk-site header.ehf-header,
	.rk-site header#masthead {
		position: sticky;
		top: 0;
		z-index: 100;
	}

	.rk-site .rk-header {
		transition: box-shadow 0.25s ease;
	}

	.rk-site.rk-scrolled .rk-header {
		box-shadow: 0 8px 28px rgba(17, 17, 17, 0.1);
	}
}

/* ---- Przycisk telefonu w niebieskim kolorze marki ---- */
.rk-site .rk-btn--phone .elementor-button {
	background: var(--rk-blue);
	transition: transform 0.2s, background 0.2s;
}

.rk-site .rk-btn--phone .elementor-button:hover {
	background: #173f80;
}

@media (max-width: 800px) {
	.rk-site.rk-nav-open .rk-menu__call a {
		background: var(--rk-blue) !important;
	}

}

/* =====================================================================
   Animacje
   ===================================================================== */
@keyframes rkUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rkSlideIn {
	from {
		opacity: 0;
		transform: translateX(28px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rkMarquee {
	to {
		transform: translateX(-50%);
	}
}

/* Wejście hero przy ładowaniu strony */
.rk-site .rk-hero__inner > * {
	animation: rkUp 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rk-site .rk-hero__inner > *:nth-child(1) {
	animation-delay: 0.1s;
}

.rk-site .rk-hero__inner > *:nth-child(2) {
	animation-delay: 0.22s;
}

.rk-site .rk-hero__inner > *:nth-child(3) {
	animation-delay: 0.4s;
}

.rk-site .rk-hero__inner > *:nth-child(4) {
	animation-delay: 0.55s;
}

.rk-site .rk-hero__card {
	animation: rkSlideIn 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both;
}

/* Odsłanianie sekcji przy przewijaniu (klasy dodaje site.js) */
.rk-site .rk-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--rk-d, 0ms),
		transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--rk-d, 0ms),
		box-shadow 0.3s ease;
}

.rk-site .rk-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Hovery: karty oferty */
.rk-site .rk-card__img .elementor-widget-container {
	overflow: hidden;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
}

.rk-site .rk-card__img img {
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rk-site .rk-card:hover .rk-card__img img {
	transform: scale(1.07);
}

.rk-site .rk-card:hover .rk-btn--arrow .elementor-button {
	transform: rotate(45deg);
}

.rk-site .rk-btn--arrow .elementor-button,
.rk-site .rk-btn--arrow-white .elementor-button {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s;
}

/* Hovery: przyciski - strzałka obraca się o 45° */
.rk-site .rk-btn .elementor-button::after {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rk-site .rk-btn .elementor-button:hover::after {
	transform: rotate(45deg);
}

/* Hovery: kafle realizacji i logotypy */
.rk-site .rk-wcard.is-in:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(17, 17, 17, 0.16);
}

/* Logotypy: miękkie, płynne wejście i wyjście z hovera (długi czas + łagodna krzywa, bez skoku) */
.rk-site .rk-logos__item {
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	backface-visibility: hidden;
}

.rk-site .rk-logos__item img {
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.rk-site .rk-logos__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(17, 17, 17, 0.12);
}

.rk-site .rk-logos__item:hover img {
	transform: scale(1.04);
}

/* Pasek haseł jako przesuwający się marquee (po sklonowaniu listy w JS) */
.rk-site .rk-marquee--run {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.rk-site .rk-marquee--run .rk-marquee__list ul {
	--rk-mgap: clamp(28px, calc(3 * var(--rk-vw)), 56px);
	width: max-content;
	gap: var(--rk-mgap);
	padding-right: var(--rk-mgap);
	overflow: visible;
	justify-content: flex-start;
	animation: rkMarquee 42s linear infinite;
}

.rk-site .rk-marquee--run:hover .rk-marquee__list ul {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rk-site .rk-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.rk-site .rk-hero__inner > *,
	.rk-site .rk-hero__card,
	.rk-site .rk-marquee--run .rk-marquee__list ul {
		animation: none;
	}
}

/* Smush podmienia rozmiar obrazków w trakcie leniwego ładowania - utrzymujemy docelowy rozmiar od pierwszej klatki. */
.rk-site .rk-footer__logo img.lazyload,
.rk-site .rk-footer__logo img.lazyloading {
	width: clamp(120px, calc(9 * var(--rk-vw)), 170px) !important;
	height: auto !important;
	aspect-ratio: 936 / 114 !important;
}

.rk-site .rk-avatars img.lazyload,
.rk-site .rk-avatars img.lazyloading {
	width: clamp(40px, 3.6vw, 56px) !important;
	height: clamp(40px, 3.6vw, 56px) !important;
	aspect-ratio: 1 / 1 !important;
}

/* Zdjęcia w kartach delikatnie „osiadają” po odsłonięciu */
.rk-site .rk-card.rk-reveal .rk-card__img img {
	transform: scale(1.06);
	transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-site .rk-card.rk-reveal.is-in .rk-card__img img {
	transform: scale(1);
}

.rk-site .rk-card.rk-reveal.is-in:hover .rk-card__img img {
	transition-duration: 0.8s;
	transform: scale(1.07);
}

/* Karta w hero: tekst nie nachodzi na awatary */
.rk-site .rk-hero__card-copy {
	flex: 0 0 auto;
}

.rk-site .rk-hero__card .rk-avatars {
	flex: none;
}

@media (max-width: 800px) {
	.rk-site .rk-hero__card-copy {
		flex: 1 1 100%;
	}
}

/* ---- Cały kafel klikalny (stretched link): link w tytule / przycisku rozciąga się na kafel ---- */
.rk-site :is(.rk-card__row, .rk-stat-tile__top),
.rk-site :is(.rk-card__title, .rk-wcard__label, .rk-stat-tile .rk-btn) {
	position: static;
}

.rk-site :is(.rk-card__title, .rk-wcard__label) a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
}

.rk-site .rk-card,
.rk-site .rk-stat-tile {
	position: relative;
}

.rk-site :is(.rk-card, .rk-wcard):has(a:focus-visible) {
	outline: 3px solid var(--rk-blue);
	outline-offset: 4px;
}

.rk-site .rk-wcard:hover,
.rk-site .rk-stat-tile:hover {
	cursor: pointer;
}

/* ---- Nagłówek: logo wyśrodkowane, akcje (e-mail + telefon) z ikonami ---- */
.rk-site .rk-logo,
.rk-site .rk-logo .elementor-widget-container,
.rk-site .rk-logo a {
	display: flex;
	align-items: center;
	line-height: 0;
}

.rk-site .rk-header__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	width: auto;
}

.rk-site .rk-header__actions > .elementor-widget {
	width: auto;
}

.rk-site .rk-btn--phone .elementor-button,
.rk-site .rk-btn--mail .elementor-button {
	gap: 10px;
}

.rk-site .rk-btn--phone .elementor-button::before,
.rk-site .rk-btn--mail .elementor-button::before {
	content: '';
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--rk-ico) center / contain no-repeat;
	mask: var(--rk-ico) center / contain no-repeat;
}

.rk-site .rk-btn--phone .elementor-button {
	--rk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
}

.rk-site .rk-btn--mail .elementor-button {
	--rk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4.6 7H4v.6l8 5.6 8-5.6V7h-.6L12 12.2z'/%3E%3C/svg%3E");
	padding: 20px clamp(20px, calc(1.8 * var(--rk-vw)), 34px);
	background: var(--rk-pill);
	color: var(--rk-ink);
	font-size: clamp(15px, calc(1.05 * var(--rk-vw)), 19px);
	font-weight: 600;
	transition: transform 0.2s, background 0.2s;
}

.rk-site .rk-btn--mail .elementor-button::after {
	display: none;
}

.rk-site .rk-btn--mail .elementor-button:hover {
	background: #e4e3dd;
	color: var(--rk-red);
}

/* węższe ekrany: e-mail zwija się do samej ikony */
@media (max-width: 1360px) {
	.rk-site .rk-btn--mail .elementor-button {
		width: 48px;
		height: 48px;
		padding: 0;
		justify-content: center;
		font-size: 0;
		gap: 0;
	}
}

/* ---- Stopka: pasek autorski ---- */
.rk-site .rk-credit {
	padding: 14px var(--rk-gap);
	background: #111;
	text-align: center;
}

.rk-site .rk-credit__text p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

.rk-site .rk-credit__text a {
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	transition: border-color 0.2s, color 0.2s;
}

.rk-site .rk-credit__text a:hover {
	color: var(--rk-red);
	border-color: var(--rk-red);
}

/* =====================================================================
   Menu mobilne jako szuflada wysuwana z prawej strony
   ===================================================================== */
@media (max-width: 800px) {
	.rk-site .rk-burger-wrap {
		position: relative;
		z-index: 40;
	}

	.rk-site .rk-burger span {
		transition: transform 0.3s ease, opacity 0.2s ease;
	}

	/* przyciemnienie tła; klik w nie zamyka menu (obsługa w site.js) */
	.rk-site::after {
		content: '';
		position: fixed;
		inset: 0;
		z-index: 90;
		background: rgba(10, 10, 10, 0.55);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.35s ease;
	}

	.rk-site.rk-nav-open::after {
		opacity: 1;
		pointer-events: auto;
	}

	.rk-site .rk-header .rk-nav-wrap,
	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		display: block;
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 30;
		width: min(88vw, 380px);
		height: 100vh;
		height: 100dvh;
		padding: 92px 22px 28px;
		border-radius: 28px 0 0 28px;
		background: #fff;
		box-shadow: -24px 0 60px rgba(0, 0, 0, 0.25);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.4s;
	}

	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		transform: none;
		visibility: visible;
		transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s;
	}

	.rk-site .rk-nav-wrap .rk-nav,
	.rk-site .rk-nav-wrap .rk-menu {
		width: 100%;
	}
}

.rk-lock {
	overflow: hidden;
	scrollbar-gutter: stable; /* pasek przewijania nie znika, więc układ i pozycja strony się nie przesuwają */
}

/* ---- Szuflada: nagłówek z logo i subtelnym zamknięciem, bez animacji rozsuwania listy ---- */
.rk-site .rk-drawer__head {
	display: none;
}

@media (max-width: 800px) {
	.rk-site .rk-menu,
	.rk-site .rk-menu li,
	.rk-site .rk-menu a {
		transition: none !important;
	}

	.rk-site .rk-header .rk-nav-wrap,
	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		padding-top: 0;
	}

	.rk-site .rk-drawer__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 76px;
		margin-bottom: 8px;
		border-bottom: 1px solid #ececec;
	}

	.rk-site .rk-drawer__logo,
	.rk-site .rk-drawer__logo img {
		display: block;
		line-height: 0;
	}

	.rk-site .rk-drawer__logo img {
		width: 150px;
		height: auto;
	}

	.rk-site .rk-drawer__close {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		margin-right: -8px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--rk-muted);
		cursor: pointer;
		transition: color 0.2s ease;
	}

	.rk-site .rk-drawer__close:hover,
	.rk-site .rk-drawer__close:focus-visible {
		color: var(--rk-ink);
	}

	/* hamburger znika, gdy szuflada jest otwarta - zamyka ją własny „X” w szufladzie */
	.rk-site.rk-nav-open .rk-burger-wrap {
		visibility: hidden;
	}
}

/* ---- Hamburger na mobile: same kreski, bez szarego kółka ---- */
.rk-site .rk-burger {
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0 10px;
	background: transparent;
}

.rk-site .rk-burger:hover,
.rk-site .rk-burger:focus-visible {
	background: transparent;
}

/* Hamburger znika natychmiast po otwarciu szuflady (bez własnych przejść) */
@media (max-width: 800px) {
	.rk-site .rk-burger,
	.rk-site .rk-burger span {
		transition: none;
	}

	.rk-site.rk-nav-open .rk-burger-wrap,
	.rk-site.rk-nav-open .rk-burger {
		visibility: hidden !important;
		opacity: 0;
	}
}

/* Hamburger i „X” szuflady: bez podświetlenia po dotknięciu/kliknięciu (nadpisuje button:focus/:active z motywu Kadence) */
.rk-site .rk-burger,
.rk-site .rk-burger:hover,
.rk-site .rk-burger:focus,
.rk-site .rk-burger:active,
.rk-site .rk-drawer__close,
.rk-site .rk-drawer__close:hover,
.rk-site .rk-drawer__close:focus,
.rk-site .rk-drawer__close:active {
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	background: transparent;
	box-shadow: none;
	outline: 0;
}

/* wskaźnik fokusu tylko dla nawigacji klawiaturą */
.rk-site .rk-burger:focus-visible,
.rk-site .rk-drawer__close:focus-visible {
	outline: 2px solid var(--rk-ink);
	outline-offset: 2px;
	border-radius: 8px;
}

/* Karta w hero: kontenery Elementora mają dopasować się do zawartości (inaczej awatary wypadają poza kartę) */
@media (min-width: 801px) {
	.rk-site .rk-hero__card > .e-con,
	.rk-site .rk-hero__card > .elementor-element {
		width: auto !important;
		max-width: none;
		flex: 0 0 auto;
	}
}


/* =====================================================================
   Dock - pływająca biała pigułka nawigacji (desktop), stały nagłówek strony
   ===================================================================== */
.rk-site .rk-dock {
	display: none;
}

@media (min-width: 801px) {
	.rk-site .rk-dock {
		position: fixed;
		top: 14px;
		left: 50%;
		z-index: 110;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 16px;
		width: min(calc(100% - 32px), 1180px);
		padding: 8px 10px;
		border: 1px solid rgba(17, 17, 17, 0.06);
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 14px 44px rgba(17, 17, 17, 0.14), 0 2px 6px rgba(17, 17, 17, 0.05);
		transform: translateX(-50%);
	}

	/* stary pasek zostaje tylko na mobile; na desktopie nagłówek to dock, a tu rezerwujemy mu miejsce w układzie */
	.rk-site header#masthead,
	.rk-site header.ehf-header {
		height: 90px;
	}

	.rk-site .rk-header {
		display: none;
	}

	.rk-site .rk-dock > .elementor-widget {
		width: auto;
	}

	.rk-site .rk-dock__logo {
		justify-self: start;
		margin-left: 16px;
	}

	.rk-site .rk-dock__logo,
	.rk-site .rk-dock__logo .elementor-widget-container,
	.rk-site .rk-dock__logo a {
		display: flex;
		align-items: center;
		line-height: 0;
	}

	.rk-site .rk-dock__logo img {
		display: block;
		width: 146px !important;
		height: auto !important;
		aspect-ratio: 936 / 114 !important;
	}

	.rk-site .rk-dock__nav .rk-menu {
		gap: 2px;
		padding: 0;
		background: transparent;
	}

	.rk-site .rk-dock__nav .rk-menu a {
		padding: 10px 16px;
		font-size: 15px;
	}

	.rk-site .rk-dock__nav .rk-menu__home a {
		padding: 10px 14px;
	}

	.rk-site .rk-dock__actions-wrap {
		justify-self: end;
	}

	.rk-site .rk-dock__actions {
		display: flex;
		gap: 8px;
	}

	.rk-site .rk-dock__icon {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: var(--rk-pill);
		color: var(--rk-ink);
		text-decoration: none;
		transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	}

	.rk-site .rk-dock__icon:hover {
		background: #e4e3dd;
		color: var(--rk-red);
	}

	.rk-site .rk-dock__phone {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		height: 44px;
		padding: 0 22px 0 16px;
		border-radius: 999px;
		background: var(--rk-blue);
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: -0.02em;
		white-space: nowrap;
		text-decoration: none;
		transition: background 0.2s ease;
	}

	.rk-site .rk-dock__phone:hover {
		background: #173f80;
		color: #fff;
	}
}


/* Karta w hero: róg wystaje 2 px poza zaokrąglenie hero i go zakrywa. Przycinanie obu warstw tą samą krzywą
   zostawiało ciemną krawędź (antyaliasing), dlatego hero nie przycina już zawartości - zaokrąglone jest samo tło. */
.rk-site .rk-hero {
	overflow: visible;
}

.rk-site .rk-hero::before {
	border-radius: inherit;
}

@media (min-width: 801px) {
	.rk-site .rk-hero__card {
		right: -2px;
		bottom: -2px;
		padding-right: calc(clamp(18px, calc(1.7 * var(--rk-vw)), 30px) + 2px);
		padding-bottom: calc(clamp(14px, calc(1.3 * var(--rk-vw)), 24px) + 2px);
	}
}

/* ---- Dock: efekt na całej pigułce (uniesienie i cień, bez poświaty) ---- */
@media (min-width: 801px) {
	.rk-site .rk-dock {
		background: #fff;
		transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
	}

	.rk-site .rk-dock:hover {
		box-shadow: 0 22px 56px rgba(17, 17, 17, 0.2), 0 3px 10px rgba(17, 17, 17, 0.07);
	}

	.rk-site .rk-dock__nav .rk-menu a {
		transition: color 0.2s ease;
	}

	.rk-site .rk-dock__nav .rk-menu li:not(.current-menu-item) > a:hover {
		background: transparent;
		color: var(--rk-red);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rk-site .rk-dock:hover {
		transform: translateX(-50%);
	}
}

/* ---- Mobile: niższy pasek nagłówka ---- */
@media (max-width: 800px) {
	.rk-site .rk-header {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.rk-site .rk-logo {
		--rk-img-w: 140px;
	}

	.rk-site .rk-burger {
		width: 40px;
		height: 40px;
		margin-right: -8px;
		padding: 0 9px;
		gap: 5px;
	}

	.rk-site .rk-drawer__head {
		height: 60px;
	}

	.rk-site .rk-drawer__logo img {
		width: 130px;
	}

	.rk-site .rk-drawer__close {
		width: 36px;
		height: 36px;
	}
}

/* Mobile: nagłówek stały (fixed) zamiast sticky. Blokada przewijania przy otwartym menu (overflow na html)
   odłączała sticky od widoku i nagłówek odjeżdżał ze stroną. Kontener zachowuje wysokość paska w układzie. */
@media (max-width: 800px) {
	.rk-site header#masthead,
	.rk-site header.ehf-header {
		position: relative;
		height: 60px;
	}

	.rk-site .rk-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100% !important;
		height: 60px;
		z-index: 100;
	}
}

/* Obrazy w kontenerach Elementora mają pełną szerokość od początku. Leniwe (jeszcze niepobrane) zdjęcie
   nie ma rozmiaru własnego, więc bez tego kontener w poziomym sliderze zwijał się do zera. */
.rk-site :is(.rk-card__img, .rk-about__img, .rk-photo) {
	width: 100%;
}

.rk-site :is(.rk-card__img, .rk-photo) a {
	display: block;
	width: 100%;
}

.rk-site :is(.rk-card__img, .rk-photo) img {
	width: 100%;
	height: auto;
}

/* Zalogowany użytkownik: pasek admina WordPressa (--wp-admin--admin-bar--height) nie zasłania menu */
@media (min-width: 801px) {
	.rk-site .rk-dock {
		top: calc(14px + var(--wp-admin--admin-bar--height, 0px));
	}
}

@media (max-width: 800px) {
	.rk-site .rk-header {
		top: var(--wp-admin--admin-bar--height, 0px);
	}

	.rk-site .rk-header .rk-nav-wrap,
	.rk-site.rk-nav-open .rk-header .rk-nav-wrap {
		top: var(--wp-admin--admin-bar--height, 0px);
		height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
	}
}

/* =====================================================================
   Blog - pojedynczy wpis (Kadence) + „Podobne wpisy" - w języku strony głównej:
   niebieskie nagłówki 800, obrysowane plakietki, zdjęcia z dużym zaokrągleniem
   bez ramki karty, czerwone kółka ze strzałką, biało-kremowe tła.
   ===================================================================== */
.rk-site.single-post .content-container.site-container {
	max-width: 1200px;
	padding-top: clamp(96px, 9vw, 130px);
}

.rk-site.single-post .content-area { margin-top: 0; margin-bottom: 0; }

.rk-site.single-post .entry.single-entry {
	max-width: 860px;
	margin-inline: auto;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.rk-site.single-post .entry-content-wrap { padding: 0; }

/* zdjęcie wpisu */
.rk-site.single-post .content-container .post-thumbnail.alignwide {
	width: auto;
	max-width: 1000px;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0 auto clamp(28px, 3vw, 44px);
	padding: 0;
	border-radius: var(--rk-radius);
	overflow: hidden;
}

.rk-site.single-post .post-thumbnail.article-post-thumbnail .post-thumbnail-inner {
	position: static;
	display: block;
	width: 100%;
	height: 100%;
}

.rk-site.single-post .post-thumbnail img.post-top-featured {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* nagłówek: plakietki jak .rk-badge, tytuł jak .rk-h2 */
.rk-site.single-post .entry-header {
	text-align: left;
	margin-bottom: clamp(20px, 2.4vw, 32px);
}

.rk-site.single-post .entry-taxonomies { margin: 0 0 16px; font-size: 0; }

.rk-site.single-post .entry-taxonomies .category-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0;
}

.rk-site.single-post .entry-taxonomies .category-links a {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: var(--rk-ink);
	font: 700 clamp(12px, calc(0.85 * var(--rk-vw)), 15px) / 1 'Inter Tight', sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}

.rk-site.single-post .entry-taxonomies .category-links a:hover {
	background: var(--rk-ink);
	border-color: var(--rk-ink);
	color: #fff;
}

.rk-site.single-post h1.entry-title {
	margin: 0;
	font-size: clamp(32px, calc(3.6 * var(--rk-vw)), 52px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--rk-blue);
	text-wrap: pretty;
}

/* treść */
.rk-site.single-post .entry-content {
	margin: 0;
	font-size: clamp(17px, calc(1.2 * var(--rk-vw)), 20px);
	line-height: 1.65;
	letter-spacing: 0;
	color: var(--rk-ink);
}

.rk-site.single-post .entry-content > * + * { margin-top: 1.1em; }
.rk-site.single-post .entry-content p { margin-bottom: 0; }
.rk-site.single-post .entry-content .wp-block-spacer,
.rk-site.single-post .entry-content p:empty { display: none; }

.rk-site.single-post .entry-content h2,
.rk-site.single-post .entry-content h3 {
	margin: 1.9em 0 .55em;
	color: var(--rk-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.005em;
}

.rk-site.single-post .entry-content h2 { font-size: clamp(26px, calc(2.4 * var(--rk-vw)), 40px); }
.rk-site.single-post .entry-content h3 { font-size: clamp(21px, calc(1.8 * var(--rk-vw)), 28px); }

.rk-site.single-post .entry-content a {
	color: var(--rk-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.rk-site.single-post .entry-content a:hover { color: var(--rk-red); }

.rk-site.single-post .entry-content img {
	height: auto;
	max-width: 100%;
	border-radius: var(--rk-radius);
}

.rk-site.single-post .entry-content .wp-block-image,
.rk-site.single-post .entry-content .aligncenter { margin-block: 2em; }

/* cytat: kremowy kafel jak karty opinii */
.rk-site.single-post .entry-content blockquote,
.rk-site.single-post .entry-content figure.wp-block-pullquote {
	margin: 2em 0;
	padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
	border: 0;
	border-radius: var(--rk-radius);
	background: var(--rk-pill);
}

.rk-site.single-post .entry-content figure.wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	background: none;
	border-radius: 0;
}

.rk-site.single-post .entry-content blockquote p,
.rk-site.single-post .entry-content figure.wp-block-pullquote p {
	margin: 0;
	font-size: clamp(21px, calc(2 * var(--rk-vw)), 32px);
	line-height: 1.25;
	font-style: normal;
	font-weight: 700;
	letter-spacing: -0.005em;
	color: var(--rk-blue);
	text-align: left;
}

/* poprzedni / następny */
.rk-site.single-post .post-navigation {
	margin: clamp(40px, 5vw, 64px) 0 0;
	padding-top: 24px;
	border-top: 1px solid #e6e4df;
}

.rk-site.single-post .post-navigation .nav-links a {
	color: var(--rk-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-decoration: none;
	transition: color .2s;
}

.rk-site.single-post .post-navigation .nav-links a:hover { color: var(--rk-red); }
.rk-site.single-post .post-navigation-sub small { color: var(--rk-muted); letter-spacing: .06em; }

/* ---- Podobne wpisy: białe tło, karty jak „Co dla Ciebie zrobimy" ---- */
.rk-site .entry-related {
	margin-top: clamp(40px, 5vw, 72px);
	padding: 0 0 clamp(56px, 6vw, 96px);
	background: #fff;
}

.rk-site .entry-related .entry-related-inner-content.alignwide {
	width: auto;
	max-width: none;
	margin-inline: 0;
	padding: 0;
}

.rk-site .entry-related-title {
	margin: 0 0 clamp(20px, 2.4vw, 36px);
	font-size: clamp(36px, calc(3.9 * var(--rk-vw)), 64px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--rk-blue);
}

.rk-site .entry-related-carousel { position: relative; padding-bottom: 40px; }

.rk-site .entry-related .loop-entry {
	display: flex;
	flex-direction: column;
	gap: clamp(14px, calc(1.3 * var(--rk-vw)), 22px);
	height: 100%;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.rk-site .entry-related .loop-entry .post-thumbnail {
	padding: 0;
	height: auto;
	aspect-ratio: 594 / 422;
	margin: 0;
	border-radius: clamp(20px, calc(1.7 * var(--rk-vw)), 32px);
	overflow: hidden;
}

.rk-site .entry-related .loop-entry .post-thumbnail .post-thumbnail-inner { position: static; height: 100%; }

.rk-site .entry-related .loop-entry .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .5s ease;
}

.rk-site .entry-related .loop-entry:hover .post-thumbnail img { transform: scale(1.05); }

/* tytuł + czerwone kółko ze strzałką po prawej, jak w kartach oferty */
.rk-site .entry-related .loop-entry .entry-content-wrap {
	position: relative;
	padding: 0 60px 0 0;
}

.rk-site .entry-related .loop-entry .entry-content-wrap::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rk-red) var(--rk-arrow-white) center / 18px no-repeat;
	transition: transform .2s;
}

.rk-site .entry-related .loop-entry:hover .entry-content-wrap::after { transform: translate(2px, -2px); }

.rk-site .entry-related .loop-entry .entry-title {
	margin: 0 0 10px;
	font-size: clamp(20px, calc(1.7 * var(--rk-vw)), 28px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.005em;
}

.rk-site .entry-related .loop-entry .entry-title a { color: var(--rk-ink); text-decoration: none; }
.rk-site .entry-related .loop-entry .entry-meta { font-size: 14px; color: var(--rk-muted); letter-spacing: -0.01em; }

/* strzałki jak w sliderze opinii: białe kółko z cienkim obrysem */
.rk-site .entry-related .splide__arrow {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(17, 17, 17, .15);
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	opacity: 1;
	transition: background .2s, border-color .2s;
}

.rk-site .entry-related .splide__arrow svg { width: 14px; height: 14px; fill: var(--rk-ink); transition: fill .2s; }
.rk-site .entry-related .splide__arrow:hover { background: var(--rk-ink); border-color: var(--rk-ink); }
.rk-site .entry-related .splide__arrow:hover svg { fill: #fff; }
.rk-site .entry-related .splide__arrow:focus-visible { outline: 3px solid var(--rk-blue); outline-offset: 2px; }
.rk-site .entry-related .splide__arrow--prev { left: -14px; top: 38%; }
.rk-site .entry-related .splide__arrow--next { right: -14px; top: 38%; }

/* kropki */
.rk-site .entry-related .splide__pagination { gap: 8px; bottom: 0; }

.rk-site .entry-related .splide__pagination__page {
	width: 8px;
	height: 8px;
	margin: 0;
	background: #d4d2cc;
	opacity: 1;
	transition: width .25s, background .25s;
}

.rk-site .entry-related .splide__pagination__page.is-active {
	width: 24px;
	border-radius: 999px;
	background: var(--rk-red);
	transform: none;
}

@media (max-width: 800px) {
	.rk-site.single-post .content-container.site-container { padding-inline: 16px; }
	.rk-site .entry-related .splide__arrow--prev { left: -6px; }
	.rk-site .entry-related .splide__arrow--next { right: -6px; }
}

/* akapit wstępny (dawniej długi nagłówek): zwykła waga, bez ciasnego trackingu */
.rk-site.single-post .entry-content .rk-lead {
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.65;
}

/* Telefon: długie słowo w H1 hero ("kreatywnych") musi się mieścić w jednej linii */
@media (max-width: 520px) {
	.rk-site .rk-h1 .elementor-heading-title {
		font-size: clamp(34px, 10vw, 46px);
		letter-spacing: -0.005em;
	}
}

/* =====================================================================
   Nagłówek przypięty bez JS: header jest sticky (top: 0), więc po przewinięciu paska atutów
   po prostu dojeżdża do góry ekranu - bez przeliczania pozycji w skrypcie i bez drgań.
   ===================================================================== */
@media (min-width: 801px) {
	.rk-site header#masthead,
	.rk-site header.ehf-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 100;
		/* tylko pływająca pigułka (dock) - sam pasek nagłówka jest przezroczysty i nie przechwytuje kliknięć */
		background: transparent !important;
		box-shadow: none;
		border: 0;
		pointer-events: none;
	}

	.rk-site .rk-dock {
		pointer-events: auto;
	}

	.rk-site .rk-dock,
	.rk-site.admin-bar .rk-dock,
	.rk-site.has-abp .rk-dock {
		position: absolute;
		top: 14px;
	}
}

@media (max-width: 800px) {
	.rk-site header#masthead,
	.rk-site header.ehf-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 100;
	}

	.rk-site .rk-header,
	.rk-site.has-abp:not(.rk-nav-open) .rk-header {
		position: relative;
		top: 0;
		left: auto;
		right: auto;
	}

	/* otwarte menu: nic nie przełączamy (iOS Safari gubi geometrię przy zmianie sticky/fixed); strona pod spodem
	   nie jest blokowana przez overflow na html, szuflada ma własne przewijanie */
	html.rk-lock {
		overflow: visible !important;
	}

	.rk-site .rk-header .rk-nav-wrap {
		overscroll-behavior: contain;
	}
}

/* =====================================================================
   Menu mobilne: hamburger zostaje na miejscu i zamienia się w „X" (zamyka szufladę).
   Własny przycisk „X" w szufladzie jest ukryty, żeby nie było dwóch.
   ===================================================================== */
@media (max-width: 800px) {
	.rk-site.rk-nav-open .rk-burger-wrap,
	.rk-site.rk-nav-open .rk-burger {
		visibility: visible !important;
		opacity: 1;
	}

	.rk-site .rk-burger {
		position: relative;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	.rk-site .rk-burger span {
		transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.2s ease;
		transform-origin: center;
	}

	.rk-site.rk-nav-open .rk-burger span:nth-child(1) {
		transform: translateY(var(--rk-bd, 8px)) rotate(45deg);
	}

	.rk-site.rk-nav-open .rk-burger span:nth-child(2) {
		opacity: 0;
	}

	.rk-site.rk-nav-open .rk-burger span:nth-child(3) {
		transform: translateY(calc(var(--rk-bd, 8px) * -1)) rotate(-45deg);
	}

	/* wysokość nagłówka szuflady = wysokość paska, żeby „X" leżał dokładnie nad nagłówkiem szuflady */
	.rk-site .rk-drawer__head {
		height: 60px;
	}

	.rk-site .rk-drawer__close {
		visibility: hidden;
	}
}

@media (max-width: 480px) {
	.rk-site .rk-burger { --rk-bd: 7px; }
}

/* =====================================================================
   Telefon: slider oferty (jedno przewijanie w poziomie, bez własnego przewijania w pionie),
   mniejsze nagłówki sekcji i opisy kart, większe zdjęcia przy „Zobacz realizacje"
   ===================================================================== */
@media (max-width: 900px) {
	.rk-site .rk-cards {
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x pan-y;
	}
}

@media (max-width: 800px) {
	.rk-site .rk-h2 .elementor-heading-title {
		font-size: clamp(27px, 7.4vw, 32px);
		line-height: 1.12;
	}

	.rk-site .rk-card__title .elementor-heading-title {
		font-size: clamp(19px, 5.2vw, 22px);
	}

	.rk-site .rk-card__text p {
		font-size: 14px;
		line-height: 1.5;
	}

	/* zdjęcia w kółkach przy „Zobacz realizacje" */
	.rk-site .rk-avatars img,
	.rk-site .rk-avatars img.lazyload,
	.rk-site .rk-avatars img.lazyloading {
		width: clamp(56px, 15vw, 68px) !important;
		height: clamp(56px, 15vw, 68px) !important;
	}

	.rk-site .rk-avatars .elementor-widget + .elementor-widget {
		margin-left: -18px;
	}
}

/* Zdjęcia, które dociągają się po wejściu na ekran: miękkie pojawienie się zamiast „wskoczenia” (bez ruszania istniejących transition) */
.rk-site img.rk-img-wait {
	opacity: 0;
}

.rk-site img.rk-img-wait.is-ready {
	opacity: 1;
	animation: rkImgIn 0.6s ease both;
}

@keyframes rkImgIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.rk-site img.rk-img-wait.is-ready {
		animation: none;
	}
}
