.monkeys-rules-intro {
  max-width: 850px;
  margin: 0 auto clamp(36px, 6vw, 64px);
  text-align: center;
}

.monkeys-rules-intro .section-subtitle {
  margin-bottom: 12px;
}

.monkeys-rules-intro h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--heading-font-family);
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  text-transform: uppercase;
}

.monkeys-rules-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.65;
}

.monkeys-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.monkeys-rule-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  min-height: 190px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(248, 208, 40, .075), transparent 46%),
    #121212;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.monkeys-rule-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -72px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(248, 208, 40, .08);
  border-radius: 50%;
}

.monkeys-rule-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid rgba(248, 208, 40, .72);
  border-radius: 50%;
  color: var(--primary-color, #f8d028);
  font-family: var(--heading-font-family);
  font-size: 24px;
  line-height: 1;
}

.monkeys-rule-content {
  position: relative;
  z-index: 1;
}

.monkeys-rule-content h3 {
  margin: 2px 0 10px;
  color: var(--primary-color, #f8d028);
  font-family: var(--heading-font-family);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.05;
  text-transform: uppercase;
}

.monkeys-rule-content p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.55;
}

.monkeys-rules-closing {
  position: relative;
  margin-top: clamp(36px, 6vw, 64px);
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(248, 208, 40, .27);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 120%, rgba(248, 208, 40, .16), transparent 55%),
    #0d0d0d;
  text-align: center;
}

.monkeys-rules-closing img {
  width: min(240px, 62vw);
  margin-bottom: 22px;
}

.monkeys-rules-closing p {
  margin: 0;
  color: #fff;
  font-family: var(--heading-font-family);
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.monkeys-rules-closing p span {
  color: var(--primary-color, #f8d028);
}

@media (max-width: 991px) {
  .monkeys-rules-grid {
    grid-template-columns: 1fr;
  }

  .monkeys-rule-card {
    min-height: 0;
  }
}

@media (max-width: 575px) {
  .monkeys-rule-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .monkeys-rule-number {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .monkeys-rule-content h3 {
    margin-top: 0;
  }

  .monkeys-rule-content p {
    font-size: 15px;
  }
}
