/* Compact Relius × ZP Europe event banner */

.zpeb {
  --zpeb-cream: #fff9f3;
  --zpeb-ink: #111111;
  --zpeb-muted: #4f4f4f;
  --zpeb-orange: #ff9f43;
  --zpeb-black: #101012;
  --zpeb-border: rgba(255, 132, 50, 0.45);

  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 68%) minmax(220px, 32%);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--zpeb-border);
  background:
    radial-gradient(ellipse 48% 70% at 0% 100%, rgba(255, 159, 67, 0.07) 0%, transparent 55%),
    var(--zpeb-cream);
  box-shadow: 0 10px 28px rgba(229, 155, 89, 0.08);
  font-family: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  color: var(--zpeb-ink);
}

.zpeb *,
.zpeb *::before,
.zpeb *::after {
  box-sizing: border-box;
}

.zpeb__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 26px 34px;
}

.zpeb__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--zpeb-orange);
}

.zpeb__eyebrow-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  color: var(--zpeb-orange);
}

.zpeb__title {
  margin: 10px 0 0;
  max-width: 18ch;
  font-size: clamp(28px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--zpeb-ink);
}

.zpeb__text {
  margin: 10px 0 0;
  max-width: 34rem;
  font-size: 15px;
  line-height: 1.45;
  color: var(--zpeb-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zpeb__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  background: var(--zpeb-black);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.zpeb__cta:hover {
  background: #242426;
  transform: translateY(-1px);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.zpeb__cta:focus-visible {
  outline: 2px solid var(--zpeb-orange);
  outline-offset: 3px;
}

.zpeb__cta-icon {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  color: currentColor;
}

.zpeb__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}

.zpeb__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: #2f2f2f;
}

.zpeb__meta-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  color: var(--zpeb-orange);
}

/* Soft curved ZP panel — no oversized crescent */
.zpeb__aside {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  margin: 12px 12px 12px 0;
  padding: 20px 20px 20px 26px;
  border-radius: 56px 18px 18px 56px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 78% 10%,
      rgba(226, 106, 255, 0.58) 0%,
      rgba(139, 73, 213, 0.3) 28%,
      transparent 55%
    ),
    linear-gradient(135deg, #10162b 0%, #1a2142 48%, #442b79 100%);
}

.zpeb__team {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  min-width: 0;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.zpeb__team-line {
  display: block;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  white-space: nowrap;
}

.zpeb__team-line--team {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
}

.zpeb__team-line--human {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
}

.zpeb__team-line--ai {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
}

.zpeb__logo {
  display: block;
  width: clamp(104px, 32%, 124px);
  height: auto;
  max-width: 124px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 auto;
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
}

.l3m-market-job-wrap > .zpeb {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .zpeb {
    grid-template-columns: minmax(0, 64%) minmax(210px, 36%);
  }

  .zpeb__main {
    padding: 24px 28px;
  }

  .zpeb__title {
    font-size: clamp(26px, 2.8vw, 28px);
  }

  .zpeb__aside {
    border-radius: 48px 16px 16px 48px;
    padding-left: 22px;
  }
}

@media (max-width: 767px) {
  .zpeb {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .zpeb__main {
    padding: 22px;
  }

  .zpeb__title {
    max-width: none;
    font-size: 26px;
  }

  .zpeb__text {
    font-size: 15px;
    -webkit-line-clamp: 4;
  }

  .zpeb__cta {
    width: 100%;
  }

  .zpeb__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .zpeb__aside {
    min-height: 200px;
    margin: 0 12px 12px;
    padding: 24px 22px;
    border-radius: 28px;
    justify-content: center;
    gap: 20px;
  }

  .zpeb__team-line--team,
  .zpeb__team-line--human,
  .zpeb__team-line--ai {
    font-size: 28px;
  }

  .zpeb__logo {
    width: 104px;
  }
}

@media (max-width: 359px) {
  .zpeb__aside {
    flex-direction: column;
    text-align: center;
  }

  .zpeb__team {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zpeb__cta {
    transition: none;
  }

  .zpeb__cta:hover {
    transform: none;
  }
}
