/* Event photos card on an event's Creative tab (event-photos-card.js). */
.event-photos-card h3 { align-items: center; }
.event-photos-icon { width: 22px; height: 22px; color: var(--ink); }
.event-photos-links { display: grid; gap: 8px; margin: 4px 0 14px; }
.event-photos-link { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line, #e3e3e8); border-radius: 10px; }
.event-photos-link-label { font-weight: 600; font-size: 13px; }
.event-photos-url { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.event-photos-soon { font-size: 13px; opacity: 0.7; }
.event-photos-link-buttons { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.event-photos-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.event-photos-add { position: relative; cursor: pointer; }
.event-photos-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.event-photos-add.is-busy { cursor: progress; opacity: 0.75; }
.event-photos-note, .event-photos-empty { margin: 0; font-size: 13px; opacity: 0.75; }
.event-photos-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.event-photos-tile { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #f0f0f2; }
.event-photos-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-photos-tile.is-photographer::after { content: "Photographer"; position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 6px; border-radius: 999px; background: rgba(20, 20, 22, 0.75); color: #fff; }
.event-photos-remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 999px; background: rgba(20, 20, 22, 0.75); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; }
.event-photos-tile:hover .event-photos-remove, .event-photos-remove:focus-visible { opacity: 1; }
.event-photos-more { margin-top: 10px; }
@media (max-width: 700px) {
  .event-photos-link { grid-template-columns: 1fr; }
  .event-photos-link-buttons { justify-content: flex-start; }
  .event-photos-remove { opacity: 1; }
}
