/* ============================================================
   components/about-company.css
   The Gold and Platinum company exit under an article. This is
   the thing being paid for, so it reads as a placement: the
   partner tint, the partner rule, the partner accent, all from
   the PARTNER PROMINENCE block in tokens.css. Turning those
   dials moves this block with the rest of the site.
   ============================================================ */

.rfi-aboutco {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--rfi-partner-tint);
  border-top: var(--rfi-partner-rule) solid var(--rfi-partner-accent);
  border-radius: var(--rfi-radius);
  padding: var(--rfi-pad-panel);
  margin-top: var(--rfi-gap);
}

/* The logo sits on white inside the tint, because a company logo is drawn for a white
   ground and several of them are not transparent. `contain`, never `cover`: a cropped
   logo is a damaged trademark, which is exactly what must not happen on a paid block. */
.rfi-aboutco__logo {
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  background: var(--rfi-surface);
  border: 1px solid var(--rfi-partner-line);
  border-radius: var(--rfi-radius-sm);
  overflow: hidden;
}
.rfi-aboutco__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* Two of the eight Gold companies have no image at all, so this is a normal state. Their own
   initials, never our wordmark: a company block wearing the holodindustry mark reads as our
   company, which is the rule components/card.php follows for the same reason. */
.rfi-aboutco__mono {
  font-family: var(--rfi-font-ui); font-size: 30px; font-weight: 600;
  color: var(--rfi-monogram-text); background: var(--rfi-monogram-bg);
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.rfi-aboutco__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* The tier label is a disclosure, not a decoration: it tells the reader this company has a
   commercial relationship with the site, and it comes first for that reason. */
.rfi-aboutco__tier {
  font-family: var(--rfi-font-ui); font-size: var(--rfi-label); font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--rfi-partner-accent);
}

.rfi-aboutco__name { font-family: var(--rfi-font-ui); font-size: var(--rfi-h2-section); font-weight: 500; color: var(--rfi-text); }
.rfi-aboutco__text { font-size: var(--rfi-desc); line-height: 1.55; color: var(--rfi-text-2); }

.rfi-aboutco__cta {
  margin-top: 4px;
  font-family: var(--rfi-font-ui); font-size: 14px; font-weight: 500;
  color: var(--rfi-navy);
}
.rfi-aboutco__cta:hover { color: var(--rfi-teal); }

/* 700px since 2026-08-15, was 768: the theme now has one component breakpoint and it is the
   donor's. See templates/single.css for which of the three candidates won and why. */
@media (max-width: 700px) {
  .rfi-aboutco { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .rfi-aboutco__logo { width: 64px; height: 64px; }
  .rfi-aboutco__mono { font-size: 22px; }
}
