/*
Theme Name: KW37Gorzow.pl
Theme URI: https://kw37gorzow.pl
Author: Creative-Colors.pro
Author URI: https://creative-colors.pro
Description: Motyw WordPress Koła Wędkarskiego nr 37 w Gorzowie Wielkopolskim.
Version: 1.21.72

Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary
Text Domain: kw37gorzow
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --rb-teal: #30b0a0;
  --rb-teal-electric: #2fd4c0;
  --rb-teal-deep: #1a7a70;
  --rb-teal-soft: #7ad4c8;
  --rb-teal-mist: rgba(47, 212, 192, 0.14);
  --rb-orange: #e8a048;
  --rb-orange-deep: #c47a28;
  --rb-navy: #061018;
  --rb-navy-mid: #0a1a24;
  --rb-ink: #0a1a24;
  --rb-ink-soft: #122430;
  --rb-muted: #6b8490;
  --rb-paper: #eef4f4;
  --rb-line: rgba(48, 176, 160, 0.22);
  --rb-shadow: 0 22px 60px rgba(6, 16, 24, 0.22);
  --rb-font: "DM Sans", "Segoe UI", sans-serif;
  --rb-display: "Syne", "Avenir Next", sans-serif;
  --rb-white: #f4fbfa;
  --rb-copy-max: 34rem;
  /* Jedna szerokość treści na całej stronie (jak sekcje na homepage) */
  --rb-page-gutter: 6%;
  /* Ta sama linia co belka menu / logo / Facebook */
  --rb-content-width: min(100% - clamp(24px, 5vw, 64px), 1180px);
  --rb-map-radius: 14px;

  /* Marka KW37 */
  --kw-primary: #0f3d2e;
  --kw-secondary: #1f6b45;
  --kw-surface: #ffffff;
  --kw-mist: rgba(31, 107, 69, 0.12);
  /* Długi fade tła hero podstron w treść */
  --kw-page-hero-bleed: 120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rb-font);
  color: var(--rb-ink);
  background: var(--rb-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— KW37: O nas —— */
.kw-about {
  position: relative;
  padding: clamp(64px, 8vw, 104px) var(--rb-page-gutter);
  background:
    radial-gradient(ellipse 60% 50% at 92% 8%, var(--kw-mist), transparent 55%),
    linear-gradient(180deg, #f4f8f5 0%, #eaf1ec 100%);
  color: var(--kw-primary);
  overflow: hidden;
}

.kw-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.kw-about__media {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
}

.kw-about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.kw-about__media:hover .kw-about__photo {
  transform: scale(1.06);
}

.kw-about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(15, 61, 46, 0.05) 0%, rgba(15, 61, 46, 0.38) 100%),
    linear-gradient(0deg, rgba(15, 61, 46, 0.22), transparent 45%);
  pointer-events: none;
}

.kw-about__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.kw-about__year {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  margin: 0;
  padding: 0.55rem 0.75rem 0.5rem;
  background: rgba(15, 61, 46, 0.82);
  color: #fff;
  font-family: var(--rb-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.kw-about__year span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--rb-font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.kw-about__copy {
  display: grid;
  justify-items: start;
  gap: 0;
  max-width: 34rem;
}

.kw-about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  color: var(--kw-secondary);
  font-family: var(--rb-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-about__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--kw-secondary);
}

.kw-about__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--rb-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--kw-primary);
}

.kw-about__copy h2 em {
  color: var(--kw-secondary);
  font-style: normal;
}

.kw-about__lead {
  margin: 0 0 1.35rem;
  color: rgba(15, 61, 46, 0.74);
  font-size: 1.02rem;
  line-height: 1.65;
}

.kw-about__points {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  width: 100%;
}

.kw-about__points li {
  display: grid;
  gap: 0.15rem;
  padding-left: 1.15rem;
  border-left: 2px solid var(--kw-secondary);
}

.kw-about__points strong {
  color: var(--kw-primary);
  font-family: var(--rb-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kw-about__points span {
  color: rgba(15, 61, 46, 0.62);
  font-size: 0.92rem;
  line-height: 1.45;
}

.kw-about__closing {
  margin: 0;
  color: var(--kw-primary);
  font-family: var(--rb-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .kw-about__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kw-about__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .kw-about__badge {
    width: 68px;
  }

  .kw-about__copy {
    max-width: none;
  }
}

/* —— KW37: kalendarz zawodów —— */
.kw-calendar {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 104px) var(--rb-page-gutter);
  background: #0a2c22;
  color: #fff;
  overflow: hidden;
}

.kw-calendar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/img/competitions/calendar-bg.jpg") center center / cover no-repeat;
  pointer-events: none;
}

.kw-calendar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 44, 34, 0.58) 0%, rgba(15, 61, 46, 0.64) 48%, rgba(12, 50, 38, 0.74) 100%);
  pointer-events: none;
}

.kw-calendar__dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.55;
}

.kw-calendar__inner {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
}

.kw-calendar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.kw-calendar__intro {
  max-width: 36rem;
}

.kw-calendar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  color: #9fd4b4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-calendar__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: #9fd4b4;
}

.kw-calendar__head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--rb-display);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.kw-calendar__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.kw-calendar__lead strong {
  color: #fff;
  font-weight: 650;
}

.kw-calendar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.kw-calendar__filter {
  appearance: none;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--rb-font);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kw-calendar__filter:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.kw-calendar__filter.is-active {
  background: var(--kw-secondary);
  border-color: var(--kw-secondary);
  color: #fff;
}

.kw-calendar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.kw-event {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.kw-event[hidden],
.kw-event.is-filtered-out {
  display: none !important;
}

.kw-event:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.kw-event.is-nearest {
  border-color: rgba(159, 212, 180, 0.55);
  background: rgba(31, 107, 69, 0.18);
  box-shadow: 0 0 0 1px rgba(159, 212, 180, 0.18), 0 18px 40px rgba(0, 0, 0, 0.22);
}

.kw-event.is-nearest:hover {
  border-color: rgba(159, 212, 180, 0.72);
}

.kw-event.is-past {
  opacity: 0.5;
}

.kw-event__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #061018;
}

.kw-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.kw-event:hover .kw-event__media img {
  transform: scale(1.04);
}

.kw-event__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 16, 24, 0.55) 100%);
  pointer-events: none;
}

.kw-event__type {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.kw-event__type.is-spinning {
  background: rgba(15, 61, 46, 0.88);
  color: #9fd4b4;
}

.kw-event__type.is-feeder {
  background: rgba(15, 61, 46, 0.88);
  color: #f0c48a;
}

.kw-event__status {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kw-event__status--nearest {
  background: var(--kw-secondary);
  color: #fff;
}

.kw-event__body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1rem 1.15rem;
  flex: 1;
}

.kw-event__title {
  margin: 0;
  font-family: var(--rb-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: #fff;
}

.kw-event__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  line-height: 1.4;
}

.kw-event__facts {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.kw-event__facts li {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.9rem;
  line-height: 1.35;
}

.kw-event__label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kw-event__facts time,
.kw-event__facts span:not(.kw-event__label) {
  color: rgba(255, 255, 255, 0.88);
}

.kw-event__facts em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.48);
}

.kw-calendar__empty {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.kw-zawody-soon {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  max-width: 36rem;
  margin: 0.25rem auto 0;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(159, 212, 180, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(6, 28, 20, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kw-zawody-soon__mark {
  width: 2.5rem;
  height: 2px;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, transparent, #9fd4b4, transparent);
}

.kw-zawody-soon__eyebrow {
  margin: 0;
  color: #9fd4b4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kw-zawody-soon__title {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.kw-zawody-soon__text {
  margin: 0.35rem 0 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.55;
}

.kw-zawody-soon--page {
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.kw-calendar__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.kw-calendar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  background: var(--kw-secondary);
  color: #fff;
  font-family: var(--rb-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kw-calendar__cta:hover {
  background: #258554;
  transform: translateY(-1px);
}

.kw-event.is-day-focus {
  border-color: rgba(159, 212, 180, 0.7);
  box-shadow: 0 0 0 1px rgba(159, 212, 180, 0.25);
}

/* —— Zarząd koła (nad logotypami) —— */
.kw-board {
  position: relative;
  padding: clamp(56px, 7vw, 88px) var(--rb-page-gutter);
  background:
    radial-gradient(ellipse 55% 45% at 8% 12%, rgba(31, 107, 69, 0.08), transparent 60%),
    linear-gradient(180deg, #f7faf8 0%, #eef4f0 100%);
  color: var(--kw-primary);
  overflow: hidden;
}

.kw-board__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.kw-board__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.kw-board__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  color: var(--kw-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-board__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--kw-secondary);
}

.kw-board__head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--rb-display);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--kw-primary);
}

.kw-board__lead {
  margin: 0;
  color: rgba(15, 61, 46, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.kw-board__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  max-width: 920px;
  margin-inline: auto;
}

.kw-board__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
}

.kw-board__avatar {
  width: clamp(4.5rem, 8vw, 5.75rem);
  height: clamp(4.5rem, 8vw, 5.75rem);
  margin: 0 0 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--kw-secondary) 0%, var(--kw-primary) 100%);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.18);
  display: grid;
  place-items: center;
}

.kw-board__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kw-board__avatar span {
  font-family: var(--rb-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.kw-board__role {
  margin: 0 0 0.35rem;
  color: var(--kw-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kw-board__name {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--kw-primary);
}

.kw-board__phone,
.kw-board__phone-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0.7rem 0 0;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--kw-secondary);
  font-family: var(--rb-font);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.kw-board__phone:hover,
.kw-board__phone:focus-visible,
.kw-board__phone-link:hover,
.kw-board__phone-link:focus-visible {
  color: var(--kw-primary);
}

.kw-board__phone:focus-visible,
.kw-board__phone-link:focus-visible {
  outline: 2px solid var(--kw-secondary);
  outline-offset: 3px;
}

.kw-board__phone-hint {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.kw-board__phone-num {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

@media (max-width: 900px) {
  .kw-board__grid {
    max-width: none;
    row-gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .kw-board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-board__person:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* —— Karta wędkarska / SAZAN (pod zarządem) —— */
.kw-cardpay {
  position: relative;
  padding: clamp(28px, 4vw, 48px) var(--rb-page-gutter) clamp(44px, 5.5vw, 72px);
  background: #f3f7f5;
  color: var(--kw-primary);
  border-top: 0;
}

.kw-cardpay__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.kw-cardpay__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(1.35rem, 2.5vw, 1.85rem);
}

.kw-cardpay__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  color: var(--kw-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-cardpay__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--kw-secondary);
}

.kw-cardpay__head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--rb-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--kw-primary);
}

.kw-cardpay__lead {
  margin: 0;
  color: rgba(15, 61, 46, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.kw-cardpay__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.kw-cardpay__layout--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.kw-cardpay__fees {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.kw-cardpay__fees-title,
.kw-cardpay__pay-title {
  margin: 0 0 0.7rem;
  font-family: var(--rb-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 46, 0.55);
}

.kw-fees-calc {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.kw-fees-calc__section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 46, 0.5);
}

.kw-fees-calc__base {
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid rgba(15, 61, 46, 0.1);
}

.kw-fees-calc__base-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.kw-fees-calc__base-sum {
  font-family: var(--rb-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kw-secondary);
  white-space: nowrap;
}

.kw-fees-calc__base-note {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(15, 61, 46, 0.58);
}

.kw-fees-calc__base-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.kw-fees-calc__base-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(15, 61, 46, 0.78);
}

.kw-fees-calc__base-list strong {
  font-family: var(--rb-display);
  font-weight: 700;
  color: var(--kw-primary);
  white-space: nowrap;
}

.kw-fees-calc__addons {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.kw-fees-calc__addons legend {
  padding: 0;
  margin: 0 0 0.15rem;
}

.kw-fees-calc__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(15, 61, 46, 0.12);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kw-fees-calc__option:hover {
  border-color: rgba(31, 107, 69, 0.35);
}

.kw-fees-calc__option:has(input:checked) {
  border-color: var(--kw-secondary);
  background: rgba(31, 107, 69, 0.06);
}

.kw-fees-calc__option input {
  margin: 0.2rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--kw-secondary);
}

.kw-fees-calc__option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.kw-fees-calc__option-label {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--kw-primary);
}

.kw-fees-calc__option-note {
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(15, 61, 46, 0.55);
}

.kw-fees-calc__option-amount {
  font-family: var(--rb-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kw-secondary);
  white-space: nowrap;
}

.kw-fees-calc__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--kw-primary) 0%, var(--kw-secondary) 100%);
  color: #fff;
}

.kw-fees-calc__total-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.kw-fees-calc__total-value {
  font-family: var(--rb-display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.kw-cardpay__fees-source {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
}

.kw-cardpay__fees-source a {
  color: rgba(15, 61, 46, 0.5);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kw-cardpay__fees-source a:hover,
.kw-cardpay__fees-source a:focus-visible {
  color: var(--kw-secondary);
}

@media (max-width: 520px) {
  .kw-fees-calc__option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .kw-fees-calc__option-amount {
    grid-column: 2;
  }
}

.kw-cardpay__pay {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kw-cardpay__panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 61, 46, 0.08);
  box-shadow: 0 14px 36px rgba(15, 61, 46, 0.07);
}

.kw-cardpay__info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
  padding: 1.15rem 1.25rem 1.15rem;
}

.kw-cardpay__brand {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.35rem;
}

.kw-cardpay__brand a {
  display: flex;
  align-items: center;
}

.kw-cardpay__brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  /* Plik: białe logo na czarnym — invert = ciemne logo na jasnym */
  filter: invert(1);
}

.kw-cardpay__shop {
  margin: 0;
  font-family: var(--rb-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kw-primary);
}

.kw-cardpay__address {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.kw-cardpay__address a {
  color: inherit;
  text-decoration: none;
}

.kw-cardpay__address a:hover,
.kw-cardpay__address a:focus-visible {
  color: var(--kw-secondary);
}

.kw-cardpay__address span {
  display: block;
}

.kw-cardpay__meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.kw-cardpay__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.kw-cardpay__meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 46, 0.5);
}

.kw-cardpay__meta a {
  color: var(--kw-secondary);
  font-weight: 650;
  text-decoration: none;
}

.kw-cardpay__meta a:hover,
.kw-cardpay__meta a:focus-visible {
  text-decoration: underline;
}

.kw-cardpay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
}

.kw-cardpay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--kw-secondary);
  color: #fff;
  font-family: var(--rb-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.kw-cardpay__btn:hover,
.kw-cardpay__btn:focus-visible {
  background: var(--kw-primary);
  color: #fff;
}

.kw-cardpay__btn--ghost {
  background: transparent;
  color: var(--kw-secondary);
  border: 1px solid rgba(31, 107, 69, 0.35);
}

.kw-cardpay__btn--ghost:hover,
.kw-cardpay__btn--ghost:focus-visible {
  background: rgba(31, 107, 69, 0.08);
  color: var(--kw-primary);
  border-color: var(--kw-secondary);
}

.kw-cardpay__map {
  position: relative;
  width: 100%;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  min-height: 280px;
  height: clamp(260px, 32vw, 360px);
  background: #d7e3db;
  border: 1px solid rgba(15, 61, 46, 0.08);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 61, 46, 0.07);
}

.kw-cardpay__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

  .kw-cardpay__pay {
    height: auto;
  }

  .kw-cardpay__map {
    min-height: 220px;
    height: 240px;
  }
}

@media (max-width: 520px) {
  .kw-cardpay__fees-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Pasek logotypów (homepage, pod kalendarzem) —— */
.kw-partners {
  position: relative;
  background: #071f18;
  border-top: 1px solid rgba(159, 212, 180, 0.12);
  border-bottom: 1px solid rgba(159, 212, 180, 0.08);
  overflow: hidden;
}

.kw-partners__viewport {
  position: relative;
  padding: 1.15rem 0;
  overflow: hidden;
  /* Opacity 0% na początku i końcu paska */
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    rgba(0, 0, 0, 0) 100%
  );
}

.kw-partners__track {
  --kw-partners-gap: 3.5rem;
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--kw-partners-gap);
  will-change: transform;
  /* Wymuszone — pasek logów ma się kręcić mimo prefers-reduced-motion */
  -webkit-animation: kw-partners-marquee 24s linear infinite !important;
  animation: kw-partners-marquee 24s linear infinite !important;
}

.kw-partners__group {
  display: flex;
  align-items: center;
  gap: var(--kw-partners-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.kw-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
}

.kw-partners__item a,
.kw-partners__item > img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0;
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.kw-partners__item a:hover,
.kw-partners__item a:focus-visible {
  opacity: 1;
}

.kw-partners__item img {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}

/* Wyrównanie optyczne: wąskie marki vs szerokie wordmarki */
.kw-partners__item img[src*="pzw-mark"] {
  height: 44px;
}

.kw-partners__item img[src*="sazan"] {
  height: 38px;
}

.kw-partners__item img[src*="creative-colors"] {
  height: 34px;
}

@-webkit-keyframes kw-partners-marquee {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes kw-partners-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* —— Pasek + dymek regulaminu połowu (wewnątrz O nas) —— */
.kw-about .kw-rules {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.kw-rules__bar {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: #0f3d2e;
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.06);
}

.kw-rules__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(31, 107, 69, 0.1);
  color: #1f6b45;
  flex-shrink: 0;
}

.kw-rules__copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.kw-rules__copy strong {
  font-family: var(--rb-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #0f3d2e;
}

.kw-rules__copy span {
  color: rgba(15, 61, 46, 0.68);
  font-size: 0.92rem;
  line-height: 1.4;
}

.kw-rules__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.kw-rules__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #1f6b45;
  color: #fff;
  font-family: var(--rb-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kw-rules__cta:hover,
.kw-rules__cta:focus-visible {
  background: #248554;
  outline: none;
}

.kw-rules__cta--ghost {
  background: transparent;
  border: 1px solid rgba(15, 61, 46, 0.22);
  color: #0f3d2e;
}

.kw-rules__cta--map {
  background: #0f3d2e;
  color: #fff;
  text-decoration: none;
}

.kw-rules__cta--map:hover,
.kw-rules__cta--map:focus-visible {
  background: #145239;
  color: #fff;
}

.kw-rules__cta--ghost:hover,
.kw-rules__cta--ghost:focus-visible {
  background: rgba(31, 107, 69, 0.08);
  border-color: rgba(31, 107, 69, 0.35);
  color: #0f3d2e;
}

/* —— Atlas ryb (separator między galerią a opłatami) —— */
.kw-atlas-bar {
  width: 100%;
  padding: clamp(8px, 1.5vw, 16px) var(--rb-page-gutter);
  margin: 0;
  background: #f3f7f5;
}

.kw-atlas-bar__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.kw-rules--atlas-green .kw-rules__bar {
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #0f3d2e 0%, #1f6b45 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 61, 46, 0.22);
}

.kw-rules--atlas-green .kw-rules__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.kw-rules--atlas-green .kw-rules__copy strong {
  color: #fff;
}

.kw-rules--atlas-green .kw-rules__copy span {
  color: rgba(255, 255, 255, 0.82);
}

.kw-rules--atlas-green .kw-rules__cta {
  background: #fff;
  color: #0f3d2e;
}

.kw-rules--atlas-green .kw-rules__cta:hover,
.kw-rules--atlas-green .kw-rules__cta:focus-visible {
  background: #e8f2ec;
  color: #0f3d2e;
}

@media (max-width: 720px) {
  .kw-rules__bar {
    grid-template-columns: auto 1fr;
  }

  .kw-rules__actions {
    grid-column: 1 / -1;
  }
}

html.kw-rules-open {
  overflow: hidden;
}

.kw-rules-modal[hidden] {
  display: none !important;
}

.kw-rules-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

.kw-rules-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kw-rules-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90vh, 960px);
  outline: none;
}

.kw-rules-modal__bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: inherit;
  border-radius: 20px;
  border: 1px solid rgba(159, 212, 180, 0.22);
  background: #0c2a20;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: #fff;
  animation: kw-rules-pop 0.28s ease;
}

@keyframes kw-rules-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kw-rules-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #123d2f;
  flex-shrink: 0;
}

.kw-rules-modal__head h2 {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.kw-rules-modal__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.kw-rules-modal__close:hover,
.kw-rules-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.kw-rules-modal__viewer {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #071810;
}

.kw-rules-modal__viewer iframe {
  display: block;
  width: 100%;
  height: min(78vh, 820px);
  border: 0;
  background: #fff;
}

.kw-rules-modal__pages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: #3f4649;
}

.kw-rules-modal__pages[hidden] {
  display: none !important;
}

.kw-rules-modal__page {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.kw-rules-modal__status {
  margin: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--rb-font);
  font-size: 0.95rem;
}

.kw-rules-modal--touch .kw-rules-modal__dialog {
  height: min(90vh, 960px);
}

.kw-rules-modal--touch .kw-rules-modal__bubble {
  height: 100%;
}

.kw-rules-modal--touch .kw-rules-modal__viewer {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.kw-rules-modal--touch .kw-rules-modal__viewer iframe {
  display: none !important;
}

.kw-rules-modal__viewer iframe[hidden] {
  display: none !important;
}

/* —— Galeria (masonry kolumny) —— */
.kw-gallery {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--kw-page-hero-bleed) * -1);
  padding: calc(var(--kw-page-hero-bleed) + clamp(32px, 4.5vw, 56px)) 0 clamp(56px, 7vw, 96px);
  background: #0a2c22;
  color: rgba(236, 246, 240, 0.92);
}

.kw-gallery__inner {
  width: var(--rb-content-width);
  margin: 0 auto;
}

.kw-gallery__meta {
  margin: 0 0 1.35rem;
  color: rgba(200, 240, 216, 0.62);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kw-gallery__empty {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  color: rgba(232, 244, 236, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 240, 216, 0.12);
  border-radius: 16px;
}

.kw-gallery__grid {
  position: relative;
  width: 100%;
  opacity: 0;
  min-height: 160px;
}

.kw-gallery__grid.is-ready {
  opacity: 1;
  transition: opacity 0.28s ease;
}

.kw-gallery__item {
  display: block;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 28, 22, 0.55);
  border: 1px solid rgba(200, 240, 216, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.kw-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.kw-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.kw-gallery__item:focus-visible {
  outline: 3px solid var(--kw-secondary);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .kw-gallery__item {
    border-radius: 10px;
  }
}

html.kw-gallery-open {
  overflow: hidden;
}

.kw-gallery-lightbox[hidden] {
  display: none !important;
}

.kw-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

.kw-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(4, 18, 14, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.kw-gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(90vh, 960px);
}

.kw-gallery-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(90vh, 960px);
  object-fit: contain;
  border-radius: 12px;
  background: #0a2a1f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.kw-gallery-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 61, 46, 0.85);
  color: #fff;
  cursor: pointer;
}

.kw-gallery-lightbox__close:hover,
.kw-gallery-lightbox__close:focus-visible {
  background: var(--kw-secondary);
  outline: none;
}

/* —— Hero podstron (stała wysokość + tytuł + opis + kropki) —— */
.kw-page-hero {
  position: relative;
  isolation: isolate;
  z-index: 2;
  height: 440px;
  min-height: 440px;
  max-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: visible;
  color: #fff;
  background: #0a2c22;
}

.kw-page-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: calc(var(--kw-page-hero-bleed) * -1);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.95) 32%,
    rgba(0, 0, 0, 0.82) 46%,
    rgba(0, 0, 0, 0.62) 58%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.22) 82%,
    rgba(0, 0, 0, 0.08) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.95) 32%,
    rgba(0, 0, 0, 0.82) 46%,
    rgba(0, 0, 0, 0.62) 58%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.22) 82%,
    rgba(0, 0, 0, 0.08) 92%,
    transparent 100%
  );
}

.kw-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* kadr bliżej dołu — motyw pod tytułem/lead */
  object-position: center 58%;
  display: block;
  opacity: 0.72;
}

.kw-page-hero__shade {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: calc(var(--kw-page-hero-bleed) * -1);
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 44, 34, 0.28) 0%, rgba(10, 44, 34, 0.1) 38%, rgba(10, 44, 34, 0) 72%),
    linear-gradient(105deg, rgba(6, 28, 20, 0.42) 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.75) 48%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.15) 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 24%,
    rgba(0, 0, 0, 0.75) 48%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.15) 86%,
    transparent 100%
  );
}

.kw-page-hero__dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.5;
}

.kw-page-hero__inner {
  position: relative;
  z-index: 3;
  width: var(--rb-content-width);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 3.1rem;
  display: grid;
  align-content: end;
  gap: 0;
  min-height: 0;
}

.kw-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  color: #9fd4b4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-page-hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: #9fd4b4;
}

.kw-page-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--rb-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.kw-page-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  :root {
    --kw-page-hero-bleed: 88px;
  }

  .kw-page-hero {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }

  .kw-page-hero__inner {
    padding-bottom: 2.25rem;
  }

  .kw-page-hero__media img {
    object-position: center 54%;
  }
}

.kw-page {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--kw-page-hero-bleed) * -1);
  background: #f4f7f5;
  color: #16352a;
  padding: calc(var(--kw-page-hero-bleed) + clamp(40px, 6vw, 72px)) var(--rb-page-gutter) clamp(64px, 8vw, 100px);
}

.kw-page__inner {
  width: var(--rb-content-width);
  max-width: 1180px;
  margin: 0 auto;
}

.kw-page__article {
  font-size: 1.05rem;
  line-height: 1.7;
}

.kw-page__article > *:first-child {
  margin-top: 0;
}

.kw-page__article h2,
.kw-page__article h3 {
  font-family: var(--rb-display);
  color: var(--kw-primary);
  letter-spacing: -0.02em;
}

.kw-page__article a {
  color: var(--kw-secondary);
}

.kw-legal {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1a3329;
}

.kw-legal__meta {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: rgba(15, 61, 46, 0.62);
}

.kw-legal h2 {
  font-family: var(--rb-display);
  color: var(--kw-primary);
  letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  margin: 1.75rem 0 0.65rem;
}

.kw-legal p,
.kw-legal ul,
.kw-legal ol {
  margin: 0 0 0.9rem;
}

.kw-legal ul,
.kw-legal ol {
  padding-left: 1.25rem;
}

.kw-legal li {
  margin-bottom: 0.35rem;
}

.kw-legal a {
  color: var(--kw-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Podstrona Zawody —— */
.kw-zawody {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--kw-page-hero-bleed) * -1);
  color: #fff;
  background: #0a2c22;
}

.kw-zawody__body {
  width: var(--rb-content-width);
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--kw-page-hero-bleed) + clamp(28px, 4vw, 48px)) 0 clamp(64px, 8vw, 100px);
}

.kw-zawody__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kw-zawody__list-title {
  margin: 0 0 0.3rem;
  font-family: var(--rb-display);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.kw-zawody__list-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.kw-zawody__layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  width: 100%;
}

.kw-month {
  position: sticky;
  top: 120px;
  padding: 0;
  background: transparent;
  border: 0;
}

.kw-month__head {
  display: grid;
  grid-template-columns: 2.4rem 1fr 2.4rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.kw-month__title {
  margin: 0;
  text-align: center;
  font-family: var(--rb-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kw-month__nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kw-month__nav:hover {
  background: rgba(31, 107, 69, 0.55);
}

.kw-month__weekdays,
.kw-month__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.kw-month__weekdays {
  margin-bottom: 0.4rem;
}

.kw-month__weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.kw-month__day {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.18rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.1rem 0.4rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.kw-month__day.is-empty {
  background: transparent;
  pointer-events: none;
}

.kw-month__day:disabled {
  cursor: default;
  opacity: 0.35;
}

.kw-month__day.has-events {
  background: rgba(31, 107, 69, 0.22);
  color: #fff;
  font-weight: 700;
}

.kw-month__day.has-events:hover {
  background: rgba(31, 107, 69, 0.4);
}

.kw-month__day.is-selected {
  background: var(--kw-secondary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.kw-month__day.is-today .kw-month__num {
  color: #9fd4b4;
  font-weight: 800;
}

.kw-month__day.is-selected.is-today .kw-month__num {
  color: #fff;
}

.kw-month__num {
  font-family: var(--rb-display);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
}

.kw-month__marks {
  display: flex;
  gap: 0.18rem;
  justify-content: center;
}

.kw-month__marks i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  display: block;
}

.kw-month__marks i.is-spinning {
  background: #7ad4c8;
}

.kw-month__marks i.is-feeder {
  background: #f0c48a;
}

.kw-month__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kw-month__leg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.68);
}

.kw-month__leg::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
}

.kw-month__leg.is-spinning::before {
  background: #7ad4c8;
}

.kw-month__leg.is-feeder::before {
  background: #f0c48a;
}

.kw-month__hint {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  line-height: 1.45;
}

.kw-month__daybox {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(31, 107, 69, 0.2);
  border-radius: 14px;
}

.kw-month__daybox-label {
  margin: 0 0 0.55rem;
  font-family: var(--rb-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.kw-month__daybox-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.kw-month__daybox-list li {
  display: grid;
  gap: 0.15rem;
}

.kw-month__daybox-list strong {
  font-size: 0.92rem;
  font-weight: 650;
}

.kw-month__daybox-list span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.kw-month__clear {
  appearance: none;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.kw-month__clear:hover {
  background: rgba(255, 255, 255, 0.16);
}

.kw-zawody__list-wrap {
  min-width: 0;
}

.kw-zawody__group {
  margin-bottom: 1.75rem;
}

.kw-zawody__group[hidden] {
  display: none !important;
}

.kw-zawody__group-title {
  margin: 0 0 0.75rem;
  font-family: var(--rb-display);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd4b4;
}

.kw-zawody__list {
  display: grid;
  gap: 0.65rem;
}

.kw-event--row {
  display: grid;
  grid-template-columns: 4.4rem 4.6rem minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 0;
  border-left: 3px solid transparent;
  overflow: visible;
  transform: none;
}

.kw-event--row:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  border-left-color: rgba(159, 212, 180, 0.45);
}

.kw-event--row.is-nearest {
  background: rgba(31, 107, 69, 0.2);
  border-left-color: #9fd4b4;
  box-shadow: none;
}

.kw-event--row.is-nearest:hover {
  border-left-color: #c8ebd4;
}

.kw-event--row.is-past {
  opacity: 0.55;
}

.kw-event--row.is-day-focus {
  background: rgba(31, 107, 69, 0.28);
  border-left-color: #7ad4c8;
}

.kw-event__when {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  min-width: 0;
  line-height: 1;
}

.kw-event__daynum {
  font-family: var(--rb-display);
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.kw-event__month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd4b4;
}

.kw-event__year {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
}

.kw-event__thumb {
  width: 4.6rem;
  height: 4.6rem;
  overflow: hidden;
  border-radius: 12px;
  background: #061018;
}

.kw-event__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kw-event__main {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.kw-event__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.kw-event--row .kw-event__type {
  position: static;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
}

.kw-event--row .kw-event__status {
  position: static;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
}

.kw-event--row .kw-event__title {
  font-size: 1.05rem;
}

.kw-event__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.4;
}

.kw-event--row .kw-event__note {
  margin: 0.1rem 0 0;
}

@media (max-width: 980px) {
  .kw-calendar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-zawody__layout {
    grid-template-columns: 1fr;
  }

  .kw-month {
    position: static;
    max-width: 360px;
  }
}

@media (max-width: 700px) {
  .kw-calendar__head {
    align-items: start;
  }

  .kw-calendar__grid {
    grid-template-columns: 1fr;
  }

  .kw-event--row {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 0.7rem 0.85rem;
  }

  .kw-event__thumb {
    display: none;
  }
}

/* —— Header: logo | menu (środek) | social —— */
.rb-header {
  --rb-header-h: 88px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 10px;
  color: rgba(244, 251, 250, 0.94);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    color 0.25s ease,
    padding 0.3s ease;
}

.rb-header__bar {
  position: relative;
  z-index: 60;
  width: var(--rb-content-width);
  margin: 0 auto;
  min-height: var(--rb-header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.rb-header.is-solid {
  color: #fff;
  background: var(--kw-primary);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.28);
  padding-top: 8px;
  padding-bottom: 8px;
}

.rb-header.is-solid .rb-header__bar {
  min-height: 76px;
}

.rb-header__logo {
  position: relative;
  z-index: 3;
  grid-column: 1;
  justify-self: start;
  display: grid;
  align-items: center;
  margin: 0;
}

.rb-header__logo-img {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
  transition: width 0.3s ease, height 0.3s ease, transform 0.35s ease, filter 0.35s ease;
}

.rb-header.is-solid .rb-header__logo-img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.rb-header__logo:hover .rb-header__logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(31, 107, 69, 0.45));
}

.rb-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  min-width: 0;
  font-family: var(--rb-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rb-nav__logo,
.rb-nav__eyebrow,
.rb-nav__cta {
  display: none;
}

.rb-nav__links {
  display: contents;
}

.rb-nav__links a {
  color: inherit;
  opacity: 0.82;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.rb-nav__links a:hover {
  opacity: 1;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.rb-header.is-solid .rb-nav__links a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.rb-header__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.rb-nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rb-nav__social:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff !important;
  transform: translateY(-1px);
}

.rb-nav__social svg {
  display: block;
}

.rb-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(244, 251, 250, 0.28);
  color: inherit;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rb-header.is-solid .rb-menu-btn {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.rb-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}

.rb-hamburger i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.rb-menu-btn.is-open .rb-hamburger i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rb-menu-btn.is-open .rb-hamburger i:nth-child(2) {
  opacity: 0;
}

.rb-menu-btn.is-open .rb-hamburger i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rb-nav-backdrop {
  display: none;
}

/* —— Hero 3D: jezioro —— */
.rb-story {
  height: 420vh;
  height: 420svh;
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #071820;
}

.rb-lake-mount {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rb-lake-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.rb-dive-depth {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  font-family: var(--rb-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rb-teal-electric);
  opacity: 0.55;
  text-shadow: 0 0 30px rgba(47, 212, 192, 0.45);
  pointer-events: none;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.rb-stage__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(4, 16, 24, 0.42) 0%, rgba(4, 16, 24, 0.12) 26%, transparent 50%),
    linear-gradient(0deg, rgba(4, 16, 24, 0.45) 0%, transparent 26%, rgba(4, 16, 24, 0.18) 100%);
}

body[data-rb-hero-scene="3"] .rb-stage__shade {
  background:
    linear-gradient(105deg, rgba(4, 14, 20, 0.55) 0%, rgba(4, 14, 20, 0.18) 30%, transparent 52%),
    linear-gradient(0deg, rgba(3, 12, 18, 0.5) 0%, transparent 38%);
}

.rb-stage__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.rb-reduced .rb-story {
  height: 120vh;
}

.rb-brand-mark {
  font-family: var(--rb-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-teal-electric);
  margin-bottom: 14px;
}

.rb-scene-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(var(--rb-copy-max), 72%);
  transform: translate3d(-50%, -50%, 0);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  will-change: transform, opacity;
  z-index: 8;
  pointer-events: none;
  text-shadow: 0 2px 36px rgba(4, 16, 24, 0.75);
}

.rb-story-bottom,
.rb-progress,
.rb-scene-meta {
  z-index: 6;
}

.rb-scene-copy.is-hero {
  opacity: 1;
}

.rb-scene-copy.is-hero .rb-hero-cta,
.rb-scene-copy.is-active .rb-hero-cta {
  pointer-events: auto;
}

.rb-eyebrow {
  font-family: var(--rb-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-teal-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rb-eyebrow::before {
  content: none;
}

.rb-scene-copy .rb-eyebrow {
  color: var(--rb-teal-soft);
  justify-content: center;
}

.rb-scene-copy h1,
.rb-scene-copy h2 {
  font-family: var(--rb-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
  margin: 0 0 1.35rem;
  color: var(--rb-white);
}

.rb-scene-copy h1 {
  font-size: clamp(2.55rem, 5.8vw, 4.55rem);
}

.rb-scene-copy h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}

.rb-scene-copy em {
  color: var(--rb-teal-electric);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
  margin-top: 0.12em;
}

.rb-scene-copy p {
  margin: 0.55rem auto 0;
  max-width: 38ch;
  width: 100%;
  opacity: 0.82;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(244, 251, 250, 0.9);
  white-space: normal;
  text-wrap: pretty;
}

.rb-hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 15px 26px;
  border-radius: 10px;
  background: var(--rb-teal);
  color: #041018;
  font-family: var(--rb-font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rb-hero-cta:hover {
  background: var(--rb-teal-electric);
  transform: translateY(-2px);
}

.rb-story-bottom {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 32px;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 72px;
  font-family: var(--rb-font);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 251, 250, 0.55);
}

.rb-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  max-width: min(320px, 80vw);
}

.rb-scroll-chevron {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--rb-teal-soft);
  border-bottom: 1.5px solid var(--rb-teal-soft);
  transform: rotate(45deg);
  opacity: 0.7;
  animation: rb-chevron 2.2s ease-in-out infinite;
}

@keyframes rb-chevron {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: rotate(45deg) translate(3px, 3px);
    opacity: 0.9;
  }
}

.rb-scroll-track {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.rb-scroll-track::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  background: var(--rb-teal-electric);
  top: -50%;
  animation: rb-scroll 2s infinite;
}

@keyframes rb-scroll {
  to {
    top: 110%;
  }
}

.rb-scene-nav {
  display: flex;
  gap: 10px;
}

.rb-scene-nav button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--rb-font);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rb-scene-nav button span {
  opacity: 0.7;
}

.rb-scene-nav button.active {
  color: var(--rb-teal-electric);
  border-color: rgba(47, 212, 192, 0.45);
  background: var(--rb-teal-mist);
}

.rb-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--rb-teal-deep), var(--rb-teal-electric));
  z-index: 5;
}

.rb-scene-meta {
  position: absolute;
  right: 3%;
  top: 42%;
  writing-mode: vertical-rl;
  font-family: var(--rb-font);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(122, 212, 200, 0.4);
  z-index: 3;
  pointer-events: none;
}

/* —— Sections —— */
.rb-section {
  padding: 104px var(--rb-page-gutter);
}

.rb-section--ink {
  background: var(--rb-navy-mid);
  color: #fff;
}

.rb-section--paper {
  background: var(--rb-paper);
}

.rb-section__head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.rb-section__head .rb-eyebrow {
  color: var(--rb-teal);
}

.rb-section--ink .rb-section__head .rb-eyebrow {
  color: var(--rb-teal-soft);
}

.rb-section__head h2 {
  font-family: var(--rb-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 14px 0 0;
}

.rb-section__head h2 em {
  color: var(--rb-teal);
  font-style: normal;
}

.rb-section--ink .rb-section__head h2 em {
  color: var(--rb-teal-electric);
}

.rb-section__head p {
  max-width: 30ch;
  color: var(--rb-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.rb-section--ink .rb-section__head p {
  color: rgba(255, 255, 255, 0.62);
}

.rb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rb-card {
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--rb-shadow);
}

.rb-card--ink {
  background: var(--rb-ink-soft);
  border-color: rgba(48, 176, 160, 0.2);
  color: #fff;
}

.rb-card h3 {
  margin: 12px 0 8px;
  font-family: var(--rb-display);
  font-size: 1.15rem;
}

.rb-card p {
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.9rem;
}

.rb-card--ink p {
  color: rgba(255, 255, 255, 0.65);
}

.rb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--rb-teal);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
}

.rb-btn:hover {
  background: var(--rb-teal-deep);
}

.rb-btn--ghost {
  background: transparent;
  border: 1px solid var(--rb-teal);
  color: var(--rb-teal);
}

/* —— Fullscreen map page (margins = header bar: 4%) —— */
body.rb-map-page {
  background: #061018;
}

body.rb-map-page #content {
  padding: 0;
}

.rb-map-page__stage {
  padding: 88px var(--rb-page-gutter) 28px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.rb-map-page__bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.rb-map-page__titles {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: #fff;
}

.rb-map-page__titles h1 {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

body.rb-map-page .rb-map-block--app {
  width: 100%;
  min-height: calc(100vh - 200px);
  min-height: calc(100svh - 200px);
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b1820;
}

body.rb-map-page .rb-map-sidebar {
  background: #102028;
  border-right-color: rgba(255, 255, 255, 0.1);
  color: rgba(244, 251, 250, 0.92);
}

body.rb-map-page .rb-map-shell {
  width: 100%;
  height: auto;
  min-height: calc(100vh - 200px);
  min-height: calc(100svh - 200px);
  border-radius: 0;
}

body.rb-map-page .rb-weather {
  margin-top: 22px;
}

body.rb-map-page .rb-map-toolbar__select {
  background: rgba(255, 255, 255, 0.96);
}

body.rb-map-page .rb-footer {
  padding-left: var(--rb-page-gutter);
  padding-right: var(--rb-page-gutter);
}

@media (max-width: 860px) {
  .rb-map-page__stage {
    padding: 78px var(--rb-page-gutter) 24px;
  }

  body.rb-map-page .rb-footer {
    padding-left: var(--rb-page-gutter);
    padding-right: var(--rb-page-gutter);
  }

  body.rb-map-page .rb-map-block--app,
  body.rb-map-page .rb-map-shell {
    min-height: calc(100svh - 240px);
  }
}

/* —— Map —— */
.rb-map-block {
  display: grid;
  gap: 14px;
}

.rb-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rb-map-toolbar__search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: min(280px, 100%);
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.04);
}

.rb-map-toolbar__icon {
  color: #5a6b74;
  display: inline-flex;
}

.rb-map-toolbar__search input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--rb-ink);
  outline: none;
}

.rb-map-toolbar__clear-q {
  border: 0;
  background: transparent;
  color: #7a8a92;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.rb-map-toolbar__select {
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  padding: 2px 4px 2px 12px;
  box-shadow: 0 1px 2px rgba(16, 32, 40, 0.04);
}

.rb-map-toolbar__select select {
  appearance: none;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b74' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  font: inherit;
  font-size: 0.88rem;
  color: #1c2c36;
  outline: none;
  padding: 10px 28px 10px 4px;
  min-width: 148px;
  max-width: min(240px, 70vw);
  cursor: pointer;
}

.rb-map-toolbar__select select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rb-map-toolbar__reset {
  border: 1px solid var(--rb-line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.84rem;
  color: #1c2c36;
  cursor: pointer;
  white-space: nowrap;
}

.rb-map-toolbar__reset:hover {
  border-color: var(--rb-teal);
  color: var(--rb-teal);
}

.rb-map-meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--rb-muted);
  max-width: 100%;
}

.rb-map-shell {
  position: relative;
  height: min(78vh, 820px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--rb-line);
  box-shadow: var(--rb-shadow);
}

#ryboskop-map {
  position: absolute;
  inset: 0;
}

.rb-map-ui--pins {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  pointer-events: none;
}

.rb-map-ui--pins > * {
  pointer-events: auto;
}

.rb-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  background: rgba(244, 248, 248, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rb-line);
  border-radius: 14px;
  padding: 10px 12px;
}

.rb-map-filters label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.rb-map-filters input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--rb-teal, #1aa898);
  cursor: pointer;
  flex-shrink: 0;
}

.rb-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(16, 32, 40, 0.28);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.rb-dot b {
  font-weight: 700;
  font-style: normal;
  font-family: inherit;
}

.rb-dot--pzw {
  background: #1aa898;
}
.rb-dot--wp {
  background: #2f6fff;
}
.rb-dot--priv {
  background: #f0a030;
}
.rb-dot--lake {
  background: var(--rb-teal-soft);
  box-shadow: none;
  width: 10px;
  height: 10px;
  opacity: 0.85;
}

.rb-map-legend {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  background: rgba(244, 248, 248, 0.94);
  border: 1px solid var(--rb-line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.78rem;
  max-width: 280px;
}

.rb-map-legend__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.rb-map-legend__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-map-legend__hint {
  margin: 10px 0 0;
  color: var(--rb-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.rb-map-legend__depths {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--rb-line);
}

.rb-map-legend__depths strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
}

.rb-depth-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--rb-muted);
  margin: 2px 0;
}

.rb-depth-swatch i {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.rb-map-legend__depths[hidden] {
  display: none;
}

.rb-map-panel {
  position: absolute;
  z-index: 12;
  top: 118px;
  left: 14px;
  width: min(340px, calc(100% - 28px));
  max-height: calc(100% - 132px);
  overflow: auto;
  background: rgba(244, 248, 248, 0.97);
  border: 1px solid var(--rb-line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--rb-shadow);
  pointer-events: auto;
}

.rb-map-panel[hidden] {
  display: none;
}

.rb-map-panel__close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: var(--rb-muted);
}

.rb-map-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rb-ink);
  margin-bottom: 8px;
}

.rb-map-badge__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rb-badge, var(--rb-teal));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rb-badge, var(--rb-teal)) 28%, transparent);
}
.rb-map-badge__dot--lake {
  opacity: 0.85;
}

.rb-map-panel h3 {
  margin: 0 0 4px;
}

.rb-map-panel__type {
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.88rem;
}

.rb-map-panel__blurb {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.rb-map-panel .facts {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rb-map-panel .facts li {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--rb-line);
  font-size: 0.85rem;
}

.rb-map-panel .facts li.facts--wide {
  grid-column: 1 / -1;
}

.rb-map-panel .facts span {
  color: var(--rb-muted);
  font-size: 0.72rem;
}

@media (max-width: 720px) {
  .rb-map-toolbar__search,
  .rb-map-toolbar__select,
  .rb-map-toolbar__reset {
    flex: 1 1 100%;
  }
  .rb-map-toolbar__select select {
    width: 100%;
    max-width: none;
  }
  .rb-map-meta {
    margin-left: 0;
  }
  .rb-map-legend {
    display: none;
  }
  .rb-map-panel {
    top: auto;
    bottom: 14px;
    max-height: 42vh;
    overflow: auto;
  }
}

/* —— Map app (sidebar + chips, inspired by katalog mapy) —— */
.rb-map-block--app {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 0;
  min-height: 560px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-map-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(6, 16, 24, 0.06);
}

.rb-map-drawer-backdrop {
  display: none;
}

.rb-map-drawer-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--rb-teal-deep, #1aa898);
  color: #fff;
  font: 600 0.85rem var(--rb-font);
  box-shadow: 0 8px 20px rgba(16, 32, 40, 0.22);
  cursor: pointer;
}

.rb-map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px 18px;
  background: #f4f8f7;
  border-right: 1px solid var(--rb-line);
  overflow: auto;
  z-index: 5;
  border-radius: var(--rb-map-radius) 0 0 var(--rb-map-radius);
}

.rb-map-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rb-map-sidebar__head strong {
  font-family: var(--rb-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.rb-map-sidebar__close {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(16, 32, 40, 0.08);
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.rb-map-search {
  position: relative;
  display: block;
}

.rb-map-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rb-muted);
  pointer-events: none;
  z-index: 1;
}

.rb-map-search input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 38px;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rb-navy);
  font: 500 0.92rem var(--rb-font);
  box-sizing: border-box;
}

body.rb-map-page .rb-map-search input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.rb-map-search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--rb-muted);
  cursor: pointer;
}

.rb-map-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 8;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(6, 16, 24, 0.12);
}

body.rb-map-page .rb-map-search__results {
  background: #132430;
  border-color: rgba(255, 255, 255, 0.12);
}

.rb-map-search__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(6, 16, 24, 0.06);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.rb-map-search__item:hover {
  background: rgba(42, 157, 143, 0.1);
}

.rb-map-search__item strong {
  font-size: 0.9rem;
}

.rb-map-search__item span,
.rb-map-search__empty {
  font-size: 0.75rem;
  color: var(--rb-muted);
}

.rb-map-search__empty {
  padding: 12px;
}

.rb-map-group,
.rb-map-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rb-map-group__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-muted);
}

body.rb-map-page .rb-map-group__label {
  color: rgba(244, 251, 250, 0.55);
}

.rb-map-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rb-chip {
  appearance: none;
  border: 1px solid rgba(16, 32, 40, 0.12);
  background: #fff;
  color: var(--rb-navy);
  border-radius: 999px;
  padding: 7px 11px;
  font: 600 0.78rem var(--rb-font);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.rb-map-page .rb-chip,
body.kw-okreg-map-page .rb-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(244, 251, 250, 0.55);
}

body.rb-map-page .rb-chip:hover,
body.kw-okreg-map-page .rb-chip:hover {
  border-color: rgba(200, 240, 216, 0.6);
  color: rgba(244, 251, 250, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

body.rb-map-page .rb-chip:not(.is-active),
body.kw-okreg-map-page .rb-chip:not(.is-active) {
  opacity: 0.72;
}

.rb-chip:hover {
  border-color: var(--rb-teal-deep, #1aa898);
}

.rb-chip.is-active {
  background: var(--rb-teal-deep, #1aa898);
  border-color: var(--rb-teal-deep, #1aa898);
  color: #fff;
}

body.rb-map-page .rb-chip.is-active,
body.kw-okreg-map-page .rb-chip.is-active {
  background: #1f6b45;
  border-color: #3d9a68;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.rb-map-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rb-navy);
  font: 500 0.9rem var(--rb-font);
}

body.rb-map-page .rb-map-field select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.rb-map-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rb-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}

.rb-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--rb-teal-deep, #1aa898);
}

.rb-map-block--app .rb-map-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--rb-muted);
  line-height: 1.35;
}

.rb-map-reset {
  appearance: none;
  height: 40px;
  border: 1px solid rgba(16, 32, 40, 0.14);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: 600 0.85rem var(--rb-font);
  cursor: pointer;
}

.rb-map-reset:hover {
  border-color: var(--rb-orange);
  color: var(--rb-orange);
}

.rb-map-block--app .rb-map-shell {
  position: relative;
  min-height: 560px;
  height: 100%;
  border: 0;
  border-radius: 0 var(--rb-map-radius) var(--rb-map-radius) 0;
  overflow: hidden;
}

.rb-map-block--app .rb-map-legend {
  left: 12px;
  bottom: 12px;
  right: auto;
}

/* —— Weather (Google-like panel) —— */
.rb-weather {
  margin-top: 28px;
  width: 100%;
}

.rb-wx {
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(165deg, #102028 0%, #0b1820 55%, #08141a 100%);
  color: #eef6f5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(6, 16, 24, 0.18);
  padding: 20px clamp(16px, 2.2vw, 28px) 18px;
  display: grid;
  gap: 18px;
}

.rb-wx--loading {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(238, 246, 245, 0.7);
}

.rb-wx__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.rb-wx__loc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.rb-wx__pin {
  color: var(--rb-teal-soft);
  margin-top: 2px;
}

.rb-wx__loc strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.rb-wx__relocate {
  appearance: none;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--rb-teal-soft);
  font: 600 0.85rem var(--rb-font);
  cursor: pointer;
  padding: 0;
}

.rb-wx__relocate:hover {
  color: var(--rb-orange);
}

.rb-wx__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  font-size: 0.88rem;
  color: rgba(238, 246, 245, 0.7);
}

.rb-wx__status span:first-child {
  color: #fff;
  font-weight: 600;
}

.rb-wx__now {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.rb-wx__now-main {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}

.rb-wx__now-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.rb-wx__now-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rb-wx__temp {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.rb-wx__temp-num {
  font-family: var(--rb-display);
  font-size: clamp(3.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.rb-wx__temp-unit {
  margin-top: 10px;
  font-size: 1.1rem;
  color: rgba(238, 246, 245, 0.65);
}

.rb-wx__now-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.rb-wx__now-stats li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  min-width: 178px;
}

.rb-wx__stat-label,
.rb-wx__meta-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 246, 245, 0.6);
}

.rb-wx__stat-label svg,
.rb-wx__meta-label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--rb-teal-soft);
  opacity: 0.9;
}

.rb-wx__angler {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rb-wx__angler li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rb-wx__meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(238, 246, 245, 0.55);
}

.rb-wx__meta-label svg {
  width: 16px;
  height: 16px;
}

.rb-wx__angler strong {
  font-size: 0.95rem;
  padding-left: 23px;
}

.rb-wx__chart-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.rb-wx__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}

.rb-wx__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(238, 246, 245, 0.6);
  font: 600 0.9rem var(--rb-font);
  padding: 8px 14px;
  cursor: pointer;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.rb-wx__tab:last-child {
  border-right: 0;
}

.rb-wx__tab.is-active {
  color: #fff;
}

.rb-wx__tab.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--rb-orange);
}

.rb-wx__chart {
  width: 100%;
  height: 176px;
}

.rb-wx__chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rb-wx__chart-val {
  fill: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-family: var(--rb-font);
  font-weight: 600;
}

.rb-wx__chart-time {
  fill: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-family: var(--rb-font);
}

.rb-wx__days {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.rb-wx__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  text-align: center;
}

.rb-wx__day.is-today {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rb-wx__day-name {
  font-size: 0.82rem;
  color: rgba(238, 246, 245, 0.65);
  text-transform: lowercase;
}

.rb-wx__day-icon {
  width: 36px;
  height: 36px;
}

.rb-wx__day-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rb-wx__day-temp {
  font-size: 0.88rem;
}

.rb-wx__day-temp b {
  font-weight: 700;
}

.rb-wx__day-temp i {
  font-style: normal;
  color: rgba(238, 246, 245, 0.5);
  margin-left: 4px;
}

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

  .rb-wx__status {
    align-items: flex-start;
    text-align: left;
  }

  .rb-wx__days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rb-wx__tabs {
    flex-wrap: wrap;
  }

  .rb-wx__tab {
    border-right: 0;
    padding-left: 0;
    padding-right: 16px;
  }

  .rb-wx__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-wx__now-stats li {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .rb-map-block--app {
    grid-template-columns: 1fr;
    min-height: 520px;
    border-radius: var(--rb-map-radius);
    overflow: hidden;
  }

  .rb-map-drawer-btn {
    display: inline-flex;
    position: absolute;
    z-index: 8;
  }

  .rb-map-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(6, 16, 24, 0.45);
    border: 0;
    padding: 0;
    margin: 0;
  }

  .rb-map-drawer-backdrop[hidden] {
    display: none !important;
  }

  .rb-map-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 92vw);
    height: 100dvh;
    max-height: 100dvh;
    z-index: 80;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 16px 0 40px rgba(6, 16, 24, 0.22);
    border-right: 1px solid var(--rb-line);
    border-radius: 0;
  }

  .rb-map-sidebar.is-open {
    transform: translateX(0);
  }

  .rb-map-sidebar__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rb-map-block--app .rb-map-shell {
    min-height: 520px;
    border-radius: var(--rb-map-radius);
  }

  .rb-map-block--app .rb-map-legend {
    display: none;
  }

  body.rb-map-drawer-open {
    overflow: hidden;
  }
}


/* —— Home: podgląd galerii pod zawodami —— */
/* —— 404 —— */
.kw-404 {
  padding: clamp(110px, 16vw, 160px) var(--rb-page-gutter) clamp(72px, 10vw, 120px);
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(31, 107, 69, 0.12), transparent 55%),
    #f4f7f5;
}

.kw-404__inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.kw-404__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kw-secondary);
}

.kw-404 h1 {
  margin: 0 0 0.85rem;
  font-family: var(--rb-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--kw-primary);
}

.kw-404__lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  color: rgba(15, 61, 46, 0.7);
  font-size: 1.05rem;
  line-height: 1.55;
}

.kw-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.kw-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--kw-secondary);
  color: #fff;
  font-family: var(--rb-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.kw-404__btn:hover,
.kw-404__btn:focus-visible {
  background: #248554;
  outline: none;
}

.kw-404__btn--ghost {
  background: transparent;
  border: 1px solid rgba(15, 61, 46, 0.22);
  color: var(--kw-primary);
}

.kw-404__btn--ghost:hover,
.kw-404__btn--ghost:focus-visible {
  background: rgba(31, 107, 69, 0.08);
}

.kw-home-gallery {
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px);
  background: #f3f7f5;
  border-top: 1px solid rgba(15, 61, 46, 0.06);
}

.kw-home-gallery__inner {
  width: var(--rb-content-width);
  margin: 0 auto;
}

.kw-home-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.kw-home-gallery__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--kw-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-home-gallery__head h2 {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--kw-primary);
}

.kw-home-gallery__lead {
  margin: 0.45rem 0 0;
  max-width: 34rem;
  color: rgba(15, 61, 46, 0.68);
  font-size: 0.98rem;
  line-height: 1.45;
}

.kw-home-gallery__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--kw-secondary);
  color: #fff;
  font-family: var(--rb-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.kw-home-gallery__cta:hover,
.kw-home-gallery__cta:focus-visible {
  background: #248554;
  outline: none;
}

.kw-home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kw-home-gallery__item {
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #e8eee9;
  box-shadow: 0 8px 22px rgba(15, 61, 46, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kw-home-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kw-home-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 61, 46, 0.14);
}

@media (max-width: 900px) {
  .kw-home-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .kw-home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-home-gallery__item {
    border-radius: 12px;
  }
}

/* —— Atlas ryb (podstrona) —— */
.kw-atlas {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--kw-page-hero-bleed) * -1);
  padding: calc(var(--kw-page-hero-bleed) + clamp(28px, 4vw, 48px)) 0 clamp(48px, 6vw, 80px);
  background: #0a2c22;
  color: rgba(236, 246, 240, 0.94);
}

.kw-atlas__inner {
  width: var(--rb-content-width);
  margin: 0 auto;
}

.kw-atlas__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.kw-atlas__filter {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 251, 250, 0.52);
  font-family: var(--rb-font);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.kw-atlas__filter:hover,
.kw-atlas__filter:focus-visible {
  border-color: rgba(200, 240, 216, 0.55);
  color: rgba(244, 251, 250, 0.9);
  outline: none;
}

.kw-atlas__filter.is-active {
  background: #1f6b45;
  border-color: #3d9a68;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.kw-atlas .rb-fish-card {
  color: rgba(236, 246, 240, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.kw-atlas .rb-fish-card__media {
  background: rgba(8, 20, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

.kw-atlas .rb-fish-card__media--ph {
  background:
    linear-gradient(160deg, rgba(47, 212, 192, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.kw-atlas .rb-fish-card__media--ph > span {
  color: rgba(244, 251, 250, 0.55);
}

.kw-atlas .rb-fish-card__body small {
  color: #9fd4b4;
}

.kw-atlas .rb-fish-card__body h3 {
  color: #fff;
}

.kw-atlas .rb-fish-card__body em,
.kw-atlas .rb-fish-card__zone,
.kw-atlas .rb-fish-card__body p {
  color: rgba(220, 236, 226, 0.7);
}

.kw-atlas .rb-fish-card__more {
  background: #1f6b45;
  border-color: #1f6b45;
  color: #fff;
}

.kw-atlas .rb-fish-card:hover .rb-fish-card__more,
.kw-atlas .rb-fish-card:focus-visible .rb-fish-card__more {
  background: #248554;
  border-color: #248554;
  color: #fff;
}

/* —— Atlas / catalogs —— */
.rb-fish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.rb-fish-grid--home {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rb-fish-grid--home .rb-fish-card {
  grid-column: auto;
}

@media (max-width: 960px) {
  .rb-fish-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .rb-fish-grid--home {
    grid-template-columns: 1fr;
  }
}

.rb-fish-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease;
}

/* display:flex wygrywa z [hidden] — filtr musi mieć !important */
.rb-fish-card[hidden],
.rb-fish-card.is-filtered-out {
  display: none !important;
}

.rb-fish-card:hover {
  opacity: 1;
}

.rb-fish-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 20, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.rb-fish-card--featured .rb-fish-card__media {
  aspect-ratio: 16 / 10;
}

.rb-fish-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  transition: transform 0.35s ease;
}

.rb-fish-card:hover .rb-fish-card__img {
  transform: scale(1.03);
}

.rb-fish-card__media--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(47, 212, 192, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.rb-fish-card__media--ph > span {
  font-family: var(--rb-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: rgba(244, 251, 250, 0.55);
  text-align: center;
  max-width: 100%;
}

/* legacy placeholder class (if any) */
.rb-fish-card__ph {
  display: none;
}

.rb-fish-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.rb-fish-card__body > .rb-fish-card__more {
  margin-top: 14px;
}

.rb-fish-card__body small {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.rb-fish-card__body h3 {
  margin: 6px 0 4px;
  font-family: var(--rb-display);
  font-size: 1.08rem;
  color: #fff;
}

.rb-fish-card--featured .rb-fish-card__body h3 {
  font-size: 1.35rem;
}

.rb-fish-card__body em {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.rb-fish-card__body p,
.rb-fish-card__zone {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rb-fish-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: auto;
  padding: 0.55rem 1rem 0.55rem 1.05rem;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--kw-secondary);
  color: #fff;
  font-family: var(--rb-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.rb-fish-card__more-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.rb-fish-card:hover .rb-fish-card__more,
.rb-fish-card:focus-visible .rb-fish-card__more {
  background: #0f3d2e;
  border-color: #0f3d2e;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 61, 46, 0.22);
  transform: translateY(-1px);
}

.rb-fish-card:hover .rb-fish-card__more-arrow,
.rb-fish-card:focus-visible .rb-fish-card__more-arrow {
  transform: translateX(3px);
}

.rb-atlas-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.rb-btn--teal {
  background: var(--rb-teal);
  color: #041016;
  border-color: var(--rb-teal);
}

.rb-section--ink .rb-filters button {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

.rb-section--ink .rb-filters button.is-active {
  background: var(--rb-teal);
  border-color: var(--rb-teal);
  color: #041016;
}

.rb-section--ink .rb-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

/* —— Single fish profile (KW37) —— */
.rb-fish-profile {
  padding: 100px 0 64px;
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(31, 107, 69, 0.1), transparent 60%),
    #f4f7f5;
  color: var(--kw-primary);
}

.rb-fish-profile__top,
.rb-fish-profile__hero,
.rb-fish-profile__body {
  width: 100%;
  padding-left: var(--rb-page-gutter);
  padding-right: var(--rb-page-gutter);
}

.rb-fish-profile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.rb-fish-profile__back {
  font-size: 0.88rem;
  color: var(--kw-secondary);
  opacity: 0.95;
}

.rb-fish-profile__back:hover {
  opacity: 1;
  color: var(--kw-primary);
}

.rb-fish-profile__group {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 61, 46, 0.45);
}

.rb-fish-profile__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 4vw;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(15, 61, 46, 0.12);
}

.rb-fish-profile__copy h1 {
  font-family: var(--rb-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 12px;
  color: var(--kw-primary);
}

.rb-fish-profile__latin {
  margin: 0 0 22px;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(15, 61, 46, 0.5);
}

.rb-fish-profile__lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(15, 61, 46, 0.78);
}

.rb-fish-profile__figure {
  margin: 0;
  background: #e8f0eb;
  border: 1px solid rgba(15, 61, 46, 0.1);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.rb-fish-profile__figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.rb-fish-profile__figure--ph {
  min-height: min(36vh, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, rgba(31, 107, 69, 0.12), transparent 55%), #e8f0eb;
  border: 1px solid rgba(15, 61, 46, 0.1);
  box-sizing: border-box;
}

.rb-fish-profile__ph {
  font-family: var(--rb-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: rgba(15, 61, 46, 0.4);
  text-align: center;
}

.rb-fish-profile__body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 8px;
  padding-bottom: 24px;
}

.rb-fish-profile__block {
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(15, 61, 46, 0.1);
}

.rb-fish-profile__block:last-child {
  border-right: 0;
  padding-right: 0;
}

.rb-fish-profile__block:not(:first-child) {
  padding-left: 28px;
}

.rb-fish-profile__block h2 {
  font-family: var(--rb-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--kw-secondary);
}

.rb-fish-profile__block p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 61, 46, 0.78);
}

.rb-fish-profile__block p:last-child {
  margin-bottom: 0;
}

.rb-fish-profile__facts {
  color: rgba(15, 61, 46, 0.62) !important;
  font-size: 0.9rem !important;
}

.rb-fish-profile__facts span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 61, 46, 0.42);
}

.rb-fish-profile__block--catch strong {
  color: var(--kw-primary);
  font-weight: 600;
}

.rb-fish-profile__note {
  margin-top: 14px !important;
  font-size: 0.8rem !important;
  color: rgba(15, 61, 46, 0.45) !important;
}

@media (max-width: 960px) {
  .rb-fish-profile__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rb-fish-profile__figure {
    order: -1;
  }

  .rb-fish-profile__body {
    grid-template-columns: 1fr 1fr;
  }

  .rb-fish-profile__block:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .rb-fish-profile__block:nth-child(3),
  .rb-fish-profile__block:nth-child(4) {
    border-top: 1px solid rgba(15, 61, 46, 0.1);
  }
}

@media (max-width: 640px) {
  .rb-fish-profile__body {
    grid-template-columns: 1fr;
  }

  .rb-fish-profile__block {
    border-right: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(15, 61, 46, 0.1);
  }

  .rb-fish-profile__block:not(:first-child) {
    padding-left: 0;
  }

  .rb-fish-profile__block:last-child {
    border-bottom: 0;
  }

  .rb-fish-profile__block:nth-child(3),
  .rb-fish-profile__block:nth-child(4) {
    border-top: 0;
  }
}

.rb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.rb-filters button {
  border: 1px solid var(--rb-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.82rem;
}

.rb-voiv-block {
  margin-top: 36px;
  scroll-margin-top: 96px;
}

.rb-voiv-block__head,
.rb-voiv-preview {
  margin-top: 28px;
}

.rb-voiv-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rb-line);
}

.rb-voiv-block__head h3,
.rb-voiv-block__head h4 {
  margin: 0;
  font-family: var(--rb-display);
  font-size: 1.25rem;
}

.rb-voiv-block__head p {
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.85rem;
}

.rb-card--lowisko {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rb-card--lowisko .rb-card__meta {
  margin: 0 0 8px;
  color: var(--rb-muted);
  font-size: 0.85rem;
}

.rb-card--lowisko .rb-card__tags {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--rb-muted);
}

.rb-card--sponsored {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--rb-orange) 35%, var(--rb-line));
  box-shadow: 0 8px 24px rgba(232, 160, 72, 0.08);
}

.rb-card--sponsored-free {
  border-color: color-mix(in srgb, var(--rb-teal) 40%, var(--rb-line));
  box-shadow: 0 8px 24px rgba(26, 122, 112, 0.08);
}

.rb-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rb-orange);
  border-radius: 999px;
  padding: 4px 9px;
}

.rb-card--sponsored-free .rb-card__badge {
  background: var(--rb-teal);
}

.rb-card--clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rb-card--clickable:hover {
  transform: translateY(-2px);
}

.rb-card__stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}

.rb-card__title-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.rb-card__title-link:hover {
  color: var(--rb-teal);
}

.rb-card__interactive {
  position: relative;
  z-index: 2;
}

.rb-card__actions-wrap {
  margin-top: auto;
  padding-top: 16px;
}

.rb-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.rb-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rb-card__btn--primary {
  background: var(--rb-teal);
  border: 1px solid var(--rb-teal);
  color: #fff;
}

.rb-card__btn--primary:hover {
  background: color-mix(in srgb, var(--rb-teal) 86%, #041820);
  border-color: color-mix(in srgb, var(--rb-teal) 86%, #041820);
  color: #fff;
}

.rb-card__btn--secondary {
  appearance: none;
  background: #fff;
  border: 1.5px solid color-mix(in srgb, var(--rb-teal) 55%, var(--rb-line));
  color: var(--rb-ink);
}

.rb-card__btn--secondary:hover,
.rb-card__btn--secondary[aria-expanded="true"] {
  background: color-mix(in srgb, var(--rb-teal) 12%, #fff);
  border-color: var(--rb-teal);
  color: var(--rb-ink);
}

.rb-card__nav {
  position: relative;
}

.rb-card__nav-menu {
  left: 0;
  right: 0;
  min-width: 0;
  width: 100%;
}

@media (max-width: 420px) {
  .rb-card__actions {
    grid-template-columns: 1fr;
  }
}

.rb-muted {
  color: var(--rb-muted);
}

.rb-addr-nav {
  margin: 10px 0 12px;
}

.rb-addr-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
}

.rb-addr-nav__addr {
  flex: 1 1 140px;
  min-width: 0;
}

.rb-addr-nav__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rb-muted);
  margin-bottom: 2px;
}

.rb-addr-nav__addr strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rb-ink);
  line-height: 1.35;
}

.rb-addr-nav__actions {
  position: relative;
  flex: 0 0 auto;
}

.rb-addr-nav__btn {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--rb-teal) 45%, var(--rb-line));
  background: color-mix(in srgb, var(--rb-teal) 12%, #fff);
  color: var(--rb-ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.rb-addr-nav__btn:hover,
.rb-addr-nav__btn[aria-expanded="true"] {
  background: var(--rb-teal);
  border-color: var(--rb-teal);
  color: #fff;
}

.rb-addr-nav__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 168px;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 32, 40, 0.12);
}

.rb-addr-nav__menu[hidden] {
  display: none;
}

.rb-addr-nav__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--rb-ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 550;
}

.rb-addr-nav__menu a:hover {
  background: color-mix(in srgb, var(--rb-teal) 10%, #fff);
}

.rb-map-panel .rb-addr-nav {
  margin: 12px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--rb-orange) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--rb-orange) 22%, var(--rb-line));
}

.rb-contact-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
}

.rb-contact-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.rb-contact-list span {
  min-width: 72px;
  color: var(--rb-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rb-contact-list a {
  color: var(--rb-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rb-filters button span {
  margin-left: 6px;
  opacity: 0.65;
  font-size: 0.75rem;
}

.rb-filters button.is-active {
  background: var(--rb-teal);
  border-color: var(--rb-teal);
  color: #fff;
}

/* —— Footer —— */
.rb-footer {
  background: #061018;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px var(--rb-page-gutter) 28px;
  font-size: 0.85rem;
}

.rb-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rb-footer__logo img {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: contain;
}

.rb-footer__up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rb-footer__up:hover {
  background: var(--rb-teal);
  border-color: var(--rb-teal);
  color: #041016;
}

.rb-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
  padding-top: 20px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.rb-footer__bottom p {
  margin: 0;
}

.rb-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-self: start;
}

.rb-footer__copy {
  color: rgba(255, 255, 255, 0.85);
}

.rb-footer__rights {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.rb-footer__docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 6px 8px;
  font-size: 0.74rem;
  text-align: center;
}

.rb-footer__docs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rb-footer__docs a:hover {
  color: #fff;
}

.rb-footer__docs-sep {
  color: rgba(255, 255, 255, 0.35);
}

.rb-footer__powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.rb-footer__powered-label {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.rb-footer__powered-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.rb-footer__powered-link img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.rb-footer__powered-link:hover img {
  opacity: 1;
}

.rb-footer a:hover {
  color: var(--rb-teal-soft);
}

/* —— Cookies —— */
.rb-cookies {
  position: fixed;
  z-index: 80;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.rb-cookies[hidden] {
  display: none !important;
}

.rb-cookies__panel {
  pointer-events: auto;
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(160deg, #124a36 0%, #0a2c22 72%);
  color: #f4fbf8;
  border: 1px solid rgba(200, 240, 216, 0.16);
  border-radius: 18px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rb-cookies__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 107, 69, 0.45);
  color: #b8e6c8;
  border: 1px solid rgba(200, 240, 216, 0.18);
}

.rb-cookies__text {
  flex: 1;
  min-width: 0;
}

.rb-cookies__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #fff;
}

.rb-cookies__text a {
  color: #9fd4b4;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 650;
}

.rb-cookies__text a:hover {
  color: #fff;
}

.rb-cookies__text p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(220, 236, 226, 0.78);
  line-height: 1.5;
  max-width: 56ch;
}

.rb-cookies__accept {
  flex-shrink: 0;
  border: 0;
  background: #1f6b45;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.rb-cookies__accept:hover,
.rb-cookies__accept:focus-visible {
  background: #248554;
  outline: none;
}

.rb-cookies-fab {
  position: fixed;
  z-index: 80;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 240, 216, 0.18);
  border-radius: 50%;
  background: linear-gradient(160deg, #124a36 0%, #0a2c22 100%);
  color: #b8e6c8;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rb-cookies-fab[hidden] {
  display: none !important;
}

.rb-cookies-fab:hover,
.rb-cookies-fab:focus-visible {
  background: #1f6b45;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

/* Ukryj ewentualny resztkowy markup wtyczki RODO CC */
#rodo-cc-root {
  display: none !important;
}

@media (max-width: 1100px) {
  .rb-header__logo-img {
    width: 70px;
    height: 70px;
  }

  .rb-header.is-solid .rb-header__logo-img {
    width: 58px;
    height: 58px;
  }

  .rb-nav {
    gap: 0.3rem 1rem;
    font-size: 0.76rem;
  }
}

html.rb-nav-open,
body.rb-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 860px) {
  .rb-header {
    --rb-header-h: 72px;
    padding-top: 8px;
  }

  .rb-header.is-solid {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .rb-header.is-menu-open,
  .rb-header:not(.is-solid).is-menu-open {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rb-header__bar {
    width: min(100% - 28px, 1180px);
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  body.admin-bar .rb-header {
    top: 32px;
  }

  @media (max-width: 782px) {
    body.admin-bar .rb-header {
      top: 46px;
    }
  }

  .rb-header.is-solid .rb-header__bar {
    min-height: 68px;
  }

  .rb-header__logo {
    position: relative;
    left: auto;
    transform: none;
    justify-self: start;
    margin: 0;
    z-index: 70;
    flex: 0 0 auto;
  }

  .rb-header.is-menu-open .rb-header__logo {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.94);
  }

  .rb-header__logo-img {
    width: 58px;
    height: 58px;
  }

  .rb-header.is-solid .rb-header__logo-img {
    width: 52px;
    height: 52px;
  }

  .rb-header__right {
    position: relative;
    z-index: 70;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .rb-header.is-menu-open .rb-header__right .rb-nav__social {
    opacity: 0;
    pointer-events: none;
  }

  .rb-menu-btn {
    display: inline-flex;
    position: relative;
    z-index: 70;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(15, 61, 46, 0.35);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .rb-header.is-solid .rb-menu-btn,
  .rb-header.is-menu-open .rb-menu-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
  }

  .rb-header.is-menu-open .rb-menu-btn {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    left: auto;
  }

  body.admin-bar .rb-header.is-menu-open .rb-menu-btn {
    top: calc(32px + max(12px, env(safe-area-inset-top)));
  }

  @media (max-width: 782px) {
    body.admin-bar .rb-header.is-menu-open .rb-menu-btn {
      top: calc(46px + max(10px, env(safe-area-inset-top)));
    }
  }

  .rb-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(6, 22, 16, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .rb-nav-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  .rb-nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding:
      max(6rem, calc(env(safe-area-inset-top) + 5rem))
      clamp(1.6rem, 7vw, 2.4rem)
      max(2.2rem, env(safe-area-inset-bottom));
    background:
      radial-gradient(120% 80% at 50% -10%, rgba(31, 107, 69, 0.5), transparent 55%),
      linear-gradient(165deg, #145239 0%, var(--kw-primary) 48%, #0a2a1f 100%);
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--rb-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition:
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.34s ease;
  }

  .rb-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .rb-nav__logo {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 0 1rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition:
      opacity 0.35s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rb-nav.is-open .rb-nav__logo {
    opacity: 1;
    transform: none;
    transition-delay: 0.04s;
  }

  .rb-nav__eyebrow {
    display: block;
    margin: 0 0 1.15rem;
    font-family: var(--rb-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
  }

  .rb-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .rb-nav__links a {
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    padding: 0.85rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #fff;
    transition:
      color 0.2s ease,
      padding-left 0.2s ease,
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .rb-nav.is-open .rb-nav__links a {
    opacity: 1;
    transform: none;
  }

  .rb-nav.is-open .rb-nav__links a:nth-child(1) { transition-delay: 0.06s; }
  .rb-nav.is-open .rb-nav__links a:nth-child(2) { transition-delay: 0.12s; }
  .rb-nav.is-open .rb-nav__links a:nth-child(3) { transition-delay: 0.18s; }
  .rb-nav.is-open .rb-nav__links a:nth-child(4) { transition-delay: 0.24s; }
  .rb-nav.is-open .rb-nav__links a:nth-child(5) { transition-delay: 0.3s; }
  .rb-nav.is-open .rb-nav__links a:nth-child(6) { transition-delay: 0.36s; }

  .rb-nav__links a:hover,
  .rb-nav__links a:focus-visible {
    color: #c8f0d8;
    padding-left: 0.3rem;
    border-bottom-color: rgba(200, 240, 216, 0.35);
    outline: none;
  }

  .rb-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: fit-content;
    margin-top: 1.75rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: var(--rb-font);
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .rb-nav.is-open .rb-nav__cta {
    opacity: 1;
    transform: none;
    transition-delay: 0.36s;
  }

  .rb-nav__cta:hover,
  .rb-nav__cta:focus-visible {
    background: #1877f2;
    border-color: #1877f2;
    outline: none;
  }

  .rb-nav__cta svg {
    display: block;
    flex-shrink: 0;
  }

  .rb-footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rb-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .rb-footer__legal {
    align-items: center;
    justify-self: center;
  }

  .rb-footer__docs,
  .rb-footer__powered {
    justify-self: center;
  }

  .rb-cookies__panel {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .rb-cookies__text {
    flex: 1 1 100%;
  }
  .rb-grid-3 {
    grid-template-columns: 1fr;
  }
  .rb-section__head {
    flex-direction: column;
    align-items: start;
  }
  .rb-story {
    height: 360vh;
  }
  .rb-dive-depth {
    font-size: 1.25rem;
  }
  .rb-scene-copy {
    top: 50%;
    left: 50%;
    width: min(92%, 24rem);
    max-width: none;
    padding-inline: 1.1rem;
    box-sizing: border-box;
    transform: translate3d(-50%, -50%, 0);
  }
  .rb-scene-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    margin-bottom: 1.15rem;
    line-height: 1.14;
  }
  .rb-scene-copy h2 {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    margin-bottom: 1.15rem;
    line-height: 1.14;
  }
  .rb-scene-copy em {
    white-space: normal;
  }
  .rb-scene-copy p {
    max-width: 32ch;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.35rem;
  }
  .rb-scene-meta {
    display: none;
  }
  .rb-story-bottom {
    bottom: 22px;
    justify-content: center;
  }
}

/* —— Water / fishery detail page —— */
.rb-water-page {
  padding-bottom: 64px;
}

.rb-water-hero {
  padding: 110px var(--rb-page-gutter) 42px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(48, 176, 160, 0.28), transparent 55%),
    linear-gradient(160deg, #0b1820 0%, #102830 55%, #0a141c 100%);
  color: #f4fbfa;
}

.rb-water-hero__inner {
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.rb-water-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 251, 250, 0.55);
  margin-bottom: 14px;
}

.rb-water-hero__crumbs a {
  color: rgba(244, 251, 250, 0.8);
  text-decoration: none;
}

.rb-water-hero__crumbs a:hover {
  color: var(--rb-orange);
}

.rb-water-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.rb-water-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
}

.rb-water-hero h1 {
  margin: 0 0 10px;
  font-family: var(--rb-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rb-water-hero__meta {
  margin: 0 0 22px;
  color: rgba(244, 251, 250, 0.7);
  font-size: 1rem;
}

.rb-water-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rb-water-hero .rb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.rb-water-page__body {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 28px var(--rb-page-gutter) 0;
  display: grid;
  gap: 18px;
  box-sizing: border-box;
}

.rb-water-permit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(232, 160, 72, 0.12);
  border: 1px solid rgba(232, 160, 72, 0.35);
}

.rb-water-permit strong {
  display: block;
  margin-bottom: 4px;
}

.rb-water-permit p {
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.92rem;
}

.rb-water-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.rb-water-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--rb-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 16, 24, 0.04);
}

.rb-water-card h2 {
  margin: 0 0 14px;
  font-family: var(--rb-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.rb-water-card__lead {
  margin: 0 0 12px;
  color: var(--rb-muted);
}

.rb-water-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0 0 16px;
}

.rb-water-facts div {
  min-width: 0;
}

.rb-water-facts__wide {
  grid-column: 1 / -1;
}

.rb-water-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rb-muted);
  margin-bottom: 2px;
}

.rb-water-facts dd {
  margin: 0;
  font-weight: 600;
}

.rb-water-map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rb-line);
  aspect-ratio: 4 / 3;
  background: #e8eef0;
}

.rb-water-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rb-water-map__note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--rb-muted);
}

.rb-water-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.rb-water-split > .rb-water-card {
  min-width: 0;
  height: 100%;
}

.rb-water-species {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rb-water-species a,
.rb-water-species li {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--rb-navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.rb-water-species a:hover {
  background: var(--rb-teal-deep);
  color: #fff;
}

.rb-water-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.rb-water-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rb-line);
  background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rb-water-contact__item:hover {
  border-color: color-mix(in srgb, var(--rb-teal) 45%, var(--rb-line));
  background: color-mix(in srgb, var(--rb-teal) 8%, #fff);
  transform: translateY(-1px);
}

.rb-water-contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  color: #fff;
}

.rb-water-contact__ico--phone {
  background: linear-gradient(145deg, #2a9d8f, #1f7a70);
}

.rb-water-contact__ico--www {
  background: linear-gradient(145deg, #3d7ea6, #245a7a);
}

.rb-water-contact__ico--fb {
  background: linear-gradient(145deg, #4267b2, #2f4f8f);
}

.rb-water-contact__ico--mail {
  background: linear-gradient(145deg, #e8a048, #c47d28);
}

.rb-water-contact__ico--shop {
  background: linear-gradient(145deg, #30b0a0, #1f7a70);
}

.rb-water-ico {
  display: block;
}

.rb-water-contact__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rb-water-contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-muted);
}

.rb-water-contact__value {
  font-weight: 700;
  color: var(--rb-ink);
  word-break: break-word;
}

.rb-water-shop {
  display: grid;
  gap: 14px;
}

.rb-water-shop__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rb-water-shop__name {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
}

.rb-water-shop__dist {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--rb-teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.rb-water-shop__place {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.rb-water-shop__place .rb-water-ico {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--rb-teal);
}

.rb-water-shop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rb-water-shop__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--rb-line);
  background: #fff;
  color: var(--rb-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.rb-water-shop__btn:hover {
  border-color: var(--rb-teal);
  background: color-mix(in srgb, var(--rb-teal) 10%, #fff);
}

.rb-water-shop__btn--nav {
  background: var(--rb-teal);
  border-color: var(--rb-teal);
  color: #fff;
}

.rb-water-shop__btn--nav:hover {
  background: color-mix(in srgb, var(--rb-teal) 86%, #041820);
  border-color: color-mix(in srgb, var(--rb-teal) 86%, #041820);
  color: #fff;
}

.rb-water-tags {
  margin: 12px 0 0;
  color: var(--rb-muted);
}

.rb-water-page .rb-weather {
  margin-top: 4px;
}

@media (max-width: 860px) {
  .rb-water-hero {
    padding-top: 96px;
  }

  .rb-water-grid {
    grid-template-columns: 1fr;
  }

  .rb-water-split {
    grid-template-columns: 1fr;
  }

  .rb-water-facts {
    grid-template-columns: 1fr;
  }
}

/* —— Sklepy: ta sama ramka co mapa łowisk (rb-map-block--app) —— */

/* —— Strona sklepów —— */
.rb-shops__hero {
  padding: 110px var(--rb-page-gutter) 28px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(48, 176, 160, 0.28), transparent 55%),
    linear-gradient(160deg, #0b1820 0%, #102830 55%, #0a141c 100%);
  color: #f4fbfa;
}

.rb-shops__hero-inner {
  max-width: none;
}

.rb-shops__hero h1 {
  margin: 10px 0 12px;
  font-family: var(--rb-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rb-shops__hero h1 em {
  font-style: italic;
  color: #7ad4c8;
}

.rb-shops__hero p {
  margin: 0;
  color: rgba(244, 251, 250, 0.72);
  max-width: 48rem;
}

.rb-shops__body {
  padding: 0 var(--rb-page-gutter) 48px;
}

.rb-shops__map-wrap {
  width: 100%;
}

/* Nadpisania tylko sklepów wewnątrz wspólnej ramki mapy */
.rb-map-block--app.rb-shops-map {
  height: min(72vh, 720px);
}

.rb-shops-map .rb-map-sidebar {
  min-height: 0;
}

.rb-shops-map__source {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--rb-muted);
}

.rb-shops-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rb-shops-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.14);
  color: var(--rb-teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rb-shops-badge--sun {
  background: rgba(232, 160, 72, 0.18);
  color: #8a5a18;
}

.rb-shops-list {
  flex: 1 1 auto;
  min-height: 120px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.rb-shops-list__empty {
  margin: 8px 0;
  color: var(--rb-muted);
  font-size: 0.9rem;
}

.rb-shops-list__item {
  display: grid;
  gap: 4px;
  text-align: left;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--rb-line);
  background: #f7fbfb;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rb-shops-list__item:hover {
  border-color: color-mix(in srgb, var(--rb-teal) 45%, var(--rb-line));
  background: color-mix(in srgb, var(--rb-teal) 8%, #fff);
}

.rb-shops-list__item strong {
  font-size: 0.92rem;
  color: var(--rb-ink);
}

.rb-shops-list__addr,
.rb-shops-list__hours {
  font-size: 0.78rem;
  color: var(--rb-muted);
  line-height: 1.35;
}

.rb-shops-list__hours:not(.rb-shops-list__hours--muted) {
  color: var(--rb-teal-deep);
  font-weight: 600;
}

/* MapLibre w rb-map-shell — wypełnia shell jak mapa łowisk */
.rb-shops-map .rb-map-shell {
  background: #e8eef0;
}

.rb-shops-map__canvas,
.rb-shops-map__canvas.maplibregl-map,
.rb-shops-map #rbShopsMap,
.rb-shops-map #rbShopsMap.maplibregl-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.rb-shop-pop {
  display: grid;
  gap: 6px;
}

.rb-shop-pop__name {
  font-size: 1rem;
  color: #102028;
}

.rb-shop-pop__addr,
.rb-shop-pop__hours,
.rb-shop-pop__phone {
  margin: 0;
  font-size: 0.82rem;
  color: #5a6b74;
  line-height: 1.35;
}

.rb-shop-pop__hours span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.rb-shop-pop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.rb-shop-pop__nav,
.rb-shop-pop__www {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.rb-shop-pop__nav {
  background: var(--rb-teal);
  color: #fff;
}

.rb-shop-pop__www {
  border: 1px solid var(--rb-line);
  color: var(--rb-ink);
  background: #fff;
}

.maplibregl-popup-content {
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: 0 12px 28px rgba(6, 16, 24, 0.16) !important;
}

.rb-shops__add-cta {
  margin: 22px 0 0;
  font-size: 0.95rem;
  color: var(--rb-muted);
}

.rb-shops__add-cta a {
  color: var(--rb-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.rb-shops__add-cta a:hover {
  text-decoration: underline;
}

/* —— Formularz zgłoszenia sklepu —— */
.rb-shop-submit .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rb-shop-submit {
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--rb-line);
}

.rb-shop-submit__head h2 {
  margin: 8px 0 10px;
  font-family: var(--rb-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.03em;
}

.rb-shop-submit__head p {
  margin: 0 0 22px;
  color: var(--rb-muted);
  max-width: 40rem;
}

.rb-shop-submit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.rb-shop-submit__fields {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rb-shop-submit__field {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rb-ink);
}

.rb-shop-submit__field em {
  color: var(--rb-orange);
  font-style: normal;
}

.rb-shop-submit__field input,
.rb-shop-submit__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--rb-line);
  border-radius: 12px;
  background: #fff;
  font: 500 0.92rem/1.35 var(--rb-font);
  color: var(--rb-ink);
}

.rb-shop-submit__field textarea {
  resize: vertical;
  min-height: 84px;
}

.rb-shop-hours-field {
  gap: 10px;
}

.rb-shop-hours {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--rb-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbfa 0%, #fff 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rb-shop-hours__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.rb-shop-hours__copy {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--rb-teal-deep);
  font: 650 0.78rem/1.2 var(--rb-font);
  cursor: pointer;
  padding: 4px 2px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rb-shop-hours__copy:hover {
  color: var(--rb-orange);
}

.rb-shop-hours__row {
  display: grid;
  grid-template-columns: 3.4rem minmax(6.5rem, auto) 1fr;
  gap: 8px 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(20, 60, 70, 0.08);
}

.rb-shop-hours__row.is-closed {
  background: #f4f6f7;
  border-color: transparent;
}

.rb-shop-hours__day {
  font-weight: 750;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  color: var(--rb-ink);
}

.rb-shop-hours__off {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rb-muted);
  cursor: pointer;
  user-select: none;
}

.rb-shop-hours__off-input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--rb-teal-deep);
}

.rb-shop-hours__times {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.rb-shop-hours__row.is-closed .rb-shop-hours__times {
  opacity: 0.35;
  pointer-events: none;
}

.rb-shop-hours__time {
  margin: 0;
}

.rb-shop-hours__open,
.rb-shop-hours__close {
  min-width: 4.6rem;
  padding: 7px 8px;
  border: 1px solid var(--rb-line);
  border-radius: 9px;
  background: #fff;
  font: 600 0.84rem/1.2 var(--rb-font);
  color: var(--rb-ink);
  cursor: pointer;
}

.rb-shop-hours__sep {
  color: var(--rb-muted);
  font-weight: 700;
}

.rb-shop-submit__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--rb-muted);
  font-weight: 500;
}

.rb-shop-submit__pin-status {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: var(--rb-muted);
}

.rb-shop-submit__pin-status.is-ok {
  color: var(--rb-teal-deep);
}

.rb-shop-submit__pin-status.is-bad {
  color: #b42318;
}

.rb-shop-submit__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.rb-shop-submit__msg {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.rb-shop-submit__msg.is-ok {
  color: var(--rb-teal-deep);
}

.rb-shop-submit__msg.is-err {
  color: #b42318;
}

.rb-shop-submit__map-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 320px;
}

.rb-shop-submit__map {
  position: relative;
  flex: 1;
  min-height: 320px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-map-radius);
  overflow: hidden;
  background: #e8eef0;
  box-shadow: 0 10px 30px rgba(6, 16, 24, 0.06);
}

.rb-shop-submit__map .maplibregl-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.rb-shop-submit__map-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--rb-muted);
}

@media (max-width: 900px) {
  .rb-map-block--app.rb-shops-map {
    height: auto;
    min-height: 0;
  }

  .rb-shops-list {
    max-height: 220px;
  }

  .rb-shops-map .rb-map-shell {
    min-height: 55vh;
    height: 55vh;
  }

  .rb-shop-submit__grid {
    grid-template-columns: 1fr;
  }

  .rb-shop-submit__map {
    min-height: 280px;
  }

  .rb-shop-hours__row {
    grid-template-columns: 3rem 1fr;
    grid-template-areas:
      "day off"
      "times times";
  }

  .rb-shop-hours__day { grid-area: day; }
  .rb-shop-hours__off { grid-area: off; justify-self: end; }
  .rb-shop-hours__times { grid-area: times; justify-content: flex-start; }
}

/* —— Mapa wód Okręgu PZW Gorzów —— */
/* Atlas + Galeria: ciągła zieleń jak /zawody/ i /mapa/ */
body.kw-atlas-page,
body.kw-gallery-page {
  background: #0a2c22;
}

body.kw-atlas-page .kw-page-hero,
body.kw-gallery-page .kw-page-hero {
  background: #0a2c22;
}

/* Ten sam rytm co /zawody/: hero → ciągła zieleń #0a2c22 */
body.kw-okreg-map-page {
  background: #0a2c22;
}

body.kw-okreg-map-page .kw-page-hero {
  background: #0a2c22;
}

.kw-okreg-map-section {
  position: relative;
  z-index: 1;
  padding: calc(var(--kw-page-hero-bleed) + clamp(28px, 4vw, 48px)) var(--rb-page-gutter) clamp(64px, 8vw, 100px);
  margin-top: calc(var(--kw-page-hero-bleed) * -1);
  background: #0a2c22;
}

.kw-okreg-map-section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body.kw-okreg-map-page .kw-okreg-map.rb-map-block--app {
  min-height: min(72vh, 760px);
  background: #0c241c;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.kw-okreg-map-page .rb-map-sidebar {
  background: #123228;
  border-right-color: rgba(200, 240, 216, 0.12);
  color: rgba(236, 246, 240, 0.94);
}

body.kw-okreg-map-page .rb-map-shell {
  min-height: min(72vh, 760px);
}

body.kw-okreg-map-page .rb-map-search input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 240, 216, 0.18);
  color: #fff;
}

body.kw-okreg-map-page .rb-map-search input::placeholder {
  color: rgba(220, 236, 226, 0.55);
}

body.kw-okreg-map-page .rb-map-search__icon {
  color: rgba(200, 240, 216, 0.55);
}

body.kw-okreg-map-page .rb-map-group__label {
  color: rgba(200, 240, 216, 0.62);
}

body.kw-okreg-map-page .rb-map-meta {
  color: rgba(200, 240, 216, 0.7);
  font-size: 0.8rem;
}

body.kw-okreg-map-page .rb-map-sidebar__close {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f4ec;
}

.kw-okreg-map__list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1;
}

.kw-okreg-map__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 120px;
  max-height: min(42vh, 360px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(200, 240, 216, 0.12);
  background: rgba(0, 0, 0, 0.16);
  -webkit-overflow-scrolling: touch;
}

.kw-okreg-map__list-empty {
  margin: 0;
  padding: 16px 14px;
  color: rgba(220, 236, 226, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

body.kw-okreg-map-page .kw-okreg-result {
  background: transparent;
  color: #eef7f1;
  border-bottom-color: rgba(200, 240, 216, 0.1);
}

body.kw-okreg-map-page .kw-okreg-result:hover,
body.kw-okreg-map-page .kw-okreg-result:focus-visible {
  background: rgba(31, 107, 69, 0.35);
  outline: none;
}

body.kw-okreg-map-page .kw-okreg-result span {
  color: rgba(200, 240, 216, 0.62);
}

body.kw-okreg-map-page .kw-okreg-result[disabled] {
  opacity: 0.7;
  cursor: default;
}

body.kw-okreg-map-page .rb-map-search__results {
  background: #0f2e24;
  border: 1px solid rgba(200, 240, 216, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.kw-okreg-map__disclaimer {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 107, 69, 0.22);
  border: 1px solid rgba(200, 240, 216, 0.16);
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(232, 244, 236, 0.88);
}

.kw-okreg-map__disclaimer a {
  color: #b8e8c8;
  font-weight: 600;
}

.kw-okreg-map .rb-map-shell {
  background: #d7e4dc;
}

.kw-okreg-map #kwOkregMap,
.kw-okreg-map #kwOkregMap.maplibregl-map {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.kw-okreg-map__legend .kw-okreg-map__line {
  display: inline-block;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7ec8e3 0%, #2f9ac4 45%, #0b4f6c 100%);
  box-shadow: 0 0 0 2px rgba(126, 200, 227, 0.35);
  margin-right: 2px;
  vertical-align: middle;
}

.kw-okreg-map__legend .kw-okreg-map__poly {
  display: inline-block;
  width: 16px;
  height: 12px;
  border-radius: 3px;
  background: rgba(31, 107, 69, 0.45);
  border: 1.5px solid #0f3d2e;
  margin-right: 2px;
  vertical-align: middle;
}

.kw-okreg-map__legend .kw-okreg-map__pin {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #1f6b45;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 61, 46, 0.25);
  margin-right: 2px;
  vertical-align: middle;
}

.kw-okreg-pop__nr {
  margin: 0;
  font-size: 0.82rem;
  color: #1f6b45;
}

body.kw-okreg-map-page .rb-footer {
  background: #071a14;
  border-top: 1px solid rgba(200, 240, 216, 0.08);
}

@media (max-width: 860px) {
  body.kw-okreg-map-page .kw-okreg-map.rb-map-block--app,
  body.kw-okreg-map-page .rb-map-shell {
    min-height: 62vh;
  }

  /* Bottom sheet zamiast pustego pełnego sidebara */
  body.kw-okreg-map-page .rb-map-sidebar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: min(78dvh, 720px);
    transform: translateY(108%);
    border-radius: 22px 22px 0 0;
    border-right: 0;
    border-top: 1px solid rgba(200, 240, 216, 0.14);
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.4);
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  body.kw-okreg-map-page .rb-map-sidebar.is-open {
    transform: translateY(0);
  }

  body.kw-okreg-map-page .rb-map-sidebar__head {
    padding-top: 4px;
  }

  body.kw-okreg-map-page .rb-map-sidebar__head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(200, 240, 216, 0.28);
    transform: translateX(-50%);
  }

  body.kw-okreg-map-page .rb-map-sidebar {
    position: fixed;
  }

  body.kw-okreg-map-page .rb-map-sidebar__head {
    position: relative;
    padding-top: 14px;
  }

  body.kw-okreg-map-page .kw-okreg-map__list {
    max-height: min(38dvh, 320px);
    flex: 1;
  }

  body.kw-okreg-map-page .rb-map-drawer-btn {
    bottom: 18px;
    left: 14px;
    top: auto;
    background: #1f6b45;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  }
}

.kw-okreg-map__missing {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(200, 240, 216, 0.12);
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(220, 236, 226, 0.75);
  max-height: 180px;
  overflow: auto;
}

.kw-okreg-map__missing ul {
  margin: 8px 0 0;
  padding-left: 1.1rem;
}

.kw-okreg-map__missing span {
  opacity: 0.7;
}

.kw-okreg-result {
  display: grid;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
  background: #fff;
  color: #0f3d2e;
  cursor: pointer;
}

.kw-okreg-result:hover {
  background: #f0f7f3;
}

.kw-okreg-result span {
  font-size: 0.8rem;
  color: rgba(15, 61, 46, 0.62);
}

.kw-okreg-result strong {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kw-okreg-depth {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #1f6b45;
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.3;
}

.kw-okreg-map__depth {
  display: inline-flex;
  min-width: 2.4rem;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #1f6b45;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.kw-okreg-map__depth-legend {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 61, 46, 0.12);
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  color: rgba(15, 61, 46, 0.85);
}

.kw-okreg-map__depth-legend strong {
  font-size: 0.75rem;
  color: #0f3d2e;
}

.kw-okreg-map__depth-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kw-okreg-map__depth-swatch i {
  display: inline-block;
  width: 18px;
  height: 10px;
  border-radius: 2px;
}

.kw-okreg-pop__depth {
  color: #0f3d2e !important;
  font-weight: 600;
}

.kw-okreg-pop {
  display: grid;
  gap: 6px;
  color: #12241c;
}

.kw-okreg-pop h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f3d2e;
}

.kw-okreg-pop__kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f6b45;
}

.kw-okreg-pop__raw,
.kw-okreg-pop__desc,
.kw-okreg-pop p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.kw-okreg-pop__rules {
  margin: 4px 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(18, 36, 28, 0.82);
}

.kw-okreg-pop__cta a {
  color: #1f6b45;
  font-weight: 700;
}

.kw-okreg-pop__note {
  font-size: 0.75rem !important;
  color: rgba(18, 36, 28, 0.58) !important;
}


/* —— Okresy ochronne (homepage) —— */
.kw-protect {
  padding: clamp(48px, 6vw, 80px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(31, 107, 69, 0.12), transparent 55%),
    linear-gradient(180deg, #e8f2ec 0%, #f3f7f5 48%, #eef4f0 100%);
  border-top: 1px solid rgba(15, 61, 46, 0.08);
}

.kw-protect__inner {
  width: var(--rb-content-width);
  margin: 0 auto;
}

.kw-protect__head {
  margin-bottom: 1.25rem;
}

.kw-protect__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--kw-secondary, #1f6b45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kw-protect__head h2 {
  margin: 0;
  font-family: var(--rb-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--kw-primary, #0f3d2e);
}

.kw-protect__lead {
  margin: 0.65rem 0 0;
  color: rgba(15, 61, 46, 0.78);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}

.kw-protect__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(15, 61, 46, 0.12);
  border-bottom: 1px solid rgba(15, 61, 46, 0.12);
}

.kw-protect__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}

.kw-protect__item:last-child {
  border-bottom: 0;
}

.kw-protect__fish {
  color: var(--kw-primary, #0f3d2e);
  font-family: var(--rb-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.kw-protect__scope {
  display: inline-block;
  margin-left: 0.35rem;
  color: rgba(15, 61, 46, 0.55);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
}

.kw-protect__until {
  flex-shrink: 0;
  color: var(--kw-secondary, #1f6b45);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}

.kw-protect__note {
  margin: 1rem 0 0;
  color: rgba(15, 61, 46, 0.5);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .kw-protect__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .kw-protect__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.9rem 0.1rem;
  }

  .kw-protect__until {
    text-align: left;
    white-space: normal;
  }
}
