.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-3021 .elementor-element.elementor-element-579523ae{--display:flex;}.elementor-widget-shortcode .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-shortcode .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-3021 .elementor-element.elementor-element-3010a311{--display:flex;}.elementor-widget-eael-post-grid .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-eael-post-grid .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-eael-post-grid .eael-meta-posted-on{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-eael-post-grid .eael-entry-meta > span{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-eael-post-grid .eael-entry-title, .elementor-widget-eael-post-grid .eael-entry-title a{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-eael-post-grid .eael-grid-post-excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-eael-post-grid .post-meta-categories li, .elementor-widget-eael-post-grid .post-meta-categories li a{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-entry-thumbnail{padding-bottom:calc(1.03 * 100%);height:453px;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-grid-post-holder{background-color:#fff;border-style:none;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-entry-title a{color:#303133;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-entry-title:hover, .elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-entry-title a:hover{color:#23527c;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-grid-post .eael-entry-overlay{background-color:rgba(0,0,0, .75);}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-grid-post .eael-entry-overlay > i{color:#ffffff;font-size:18px;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-grid-post .eael-entry-overlay > img{height:18px;width:18px;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-load-more-button{color:#fff;background:#29d8d8;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-load-more-button:hover{color:#fff;background:#27bdbd;}.elementor-3021 .elementor-element.elementor-element-4b5f0dfe .eael-load-more-button-wrap{justify-content:center;}/* Start custom CSS for eael-post-grid, class: .elementor-element-4b5f0dfe *//* ===== DESKTOP ONLY ===== */
@media (min-width: 1025px) {
    /* ===== EAEL Post Grid – Skin 2 (fixed overlay alignment) ===== */

/* Make each card a positioning context */
.eael-post-grid-style-two .eael-grid-post,
.eael-post-grid-style-two .eael-grid-post-holder {
  position: relative !important;
  overflow: hidden !important;
}

/* Media (image) area: uniform size + anchor for overlay */
.eael-post-grid-style-two .eael-entry-media {
  position: relative !important;
  width: 100% !important;
  height: 500px !important;        /* ✅ fixed height */
  overflow: hidden !important;
}                   /* sits above card but below title */


/* Image covers the box */
.eael-post-grid-style-two .eael-entry-thumbnail img {
  width: 100% !important;
  height: 500px !important;
  object-fit: cover !important;
  display: block !important;
}


/* ✅ Gradient overlay ON THE IMAGE CONTAINER (not the holder) */
.eael-post-grid-style-two .eael-entry-media::after {
  content: "" !important;
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  height: 45%;                    /* adjust depth if you want */
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)) !important;
  z-index: 9 !important;          /* under the title, over the image */
  pointer-events: none !important;
}

/* Title sits at the bottom, above the overlay */
.eael-post-grid-style-two .eael-entry-title {
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  margin: 0 !important;
  padding: 14px 18px !important;
  z-index: 20 !important;
  color: #fff !important;
  line-height: 1.3 !important;

  /* clamp long titles */
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}
.eael-post-grid-style-two .eael-entry-title a {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Remove leftover spacing where title used to live */
.eael-post-grid-style-two .eael-entry-wrapper {
  padding-top: 0 !important;
}

/* Optional hover */
.eael-post-grid-style-two .eael-grid-post-holder:hover .eael-entry-thumbnail img {
  transform: scale(1.04);
  transition: transform .35s ease;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .eael-post-grid-style-two .eael-entry-media { aspect-ratio: 4/3; }
}
@media (max-width: 767px) {
  .eael-post-grid-style-two .eael-entry-media { aspect-ratio: 1/1; }
}

/* Title inside image bottom, with breathing room */
.eael-post-grid-style-two .eael-entry-title {
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  margin: 0 !important;
  padding: 18px 18px 28px 18px !important;  /* ✅ extra bottom padding */
  z-index: 20 !important;
  color: #fff !important;
  line-height: 1.4 !important;

  /* clamp long titles */
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* ---- STOP HOVER JUMP ON EAEL Skin 2 ---- */

/* Keep EAEL's center-crop transform but remove the +1px offsets */
.eael-post-grid-style-two .eael-entry-thumbnail.eael-image-ratio img{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.01) !important;
  transition: transform .35s ease !important;
  will-change: transform;
  backface-visibility: hidden;
}

/* Hover: keep the translate so it doesn’t shift */
.eael-post-grid-style-two .eael-grid-post-holder:hover 
.eael-entry-thumbnail.eael-image-ratio img{
  transform: translate(-50%, -50%) scale(1.05) !important;
}

/* Non-ratio images still get a simple scale */
.eael-post-grid-style-two .eael-grid-post-holder:hover 
.eael-entry-thumbnail:not(.eael-image-ratio) img{
  transform: scale(1.05) !important;
}

/* Optional: lock dimensions so layout never reflows */
.eael-post-grid-style-two .eael-entry-media,
.eael-post-grid-style-two .eael-entry-thumbnail,
.eael-post-grid-style-two .eael-entry-thumbnail > img{
  height: 500px !important;
  width: 100% !important;
  object-fit: cover !important;
  overflow: hidden !important;
}

/* Avoid overlay animation flicker affecting stacking */
.eael-post-grid-style-two .eael-entry-overlay{ transition: none !important; }/* End custom CSS */