.event-photo-field {
  display: grid;
  gap: 7px;
}

.event-photo-field small {
  color: #52697a;
  font-weight: 600;
}

.event-photo-field input[type="file"] {
  padding: 10px;
  background: #f7fafb;
}

.event-edit-photo {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 14px;
  background: #e8eef1;
}

.remove-event-photo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  font-weight: 700;
}

.remove-event-photo input {
  width: auto;
}

@media (max-width: 760px) {
  .event-photo-field input[type="file"] {
    min-height: 48px;
  }
}

/* Keep uploaded artwork readable. Copy and the date sit below the full poster. */
.office-brand .office-big-night-card.restaurant-flyer-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  min-height: 0;
  align-content: start;
}
.office-brand .restaurant-flyer-card .restaurant-poster-link {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  background: #101c28;
}
.office-brand .restaurant-flyer-card .restaurant-poster-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.office-brand .restaurant-flyer-card .office-night-shade {display: none}
.office-brand .restaurant-flyer-card .office-night-copy {
  position: static;
  grid-area: 2 / 1 / 3 / 2;
  min-width: 0;
  padding: clamp(12px, 2vw, 24px);
}
.office-brand .restaurant-flyer-card .office-calendar-page {
  position: static;
  grid-area: 2 / 2 / 3 / 3;
  align-self: start;
  justify-self: end;
  margin: 14px 12px 0 0;
}
@media (max-width: 560px) {
  .office-brand .restaurant-flyer-card .office-night-copy {grid-column: 1 / -1}
  .office-brand .restaurant-flyer-card .office-calendar-page {
    grid-area: 3 / 1 / 4 / -1;
    justify-self: start;
    margin: 0 12px 14px;
  }
}

/* Give text the full card when the venue has not attached a photograph. */
.office-brand .office-live-inner.office-live-text-only {
  grid-template-columns: minmax(0, 1fr);
}
.office-brand .office-live-text-only .office-live-photo {display: none}
.office-brand .office-live-copy, .office-brand .office-night-copy {min-width: 0}

.publication-place-line { display:grid; gap:2px; margin:.45rem 0 .75rem; font-size:.87rem; line-height:1.35; overflow-wrap:anywhere }
.office-live-copy .publication-place-line { grid-column:1; color:#e6edf5 }
.office-night-copy .publication-place-line { color:inherit }
.publication-place-line span { display:block; font-size:.82rem }
