/* ============================================================
   MEA Reviews — Trust Row
   Compact strip of trust signals for review / category pages:
   independent testing, licensed operators, 18+ / responsible
   gambling, monthly updates and review count. Sits well directly
   under a hero or above the SEO text. Light "tech / computer"
   theme, matching top3-cards / category-cards / footer. Tokens
   are scoped to .mea-trust so they won't clash with page :root
   vars. Needs only this stylesheet — no external CSS or JS.
   ============================================================ */

.mea-trust {
  /* ---- Design tokens (mirror of top3-cards / footer) ---- */
  --tr-bg: #ffffff;
  --tr-surface: #f4f4f4;
  --tr-border: #e0e0e0;
  --tr-text: #1f2733;
  --tr-muted: #5b6676;
  --tr-faint: #8a94a6;
  --tr-accent: #0f62fe;      /* electric blue */
  --tr-accent-2: #06b6d4;    /* cyan */
  --tr-green: #16a34a;       /* verified / safe */

  --tr-radius: 0;
  --tr-radius-sm: 0;
  --tr-space: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);

  --tr-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --tr-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --tr-duration: 200ms;
  --tr-ease: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--tr-bg);
  color: var(--tr-text);
  font-family: var(--tr-sans);
  padding: var(--tr-space) 0;
}

.mea-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

.mea-trust__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  background: var(--tr-surface);
  overflow: hidden;
}

/* circuit-style accent line across the top of the strip */
.mea-trust__strip {
  position: relative;
}
.mea-trust__strip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tr-accent) 0%, var(--tr-accent-2) 55%, transparent 55%, transparent 68%, var(--tr-accent) 68%);
  background-size: 26px 100%;
  opacity: 0.85;
  z-index: 1;
}

/* ---------- Item ---------- */
.mea-trust__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.25rem;
  border-left: 1px solid var(--tr-border);
}
.mea-trust__item:first-child { border-left: 0; }

.mea-trust__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  color: var(--tr-accent);
  background: color-mix(in srgb, var(--tr-accent) 10%, transparent);
}
.mea-trust__icon svg { width: 22px; height: 22px; }

/* green tint for the "safe / verified" flavour */
.mea-trust__item--safe .mea-trust__icon {
  color: var(--tr-green);
  background: color-mix(in srgb, var(--tr-green) 10%, transparent);
}

.mea-trust__body { min-width: 0; }

.mea-trust__label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mea-trust__label strong { color: var(--tr-accent); font-weight: 800; }
.mea-trust__item--safe .mea-trust__label strong { color: var(--tr-green); }

.mea-trust__meta {
  margin: 0.15rem 0 0;
  font-family: var(--tr-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tr-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mea-trust__strip { grid-template-columns: repeat(2, 1fr); }
  .mea-trust__item:nth-child(3) { border-left: 0; }
  .mea-trust__item:nth-child(n+3) { border-top: 1px solid var(--tr-border); }
}

@media (max-width: 520px) {
  .mea-trust__strip { grid-template-columns: 1fr; }
  .mea-trust__item { border-left: 0; }
  .mea-trust__item:not(:first-child) { border-top: 1px solid var(--tr-border); }
}
