/**
 * @file
 * Promotion block: promotional landing section (video, donation buttons, text).
 * Originally ported from the legacy Nuxt page src/pages/darujmeprazdninyzakafe.vue.
 * Scoped under .promotionBlock so it never collides with the homepage
 * banner styles (which are scoped under .homeCampaignBanner).
 */

.promotionBlock {
  min-height: 100vh;
  padding: 40px 0;
  background-color: #fff;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.66),
      rgba(255, 255, 255, 0.66)
    ),
    url("../images/promotion-background.jpg");
  background-repeat: repeat;
  background-position: 0 0;
}

/* Video */
.promotionBlock__video {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.promotionBlock__video iframe {
  width: 960px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Donation circles */
.promotionBlock .heroDonationButtons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 40px);
  padding: clamp(12px, 2vw, 32px) 0;
}

.promotionBlock .heroDonationButton {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
}

.promotionBlock .heroDonationButton img {
  width: clamp(80px, 14vw, 380px);
  height: auto;
  display: block;
  max-width: 100%;
}

@media (max-width: 1900px) {
  .promotionBlock .heroDonationButton img {
    width: clamp(80px, 12vw, 220px);
  }
}

@media (max-width: 640px) {
  .promotionBlock .heroDonationButton img {
    width: clamp(80px, 28vw, 160px);
  }
}

/* The circle drawn inside circle-90.png is ~1.5% smaller than the other two
   images across an identical canvas, so it reads as undersized next to them.
   Scale the rendered image to compensate (matches homepage_banner.css). */
.promotionBlock .heroDonationButton img[src$="circle-90.png"] {
  transform: scale(1.015);
}

/* Explanatory text */
.promotionBlock__text {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-style: italic;
  font-size: 20px;
  line-height: 1.8;
  color: #373232;
}

.promotionBlock__heading {
  margin: 0 0 1.5em;
}

.promotionBlock__body p {
  margin: 0 0 1.5em;
}

@media (max-width: 640px) {
  .promotionBlock__text {
    font-size: 16px;
  }
}
