/* ═══════════════════════════════════════════════════════════
   RZYM 2026 — main.css
   Standalone WordPress theme
   ═══════════════════════════════════════════════════════════ */

/* ─── ZMIENNE ─────────────────────────────────────────────── */
:root {
  --sun:      #F59E0B;
  --sun-50:   #FFFBEB;
  --sun-100:  #FEF3C7;
  --sun-200:  #FDE68A;
  --sun-dk:   #92400E;
  --terra:    #C2410C;
  --dark:     #1C1917;
  --dark2:    #292524;
  --dark3:    #44403C;
  --muted:    #78716C;
  --muted2:   #A8A29E;
  --bg:       #FAFAF9;
  --white:    #FFFFFF;
  --green:    #25D366;
  --sky50:    #F0F9FF;
  --sky:      #075985;
  --border:   rgba(0,0,0,0.08);
  --r:        14px;
  --rsm:      9px;
  --rxs:      6px;
  --W:        1160px;
  --sans:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif:    Georgia, 'Times New Roman', serif;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--dark3);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.78;
  min-height: 100vh;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
svg { display: inline-block; vertical-align: middle; }

/* ─── ACCESSIBLITY ────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 8px; left: 8px;
  width: auto; height: auto; padding: 8px 16px;
  background: var(--sun); color: var(--dark);
  font-weight: 700; border-radius: var(--rxs);
  clip: auto; z-index: 9999;
}

/* ─── KONTENER ────────────────────────────────────────────── */
.wrap {
  max-width: var(--W);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
#rp-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.3);
}
.rp-header-wrap {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 16px;
}

/* Logo */
.rp-logo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rp-logo-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: #FEF3C7;
  letter-spacing: -.3px;
  transition: color .15s;
}
.rp-logo:hover .rp-logo-name { color: var(--sun); }
.rp-logo-tagline {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted2);
}

/* WhatsApp button in header */
.rp-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--rsm);
  flex-shrink: 0;
  transition: background .15s;
}
.rp-wa-btn svg { width: 15px; height: 15px; }
.rp-wa-btn:hover { background: #1ebe5d; }

/* Hamburger */
.rp-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--rxs);
}
.rp-burger span {
  display: block;
  width: 18px; height: 2px;
  background: #D6D3D1;
  border-radius: 2px;
  transition: background .15s, transform .2s, opacity .2s;
}
.rp-burger:hover span { background: var(--sun); }
.rp-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rp-burger.open span:nth-child(2) { opacity: 0; }
.rp-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
#rp-nav {
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 60px;
  z-index: 499;
}
#rp-nav .wrap {
  display: flex;
  align-items: stretch;
}

/* WP generuje <ul> bezpośrednio */
.rp-nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}
.rp-nav-list > li { position: relative; }
.rp-nav-list > li > a {
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted2);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.rp-nav-list > li > a:hover,
.rp-nav-list > li.current-menu-item > a,
.rp-nav-list > li.current-menu-ancestor > a {
  color: var(--sun);
  border-bottom-color: var(--sun);
  background: rgba(255,255,255,0.04);
}

/* Dropdown */
.rp-nav-list li ul {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--dark);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 var(--rsm) var(--rsm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  min-width: 220px;
  padding: 6px 0;
  list-style: none;
  z-index: 600;
}
.rp-nav-list > li:hover > ul { display: block; }
.rp-nav-list li ul li a {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted2);
  padding: 9px 20px;
  border-bottom: none;
  transition: color .15s, background .15s;
}
.rp-nav-list li ul li a:hover { color: var(--sun); background: rgba(255,255,255,0.05); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(145deg, var(--sun-100) 0%, var(--sun-200) 55%, #fdd5b0 100%);
  padding: 60px 0 76px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 44px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-wrap {
  display: flex;
  gap: 52px;
  align-items: center;
}
.hero-text { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 99px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--sun-dk);
  margin-bottom: 18px;
}
.hero-badge svg { width: 12px; height: 12px; }

.hero h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.13;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--terra); }

.hero-lead {
  font-size: 16.5px;
  color: var(--dark3);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-photo {
  width: 45%;
  max-width: 520px;
  flex-shrink: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--rsm);
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
  transition: background .15s;
}
.btn-green svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-green:hover { background: #1ebe5d; }
.btn-green.btn-lg { font-size: 16px; padding: 16px 32px; }
.btn-green.btn-lg svg { width: 18px; height: 18px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,.14);
  padding: 13px 22px;
  border-radius: var(--rsm);
  transition: background .15s;
}
.btn-outline:hover { background: #fff; }

.btn-border {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  border: 1.5px solid var(--sky);
  padding: 9px 18px;
  border-radius: var(--rsm);
  transition: background .15s, color .15s;
}
.btn-border:hover { background: var(--sky); color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted2);
  padding: 13px 16px;
  transition: color .15s;
}
.btn-ghost:hover { color: #fff; }

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sun);
  color: var(--sun-dk);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--rsm);
  transition: background .15s;
}
.btn-google:hover { background: #D97706; color: #fff; }

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-wrap {
  display: flex;
  align-items: stretch;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  flex: 1;
  border-right: 1px solid var(--border);
  gap: 2px;
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.trust-item span {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--muted);
}
.trust-sep { display: none; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════ */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section:not(.section-alt) { background: var(--white); }

.section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--sun);
  display: inline-block;
}
.see-all {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  transition: color .15s;
}
.see-all:hover { color: var(--terra); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sun);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════
   KARTY WYCIECZEK
═══════════════════════════════════════════════════════════ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tour-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.tour-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.tour-icon {
  height: 76px;
  background: var(--sun-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.tour-body { padding: 16px 18px; flex: 1; }
.tour-body h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.tour-body h3 a { color: inherit; transition: color .15s; }
.tour-body h3 a:hover { color: var(--terra); }
.tour-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
  font-family: var(--sans);
}
.tour-meta { display: flex; gap: 7px; }
.tour-meta span {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted2);
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 99px;
  padding: 3px 9px;
}
.tour-foot {
  padding: 12px 18px;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}
.tour-price {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.tour-price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.tour-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--sky);
  transition: color .15s;
}
.tour-link:hover { color: var(--terra); }

/* ═══════════════════════════════════════════════════════════
   MID CTA
═══════════════════════════════════════════════════════════ */
.mid-cta {
  background: var(--sun-100);
  border-top: 1px solid var(--sun-200);
  border-bottom: 1px solid var(--sun-200);
  padding: 28px 0;
}
.mid-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mid-cta p {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--sun-dk);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   O MNIE
═══════════════════════════════════════════════════════════ */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 52px;
  align-items: center;
}
.about-photo {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,.13);
}
.about-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
}
.about-text h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about-text h2 span {
  display: block;
  font-size: 18px;
  color: var(--muted);
  font-weight: 400;
}
.about-text p {
  font-size: 15px;
  color: var(--dark3);
  line-height: 1.72;
  margin-bottom: 14px;
}
.about-links { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   OPINIE
═══════════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.review-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-stars { color: var(--sun); font-size: 15px; letter-spacing: 1px; }
.review-card blockquote {
  font-size: 14px;
  color: var(--dark3);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.review-card cite {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
}
.reviews-cta { text-align: center; }

/* ═══════════════════════════════════════════════════════════
   FILMY
═══════════════════════════════════════════════════════════ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.video-card {
  display: block;
  border-radius: var(--rsm);
  overflow: hidden;
  border: 0.5px solid var(--border);
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.video-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark2);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.32);
  transition: background .2s;
}
.video-card:hover .video-play { background: rgba(0,0,0,.5); }
.video-play svg { width: 20px; height: 20px; color: #fff; }
.video-title {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 12px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════ */
.final-cta {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
}
.final-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.final-cta h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--sun-100);
}
.final-cta p {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.6;
  max-width: 480px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#rp-footer {
  background: var(--dark2);
  padding: 44px 0 24px;
}
.rp-footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.rp-footer-logo {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: #FEF3C7;
}
.rp-footer-logo span { color: var(--sun); }
.rp-footer-brand p {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.rp-footer-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.rp-footer-nav a {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted2);
  padding: 5px 10px;
  border-radius: var(--rxs);
  transition: color .15s, background .15s;
}
.rp-footer-nav a:hover { color: var(--sun); background: rgba(255,255,255,.05); }
.rp-footer-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.rp-footer-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted2);
  transition: color .15s;
}
.rp-footer-contact a svg { width: 15px; height: 15px; }
.rp-footer-contact a:hover { color: var(--sun); }
.rp-footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 0.5px solid rgba(255,255,255,.06);
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   STRONY WEWNĘTRZNE
═══════════════════════════════════════════════════════════ */
.rp-page { background: var(--bg); padding: 48px 0 64px; }
.rp-page-wrap { max-width: 800px; }

.rp-entry-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--sun);
}
.rp-entry-content {
  font-size: 16px;
  line-height: 1.78;
  color: var(--dark3);
}
.rp-entry-content h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin: 2.2rem 0 .7rem;
  padding-bottom: .4rem;
  border-bottom: 3px solid var(--sun);
  display: inline-block;
}
.rp-entry-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 1.7rem 0 .5rem;
}
.rp-entry-content a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}
.rp-entry-content a:hover { color: var(--terra); }
.rp-entry-content p { margin-bottom: 1rem; }
.rp-entry-content ul,
.rp-entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.rp-entry-content li { margin-bottom: .4rem; }
.rp-entry-content img { border-radius: var(--rsm); margin: 1rem 0; }
.rp-entry-content strong { color: var(--dark); }

/* Bloki Gutenberg — kolorowe tła */
.rp-entry-content .has-background[style*="#f1f4f5"] {
  background: var(--sun-50) !important;
  border-left: 3px solid var(--sun) !important;
  border-radius: var(--rsm) !important;
  padding: 12px 16px !important;
  margin: 1rem 0 !important;
}
.rp-entry-content .has-background[style*="#25d366"],
.rp-entry-content .has-background[style*="#25D366"] {
  background: var(--green) !important;
  border-radius: var(--r) !important;
  padding: 22px 28px !important;
  margin: 2rem 0 !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.2) !important;
}
.rp-entry-content .has-background[style*="#25d366"] a,
.rp-entry-content .has-background[style*="#25D366"] a {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.rp-entry-content .has-background[style*="#dfe9b6"] {
  background: var(--sun-100) !important;
  border-left: 3px solid var(--sun) !important;
  border-radius: var(--rsm) !important;
  padding: 12px 16px !important;
}
.rp-entry-content .has-background[style*="#dbf2c5"] {
  background: var(--sky50) !important;
  border: 1px solid rgba(14,165,233,.18) !important;
  border-radius: var(--r) !important;
  padding: 22px 26px !important;
}
.rp-entry-content .has-background[style*="#f2f3ce"] {
  background: var(--sun-50) !important;
  border-left: 3px solid var(--sun) !important;
  border-radius: var(--rsm) !important;
  padding: 12px 16px !important;
}
.rp-entry-content .has-base-2-background-color {
  background: var(--sun-100) !important;
  border-left: 4px solid var(--sun) !important;
  border-radius: var(--rsm) !important;
  padding: 16px 22px !important;
  margin-bottom: 1.8rem !important;
}
.rp-entry-content a[style*="background-color:#f9ab00"],
.rp-entry-content a[style*="background-color: #f9ab00"] {
  background: var(--sun) !important;
  color: var(--sun-dk) !important;
  padding: 11px 22px !important;
  border-radius: var(--rsm) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-family: var(--sans) !important;
}

/* Embedy YouTube */
.rp-entry-content .wp-block-embed {
  margin: 1.5rem 0;
  border-radius: var(--rsm);
  overflow: hidden;
}
.rp-entry-content figure { margin: 1rem 0; }

/* ═══════════════════════════════════════════════════════════
   TABLET 769–1024px
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 34px; }
  .hero-photo { width: 42%; max-width: 420px; }
  .hero-photo img { height: 100%; min-height: 320px; max-height: 460px; }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { gap: 36px; }
  .about-photo img { height: 340px; }
  .rp-nav-list > li > a { padding: 12px 11px; font-size: 12px; }
  .trust-item { padding: 13px 14px; }
  .trust-item strong { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE max 768px
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .wrap { padding: 0 16px; }

  /* Header */
  .rp-header-wrap { height: 54px; }
  .rp-wa-btn { display: none; }
  .rp-burger { display: flex; }

  /* Navbar */
  #rp-nav {
    display: none;
    position: fixed;
    top: 54px; left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    z-index: 498;
    max-height: calc(100vh - 54px);
    overflow-y: auto;
  }
  #rp-nav.open { display: block; }
  #rp-nav .wrap { padding: 8px 0 12px; }
  .rp-nav-list {
    flex-direction: column;
    gap: 0;
  }
  .rp-nav-list > li > a {
    padding: 13px 20px;
    font-size: 14px;
    border-bottom: 0.5px solid rgba(255,255,255,.04);
    border-left: none;
  }
  .rp-nav-list > li > a:hover,
  .rp-nav-list > li.current-menu-item > a {
    border-bottom-color: rgba(255,255,255,.04);
    border-bottom-width: 0.5px;
  }
  .rp-nav-list li ul {
    display: block;
    position: static;
    background: rgba(0,0,0,.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 20px;
    min-width: auto;
  }
  .rp-nav-list li ul li a { padding: 9px 16px; }

  /* Hero */
  .hero { padding: 32px 0 50px; }
  .hero-wrap { flex-direction: column; gap: 24px; }
  .hero-photo { width: 100%; order: -1; }
  .hero-photo img { height: auto; min-height: 240px; max-height: 360px; border-radius: var(--r); }
  .hero h1 { font-size: 26px; }
  .hero-lead { font-size: 15px; margin-bottom: 22px; }
  .hero-btns { flex-direction: column; }
  .btn-green, .btn-outline { justify-content: center; text-align: center; }

  /* Trust */
  .trust-bar { overflow-x: auto; }
  .trust-wrap {
    padding: 0;
    min-width: max-content;
  }
  .trust-item { padding: 12px 16px; flex: none; }
  .trust-item strong { font-size: 15px; }

  /* Sections */
  .section { padding: 40px 0; }
  .section-hd { flex-direction: column; gap: 8px; }

  /* Tours */
  .tours-grid { grid-template-columns: 1fr; }

  /* About */
  .about-wrap { grid-template-columns: 1fr; gap: 24px; }
  .about-photo img { height: 260px; }
  .about-text h2 { font-size: 22px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Videos */
  .videos-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mid CTA */
  .mid-cta-wrap { flex-direction: column; gap: 14px; text-align: center; }

  /* Final CTA */
  .final-cta { padding: 48px 0; }
  .final-cta h2 { font-size: 24px; }

  /* Footer */
  .rp-footer-contact { flex-direction: column; gap: 10px; align-items: center; }

  /* Inner pages */
  .rp-page { padding: 32px 0 48px; }
  .rp-entry-title { font-size: 22px; }
  .rp-entry-content h2 { font-size: 18px; display: block; }
  .rp-entry-content { font-size: 15px; }
  .rp-entry-content .has-background[style*="#25d366"],
  .rp-entry-content .has-background[style*="#25D366"] {
    padding: 16px 18px !important;
    font-size: 14px !important;
  }
}

/* ═══ HEADER — responsywny (v2) ═══ */

.rp-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Logo może się zawijać — NIE ucinamy tekstu */
.rp-logo {
  min-width: 0;
  flex: 1;
}
.rp-logo-name {
  white-space: normal;   /* zamiast nowrap */
  word-break: break-word;
  line-height: 1.2;
}

/* Header dopasowuje wysokość do zawartości */
.rp-header-wrap {
  height: auto;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .rp-logo-tagline { display: none; }
}

@media (max-width: 768px) {
  .rp-header-wrap {
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
  }
  .rp-logo-name { font-size: 15px; }
  .rp-logo-tagline { display: none; }

  .rp-wa-btn {
    padding: 9px 12px;
    font-size: 0;
    gap: 0;
  }
  .rp-wa-btn svg { width: 18px; height: 18px; }

  .rp-burger { display: flex; }
}

@media (max-width: 380px) {
  .rp-logo-name { font-size: 14px; }
  .rp-wa-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   OKRUSZKI (Rank Math breadcrumbs)
═══════════════════════════════════════════════════════════ */
.rp-breadcrumb {
  margin-bottom: 1.5rem;
  padding: 10px 14px;
  background: var(--sun-50);
  border-left: 3px solid var(--sun);
  border-radius: var(--rxs);
}

/* Rank Math generuje span.rank-math-breadcrumb */
.rp-breadcrumb .rank-math-breadcrumb,
.rp-breadcrumb {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.rp-breadcrumb a {
  color: var(--sky);
  text-decoration: none;
  transition: color .15s;
}
.rp-breadcrumb a:hover { color: var(--terra); }

/* Separator między okruszkami */
.rp-breadcrumb .separator { color: var(--muted2); margin: 0 4px; }

/* Aktywny (ostatni) element */
.rp-breadcrumb span:last-child,
.rp-breadcrumb .last { color: var(--dark3); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   ARCHIWUM
═══════════════════════════════════════════════════════════ */
.rp-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.rp-archive-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  transition: box-shadow .2s;
}
.rp-archive-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.09); }

.rp-archive-thumb {
  display: block;
  overflow: hidden;
  background: var(--sun-100);
}
.rp-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.rp-archive-card:hover .rp-archive-thumb img { transform: scale(1.04); }

.rp-archive-body { padding: 20px 24px; }

.rp-archive-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.rp-archive-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.rp-archive-title a:hover { color: var(--terra); }

.rp-archive-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.rp-archive-excerpt {
  font-size: 14px;
  color: var(--dark3);
  line-height: 1.65;
  margin-bottom: 14px;
}
.rp-archive-more {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  transition: color .15s;
}
.rp-archive-more:hover { color: var(--terra); }

/* Archiwum — brak miniaturki */
.rp-archive-card.no-thumb {
  grid-template-columns: 1fr;
}

/* ═══════════════════════════════════════════════════════════
   NAWIGACJA WPISU (single.php)
═══════════════════════════════════════════════════════════ */
.rp-entry-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 0.5px solid var(--border);
}
.rp-entry-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 0.5px solid var(--border);
}
.rp-tags {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1rem;
}
.rp-tags a { color: var(--sky); }
.rp-tags a:hover { color: var(--terra); }

.rp-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.rp-post-prev,
.rp-post-next {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  max-width: 45%;
  transition: color .15s;
  line-height: 1.4;
}
.rp-post-prev:hover,
.rp-post-next:hover { color: var(--terra); }
.rp-post-next { text-align: right; margin-left: auto; }

/* ═══════════════════════════════════════════════════════════
   PAGINACJA
═══════════════════════════════════════════════════════════ */
.rp-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rp-pagination .page-numbers {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--sky);
  border: 1px solid var(--border);
  border-radius: var(--rxs);
  padding: 7px 14px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  display: inline-block;
}
.rp-pagination .page-numbers:hover {
  background: var(--sun-50);
  border-color: var(--sun);
}
.rp-pagination .page-numbers.current {
  background: var(--sun);
  color: var(--sun-dk);
  border-color: var(--sun);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   ARCHIWUM MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .rp-archive-card {
    grid-template-columns: 1fr;
  }
  .rp-archive-thumb img {
    height: 180px;
    width: 100%;
  }
  .rp-archive-body { padding: 16px; }
  .rp-archive-title { font-size: 16px; }
}