.train-journey {
  color: #24322d;
  background: #ffffff;
}

.journey-hero {
  position: relative;
  min-height: 520px;
  height: 72vh;
  max-height: 680px;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.journey-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 25, 22, 0.58);
}

.journey-hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding-top: 120px;
  padding-bottom: 64px;
}

.journey-kicker,
.section-label,
.itinerary-label {
  margin: 0 0 10px;
  color: #bd2c2c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.journey-hero .journey-kicker {
  color: #f2ca52;
}

.journey-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.journey-lead {
  max-width: 760px;
  margin: 18px 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.journey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 24px;
}

.journey-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.journey-overview,
.journey-plan,
.journey-gallery,
.journey-booking {
  padding: 72px 0;
}

.journey-overview h2,
.journey-plan h2,
.journey-gallery h2,
.journey-booking h2 {
  margin: 0 0 28px;
  color: #17372d;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.highlight-item i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #168568;
  font-size: 0.7rem;
}

.journey-note {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid #e4b63f;
  background: #f5f7f6;
}

.journey-note-icon {
  color: #bd2c2c;
  font-size: 1.55rem;
}

.journey-note p {
  margin: 8px 0 0;
  color: #5a6762;
  line-height: 1.6;
}

.journey-plan {
  background: #f4f6f5;
}

.itinerary-list {
  position: relative;
  max-width: 930px;
}

.itinerary-list::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 24px;
  width: 2px;
  content: "";
  background: #cad4d0;
}

.itinerary-item {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 18px;
}

.itinerary-marker {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #f4f6f5;
  border-radius: 50%;
  color: #ffffff;
  background: #168568;
  font-weight: 700;
}

.itinerary-content {
  padding: 22px 24px;
  border: 1px solid #dce3e0;
  border-radius: 6px;
  background: #ffffff;
}

.itinerary-content h3 {
  margin: 0 0 8px;
  color: #17372d;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.itinerary-content p:last-child {
  margin: 0;
  color: #57645f;
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid figure {
  grid-column: span 4;
  height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #edf1ef;
}

.gallery-grid figure:first-child {
  grid-column: span 8;
}

.gallery-grid.gallery-count-3 figure,
.gallery-grid.gallery-count-6 figure {
  grid-column: span 4;
}

.gallery-grid.gallery-count-4 figure {
  grid-column: span 6;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.journey-booking {
  scroll-margin-top: 96px;
  color: #ffffff;
  background: #17372d;
}

.journey-booking .section-label {
  color: #f2ca52;
}

.journey-booking h2 {
  color: #ffffff;
}

.booking-intro {
  padding-right: 48px;
}

.booking-intro > p:not(.section-label) {
  color: #d4dfdb;
  line-height: 1.7;
}

.train-only-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: #ffffff;
  font-weight: 600;
}

.train-only-link:hover {
  color: #f2ca52;
}

.booking-form {
  padding: 30px;
  border-radius: 6px;
  color: #26342f;
  background: #ffffff;
}

.booking-form label {
  margin-bottom: 6px;
  color: #34443e;
  font-size: 0.88rem;
  font-weight: 600;
}

.booking-form .form-control {
  min-height: 44px;
  border-color: #bdc9c4;
  border-radius: 4px;
}

.booking-form textarea.form-control {
  min-height: 110px;
}

.booking-form .btn {
  min-height: 50px;
  margin: 8px 0 0;
}

@media (max-width: 991px) {
  .navbar.mtp-main-nav.navbar-auto-blur:not(.top-nav-collapse) {
    background-color: #4659a3 !important;
  }

  .mtp-main-nav .navbar-collapse {
    max-height: calc(100vh - 74px);
    margin: 0 -16px -8px;
    padding: 10px 18px 18px;
    overflow-y: auto;
    background: #4659a3;
    box-shadow: 0 12px 20px rgba(14, 25, 22, 0.18);
  }

  .mtp-main-nav .dropdown-menu {
    position: static !important;
    float: none;
    clear: both;
    width: 100%;
    margin: 0 0 8px;
    transform: none !important;
  }

  .mtp-main-nav .topnav .nav-item,
  .mtp-main-nav .topnav .nav-link,
  .mtp-main-nav .topnav .dropdown-item {
    float: none;
    width: 100%;
    text-align: left;
  }

  .journey-hero h1 {
    font-size: 2.4rem;
  }

  .journey-note {
    margin-top: 42px;
  }

  .booking-intro {
    padding-right: 15px;
    padding-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .mtp-main-nav .navbar-brand span {
    display: none;
  }

  .journey-hero {
    min-height: 580px;
    height: auto;
  }

  .journey-hero-content {
    padding-top: 145px;
    padding-bottom: 50px;
  }

  .journey-hero h1 {
    font-size: 2rem;
  }

  .journey-lead {
    font-size: 1rem;
  }

  .journey-overview,
  .journey-plan,
  .journey-gallery,
  .journey-booking {
    padding: 54px 0;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure,
  .gallery-grid figure:first-child {
    grid-column: span 12;
    height: 230px;
  }

  .gallery-grid.gallery-count-3 figure,
  .gallery-grid.gallery-count-4 figure,
  .gallery-grid.gallery-count-6 figure {
    grid-column: span 12;
  }

  .booking-form {
    padding: 22px 18px;
  }

}

footer p {
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .journey-hero h1 {
    font-size: 1.75rem;
  }

  .itinerary-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .itinerary-list::before {
    left: 20px;
  }

  .itinerary-marker {
    width: 42px;
    height: 42px;
  }

  .itinerary-content {
    padding: 18px;
  }
}

.journey-listing-hero {
  padding: 170px 0 74px;
  color: #ffffff;
  background: #17372d;
}

.journey-listing-hero h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 2.8rem;
  letter-spacing: 0;
}

.journey-listing-hero > .container > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #d6e0dc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.journey-listing-grid {
  padding: 64px 0 76px;
  background: #f4f6f5;
}

.journey-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #dbe2df;
  border-radius: 6px;
  background: #ffffff;
}

.journey-card-image {
  display: block;
  height: 230px;
  overflow: hidden;
  background: #e8eeeb;
}

.journey-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.journey-card:hover .journey-card-image img {
  transform: scale(1.03);
}

.journey-card-body {
  padding: 24px;
}

.journey-card-meta {
  margin-bottom: 10px;
  color: #bd2c2c;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-card h2 {
  min-height: 66px;
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.journey-card h2 a {
  color: #17372d;
}

.journey-card p {
  min-height: 116px;
  color: #5b6863;
  line-height: 1.6;
}

.journey-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #14755d;
  font-weight: 700;
}

@media (max-width: 767px) {
  .journey-listing-hero {
    padding: 145px 0 56px;
  }

  .journey-listing-hero h1 {
    font-size: 2.1rem;
  }

  .journey-card h2,
  .journey-card p {
    min-height: 0;
  }
}
