.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.review-card {
  background: #fff;
  border: 1px solid #d9e2df;
  border-radius: 15px;
  overflow: hidden;
}
.review-card img,
.photo-missing {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #e8eeec;
}
.photo-missing {
  display: grid;
  place-items: center;
  color: #758680;
  font-weight: 800;
}
.review-card > div:not(.photo-missing) { padding: 18px; }
.review-card h2 { font-size: 18px; margin: 12px 0 5px; }
.review-card p { color: #687b76; }
.review-card blockquote {
  margin: 12px 0 0;
  padding: 12px;
  background: #f5f7f6;
  border-left: 3px solid #80d7c1;
}
select[multiple] { min-height: 130px; }
.button.small {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 12px;
  white-space: nowrap;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.preview-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  opacity: .82;
}
.preview-back:hover { opacity: 1; }
.form-card.wide { max-width: 900px; }
.admin-thumb {
  width: 72px;
  height: 48px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid #d9e2df;
}
.current-guide {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d9e2df;
  border-radius: 12px;
  background: #f8faf9;
}
.current-guide img {
  width: min(100%, 520px);
  max-height: 320px;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
}
.guide-image {
  display: block;
  width: 100%;
  max-height: 360px;
  margin: 20px 0 16px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d9e2df;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.photo-placeholder[hidden],
.photo-preview[hidden] { display: none; }
.photo-upload.has-photo {
  min-height: 0;
  padding: 7px;
  border-style: solid;
}
.photo-preview {
  display: block;
  width: 100%;
  max-height: 330px;
  border-radius: 10px;
  object-fit: contain;
  background: #edf2f0;
}
.photo-selection {
  margin: -5px 2px 0;
  color: #58706a;
  font-size: 12px;
  text-align: center;
}
.photo-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -6px;
}
.photo-actions[hidden] { display: none; }
.button.danger {
  background: #fde8e5;
  color: #a13a32;
}
.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.photo-preview-grid[hidden] { display: none; }
.photo-preview-card {
  overflow: hidden;
  border: 1px solid #d9e2df;
  border-radius: 10px;
  background: #fff;
}
.photo-preview-card > img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #edf2f0;
}
.photo-card-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 800;
}
.photo-card-actions button {
  border: 0;
  padding: 3px;
  background: transparent;
  color: #005c4f;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.photo-card-actions .danger-text { color: #a13a32; }
.photo-actions button:disabled { opacity: .45; cursor: not-allowed; }
.review-photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: #e8eeec;
}
.review-photo-gallery img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  background: #e8eeec;
}
@media(max-width:430px) {
  .photo-preview-card > img { height: 110px; }
}
