/* Scoped by inclusion on the two Chinese Galapagos pages only. */
.trip-detail .detail-visual.has-image .detail-visual-main {
  display:block; width:100%; height:auto; max-height:620px;
  object-fit:contain; object-position:center;
}
.trip-detail .gallery-grid img,
.trip-detail .section-media img { object-fit:contain; height:auto; }
.trip-detail .data-table td { overflow-wrap:anywhere; }
@media(max-width:734px) {
  .trip-detail .detail-visual.has-image .detail-visual-main { height:auto; max-height:none; }
}
@media(min-width:735px) {
 .trip-detail .detail-visual.has-image .detail-visual-main[src$="/canoe.webp"] {
  height:clamp(400px,52vw,700px);max-height:none;object-fit:cover;object-position:center 80%;
 }
}

/* 1103：日程实拍保持原比例，首图展示海上探索场景。 */
.trip-detail .itinerary-photo{margin:18px 0;max-width:900px}
.trip-detail .itinerary-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:10px}
.trip-detail .itinerary-photo figcaption{margin-top:7px;color:#66736f;font-size:13px;line-height:1.6}
@media(min-width:735px){.trip-detail .detail-visual.has-image .detail-visual-main[src$="/zodiac.webp"]{height:clamp(400px,52vw,700px);max-height:none;object-fit:cover;object-position:center 72%}}

/* 8 张指定实拍：概览重点展示海鸟；竖幅照片保持完整。 */
.trip-detail .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.trip-detail .gallery-grid figure:has(img[src$="/g17-booby-takeoff.webp"]){grid-column:1 / -1}
.trip-detail .gallery-grid img{aspect-ratio:auto;height:auto}
.trip-detail .itinerary-photo:has(img[src$="/g11-tortoise.webp"]),
.trip-detail .itinerary-photo:has(img[src$="/g16-cactus-coast.webp"]){max-width:440px;margin-left:auto;margin-right:auto}
@media(max-width:734px){.trip-detail .gallery-grid{grid-template-columns:minmax(0,1fr)}}
