/* -------------------------------------------------------------------------- */
/* business-card master page (WU "Abschlussfolie" -- the closing contact page).*/
/* STRUCTURAL: a grid of contact cards. Any number of cards (multiple authors).*/
/* Cards auto-flow; 1-2 per row on a 3-up grid. Colours come from the identity.*/
/* Where the cards go and how big they are is the master's (v304, Rony 15-Oct: */
/* "one of the fundamentals of any master"): --master-card* values, with the  */
/* old ones as fallbacks, for a master that names none.                       */
/* -------------------------------------------------------------------------- */
.business-card .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--master-card-width, 300px), 1fr));
  gap: var(--master-card-gap, 26px);
  margin-top: var(--master-cards-top, 0.6em);
  max-width: var(--master-cards-width, 900px);
}
.business-card .vcard {
  border: var(--master-card-rule, 1px) solid var(--skin-accent);
  border-top: var(--master-card-top-rule, 6px) solid var(--skin-accent);
  padding: var(--master-card-pad-y, 18px) var(--master-card-pad-x, 22px);
  background: #fff;
}
.business-card .vcard .name {
  font-family: var(--skin-font-title);
  font-size: var(--master-card-name-size, 1.05em);
  font-weight: 700;
  color: var(--skin-deep);
  margin: 0 0 2px 0;
}
.business-card .vcard .role {
  font-size: var(--master-card-text-size, 0.82em);
  color: var(--skin-accent);
  margin: 0 0 10px 0;
}
.business-card .vcard .detail {
  font-size: var(--master-card-text-size, 0.82em);
  color: var(--skin-fg);
  margin: 3px 0;
  line-height: 1.4;
}
/* The label ("Email", "Web") is separated from its value here, not by a
   non-breaking space typed into the source: an author writing Markdown should
   never have to type an HTML entity to get spacing right. */
.business-card .vcard .detail b,
.business-card .vcard .detail strong { color: var(--skin-deep); margin-right: 0.45em; }
/* ::: {.card .tight}: an address block (an institution's card). There is no
   role -- every line after the name is a detail -- and the lines sit close,
   as in a printed address. */
.business-card .vcard.tight .name { margin-bottom: 4px; }
.business-card .vcard.tight .detail { margin: 0; line-height: 1.25; }
