/* CATEGORY CARD */
.hero-3 {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
}

/* image wrapper */
.hero-3 .elementor-widget-image,
.hero-3 .elementor-widget-image .elementor-widget-container {
  display: block;
  margin: 0;
  line-height: 0;
}

/* image */
.hero-3 .elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s ease;
}

/* dark overlay over image */
.hero-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.42) 38%,
    rgba(0, 0, 0, 0.10) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* TITLE OVER IMAGE */
.hero-3 .elementor-widget-heading {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 82px;
  z-index: 3;
  margin: 0;
}

.hero-3 .elementor-widget-heading .elementor-heading-title {
  margin: 0;
  display: inline-block;
  padding: 10px 14px 8px;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-3 .elementor-widget-heading .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}

/* BUTTON OVER IMAGE */
.hero-3 .elementor-widget-button {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  margin: 0;
}

.hero-3 .elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: rgba(193, 18, 31, 0.92);
  border: 1px solid #c1121f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* HOVER */
.hero-3:hover .elementor-widget-image img {
  transform: scale(1.06);
}

.hero-3:hover .elementor-widget-button .elementor-button {
  background: #e11d2e;
  border-color: #e11d2e;
  transform: translateY(-2px);
}

/* remove extra spacing from heading/button widgets */
.hero-3 .elementor-widget-heading,
.hero-3 .elementor-widget-button {
  width: auto;
}

/* mobile */
@media (max-width: 767px) {
  .hero-3 .elementor-widget-heading {
    left: 12px;
    right: 12px;
    bottom: 74px;
  }

  .hero-3 .elementor-widget-button {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .hero-3 .elementor-widget-heading .elementor-heading-title {
    font-size: 24px;
    padding: 8px 10px 7px;
  }

  .hero-3 .elementor-widget-button .elementor-button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 11px;
  }
}