.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ==============================
   AMTRAK 1:1 VISUAL MATCH
============================== */

 .amtrak-fix {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: #f2f2f2;  
  padding:26px 0;
}

/* CENTERED WHITE SEARCH CONTAINER */
.amtrak-search {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- TOP ROW ---------- */
.amtrak-top {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

/* ==============================
   FROM + TO (SINGLE CONTAINER)
============================== */
.amtrak-stations {
  display: flex !important;
  align-items: center;
  flex: 2.6;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.amtrak-stations input {
  border: none !important;
  background: transparent;
  padding: 0 18px;
  font-size: 18px;
  color: #444;
  width: 100%;
  outline: none;
}

.swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  font-size: 18px;
  color: #2f4f66;
  cursor: pointer;
}

/* ==============================
   DATES (SINGLE CONTAINER)
============================== */
.amtrak-dates {
  display: flex !important;
  align-items: center;
  flex: 1.8;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.amtrak-dates input {
  width: 50%;
  border: none !important;
  background: transparent;
  padding: 0 18px;
  font-size: 17px;
  color: #777;
  outline: none;
}

.amtrak-dates input:first-child {
  border-right: 1px solid #e6e6e6 !important;
}

/* ==============================
   FIND TRAINS BUTTON
============================== */
.amtrak-btn {
  height: 64px;
  padding: 0 42px;
  background: #a8bf7a;
  border-radius: 8px;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ==============================
   BOTTOM ROW
============================== */
.amtrak-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  font-size: 15px;
}

.traveler {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traveler select {
  border: none;
  font-size: 15px;
}

.assist {
  display: flex;
  align-items: center;
  gap: 8px;
}

.links {
  margin-left: auto;
  display: flex;
  gap: 30px;
  color: #005ea2;
  font-weight: 600;
}

/* ==============================
   AUTOCOMPLETE DROPDOWN
============================== */
.ui-autocomplete {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  z-index: 99999 !important;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.ui-menu-item-wrapper {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.3;
}



/* ==============================
   DATE RANGE STYLING
============================== */
.ui-datepicker-range a {
  background: #e6f0f9 !important;
  border-radius: 6px;
}

.ui-datepicker-current-day a {
  background: #005ea2 !important;
  color: #fff !important;
}

.ui-datepicker .ui-datepicker-buttonpane button {
  background: #005ea2;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
}

/* ==============================
   MOBILE RESPONSIVE
============================== */
@media (max-width: 768px) {

  .amtrak-search {
    padding: 0 16px;
  }

  .amtrak-top {
    flex-direction: column;
    gap: 14px;
  }

  .amtrak-stations,
  .amtrak-dates,
  .amtrak-btn {
    width: 100%;
  }

  .amtrak-stations {
    height: auto;
    flex-direction: column;
  }

  .amtrak-stations input {
    height: 52px;
    font-size: 16px;
  }

  .swap {
    height: 42px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .amtrak-dates {
    height: auto;
    flex-direction: column;
  }

  .amtrak-dates input {
    height: 52px;
    font-size: 16px;
  }

  .amtrak-dates input:first-child {
    border-right: none !important;
    border-bottom: 1px solid #ededed !important;
  }

  .amtrak-btn {
    height: 54px;
    font-size: 16px;
  }
}

/* ==============================
   MOBILE DATEPICKER (VERTICAL)
============================== */
@media (max-width: 768px) {

  .ui-datepicker {
    width: 94vw !important;
    max-width: 360px !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .ui-datepicker-multi {
    display: flex !important;
    flex-direction: column !important;
  }

  .ui-datepicker-group {
    width: 100% !important;
    float: none !important;
    margin-bottom: 12px;
  }

  .ui-datepicker td a,
  .ui-datepicker td span {
    padding: 10px 0 !important;
  }

  .ui-datepicker-buttonpane {
    display: flex;
    justify-content: space-between;
    padding: 10px !important;
  }

  .ui-datepicker-buttonpane button {
    width: 48%;
    padding: 10px 0 !important;
    font-size: 14px;
  }
}
/* Hide page title only on Train Search page */
.entry-title,
.elementor-page-title {
  display: none !important;
}/* End custom CSS */