/* Own farm photos: preserve each complete image, including the bucket and wheels. */
.xc968-photos {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.xc968-photos figure {margin:0;min-width:0}
.xc968-photos a {display:block;border-radius:4px;overflow:hidden}
.xc968-photos img {display:block;width:100%;max-width:100%;height:auto}
.demo-machine-photo.xc968-own-photo img {height:auto}
.xc968-visit {background:#f3f5fb}
.xc968-visit-heading {display:flex;justify-content:space-between;align-items:center;gap:28px}
.xc968-visit-heading>div {max-width:760px}
.xc968-visit-heading h2 {margin-bottom:18px}
.xc968-visit-heading p {margin-bottom:0}
.xc968-visit-heading .button {flex-shrink:0}
.xc968-visit .xc968-photos {margin-top:28px}
/* Local orthophoto: keep the complete view and the marker at its geographic centre. */
.aerial-map {position:relative;width:100%;min-width:0;overflow:hidden;border-radius:3px}
.aerial-map .local-map-image {display:block;width:100%;height:auto;min-height:0;aspect-ratio:12/5;object-fit:contain;border:0;border-radius:0}
.aerial-marker {position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;pointer-events:none}
.aerial-marker>span {padding:3px 7px;margin-bottom:2px;border-radius:3px;background:#fff;color:#27358d;font-size:12px;line-height:1.3;font-weight:700;white-space:nowrap;box-shadow:0 1px 5px #0004}
.aerial-marker svg {display:block;filter:drop-shadow(0 1px 2px #0006)}
.farm-demo .demo-location.aerial-location {grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:center}
.aerial-location-info {min-width:0}
.aerial-location-info .button {margin-top:0}
.aerial-location .map-attribution,.local-map .map-attribution {font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.aerial-location .map-attribution {margin:0 0 18px}
@media(max-width:760px) {
  .xc968-photos {grid-template-columns:1fr;gap:18px}
  .xc968-visit-heading {flex-direction:column;align-items:flex-start;gap:20px}
  .farm-demo .demo-location.aerial-location {grid-template-columns:1fr;gap:18px}
}
