.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1564 .elementor-element.elementor-element-cf60411 .widget-image-caption{text-align:left;}.elementor-1564 .elementor-element.elementor-element-7ce7f6c .widget-image-caption{text-align:left;}.elementor-1564 .elementor-element.elementor-element-93bc7c4 .widget-image-caption{text-align:left;}.elementor-1564 .elementor-element.elementor-element-835c497 .widget-image-caption{text-align:left;}/* Start custom CSS for html, class: .elementor-element-5b8c19a *//* === News Grid Styling === */

.news-grid {
  text-align: center;
  margin: 80px auto;
}

.news-grid h2 {
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 40px;
  color: #000;
}

/* Grid layout */
.grid_news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

/* Card container */
.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dark gradient overlay for readability */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

/* Hover effect */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Text details */
.card__details {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  padding: 20px;
  text-align: left;
}

/* Heading inside card */
.card__heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

/* Subheading/paragraph inside card */
.card__subheading {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  color: #f1f1f1;
}

/* Icon (optional small arrow) */
.card__details__icon {
  display: none; /* Hide if not needed */
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card {
    height: 320px;
  }
  .card__heading {
    font-size: 16px;
  }
  .card__subheading {
    font-size: 13px;
  }
}/* End custom CSS */