/* Progressive enhancements added by the static build (no WordPress runtime). */

/* Contact form: hidden honeypot + inline status message. */
.gl-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gl-form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gl-form-status:empty {
  display: none;
}

.gl-form-status.is-error {
  color: #b32d2e;
}

.gl-form-status.is-success {
  color: #1f7a3d;
}

.gl-contact-form .gform_button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Keep every blog card thumbnail on the same aspect ratio. */
.nv-blog-grid .posts-wrapper .nv-post-thumbnail-wrap img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  height: auto;
}

/* The homepage Load More is an <a> so it still works without JavaScript. */
a.eael-load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

a.eael-load-more-button[aria-disabled="true"] {
  opacity: 0.7;
  pointer-events: none;
}


/* Responsive guards for the Elementor social list and image gallery. */
.elementor-icon-list-items.elementor-inline-items {
  flex-wrap: wrap !important;
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  .elementor-image-gallery .gallery {
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .elementor-icon-list-items.elementor-inline-items {
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .elementor-icon-list-item.elementor-inline-item {
    margin-left: 6px !important;
    margin-right: 6px !important;
  }

  .elementor-image-gallery .gallery,
  .elementor-image-gallery .gallery-item {
    max-width: 100% !important;
    width: 100% !important;
  }

  .elementor-image-gallery .gallery-item img {
    max-width: 100% !important;
    height: auto !important;
  }
}
