/* Sponsorship shares the same WhatsApp action in the exhibition banner and
   contact card. Only the card surface is clipped, preserving keyboard focus. */
.community-note.sponsorship-card {
  position: relative;
  isolation: isolate;
  padding: 30px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  --focus: var(--yellow);
}

.sponsorship-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(132deg, #122e66 0%, #0b1d4b 58%, #07132f 100%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 16px, 100% 100%, 28px 100%, 0 calc(100% - 16px));
}

.sponsorship-card .sponsorship-channel {
  margin: 0;
  color: #d4e0f8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sponsorship-card h3 {
  margin-top: 18px;
  max-width: 300px;
  color: #fff;
  font-size: clamp(28px, 2.7vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sponsorship-card .sponsorship-description {
  margin-top: 18px;
  color: #e0e8f7;
  font-size: 16px;
  line-height: 1.6;
}

.sponsorship-contact-button {
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  gap: 14px;
  white-space: normal;
  text-align: left;
  justify-content: space-between;
}

.sponsorship-contact-button > span:first-child {
  min-width: 0;
}

.sponsorship-contact-button .sponsorship-contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #030c2e;
  --icon-filter: none;
}

.sponsorship-contact-button .whatsapp-mark {
  display: block;
  width: 23px;
  height: 23px;
  filter: none;
}

.sponsorship-card .sponsorship-contact-button {
  width: 100%;
  margin-top: 26px;
  padding-left: 18px;
}

@media (max-width: 767px) {
  .community-note.sponsorship-card {
    padding: 28px 24px 30px;
  }

  .sponsorship-contact-button {
    gap: 12px;
    font-size: 15px;
  }
}

@media (max-width: 374px) {
  .community-note.sponsorship-card {
    padding-inline: 22px;
  }

  .sponsorship-card .sponsorship-contact-button {
    padding-left: 14px;
  }
}

@media (forced-colors: active) {
  .community-note.sponsorship-card {
    background: Canvas;
    border: 1px solid CanvasText;
  }

  .sponsorship-card::before {
    display: none;
  }

  .sponsorship-card :is(h3, .sponsorship-channel, .sponsorship-description) {
    color: CanvasText;
  }

  .sponsorship-contact-button .sponsorship-contact-icon {
    forced-color-adjust: none;
  }
}
