.fn-species-profile {
  margin: 2rem 0;
}

.fn-species-profile dl {
  display: grid;
  gap: 1px;
  border: 1px solid #d8ddd7;
  background: #d8ddd7;
}

.fn-profile-row {
  display: grid;
  grid-template-columns: minmax(9rem, .28fr) 1fr;
  background: #fff;
}

.fn-profile-row dt,
.fn-profile-row dd {
  margin: 0;
  padding: 1rem;
}

.fn-profile-row dt {
  color: #526158;
  font-weight: 700;
  background: #f5f6f0;
}

.fn-observations {
  margin: 2.5rem 0;
}

.fn-observation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.fn-observation-card {
  display: grid;
  gap: .55rem;
}

.fn-observation-card time {
  color: #526158;
  font-size: .92rem;
  font-weight: 700;
}

.fn-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.fn-observation-card img,
.fn-no-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #edf0ea;
}

.fn-no-photo {
  display: grid;
  place-items: center;
  color: #66736c;
}

.fn-lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.fn-lightbox::backdrop {
  background: rgba(10, 15, 12, .78);
}

.fn-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 6px;
}

.fn-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #17211d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .fn-profile-row {
    grid-template-columns: 1fr;
  }
}
