/* Static conversion overrides for non-WordPress runtime. */
.static-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1f2a1d;
  color: #fff;
}
.static-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: staticHeroFade 12s infinite;
  background-position: center;
  background-size: cover;
}
.static-hero__slide:nth-child(2) {
  animation-delay: 6s;
}
.static-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(0,0,0,.1));
}
.static-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  min-height: 390px;
  margin: 0 auto;
}
.static-hero__panel {
  position: absolute;
  left: 0;
  top: 50%;
  width: min(680px, 100%);
  min-height: 350px;
  transform: translateY(-50%);
  padding: 34px 44px 5px;
  border-radius: 8px;
  background: #61b22f;
  color: #fff;
  opacity: 0;
  animation: staticHeroContentFade 12s infinite;
}
.static-hero__panel:nth-child(2) {
  animation-delay: 6s;
}
.static-hero__panel::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 58px;
  bottom: 42px;
  border: 2px solid rgba(255,255,255,.92);
  pointer-events: none;
}
.static-hero__eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 44px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}
.static-hero__eyebrow::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.92);
}
.static-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 590px;
  margin: 0 0 26px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 700;
  color: #fff;
}
.static-hero h1 strong {
  color: #ffe700;
}
.static-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 0 0 34px;
  font-size: 24px;
  line-height: 1.45;
  color: rgba(255,255,255,.96);
}
.static-hero__button {
  position: relative;
  z-index: 1;
  display: inline-block;
  min-width: 180px;
  padding: 10px 30px;
  border: 2px solid #ffe700;
  border-radius: 3px;
  background: #ffe700;
  color: #111;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  text-transform: uppercase;
}
.static-hero__button:hover,
.static-hero__button:focus {
  color: #fff;
  background: transparent;
}
@keyframes staticHeroFade {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes staticHeroContentFade {
  0%, 42% { opacity: 1; }
  48%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
.converted-contact-form .form-row {
  margin-bottom: 14px;
}
.converted-contact-form .form-row--inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.converted-contact-form input,
.converted-contact-form textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  padding: 13px 14px;
  font-size: 14px;
  background: #fff;
  color: #333;
}
.converted-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.converted-contact-form .hidden-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.converted-contact-form button {
  border: 0;
  background: #66b132;
  color: #fff;
  padding: 13px 24px;
  font-weight: 700;
  text-transform: uppercase;
}
.form-status-message {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #66b132;
  background: #f2f8ee;
  color: #2b481d;
}
.form-status-message.is-error {
  border-left-color: #b13232;
  background: #fff2f2;
  color: #6d1e1e;
}
@media (max-width: 767px) {
  .static-hero { min-height: 560px; }
  .static-hero__content {
    width: min(100% - 30px, 1120px);
    min-height: 430px;
  }
  .static-hero__panel {
    width: 100%;
    min-height: 390px;
    padding: 26px 24px 30px;
  }
  .static-hero__panel::before {
    left: 18px;
    right: 18px;
    top: 52px;
    bottom: 28px;
  }
  .static-hero__eyebrow {
    gap: 10px;
    margin-bottom: 34px;
    font-size: 16px;
  }
  .static-hero h1 {
    font-size: 30px;
    line-height: 1.24;
  }
  .static-hero__copy {
    font-size: 16px;
    line-height: 1.5;
  }
  .static-hero__button {
    min-width: 150px;
    padding: 13px 22px;
  }
  .converted-contact-form .form-row--inline { grid-template-columns: 1fr; }
}

/* Gallery fix: keep CubePortfolio gallery images from stretching vertically. */
.wprt-galleries-grid .item-wrap img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.wprt-galleries-grid .cbp-item,
.wprt-galleries-grid .cbp-item-wrapper,
.wprt-galleries-grid .item-wrap {
  overflow: hidden;
}
