/* Image Text Lockup
	====================== */

.image-text-lockup {
  position: relative;
}

.image-text-lockup img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.single-column-image-text img {
  width: 100%;
}

.diagonal-bottom + .blue-background {
  background: transparent;
}

.diagonal-bottom .grid-container {
  position: relative;
  z-index: 1;
}

.image-text-lockup.diagonal-bottom.flip-diagonal .arrow-slider-background {
  @media (max-width: 1400px) {
    top: 100px;
  }
  @media (max-width: 1700px) {
    top: 130px;
  }
}

.image-text-lockup.diagonal-bottom.flip-diagonal .image-text-copy-container {
  @media (max-width: 50em) {
    color: white;
  }
}

.image-text-lockup.diagonal-bottom.flip-diagonal .arrow-slider-background svg {
  transform: scaleX(-1);
}

.image-text-lockup.diagonal-bottom.flip-diagonal .h3 {
  @media (max-width: 50em) {
    text-align: right;
  }
}

.bold-headings strong {
  text-transform: uppercase;
  font-size: 120%;
}

.image-text-lockup .offset-image {
  margin-top: -35%;
}

.image-text-lockup .large-blue-heading {
  font-size: 40px;
}

.image-text-lockup.white .larger-heading {
  color: var(--blue);
  line-height: 1;
}

.image-text-lockup.blue-background .larger-heading {
  color: white;
}

.video-img {
  display: block;
  width: 100%;
}

.single-column-image-text {
  display: grid;
  grid-template-areas:
    "a"
    "b"
    "c";
}

.single-column-image-text.has-custom-content-above-image {
  grid-template-areas:
    "a"
    "b"
    "c"
    "d";
}

.image-text-custom-content {
  margin-bottom: 15px;
}

/* Image Text Lockup: custom geology key */

.image-text-custom-content .image-text-key {
  padding: 18px 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  box-shadow: 0 12px 25px rgb(0 0 0 / 30%);
  margin-bottom: 30px;
  @media (min-width: 64em) {
    margin-bottom: 50px;
  }
}

.image-text-custom-content .image-text-key__heading {
  margin: 0;
}

.image-text-custom-content .image-text-key__rule {
  height: 1px;
  margin: 15px 0 20px;
  background: var(--blue, #215cf3);
}

.image-text-custom-content .image-text-key__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.image-text-custom-content .image-text-key__list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.image-text-custom-content .image-text-key__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.image-text-custom-content .image-text-key__swatch {
  display: flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 18px;
}

.image-text-custom-content .image-text-key__swatch--carbonates {
  background: #9a9a9a;
}

.image-text-custom-content .image-text-key__swatch--mineralised-carbonates {
  background: #95db95;
}

.image-text-custom-content .image-text-key__swatch--proterozoic-granite {
  color: #000;
  background: #d2281d;
}

.image-text-custom-content .image-text-key__swatch--rhyolite {
  background: #fbb03b;
}

.image-text-custom-content .image-text-key__swatch--shear-zone {
  position: relative;
  height: 24px;
  background: #9fdfb6;
  border-radius: 999px;
}

.image-text-custom-content .image-text-key__swatch--shear-zone::after {
  position: absolute;
  right: 10px;
  left: 10px;
  height: 2px;
  content: "";
  background: #000;
}

@media screen and (max-width: 49.99875em) {
  .image-text-key__label {
    font-size: 12px;
  }
}

.image-text-lockup.blue-background
  + .image-text-lockup.blue-background
  .tabs-slider-background {
  display: none !important;
}

.single-column-image-text .button {
  width: fit-content;
  margin: 20px auto;
}

.image-text-lockup.diagonal-bottom small,
.image-text-lockup.blue-background small {
  color: white;
}

.image-text-lockup .cell:last-of-type .image-caption {
  text-align: right;
}

#document-popup-container {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  background: white;
  transform: translate(-50%, -50%);
  width: 640px;
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 60px);
  overflow: scroll;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0px 0px 0px 0px rgba(0, 0, 0, 0.1),
    0px 11px 23px 0px rgba(0, 0, 0, 0.1),
    0px 43px 43px 0px rgba(0, 0, 0, 0.09),
    0px 96px 58px 0px rgba(0, 0, 0, 0.05),
    0px 171px 68px 0px rgba(0, 0, 0, 0.01),
    0px 267px 75px 0px rgba(0, 0, 0, 0);
  padding: 15px;
  border-radius: 8px;
  outline: none !important;
  transition: all 0.4s cubic-bezier(0.33333, 0, 0.66667, 0.33333);
}

#document-popup-container.open {
  opacity: 1;
  pointer-events: all;
}

@media screen and (max-width: 2075px) {
  #post-22 .arrow-slider-background {
    top: 0;
  }
}

@media screen and (max-width: 1700px) {
  #post-22 .arrow-slider-background {
    top: 60px;
  }
}

@media screen and (max-width: 1450px) {
  #post-22 .arrow-slider-background {
    top: 120px;
  }
}

@media screen and (max-width: 1250px) {
  #post-22 .arrow-slider-background {
    top: 210px;
  }
}

@media screen and (max-width: 1150px) {
  #post-22 .arrow-slider-background {
    top: 270px;
  }
}

@media screen and (max-width: 850px) {
  #post-22 .arrow-slider-background {
    top: 330px;
  }
}

/* Medium and up */
@media screen and (min-width: 50em) {
  #document-popup-container {
    padding: 25px;
  }
  #map.image-text-lockup .h3 {
    margin-bottom: 45px;
  }
  #map .image-text-copy-container {
    display: none;
  }
  #regulatory-strategic-drivers img {
    width: 63vw;
    max-width: unset;
    position: absolute;
    bottom: -30px;
    right: 0;
  }
  .image-text-lockup.blue-background + .image-text-lockup.blue-background {
    padding-top: 0px;
  }
  .image-text-lockup.blue-background {
    z-index: 2;
  }
  .image-text-lockup .h3 {
    margin-bottom: 25px;
  }
  .single-column-image-text .section-numbered-heading {
    grid-area: a;
  }

  .single-column-image-text .image-text-copy-container {
    grid-area: c;
  }

  .single-column-image-text.has-custom-content-above-image
    .image-text-copy-container {
    grid-area: d;
  }

  .single-column-image-text .image-text-custom-content {
    grid-area: b;
  }

  .single-column-image-text picture,
  .single-column-image-text video,
  .single-column-image-text img {
    grid-area: b;
    margin-bottom: 15px;
  }

  .single-column-image-text.has-custom-content-above-image picture,
  .single-column-image-text.has-custom-content-above-image video,
  .single-column-image-text.has-custom-content-above-image img {
    grid-area: c;
  }
}

/* Large and up */
@media print, screen and (min-width: 64em) {
  #regulatory-strategic-drivers img {
    width: 65vw;
    bottom: -60px;
  }
  .image-text-lockup .button {
    margin-top: 30px;
  }
  .image-text-lockup .larger-heading {
    font-size: 50px;
  }
}

/* Really Large and up */
@media print, screen and (min-width: 84em) {
  #regulatory-strategic-drivers img {
    width: 58vw;
  }
}

/* Really Large and up */
@media print, screen and (min-width: 95em) {
  #regulatory-strategic-drivers img {
    width: 50vw;
  }
}

/* Really Large and up */
@media print, screen and (min-width: 120em) {
  #regulatory-strategic-drivers img {
    width: 900px;
  }
}

/* Small only */
@media screen and (max-width: 49.99875em) {
  .image-text-lockup img {
    margin-bottom: 20px;
  }
  .svg-text-svg-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  /* .image-text-lockup:not(.diagonal-bottom):not(#map):not(#presentation) img,
  .image-text-lockup video {
    margin-left: -0.9375rem;
    width: calc(100% + 1.875rem);
    max-width: unset;
    margin-bottom: 20px;
  } */
  .image-text-lockup .offset-image {
    margin-top: -180px;
  }
  .image-text-lockup .offset-image img {
    aspect-ratio: 1 / 1.3;
    object-fit: cover;
  }
  .image-text-lockup .button,
  .corporate-governance .button {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  .image-text-lockup.white + .image-text-lockup.white,
  .image-text-lockup.white + .image-text-lockup.blue-background,
  .image-text-lockup.blue-background + .image-text-lockup.white {
    padding-top: 0;
    padding-bottom: 10px;
  }
  .image-text-lockup .arrow-slider-background,
  .image-text-lockup .tabs-slider-background {
    display: block !important;
  }
  #post-22 .image-text-lockup:not(#map) .show-for-small-only {
    display: none !important;
  }
  #post-22 .image-text-lockup .small-order-1 {
    order: 2;
  }
  #post-22 .image-text-lockup .small-order-2 {
    order: 1;
  }
  #post-22 .image-text-lockup.diagonal-bottom .arrow-slider-background {
    top: unset;
    bottom: 410px;
  }
  #regulatory-strategic-drivers img {
    margin-bottom: -40px !important;
    padding-left: 50px;
  }
  #regulatory-strategic-drivers {
    margin-bottom: 60px;
  }
  .image-text-lockup .single-column-image-text .h3 {
    grid-area: a;
  }
  .image-text-lockup .single-column-image-text .image-text-copy-container {
    grid-area: c;
  }
  .image-text-lockup .single-column-image-text picture,
  .image-text-lockup .single-column-image-text img {
    grid-area: b;
  }
}

/* Image Text Lockup: download link */

.image-text-lockup .image-text-download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 30px;
  color: var(--blue);
  text-decoration: none;
  font-family: "Jura", sans-serif;
  text-transform: uppercase;
  @media (min-width: 64em) {
    margin-top: 45px;
  }
}

.image-text-lockup .image-text-download-link__label {
  font-weight: 400;
}

.image-text-lockup .image-text-download-link__action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
}
