/*
Theme Name: Ryboskop
Theme URI: https://ryboskop.pl
Author: Creative-Colors.pro
Author URI: https://creative-colors.pro
Description: Profesjonalny motyw Ryboskop.pl — mapa wód Polski, atlas ryb, katalog łowisk. Hero 3D: jezioro i zanurzenie.
Version: 1.10.32
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary
Text Domain: ryboskop
*/

@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%;
  --rb-map-radius: 14px;
}

*,
*::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);
}

/* —— Header: transparent on hero, solid white after scroll —— */
.rb-header {
  --rb-header-h: 72px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--rb-header-h);
  padding: 14px clamp(18px, 4vw, 40px);
  box-sizing: border-box;
  color: rgba(244, 251, 250, 0.92);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 251, 250, 0.18);
  border-radius: 0;
  box-shadow: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.25s ease,
    inset 0.35s ease,
    border-radius 0.35s ease,
    padding 0.35s ease;
}

.rb-header.is-solid {
  inset: 0 0 auto;
  max-width: none;
  margin-inline: 0;
  padding: 0 clamp(18px, 4vw, 40px);
  min-height: 64px;
  color: var(--rb-navy);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(6, 16, 24, 0.08);
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(6, 16, 24, 0.04), 0 8px 24px rgba(6, 16, 24, 0.06);
}

.rb-header__logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rb-header__logo-img {
  height: 42px;
  width: auto;
  max-width: min(200px, 46vw);
  display: block;
  object-fit: contain;
}

.rb-header__logo-img--light {
  display: block;
}

.rb-header__logo-img--dark {
  display: none;
}

.rb-header.is-solid .rb-header__logo-img--light {
  display: none;
}

.rb-header.is-solid .rb-header__logo-img--dark {
  display: block;
}

.rb-nav {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 40px);
  pointer-events: none;
  font-family: var(--rb-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rb-header.is-solid .rb-nav {
  padding: 0 clamp(18px, 4vw, 40px);
}

.rb-nav__cluster {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  pointer-events: auto;
}

.rb-nav a {
  color: inherit;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.rb-nav a:hover {
  opacity: 1;
  color: var(--rb-teal-soft);
}

.rb-header.is-solid .rb-nav a:hover {
  color: var(--rb-teal-deep);
}

.rb-nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  opacity: 1 !important;
  color: rgba(244, 251, 250, 0.92) !important;
  background: rgba(244, 251, 250, 0.1);
  border: 1px solid rgba(244, 251, 250, 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: rgba(244, 251, 250, 0.18);
  color: #fff !important;
  transform: translateY(-1px);
}

.rb-header.is-solid .rb-nav__social {
  color: #1877f2 !important;
  background: rgba(24, 119, 242, 0.08);
  border-color: transparent;
}

.rb-header.is-solid .rb-nav__social:hover {
  background: #1877f2;
  color: #fff !important;
}

.rb-nav__social svg {
  display: block;
}

.rb-header__tools {
  display: none;
  position: absolute;
  right: clamp(12px, 3vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rb-menu-btn {
  display: inline-flex;
  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: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rb-header.is-solid .rb-menu-btn {
  border-color: rgba(6, 16, 24, 0.16);
  color: var(--rb-navy);
}

.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.2s 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);
}

/* —— 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;
  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.02;
  margin: 20px 0 18px;
  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;
}

.rb-scene-copy p {
  margin: 0 auto;
  opacity: 0.72;
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(244, 251, 250, 0.88);
  white-space: nowrap;
}

.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 {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(244, 251, 250, 0.9);
}

.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;
}

.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, Ryboskop colors) —— */
.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;
  }
}


/* —— 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;
}

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

.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;
}

.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 {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rb-teal-soft);
}

.rb-fish-card:hover .rb-fish-card__more {
  color: #fff;
}

.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 (full-bleed, no cards) —— */
.rb-fish-profile {
  padding: 100px 0 64px;
  background: var(--rb-ink);
  color: #fff;
}

.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(--rb-teal-soft);
  opacity: 0.9;
}

.rb-fish-profile__back:hover {
  opacity: 1;
  color: #fff;
}

.rb-fish-profile__group {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 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(255, 255, 255, 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;
}

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

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

.rb-fish-profile__figure {
  margin: 0;
  background: rgba(8, 20, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  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: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  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(244, 251, 250, 0.58);
  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(255, 255, 255, 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(--rb-teal-soft);
}

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

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

.rb-fish-profile__facts {
  color: rgba(255, 255, 255, 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(255, 255, 255, 0.4);
}

.rb-fish-profile__block--catch strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.rb-fish-profile__note {
  margin-top: 14px !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.42) !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(255, 255, 255, 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(255, 255, 255, 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 {
  height: 42px;
  width: auto;
  display: block;
}

.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: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 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;
}

.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__powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.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;
}

.rb-cookies__panel {
  pointer-events: auto;
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  color: var(--rb-ink);
  border: 1px solid rgba(6, 16, 24, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(6, 16, 24, 0.2);
}

.rb-cookies__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--rb-orange) 16%, #fff);
  color: var(--rb-orange-deep);
}

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

.rb-cookies__text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.rb-cookies__text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--rb-muted);
  line-height: 1.45;
  max-width: 54ch;
}

.rb-cookies__accept {
  flex-shrink: 0;
  border: 0;
  background: var(--rb-teal);
  color: #041016;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.rb-cookies__accept:hover {
  background: var(--rb-teal-electric);
}

.rb-cookies-fab {
  position: fixed;
  z-index: 80;
  left: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--rb-orange-deep);
  box-shadow: 0 10px 28px rgba(6, 16, 24, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.rb-cookies-fab:hover {
  background: var(--rb-orange);
  color: #fff;
}

@media (max-width: 860px) {
  .rb-header {
    --rb-header-h: 64px;
    min-height: var(--rb-header-h);
    padding: 10px 16px;
    justify-content: flex-start;
  }

  .rb-header.is-solid {
    inset: 0 0 auto;
    max-width: none;
    padding: 0 16px;
    min-height: 58px;
  }

  .rb-header__logo {
    justify-content: flex-start;
    margin-right: auto;
  }

  .rb-header__logo-img {
    height: 36px;
    max-width: min(168px, 48vw);
  }

  .rb-header__tools {
    display: flex;
  }

  .rb-nav__social {
    width: 36px;
    height: 36px;
  }

  .rb-menu-btn {
    width: 38px;
    height: 38px;
  }

  .rb-nav__fb-desktop {
    display: none;
  }

  .rb-nav {
    display: none;
    position: absolute;
    inset: auto 12px auto 12px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    pointer-events: auto;
    background: #ffffff;
    color: var(--rb-navy);
    border: 1px solid rgba(6, 16, 24, 0.06);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(6, 16, 24, 0.14);
    padding: 10px 8px;
    font-family: var(--rb-font);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .rb-nav__cluster {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .rb-nav a {
    opacity: 1;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .rb-nav a:hover {
    color: var(--rb-teal-deep);
    background: rgba(48, 176, 160, 0.08);
  }

  .rb-nav.is-open {
    display: flex;
  }

  .rb-header:not(.is-solid).is-menu-open {
    background: rgba(6, 16, 24, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .rb-footer__top,
  .rb-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rb-footer__bottom {
    gap: 16px;
  }

  .rb-footer__legal {
    align-items: center;
  }

  .rb-footer__powered {
    margin-left: 0;
  }

  .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: 88%;
    max-width: none;
    transform: translate3d(-50%, -50%, 0);
  }
  .rb-scene-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .rb-scene-copy h2 {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
  }
  .rb-scene-copy em {
    white-space: normal;
  }
  .rb-scene-copy p {
    white-space: normal;
    max-width: 34ch;
  }
  .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; }
}

