.plan_card_image,
.plan_card_image img {
  aspect-ratio: 3 / 2;
}

.trip_plan_cover {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.site-link {
  flex-shrink: 0;
}

.planner_name {
  white-space: nowrap;
}

.trip_plan_table {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--page);
}

.trip_plan_text table {
  min-width: 600px;
}

.trip_plan_text th,
.trip_plan_text td {
  min-width: 160px;
  overflow-wrap: normal;
  word-break: normal;
}

.trip_plan_text > h2:not(:first-child) {
  margin-top: 12px;
}

.trip_plan_text > h3 {
  margin-top: 4px;
}

.plan_card h3 {
  -webkit-line-clamp: unset;
}

.trip_plan_heading .plan_card_details {
  display: grid;
  gap: 6px;
}

.trip_plan_text a {
  overflow-wrap: anywhere;
}

@media (min-width: 841px) and (max-width: 1024px) {
  .top_bar > .trip_planner_inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .planner_menu_slot {
    flex-basis: 100%;
    margin-left: 0;
  }
}

.thermal-stay .trip_plan_text {
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.thermal-stay .trip_plan_text > h3 {
  margin: 0;
}
