/* Full-bleed parallax rows - matches nationalpark-kamptal.at style */
.full-bleed-row {
  margin-bottom: 0 !important;
}
/* The actual row spacing (30px) is applied by SiteOrigin to the OUTER row
   wrapper (#pg-XXX-N), not to .full-bleed-row itself (which is the inner
   styled div). Cancel it there too so rows truly touch with zero gap. */
.panel-grid:has(> .full-bleed-row) {
  margin-bottom: 0 !important;
}
/* Also remove the gap on the row BEFORE a full-bleed row (e.g. the Slider
   row right above the first full-bleed photo section) so the transition
   into the full-bleed stack has no white gap either. */
.panel-grid:has(+ .panel-grid > .full-bleed-row) {
  margin-bottom: 0 !important;
}
.full-bleed-row .panel-row-style {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-bleed-row .panel-grid-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dark overlay behind text for readability on photo backgrounds */
.full-bleed-row.with-overlay .panel-row-style::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.full-bleed-row.with-overlay .panel-row-style {
  position: relative;
}
.full-bleed-row.with-overlay .panel-grid-cell {
  position: relative;
  z-index: 1;
}

/* Text styling for full-bleed rows */
.full-bleed-row h1, .full-bleed-row h2, .full-bleed-row h3,
.full-bleed-row p, .full-bleed-row a.sow-button {
  color: #ffffff;
}
.full-bleed-row.dark-text h1, .full-bleed-row.dark-text h2, .full-bleed-row.dark-text h3,
.full-bleed-row.dark-text p {
  color: #222222;
}

/* Mobile: fixed backgrounds break on iOS Safari, switch to scroll and reduce min-height */
@media (max-width: 780px) {
  .full-bleed-row .panel-row-style {
    background-attachment: scroll !important;
    min-height: 70vh;
  }
}

/* Header full width - analog nationalpark-kamptal.at: header bar spans full viewport,
   inner logo/nav content stays centered via its own .container */
#wrapper > header.banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Text blocks inside full-bleed rows: keep a readable, centered column width
   (like nationalpark-kamptal.at) instead of stretching text across the
   whole screen - only the photo/background should be full width. */
.full-bleed-row .panel-widget-style {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Remove default blockquote left border/vertical bar - just show plain text
   like nationalpark-kamptal.at */
.full-bleed-row blockquote {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  quotes: none !important;
}

/* Content pages: hero image (top, full width) + two-column text below,
   analog nationalpark-kamptal.at */
.page-hero-row.panel-row-style {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-row .panel-grid-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-grid:has(> .page-hero-row) {
  margin-bottom: 0 !important;
}
@media (max-width: 780px) {
  .page-hero-row.panel-row-style {
    background-attachment: scroll !important;
    min-height: 40vh;
  }
}

.content-text-row .panel-row-style {
  padding-top: 50px;
  padding-bottom: 50px;
}
.content-text-row .panel-grid-cell {
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

/* Footer: social icons and Kontakt/Datenschutz/Impressum links side by side */
.footercol1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  width: 100%;
  max-width: 650px;
  float: none;
  margin-left: auto;
  margin-right: auto;
}
.footercol1 .footer-widget {
  margin: 0;
}
.footer-social, .footer-links {
  margin: 0 !important;
}