/* =========================================================================
   on-audience — «کلاس آنلاین برای چه کسانی؟» · طرح 06-audience.html
   موزاییک ستونی (CSS multi-column) با کارت‌های نامساوی.
   وابسته به: de-base.css
   ========================================================================= */

.onau { position: relative; overflow: hidden; background: var(--onau-bg, var(--zn-bg1)); border-bottom: 2px solid rgba(var(--zn-line), .14); }
.onau-ghost { top: 30px; right: -20px; font-size: var(--onau-ghost-fs, 150px); --ghost-stroke: 1.5px; }
.onau-wrap { position: relative; z-index: 1; max-width: var(--onau-mw, 1180px); margin: 0 auto; }

.onau-h2 {
  margin: 16px 0 10px; font-size: var(--onau-h-fs, 34px); font-weight: 900; line-height: 1.55;
  background: linear-gradient(110deg, var(--onau-h1, var(--zn-t1)) 35%, var(--onau-h2c, var(--zn-accent-soft2)));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.onau-lead { margin: 0 0 36px; font-size: 14.5px; line-height: 2.1; color: var(--zn-t5); max-width: var(--onau-lead-w, 620px); font-weight: 500; text-wrap: pretty; }
.onau-lead p { margin: 0 0 12px; color: inherit; font: inherit; }
.onau-lead p:last-child { margin-bottom: 0; }

/* موزاییک: ارتفاع کارت‌ها آزاد است و ستون‌ها خودشان پر می‌شوند. */
.onau-mosaic { columns: var(--onau-cols, 3); column-gap: var(--onau-gap, 18px); }

.onau-card {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  display: inline-block; width: 100%; vertical-align: top;
  margin-bottom: var(--onau-gap, 18px);
  position: relative; overflow: hidden;
  background: var(--card-bg, var(--onau-card-bg, rgba(255, 255, 255, .46)));
  border: 2px solid var(--card-bd, var(--onau-card-bd, rgba(var(--zn-line), .2)));
  border-radius: var(--onau-card-r, 22px);
  padding: var(--onau-card-p, 26px 24px);
  box-shadow: var(--card-sh, var(--onau-card-sh, 0 14px 34px rgba(120, 60, 40, .1)));
  transition: transform .2s ease, box-shadow .2s ease;
}
.onau-card:hover { transform: translateY(-4px); }

/* واژهٔ محو کف کارت */
.onau-cghost {
  position: absolute; bottom: -16px; left: -4px; direction: ltr;
  font-size: var(--onau-cg-fs, 64px); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(150, 75, 90, .16);
  pointer-events: none; user-select: none;
}

.onau-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; }
.onau-ic {
  width: var(--onau-ic-s, 46px); height: var(--onau-ic-s, 46px); flex-shrink: 0;
  border-radius: var(--onau-ic-r, 14px);
  background: var(--ic-bg, linear-gradient(135deg, var(--zn-crim), var(--zn-rose)));
  color: var(--ic-fg, #FFF);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 0 22px rgba(255, 59, 92, .26);
}
.onau-ic i, .onau-ic svg { font-size: 20px; width: 20px; height: 20px; fill: currentColor; }
.onau-badge {
  background: var(--badge-bg, linear-gradient(135deg, var(--zn-crim), var(--zn-rose)));
  color: var(--badge-fg, #FFF);
  font-size: 10.5px; font-weight: 900; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}

.onau-title { position: relative; font-size: var(--onau-t-fs, 18.5px); font-weight: 900; color: var(--zn-t1); margin: 16px 0 8px; line-height: 1.6; }
.onau-text { position: relative; font-size: var(--onau-x-fs, 13px); color: var(--zn-t5); line-height: 2.05; font-weight: 500; }
.onau-text p { margin: 0 0 10px; color: inherit; font: inherit; }
.onau-text p:last-child { margin-bottom: 0; }

.onau-feats { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.onau-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--zn-t3); font-weight: 600; line-height: 1.85; }
.onau-tick {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; border-radius: 50%;
  background: var(--ic-bg, linear-gradient(135deg, var(--zn-crim), var(--zn-rose)));
  color: var(--ic-fg, #FFF);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 900;
}

.onau-foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 2px solid rgba(var(--zn-line), .16); padding-top: 14px; margin-top: 18px;
}
.onau-out { font-size: 11.5px; color: var(--zn-t6); font-weight: 700; }
.de-scope .onau-link { font-size: 12px; font-weight: 900; color: var(--onau-link-c, var(--zn-accent-soft)); white-space: nowrap; }

@media (max-width: 1000px) { .onau-mosaic { columns: var(--onau-cols-t, 2); } }
@media (max-width: 660px) {
  .onau-mosaic { columns: var(--onau-cols-m, 1); }
  .onau-card { padding: 22px 20px; }
}
