.s-give {
  background: var(--surface-page);
  padding-block: 18px 84px;
}

.s-give__row {
  display: flex;
  gap: 36px;
  width: 1216px;
  max-width: 100%;
  margin-inline: auto;
  align-items: stretch;
}

.s-give__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
}

.s-give__card--stremio {
  flex: 1 1 40%;
}

.s-give__card--charity {
  flex: 1 1 54%;
}

.s-give__figure {
  margin: 0 0 22px;
  display: grid;
  place-items: center;
  height: 232px;
}

.s-give__stage {
  position: relative;
  display: block;
  width: 300px;
  aspect-ratio: 1126 / 928;
}
.s-give__stage--lottie {
  width: auto;
  height: 80%;
  aspect-ratio: 1 / 1;
  transform: translateY(-88px);
}

.s-give__cat,
.s-give__seat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s-give__seat {
  transform: translateX(10px);
}

.s-give__cat {
  inset: auto;
  left: 1.6%;
  top: 50.2%;
  width: 51.2%;
  height: auto;
}

.s-give__throne {
  position: absolute;
  left: 79.5%;
  top: 47.7%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -54%);
  pointer-events: none;
}

.s-give__throne img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(58, 38, 23, 0.26));
  animation: give-float 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes give-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -8px, 0);
  }
}

.s-give__art {
  width: 246px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(58, 38, 23, 0.16));
}

.s-give__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 600;
  line-height: 43px;
  color: var(--ink-strong);
}

.s-give__body {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink-muted);
}

.s-give__cta {
  margin-top: 42px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 52px;
  padding: 0 24px 0 18px;
  border-radius: var(--r-pill);
  background: #6051e9;
  color: var(--ink-invert);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 120ms ease;
}

.s-give__cta-mark {
  width: 17px;
  height: 17px;
  flex: none;
}

.s-give__cta:hover {
  background: #5344d4;
}

.s-give__links {
  margin-top: 18px;
  display: grid;
  row-gap: 4px;
}

.s-give__link,
.s-give__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 22px;
  color: var(--ink-strong);
  transition: color 180ms ease;
}

.s-give__more {
  margin-top: 10px;
  font-weight: 600;
  color: var(--ink);
}

.s-give__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}

.s-give__logo img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.s-give__logo img[src$="logo-ehsan.svg"] {
  width: 23px;
  height: 16px;
}

.s-give__logo--gh {
  color: var(--ink-strong);
}

.s-give__logo--gh svg {
  width: 18px;
  height: 18px;
}

.s-give__link:hover {
  color: var(--ink-muted);
}

.s-give__host {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 1216px;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 20px 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
}

.s-give__host-elf {
  flex: none;
  width: 82px;
  height: 82px;
}

.s-give__host-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.s-give__host-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  color: var(--ink-strong);
}

.s-give__host-body {
  max-width: 62ch;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink-muted);
}

.s-give__host-go {
  flex: none;
  margin-left: auto;
  padding-left: 16px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 22px;
  color: var(--ink-strong);
}

.s-give__host:hover .s-give__host-go {
  opacity: 0.7;
}

@media (max-width: 1280px) {
  .s-give__host {
    width: auto;
    margin-inline: var(--gutter);
  }
}

@media (max-width: 940px) {
  .s-give__host {
    gap: 20px;
    padding: 20px 32px;
  }

  .s-give__host-go {
    display: none;
  }
}

@media (max-width: 640px) {
  .s-give__host {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
  }

  .s-give__host-elf {
    width: 64px;
    height: 64px;
  }

  .s-give__host-go {
    display: block;
    margin-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 1280px) {
  .s-give__row {
    width: auto;
    padding-inline: var(--gutter);
  }

  .s-give__card {
    padding: 32px;
  }
}

@media (max-width: 940px) {
  .s-give {
    padding-block: 12px 56px;
  }

  .s-give__row {
    flex-direction: column;
    gap: 24px;
  }

  .s-give__title {
    font-size: 34px;
    line-height: 38px;
  }
}

@media (max-width: 640px) {
  .s-give__card,
  .s-give__host {
    border-radius: var(--r-lg);
  }
}

@media (max-width: 520px) {
  .s-give__figure {
    height: 190px;
  }

  .s-give__stage {
    width: 240px;
  }

  .s-give__art {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-give__throne img {
    animation: none;
  }
}
