@charset "UTF-8";
/******************************************
Section | Image Overlap (image_overlap)
Figma: Page Consolidation > "Sustainability" (node 149:662)
******************************************/
/**************************************************
Stylesheet: Design Tokens (ECOVA page components)

Source of truth: Figma "Page Consolidation" variables. Values are kept
verbatim from Figma and intentionally NOT reconciled with
sass/theme/_theme_variables.scss (see the palette note in the build plan).

Usage from a component stylesheet (components/{name}/{name}.scss):
  @use "../../library/variables/tokens" as *;
  @use "../../library/mixins/mixins" as *;
(@import also works but is deprecated in Dart Sass and removed in 3.0.)

Do NOT use font-secondary() or font-proxima() from the mixins partial:
neither font family is loaded on the site. Use the type() mixin below.
**************************************************/
/*******************
PALETTE
********************/
/*******************
TYPE — Inter (loaded by the theme via Google Fonts)
********************/
/*******************
EFFECTS
********************/
/*******************
BREAKPOINTS — mirror $grid-breakpoints in sass/theme/_theme_variables.scss
********************/
/*******************
LAYOUT — shared section box. Figma page is 1440 wide with 145px margins,
so content is 1150px; the wrapper adds one gutter each side.
********************/
/**************************************************
Stylesheet: Mixins Stylesheet
**************************************************/
/*******************
FONT MIXINS (size, color, weight, line-height)
********************/
/*********************
Column split into X columns
@include column-count(3);
*********************/
/*********************
Column split with px gap
@include column-gap(40px);
*********************/
/*********************
Column split style
@include column-rule-style(solid);
*********************/
/*********************
Column split border
@include column-rule(1px solid #ededed);
*********************/
/*********************
Background gradient 2 color
@include background-gradient($gray, #000);
*********************/
/*********************
Background gradient 3 color
@include accordion-gradient($gray, #000, #666);
*********************/
/*********************
Transform duration by X seconds
@include transition(1.5s);
*********************/
/*********************
Transform Rotate element by x degrees
@include rotate(180);
*********************/
/*********************
Creates a 6px arrow with pure css
@include arrow(#000);
*********************/
/*********************
Clip 10px corner off the bottom right corner
@include cornerclip(#000);
*********************/
/*********************
Clip 3px corner off the bottom right corner
@include cornerclipsmall(#000);
*********************/
/*********************
Clip 10px corner off the top right corner
@include cornercliptop(#000);
*********************/
/*********************
Clip 10px corner off the top left corner
@include cornercliptopleft(#000);
*********************/
/******************************************
Section | Image Overlap (image_overlap)
Figma: Page Consolidation > "Sustainability" (node 149:662)
******************************************/
/**************************************************
Stylesheet: Shared UI mixins for page components
Usage (after tokens):  @use "../../library/mixins/ui" as *;
**************************************************/
section.image-overlap {
  --io-panel: #D5D8C7;
}
section.image-overlap[data-background=white] {
  --io-panel: #FFFFFF;
}
section.image-overlap[data-background=stonewood] {
  --io-panel: #D8D6D3;
}
section.image-overlap[data-background=evergreen] {
  --io-panel: #4F5C41;
}
section.image-overlap[data-background=evergreen] .heading, section.image-overlap[data-background=evergreen] .body {
  color: #FFFFFF;
}
section.image-overlap {
  background: #FFFFFF;
  padding: 80px 0;
}
section.image-overlap .inner-wrapper {
  max-width: 1042px;
  margin-inline: auto;
}
section.image-overlap .inner {
  position: relative;
  display: grid;
  grid-template-columns: 61fr minmax(0, 432fr) 66fr minmax(0, 483fr);
  align-items: center;
  min-height: 544px;
}
section.image-overlap .inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 79.65%;
  background: var(--io-panel);
}
section.image-overlap .content {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
}
section.image-overlap .media {
  position: relative;
  grid-column: 4;
  grid-row: 1;
}
section.image-overlap .media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 483/406;
  object-fit: cover;
}
section.image-overlap[data-fit=contain] .media img {
  object-fit: contain;
}
section.image-overlap[data-media-position=left] .inner {
  grid-template-columns: minmax(0, 483fr) 66fr minmax(0, 432fr) 61fr;
}
section.image-overlap[data-media-position=left] .inner::before {
  left: auto;
  right: 0;
}
section.image-overlap[data-media-position=left] .content {
  grid-column: 3;
}
section.image-overlap[data-media-position=left] .media {
  grid-column: 1;
}
section.image-overlap .heading {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #4F5C41;
  margin: 0;
}
section.image-overlap .body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.16px;
  color: #0F0F0F;
}
section.image-overlap .body p {
  margin: 0 0 1em;
}
section.image-overlap .body > :last-child {
  margin-bottom: 0;
}
section.image-overlap .button-primary {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: 0;
  background: #003A60;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
section.image-overlap .button-primary:hover, section.image-overlap .button-primary:focus {
  background: rgb(0, 103.0225, 170.52);
  color: #FFFFFF;
  text-decoration: none;
}
section.image-overlap .button-primary:focus-visible {
  outline: 2px solid #00929D;
  outline-offset: 2px;
}
@media (max-width: 991.98px) {
  section.image-overlap {
    padding: 60px 0;
  }
  section.image-overlap .inner, section.image-overlap[data-media-position=left] .inner {
    display: block;
    min-height: 0;
  }
  section.image-overlap .inner::before, section.image-overlap[data-media-position=left] .inner::before {
    display: none;
  }
  section.image-overlap .content, section.image-overlap[data-media-position=left] .content {
    background: var(--io-panel);
    padding: 48px 30px;
  }
  section.image-overlap .media img {
    aspect-ratio: 483/406;
  }
}
@media (max-width: 781.98px) {
  section.image-overlap {
    padding: 40px 0;
  }
  section.image-overlap .content {
    padding: 36px 24px;
  }
  section.image-overlap .heading {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
  }
}
