* {
        margin:
        0;
        padding:
        0;
        box-sizing: border-box;
    }

body {
  margin: 0;
  font-family: 'Morion', serif;
  line-height: 1.8;
  color: #333;
  overflow-x: hidden;
}

.trip-outro-content {
    background: #fff;
    text-align: left;
    padding: 35px 0;
}

#trip-container {
  display: flex;
  flex-direction: column;
}

.title-small {
  margin-bottom: 0.4375rem;
}

.trip-text {
  font-size: 1.1875rem;
}

.trip-text p {
  margin-top: 0.6875rem;
  line-height: 1.75rem;
  font-size: 1.1875rem;
}

.square-image-container {
  width: 525px; 
  height: 400px; 
  overflow: hidden; 
  border-radius: 6px;
}

.square-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
}

.step video {
  width: 100%;
}
video {
  height: 60vh !important;
  aspect-ratio: auto !important;
  border-radius: 8px;
}

.trip-video-container.square {
  position: relative;
  background-color: #d7ccaf45;
  margin-top: 20px;
  border-radius: 6px;
  aspect-ratio: auto !important;
}

.trip-caption {
  font-family: Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.125rem;
  color: rgba(0, 0, 0, 0.55);
}

#trip-map {
  position: sticky;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 1;
}

#trip-features {
  position: relative;
  z-index: 2;
  width: 40%;
  margin-left: 5%;
  padding-top: 10vh;
}

.step {
  margin-bottom: 50vh;
  background: rgba(255, 255, 255, 0.9);
  padding: 2.25em;
  border-left: 5px solid #d7ccaf;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.step img,
.step video {
  width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

.inset-map {
  position: fixed;
  width: 200px;
  height: 150px;
  bottom: 20px;
  right: 20px;
  border: 2px solid white;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.trip-marker {
  background-color: #0099ff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Media Query for small screens */
@media (max-width: 768px) {
  #trip-features {
    width: 100%;
    margin-left: 0;
    padding: 5vh 1rem 0;
  }

  .step {
    padding: 1.5em;
    border-left-width: 4px;
  }

  .trip-text,
  .trip-text p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .trip-caption {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .inset-map {
    display: none;
  }

  .square-image-container {
  width: 100%;
  height: 100%; 
}
}