/* ======================================================
   BLOCK LAYOUT 1
   Clean grid layout
====================================================== */

.block-layout-1 {
  position: relative;
}



/* ======================================================
   GRID STRUCTURE
====================================================== */

.block-layout-1__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  column-gap: 3rem;

  /* Correct spacing */

  align-items: stretch;

}

/* ======================================================
   LEFT COLUMN
====================================================== */

.block-layout-1__column--left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* Space between text block and square image */



}

/* Text block area (green background) */

.block-layout-1__text-wrapper {
  /* background-color: #2f5d57; */
  padding: 4rem;
  padding-left: var(--edgepad);
  padding-bottom: 3.2rem;
  color: #ffffff;
  max-width: 600px;
}

.block-layout-1__text-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 364px;
  background-color: #2f5d57;
  z-index: -1;
}

/* ======================================================
   RIGHT COLUMN
====================================================== */

.block-layout-1__column--right {
  overflow: hidden;


}

.block-layout-1__column--left img {
  padding-left: var(--edgepad);
}

.block-layout-1__column--right img {
  padding-right: var(--edgepad);
}


/* ======================================================
   IMAGE RESET (Drupal safe)
====================================================== */

.block-layout-1__image,
.block-layout-1__image .field,
.block-layout-1__image .field__item,
.block-layout-1__image .media,
.block-layout-1__image figure,
.block-layout-1__image picture {
  width: 100%;
  height: 100%;
  margin: 0;
}

.block-layout-1__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================
   LEFT SQUARE IMAGE
====================================================== */

.block-layout-1__image--square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* ======================================================
   RIGHT IMAGE (MATCH HEIGHT)
====================================================== */

.block-layout-1__image--full {
  height: 100%;
  overflow: hidden;
}

/* 
#######################
Specific to home page?
####################### */












/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1024px) {

  .block-layout-1__wrapper {
    grid-template-columns: 1fr;
  }

  .block-layout-1__image--full {
    min-height: 420px;
  }

}




/* temp break  */
@media (max-width: 1200px) {

  .block-layout-1__wrapper {
    display: flex;

    img {
      display: none;
    }
  }



}