/* hero full screen video custom */
.hero-component {
  position: relative;
  width: 100%;
  height: 100vh; /* force full viewport height */
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-component video,
.hero-component img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Overlay choices */
.overlay-dark { background: rgba(0, 0, 0, 0.4); }
.overlay-light { background: rgba(255, 255, 255, 0.25); }

.hero-content {
  max-width: 800px;
  padding: 2rem;
  margin: 0 auto;
}

/* Two CTA placements; we toggle visibility via the parent class */
.hero-cta-below { display: none; }
.hero-cta-bottom {
  left: 50%;
  transform: translateX(-50%);
  bottom: 10vh;
  display: none;
}

/* When Button Position = below subhead (center-center) */
.hero-component.btn-pos-below .hero-cta-below { display: block; }
.hero-component.btn-pos-below .hero-cta-bottom { display: none; }

/* When Button Position = center-bottom overlay */
.hero-component.btn-pos-bottom .hero-cta-below { display: none; }
.hero-component.btn-pos-bottom .hero-cta-bottom { display: block; }

.hero-extra {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.hero-content .btn,
.hero-cta-bottom .btn {
  font-size: 1.1rem;
  border-radius: 0.4rem;
}
.hero-cta-below, .hero-cta-bottom { display: none; }                 /* hide both by default */
.hero-component.btn-pos-below  .hero-cta-below  { display:block; }    /* show below-subhead */
.hero-component.btn-pos-bottom .hero-cta-bottom { display:block; }    /* show center-bottom */

/* end of hero full screen custom */

/* checkerboard */
.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* makes it behave like background-size: cover */
  object-position: center; /* keeps image centered */
}
/* end of checkerboard */
