/* =========================================================
   Media & Partnerships page — extra styles (media.html only)
   Uses the colour/spacing variables from style.css
   ========================================================= */

/* ---------- Hero ---------- */
.mx-hero {
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    radial-gradient(circle at 85% 20%, var(--lightblue-tint) 0, transparent 45%),
    radial-gradient(circle at 10% 90%, var(--orange-tint) 0, transparent 40%),
    var(--white);
  overflow: hidden;
}
.mx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.mx-hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  margin: 14px 0 18px;
}
.mx-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 22px;
}
.mx-verified {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 28px;
}
.mx-verified .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
}

/* Portrait with floating chips */
.mx-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}
.mx-portrait .portrait-frame { max-width: 400px; }
.mx-portrait::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--blue-tint-strong);
  top: -36px;
  inset-inline-end: -24px;
  z-index: 1;
}
.mx-portrait::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--orange);
  opacity: 0.4;
  bottom: -22px;
  inset-inline-start: 0;
  z-index: 1;
}
.mx-float {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  animation: mxFloat 5s ease-in-out infinite;
}
.mx-float strong {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
}
/* Chips sit away from the face, same spot in English and Arabic */
.mx-float--top { top: 56%; left: -24px; right: auto; }
.mx-float--bottom { bottom: 36px; right: -10px; left: auto; animation-delay: -2.5s; font-weight: 500; color: var(--text-dark); }
.mx-float-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
@keyframes mxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .mx-float { animation: none; } }

/* ---------- Stats band ---------- */
.mx-stats-wrap { padding: 0 0 72px; }
.mx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-portrait);
  overflow: hidden;
}
.mx-stat {
  padding: 34px 24px;
  text-align: center;
  color: var(--white);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}
.mx-stat:first-child { border-inline-start: 0; }
.mx-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}
.mx-stat:nth-child(2) .mx-stat-num { color: #FFC37A; }
.mx-stat-label { font-size: 14px; opacity: 0.85; }

/* ---------- Platforms ---------- */
.mx-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mx-platform {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mx-platform:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mx-platform::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
}
.mx-platform--tiktok::before { background: linear-gradient(90deg, #25F4EE, #0F172A, #FE2C55); }
.mx-platform--snap::before { background: #FFFC00; }

/* ---------- Why partner ---------- */
.mx-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mx-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mx-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.mx-why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-tint-strong);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mx-why-icon svg { width: 26px; height: 26px; }
.mx-why-card:nth-child(2) .mx-why-icon { background: var(--lightblue-tint); color: #2A9BB3; }
.mx-why-card:nth-child(3) .mx-why-icon { background: var(--orange-tint); color: var(--orange-dark); }
.mx-why-card h4 { font-size: 19px; margin-bottom: 10px; color: var(--text-dark); }
.mx-why-card p { color: var(--text-secondary); line-height: 1.65; font-size: 15px; }

/* ---------- Content pillars (colourful cards) ---------- */
.mx-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mx-pillar {
  --c1: #1F4ED8; --c2: #4F7BFF;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 30px 26px 34px;
  min-height: 250px;
  color: #fff;
  background: linear-gradient(145deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 18px 36px -18px var(--c1);
  transition: transform .3s ease, box-shadow .3s ease;
  isolation: isolate;
}
/* soft decorative circles */
.mx-pillar::before,
.mx-pillar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  z-index: -1;
}
.mx-pillar::before { width: 180px; height: 180px; top: -60px; inset-inline-end: -60px; }
.mx-pillar::after  { width: 90px;  height: 90px;  bottom: -30px; inset-inline-start: -20px; background: rgba(255, 255, 255, 0.08); }
.mx-pillar:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 26px 44px -18px var(--c1); }

.mx-pillar-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  color: #fff;
  margin-bottom: 22px;
  transition: transform .3s ease;
}
.mx-pillar:hover .mx-pillar-icon { transform: scale(1.08); }
.mx-pillar-icon svg { width: 28px; height: 28px; }
.mx-pillar h4 { font-size: 19px; margin-bottom: 10px; color: #fff; font-weight: 600; }
.mx-pillar p  { font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.9); }

/* one colour per pillar, from the site palette */
.mx-pillar:nth-child(1) { --c1: #16389E; --c2: #1F4ED8; }   /* AI & Technology — brand blue   */
.mx-pillar:nth-child(2) { --c1: #DD7F0C; --c2: #F7A93B; }   /* Entrepreneurship — brand orange */
.mx-pillar:nth-child(3) { --c1: #1E8FA8; --c2: #63C5DA; }   /* Education — brand light blue    */
.mx-pillar:nth-child(4) { --c1: #178A5C; --c2: #3CC18A; }   /* Well-being — fresh green        */
.mx-pillar--accent { border: 0; }
.mx-pillar--accent .mx-pillar-icon { color: #fff; }

/* ---------- Gallery ---------- */
.mx-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mx-shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
}
.mx-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  display: block;
  transition: transform .5s ease;
}
.mx-shot:hover img { transform: scale(1.05); }
.mx-shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
}
.mx-gallery-cta { margin-top: 28px; text-align: center; }

/* ---------- Services (4 brand services) ---------- */
.mx-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.mx-service {
  --sc: var(--blue); --sc-tint: var(--blue-tint-strong);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  background: var(--white);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.mx-service:nth-child(2) { --sc: var(--orange-dark); --sc-tint: var(--orange-tint); }
.mx-service:nth-child(3) { --sc: #1E8FA8; --sc-tint: var(--lightblue-tint); }
.mx-service:nth-child(4) { --sc: #178A5C; --sc-tint: rgba(60,193,138,.12); }
.mx-service:hover { border-color: var(--sc); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mx-service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sc-tint); color: var(--sc);
  margin-bottom: 18px;
}
.mx-service-icon svg { width: 26px; height: 26px; }
.mx-service h4 { font-size: 18px; margin-bottom: 8px; color: var(--text-dark); line-height: 1.3; }
.mx-service p { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 16px; }
.mx-service-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.mx-service-list li {
  position: relative; padding-inline-start: 24px;
  font-size: 14px; line-height: 1.5; color: var(--text-dark);
}
.mx-service-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sc-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.mx-service-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px; font-weight: 600;
  color: var(--sc);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sc);
  transition: background .2s ease, color .2s ease;
}
.mx-service-cta:hover { background: var(--sc); color: #fff; }

/* featured ("Most requested") */
.mx-service--featured { border: 2px solid var(--orange); box-shadow: 0 18px 36px -20px rgba(247,148,29,.55); }
.mx-service--featured .mx-service-cta { background: var(--orange); border-color: var(--orange); color: #fff; }
.mx-service--featured .mx-service-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.mx-service-badge {
  position: absolute; top: -13px; inset-inline-start: 22px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: var(--radius-full);
  box-shadow: 0 6px 14px -6px rgba(221,127,12,.8);
}

.mx-services-note { margin-top: 26px; text-align: center; color: var(--text-secondary); font-size: 15px; }
.mx-services-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

html[dir="rtl"] .mx-service-badge, html[dir="rtl"] .mx-service-cta { letter-spacing: 0; }
html[dir="rtl"] .mx-service-list li { line-height: 1.7; }

@media (max-width: 1100px) { .mx-services { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 640px)  { .mx-services { grid-template-columns: 1fr; } }

/* ---------- CTA with photo ---------- */
.mx-cta {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.mx-cta-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #EAF1FD, #E4EEFC);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-md);
}
.mx-cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.mx-cta-body h3 { font-family: var(--font-heading); font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.mx-cta-body p { color: var(--text-secondary); line-height: 1.65; margin-bottom: 22px; }
.mx-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .mx-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .mx-portrait { order: -1; }
  .mx-portrait .portrait-frame { max-width: 320px; }
  .mx-stats { grid-template-columns: repeat(2, 1fr); }
  .mx-stat:nth-child(3) { border-inline-start: 0; }
  .mx-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .mx-why, .mx-services { grid-template-columns: 1fr 1fr; }
  .mx-pillars { grid-template-columns: 1fr 1fr; }
  .mx-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mx-hero { padding-top: calc(var(--header-h) + 32px); }
  .mx-float--top { left: 0; }
  .mx-float--bottom { right: 0; }
  .mx-platforms, .mx-why, .mx-services, .mx-pillars { grid-template-columns: 1fr; }
  .mx-gallery { gap: 10px; }
  .mx-cta { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; }
  .mx-cta-photo { margin: 0 auto; width: 140px; height: 140px; }
  .mx-cta-actions { justify-content: center; }
}

/* ---------- Hero title accent ---------- */
.mx-accent {
  color: var(--blue);
  font-style: italic;
}

/* =========================================================
   Arabic typography (only when the page is switched to Arabic)
   Every heading, number and label uses Cairo so the whole page
   reads in one consistent Arabic font.
   ========================================================= */
html[dir="rtl"] {
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .eyebrow, html[dir="rtl"] .btn, html[dir="rtl"] .mx-stat-label,
html[dir="rtl"] .mx-float, html[dir="rtl"] .platform-name {
  letter-spacing: 0;              /* spacing breaks joined Arabic letters */
}
html[dir="rtl"] .mx-hero-title {
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.45;
}
html[dir="rtl"] .mx-accent { font-style: normal; }
html[dir="rtl"] .section-title { font-weight: 700; line-height: 1.4; }
html[dir="rtl"] .mx-why-card h4, html[dir="rtl"] .mx-pillar h4,
html[dir="rtl"] .mx-service h4 { font-weight: 700; line-height: 1.5; }
html[dir="rtl"] .mx-cta-body h3 { font-weight: 700; line-height: 1.45; }
html[dir="rtl"] .mx-hero-sub, html[dir="rtl"] .mx-why-card p,
html[dir="rtl"] .mx-pillar p, html[dir="rtl"] .mx-service p { line-height: 1.85; }
html[dir="rtl"] .mx-stat-num, html[dir="rtl"] .mx-float strong { font-weight: 700; }

/* ---------- LinkedIn platform card ---------- */
.mx-platform--linkedin::before { background: #0A66C2; }
.mx-platform--linkedin .platform-icon { color: #0A66C2; }

/* ---------- Audience ---------- */
.mx-audience {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.1fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}
.mx-aud {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mx-aud-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 14px;
}
.mx-aud-big {
  font-family: var(--font-heading);
  font-size: clamp(46px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
}
.mx-aud-text { font-size: 15px; line-height: 1.55; color: var(--text-dark); margin-bottom: 18px; }
.mx-aud-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.35);
  font-size: 14px;
}
.mx-aud-note strong { font-size: 18px; margin-inline-end: 4px; }

/* Location card — brand blue */
.mx-aud--geo {
  background: linear-gradient(150deg, #16389E 0%, #1F4ED8 100%);
  border: 0; color: #fff; box-shadow: 0 18px 36px -18px #16389E;
}
.mx-aud--geo::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  border: 28px solid rgba(255,255,255,.08); bottom: -80px; inset-inline-end: -70px;
}
.mx-aud--geo .mx-aud-kicker, .mx-aud--geo .mx-aud-text, .mx-aud--geo .mx-aud-note { color: rgba(255,255,255,.9); }
.mx-aud--geo .mx-aud-big { color: #fff; }

/* Age bars */
.mx-bars { display: grid; gap: 10px; margin-top: auto; }
.mx-bar { display: grid; grid-template-columns: 44px 1fr 38px; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.mx-bar-track { height: 10px; border-radius: 99px; background: var(--blue-tint-strong); overflow: hidden; }
.mx-bar-track span { display: block; height: 100%; border-radius: 99px; background: var(--light-blue); transform-origin: left; }
html[dir="rtl"] .mx-bar-track span { transform-origin: right; }
.mx-bar--top .mx-bar-track span { background: var(--blue); }
.mx-bar--top { color: var(--text-dark); font-weight: 600; }
.mx-bar-val { text-align: end; font-variant-numeric: tabular-nums; }
.mx-bar-label { direction: ltr; unicode-bidi: isolate; }

/* Gender */
.mx-aud--gender .mx-aud-big { color: var(--orange-dark); }
.mx-split { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin-top: auto; gap: 3px; }
.mx-split-f { background: linear-gradient(90deg, var(--orange), #F7A93B); border-radius: 99px; }
.mx-split-m { background: var(--light-blue); border-radius: 99px; }
.mx-split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--text-secondary); }
.mx-split-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; }
.dot-f { background: var(--orange); } .dot-m { background: var(--light-blue); }

/* LinkedIn card */
.mx-aud--li {
  background: linear-gradient(150deg, #0A66C2 0%, #2E86DE 100%);
  border: 0; color: #fff; box-shadow: 0 18px 36px -18px #0A66C2;
}
.mx-aud--li .mx-aud-kicker, .mx-aud--li .mx-aud-text, .mx-aud--li .mx-aud-note { color: rgba(255,255,255,.92); }
.mx-aud--li .mx-aud-big { color: #fff; }

/* bars grow in when revealed */
.mx-aud.is-visible .mx-bar-track span, .mx-aud .mx-bar-track span { animation: mxGrow 1.1s ease-out both; }
@keyframes mxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .mx-bar-track span { animation: none !important; } }

.mx-aud-source { margin-top: 18px; font-size: 12.5px; color: var(--text-secondary); }
html[dir="rtl"] .mx-aud-kicker { letter-spacing: 0; }
html[dir="rtl"] .mx-aud-big { font-weight: 700; }

@media (max-width: 1100px) {
  .mx-audience { grid-template-columns: 1fr 1fr; }
  .mx-platforms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mx-audience, .mx-platforms { grid-template-columns: 1fr; }
}

.mx-audience-wrap { padding-top: 0; }
.mx-platforms .platform-name { font-size: 18px; }

/* =========================================================
   Audience cards — platform colours
   TikTok cards = black + TikTok cyan/pink · LinkedIn = LinkedIn blue
   ========================================================= */
:root { --tt-dark: #0B0B12; --tt-pink: #FE2C55; --tt-cyan: #25F4EE; --tt-cyan-d: #14B8B3; --li-blue: #0A66C2; }

/* TikTok: location card (dark) */
.mx-aud--geo {
  background: radial-gradient(circle at 100% 0%, rgba(254,44,85,.35) 0, transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(37,244,238,.28) 0, transparent 55%),
              var(--tt-dark);
  box-shadow: 0 18px 36px -18px rgba(11,11,18,.8);
}
.mx-aud--geo::after { border-color: rgba(37,244,238,.12); }
.mx-aud--geo .mx-aud-big {
  background: linear-gradient(90deg, #fff 0%, #fff 55%, var(--tt-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mx-aud--geo .mx-aud-note strong { color: var(--tt-cyan); }

/* TikTok: white cards get a TikTok stripe + pink/cyan accents */
.mx-aud--age, .mx-aud--gender { border-top: 0; }
.mx-aud--age::before, .mx-aud--gender::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-dark) 50%, var(--tt-pink));
}
.mx-aud--age .mx-aud-big, .mx-aud--gender .mx-aud-big { color: var(--tt-pink); }
.mx-bar-track { background: #EEF1F5; }
.mx-bar-track span { background: var(--tt-cyan-d); }
.mx-bar--top .mx-bar-track span { background: var(--tt-pink); }
.mx-split-f { background: var(--tt-pink); }
.mx-split-m { background: var(--tt-cyan-d); }
.dot-f { background: var(--tt-pink); } .dot-m { background: var(--tt-cyan-d); }

/* platform label in each kicker */
.mx-aud-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mx-aud--geo .mx-aud-kicker::before,
.mx-aud--age .mx-aud-kicker::before,
.mx-aud--gender .mx-aud-kicker::before,
.mx-aud--li .mx-aud-kicker::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0;
}
.mx-aud--geo .mx-aud-kicker::before,
.mx-aud--age .mx-aud-kicker::before,
.mx-aud--gender .mx-aud-kicker::before { background: linear-gradient(135deg, var(--tt-cyan), var(--tt-pink)); }
.mx-aud--li .mx-aud-kicker::before { background: #fff; }

/* LinkedIn card — official LinkedIn blue */
.mx-aud--li {
  background: linear-gradient(150deg, #004182 0%, var(--li-blue) 100%);
  box-shadow: 0 18px 36px -18px var(--li-blue);
}

/* =========================================================
   Platform cards — light brand colour per platform
   White card + faint tint, solid brand icon, fills with colour on hover
   ========================================================= */
.mx-platform--tiktok   { --pc: #0B0B12; --pc-ink: #fff;     --pc-tint: rgba(37,244,238,.07);  --pc-tint2: rgba(254,44,85,.07); }
.mx-platform--snap     { --pc: #FFFC00; --pc-ink: #0B0B12;  --pc-tint: rgba(255,252,0,.12);   --pc-tint2: rgba(255,252,0,.04); }
.mx-platform--linkedin { --pc: #0A66C2; --pc-ink: #fff;     --pc-tint: rgba(10,102,194,.08);  --pc-tint2: rgba(10,102,194,.02); }

.mx-platform {
  background: linear-gradient(160deg, var(--pc-tint) 0%, var(--pc-tint2) 60%, #fff 100%);
  transition: transform .3s ease, box-shadow .3s ease, background .35s ease, color .35s ease;
}
.mx-platform .platform-icon {
  background: var(--pc);
  color: var(--pc-ink);
  box-shadow: 0 6px 14px -6px var(--pc);
}
.mx-platform--snap .platform-icon { box-shadow: 0 6px 14px -6px rgba(180,170,0,.7); }
.mx-platform:hover .platform-icon { background: var(--pc-ink); color: var(--pc); }
.mx-platform--snap:hover .platform-icon { background: #0B0B12; color: #FFFC00; }

/* hover: the whole card fills with the platform colour */
.mx-platform:hover { background: var(--pc); border-color: transparent; box-shadow: 0 22px 40px -18px var(--pc); }
.mx-platform--snap:hover { box-shadow: 0 22px 40px -18px rgba(180,170,0,.8); }
.mx-platform:hover .platform-header,
.mx-platform:hover .platform-stat { color: var(--pc-ink); }
.mx-platform:hover .platform-stat { opacity: .85; }
.mx-platform:hover .btn-ghost { background: transparent; color: var(--pc-ink); border-color: currentColor; }
.mx-platform--tiktok:hover { background: radial-gradient(circle at 100% 0%, rgba(254,44,85,.35) 0, transparent 55%), radial-gradient(circle at 0% 100%, rgba(37,244,238,.25) 0, transparent 55%), #0B0B12; }
.mx-platform:hover::before { opacity: 0; }

/* =========================================================
   Restructure: merged audience section, compact "why" strip,
   wide speaking card
   ========================================================= */
.mx-audience-gap { height: 28px; }

/* compact why-partner strip */
.mx-why--strip { gap: 16px; }
.mx-why--strip .mx-why-card {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start;
  padding: 22px 22px; border-radius: var(--radius-md); box-shadow: none;
}
.mx-why--strip .mx-why-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.mx-why--strip .mx-why-icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
.mx-why--strip .mx-why-icon svg { width: 24px; height: 24px; }
.mx-why--strip h4 { font-size: 16.5px; margin-bottom: 4px; }
.mx-why--strip p { font-size: 13.5px; line-height: 1.6; }

/* wide speaking card */
.mx-speak {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 28px 18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0F1E4D 0%, var(--blue-dark) 60%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 20px 40px -22px var(--blue-dark);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
html[dir="rtl"] .mx-speak { padding: 18px 18px 18px 28px; }
.mx-speak::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 36px solid rgba(255,255,255,.06); inset-inline-end: -90px; top: -120px;
}
.mx-speak:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -22px var(--blue-dark); }
.mx-speak-photo { display: block; width: 180px; height: 120px; border-radius: var(--radius-md); overflow: hidden; }
.mx-speak-photo img { width: 100%; height: 100%; object-fit: cover; }
.mx-speak-body { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.mx-speak-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FFC37A; }
.mx-speak-title { font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.3; }
.mx-speak-desc { font-size: 14.5px; opacity: .85; line-height: 1.6; }
.mx-speak-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 22px; border-radius: var(--radius-full);
  background: #fff; color: var(--blue-dark); font-weight: 600; font-size: 14px;
}
.mx-speak-btn svg { width: 16px; height: 16px; }
html[dir="rtl"] .mx-speak-btn svg { transform: scaleX(-1); }
html[dir="rtl"] .mx-speak-kicker { letter-spacing: 0; }
html[dir="rtl"] .mx-speak-title { font-weight: 700; }

@media (max-width: 980px) {
  .mx-speak { grid-template-columns: 120px 1fr; }
  .mx-speak-photo { width: 120px; height: 100px; }
  .mx-speak-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .mx-speak { grid-template-columns: 1fr; padding: 16px !important; }
  .mx-speak-photo { width: 100%; height: 160px; }
}
