.havie-photo {
  position: relative;
  width: min(100%, 380px);
  margin: 28px 0 8px;
  overflow: hidden;
  background: #fff7e5;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: 0 16px 34px rgb(24 53 45 / 18%);
  transform: rotate(-1.5deg);
}

.havie-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgb(24 53 45 / 10%);
  border-radius: 18px;
}

.havie-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 44%;
}

.havie-photo figcaption {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 14px 17px 15px;
  color: #4d655e;
  font-size: 14px;
  line-height: 1.35;
}

.havie-photo strong {
  flex: none;
  color: var(--tomato);
  font-size: 18px;
}

.havie-photo span { display: block; }

@media (max-width: 520px) {
  .havie-photo { width: 100%; border-width: 6px; border-radius: 22px; }
  .havie-photo img { height: 220px; }
  .havie-photo figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
}
