.peloki-proposals {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto;
  color: #100d12;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.peloki-proposals__heading {
  margin-bottom: 30px;
}

.peloki-proposals__heading p {
  margin: 0 0 12px;
  color: #d6372f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.peloki-proposals__heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .94;
}

.peloki-proposals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.peloki-proposal {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 13, 18, .14);
}

.peloki-proposal__poster {
  display: block;
  background: #171217;
}

.peloki-proposal__poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  display: block;
  object-fit: cover;
}

.peloki-proposal__poster span {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
}

.peloki-proposal__body {
  padding: 22px;
}

.peloki-proposal__body span {
  color: #d6372f;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.peloki-proposal__body h3 {
  margin: 10px 0 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.peloki-proposal__body p {
  color: #746b68;
  line-height: 1.55;
}

.peloki-proposal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.peloki-proposal__actions a,
.peloki-proposal__actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #100d12;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.peloki-proposal__actions button {
  background: #d6372f;
}

.peloki-video-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 6, 8, .84);
}

.peloki-video-modal.is-open {
  display: flex;
}

.peloki-video-modal__inner {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.peloki-video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.peloki-video-modal__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: #100d12;
  background: #f5b84b;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.peloki-proposals__empty {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(16, 13, 18, .14);
}

@media (max-width: 980px) {
  .peloki-proposals__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .peloki-proposals {
    width: min(100% - 28px, 1180px);
    margin: 50px auto;
  }

  .peloki-proposals__grid {
    grid-template-columns: 1fr;
  }
}
