.primary-navigation > .navigation-item--mega[data-page-key="page-6"] > ul {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  width: min(1060px, calc(100vw - 48px));
}

.hotel-pms-heading {
  max-width: 900px;
  margin-bottom: 32px;
}

.hotel-pms-heading > p:last-child {
  max-width: 790px;
}

.hotel-pms-feature-grid .hotel-reference-card {
  min-height: 238px;
}

.hotel-pms-feature .hotel-link,
.hotel-related-grid .hotel-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
}

.hotel-pms-workflow .hotel-section-heading {
  margin-bottom: 34px;
}

.hotel-pms-timeline {
  margin-top: 0;
}

.hotel-pms-fit-grid .hotel-reference-card {
  min-height: 205px;
}

.hotel-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
  .primary-navigation > .navigation-item--mega[data-page-key="page-6"] > ul {
    width: min(100%, calc(100vw - 24px));
  }

  .hotel-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hotel-pms-feature-grid,
  .hotel-pms-fit-grid {
    grid-template-columns: 1fr;
  }
}
