/* ==========================================================================
   WSPÓLNE ZMIENNE SERII RBM — KOLORYSTYKA WOJEWÓDZTWA MAŁOPOLSKIEGO
   Magenta: #E5007E | Niebieski: #009FE3 | Żółty: #FFCC00 | Zielony: #7AB51D
   ========================================================================== */
:root {
	--rbm-accent: #E5007E;
	--rbm-accent-hover: #C2006A;
	--rbm-blue: #009FE3;
	--rbm-yellow: #FFCC00;
	--rbm-green: #7AB51D;
	--rbm-navy: #0b2545;
	--rbm-text: #1e293b;
	--rbm-muted: #64748b;
	--rbm-bg: #ffffff;
	--rbm-surface: #ffffff;
	--rbm-surface-soft: #f8fafc;
	--rbm-border: rgba(11, 37, 69, 0.1);
	--rbm-shadow: 0 12px 32px rgba(11, 37, 69, 0.12);
	--rbm-shadow-sm: 0 4px 16px rgba(11, 37, 69, 0.08);
	--rbm-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--rbm-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--rbm-container: 1320px;
}

html.rbm-dark-mode {
	--rbm-navy: #f1f5f9;
	--rbm-text: #e2e8f0;
	--rbm-muted: #94a3b8;
	--rbm-bg: #0b1324;
	--rbm-surface: #132038;
	--rbm-surface-soft: #1a2944;
	--rbm-border: rgba(255, 255, 255, 0.12);
	--rbm-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
	--rbm-shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.35);
}

html.rbm-dark-mode body {
	background-color: var(--rbm-bg);
	color: var(--rbm-text);
}

/* ==========================================================================
   BAZA NAGŁÓWKA RBM + OCHRONA PRZED STYLAMI MOTYWU
   ========================================================================== */
.rbm-hdr,
.rbm-hdr *,
.rbm-tiles-section,
.rbm-tiles-section * {
	box-sizing: border-box;
}

.rbm-hdr {
	position: relative;
	width: 100%;
	font-family: var(--rbm-font-sans);
	color: var(--rbm-navy);
	background: var(--rbm-bg);
	z-index: 40;
}

.rbm-hdr .rbm-hdr-mobile-only,
.rbm-hdr button.rbm-hdr-mobile-only {
	display: none !important;
}

.rbm-hdr-container {
	width: 100%;
	max-width: var(--rbm-container);
	margin: 0 auto;
	padding: 0 24px;
}

.rbm-hdr-chrome {
	position: relative;
	background: var(--rbm-bg);
	z-index: 30;
}

.rbm-hdr-bg-waves {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.rbm-hdr-bg-waves svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ==========================================================================
   1. GÓRNY PASEK (TOP BAR)
   ========================================================================== */
.rbm-hdr-topbar {
	position: relative;
	z-index: 41;
	border-bottom: 1px solid var(--rbm-border);
	padding: 8px 0;
}

.rbm-hdr-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.rbm-hdr-topbar-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.rbm-hdr-top-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--rbm-navy);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: color 0.2s ease, transform 0.2s ease;
}

.rbm-hdr-top-link:hover {
	color: var(--rbm-accent);
	transform: translateY(-1px);
}

.rbm-hdr-top-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

.rbm-hdr-top-icon svg,
.rbm-hdr-top-icon i {
	width: 17px;
	height: 17px;
	font-size: 15px;
	display: block;
}

.rbm-hdr-topbar-right {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
}

.rbm-hdr a.rbm-hdr-social-btn,
.rbm-hdr button.rbm-hdr-dark-toggle {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: 1px solid transparent !important;
	background: var(--rbm-navy) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html.rbm-dark-mode .rbm-hdr a.rbm-hdr-social-btn,
html.rbm-dark-mode .rbm-hdr button.rbm-hdr-dark-toggle {
	background: var(--rbm-surface-soft) !important;
	color: #f8fafc !important;
	border-color: var(--rbm-border) !important;
}

.rbm-hdr a.rbm-hdr-social-btn:hover,
.rbm-hdr button.rbm-hdr-dark-toggle:hover {
	background: var(--rbm-accent) !important;
	color: #ffffff !important;
	border-color: var(--rbm-accent) !important;
	transform: translateY(-1px);
}

.rbm-hdr a.rbm-hdr-social-btn svg,
.rbm-hdr button.rbm-hdr-dark-toggle svg {
	width: 15px;
	height: 15px;
	display: block;
	pointer-events: none;
}

.rbm-hdr button.rbm-hdr-dark-toggle .rbm-icon-moon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rbm-hdr button.rbm-hdr-dark-toggle .rbm-icon-sun {
	display: none;
}

html.rbm-dark-mode .rbm-hdr button.rbm-hdr-dark-toggle .rbm-icon-moon {
	display: none;
}

html.rbm-dark-mode .rbm-hdr button.rbm-hdr-dark-toggle .rbm-icon-sun {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--rbm-yellow);
}

/* ==========================================================================
   2. ŚRODKOWY PASEK (LOGO, SLOGAN, SZUKAJKA, AIRLY)
   z-index: 40 (wyżej niż pasek menu z-index: 35, aby dymek Airly był nad menu)
   ========================================================================== */
.rbm-hdr-brandbar {
	position: relative;
	z-index: 40;
	padding: 16px 0 18px;
}

.rbm-hdr-brandbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.rbm-hdr-brand-left,
.rbm-hdr-brand-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

.rbm-hdr-mobile-actions {
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.rbm-hdr-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.rbm-hdr-logo img {
	max-height: 64px;
	width: auto;
	display: block;
	object-fit: contain;
}

.rbm-hdr-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.rbm-logo-main {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--rbm-accent);
}

.rbm-logo-sub {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	color: var(--rbm-blue);
	margin-top: 2px;
}

.rbm-hdr-vdivider {
	width: 1px;
	height: 44px;
	background: var(--rbm-border);
	flex-shrink: 0;
}

.rbm-hdr-slogan {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.rbm-hdr-slogan img {
	max-height: 60px;
	width: auto;
	display: block;
}

.rbm-hdr-slogan-text {
	font-family: var(--rbm-font-serif);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(20px, 2.2vw, 31px);
	color: var(--rbm-navy);
	line-height: 1.15;
	white-space: nowrap;
}

.rbm-hdr-slogan-wave {
	width: 84%;
	max-width: 295px;
	height: 15px;
	margin-top: 2px;
}

/* Wyszukiwarka */
.rbm-hdr-search {
	display: flex;
	align-items: center;
	background: var(--rbm-surface);
	border: 1px solid var(--rbm-border);
	border-radius: 11px;
	box-shadow: var(--rbm-shadow-sm);
	overflow: hidden;
	width: 235px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rbm-hdr-search:focus-within {
	border-color: var(--rbm-accent);
	box-shadow: 0 0 0 3px rgba(229, 0, 126, 0.16);
}

.rbm-hdr-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: none !important;
	background: transparent !important;
	padding: 10px 14px !important;
	font-family: var(--rbm-font-sans);
	font-size: 14px;
	color: var(--rbm-navy);
	outline: none !important;
	box-shadow: none !important;
}

.rbm-hdr-search input[type="search"]::placeholder {
	color: var(--rbm-muted);
}

.rbm-hdr .rbm-hdr-search button {
	appearance: none !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 9px !important;
	background: var(--rbm-accent) !important;
	color: #ffffff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

.rbm-hdr .rbm-hdr-search button:hover {
	background: var(--rbm-accent-hover) !important;
}

.rbm-hdr .rbm-hdr-search button svg {
	width: 18px;
	height: 18px;
}

/* Moduł Airly + Dynamiczna pogoda + Czarny dymek z logo Airly */
.rbm-hdr-airly {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--rbm-navy);
	flex-shrink: 0;
	outline: none;
	cursor: pointer;
}

.rbm-hdr-airly-icon {
	width: 46px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rbm-hdr-airly-icon svg {
	width: 100%;
	height: 100%;
}

.rbm-hdr-airly-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
}

.rbm-hdr-airly-quality-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
	line-height: 1.2;
}

.rbm-hdr-airly-quality-text {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rbm-navy);
	white-space: nowrap;
}

.rbm-hdr-airly-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

.rbm-hdr-airly-temp {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--rbm-navy);
	margin-top: 3px;
}

/* Czarny dymek Airly — zawsze ponad paskiem menu */
.rbm-hdr-airly-tooltip {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 310px;
	padding: 13px 15px 11px;
	border-radius: 13px;
	background: #0d1117;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #f1f5f9;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.rbm-hdr-airly-tooltip::before {
	content: '';
	position: absolute;
	top: -6px;
	right: 26px;
	width: 11px;
	height: 11px;
	background: #0d1117;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
	transform: rotate(45deg);
}

.rbm-hdr-airly:hover .rbm-hdr-airly-tooltip,
.rbm-hdr-airly:focus-within .rbm-hdr-airly-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rbm-tt-lead {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.rbm-tt-weather {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.25;
}

.rbm-tt-advice {
	font-size: 12px;
	font-weight: 500;
	color: #cbd5e1;
	line-height: 1.4;
}

.rbm-tt-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rbm-tt-metric {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 4px 8px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 11.5px;
	line-height: 1.2;
}

.rbm-tt-k {
	color: #94a3b8;
	font-weight: 600;
}

.rbm-tt-v {
	color: #ffffff;
	font-weight: 700;
}

.rbm-tt-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rbm-tt-time {
	font-size: 10.5px;
	font-weight: 500;
	color: #94a3b8;
	white-space: nowrap;
}

.rbm-tt-brand {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
}

.rbm-tt-by {
	font-size: 10.5px;
	font-weight: 600;
	color: #94a3b8;
}

.rbm-airly-brand-svg {
	height: 17px;
	width: auto;
	display: block;
}

/* ==========================================================================
   3. PŁYWAJĄCE MENU GŁÓWNE (PIGUŁKA)
   ========================================================================== */
.rbm-hdr-nav-wrap {
	position: relative;
	z-index: 35;
	padding-bottom: 16px;
}

.rbm-hdr-with-hero .rbm-hdr-nav-wrap {
	padding-bottom: 0;
	margin-bottom: -33px;
}

.rbm-hdr-nav-pill {
	background: var(--rbm-surface);
	border: 1px solid var(--rbm-border);
	border-radius: 999px;
	box-shadow: var(--rbm-shadow);
	padding: 8px 18px 8px 10px;
}

.rbm-hdr-nav-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.rbm-hdr-nav-list > li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

.rbm-hdr-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 16px;
	border-radius: 999px;
	color: var(--rbm-navy);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rbm-hdr-nav-list > li > a:hover {
	color: var(--rbm-accent);
}

.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.current-menu-item > a,
.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.current_page_item > a,
.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.rbm-is-home-pill > a {
	background: linear-gradient(135deg, #f3168e 0%, var(--rbm-accent) 100%);
	color: #ffffff !important;
	padding: 11px 22px;
	box-shadow: 0 6px 18px rgba(229, 0, 126, 0.36);
}

.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.current-menu-item > a .rbm-home-label,
.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.current_page_item > a .rbm-home-label,
.rbm-hdr-has-home-pill .rbm-hdr-nav-list > li.rbm-is-home-pill > a .rbm-home-label {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
}

.rbm-hdr-home-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	flex-shrink: 0;
}

.rbm-hdr-home-icon svg {
	width: 19px;
	height: 19px;
}

.rbm-hdr-nav-list > li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 3px;
	transition: transform 0.2s ease;
}

.rbm-hdr-nav-list > li.menu-item-has-children:hover > a::after {
	transform: rotate(225deg) translateY(-1px);
}

.rbm-hdr-nav-list .sub-menu {
	list-style: none !important;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 230px;
	margin: 0 !important;
	padding: 8px !important;
	background: var(--rbm-surface);
	border: 1px solid var(--rbm-border);
	border-radius: 16px;
	box-shadow: var(--rbm-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	z-index: 60;
}

.rbm-hdr-nav-list > li:last-child .sub-menu,
.rbm-hdr-nav-list > li:nth-last-child(2) .sub-menu {
	left: auto;
	right: 0;
}

.rbm-hdr-nav-list > li:hover > .sub-menu,
.rbm-hdr-nav-list > li:focus-within > .sub-menu,
.rbm-hdr-nav-list > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.rbm-hdr-nav-list > li.menu-item-has-children::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
}

.rbm-hdr-nav-list .sub-menu li {
	position: relative;
	margin: 0 !important;
}

.rbm-hdr-nav-list .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--rbm-navy);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.rbm-hdr-nav-list .sub-menu a:hover {
	background: var(--rbm-surface-soft);
	color: var(--rbm-accent);
	padding-left: 18px;
}

.rbm-hdr-nav-list .sub-menu .sub-menu {
	top: 0;
	left: calc(100% + 6px);
}

/* ==========================================================================
   4. SEKCJA HERO / SLAJDER I DOLNA FALA MAŁOPOLSKI
   ========================================================================== */
.rbm-hdr-hero {
	position: relative;
	width: 100%;
	min-height: 480px;
	overflow: hidden;
	background: var(--rbm-bg);
	z-index: 10;
}

.rbm-hdr-slides {
	position: relative;
	width: 100%;
	min-height: inherit;
}

.rbm-hdr-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.65s ease, visibility 0.65s ease;
	z-index: 1;
}

.rbm-hdr-slide.is-active {
	position: relative;
	min-height: inherit;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.rbm-hdr-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.02);
	transition: transform 6s ease;
}

.rbm-hdr-slide.is-active .rbm-hdr-slide-bg {
	transform: scale(1);
}

.rbm-hdr-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.96) 0%,
		rgba(255, 255, 255, 0.86) 26%,
		rgba(255, 255, 255, 0.52) 45%,
		rgba(255, 255, 255, 0.06) 65%,
		rgba(255, 255, 255, 0) 100%
	);
	z-index: 1;
}

html.rbm-dark-mode .rbm-hdr-slide-overlay {
	background: linear-gradient(
		90deg,
		rgba(11, 19, 36, 0.95) 0%,
		rgba(11, 19, 36, 0.84) 30%,
		rgba(11, 19, 36, 0.48) 52%,
		rgba(11, 19, 36, 0.12) 75%,
		rgba(11, 19, 36, 0.04) 100%
	);
}

.rbm-hdr-hero-top-fade {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 82px;
	background: linear-gradient(to bottom, var(--rbm-bg) 0%, rgba(255, 255, 255, 0) 100%);
	z-index: 2;
	pointer-events: none;
}

html.rbm-dark-mode .rbm-hdr-hero-top-fade {
	background: linear-gradient(to bottom, var(--rbm-bg) 0%, rgba(11, 19, 36, 0) 100%);
}

.rbm-hdr-slide-content-wrap {
	position: relative;
	z-index: 3;
	padding-top: 78px;
	padding-bottom: 108px;
}

.rbm-hdr-slide-content {
	max-width: 540px;
}

.rbm-hdr-hero-title {
	margin: 0 0 18px !important;
	font-family: var(--rbm-font-serif);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(34px, 4.4vw, 60px);
	line-height: 1.08;
	color: var(--rbm-navy);
	letter-spacing: -0.01em;
}

.rbm-hdr-hero-subtitle {
	margin: 0 0 28px !important;
	font-family: var(--rbm-font-serif);
	font-style: italic;
	font-size: clamp(17px, 1.5vw, 22px);
	line-height: 1.45;
	color: var(--rbm-navy);
	opacity: 0.92;
}

.rbm-hdr-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f3168e 0%, var(--rbm-accent) 100%);
	color: #ffffff !important;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 10px 26px rgba(229, 0, 126, 0.38);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rbm-hdr-hero-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(229, 0, 126, 0.48);
}

.rbm-hdr-cta-arrow {
	display: inline-block;
	transition: transform 0.22s ease;
}

.rbm-hdr-hero-cta:hover .rbm-hdr-cta-arrow {
	transform: translateX(4px);
}

.rbm-hdr-dots {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 12;
}

.rbm-hdr button.rbm-hdr-dot {
	appearance: none !important;
	width: 12px !important;
	height: 12px !important;
	min-width: 12px !important;
	min-height: 12px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: none !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28) !important;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.rbm-hdr button.rbm-hdr-dot.is-active {
	background: var(--rbm-accent) !important;
	transform: scale(1.2);
}

.rbm-hdr-bottom-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 92px;
	pointer-events: none;
	z-index: 6;
}

.rbm-hdr-bottom-wave svg {
	width: 100%;
	height: 100%;
	display: block;
}

.rbm-hdr-wave-silk {
	fill: var(--rbm-bg);
	opacity: 0.44;
}

.rbm-hdr-wave-surface {
	fill: var(--rbm-bg);
}

/* ==========================================================================
   5. OSOBNY WIDŻET: RBM - KAFELKI SZYBKIEGO DOSTĘPU
   ========================================================================== */
.rbm-tiles-section {
	position: relative;
	width: 100%;
	font-family: var(--rbm-font-sans);
	padding: 16px 0 24px;
}

.rbm-tiles-container {
	width: 100%;
	max-width: var(--rbm-container);
	margin: 0 auto;
	padding: 0 24px;
}

.rbm-tiles-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.rbm-tile-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--rbm-surface);
	border: 1px solid var(--rbm-border);
	border-bottom: 3px solid var(--tile-accent, var(--rbm-accent));
	box-shadow: var(--rbm-shadow-sm);
	text-decoration: none;
	color: var(--rbm-navy);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rbm-tile-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rbm-shadow);
	color: var(--rbm-navy);
}

.rbm-tile-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--tile-accent, #E5007E) 14%, transparent);
	color: var(--tile-accent, var(--rbm-accent));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.rbm-tile-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.rbm-tile-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rbm-tile-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--rbm-navy);
	line-height: 1.25;
}

.rbm-tile-sub {
	font-size: 12.5px;
	color: var(--rbm-muted);
	margin-top: 2px;
	line-height: 1.3;
}

/* ==========================================================================
   6. PRZYCISK HAMBURGERA I MOBILNY PANEL (DRAWER)
   ========================================================================== */
.rbm-hdr button.rbm-hdr-burger {
	appearance: none !important;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	min-height: 42px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 11px !important;
	border: 1px solid var(--rbm-border) !important;
	background: var(--rbm-surface) !important;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: var(--rbm-shadow-sm) !important;
}

.rbm-hdr button.rbm-hdr-burger span {
	width: 20px;
	height: 2.2px;
	border-radius: 2px;
	background: var(--rbm-navy);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.rbm-hdr-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 17, 36, 0.55);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
	z-index: 9998;
}

.rbm-hdr-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(350px, 88vw);
	height: 100dvh;
	background: var(--rbm-surface);
	color: var(--rbm-navy);
	box-shadow: -10px 0 36px rgba(0, 0, 0, 0.25);
	transform: translateX(100%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.25s ease;
	z-index: 9999;
	display: flex;
	flex-direction: column;
}

.rbm-hdr.is-drawer-open .rbm-hdr-drawer-backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.rbm-hdr.is-drawer-open .rbm-hdr-drawer {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.rbm-hdr-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--rbm-border);
}

.rbm-hdr-drawer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	min-width: 0;
	max-width: calc(100% - 48px);
}

.rbm-hdr-drawer-logo img {
	max-height: 42px;
	max-width: 100%;
	width: auto;
	display: block;
	object-fit: contain;
}

.rbm-hdr-drawer-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--rbm-accent);
}

.rbm-hdr button.rbm-hdr-drawer-close {
	appearance: none !important;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border-radius: 10px !important;
	border: 1px solid var(--rbm-border) !important;
	background: var(--rbm-surface-soft) !important;
	color: var(--rbm-navy) !important;
	font-size: 17px;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: none !important;
}

.rbm-hdr-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 18px 20px 30px;
}

/* Wiersz narzędzi w menu bocznym: Wyszukiwarka + Zmiana trybu ciemnego */
.rbm-hdr-drawer-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.rbm-hdr-search-mobile {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin-bottom: 0;
}

.rbm-hdr button.rbm-hdr-dark-toggle.rbm-hdr-drawer-dark {
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	min-height: 42px !important;
	border-radius: 11px !important;
	flex-shrink: 0;
}

.rbm-hdr button.rbm-hdr-dark-toggle.rbm-hdr-drawer-dark svg {
	width: 18px;
	height: 18px;
	max-width: 18px;
	max-height: 18px;
}

.rbm-hdr-mobile-menu,
.rbm-hdr-mobile-menu ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.rbm-hdr-mobile-menu > li {
	border-bottom: 1px solid var(--rbm-border);
}

.rbm-hdr-mobile-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rbm-hdr-mobile-menu a {
	display: block;
	flex: 1;
	padding: 12px 6px;
	color: var(--rbm-navy);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.rbm-hdr-mobile-menu > li.current-menu-item > a,
.rbm-hdr-mobile-menu > li.current-menu-item > .rbm-hdr-mobile-item-row > a {
	color: var(--rbm-accent);
}

.rbm-hdr button.rbm-hdr-sub-toggle {
	appearance: none !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 8px !important;
	background: var(--rbm-surface-soft) !important;
	color: var(--rbm-navy) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 13px;
	box-shadow: none !important;
	transition: transform 0.2s ease;
}

.rbm-hdr-mobile-menu li.is-sub-open > .rbm-hdr-mobile-item-row > button.rbm-hdr-sub-toggle {
	transform: rotate(180deg);
	background: var(--rbm-accent) !important;
	color: #ffffff !important;
}

.rbm-hdr-mobile-menu .sub-menu {
	display: none;
	padding: 0 0 10px 14px !important;
}

.rbm-hdr-mobile-menu li.is-sub-open > .sub-menu {
	display: block;
}

.rbm-hdr-mobile-menu .sub-menu a {
	padding: 8px 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--rbm-muted);
}

.rbm-hdr-drawer-section {
	margin-top: 22px;
}

.rbm-hdr-drawer-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rbm-muted);
	margin-bottom: 10px;
}

.rbm-hdr-drawer-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rbm-hdr-drawer-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--rbm-surface-soft);
	border: 1px solid var(--rbm-border);
	color: var(--rbm-navy);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.rbm-hdr-drawer-socials {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

/* ==========================================================================
   7. RESPONSYWNOŚĆ (TABLET & MOBILE — AIRLY W JEDNYM WIERSZU Z LOGO I MENU)
   ========================================================================== */
@media (max-width: 1180px) {
	.rbm-hdr-nav-list > li > a {
		padding: 10px 12px;
		font-size: 14px;
	}
	.rbm-hdr-search {
		width: 190px;
	}
	.rbm-hdr-slogan-text {
		font-size: 22px;
	}
}

@media (max-width: 1024px) {
	.rbm-hdr-topbar,
	.rbm-hdr-nav-wrap,
	.rbm-hide-tablet {
		display: none !important;
	}

	.rbm-hdr-with-hero .rbm-hdr-nav-wrap {
		margin-bottom: 0;
	}

	.rbm-hdr .rbm-hdr-mobile-only,
	.rbm-hdr button.rbm-hdr-mobile-only {
		display: inline-flex !important;
	}

	.rbm-hdr-brandbar {
		padding: 12px 0;
		border-bottom: 1px solid var(--rbm-border);
	}

	.rbm-hdr-brand-left,
	.rbm-hdr-brand-right {
		gap: 12px;
	}

	.rbm-hdr-brand-right {
		margin-left: auto;
	}

	.rbm-hdr-brand-right:not(.has-airly) {
		display: none !important;
	}

	.rbm-hdr-slide-content-wrap {
		padding-top: 48px;
		padding-bottom: 94px;
	}
}

@media (max-width: 767px) {
	.rbm-hdr-container,
	.rbm-tiles-container {
		padding: 0 12px;
	}

	.rbm-hdr-slogan,
	.rbm-hide-mobile {
		display: none !important;
	}

	.rbm-hdr-brandbar {
		padding: 8px 0;
	}

	.rbm-hdr-brandbar-inner {
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.rbm-hdr-brand-left {
		flex: 0 1 auto;
		min-width: 0;
		max-width: 34%;
		gap: 0;
	}

	.rbm-hdr-logo {
		max-width: 100%;
	}

	.rbm-hdr-logo img {
		max-height: 38px;
		max-width: 100%;
	}

	.rbm-logo-main {
		font-size: 21px;
	}

	.rbm-logo-sub {
		font-size: 9px;
		letter-spacing: 0.14em;
	}

	/* Airly na równi z logo i hamburgerem: ikona + temp na górze, pigułka pod spodem */
	.rbm-hdr-brand-right.has-airly {
		flex: 1 1 auto;
		min-width: 0;
		margin-left: 0;
		justify-content: center;
		gap: 0;
	}

	.rbm-hdr-airly {
		display: grid;
		grid-template-columns: auto auto;
		grid-template-rows: auto auto;
		align-items: center;
		justify-content: center;
		column-gap: 5px;
		row-gap: 3px;
		max-width: 100%;
		min-width: 0;
		flex-shrink: 1;
	}

	.rbm-hdr-airly-info {
		display: contents;
	}

	.rbm-hdr-airly-icon {
		grid-column: 1;
		grid-row: 1;
		justify-self: end;
		width: 24px;
		height: 20px;
	}

	.rbm-hdr-airly-temp {
		grid-column: 2;
		grid-row: 1;
		justify-self: start;
		font-size: 16px;
		font-weight: 800;
		line-height: 1;
		margin-top: 0;
		white-space: nowrap;
	}

	.rbm-hdr-airly-quality-pill {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 9.5px;
		padding: 2px 7px;
		line-height: 1.25;
	}

	.rbm-hdr-airly-quality-text {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 10px;
	}

	.rbm-hdr-mobile-actions {
		flex: 0 0 auto;
	}

	.rbm-hdr button.rbm-hdr-burger {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
	}

	.rbm-hdr-airly-tooltip {
		width: min(296px, calc(100vw - 24px));
		left: 50%;
		right: auto;
		transform: translateX(-50%) translateY(6px);
	}

	.rbm-hdr-airly:hover .rbm-hdr-airly-tooltip,
	.rbm-hdr-airly:focus-within .rbm-hdr-airly-tooltip {
		transform: translateX(-50%) translateY(0);
	}

	.rbm-hdr-airly-tooltip::before {
		left: 50%;
		right: auto;
		transform: translateX(-50%) rotate(45deg);
	}

	.rbm-hdr-hero {
		min-height: 390px;
	}

	.rbm-hdr-slide-overlay {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.88) 0%,
			rgba(255, 255, 255, 0.78) 55%,
			rgba(255, 255, 255, 0.35) 100%
		);
	}

	html.rbm-dark-mode .rbm-hdr-slide-overlay {
		background: linear-gradient(
			180deg,
			rgba(11, 19, 36, 0.9) 0%,
			rgba(11, 19, 36, 0.76) 60%,
			rgba(11, 19, 36, 0.35) 100%
		);
	}

	.rbm-hdr-slide-content-wrap {
		padding-top: 38px;
		padding-bottom: 82px;
	}

	.rbm-hdr-hero-cta {
		padding: 13px 24px;
		font-size: 15px;
	}

	.rbm-hdr-bottom-wave {
		height: 54px;
	}

	.rbm-hdr-dots {
		bottom: 18px;
	}
}