.compact-character-promo-section,
.compact-character-promo-section * {
  box-sizing: border-box;
}

.compact-character-promo-section {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 7vw, 86px) 20px clamp(72px, 9vw, 108px);
  color: #20201d;
  background: transparent;
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.compact-character-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: center;
  gap: clamp(26px, 4vw, 48px);
  width: min(100%, 900px);
  min-height: 341px;
  margin: 0 auto;
  padding: clamp(28px, 3.2vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(72, 68, 43, .1);
  border-radius: 24px;
  color: #20201d;
  background: #edff8f;
  box-shadow: 0 24px 58px rgba(75, 73, 42, .12), inset 0 1px rgba(255, 255, 255, .68);
}

.compact-character-promo-copy {
  min-width: 0;
}

.compact-character-promo-eyebrow {
  margin: 0 0 12px;
  color: #49417b;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compact-character-promo-card h2 {
  max-width: 520px;
  margin: 0;
  scroll-margin-top: 96px;
  color: #171714;
  font-size: clamp(2.05rem, 3.25vw, 3.05rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.compact-character-promo-copy > p:not(.compact-character-promo-eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(27, 27, 24, .72);
  font-size: clamp(.88rem, 1.2vw, 1rem);
  line-height: 1.65;
}

.compact-character-promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 10px;
  margin-top: 22px;
}

.compact-character-promo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 2px;
  color: #39336f;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: color .24s ease, background-color .24s ease, transform .24s ease;
}

.compact-character-promo-actions .compact-character-promo-primary,
.compact-character-promo-actions .compact-character-promo-secondary {
  border: 2px solid #39336f;
}

.compact-character-promo-actions .compact-character-promo-primary {
  color: #fff;
  background: #39336f;
}

.compact-character-promo-actions .compact-character-promo-secondary {
  background: rgba(255, 255, 255, .88);
}

.compact-character-promo-actions .compact-character-promo-primary:hover,
.compact-character-promo-actions .compact-character-promo-primary:focus-visible,
.compact-character-promo-actions .compact-character-promo-secondary:hover,
.compact-character-promo-actions .compact-character-promo-secondary:focus-visible {
  color: #fff;
  background: #201d44;
}

.compact-character-promo-actions .compact-character-promo-text {
  gap: 7px;
  min-height: 40px;
  padding-inline: 3px;
}

.compact-character-promo-actions .compact-character-promo-text:hover,
.compact-character-promo-actions .compact-character-promo-text:focus-visible {
  color: #201d44;
}

.compact-character-promo-actions .compact-character-promo-text span {
  transition: transform .24s ease;
}

.compact-character-promo-actions .compact-character-promo-text:hover span,
.compact-character-promo-actions .compact-character-promo-text:focus-visible span {
  transform: translateX(4px);
}

.compact-character-promo-visual {
  display: grid;
  place-items: center;
  width: min(100%, 255px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.compact-character-promo-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 50%;
  background: #f8f0b6;
  box-shadow: 0 0 0 7px #8c83dd, 0 22px 42px rgba(57, 51, 111, .18);
}

.compact-character-promo-portrait img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 158%;
  max-width: none;
  height: 158%;
  object-fit: cover;
  transform: translate(-50%, -39%);
  transition: transform .65s cubic-bezier(.2, .78, .2, 1);
}

.compact-character-promo-card:hover .compact-character-promo-portrait img {
  transform: translate(-50%, -40%) scale(1.025);
}

@media (max-width: 700px) {
  .compact-character-promo-section {
    padding: 42px 12px 72px;
  }

  .compact-character-promo-card {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(92%, 340px);
    min-height: 0;
    padding: 24px 18px 26px;
    border-radius: 20px;
  }

  .compact-character-promo-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .compact-character-promo-copy > p:not(.compact-character-promo-eyebrow) {
    font-size: .86rem;
  }

  .compact-character-promo-actions .compact-character-promo-primary,
  .compact-character-promo-actions .compact-character-promo-secondary {
    flex: 1 1 calc(50% - 5px);
  }

  .compact-character-promo-actions .compact-character-promo-text {
    flex-basis: 100%;
    justify-content: flex-start;
    padding-inline: 0;
  }

  .compact-character-promo-visual {
    width: min(72%, 210px);
  }
}

@media (max-width: 340px) {
  .compact-character-promo-actions .compact-character-promo-primary,
  .compact-character-promo-actions .compact-character-promo-secondary {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compact-character-promo-actions a,
  .compact-character-promo-actions .compact-character-promo-text span,
  .compact-character-promo-portrait img {
    transition: none;
  }
}
