/* ===============================
   SUSTAINABILITY ZIGZAG LEFT
=============================== */

/* SECTION WRAPPER */
.sustainability-zigzag-left {
  width: 100%;
  padding: 4rem 2rem 2rem; /* consistent with other modules */
  box-sizing: border-box;
}

/* INNER 2-COLUMN LAYOUT USING GRID */
.sustainability-zigzag-inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch; /* left column matches right column height */
}

/* LEFT COLUMN */
.szl-left {
  display: flex;
  flex-direction: column;
}

.szl-heading {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2rem;
}

.szl-subheading {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
  padding-bottom: 0.5rem;
}

/* Image wrapper fills remaining space */
.szl-image-wrapper {
  flex-grow: 1;
  width: 100%;
}

.szl-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* RIGHT COLUMN – BOXED ITEMS */
.szl-right {
  display: flex;
  flex-direction: column;
}

.szl-box {
  border-top: 6px solid var(--accent-color);
  border-left: 6px solid var(--accent-color);
  border-bottom: 6px solid var(--accent-color);
  border-radius: 20px 0 0 20px;
  padding: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: transparent;
  box-sizing: border-box;
}

.szl-item:last-child {
  margin-bottom: 0;
}

.szl-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.szl-item-icon {
  width: 48px;
  height: auto;
}

.szl-item-subheading {
  font-size: 18px;
  font-weight: 600;
}

.szl-item-content {
  line-height: 1.6;
}

/* ===============================
   MOBILE LAYOUT
=============================== */
@media (max-width: 900px) {
  .sustainability-zigzag-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .szl-left,
  .szl-right {
    width: 100%;
  }

  /* Section image as rectangle (40-60% height of right box) */
  .szl-image-wrapper {
    width: 100%;
    height: 0; /* JS will set dynamic height */
    position: relative;
  }

  .szl-image-wrapper img,
  .szl-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }

  .szl-box {
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .szl-item {
    margin-bottom: 0;
  }
  
  .sustainability-zigzag-left {
    padding: 1rem 2rem;
  }
