/* Hero Right Video Block - Frontend Styles */

.hero-right-video {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  background-color: var(var(--color-green-950), #373A19);
}

/* Content Section */
.hero-right-video .content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-32, 8rem) var(--spacing-20, 5rem); /* 128px 80px */
  background-color: var(--color-green-100, var(--color-green-200));
}

.hero-right-video .text-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-7, 1.75rem); /* 28px */
  max-width: 520px;
}

.hero-right-video .hero-heading {
  color: var(var(--color-green-950), #373A19) !important;
  font-family: var(--font-heading, "Sora") !important;
  font-size: var(--font-size-7xl, 4.5rem) !important; /* 72px */
  font-weight: var(--font-weight-extrabold, 800) !important;
  line-height: 0.8888888888888888em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.hero-right-video .hero-body {
  color: var(var(--color-green-950), #373A19) !important;
  font-family: var(--font-body, "Azo Sans") !important;
  font-size: var(--font-size-base, 1rem) !important; /* 16px */
  font-weight: var(--font-weight-normal, 400) !important;
  line-height: 1.5em !important;
  margin: 0 !important;
  white-space: pre-line; /* Preserve line breaks */
}

/* Video Section */
.hero-right-video .video-wrapper {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: var(--spacing-10, 2.5rem) var(--spacing-7, 1.75rem); /* 40px 28px */
  background-color: var(--color-green-100, var(--color-green-200));
}

.hero-right-video .video-container {
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

/* Play Button */
.hero-right-video .play-button {
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  background-color: rgba(55, 58, 25, 0.56);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  padding: 0;
}

.hero-right-video .play-button:hover {
  transform: scale(1.1);
  background-color: rgba(55, 58, 25, 0.8);
}

.hero-right-video .play-icon {
  width: 80px;
  height: auto;
  margin-left: 10px; /* Optical center adjustment */
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero-right-video {
    flex-direction: column;
    min-height: auto;
  }

  .hero-right-video .content-wrapper {
    padding: var(--spacing-20, 5rem) var(--spacing-7, 1.75rem) var(--spacing-10, 2.5rem); /* 80px 28px 40px */
  }

  .hero-right-video .text-content {
    max-width: 100%;
  }

  .hero-right-video .hero-heading {
    font-size: var(--font-size-4xl, 2.25rem) !important; /* 36px */
  }

  .hero-right-video .video-wrapper {
    padding: 0 var(--spacing-7, 1.75rem) var(--spacing-10, 2.5rem); /* 0 28px 40px */
  }

  .hero-right-video .video-container {
    min-height: 304px;
    height: 304px;
  }
}

/* Video Modal - If needed for video playback */
.hero-right-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-right-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.hero-right-video-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  transition: transform 0.2s ease;
}

.hero-right-video-modal .modal-close:hover {
  transform: scale(1.1);
}

.hero-right-video-modal .video-frame {
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: black;
} 