/* UFC 329 — second hero block only (f8c955d) */
.elementor.elementor-273 .elementor-element.elementor-element-f8c955d,
.elementor-element-f8c955d {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 819 / 1024 !important;
  min-height: unset !important;
  max-height: none !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #0a0a0a !important;
  background-image: url("images/ufc-329-hero.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.elementor.elementor-273
  .elementor-element.elementor-element-f8c955d:not(
    .elementor-motion-effects-element-type-background
  ),
.elementor.elementor-273
  .elementor-element.elementor-element-f8c955d
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-image: url("../wp-content/uploads/2026/06/ufc-329-hero.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.elementor-element-f8c955d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 0;
  pointer-events: none;
}

.elementor-element-f8c955d > .elementor-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px !important;
}

.elementor-element-f8c955d .elementor-element-13fc3b2.elementor-invisible,
.elementor-element-f8c955d .elementor-element-41b9149.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

.elementor-element-f8c955d .elementor-heading-title {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.elementor-element-f8c955d .elementor-element-5139c5b {
  padding: 0 !important;
}

.elementor-element-f8c955d .elementor-element-5139c5b .elementor-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.elementor-element-f8c955d .elementor-element-5139c5b .elementor-column {
  width: auto !important;
  flex: 0 1 auto !important;
  max-width: none !important;
}

.elementor-element-f8c955d .elementor-button-wrapper {
  text-align: center !important;
}

.elementor-element-f8c955d .elementor-button-wrapper,
.elementor-element-f8c955d a.elementor-button {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

.elementor-element-f8c955d .elementor-button {
  position: relative;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1024px) {
  .elementor-element-f8c955d.elementor-hidden-mobile,
  .elementor-element-f8c955d.elementor-hidden-tablet {
    display: flex !important;
  }

  .elementor-element-f8c955d .elementor-element-5139c5b .elementor-column {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 320px !important;
  }
}

@media (min-width: 1025px) {
  .elementor-element-f8c955d.elementor-hidden-desktop {
    display: flex !important;
  }

  .elementor-element-f8c955d {
    max-height: min(90vh, 1200px) !important;
    margin: 0 auto;
  }
}
