/* Feature card beside the headline on designed feature pages (app/features/public_website/ui/_hero_feature_card.html).
   The slot keeps its page's reveal classes; its own photo frame, size and decoration are turned off. */
.pc-hero-slot {
  display: block !important;
  align-self: center !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  clip-path: none !important;
}
.pc-hero-slot::before,
.pc-hero-slot::after { content: none !important; display: none !important; }

.pc-hero-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 18px 40px -16px rgba(15, 23, 42, .28);
}
.pc-hero-card img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: 400px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Cards drawn over their own photo: no white frame, same overall height as a framed card. */
.pc-hero-card--bare { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pc-hero-card--bare img { max-height: 436px !important; }

@media (max-width: 767px) {
  .pc-hero-card { padding: 10px; border-radius: 14px; }
  .pc-hero-card img { max-height: 300px !important; }
  .pc-hero-card--bare { padding: 0; border-radius: 0; }
  .pc-hero-card--bare img { max-height: 320px !important; }
}
