/* Hero Section Block Styles */
.hero-section-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Background overlay for background images */
.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

/* Ensure content is above overlay */
.hero-container {
  position: relative;
  z-index: 2;
}

/* Height variations */
.hero-section-block.hero-height-auto {
  min-height: auto;
  padding: 4rem 0;
}

.hero-section-block.hero-height-small {
  height: 400px;
  min-height: 400px;
}

.hero-section-block.hero-height-medium {
  height: 600px;
  min-height: 600px;
}

.hero-section-block.hero-height-large {
  height: 800px;
  min-height: 800px;
}

.hero-section-block.hero-height-full {
  height: 100vh;
  min-height: 100vh;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

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

.hero-heading {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  position: relative;
}

.hero-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, currentColor 0%, transparent 100%);
  opacity: 0.3;
}

.hero-sub-heading {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.hero-sub-heading p {
  margin: 0 0 1rem 0;
}

.hero-sub-heading p:last-child {
  margin-bottom: 0;
}

.hero-image {
  flex: 1;
  height: 100%;
  min-height: 300px;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

/* Content alignment variations */
.hero-section-block.hero-content-left .hero-text-content {
  text-align: left;
}

.hero-section-block.hero-content-center .hero-text-content {
  text-align: center;
}

.hero-section-block.hero-content-center .hero-heading::after {
  left: 50%;
  transform: translateX(-50%);
}

.hero-section-block.hero-content-right .hero-text-content {
  text-align: right;
}

.hero-section-block.hero-content-right .hero-heading::after {
  left: auto;
  right: 0;
}

/* Image position variations */
.hero-section-block.hero-image-left .hero-container {
  flex-direction: row-reverse;
}

.hero-section-block.hero-image-right .hero-container {
  flex-direction: row;
}

/* Special styling for medium height */
.hero-section-block[data-height="medium"] .hero-container {
  align-items: stretch;
}

.hero-section-block[data-height="medium"] .hero-content {
  justify-content: center;
}

.hero-section-block[data-height="medium"] .hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section-block[data-height="medium"] .hero-image-wrapper {
  width: 100%;
  height: 80%;
  max-height: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    gap: 3rem;
  }
  
  .hero-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .hero-section-block.hero-image-left .hero-container,
  .hero-section-block.hero-image-right .hero-container {
    flex-direction: column;
  }
  
  .hero-section-block.hero-reverse .hero-container {
    flex-direction: column-reverse;
  }
  
  .hero-section-block.hero-height-small,
  .hero-section-block.hero-height-medium,
  .hero-section-block.hero-height-large,
  .hero-section-block.hero-height-full {
    height: auto;
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-heading::after {
    width: 40px;
    height: 2px;
  }
  
  .hero-sub-heading {
    font-size: 1rem;
  }
  
  .hero-image {
    width: 100%;
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  
  .hero-heading {
    font-size: 1.75rem;
  }
  
  .hero-image {
    height: 200px;
    min-height: 200px;
  }
}

/* ACF Block Placeholder Styles */
.acf-block-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  text-align: center;
  color: #6c757d;
}

.acf-block-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.acf-block-placeholder-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #495057;
}

.acf-block-placeholder-instructions {
  font-size: 0.875rem;
  opacity: 0.8;
}