
/* Scoped only to 'Brückenpfeiler 7'. Keep all other portfolio pages unchanged. */
@media (min-width: 768px) {
  /* Remove the extra empty space after the project subtitle. */
  body.project-brueckenpfeiler > section.section.section-detail.zur-ck-button + section.section.section-detail {
    padding-bottom: 32px !important;
  }
}

/* The hero video follows the exact same centered container as the title and
   description, but begins at its left content edge rather than floating right. */
body.project-brueckenpfeiler > section.section.section-detail.bild-section > .container.bild-projektseite.w-container {
  display: block !important;
}
body.project-brueckenpfeiler > section.section.section-detail.bild-section > .container.bild-projektseite.w-container > .div-block-7.motion-design {
  display: block !important;
  box-sizing: border-box !important;
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.project-brueckenpfeiler > section.section.section-detail.bild-section > .container.bild-projektseite.w-container > .div-block-7.motion-design > .w-video {
  display: block !important;
  box-sizing: border-box !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.project-brueckenpfeiler > section.section.section-detail.bild-section > .container.bild-projektseite.w-container > .div-block-7.motion-design > .w-video iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}
@media (max-width: 767px) {
  body.project-brueckenpfeiler > section.section.section-detail.zur-ck-button + section.section.section-detail {
    padding-bottom: 24px !important;
  }
}

/* v13: screenshot-confirmed offset between project title and video (81px at 1536px viewport).
   Correct the VIDEO CONTAINER only; do not shift its iframe or other pages. */
@media (min-width: 1200px) {
  body.project-brueckenpfeiler > section.section.section-detail.bild-section > .container.bild-projektseite.w-container {
    position: relative !important;
    left: -80px !important;
  }
}
