/* Only the verified existing pages; no shop, new landing page or reference styles. */
body.bbx-global-refresh:is(.page-id-535,.page-id-1241) #main .bbx-editorial-108 {
  color: #263b33;
  font: 400 16px/1.65 var(--bbx-shell-sans);
}
body.bbx-global-refresh:is(.page-id-535,.page-id-1241) #main .bbx-editorial-108 > :is(h1,h2,h3) {
  color: #143c31;
  font-family: var(--bbx-shell-serif);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}
body.bbx-global-refresh:is(.page-id-535,.page-id-1241) #main .bbx-editorial-108 > p { margin: 0 0 1.25em; }
body.bbx-global-refresh:is(.page-id-535,.page-id-1241) #main .bbx-editorial-108 > :last-child { margin-bottom: 0; }
body.bbx-global-refresh.page-id-535 #post-535 .bbx-editorial-benefits { margin: 0; padding-left: 1.3em; }
body.bbx-global-refresh.page-id-535 #post-535 .bbx-editorial-benefits li { margin-bottom: .6em; }
body.bbx-global-refresh.page-id-535 #post-535 .bbx-editorial-benefits li::marker { color: #143c31; }
body.bbx-global-refresh.page-id-535 #post-535 .bbx-editorial-emphasis { font-weight: 650; color: #143c31; }

/* The existing gifts image becomes a separate decorative grid area. Both the
 * guarded fallback map and the independent new map retain their source links. */
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) {
  --awb-background-image: none !important;
  --awb-padding-bottom: 0px !important;
}
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  gap: 0;
}
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row::before { display: none; }
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row::after {
  content: "";
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 280px;
  background: #f6f3ea url("https://weihnachtsmann-mieten.de/wp-content/uploads/2019/11/Weihnachtsgeschenke-Background.jpg") center / cover no-repeat;
  border-radius: 0 8px 8px 0;
}
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) .fusion-builder-column-6 {
  width: auto !important;
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  min-width: 0;
}
body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row > .fusion-clearfix { display: none; }

/* Natural text height wins; the progressive script only raises the four minimums. */
body.bbx-global-refresh.page-id-535 #post-535 :is(.fusion-builder-row-10,.fusion-builder-row-12) a.fusion-button {
  min-height: max(92px, var(--bbx-cta-equal-height, 0px));
  height: auto;
}

/* The two existing costume columns become equal-width editorial cards. The
 * preserved full-width CTA remains below them; gallery/slider nodes are outside. */
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) > .fusion-builder-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
  align-items: stretch;
}
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) > .fusion-builder-row::before,
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) > .fusion-builder-row::after { display: none; }
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) > .fusion-builder-row > .fusion-layout-column {
  width: auto !important; margin: 0 !important; min-width: 0;
}
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) .fusion-one-half > .fusion-column-wrapper {
  box-sizing: border-box; height: 100%; padding: 28px;
  background: #fffdf8; border: 1px solid #dce2d8; border-radius: 8px;
}
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) .fusion-one-full { grid-column: 1 / -1; }
body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) .bbx-editorial-108 + .bbx-editorial-108 { margin-top: 28px; }

body.bbx-global-refresh.page-id-1869 .bbx-source-notices {
  max-width: 1100px; margin: 40px auto; padding: clamp(22px,4vw,40px);
  background: #f6f3ea; border: 1px solid #dce2d8; border-radius: 8px;
  color: #263b33; font: 400 16px/1.65 var(--bbx-shell-sans); scroll-margin-top: 120px;
}
body.bbx-global-refresh.page-id-1869 .bbx-source-notices :is(h2,h3) {
  color: #143c31; font-family: var(--bbx-shell-serif); font-weight: 400;
}
body.bbx-global-refresh.page-id-1869 .bbx-source-notices h2 { font-size: 32px; margin: 0 0 24px; }
body.bbx-global-refresh.page-id-1869 .bbx-source-notices h3 { font-size: 24px; margin: 28px 0 12px; }
body.bbx-global-refresh.page-id-1869 .bbx-source-notices a { color: #143c31; text-decoration: underline; overflow-wrap: anywhere; }
body.bbx-global-refresh.page-id-1869 .bbx-source-notices a:focus-visible { outline: 3px solid #a72e32; outline-offset: 3px; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209 .bbx-slider-image-108 {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #f6f3ea;
}
@media (max-width: 800px) {
  body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row,
  body.bbx-global-refresh.page-id-1241 #post-1241 .fusion-builder-row-4:has(.bbx-editorial-108) > .fusion-builder-row { grid-template-columns: minmax(0,1fr); }
  body.bbx-global-refresh.page-id-535 #post-535 .fusion-builder-row-4:has(#map-container-0,.bbx-germany-map) > .fusion-builder-row::after { grid-column: 1; grid-row: 2; border-radius: 0 0 8px 8px; }
}
@media (max-width: 540px) {
  body.bbx-global-refresh.page-id-535 #post-535 :is(.fusion-builder-row-10,.fusion-builder-row-12) a.fusion-button { min-height: max(112px, var(--bbx-cta-equal-height, 0px)); }
}

/* Original 1160x500 SAT.1 composite: never stretch beyond native width.
 * Exact old filename + slide scope; neither generated logo revision is used. */
body.bbx-global-refresh.page-id-535 #fusion-slider-123 .slide-id-2808 .background.background-image[style*="weihnachtsmann-mieten_bekannt_aus_Radio_und_TV_slider_1160x500.jpg"] {
  width: 100%; max-width: 1160px !important; margin-inline: auto !important;
  left: 0; right: 0; background-size: contain !important;
  background-position: center !important; background-repeat: no-repeat !important;
  background-color: #f6f3ea;
}
/* Keep captions below the new costume pictures, with room for long mobile titles.
 * Avada still owns display, transition, slideshow timing and slider height. */
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] { --bbx-slider-caption-min: 84px; --bbx-slider-caption-space: var(--bbx-slider-caption-min); }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .bbx-slider-image-108 { height: calc(100% - var(--bbx-slider-caption-space)) !important; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .slide-content-container {
  top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
  width: 100%; max-width: none; height: auto; margin: 0; padding: 0; transform: none !important;
}
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .slide-content {
  top: auto !important; margin: 0 !important; width: 100%; transform: none !important;
}
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .heading { margin: 0; width: 100%; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .fusion-title-sc-wrapper {
  box-sizing: border-box; width: 100%; min-height: var(--bbx-slider-caption-space); padding: 16px 22px;
  background: #143c31 !important; display: flex; align-items: center; justify-content: center;
}
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .fusion-title { margin: 0 !important; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] h2.fusion-title-heading {
  color: #fffdf8 !important; font: 600 18px/1.35 var(--bbx-shell-sans) !important; text-align: center;
}
@media (max-width: 540px) {
  body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] { --bbx-slider-caption-min: 112px; }
}

/* 1.0.9: the live Avada wrapper has a native container height but its inner
 * slider collapsed to zero. Complete the percentage-height chain only after
 * all five guarded image substitutions; preserve native fades and visibility. */
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] > .tfs-slider,
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] > .tfs-slider > ul.slides,
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] > .tfs-slider > ul.slides > li { height: 100% !important; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] .fusion-title { min-width: 0; max-width: 100%; }
body.bbx-global-refresh.page-id-1241 #fusion-slider-209[data-bbx-slider108="1"] h2.fusion-title-heading { overflow-wrap: anywhere; }

/* 1.0.12: observed home slider only. Keep native dimensions and animation;
 * complete backgrounds, brand typography and readable title surfaces. */
body.bbx-global-refresh.page-id-535 #fusion-slider-123 .background.background-image {
  background-size: contain !important; background-position: center !important;
  background-repeat: no-repeat !important; background-color: #f6f3ea;
}
body.bbx-global-refresh.page-id-535 #fusion-slider-123 .slide-content h2 {
  color: #143c31 !important; font-family: var(--bbx-shell-serif) !important;
  font-weight: 400 !important; text-shadow: none !important;
  background: rgba(255,253,248,.92); padding: .1em .2em;
  font-size: clamp(24px, 3.2vw, 46px) !important; line-height: 1.15 !important;
  max-width: 100%; overflow-wrap: anywhere;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
body.bbx-global-refresh.page-id-535 #fusion-slider-123 .slide-content h3 {
  color: #fffdf8 !important; text-shadow: none !important;
  background: #143c31; padding: .15em .4em;
}
