/* Master photo covers — always visible, no external files */
.master-card-photo.has-photo,
.master-hero-cover.has-photo {
  background-size: cover;
  background-position: center;
}

.master-card-photo.has-photo::after,
.master-hero-cover.has-photo::after {
  content: none;
}

.master-card-top {
  position: relative;
}

.master-card-avatar-wrap {
  position: absolute;
  left: 1rem;
  bottom: -1.25rem;
  z-index: 2;
}

.master-avatar {
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.master-avatar-sm { width: 52px; height: 52px; }
.master-avatar-md { width: 64px; height: 64px; }
.master-avatar-lg { width: 80px; height: 80px; flex-shrink: 0; }

.master-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ea580c;
  background: #ffedd5;
}

.master-card-body {
  padding: 1.125rem 1.25rem 1.25rem;
}

.master-card:has(.master-card-avatar-wrap) .master-card-body {
  padding-top: 1.75rem;
}

.master-profile-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}

.master-profile-text h1 {
  margin-top: 0;
}

.master-profile-text .tagline {
  margin-top: .25rem;
}

.master-hero-cover.has-photo {
  position: relative;
}

.master-hero-cover.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.35), transparent 55%);
  pointer-events: none;
}

.master-card-photo,
.master-hero-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.master-card-photo {
  height: 170px;
  font-size: 4rem;
  line-height: 1;
}

.master-hero-cover {
  height: clamp(220px, 40vw, 300px);
  border-radius: 1rem;
  font-size: 5rem;
}

.master-card-photo::after,
.master-hero-cover::after {
  content: attr(data-emoji);
}

.cover-confectionery {
  background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
}
.cover-shawarma {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
}
.cover-burgers {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
}
.cover-catering {
  background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 100%);
}
.cover-home-cooking {
  background: linear-gradient(135deg, #ecfdf5 0%, #6ee7b7 100%);
}
.cover-healthy {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
}
.cover-other {
  background: linear-gradient(135deg, #f5f5f4 0%, #d6d3d1 100%);
}
