/* V25: Match gallery outer top and bottom while retaining full uncropped original images. */
@media (min-width:768px) {
  /* Power: naturally proportioned 1028×1014 left art versus two landscape originals on right.
     A wider left column balances their heights without letterboxing or cropping. */
  body.project-power-v25 .section-detail .div-block-11.freedom {
    display:grid !important;
    grid-template-columns:minmax(0,1.37fr) minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
  }
  body.project-power-v25 .section-detail .div-block-11.freedom > .div-block-13,
  body.project-power-v25 .section-detail .div-block-11.freedom > .div-block-12,
  body.project-power-v25 .section-detail .div-block-11.freedom .div-block-19,
  body.project-power-v25 .section-detail .div-block-11.freedom .div-block-20 {
    min-height:0 !important;
    height:auto !important;
    width:100% !important;
    overflow:visible !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
  }
  body.project-power-v25 .section-detail .div-block-11.freedom > .div-block-12 {
    display:flex !important;
    flex-direction:column !important;
    gap:24px !important;
  }
  body.project-power-v25 .section-detail .div-block-11.freedom img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    max-height:none !important;
    object-fit:contain !important;
    aspect-ratio:auto !important;
  }
  /* Barrieren: synchronize poster and left mosaic bounds. Crop only spare outer image rim. */
  body.barrieren-gallery-v22 .section-detail .div-block-11 > .div-block-13 {
    align-items:stretch !important;
    justify-content:stretch !important;
  }
  body.barrieren-gallery-v22 .section-detail .div-block-11 > .div-block-13 img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}
@media (max-width:767px) {
  body.project-power-v25 .section-detail .div-block-11.freedom {grid-template-columns:1fr !important;gap:16px !important;}
  body.project-power-v25 .section-detail .div-block-11.freedom > .div-block-12 {gap:16px !important;}
  body.project-power-v25 .section-detail .div-block-11.freedom img{width:100% !important;height:auto !important;object-fit:contain !important;}
}
