/* Each workshop retains its original details alongside its existing map. */
body.pitlane .contact-location-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 28px;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 14px rgb(27 37 32 / 3%);
}
body.pitlane .contact-location-row > .grid12.grid11-contact {
  display: block;
  float: none;
  clear: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
body.pitlane .contact-location-row > .grid12.grid11-contact > h6,
body.pitlane .contact-location-row.contact-permits-panel > h6 {
  display: block;
  float: none;
  clear: both;
  width: auto;
  height: auto;
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font: 700 25px/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: -.6px;
}
body.pitlane .contact-location-row .contact-data {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
}
body.pitlane .contact-location-row .contact-data:last-child { margin-bottom: 0; }
body.pitlane .contact-location-row .contact-data li {
  width: auto;
  max-width: 100%;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.pitlane .contact-location-map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef1eb;
}
body.pitlane .contact-location-map iframe {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: 360px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #eef1eb;
}
@media (max-width: 1000px) {
  body.pitlane .contact-location-row { gap: 22px; padding: 22px; }
}
@media (max-width: 760px) {
  body.pitlane .contact-location-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px;
  }
  body.pitlane .contact-location-row > .grid12.grid11-contact > h6,
  body.pitlane .contact-location-row.contact-permits-panel > h6 { font-size: 23px; }
  body.pitlane .contact-location-map iframe { height: 320px; }
}

/* The workshop picker uses the same cards as the contact page. */
body.pitlane .booking-location-picker .booking-location-row > :is(.checkin-left,.checkin-right) {
  float: none;
  clear: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
}
body.pitlane .booking-location-row > .booking-location-details { grid-column: 1; grid-row: 1; }
body.pitlane .booking-location-row > .contact-location-map { grid-column: 2; grid-row: 1; }
body.pitlane .booking-location-row .booking-location-details > h2 {
  display: block;
  float: none;
  clear: both;
  width: auto;
  height: auto;
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font: 700 25px/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: -.6px;
}
body.pitlane .booking-location-row .booking-location-details > h3 {
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font: 600 15px/1.5 Arial, Helvetica, sans-serif;
}
body.pitlane .booking-location-picker > .booking-location-row + .grid-spacer { display: none; }
@media (max-width: 760px) {
  body.pitlane .booking-location-row > .booking-location-details { grid-column: 1; grid-row: 1; }
  body.pitlane .booking-location-row > .contact-location-map { grid-column: 1; grid-row: 2; }
  body.pitlane .booking-location-row .booking-location-details > h2 { font-size: 23px; }
}

/* PITLANE_CONTACT_PERMITS_PANEL: reuse the workshop card without its map column. */
body.pitlane .contact-location-row.contact-permits-panel { display: block; }
