/* RealRelay family strip
   Shared brand component for realrelay.ai, realrelay.academy and cwgsg.ai.
   Drop the markup from family-strip/family-strip.html above the site header and link this file.
   Default is the dark variant. Add class "family-strip--light" for white headers. */

.family-strip {
  --fs-bg: #0F0B19;
  --fs-line: rgba(255,255,255,.08);
  --fs-text: rgba(255,255,255,.78);
  --fs-text-strong: #FFFFFF;
  --fs-accent: #FF5A6E;
  --fs-divider: rgba(255,255,255,.14);
  --fs-current: rgba(255,255,255,.1);
  --fs-logo-edvance: url("./edvance-logo-white.png");
  --fs-logo-cwg: url("./cwg-logo-white.png");
  background: var(--fs-bg);
  color: var(--fs-text);
  border-bottom: 1px solid var(--fs-line);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12.5px;
  line-height: 1;
}
.family-strip--light {
  --fs-bg: #FFFFFF;
  --fs-line: rgba(24,18,38,.1);
  --fs-text: #4A4458;
  --fs-text-strong: #181226;
  --fs-accent: #C8102E;
  --fs-divider: rgba(24,18,38,.14);
  --fs-current: rgba(24,18,38,.06);
  --fs-logo-edvance: url("./edvance-logo.png");
  --fs-logo-cwg: url("./cwg-logo.png");
}
.family-strip__inner {
  width: min(1440px, 100% - 2 * clamp(16px, 4vw, 48px));
  margin-inline: auto;
  min-height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.family-strip a { text-decoration: none; }
.family-strip__family, .family-strip__partners { display: flex; align-items: center; gap: 14px; min-width: 0; }
.family-strip__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Sora", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: -0.01em;
  color: var(--fs-text-strong); white-space: nowrap;
}
.family-strip__brand img { height: 16px; width: auto; display: block; }
.family-strip__brand em { font-style: normal; font-weight: 500; color: var(--fs-text); }
.family-strip__divider { width: 1px; height: 18px; background: var(--fs-divider); flex: none; }
.family-strip__links { display: flex; align-items: center; gap: 4px; }
.family-strip__links a {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px;
  color: var(--fs-text); font-weight: 600; white-space: nowrap; text-decoration: none;
  transition: color .2s, background .2s;
}
.family-strip__links a:hover { color: var(--fs-text-strong); background: var(--fs-current); }
.family-strip__links a[aria-current="true"] { color: var(--fs-text-strong); background: var(--fs-current); }
.family-strip__links a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fs-accent); }
.family-strip__links svg { width: 11px; height: 11px; opacity: .6; }
.family-strip__label {
  font-family: "Sora", "Inter", system-ui, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fs-text); white-space: nowrap;
}
.family-strip__logos { display: flex; align-items: center; gap: 18px; }
.family-strip__logos a { display: inline-flex; align-items: center; opacity: .92; transition: opacity .2s; }
.family-strip__logos a:hover { opacity: 1; }
.family-strip__logo { display: block; background-position: center; background-repeat: no-repeat; background-size: contain; }
.family-strip__logo--edvance { width: 82px; height: 18px; background-image: var(--fs-logo-edvance); }
.family-strip__logo--cwg { width: 48px; height: 19px; background-image: var(--fs-logo-cwg); }
.family-strip__logos .family-strip__divider { height: 14px; }

@media (max-width: 1100px) {
  .family-strip__inner { flex-wrap: wrap; justify-content: center; padding: 8px 0; gap: 6px 18px; min-height: 0; }
  .family-strip__family, .family-strip__partners { justify-content: center; }
  .family-strip__family > .family-strip__divider { display: none; }
  .family-strip__links a { padding: 6px 8px; }
}
@media (max-width: 600px) {
  .family-strip__brand em, .family-strip__links a[aria-current="true"], .family-strip__links svg { display: none; }
  .family-strip__links a { padding: 6px 6px; font-size: 12px; }
  .family-strip__label { font-size: 9px; letter-spacing: .16em; }
  .family-strip__logo--edvance { width: 74px; height: 16px; }
  .family-strip__logo--cwg { width: 42px; height: 17px; }
}
