/* Small visual previews help visitors choose a useful next page. */
body main .related-content .journey-grid {
  gap: 14px;
  align-items: stretch;
}
body main .related-content .journey-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-content: start;
  column-gap: 14px;
  row-gap: 5px;
  min-height: 126px;
  padding: 12px !important;
  border-radius: 16px !important;
  text-align: left;
}
body main .related-content .journey-card::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: stretch;
  min-height: 100px;
  border-radius: 11px;
  background-color: #d8e9db;
  background-image: linear-gradient(180deg, rgba(16,44,60,.02), rgba(16,44,60,.16)), url('/images/mallorca-norden-panorama.png');
  background-position: center;
  background-size: cover;
}
body main .related-content .journey-card h3 {
  grid-column: 2;
  align-self: end;
  margin: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.28 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body main .related-content .journey-card p {
  grid-column: 2;
  margin: 0 !important;
  color: #52675b;
  font-size: .9rem !important;
  line-height: 1.45 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body main .related-content .journey-card > span {
  grid-column: 2;
  margin: 1px 0 0;
  font-size: .88rem;
  font-weight: 650;
}

body main .related-content .journey-card[href*="/entdecken"]::before { background-image: url('/images/entdecken-beide-buchten-v2.webp'); }
body main .related-content .journey-card[href*="/straende"]::before { background-image: url('/images/straende-weisser-sand-wellen-v1.webp'); }
body main .related-content .journey-card[href*="/wandern"]::before { background-image: url('/images/wandern-berge-wanderschuhe-v1.webp'); }
body main .related-content .journey-card:is([href*="/freizeit"], [href*="/radfahren"], [href*="/spaziergaenge"])::before { background-image: url('/images/freizeit-sport-kajak-sup-v1.webp'); }
body main .related-content .journey-card[href*="/wetter"]::before { background-image: url('/images/wetter-sonne-blauer-himmel-v1.webp'); }
body main .related-content .journey-card[href*="/videos"]::before { background-image: url('/images/videos-kamera-bucht-v1.webp'); }
body main .related-content .journey-card:is([href*="/restaurants"], [href*="/geniessen"])::before { background-image: url('/images/restaurants-spanische-gerichte-v1.webp'); }
body main .related-content .journey-card:is([href*="/mietwagen"], [href*="/flughafen"], [href*="/unterwegs"], [href*="/ohne-mietwagen"])::before { background-image: url('/images/bus-tib-costa-pins-v1.webp'); }
body main .related-content .journey-card:is([href*="/aktuelles"], [href*="/feiertage"])::before { background-image: url('/images/termine-marktstaende-mallorca-v1.webp'); }
body main .related-content .journey-card[href*="/kinder"]::before { background-image: url('/images/kinder-sandburg-bucht-v1.webp'); }
body main .related-content .journey-card[href*="/regen"]::before { background-image: url('/images/regen-cafe-bucht-v1.webp'); }
body main .related-content .journey-card[href*="/tourismusbueros"]::before { background-image: url('/images/tourismus-information-mallorca-v1.webp'); }
body main .related-content .journey-card:is([href*="/urlaubstag"], [href*="/jahreszeiten"], [href*="/barrierefreiheit"], [href*="/merkliste"])::before { background-image: url('/images/urlaubsplanung-abendbucht-v1.webp'); }

body main .related-content.mobile-only-related { display: none; }

@media (max-width: 700px) {
  body main .related-content,
  body main .related-content.mobile-only-related {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    margin-block: 22px;
    padding: 10px !important;
    border: 1px solid #d8e2d8 !important;
    border-radius: 12px !important;
    background: #eaf0e9 !important;
    box-shadow: none !important;
  }
  body main .related-content #related-title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    color: #263d34 !important;
    font-size: clamp(.875rem, 3.5vw, 1rem) !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
  }
  body main .related-content #related-title::before { display: none; }
  body main .related-content .journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    min-width: 0;
  }
  body main .related-content .journey-grid > .journey-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 5px;
    min-width: 0;
    min-height: 44px !important;
    padding: 5px !important;
    border: 1px solid #d8e2d8;
    border-radius: 8px !important;
    background: #fffdf8 !important;
    color: #263d34;
    box-shadow: none !important;
  }
  body main .related-content .journey-card::before {
    grid-column: 1;
    grid-row: 1;
    height: clamp(30px, 10vw, 54px);
    min-height: 0;
    border-radius: 5px;
  }
  body main .related-content .journey-card h3 {
    display: block;
    grid-column: 1;
    align-self: start;
    font-size: .8rem !important;
    line-height: 1.24 !important;
    overflow: visible;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  body main .related-content .journey-card p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body main .related-content .journey-card > span { display: none; }
  body main .related-content .related-report {
    grid-column: 1 / -1;
    margin: 0 !important;
    border-block-start: 1px solid #d8e2d8;
    font-size: .8rem !important;
    line-height: 1.3 !important;
  }
  body main .related-content .related-report a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (min-width: 540px) and (max-width: 700px) {
  body main .related-content,
  body main .related-content.mobile-only-related {
    grid-template-columns: fit-content(51%) minmax(0, 1fr);
    column-gap: 12px;
  }
  body main .related-content #related-title { font-size: .875rem !important; }
}
@media print {
  body main .related-content.mobile-only-related,
  body main .related-content .journey-card::before { display: none; }
  body main .related-content .journey-card { display: block; }
}
