/*------------------------------------------- Home page ------------------------------------------- */

/* --------- Latest News Section --------- */

/* Make the card act like one unit */
.latest-news-grid {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Image should fill the box */
.latest-news-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title box */
.latest-news-grid .elementor-heading-title {
      background: #fff;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    color: #111;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    position: absolute;
    z-index: 1;
    top: -111%;
}

/* Arrow icon/button */
.latest-news-grid .elementor-widget-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #a84494;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.latest-news-grid .elementor-widget-icon:hover {
  background: #7a2470;
  transform: translateY(-2px);
}


/*  Overall card  */
.featured-post {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/*  Make image fill box + rounded corners  */
.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/*  White caption box  */
.featured-post .elementor-heading-title {
  background: #fff;
  padding: 15px 20px;
  border-radius: 0 0 12px 12px;
  margin: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/*  Arrow icon in the top-right  */
.featured-post .elementor-widget-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: #a84494;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.featured-post .elementor-widget-icon:hover {
  background: #7a2470;
  transform: translateY(-2px);
}

/*  Subtle hover effect for whole card  */
.featured-post:hover img {
  filter: brightness(0.9);
  transition: 0.3s;
}

/* ---------- Custom Button ---------- */


