/* A képaláírás külön sávban marad, ezért nem takarja Ali arcát vagy a jelenetet. */
main figure:has(> figcaption):not(.postcard) {
  display: grid !important;
  grid-template-rows: minmax(280px, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}
main figure:has(> figcaption):not(.postcard) > img {
  position: static !important;
  inset: auto !important;
  grid-row: 1;
  width: 100%;
  height: 100% !important;
  min-height: 280px;
  object-fit: cover;
}
main figure:has(> figcaption):not(.postcard) > figcaption {
  position: static !important;
  inset: auto !important;
  grid-row: 2;
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: none !important;
  min-height: 64px;
  margin: 0;
  padding: 13px 18px;
  background: #fffaf0 !important;
  color: #173d39 !important;
  text-align: left !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px rgba(23, 61, 57, .12) !important;
}
main figure:has(> figcaption):not(.postcard) > figcaption span { flex: 0 0 auto; color: #b94f32 !important; }
main figure:has(> figcaption):not(.postcard) > figcaption strong { display: block; text-align: right !important; }
@media (max-width: 760px) {
  main figure:has(> figcaption):not(.postcard) {
    grid-template-rows: minmax(260px, 52vh) auto;
    clip-path: none !important;
    border-radius: 0 !important;
  }
  main figure:has(> figcaption):not(.postcard) > img { min-height: 260px; }
  main figure:has(> figcaption):not(.postcard) > figcaption { display: block !important; min-height: 0; padding: 11px 14px 13px; }
  main figure:has(> figcaption):not(.postcard) > figcaption strong { margin-top: 4px; text-align: left !important; }
}
