/* GZA Haus A V1.2.3 – consolidated finalization. No changes to saved WP content. */

/* Detail pages – price box lives beneath the room-area table, not in the hero. */
.gza-v7112-room-areas .gza-v123-live-offer,
.gza-v7112-room-areas .gza-v7114-price-slot{margin:14px 0 0!important;min-width:0;max-width:100%;border:0!important;padding:0!important}
.gza-v7112-room-areas .gza-v7114-price-kicker{display:none}
.gza-v7112-room-areas .gza-v7111-offer,
.gza-v123-live-offer .gza-v7111-offer{
  box-sizing:border-box;display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr)!important;
  width:100%;max-width:100%;margin:0!important;border:1px solid #dbe4dc;
  border-radius:0!important;background:#fff;box-shadow:none;
}
.gza-v7112-room-areas .gza-v7111-offer__item,
.gza-v123-live-offer .gza-v7111-offer__item{
  min-width:0;padding:15px 13px!important;border-right:1px solid #dbe4dc;
  box-sizing:border-box;background:#fff;
}
.gza-v7112-room-areas .gza-v7111-offer__item:last-child,
.gza-v123-live-offer .gza-v7111-offer__item:last-child{border-right:0}
.gza-v7112-room-areas .gza-v7111-offer__item>span,
.gza-v123-live-offer .gza-v7111-offer__item>span{
  display:block;font-size:10px!important;font-weight:750;color:#697e6e!important;
  letter-spacing:.065em;text-transform:uppercase;line-height:1.45;margin:0;
}
.gza-v7112-room-areas .gza-v7111-offer__item strong,
.gza-v123-live-offer .gza-v7111-offer__item strong{
  font-size:clamp(14px,1.45vw,19px)!important;font-weight:750!important;
  line-height:1.35;color:#15221b!important;margin-top:8px;
}
.gza-v7112-room-areas .gza-v7111-offer__price strong,
.gza-v123-live-offer .gza-v7111-offer__price strong{
  font-size:clamp(17px,1.8vw,25px)!important;letter-spacing:-.02em;
}
.gza-v7112-room-areas .gza-v7111-offer__item small,
.gza-v123-live-offer .gza-v7111-offer__item small{font-size:11px!important;line-height:1.45;color:#647369;margin-top:6px}
/* Every numeric room-area column right-aligned; no table content mutation. */
.gza-v7112-room-areas table tr > td:last-child,
.gza-v7112-room-areas table tr > th:last-child,
.gza-v7112-room-areas .wp-block-table table tr > :last-child {
  text-align:right!important;font-variant-numeric:tabular-nums;
}
.gza-v7112-room-areas table tr > td:first-child{text-align:left!important}
.gza-v7112-room-areas .wp-block-table,
.gza-v7112-room-areas table{max-width:100%;box-sizing:border-box}
/* Desktop: left info/price card and right plan image card finish on the same edge. */
@media (min-width:1001px){
 #wohnungsgrundriss .gza-v7112-main-grid{align-items:stretch!important}
 #wohnungsgrundriss .gza-v7112-main-grid > .wp-block-column{display:flex!important;flex-direction:column;min-width:0}
 #wohnungsgrundriss .gza-v7112-main-grid .gza-v7112-room-areas,
 #wohnungsgrundriss .gza-v7112-main-grid .gza-v7112-apartment-images{
   flex:1 1 auto!important;box-sizing:border-box;min-height:100%;border-radius:0!important;
 }
}
/* Preserve original floor-plan detail, never crop images. */
.gza-v7112-apartment-images img,
.gza-v7112-mini-floor img{object-fit:contain!important;border-radius:0!important}
@media(max-width:730px){
  .gza-v7112-room-areas .gza-v7111-offer,.gza-v123-live-offer .gza-v7111-offer{
    grid-template-columns:1fr!important;
  }
  .gza-v7112-room-areas .gza-v7111-offer__item,
  .gza-v123-live-offer .gza-v7111-offer__item{
    border-right:0!important;border-bottom:1px solid #dbe4dc;padding:14px!important
  }
  .gza-v7112-room-areas .gza-v7111-offer__item:last-child,
  .gza-v123-live-offer .gza-v7111-offer__item:last-child{border-bottom:0}
}

/* Ausstattung & Komfort: original V7 Gutenberg columns, smaller and square. */
#wohnkomfort .gza-970-four-card-row.wp-block-columns{gap:18px!important}
#wohnkomfort .gza-970-four-card-row > .wp-block-column.gza-quality-card{
  height:345px!important;min-height:345px!important;max-height:345px!important;
  padding:14px 14px 18px!important;border-radius:0!important;
  border:1px solid #dae3db!important;background:#fff!important;
}
#wohnkomfort .gza-970-four-card-row .gza-quality-card .wp-block-image img{
  height:160px!important;max-height:160px!important;min-height:160px!important;
  border-radius:0!important;object-fit:cover!important;
}
#wohnkomfort .gza-970-four-card-row .gza-quality-card figure.wp-block-image{
  margin-bottom:12px!important;border-radius:0!important;
}
#wohnkomfort .gza-970-four-card-row .gza-quality-card h3.wp-block-heading{font-size:17px!important;margin-bottom:8px!important}
#wohnkomfort .gza-970-four-card-row .gza-quality-card p{font-size:14px!important}

/* Buttons: consistent baseline in penthouse; keep the existing Gutenberg links. */
.gza-onepager-editable #penthouse .wp-block-columns .wp-block-buttons .wp-block-button__link{
  border-radius:0!important;font-family:inherit!important;font-size:15px!important;
  line-height:1.3!important;min-height:66px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;
}
/* Navigation remains unchanged: menu 'Services' opens the existing Hausservice page. */
/* Editor: preview for GZA dynamic block. */
.editor-styles-wrapper .gza-v123-editor-preview{min-width:0;border:1px dashed #9caf9d;padding:10px;background:#fafcf9}
.editor-styles-wrapper .gza-v123-editor-label{font-size:11px;letter-spacing:.08em;color:#526957;margin-bottom:9px}
