/* A single attribution row inside non-Classic cards. These explicit rules
   override historical broad `footer` selectors used by Link Hub and Minimal
   Contact, keeping it visually distinct from the action controls. */
.hub-vcard .template-powered-by,
.minimal-vcard .template-powered-by {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: calc(100% + 48px) !important;
  min-height: 50px !important;
  margin: 0 -24px !important;
  padding: 0 24px !important;
  border-top: 1px solid var(--qardora-border, #d9e1dc) !important;
  background: var(--qardora-surface, #fff) !important;
  color: var(--qardora-muted, #65716d) !important;
  font: 750 .7rem/1 Inter, Arial, sans-serif !important;
  letter-spacing: .04em !important;
  text-align: center;
}

.minimal-vcard .template-powered-by {
  width: calc(100% + 56px) !important;
  margin-right: -28px !important;
  margin-left: -28px !important;
}

.hub-vcard .template-powered-by > a,
.minimal-vcard .template-powered-by > a {
  display: inline !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}

.hub-vcard .template-powered-by > a:hover,
.minimal-vcard .template-powered-by > a:hover { color: var(--card-accent, #173b35) !important; }

.hub-vcard .template-actions,
.minimal-vcard .template-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  margin-top: auto !important;
  background: var(--qardora-action, var(--card-brand, #173b35)) !important;
}
