/* ===== ArtJacht – style główne ===== */
:root {
  --color-dark: #1a3a52;
  --color-nav: #2c5a7a;
  --color-text: #333;
  --color-muted: #666;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  position: relative;
}
body.page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../Media/Foto/086.JPG") center/cover no-repeat;
  z-index: -2;
}
body.page-body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,82,0.92) 0%, rgba(44,90,122,0.88) 100%);
  z-index: -1;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 1rem; }

/* ----- 1. Linia kontaktowa (góra i dół) ----- */
.contact-line {
  background: #1a3a52;
  color: #eee;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
.contact-line .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.contact-line-fb {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.contact-line-fb:hover { color: #fff; }
.contact-line-fb svg { flex-shrink: 0; }
.contact-line-ig {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.contact-line-ig:hover { color: #fff; }
.contact-line-ig svg { flex-shrink: 0; }
.contact-line--bottom { margin-top: 2rem; }

/* ----- Partnerzy – sekcja nad stopką (przesuwanie w bok). Aby cofnąć: usuń cały blok do końca .partner-box__name + usuń w index.html blok BEGIN PARTNERS … END PARTNERS ----- */
.section-partners {
  padding: 1.25rem 0;
  background: #f5f7f9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.partners-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
}
.partners-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
}
.partners-scroll::-webkit-scrollbar { height: 6px; }
.partners-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 3px; }
.partners-scroll::-webkit-scrollbar-thumb { background: var(--color-nav); border-radius: 3px; }
.partners-track {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  padding: 0 0.25rem;
  min-width: min-content;
}
.partner-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-height: 88px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--color-dark);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.partner-box:hover {
  border-color: var(--color-nav);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.partner-box__logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin-bottom: 0.35rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.partner-box__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.partner-box__logo--failed::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
}
.partner-box__name {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}
/* ----- koniec bloku Partnerzy ----- */

/* ----- 2. Hero z filmem w tle + znak firmowy ----- */
.hero-block {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../Media/Foto/086.JPG") center 65% / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(26,58,82,0.55) 0%, rgba(26,58,82,0.4) 50%, rgba(26,58,82,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.hero-content .logo-img,
.hero-content .hero-logo-svg {
  height: 320px;
  width: auto;
  max-width: min(92vw, 720px);
  max-height: 320px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
}
.hero-content .hero-logo-svg {
  flex-shrink: 0;
}
.hero-content .logo-letters path {
  fill: #fff;
}
.hero-content .logo-graphic path {
  fill: #26aee5;
}
.logo-img { max-width: 100%; height: auto; max-height: 120px; display: block; margin: 0 auto; }
img.logo-img[src=""], img.logo-img:not([src]) { min-height: 80px; background: #ddd; }

/* ----- 2b. Pod wiadomościami: 3 kwadraty – Pogoda | Szachownica | Jezioro Solińskie (symetrycznie) ----- */
.container-three-squares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.square-box {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.square-box--weather .module,
.square-box--webcam .module,
.square-box--map .module {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}
.square-box--weather .module h3,
.square-box--webcam .module h3,
.square-box--map .module h3 {
  flex-shrink: 0;
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.square-box--weather .windy-actions-wrap,
.square-box--webcam .webcam-actions-wrap,
.square-box--map .map-wrapper {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.square-box--weather .windy-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.square-box--webcam .webcam-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.square-box--weather .windy-wrapper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.square-box--webcam .webcam-wrapper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.square-box--weather .windy-wrapper .windy-embed-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
}
.square-box--webcam .webcam-wrapper .webcam-embed-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #0f172a;
}
/* Przycisk pełnego ekranu Windy / kamery – ten sam styl co przy mapie Soliny */
.square-box--weather .windy-fullscreen-toggle,
.square-box--webcam .webcam-fullscreen-toggle {
  flex-shrink: 0;
  width: 100%;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-nav);
  border: none;
  border-radius: 0 0 4px 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.square-box--weather .windy-fullscreen-toggle:hover,
.square-box--webcam .webcam-fullscreen-toggle:hover {
  background: var(--color-dark);
}
.square-box--webcam .webcam-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.square-box--map .map-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.square-box--map .map-stage {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.square-box--map .map-stage > .map-embed-block,
.square-box--map .map-stage > .map-legacy-block {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
#map-embed-block[hidden],
#map-legacy-block[hidden],
.map-stage > [hidden] {
  display: none !important;
}
.square-box--map .map-embed-iframe {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  background: #e8eef2;
}
.square-box--map .map-legacy-block .map-canvas-wrap {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.square-box--map .map-canvas-wrap .map-container,
.square-box--map .map-canvas-wrap #map-solina.map-container,
.square-box--map .map-canvas-wrap #map-solina.leaflet-container {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none;
  border-radius: 4px;
}
.square-box--map .map-controls-row--footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
}
.square-box--map .map-controls-row--embed .map-controls-label {
  font-size: 0.65rem;
  flex: 1;
  line-height: 1.3;
}
.square-box--weather .windy-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Kwadraty obszarów (Kim jesteśmy, Dlaczego my, Co oferujemy) – identyczne jak Pogoda/Szachownica/Mapa */
.square-box--area .home-area {
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
.square-box--area .home-area[open] { box-shadow: none; }
.square-box--area .home-area__summary {
  flex-shrink: 0;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
}
.square-box--area .home-area__img-wrap {
  flex-shrink: 0;
  margin: 0 0.5rem;
  max-height: 120px;
  min-height: 80px;
}
.square-box--area .home-area__img {
  max-height: 120px;
  width: 100%;
  object-fit: cover;
}
.square-box--area .home-area__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.5rem 0.75rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.square-box--area .home-area__body h3 { font-size: 1rem; margin: 0.5rem 0 0.25rem; }
.square-box--area .home-area__body p,
.square-box--area .home-area__body ul { margin: 0.25rem 0 0.5rem; }
.square-box--area .home-area__body ul { padding-left: 1.25rem; }
.square-box--area .home-area__sep { margin: 0.5rem 0; }
/* Zwarte obszary: tylko Wiatr / Komfort / Przygoda + pictogram */
.home-area--compact {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
}
.home-area--compact .home-area__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  flex-shrink: 0;
}
.home-area__pictograms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-height: 210px;
  flex: 1;
  margin-top: 0.25rem;
}
.home-area__pictograms .home-area__picto {
  max-width: 210px;
  max-height: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.home-area__pictograms img[src^="data:"] {
  width: 210px;
  height: 210px;
}
.home-area__pictograms .home-area__icon {
  display: block;
  width: 210px;
  height: 210px;
  color: #1a3a52;
  flex-shrink: 0;
}
.square-box--ttt {
  cursor: pointer;
}
.square-box--ttt .brand-ttt {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(26,58,82,0.92) 0%, rgba(44,90,122,0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brand-ttt-logo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,58,82,0.98) 0%, rgba(44,90,122,0.96) 100%);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
}
.brand-ttt-logo-overlay .brand-ttt-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.05) contrast(1.1);
}

/* Galeria zdjęć – lightbox po kliknięciu kontenera „kółko i krzyżyk” */
.home-galeria-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 1rem;
  box-sizing: border-box;
}
.home-galeria-lightbox--open {
  display: flex;
}
.home-galeria-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 2;
}
.home-galeria-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.home-galeria-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1200px;
}
.home-galeria-prev,
.home-galeria-next {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}
.home-galeria-prev:hover,
.home-galeria-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}
.home-galeria-slide {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}
.home-galeria-slide img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.home-galeria-slide--large img {
  max-height: 88vh;
}
.home-galeria-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  overflow-x: auto;
}
.home-galeria-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  flex-shrink: 0;
  transition: border-color 0.2s, opacity 0.2s;
}
.home-galeria-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-galeria-thumb:hover {
  opacity: 0.9;
}
.home-galeria-thumb--active {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.home-galeria-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.square-box--ttt .brand-ttt-grid {
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 100%;
  aspect-ratio: 1;
  margin: auto;
}
.brand-ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.brand-ttt-cell {
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.5rem, 1.5vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 2px;
  overflow: hidden;
  transition: background 0.25s, transform 0.2s;
}
.brand-ttt-cell.brand-ttt-cell--filled { background: rgba(255,255,255,0.2); }
.brand-ttt-cell.brand-ttt-cell--win {
  background: rgba(38,174,229,0.4);
  border-color: #26aee5;
  box-shadow: 0 0 10px rgba(38,174,229,0.5);
}
.brand-ttt-cell .brand-ttt-word {
  line-height: 1.1;
  white-space: nowrap;
}
.brand-ttt-cell .brand-ttt-picto {
  width: 65%;
  height: 65%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 768px) {
  .container-three-squares {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ----- 3. Nawigacja ----- */
.main-nav { background: #2c5a7a; padding: 0.75rem 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.nav-list a { color: #fff; text-decoration: none; }
.nav-list a:hover { text-decoration: underline; }

/* ----- 4. Główna treść + sidebar (pogoda, informacje) ----- */
.main-content { padding: 1rem 0; }
.main-content > .section-news { margin-top: -0.35rem; }
.main-content > .section-idea { margin-top: 1rem; }
.section-idea .container-three-squares.home-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  perspective: 1200px;
}
/* Obrót wokół własnej osi – Wiatr, Komfort, Przygoda */
.square-box--area {
  transform-style: preserve-3d;
  animation: area-rotate-y 24s linear infinite;
}
.square-box--area:nth-child(2) { animation-delay: -8s; }
.square-box--area:nth-child(3) { animation-delay: -16s; }
@keyframes area-rotate-y {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.square-box--area .home-area-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.square-box--area .home-area-link .home-area { height: 100%; }
.square-box--area:hover {
  animation-play-state: paused;
}

/* Sekcja pełnych tekstów – odwołania z Wiatr / Komfort / Przygoda */
.home-area-texts {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, #f5f8fa 100%);
}
.home-area-article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26,58,82,0.15);
}
.home-area-article:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.home-area-article__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
}
.home-area-article__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
}
.home-area-article__body p,
.home-area-article__body ul { margin: 0 0 0.75rem; }
.home-area-article__body ul { padding-left: 1.5rem; }
.home-area-article__body li { margin-bottom: 0.35rem; }
.home-area-article__body .home-area-article__sep {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid rgba(26,58,82,0.2);
}
.content-primary {
  background: rgba(255,255,255,0.85);
  padding: 1.25rem;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.content-primary.home-areas { padding: 1rem; }
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
}

.content-primary .intro { margin: 0; }
.intro-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.intro-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
@media (max-width: 768px) {
  .intro-gallery { grid-template-columns: 1fr; }
}

/* Strona główna – 3 obszary zwinięte, rozwijane (Kim jesteśmy, Dlaczego my, Co oferujemy) */
.home-areas { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0; }
.home-area {
  margin: 0;
  border: 1px solid rgba(26,58,82,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.95);
  overflow: hidden;
}
.home-area[open] { box-shadow: var(--shadow); }
.home-area__summary {
  margin: 0;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.home-area__summary::-webkit-details-marker { display: none; }
.home-area__summary::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--color-nav);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.2s;
}
.home-area[open] .home-area__summary::before { transform: translateY(-50%) rotate(90deg); }
.home-area__summary:hover { background: rgba(26,58,82,0.06); }
.home-area__summary::after {
  content: "Rozwiń";
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 0.5rem;
}
.home-area[open] .home-area__summary::after { content: "Zwiń"; }
.home-area[open] .home-area__summary { border-bottom-color: rgba(26,58,82,0.12); }
.home-area .home-area__img-wrap {
  margin: 1rem 1rem 0;
  padding-bottom: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.home-area .home-area__img-wrap + .home-area__body { padding-top: 1rem; }
.home-area__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 200px;
}
.home-area .home-area__body { padding: 0 1rem 1.25rem; }
.home-area__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}
.home-area__body p { margin: 0 0 1rem; }
.home-area__body p:last-child { margin-bottom: 0; }
.home-area__body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-dark);
}
.home-area__body h3:first-child { margin-top: 0; }
.home-area__body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}
.home-area__body ul:last-of-type { margin-bottom: 1rem; }
.home-area__checklist {
  list-style: none;
  padding-left: 0;
}
.home-area__checklist li::before {
  content: "✔ ";
  color: var(--color-nav);
  font-weight: 600;
}
.home-area__sep {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid rgba(26,58,82,0.2);
}
.home-area__closing { margin-top: 1.25rem; }
.home-area__body em { font-style: italic; color: var(--color-muted); }

.sidebar-right { display: flex; flex-direction: column; gap: 1.5rem; }

.module {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.module h3 { margin: 0 0 0.75rem; font-size: 1.1rem; color: var(--color-dark); }
.map-wrapper {
  position: relative;
  margin: 0 -0.25rem;
}
.map-wrapper .map-container {
  position: relative;
}
.map-wrapper--fullscreen,
.map-wrapper:fullscreen,
.map-wrapper:-webkit-full-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  width: 100vw;
  max-width: none;
  max-height: none;
  margin: 0;
  z-index: 2147483646;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.map-wrapper--fullscreen .map-legacy-block,
.map-wrapper:fullscreen .map-legacy-block,
.map-wrapper:-webkit-full-screen .map-legacy-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
}
.map-wrapper--fullscreen .map-container,
.map-wrapper:fullscreen .map-container,
.map-wrapper:-webkit-full-screen .map-container {
  position: relative;
  flex: 1;
  min-height: 0;
  height: auto !important;
  width: 100%;
  min-width: 100%;
  border-radius: 0;
  cursor: default;
}
.map-wrapper--fullscreen #map-solina.map-container,
.map-wrapper:fullscreen #map-solina.map-container,
.map-wrapper:-webkit-full-screen #map-solina.map-container {
  min-height: 0 !important;
  height: 100% !important;
}
.map-wrapper--fullscreen .map-controls-row,
.map-wrapper:fullscreen .map-controls-row,
.map-wrapper:-webkit-full-screen .map-controls-row {
  flex-shrink: 0;
  z-index: 10001;
}
.map-wrapper--fullscreen .map-fullscreen-close,
.map-wrapper:fullscreen .map-fullscreen-close,
.map-wrapper:-webkit-full-screen .map-fullscreen-close { display: block; }
.map-wrapper--fullscreen .map-fullscreen-toggle,
.map-wrapper:fullscreen .map-fullscreen-toggle,
.map-wrapper:-webkit-full-screen .map-fullscreen-toggle { display: none; }

/* Powiększony widok Windy / mapy Soliny (warstwa embed-expand) */
.embed-expand-layer {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: #fff;
  display: none;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.embed-expand-layer--open {
  display: flex;
}
.embed-expand-slot {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.embed-expand-target--open.windy-wrapper,
.embed-expand-target--open.webcam-wrapper,
.embed-expand-target--open.map-wrapper {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative;
}
.embed-expand-layer .windy-embed-wrap,
.embed-expand-layer .webcam-embed-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  margin: 0;
  border-radius: 0;
}
.embed-expand-layer .windy-embed-wrap iframe,
.embed-expand-layer .webcam-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-expand-layer .windy-fullscreen-toggle,
.embed-expand-layer .webcam-fullscreen-toggle,
.embed-expand-layer .map-fullscreen-toggle {
  display: none !important;
}
.embed-expand-layer .map-stage {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.embed-expand-layer .map-stage > .map-embed-block,
.embed-expand-layer .map-stage > .map-legacy-block {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.embed-expand-layer .map-stage > [hidden] {
  display: none !important;
}
.embed-expand-layer .map-legacy-block .map-canvas-wrap {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.embed-expand-layer .map-canvas-wrap .map-container,
.embed-expand-layer .map-canvas-wrap #map-solina.map-container,
.embed-expand-layer .map-canvas-wrap #map-solina.leaflet-container {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 0;
  cursor: default;
}
.embed-expand-layer .map-embed-iframe {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-expand-layer .map-wrapper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.embed-expand-layer .map-controls-row--footer {
  flex-shrink: 0;
}
.embed-expand-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 100002;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}
.embed-expand-close:hover {
  background: #f1f5f9;
}
body.embed-expand-active {
  overflow: hidden;
}

/* Pełny ekran Windy – analogicznie do mapy Soliny (legacy, gdy brak embed-fullscreen.js) */
.windy-wrapper--fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  width: 100vw;
  margin: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.windy-wrapper--fullscreen .windy-embed-wrap {
  flex: 1;
  position: absolute;
  inset: 0;
}
.windy-wrapper--fullscreen .windy-fullscreen-close { display: block; }
.windy-wrapper--fullscreen .windy-fullscreen-toggle { display: none; }
.windy-fullscreen-close {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10000;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}
.windy-fullscreen-close:hover {
  background: #f1f5f9;
}

.map-container {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
#map-solina.map-container,
.square-box--map .map-container,
.embed-expand-layer .map-container {
  height: auto !important;
  min-height: 0 !important;
  cursor: default;
}
.map-container:not(#map-solina) {
  height: 260px;
}
.map-controls-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.map-controls-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
}
.map-layer-select {
  flex: 1;
  min-width: 0;
  max-width: 200px;
  padding: 0.25rem 0.4rem;
  font-size: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.map-oam-link {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-nav);
  white-space: nowrap;
}
.map-oam-link:hover { text-decoration: underline; }
.map-fullscreen-toggle {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-nav);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/* Strona główna: wiersz z podkładem i przyciskiem pełnego ekranu */
.square-box--map .map-controls-row {
  width: 100%;
  padding: 0.2rem 0.4rem;
  border-radius: 0 0 4px 4px;
}
.square-box--map .map-layer-select { max-width: 160px; font-size: 0.65rem; }
.square-box--map .map-controls-label { font-size: 0.65rem; }
.square-box--map .map-oam-link { font-size: 0.65rem; }
.square-box--map .map-fullscreen-toggle {
  position: static;
  flex-shrink: 0;
  width: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.map-fullscreen-toggle:hover {
  background: var(--color-dark);
}
.map-fullscreen-close {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10000;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
}
.map-fullscreen-close:hover {
  background: #f1f5f9;
}
.map-container.leaflet-container { font-size: 12px; }
/* Kontener mapy – minimalna wysokość i tło (gdy kafelki się nie załadują) */
.map-container.leaflet-container {
  min-height: 0 !important;
  background: #e8eef2;
}
#map-solina.leaflet-container .leaflet-map-pane,
#map-solina.leaflet-container .leaflet-pane {
  width: 100%;
  height: 100%;
}
.map-container .leaflet-tile-pane { z-index: 1; }
.map-container .leaflet-overlay-pane { z-index: 2; }
.map-container .leaflet-shadow-pane,
.map-container .leaflet-marker-pane { z-index: 3; }
/* Krytyczne style Leaflet – kafelki muszą mieć max-width: none (gdy zewnętrzne CSS się nie załaduje lub framework nadpisuje) */
.map-container .leaflet-tile-pane img,
.map-container .leaflet-tile-pane .leaflet-tile,
.map-container img.leaflet-image-layer {
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  padding: 0;
}
.map-container .leaflet-tile { visibility: hidden; }
.map-container .leaflet-tile-loaded { visibility: inherit; }
.map-container .leaflet-pane,
.map-container .leaflet-tile,
.map-container .leaflet-map-pane {
  position: absolute;
  left: 0;
  top: 0;
}
.map-container.leaflet-container { overflow: hidden; }
/* Ikona + napis w jednym markerze (marker pane) — bez osobnego tooltip */
.leaflet-div-icon.map-marker-divicon {
  border: none !important;
  background: transparent !important;
}
.map-marker-pin {
  position: relative;
  width: 260px;
  height: 102px;
  background: none;
  border: none;
  pointer-events: auto;
  box-sizing: border-box;
}
/* Napis wyżej, wąska linia w dół, ikona / kropka na współrzędnych */
.map-marker-pin__above-icon {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 218px;
  z-index: 1;
}
.map-marker-pin__leader {
  width: 2px;
  min-height: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 1px;
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
/* Różne przesunięcia poziome — mniej nakładania sąsiednich etykiet */
.map-marker-pin--dir-0 .map-marker-pin__above-icon { transform: translateX(-50%); }
.map-marker-pin--dir-1 .map-marker-pin__above-icon { transform: translateX(calc(-50% + 42px)); }
.map-marker-pin--dir-2 .map-marker-pin__above-icon { transform: translateX(calc(-50% + 24px)); }
.map-marker-pin--dir-3 .map-marker-pin__above-icon { transform: translateX(calc(-50% - 24px)); }
.map-marker-pin--dir-4 .map-marker-pin__above-icon { transform: translateX(calc(-50% - 42px)); }
.map-marker-pin--dir-5 .map-marker-pin__above-icon { transform: translateX(calc(-50% + 34px)); }
.map-marker-pin--dir-6 .map-marker-pin__above-icon { transform: translateX(calc(-50% - 34px)); }
.map-marker-pin--dir-7 .map-marker-pin__above-icon { transform: translateX(calc(-50% + 14px)); }
.map-marker-pin__icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-marker-pin--artjacht .map-marker-pin__icon {
  transform: translateX(-50%) scale(1.12);
}
.map-marker-pin__dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.map-marker-pin__caption {
  margin: 0;
  max-width: 210px;
  text-align: center;
  line-height: 1.18;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid transparent;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.22);
  font-weight: 600;
}
/* Ukryte przez kolizję (visibility) — tylko w obrębie najechanego markera */
.leaflet-marker-icon:hover .map-marker-pin__caption {
  visibility: visible !important;
}
.leaflet-marker-icon:hover .map-marker-pin__leader {
  visibility: visible !important;
}
/* Bardzo oddalone: tylko ArtJacht na stałe; reszta po najechaniu */
#map-solina.leaflet-container[data-map-labels="minimal"] .map-marker-pin:not(.map-marker-pin--artjacht) .map-marker-pin__above-icon {
  opacity: 0;
  transition: opacity 0.15s ease;
}
#map-solina.leaflet-container[data-map-labels="minimal"] .leaflet-marker-icon:hover .map-marker-pin:not(.map-marker-pin--artjacht) .map-marker-pin__above-icon {
  opacity: 1;
}
.map-typ-icon-wrap {
  background: none !important;
  border: none !important;
}
.map-typ-icon-wrap--no-icon { pointer-events: auto !important; }
.map-typ-icon-wrap--artjacht { transform: scale(1.15); }
.map-typ-icon { display: inline-block; line-height: 0; vertical-align: middle; }
.map-typ-icon svg { display: block; }
.map-typ-icon--img img { display: block; object-fit: contain; }
.map-legend {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 1500;
  background: rgba(255,255,255,0.95);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  font-size: 0.75rem;
  line-height: 1.3;
  pointer-events: auto;
}
/* Strona główna: bardzo zwarta legenda w kwadracie mapy */
.square-box--map .map-legend {
  padding: 0.15rem 0.28rem;
  border-radius: 3px;
  font-size: 0.5rem;
  line-height: 1.15;
}
.square-box--map .map-legend__title {
  margin-bottom: 0.12rem;
  padding-bottom: 0.1rem;
  font-size: 0.5rem;
}
.square-box--map .map-legend__row {
  gap: 0.18rem;
  margin-bottom: 0.06rem;
}
.square-box--map .map-legend__row:last-child { margin-bottom: 0; }
.square-box--map .map-legend__icon {
  width: 8px;
  height: 8px;
}
.square-box--map .map-legend__icon .map-typ-icon,
.square-box--map .map-legend__icon .map-typ-icon svg { width: 8px; height: 8px; }
.square-box--map .map-legend__icon .map-typ-icon--img img { width: 10px; height: 10px; }
.square-box--map .map-legend__label { font-size: 0.5rem; }
.map-legend__title {
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.map-legend__row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.map-legend__row:last-child { margin-bottom: 0; }
.map-legend__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-legend__icon .map-typ-icon { width: 18px; height: 18px; }
.map-legend__icon .map-typ-icon svg { width: 18px; height: 18px; }
.map-legend__icon .map-typ-icon--img img { width: 24px; height: 24px; }
.map-legend__label { color: var(--color-dark); }
.map-legend__row--artjacht .map-legend__label { font-weight: 700; color: #0c4a6e; }
/* Mapa Solina: napisy w marker pane — ostre, bez blur; rozmiar: --map-label-* + JS */
#map-solina.leaflet-container {
  --map-label-px: 7px;
  --map-label-artjacht-px: 8.25px;
  --map-label-miejsce-px: 6.25px;
}
#map-solina .map-point-label {
  font-weight: inherit;
  font-size: 1em;
  color: inherit;
}
#map-solina .map-point-label--on-map {
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  max-width: 100%;
}
#map-solina .map-marker-pin__caption--artjacht .map-point-label--on-map {
  font-weight: 800;
}
#map-solina .map-marker-pin__caption--miejsce .map-point-label--on-map {
  font-weight: 500;
  opacity: 0.98;
}
#map-solina .map-marker-pin__caption--medium .map-point-label--on-map {
  font-weight: 600;
}
/* Kolory etykiet (tło/czcionka/obramowanie) — na .map-marker-pin__caption, ten sam układ co mapa */
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-default .map-marker-pin__caption {
  background: #f1f5f9;
  color: #1e293b;
  border-color: rgba(51, 65, 85, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-przystan .map-marker-pin__caption {
  background: #0369a1;
  color: #f0f9ff;
  border-color: #0c4a6e;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(3, 105, 161, 0.45);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-bar .map-marker-pin__caption {
  background: #fef3c7;
  color: #713f12;
  border-color: rgba(180, 83, 9, 0.45);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-czarter .map-marker-pin__caption {
  background: #047857;
  color: #ecfdf5;
  border-color: #065f46;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(4, 120, 87, 0.4);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-czarteryartjacht .map-marker-pin__caption {
  background: #4338ca;
  color: #eef2ff;
  border-color: #312e81;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(67, 56, 202, 0.4);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-hotel .map-marker-pin__caption {
  background: #f3e8ff;
  color: #581c87;
  border-color: rgba(126, 34, 206, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-kosciol .map-marker-pin__caption {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(71, 85, 105, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-winnica .map-marker-pin__caption {
  background: #fee2e2;
  color: #7f1d1d;
  border-color: rgba(185, 28, 28, 0.3);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-kursy .map-marker-pin__caption,
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-szkolenie .map-marker-pin__caption,
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-szkolenia-regaty .map-marker-pin__caption {
  background: #dbeafe;
  color: #1e3a8a;
  border-color: rgba(29, 78, 216, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-atrakcja-turystyczna .map-marker-pin__caption {
  background: #dcfce7;
  color: #14532d;
  border-color: rgba(22, 101, 52, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-miejsce .map-marker-pin__caption {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(100, 116, 139, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-ladowisko .map-marker-pin__caption,
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-lotnisko .map-marker-pin__caption {
  background: #e0e7ff;
  color: #3730a3;
  border-color: rgba(79, 70, 229, 0.3);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-komfort .map-marker-pin__caption {
  background: #fef9c3;
  color: #713f12;
  border-color: rgba(202, 138, 4, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-wiatr .map-marker-pin__caption {
  background: #cffafe;
  color: #155e75;
  border-color: rgba(8, 145, 178, 0.35);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-przygoda .map-marker-pin__caption {
  background: #ffedd5;
  color: #9a3412;
  border-color: rgba(234, 88, 12, 0.3);
}
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-noclegi-przystan .map-marker-pin__caption,
#map-solina.leaflet-container .map-marker-pin.map-tooltip--typ-przystan-noclegi .map-marker-pin__caption {
  background: #0e7490;
  color: #ecfeff;
  border-color: #155e75;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(14, 116, 144, 0.4);
}
.map-popup { max-width: 260px; line-height: 1.4; }
.map-popup-typ { color: var(--color-nav); font-size: 0.95em; }
.map-popup-ceny { font-weight: 600; }
.map-popup-miejscowosc { color: var(--color-muted); font-size: 0.95em; }
.map-popup a { color: var(--color-nav); word-break: break-all; }
.map-popup-uwagi { font-size: 0.9em; color: var(--color-muted); }
.map-tooltip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35em;
  max-width: 420px;
  min-width: 180px;
  line-height: 1.35;
  font-size: 12px;
}
.map-tooltip-content .map-tooltip-part { white-space: nowrap; }
.map-tooltip-content .map-tooltip-sep { color: var(--color-muted); font-weight: 400; user-select: none; }
.map-tooltip-content a { color: var(--color-nav); word-break: break-all; }
.leaflet-tooltip.map-point-tooltip--with-content {
  white-space: normal;
  padding: 6px 10px;
  max-width: 440px;
}

.module-weather .weather-placeholder { font-size: 0.9rem; color: #666; }
.windy-embed-wrap { margin: 0 -0.25rem; border-radius: 4px; overflow: hidden; }
.windy-embed-wrap iframe { display: block; border: none; }

/* Slider informacji – sekwencyjna zmiana */
.module-info-slider .info-slider { position: relative; min-height: 80px; }
.info-slide { display: none; padding: 0.25rem 0; font-size: 0.95rem; }
.info-slide--active { display: block; }
.info-slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.info-slider-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; padding: 0; }
.info-slider-dots .dot.is-active { background: var(--color-nav); }

/* ----- 5. Sekcja idea ----- */
.section { padding: 1.5rem 0; }
.section:nth-child(odd) { background: rgba(255,255,255,0.6); }
.section h2 { margin: 0 0 1rem; font-size: 1.5rem; color: var(--color-dark); }
.section-idea p { margin: 0; max-width: 70ch; }
.idea-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.idea-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  transition: transform var(--transition);
}
.idea-gallery img:hover { transform: scale(1.03); }
@media (max-width: 768px) {
  .idea-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ----- 6. Trzy bloki nowości + efekt podmuchu wiatru ----- */
.section-news {
  position: relative;
  overflow: hidden;
}
.section-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 15%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.03) 85%,
    transparent 100%
  );
  transform: translateX(-100%);
  opacity: 0;
}
.section-news.section-news--wind-gust::before {
  animation: wind-streak 1.1s ease-out forwards;
}
@keyframes wind-streak {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 120px));
    opacity: 0;
  }
}

/* Wiatr powala kafelki, wstają w nowym układzie */
.news-blocks--wind .news-block {
  animation: wind-fall-rise 2.2s ease-in-out forwards;
  transform-style: preserve-3d;
}
.news-blocks--wind .news-block:nth-child(1) { animation-delay: 0s; }
.news-blocks--wind .news-block:nth-child(2) { animation-delay: 0.08s; }
.news-blocks--wind .news-block:nth-child(3) { animation-delay: 0.16s; }
@keyframes wind-fall-rise {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  22% {
    transform: rotateX(88deg);
    opacity: 0.92;
  }
  45% {
    transform: rotateX(88deg);
    opacity: 0.85;
  }
  72% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.section-news .news-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  perspective: 1200px;
  transform-style: preserve-3d;
}
@media (max-width: 768px) {
  .section-news .news-blocks { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}
.news-block {
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 0;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.35s ease;
  transform-origin: center bottom;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.news-block.news-block--fade { opacity: 0.65; }
.news-block:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
/* Opis nad zdjęciem – ten sam kolor co np. „Jezioro Solińskie – ważne punkty” */
.news-block__header {
  flex-shrink: 0;
  padding: 0.75rem 0.5rem 0.5rem;
  text-align: center;
  color: var(--color-dark);
}
.news-block__header h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
}
.news-block .news-block-thumb {
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
}
.news-block .news-block-thumb--placeholder {
  background: #fff;
  border-radius: 10px;
}
/* Wrapper: stały kształt w kontenerze, zdjęcie dopasowuje się do wrappera (nie odwrotnie) */
.news-block .news-block-thumb__img-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
/* Domyślnie poziomy (dopóki JS nie ustawi --portrait/--landscape/--square) */
.news-block .news-block-thumb__img-wrap {
  aspect-ratio: 4 / 3;
}
.news-block .news-block-thumb__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* 1) Wrapper PIONOWY – stały prostokąt 3:4, zaokrąglone rogi, zdjęcie dopasowane */
.news-block .news-block-thumb__img-wrap--portrait {
  height: 100%;
  width: auto;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
/* 2) Wrapper POZIOMY – stały prostokąt 4:3, zaokrąglone rogi, zdjęcie dopasowane */
.news-block .news-block-thumb__img-wrap--landscape {
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  max-height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.news-block .news-block-thumb__img-wrap--landscape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center; /* nadpisywane inline przez JS (thumbPosX/Y) */
  display: block;
}
/* 3) Wrapper KWADRATOWY – stały kwadrat 1:1, zaokrąglone rogi, zdjęcie dopasowane */
.news-block .news-block-thumb__img-wrap--square {
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.news-block__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem 0.75rem;
  gap: 0.5rem;
}
.news-block__date {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.news-block .link-more {
  margin: 0;
  flex-shrink: 0;
}
.link-more { color: var(--color-nav); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.link-more:hover { text-decoration: underline; }

/* ----- 7. Polańczyk ----- */
.section-polanczyk p { margin: 0; max-width: 70ch; }

/* ----- 8–9. Stopka i copyright ----- */
.copyright { padding: 0.75rem 0; font-size: 0.85rem; color: #666; text-align: center; }
.copyright p { margin: 0; }
.copyright .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.admin-link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #2c5a7a;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.admin-link:hover { background: #1a3a52; color: #fff; text-decoration: none; }

/* ===== Podstrony – wspólny layout i nowoczesne komponenty ===== */
.page-content { padding: 2rem 0; min-height: 50vh; }
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  text-align: center;
}
.page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.page-oferta .page-header h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
}
.page-header--with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-header--with-action .btn-reserve {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.95);
  color: var(--color-nav) !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.page-header--with-action .btn-reserve:hover {
  background: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.page-intro { margin-bottom: 1.5rem; }

/* Cennik – wersja HTML (tabela) */
.cennik-html { margin-bottom: 2rem; }
.cennik-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1.5rem 1.5rem 2rem;
  overflow-x: auto;
}
.cennik-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--color-dark);
}
.cennik-meta {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.cennik-table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.cennik-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cennik-table th,
.cennik-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cennik-table thead th {
  background: var(--color-dark);
  color: #fff;
  font-weight: 600;
  border: none;
}
.cennik-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.cennik-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.cennik-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.03); }
.cennik-table tbody tr:hover { background: rgba(44,90,122,0.06); }
.cennik-table td:last-child { font-weight: 600; color: var(--color-dark); white-space: nowrap; }
.cennik-table-caption {
  margin: 0;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  border-top: 1px dashed rgba(0,0,0,0.1);
}
.cennik-table-caption code {
  background: rgba(0,0,0,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.cennik-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-style: italic;
}
.cennik-table--main tbody th {
  font-weight: 600;
  color: var(--color-dark);
  background: rgba(255,255,255,0.5);
}
.cennik-table--main td {
  text-align: center;
  white-space: nowrap;
}
.cennik-table--main tbody th { text-align: left; }
.cennik-col-osob {
  width: 1%;
  min-width: 2.5rem;
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
  color: var(--color-dark);
}

.cennik-card--conditions { margin-top: 1.5rem; }
.cennik-card--contact { margin-top: 1.5rem; }
.cennik-card--gap { margin-top: 2.25rem; }
.cennik-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--color-text);
}
.cennik-list li {
  margin-bottom: 0.5rem;
}
.cennik-list li:last-child { margin-bottom: 0; }
.cennik-list strong { color: var(--color-dark); }

@media (max-width: 768px) {
  .cennik-card { padding: 1rem; }
  .cennik-table th, .cennik-table td { padding: 0.5rem 0.5rem; font-size: 0.85rem; }
  .cennik-table--main thead th { font-size: 0.8rem; padding: 0.5rem 0.35rem; }
}

/* Karty treści (glassmorphism) */
.card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card h2, .card h3 { margin: 0 0 0.75rem; color: var(--color-dark); }
.card h2 { font-size: 1.35rem; }
.card h3 { font-size: 1.15rem; }
.integracja-emphasis { font-size: 1.35rem; font-weight: 700; } /* tylko słowo „pomysł” – duża czcionka */
.integracja-lead { font-size: 1.25rem; }
.card p { margin: 0 0 0.5rem; }
.card p:last-child { margin-bottom: 0; }

/* Pośrednictwo – podtytuły i listy */
.posrednictwo-sub { margin-top: 1.25rem; margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--color-dark); }
.posrednictwo-list { margin: 0.5rem 0 1rem; padding-left: 1.5rem; }
.posrednictwo-list--check { list-style: none; padding-left: 0; }
.posrednictwo-list--check li { position: relative; padding-left: 1.5rem; margin-bottom: 0.35rem; }
.posrednictwo-list--check li::before { content: "✔"; position: absolute; left: 0; color: var(--color-nav); font-weight: bold; }

/* Pośrednictwo – tekst na pełną szerokość */
.page-content--full .card .prose,
.page-content--full .card p,
.page-content--full .card .posrednictwo-list { max-width: none; }
.prose-highlight { font-weight: 600; color: var(--color-dark); padding-left: 0.75rem; border-left: 3px solid var(--color-nav); }

/* Lista aktualności / artykułów */
.article-list { display: flex; flex-direction: column; gap: 1.25rem; }
.article-item {
  display: block;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  border-color: rgba(44,90,122,0.4);
}
.article-item .meta { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.35rem; }
.article-item h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--color-dark); }
.article-item p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--color-text); }
.article-item .link-more { display: inline-block; margin-top: 0.75rem; font-weight: 600; color: var(--color-nav); }
.article-item--with-thumb { display: flex; gap: 1.25rem; align-items: flex-start; }
.article-item--with-thumb .article-item-thumb { flex-shrink: 0; width: 140px; }
.article-item--with-thumb .article-item-thumb img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.article-item--with-thumb .article-item-text { flex: 1; min-width: 0; }

/* Wpis pojedynczy – jasne tło, czytelny tekst, zdjęcia mieszczące się na stronie */
.article-single {
  padding: 1.5rem;
  background: rgba(255,255,255,0.97);
  color: #1a2a36;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.3);
}
.article-single .meta { font-size: 0.9rem; color: #5a6c7a; margin-bottom: 0.5rem; }
.article-single h2 { margin: 0 0 1rem; color: #1a2a36; }
.article-single .article-thumb { margin: 0 0 1.25rem; line-height: 0; }
.article-single .article-thumb img,
.article-single .article-main-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.article-single .article-body {
  margin-top: 1rem;
  color: #1a2a36;
  line-height: 1.65;
}
.article-single .article-body img {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 6px;
  margin: 0.5rem 0;
  display: block;
}
.article-single .article-body p,
.article-single .article-body li { color: #1a2a36; }
.article-single .article-body a { color: var(--color-nav); text-decoration: none; }
.article-single .article-body a:hover { text-decoration: underline; }
.article-single .link-more { color: var(--color-nav); margin-top: 1.25rem; display: inline-block; }

/* Karty jachtów */
.boat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.boat-grid__hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.15rem;
  background: #e8f0fa;
  border: 1px solid #c5d4e8;
  border-radius: 8px;
  color: #1a3a5c;
  font-size: 0.95rem;
  line-height: 1.45;
}
.boat-grid__hint--error {
  background: #f8e8e8;
  border-color: #e0a0a0;
  color: #6b1c1c;
}
.boat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.boat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.boat-card--petrada::before { background-image: url("../Media/Foto/Jachty/Petarda.JPG"); }
.boat-card--afrodyta::before { background-image: url("../Media/Foto/Jachty/Afrodyta.jpg"); }
.boat-card--timi::before { background-image: url("../Media/Foto/Jachty/Timi.JPG"); }
.boat-card--tiana::before { background-image: url("../Media/Foto/Jachty/Tiana.JPG"); }
.boat-card--oliwer::before { background-image: url("../Media/Foto/Jachty/Oliwer.jpg"); }
.boat-card--pesaro::before { background-image: url("../Media/Foto/Jachty/Pesaro.jpg"); }
.boat-card.has-custom-image::before { background-image: var(--boat-bg); }
.boat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.boat-card .boat-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.72) 100%);
  min-height: 100%;
  transition: background 0.35s ease;
}
.boat-card:hover .boat-body {
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 100%);
}
.boat-card:hover .boat-card-actions { position: relative; z-index: 2; }
.boat-card .boat-body h3,
.boat-card .boat-body .boat-desc,
.boat-card .boat-body .boat-specs-list { text-shadow: 0 1px 2px rgba(255,255,255,0.9); }
.boat-card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--color-dark); }
.boat-card .boat-desc { font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.5; }
.boat-specs-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d2137;
  line-height: 1.65;
}
.boat-specs-list li {
  display: block;
  margin-bottom: 0.15rem;
}
.boat-specs-list li:last-child { margin-bottom: 0; }
.boat-card .btn-detail {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-nav);
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.boat-card .btn-detail:hover { background: var(--color-dark); transform: scale(1.02); }
.boat-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}
.boat-card-actions .btn-detail { margin: 0; }

/* Strona szczegółów jachtu – 3 kontenery (wyposażenie | zdjęcie | parametry) jak na stronie głównej */
.jacht-detail-three { margin-top: 0; margin-bottom: 1rem; }
.jacht-detail-box .jacht-detail-module {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}
.jacht-detail-box--equipment .jacht-detail-module,
.jacht-detail-box--params .jacht-detail-module {
  background: rgba(238, 246, 252, 0.97);
  border: 1px solid rgba(44, 90, 122, 0.08);
}
.jacht-detail-box .jacht-detail-module h3 {
  flex-shrink: 0;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-dark);
}
.jacht-detail-module__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  font-size: 0.85rem;
  line-height: 1.4;
}
.jacht-detail-module__scroll p { margin: 0 0 0.25rem; font-weight: 600; color: var(--color-dark); }
.jacht-detail-module__scroll ul { margin: 0 0 0.5rem; padding-left: 1rem; }
.jacht-detail-module__scroll li { margin-bottom: 0.15rem; }
.jacht-detail-box--photo .jacht-detail-module { padding: 0; }
.jacht-detail-photo-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.jacht-detail-box--photo .jacht-detail-photo-wrap { border-radius: var(--radius); }
.jacht-detail-photo-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round var(--radius));
}
.jacht-detail-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.2);
  border-radius: var(--radius);
}

/* Główne zdjęcie jachtu – ten sam układ co zdjęcia w sekcji Wiadomości (np. Petrada) */
.jacht-detail-photo-wrap--news-style {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  background: #fff;
}
.jacht-detail-photo-wrap--news-style .jacht-detail-photo-inner {
  position: relative;
  inset: auto;
  width: 100%;
  flex: 0 0 auto;
  max-height: 100%;
  aspect-ratio: 4 / 3;
  clip-path: none;
}
.jacht-detail-photo-wrap--news-style .jacht-detail-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-position: center;
}
.jacht-specs-dl--compact { display: block; margin: 0; font-size: 0.8rem; }
.jacht-specs-dl--compact dt,
.jacht-specs-dl--compact dd { font-size: 0.8rem; }
.jacht-specs-dl--compact dt { float: left; clear: left; width: 58%; margin: 0 0 0.15rem; font-weight: 600; color: var(--color-dark); }
.jacht-specs-dl--compact dd { margin: 0 0 0.15rem; }
.jacht-equipment-list--compact { display: block; grid: none; margin: 0 0 0.35rem; padding-left: 1rem; }
.jacht-equipment-list--compact li { font-size: 0.8rem; margin-bottom: 0.1rem; }

/* Kontener podłużny – opis na pełną szerokość */
.jacht-detail-description-wrap { padding: 0 0 1.5rem; }
.jacht-detail-description-wrap .container { max-width: 960px; }
.jacht-detail-description {
  padding: 1.25rem 1rem;
  background: rgba(238, 246, 252, 0.97);
  border: 1px solid rgba(44, 90, 122, 0.08);
}
.jacht-detail-description .jacht-section-title { margin-top: 0; }
.jacht-detail-description .jacht-detail-intro { margin: 0; }

@media (max-width: 768px) {
  .jacht-detail-three.container-three-squares { grid-template-columns: 1fr; max-width: none; margin-left: 0; margin-right: 0; }
  .jacht-detail-three .square-box { aspect-ratio: 16/10; min-height: 200px; }
}

.jacht-detail-card .jacht-detail-img-wrap { margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden; }
.jacht-detail-img { width: 100%; height: auto; display: block; vertical-align: middle; }
.jacht-detail-card .boat-specs-list { margin-top: 1rem; }

/* Strona Petrada – zdjęcie główne, opis, parametry, galeria */
.jacht-hero-img-wrap {
  margin: 0 auto 1.5rem;
  position: relative;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.jacht-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}
.jacht-detail-intro { font-size: 1rem; line-height: 1.7; color: var(--color-text); max-width: none; } /* tekst na pełną szerokość */
.jacht-detail-card .prose { max-width: none; }
.jacht-section-title { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; color: var(--color-dark); padding-bottom: 0.35rem; border-bottom: 2px solid var(--color-nav); }
.jacht-section-title:first-of-type { margin-top: 0; }
.jacht-specs-dl { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 2rem; margin: 0; font-size: 0.95rem; }
.jacht-specs-dl dt { font-weight: 600; color: var(--color-dark); margin: 0; }
.jacht-specs-dl dd { margin: 0; color: var(--color-text); }
.jacht-equipment-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.4rem; margin: 1rem 0 0; padding-left: 1.25rem; }
.jacht-equipment-list li { color: var(--color-text); font-size: 0.9rem; }
.jacht-engine { margin: 1.25rem 0 0; padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.08); font-size: 1rem; color: var(--color-dark); }

.jacht-gallery-section { margin-top: 1.5rem; }
.jacht-gallery-scroll { position: relative; display: flex; align-items: center; gap: 0.5rem; overflow: hidden; }
.jacht-gallery-track { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0; -webkit-overflow-scrolling: touch; }
.jacht-gallery-track::-webkit-scrollbar { height: 8px; }
.jacht-gallery-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
.jacht-gallery-track::-webkit-scrollbar-thumb { background: var(--color-nav); border-radius: 4px; }
.jacht-gallery-thumb { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; cursor: pointer; scroll-snap-align: start; flex-shrink: 0; border: 2px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.jacht-gallery-thumb:hover { border-color: var(--color-nav); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.jacht-gallery-prev, .jacht-gallery-next { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-nav); background: #fff; color: var(--color-nav); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.jacht-gallery-prev:hover, .jacht-gallery-next:hover { background: var(--color-nav); color: #fff; }

.jacht-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.jacht-lightbox[hidden] { display: none !important; }
.jacht-lightbox-inner { max-width: 95vw; max-height: 90vh; }
.jacht-lightbox-inner img { max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.jacht-lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 50%; transition: background 0.2s; }
.jacht-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* Galeria jachtu – siatka kwadratów/prostokątów (2× kwadrat), losowy układ, animacja wejścia */
.jacht-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.jacht-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: jacht-gallery-fade-in 0.6s ease-out backwards;
}
.jacht-gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.jacht-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.jacht-gallery-item:hover img {
  transform: scale(1.04);
}
@keyframes jacht-gallery-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  .jacht-gallery-masonry { grid-template-columns: 1fr; gap: 0.5rem; }
  .jacht-gallery-item--wide { grid-column: span 1; aspect-ratio: 16/10; }
}

@media (max-width: 768px) {
  .jacht-specs-dl { grid-template-columns: 1fr; }
  .jacht-gallery-thumb { width: 110px; height: 80px; }
}

/* Rezerwacja – sekcja pod widgety (karta + mount) */
.rezerwacja-widgets-section {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  overflow: visible;
}
.rezerwacja-widgets-section__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3a52;
  border-bottom: 2px solid rgba(26, 95, 122, 0.35);
  padding-bottom: 0.5rem;
}
.rezerwacja-yacht-widgets-mount {
  min-height: 4rem;
}
.rezerwacja-widgets-placeholder {
  margin: 0;
  padding: 1rem;
  font-size: 0.95rem;
  color: var(--color-muted, #5a6b7a);
  background: #f8fafb;
  border: 1px dashed rgba(26, 58, 82, 0.2);
  border-radius: 8px;
  line-height: 1.45;
}
.rezerwacja-widgets-placeholder code {
  font-size: 0.88em;
}

/* Rezerwacja – widget yachtCMS (iframe z zewnątrz) */
.yacht-widget-outer {
  overflow: visible;
  min-height: 320px;
  margin-bottom: 1rem;
  scroll-margin-top: 1.5rem;
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
  /* Bez overflow:hidden, bez backdrop-filter – widget wstrzykuje iframe/treść z zewnątrz */
}
.yacht-widget-outer--focus {
  background: rgba(26, 95, 122, 0.06);
  box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.25);
  border-radius: 8px;
}
.yacht-widget-outer [data-yacht-widget] { min-height: 300px; overflow: visible; }
.yacht-widget-heading {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.85rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a3a52;
  background: #f2f6f9;
  border-left: 4px solid var(--color-nav, #1a5f7a);
  border-radius: 6px;
  line-height: 1.3;
}
.yacht-widget-outer + .yacht-widget-outer { margin-top: 2rem; }
.jacht-widget-note { font-size: 0.9rem; color: var(--color-muted); line-height: 1.4; }
.jacht-widget-note a { color: var(--color-nav); font-weight: 600; }
.jacht-widget-fallback { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(26,58,82,0.12); font-size: 0.9rem; color: var(--color-muted); }
.jacht-widget-fallback a { color: var(--color-nav); font-weight: 600; }

/* Rezerwacja – intro (sposoby rezerwacji), pełna szerokość */
.rezerwacja-intro {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1rem;
  background: #f2f6f9;
  border-radius: 10px;
  border: 1px solid rgba(26, 58, 82, 0.12);
}
.rezerwacja-intro--full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50% + 1rem);
  padding-right: calc(50vw - 50% + 1rem);
  box-sizing: border-box;
}
.rezerwacja-intro__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3a52;
  text-align: center;
}
.rezerwacja-intro__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.rezerwacja-intro__item {
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(26, 58, 82, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.rezerwacja-intro__label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3a52;
}
.rezerwacja-intro__desc {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: var(--color-text);
}
.rezerwacja-intro__online {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-nav);
}
.rezerwacja-intro__kalendarz {
  font-size: 0.72rem;
  color: var(--color-text);
}
.rezerwacja-intro__contact {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.rezerwacja-intro__contact a {
  color: var(--color-nav);
  font-weight: 600;
  text-decoration: none;
}
.rezerwacja-intro__contact a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .rezerwacja-intro__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .rezerwacja-intro__grid { grid-template-columns: 1fr; }
  .rezerwacja-intro--full { padding-left: 1rem; padding-right: 1rem; margin-left: 0; margin-right: 0; width: 100%; }
}

/* Rezerwacja – które jachty wpisane / nie wpisane */
.rezerwacja-jachty-info__title { margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--color-dark); }
.rezerwacja-jachty-info__lead { margin: 0; font-size: 1rem; font-weight: 600; color: var(--color-nav); }
.rezerwacja-jachty-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1rem; }
.rezerwacja-jachty-info__box { padding: 1rem; border-radius: 8px; border: 1px solid rgba(26,58,82,0.15); }
.rezerwacja-jachty-info__box h3 { margin: 0 0 0.5rem; font-size: 0.95rem; font-weight: 600; color: var(--color-dark); }
.rezerwacja-jachty-info__box ul { margin: 0 0 0.5rem; padding-left: 1.25rem; }
.rezerwacja-jachty-info__box li { margin-bottom: 0.2rem; font-size: 0.9rem; }
.rezerwacja-jachty-info__box--tak { background: rgba(70, 130, 100, 0.08); border-color: rgba(70, 130, 100, 0.25); }
.rezerwacja-jachty-info__box--tak h3 { color: #2d5a3d; }
.rezerwacja-jachty-info__box--nie { background: rgba(120, 90, 60, 0.06); border-color: rgba(120, 90, 60, 0.2); }
.rezerwacja-jachty-info__box--nie h3 { color: #5c4532; }
.rezerwacja-jachty-info__note { margin: 0; font-size: 0.85rem; color: var(--color-muted); line-height: 1.4; }
.rezerwacja-jachty-info__note a { color: var(--color-nav); font-weight: 600; }
.rezerwacja-jachty-info__footer { margin: 0; padding-top: 0.75rem; border-top: 1px solid rgba(26,58,82,0.1); font-size: 0.85rem; color: var(--color-muted); }
@media (max-width: 640px) {
  .rezerwacja-jachty-info__grid { grid-template-columns: 1fr; }
}

/* Rezerwacja – karty (gdy brak widgetu) */
.rezerwacja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.rezerwacja-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.2);
}
.rezerwacja-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--color-dark); }
.rezerwacja-card .calendar-placeholder {
  margin-top: 0.75rem;
  padding: 1rem;
  background: rgba(26,58,82,0.08);
  border-radius: 6px;
  font-size: 0.9rem; color: var(--color-muted);
  text-align: center;
}
.rezerwacja-card .link-more { margin-top: 0.75rem; display: inline-block; font-weight: 600; color: var(--color-nav); }

/* Kontakt */
.contact-block {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.contact-block h2 { margin: 0 0 1.25rem; color: var(--color-dark); }
.contact-block .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-block .contact-item:last-child { margin-bottom: 0; }
.contact-block .contact-label { font-weight: 600; min-width: 5rem; color: var(--color-dark); }
.contact-block a { color: var(--color-nav); text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-fb-link { display: inline-flex; align-items: center; }
.contact-fb-link:hover { text-decoration: none; }
.contact-fb-icon { color: #1877f2; }
.contact-fb-link:hover .contact-fb-icon { color: #0d65d9; }
.contact-item--qr { align-items: center; }
.contact-block .contact-qr { display: block; border-radius: 6px; }

/* Sekcja „Zobacz także” */
.see-also { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); }
.see-also h3 { margin: 0 0 1rem; font-size: 1.1rem; color: rgba(255,255,255,0.95); }
.see-also .article-list { gap: 0.75rem; }
.see-also .article-item { padding: 1rem 1.25rem; }

/* Strona Oferta – 4 kontenery w jednym rzędzie */
.container-oferta-four { margin-top: 0; margin-bottom: 1.5rem; }
.oferta-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.oferta-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  min-height: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  text-decoration: none;
  color: var(--color-dark);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oferta-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.oferta-box__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 50, 70, 0.85);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.oferta-box__subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(0, 50, 70, 0.75);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 50, 70, 0.15);
  white-space: nowrap;
}
/* Znak graficzny ArtJacht – napis granatowy, znak turkusowy (wariant w SVG) */
.oferta-box__logo {
  display: block;
  max-width: 240px;
  max-height: 96px;
  width: auto;
  height: auto;
  margin: 0.5rem 0;
  object-fit: contain;
}
.oferta-box--czartery .oferta-box__title { font-size: 1.35rem; }
.oferta-box--czartery .oferta-box__subtitle { font-size: 0.8rem; margin-top: 0.25rem; }

/* Różne tła dla kontenerów oferty */
.oferta-box--czartery { background: rgba(238, 246, 252, 0.98); border: 1px solid rgba(44, 90, 122, 0.12); }
.oferta-box--rejsy { background: rgba(230, 248, 245, 0.98); border: 1px solid rgba(26, 94, 85, 0.12); }
.oferta-box--grupy { background: rgba(255, 250, 242, 0.98); border: 1px solid rgba(180, 130, 70, 0.15); }
.oferta-box--posrednictwo { background: rgba(245, 242, 255, 0.98); border: 1px solid rgba(88, 70, 130, 0.12); }

@media (max-width: 768px) {
  .oferta-four-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .oferta-four-grid { grid-template-columns: 1fr; }
}

/* Strona Rejsy – siatka 3×4 (11 propozycji + 1 pusty) */
.page-header__lead { margin: 0.25rem 0 0; font-size: 1.05rem; color: var(--color-muted); text-align: center; }
.page-header__lead--rejsy { color: rgba(255, 255, 255, 0.95); font-weight: 700; }
.container-rejsy { margin-bottom: 2rem; }
.rejsy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.75rem;
  overflow: visible;
  min-height: 480px;
}
.rejsy-card {
  aspect-ratio: 1;
  min-height: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.rejsy-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-2px); }
.rejsy-card:nth-child(1) { background: rgba(238, 246, 252, 0.98); border-color: rgba(44, 90, 122, 0.18); }
.rejsy-card:nth-child(2) { background: rgba(255, 240, 245, 0.98); border-color: rgba(180, 80, 100, 0.18); }
.rejsy-card:nth-child(3) { background: rgba(240, 255, 248, 0.98); border-color: rgba(50, 120, 80, 0.18); }
.rejsy-card:nth-child(4) { background: rgba(255, 250, 240, 0.98); border-color: rgba(180, 140, 60, 0.18); }
.rejsy-card:nth-child(5) { background: rgba(245, 252, 248, 0.98); border-color: rgba(70, 130, 100, 0.18); }
.rejsy-card:nth-child(6) { background: rgba(255, 248, 235, 0.98); border-color: rgba(200, 150, 50, 0.22); }
.rejsy-card:nth-child(7) { background: rgba(248, 242, 255, 0.98); border-color: rgba(120, 80, 160, 0.18); }
.rejsy-card:nth-child(8) { background: rgba(240, 248, 255, 0.98); border-color: rgba(70, 130, 180, 0.18); }
.rejsy-card:nth-child(9) { background: rgba(245, 248, 252, 0.98); border-color: rgba(60, 100, 140, 0.18); }
.rejsy-card:nth-child(10) { background: rgba(230, 248, 245, 0.98); border-color: rgba(26, 94, 85, 0.18); }
.rejsy-card:nth-child(11) { background: rgba(250, 248, 255, 0.98); border-color: rgba(88, 70, 130, 0.18); }
.rejsy-card { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.rejsy-card__title {
  margin: 0 0 0.2rem;
  padding: 0.45rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: rgba(0, 50, 70, 0.88);
  border: 1px solid rgba(0, 50, 70, 0.3);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.25;
}
.rejsy-card__subtitle {
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.85rem;
  color: var(--color-nav);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.rejsy-card__body {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--color-text);
  flex: 1;
}
.rejsy-card__body ul {
  margin: 0 0 0.25rem;
  padding-left: 1rem;
}
.rejsy-card__body li { margin-bottom: 0.08rem; }
.rejsy-card__body p { margin: 0.25rem 0 0; font-size: 0.78rem; }
.rejsy-card:nth-child(11) { background: rgba(250, 248, 255, 0.98); border-color: rgba(88, 70, 130, 0.18); }
.rejsy-card__body { overflow: hidden; }

/* VIP – pictogram Vip.png w tle, kolor granatowy */
.rejsy-card--vip { position: relative; overflow: hidden; }
.rejsy-card--vip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/Vip.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  filter: brightness(0.4) sepia(1) hue-rotate(200deg) saturate(0.5);
}
.rejsy-card--vip .rejsy-card__title,
.rejsy-card--vip .rejsy-card__subtitle,
.rejsy-card--vip .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs dla zakochanych – dwa serca na cały kontener */
/* Rejs dla zakochanych – tło zakochani.jpg */
.rejsy-card--lovers { position: relative; overflow: hidden; }
.rejsy-card--lovers::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/zakochani.jpg");
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}
.rejsy-card--lovers .rejsy-card__title,
.rejsy-card--lovers .rejsy-card__subtitle,
.rejsy-card--lovers .rejsy-card__body { position: relative; z-index: 1; }

/* Rodzinny rejs przygodowy – ognisko w tle (obraz załadowany) */
.rejsy-card--family { position: relative; overflow: hidden; }
.rejsy-card--family::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/ognisko.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: grayscale(1);
}
.rejsy-card--family .rejsy-card__title,
.rejsy-card--family .rejsy-card__subtitle,
.rejsy-card--family .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs muzyczny – nuty w tle (większe, 14px, szersze) */
.rejsy-card--music { position: relative; overflow: hidden; }
.rejsy-card--music::before {
  content: "";
  position: absolute;
  inset: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70'%3E%3Cg fill='rgba(70,95,130,0.22)' stroke='rgba(70,95,130,0.26)' stroke-width='3'%3E%3Ccircle cx='22' cy='35' r='14'/%3E%3Cpath d='M22 21 L22 3 L26 3 L26 21' fill='none'/%3E%3Ccircle cx='50' cy='48' r='14'/%3E%3Cpath d='M50 34 L50 3 L54 3 L54 34' fill='none'/%3E%3Ccircle cx='78' cy='58' r='14'/%3E%3Cpath d='M78 44 L78 18 L82 18 L82 44' fill='none'/%3E%3Cpath d='M26 3 L26 10 Q42 14 26 20' fill='none'/%3E%3Cpath d='M54 3 L54 12 Q72 16 54 24' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.rejsy-card--music .rejsy-card__title,
.rejsy-card--music .rejsy-card__subtitle,
.rejsy-card--music .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs „Cisza i Relaks” – zen / liść / fala */
/* Rejs Cisza i Relaks – tło cisza.png */
.rejsy-card--relax { position: relative; overflow: hidden; }
.rejsy-card--relax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/cisza.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: grayscale(1);
}
.rejsy-card--relax .rejsy-card__title,
.rejsy-card--relax .rejsy-card__subtitle,
.rejsy-card--relax .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs po krajobrazie – tło słońce1.png */
.rejsy-card--sunrise { position: relative; overflow: hidden; }
.rejsy-card--sunrise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/słońce1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  filter: grayscale(1);
}
.rejsy-card--sunrise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(120, 120, 120, 0.2), rgba(100, 100, 100, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0.5;
}
.rejsy-card--sunrise .rejsy-card__title,
.rejsy-card--sunrise .rejsy-card__subtitle,
.rejsy-card--sunrise .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs okolicznościowy – konfetti / baloniki */
/* Rejs okolicznościowy – tło Baliniki.png */
.rejsy-card--party { position: relative; overflow: hidden; }
.rejsy-card--party::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/Baliniki.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  filter: grayscale(1);
}
.rejsy-card--party .rejsy-card__title,
.rejsy-card--party .rejsy-card__subtitle,
.rejsy-card--party .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs fotograficzny – aparat / przesłona */
/* Żeglowanie to nie takie trudne – tło szkolenie.png, mniej wyraźne, granat */
.rejsy-card--photo { position: relative; overflow: hidden; }
.rejsy-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/Szkolenie.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  filter: brightness(0.5) sepia(1) hue-rotate(200deg) saturate(0.45);
}
.rejsy-card--photo .rejsy-card__title,
.rejsy-card--photo .rejsy-card__subtitle,
.rejsy-card--photo .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs „Poznaj Solinę” – mapa / kompas */
/* Męski Rejs – tło gitara.png */
.rejsy-card--map { position: relative; overflow: hidden; }
.rejsy-card--map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Media/Foto/Pictogramy/gitara.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: grayscale(1);
}
.rejsy-card--map .rejsy-card__title,
.rejsy-card--map .rejsy-card__subtitle,
.rejsy-card--map .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs na cały dzień – żagiel / łódka */
.rejsy-card--sail { position: relative; overflow: hidden; }
.rejsy-card--sail::before {
  content: "";
  position: absolute;
  inset: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 70'%3E%3Cpath fill='rgba(80,120,160,0.18)' d='M10 55 L30 25 L50 25 L50 55 Z'/%3E%3Cpath fill='rgba(70,110,150,0.2)' d='M48 25 L48 5 L52 5 L52 45 Z'/%3E%3Cpath fill='rgba(90,130,170,0.16)' d='M30 25 L35 15 L40 25 L35 35 Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.rejsy-card--sail .rejsy-card__title,
.rejsy-card--sail .rejsy-card__subtitle,
.rejsy-card--sail .rejsy-card__body { position: relative; z-index: 1; }

/* Rejs szkoleniowo–rekreacyjny – kompas / koło ratunkowe */
.rejsy-card--compass { position: relative; overflow: hidden; }
.rejsy-card--compass::before {
  content: "";
  position: absolute;
  inset: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='32' fill='none' stroke='rgba(90,100,120,0.22)' stroke-width='2'/%3E%3Cpath d='M40 8 L40 35 L44 40 L40 45 L36 40 Z' fill='rgba(90,100,120,0.2)'/%3E%3Cpath d='M40 72 L40 45 L44 40 L40 35 L36 40 Z' fill='rgba(90,100,120,0.2)'/%3E%3Cpath d='M8 40 L35 40 L40 36 L45 40 L40 44 Z' fill='rgba(90,100,120,0.2)'/%3E%3Cpath d='M72 40 L45 40 L40 36 L35 40 L40 44 Z' fill='rgba(90,100,120,0.2)'/%3E%3Ccircle cx='40' cy='40' r='4' fill='rgba(90,100,120,0.3)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.rejsy-card--compass .rejsy-card__title,
.rejsy-card--compass .rejsy-card__subtitle,
.rejsy-card--compass .rejsy-card__body { position: relative; z-index: 1; }

/* Kontener „Twój pomysł” – animacja: grafiki 1–5, tło morskie, Twoje Pomysły, Nasza Realizacja, logo ArtJacht */
.rejsy-card--yacht {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 250, 242, 0.98) 0%, rgba(252, 246, 235, 0.98) 50%, rgba(248, 242, 228, 0.98) 100%);
  border: 2px solid rgba(180, 165, 140, 0.45);
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 24px rgba(160, 145, 120, 0.18);
  z-index: 2;
  overflow: hidden;
}
.rejsy-card--yacht:hover { box-shadow: 0 8px 28px rgba(160, 145, 120, 0.25); }

.rejsy-card--pomysl .rejsy-pomysl__stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.rejsy-pomysl__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  background: rgba(185, 172, 155, 0.98);
}
.rejsy-pomysl__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  display: block;
  mix-blend-mode: multiply;
}
.rejsy-pomysl__img.is-visible {
  opacity: 1;
  z-index: 1;
}

.rejsy-pomysl__sea {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 55, 95, 0.95) 0%, rgba(12, 40, 75, 0.98) 50%, rgba(8, 30, 58, 0.98) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.rejsy-pomysl__sea.is-visible { opacity: 1; }

.rejsy-pomysl__text {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}
.rejsy-pomysl__text[data-pomysl="twoje"] {
  top: 0.75rem;
  bottom: auto;
}
.rejsy-pomysl__text[data-pomysl="nasza"] {
  bottom: 0.75rem;
  top: auto;
}
.rejsy-pomysl__text.is-visible { opacity: 1; }

.rejsy-pomysl__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.rejsy-pomysl__logo.is-visible { opacity: 1; }
.rejsy-pomysl__logo img {
  max-width: 96%;
  max-height: 92%;
  width: auto;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.rejsy-card__yacht-silhouette {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.rejsy-card__yacht-silhouette svg {
  width: 55%;
  max-width: 160px;
  height: auto;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.rejsy-card--pomysl .rejsy-card__yacht-silhouette { display: none; }
.rejsy-card--pomysl {
  grid-column: 2;
  grid-row: 2;
  background: rgba(185, 172, 155, 0.98);
  border-color: rgba(120, 108, 90, 0.35);
}
.rejsy-card--yacht .rejsy-card__title,
.rejsy-card--yacht .rejsy-card__body,
.rejsy-card--yacht .btn-detail { position: relative; z-index: 1; }
.rejsy-card--pomysl .rejsy-card__title,
.rejsy-card--pomysl .rejsy-card__body,
.rejsy-card--pomysl .btn-detail { display: none; }

@media (max-width: 900px) {
  .rejsy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rejsy-grid { grid-template-columns: 1fr; }
}

/* Strona Oferta – lista podstron (legacy) */
.oferta-sublist { margin: 1rem 0 0 1.25rem; padding: 0; list-style: none; }
.oferta-sublist li { margin-bottom: 0.75rem; }
.oferta-sublist li:last-child { margin-bottom: 0; }
.oferta-sublist a { font-weight: 600; color: var(--color-nav); text-decoration: none; }
.oferta-sublist a:hover { text-decoration: underline; }

/* Nawigacja – aktywny link */
.nav-list a[href].active { font-weight: 600; text-decoration: underline; }

/* Prosty content (tekst) */
.prose { max-width: 65ch; line-height: 1.65; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--color-nav); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* Galeria zdjęć – Przystań */
.przystan-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.przystan-gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt, #f0f0f0);
}
.przystan-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .przystan-gallery { grid-template-columns: repeat(2, 1fr); }
  .przystan-gallery__item:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
}

/* Mapa publiczna v2 (map-public.js) */
.leaflet-div-icon.map-public-divicon {
  background: transparent;
  border: none;
}
.map-public-pin {
  text-align: center;
  pointer-events: auto;
}
.map-public-pin__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform-origin: center bottom;
  transform: scale(var(--map-public-scale, 1));
}
.map-public-pin__icon {
  display: block;
  width: var(--map-public-icon-px, 32px);
  height: var(--map-public-icon-px, 32px);
  object-fit: contain;
}
.map-public-pin__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d4ed8;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.map-public-pin__label {
  display: inline-block;
  max-width: 110px;
  padding: 1px 4px;
  font-size: var(--map-public-label-px, 8px);
  line-height: 1.15;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.15);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-public-pin--artjacht .map-public-pin__label {
  color: #14532d;
  border-color: #86efac;
  background: #f0fdf4;
}
#map-solina[data-map-labels="minimal"] .map-public-pin:not(.map-public-pin--artjacht) .map-public-pin__label {
  display: none;
}
.leaflet-tooltip.map-public-tooltip {
  max-width: 260px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.map-public-tip__typ { font-weight: 600; color: #14532d; display: block; }
.map-public-tip__opis { margin: 4px 0 0; }
.map-public-tip__meta { margin: 4px 0 0; font-size: 11px; color: #475569; }
.leaflet-popup.map-public-popup-wrap .leaflet-popup-content {
  margin: 10px 12px;
  line-height: 1.45;
}
.map-public-popup__title { margin: 0 0 4px; font-size: 1rem; }
.map-public-popup__typ { margin: 0 0 8px; font-size: 0.85rem; color: #64748b; }
.map-public-popup__img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 8px;
}
