/* The hero button row (like, share, views) of a business page, copied from the long style block of views/public/businessDetail.ejs so it is
   known before the first paint. Without it the row first shows as a full-width line and then jumps to the top right, moving the page.
   If you change these rules, change them in both places. */
.hero-top-strip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  pointer-events: none;
}
.hero-top-strip > * {
  pointer-events: auto;
}

.hero-engagement-wrap {
  
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  
}
.hero-engagement-wrap .engagement-metrics {
  margin: 0;
  gap: 0.75rem;
}
.hero-engagement-wrap .engagement-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-color: #e9ecef;
  background: #fff;
  color: #111827;
}

@media (max-width: 768px) {
  .hero-top-strip {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .hero-engagement-wrap {
    padding: 0.75rem;
    max-width: 180px;
  }
  
  .hero-qr-code-container {
    padding: 0.75rem;
    max-width: 160px;
  }
  
  .hero-qr-code-header {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-top-strip {
    left: 0.5rem;
    right: 0.5rem;
    padding: 0;
    gap: 0.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-engagement-wrap,
  .hero-qr-code-container {
    max-width: 100%;
  }
  .hero-engagement-wrap {
    padding: 0.6rem;
  }
  .hero-qr-code-container {
    padding: 0.6rem;
  }
}

@media (max-width: 375px) {
  .hero-top-strip {
    left: 0.35rem;
    right: 0.35rem;
    gap: 0.4rem;
  }
  .hero-engagement-wrap,
  .hero-qr-code-container {
    padding: 0.5rem;
  }
}
