/* =========================================================================
   AHFIS 9.0 VIRTUAL EXHIBITOR PAVILION — EXHIBITOR CARD STYLES
   -------------------------------------------------------------------------
   Card design with banner image, featured badge, navy strip, overlapping
   logo and dual action buttons. Scoped to #ahfis-pavilion-app with the
   ahfis-pavilion- prefix. Loaded after exhibitors.css.
   ========================================================================= */

/* --- Card container (overrides the base card rule in exhibitors.css) --- */
#ahfis-pavilion-app .ahfis-pavilion-card {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

/* --- Banner --- */
#ahfis-pavilion-app .ahfis-pavilion-card-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--ahfis-navy);
}
#ahfis-pavilion-app .ahfis-pavilion-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.08);
  display: block;
}
#ahfis-pavilion-app .ahfis-pavilion-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 51, 0.1) 0%, rgba(16, 28, 51, 0.7) 100%);
}
#ahfis-pavilion-app .ahfis-pavilion-card-banner-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ahfis-white);
}
#ahfis-pavilion-app .ahfis-pavilion-card-banner-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#ahfis-pavilion-app .ahfis-pavilion-card-banner-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Featured badge (top-right of banner) --- */
#ahfis-pavilion-app .ahfis-pavilion-card-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ahfis-red);
  color: var(--ahfis-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* --- Save/favourite button sits on the banner (top-left) --- */
#ahfis-pavilion-app .ahfis-pavilion-card .ahfis-pavilion-fav-btn {
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 3;
}

/* --- Navy strip under the banner --- */
#ahfis-pavilion-app .ahfis-pavilion-card-strip {
  background: var(--ahfis-navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Body --- */
#ahfis-pavilion-app .ahfis-pavilion-card-body {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#ahfis-pavilion-app .ahfis-pavilion-card .ahfis-pavilion-card-logo {
  width: 56px;
  height: 56px;
  margin: -28px 0 10px;
  padding: 8px;
  background: var(--ahfis-white);
  border: 1px solid var(--ahfis-border);
  border-radius: 12px;
  box-shadow: var(--ahfis-shadow-sm);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ahfis-pavilion-app .ahfis-pavilion-card .ahfis-pavilion-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#ahfis-pavilion-app .ahfis-pavilion-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ahfis-navy);
  margin-bottom: 4px;
}
#ahfis-pavilion-app .ahfis-pavilion-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ahfis-text);
  line-height: 1.25;
}
#ahfis-pavilion-app .ahfis-pavilion-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ahfis-muted);
  margin-bottom: 10px;
}
#ahfis-pavilion-app .ahfis-pavilion-card-loc svg {
  color: var(--ahfis-muted);
  flex-shrink: 0;
}

/* --- Actions --- */
#ahfis-pavilion-app .ahfis-pavilion-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
#ahfis-pavilion-app .ahfis-pavilion-card-btn-primary,
#ahfis-pavilion-app .ahfis-pavilion-card-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--ahfis-font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--ahfis-radius);
  padding: 11px 16px;
  min-height: 42px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#ahfis-pavilion-app .ahfis-pavilion-card-btn-primary {
  background: var(--ahfis-navy);
  color: var(--ahfis-white);
  border: 1px solid var(--ahfis-navy);
}
#ahfis-pavilion-app .ahfis-pavilion-card-btn-primary:hover {
  background: var(--ahfis-blue);
  border-color: var(--ahfis-blue);
}
#ahfis-pavilion-app .ahfis-pavilion-card-btn-secondary {
  background: var(--ahfis-white);
  color: var(--ahfis-navy);
  border: 1px solid var(--ahfis-border);
}
#ahfis-pavilion-app .ahfis-pavilion-card-btn-secondary:hover {
  border-color: var(--ahfis-navy);
}
