/*
 * Times & location (slug times-and-location). Scoped to the page's section class enc-p-times.
 * The original page is a Squarespace "fluid engine" grid, the layout grid (enc-fe) in site.css; this file sets the
 * rows and places the title, text, photo and map. The photo is contained in its area; the map fills its area.
 */
.enc-p-times.enc-section { --enc-fe-rows: 50; --enc-fe-rows-phone: 44; padding: 48px 0 0; font-size: var(--enc-fs); }
.enc-p-times.enc-section > * { max-width: none; margin: 0 !important; }
.enc-p-times__title { grid-area: 1 / 4 / 6 / 24; }
.enc-p-times__text { grid-area: 7 / 3 / 26 / 25; }
.enc-p-times__photo { grid-area: 26 / 3 / 39 / 25; }
.enc-p-times__map { grid-area: 40 / 3 / 52 / 25; }

.enc-p-times h1 { align-self: start; margin: 0; text-align: center; text-wrap: wrap; }
.enc-p-times h2 { max-width: none; margin: 32px 0; font-size: var(--enc-page-h2); font-weight: 600; line-height: 1.1136em; text-wrap: wrap; }
.enc-p-times__text > h2:first-child { margin-top: 0; }
.enc-p-times p { margin: 16px 0; line-height: 1.5em; }
.enc-p-times__text > :last-child { margin-bottom: 0; }

.enc-p-times .enc-p-times__photo, .enc-p-times .enc-p-times__map { position: relative; height: auto; }
.enc-p-times .enc-p-times__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.enc-p-times .enc-p-times__map iframe { position: absolute; inset: 0; }

@media (max-width: 767px) {
  .enc-p-times.enc-section { padding-top: 32px; }
  .enc-p-times__title { grid-area: 1 / 2 / 6 / 10; }
  .enc-p-times__text { grid-area: 9 / 2 / 27 / 10; }
  .enc-p-times__photo { grid-area: 27 / 2 / 32 / 10; }
  .enc-p-times__map { grid-area: 33 / 2 / 45 / 10; }
}
