
/* AutoPilot V25.24 — comparison vertical flow / footer collision fix */

/* Legacy V12 had .compare-section { overflow:hidden }, which could visually cut
   the last comparison rows once later versions made the table wrapper overflow-visible. */
.compare-section{
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
}

.compare-section .container,
.compare-result,
.compare-reference-shell-v2515,
.compare-table-wrap-v2515{
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow-y:visible!important;
}

.compare-result,
.compare-reference-shell-v2515{
  display:flow-root!important;
}

/* Table must participate in normal document height before the footer begins. */
.compare-table-wrap-v2515{
  display:block!important;
  position:relative!important;
}

.compare-table-v2515{
  position:relative!important;
  float:none!important;
  margin:0!important;
}

/* Keep all rows above the footer; no clipping of Running costs / AutoPilot score. */
.compare-table-v2515 tbody,
.compare-table-v2515 tbody tr{
  position:static!important;
  height:auto!important;
  max-height:none!important;
}

.compare-add-more-v2515,
.compare-legend-v2515{
  position:relative!important;
  clear:both!important;
}

.compare-add-more-v2515{
  margin-top:12px!important;
}

.compare-legend-v2515{
  margin-bottom:22px!important;
}

/* Footer always starts after the complete comparison result. */
body > footer,
.page-main + footer{
  position:relative!important;
  clear:both!important;
  z-index:1!important;
  margin-top:0!important;
}
