/* TCD-HOME-P07-FIX13 – equal-height PC booking + informative benefit tiles.
   FIX12 mistakenly shrank the form card. Keep parity with the adjacent H1/banner.
   Only desktop at >=992px; mobile remains completely untouched.
*/
@media (min-width: 992px) {
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .kc-wrap-columns {
    align-items: stretch !important; /* right slider defines overall hero height */
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .kc-css-340647 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important; /* same vertical extent as banner */
    min-height: 0 !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .kc-css-340647 > .home_datxe {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 23px 26px 22px !important;
    border-radius: 16px !important;
    overflow: visible !important;
    box-shadow: 0 14px 32px rgba(72, 25, 32, .13) !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking #form_datxe.form_main {
    display: block !important;
    box-sizing: border-box !important;
    height: auto !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking #form_datxe > ul.nav.nav-pills {
    margin: 0 0 15px !important;
    padding: 0 0 12px !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking #form_datxe form.info_form {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  /* Two large pickup/destination fields; reduce surplus inherited margins. */
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .diem_dd {
    margin-bottom: 12px !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .diem_dd > .form-group {
    margin-bottom: 9px !important;
  }
  /* Car + time / phone + name remain a clear 2x2 grid, including narrow laptops. */
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .gc02l-detail-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 11px !important;
    row-gap: 10px !important;
    clear: both !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .gc02l-detail-grid > .form-group.dc_col2 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important; /* inherited Go Cong rule limits it to 50% */
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: 100px minmax(0,1fr) !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking form.info_form .flex label {
    box-sizing: border-box !important;
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking form.info_form .form-control {
    min-width: 0 !important;
    font-size: 13px !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .gc02l-consent {
    margin: 13px 0 0 !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .gc02l-submit-row {
    margin: 16px 0 0 !important;
    justify-content: center !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking #bookNow_btn.btn_datxe {
    width: min(100%, 245px) !important;
    min-height: 51px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
  }
}
/* Protect two-column inputs on smaller desktop widths. */
@media (min-width: 992px) and (max-width: 1199px) {
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .kc-css-340647 > .home_datxe {
    padding: 19px 17px 21px !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking form.info_form .gc02l-detail-grid > .form-group label {
    flex-basis: 78px !important;
    width: 78px !important;
    font-size: 11.5px !important;
  }
  body.tcd-uifix.gx-home-page.gc02h-home-precision
  section.gc-source-booking .gc02l-detail-grid {column-gap: 8px !important;}
  body.tcd-uifix.gx-home-page.gc02h-home-precision section.gc-source-booking
  .gc02l-detail-grid > .dc_col2 {grid-template-columns: 78px minmax(0,1fr) !important;}
}
