.ews-route {
  margin: 4rem 0;
}

.ews-route__title {
  margin: 0 0 1rem;
}

.ews-route__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.ews-route__facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.ews-route__fact {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--wp--preset--color--primary, #4b5563);
  background: #f5f5f5;
}

.ews-route__fact dt {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .7;
}

.ews-route__fact dd {
  margin: .15rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}


.ews-route__map {
  position: relative;
  min-height: 480px;
  background: #e5e7eb;
  overflow: hidden;
}

.ews-route__map:not(.leaflet-container) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.ews-route__map > picture {
  position: absolute;
  inset: 0;
  display: block;
}

.ews-route__map .ews-route__map-image,
.ews-route__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: none;
  object-fit: cover;
}

.ews-route__map > .ews-route__consent {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, .95);
  font-size: .85rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 34rem;
  border-radius: .5rem;
  box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .15);
}

.ews-route__consent p {
  margin: 0 0 .75rem;
}

.ews-route__load {
  padding: .6rem 1.5rem;
  border: 0;
  background: var(--wp--preset--color--primary, #4b5563);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 767px) {
  .ews-route__grid {
    grid-template-columns: 1fr;
  }

  .ews-route__map {
    min-height: 420px;
  }
}

.ews-route__map.leaflet-container {
  font-family: inherit;
}