@media (max-width: 992px) {
  .promo-listing .flex-col-reverse {
    flex-direction: column;

    
  }
  .promo-listing .flex-col-reverse.space-y-5 > :not([hidden]) ~ :not([hidden]) {
        --tw-space-y-reverse: 0;
        margin-top: calc(32px * calc(1 - var(--tw-space-y-reverse)));
        margin-bottom: calc(32px * var(--tw-space-y-reverse));
  }
  .promo-listing .field-promolink:empty {
    display: none;
  }
}
div.headline-pilbara {
  background: var(--pilbara);
  border-radius: 100px;
  text-align: center;
  padding: 20px;
  max-width: 1000px;
  color: white;
  padding-block: 20px;
  margin-inline: auto;
}
@media (max-width: 992px) {
  div.headline-pilbara {
    border-radius: 20px;
    margin-inline: 20px;
    width: calc(100% - 40px)
  }
}

div.headline-pilbara h1 {
  color: white;
  padding-bottom: 5px;
}
@media (max-width: 992px) {
  div.headline-pilbara h1 {
    padding-bottom: 10px;
  }
}
div.headline-pilbara p {
  color: var(--white75);
}

.overlay-text {
  position: relative;
}

.overlay-text::before {
  content: '';
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0px;
  bottom: 0%;
  background: linear-gradient(180deg, #F2E6D3 5.86%, rgba(242, 230, 211, 0) 99.56%);
  width: 100vw;
  height: 20%;
}

.overlay-text::after {
  content: '';
  background: linear-gradient(360deg, #231F20 0%, rgba(35, 31, 32, 0) 69%);
  width: 100%;
  height: 30%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.overlay-text .rich-text {
  position: absolute;
  bottom: var(--spacing-desktop);
  left: 0;
  padding-inline: var(--spacing-desktop);
  color: white;
  z-index: 2;
}
@media (max-width: 992px) {
  .overlay-text .rich-text {
    bottom: 20px;
    padding-inline: 20px;
  }

  .overlay-text,
  .overlay-text img{
    height: 80vh;
  }
}
.overlay-text .rich-text h1,
.overlay-text .rich-text p {
  color: white;
  text-align: center;
}

/* promo */
/* Remove gap effect on edges by using negative margins */
.promo-grid-2.flex,
main .mirvac-promo-list > div {
  margin-left: calc(var(--gap, 0px) * -1) !important;
  margin-right: calc(var(--gap, 0px) * -1) !important;
  margin-top: calc(var(--gap, 0px) * -1) !important;
  margin-bottom: calc(var(--gap, 0px) * -1) !important;
}

/* For row direction, only counteract left/right */
.promo-grid-2.flex[style*="flex-direction: row"],
.promo-grid-2.flex[style*="flex-direction:row"] {
  margin-left: calc(var(--gap, 0px) * -1) !important;
  margin-right: calc(var(--gap, 0px) * -1) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* For column direction, only counteract top/bottom */
.promo-grid-2.flex[style*="flex-direction: column"],
.promo-grid-2.flex[style*="flex-direction:column"] {
  margin-top: calc(var(--gap, 0px) * -1) !important;
  margin-bottom: calc(var(--gap, 0px) * -1) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 992px) {
  .promo-grid-2.flex {
    flex-direction: row;
  }
}
@media (max-width: 992px) {
  .promo-grid-2.flex {
    flex-direction: column;
  }
}

div .logo-gallery-3 {
  padding: 25px 40px;
  background: rgba(255, 255, 255, 0.1);
}

main .mirvac-promo-list {
  padding-block: 40px;
}

.promo .btn-filled {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

@media (min-width: 992px) {
  .logo-gallery-3 > div {
    align-items: center;
  }

  main .mirvac-promo-list {
    padding-block: 60px;
  }

  .-theme--textLink.promo .field-promolink {
    width: 22%;
  }

  .theme--rowReverse .bell-icon.top-right::after {
    margin-right: -100px;
  }

  .promo .btn-filled {
    width: 250px;
  }

  .promo a {
    font-family: var(--secondaryFont);
  }
}

.mq-tab-content {
  color: white;
}

.mirvac-promo-list li a {
  color: var(--red);
}

.promo-listing .field-promoicon {
  position: relative;
}

.promo-listing .field-promoicon .icon-2 {
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.-theme--rowReverse.promo-listing .field-promoicon .icon-2,
.-theme--imageText.promo-listing .field-promoicon .icon-2 {
  left: unset;
  right: 30px;
}

div.small-promo {
  overflow: hidden;
  margin-top: 60px;
}

div.small-promo .btn-filled {
  color: var(--plum);
  background: var(--sandstone);
  border: none;
}

div.small-promo p {
  color: white !important;
}

div .small-promo::before {
  display: none;
}

div .small-promo > div::before {
  right: 400px;
  bottom: 0;
  top: -10px;
  z-index: -1;
}

@media (max-width: 768px) {
  div.small-promo {
    margin-top: 30px;
    margin-inline: 20px;
    width: calc(100% - 40px);
  }

  div .small-promo > div::before {
    top: 20px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 65vw;
    background-size: 100%;
    height: 100%;
    z-index: -1;
  }
}
