/* ESG — scoped to .page-esg (reference: eveairmobility.com/esg/) */

.page-esg main {
  overflow-x: hidden;
}

.page-esg .grid-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-esg .grid-x {
  display: flex;
  flex-flow: row wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.page-esg .grid-padding-x > .cell {
  padding-left: 10px;
  padding-right: 10px;
}

.page-esg .cell {
  flex: 0 0 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

@media print, screen and (min-width: 64em) {
  .page-esg .large-12 {
    width: 100%;
  }
}

.page-esg .mb-50 {
  margin-bottom: 50px !important;
}

.page-esg .mb-100 {
  margin-bottom: 100px;
}

.page-esg .entry-subtitle.green {
  color: var(--eve-page-accent, var(--eve-color-green));
}

.page-esg .entry-content-fix {
  font-size: 16px;
  line-height: 30px;
  color: #262626;
}

.page-esg .entry-content-fix p {
  margin: 0 0 24px;
}

.page-esg .entry-content-fix h3 {
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 16px;
  color: #262626;
}

.page-esg .entry-content-fix h3.green {
  color: var(--eve-page-accent, var(--eve-color-green));
}

.page-esg .entry-content-fix ul {
  margin: 0 0 24px;
  padding-left: 1.25rem;
}

.page-esg .entry-content-fix li {
  margin-bottom: 8px;
}

/* —— CTAs —— */
.page-esg .entry-content-fix .cta a,
.page-esg .esg-report__links .cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-page-accent, var(--eve-color-green));
  text-decoration: none;
}

.page-esg .entry-content-fix .cta a:hover,
.page-esg .entry-content-fix .cta a:focus-visible,
.page-esg .esg-report__links .cta a:hover,
.page-esg .esg-report__links .cta a:focus-visible {
  text-decoration: none;
  color: var(--eve-page-accent, var(--eve-color-green));
}

.page-esg .entry-content-fix .cta .arrow.--green,
.page-esg .esg-report__links .cta .arrow.--green {
  display: inline-block;
  width: 15px;
  height: 16px;
  flex-shrink: 0;
  background: var(--eve-page-accent-arrow, url("/img/arrow-green.svg")) no-repeat center / 14px;
  transform: rotate(270deg);
}

/* —— Timeline (reference: #start .entry-main .timeline.mb-100) —— */
.page-esg .timeline.mb-100 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  margin: 120px 0 100px;
  width: auto;
}

.page-esg .timeline-item {
  position: relative;
  overflow: visible;
  padding-left: 0;
}

.page-esg .timeline-item > span {
  position: absolute;
  top: -38px;
  left: 0;
  display: block;
  font-family: Roboto, Arial;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: rgb(72, 79, 81);
  margin: 0;
}

.page-esg .timeline-item h3 {
  font-family: var(--eve-font-display-regular);
  font-size: 40px;
  line-height: 32px;
  font-weight: 400;
  text-align: initial;
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1.6px solid var(--eve-color-purple);
  color: rgb(72, 79, 81);
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.page-esg .timeline-item h3 img {
  position: absolute;
  bottom: -6px;
  right: -6px;
  left: auto;
  top: auto;
  width: 16px;
  height: 9px;
  max-width: none;
  transform: none;
  pointer-events: none;
}

.page-esg .timeline-item:nth-of-type(3) h3 img {
  transform: rotate(90deg);
}

.page-esg .timeline-item [data-field="body"] {
  margin: 0;
  padding: 0;
}

.page-esg .timeline-item ul,
.page-esg .timeline-item ul.no-bullet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 0 16px;
  margin-left: 0;
  padding: 0 80px 0 0;
  list-style: none;
  color: rgb(72, 79, 81);
}

.page-esg .timeline-item ul li {
  font-size: 16px;
  line-height: 23px;
  color: rgb(72, 79, 81);
  margin: 0;
}

.page-esg .timeline-item ul li p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.page-esg .timeline-item .evetol {
  display: block;
  width: 300px;
  max-width: none;
  height: auto;
  position: absolute;
  top: -165px;
  left: -20px;
  pointer-events: none;
  transform: none;
}

.page-esg .esg-timeline.entry-main {
  padding: 80px 0 0;
}

@media screen and (max-width: 850px) {
  .page-esg .timeline.mb-100 {
    grid-template-columns: 1fr;
    margin: 0 0 50px;
  }

  .page-esg .timeline-item {
    padding-left: 0;
    margin-bottom: 24px;
  }

  .page-esg .timeline-item > span {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 16px;
  }

  .page-esg .timeline-item h3 {
    font-size: 35px;
    line-height: 28px;
    font-weight: 400;
  }

  .page-esg .timeline-item ul,
  .page-esg .timeline-item ul.no-bullet {
    padding: 0 !important;
  }

  .page-esg .timeline-item .evetol {
    top: 0;
    left: 0;
    position: relative;
    width: 100%;
    max-width: 220px;
    margin-bottom: 16px;
  }

  .page-esg .timeline-item:nth-of-type(3) h3 img {
    display: none;
  }
}

/* —— Report band (reference: .entry-main .report-main + img + .report-content) —— */
.page-esg .esg-report.entry-main,
.page-esg .esg-report {
  margin: 0;
  padding: 0;
}

.page-esg .report-main {
  position: relative;
  padding: 100px 0;
  margin: 40px 0;
  overflow: hidden;
}

.page-esg .report-main > img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.page-esg .report-content {
  position: relative;
  z-index: 1;
}

.page-esg .report-main h2 {
  font-family: var(--eve-font-display-extralight);
  font-size: 48px;
  line-height: 54px;
  font-weight: 800;
  margin: 0 0 20px;
  color: rgb(72, 79, 81);
  text-align: start;
}

.page-esg .report-main .report-content > .grid-container > .grid-x > .cell > p {
  font-family: Roboto, Arial;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  margin: 0 0 16px;
  color: rgb(72, 79, 81);
  text-align: start;
}

.page-esg .report-main .report-cta {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  margin: 40px 0 0;
}

/* Reference /esg/: report PDF links — Clash Grotesk 14px bold, body gray; arrow stays teal */
.page-esg .report-main .report-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--eve-font-display-regular);
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  color: rgb(72, 79, 81);
  text-decoration: none;
}

.page-esg .report-main .report-cta a:hover,
.page-esg .report-main .report-cta a:focus-visible {
  color: rgb(72, 79, 81);
  text-decoration: none;
}

.page-esg .report-main .report-cta a img,
.page-esg .report-main .report-cta a svg {
  flex-shrink: 0;
  width: 17px;
  height: 16px;
  margin: 0;
}

/* Report link text stays body gray; the inline arrow (stroke="currentColor") follows the page accent */
.page-esg .report-main .report-cta a svg {
  color: var(--eve-page-accent, var(--eve-color-green));
}

/* —— Document library (reference: .library + .lib-wrap + .lib-item) —— */
.page-esg .esg-documents.entry-main,
.page-esg .esg-documents {
  margin: 0;
  padding: 0 0 100px;
}

.page-esg .esg-documents .library {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
}

@media screen and (min-width: 1170px) {
  .page-esg .esg-documents .library {
    grid-template-columns: repeat(7, 150px);
    justify-content: center;
  }
}

.page-esg .esg-documents .lib-wrap {
  position: relative;
  min-width: 0;
}

.page-esg .esg-documents .lib-wrap > span {
  display: block;
  height: 30px;
  margin: 17px 0 20px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
  color: rgb(72, 79, 81);
}

.page-esg .esg-documents .lib-wrap > span:empty {
  visibility: hidden;
}

.page-esg .esg-documents .lib-item {
  position: relative;
  display: block;
  height: 250px;
  overflow: hidden;
  border-radius: 7px;
  text-decoration: none;
  color: inherit;
}

.page-esg .esg-documents .lib-item:hover,
.page-esg .esg-documents .lib-item:focus-visible {
  text-decoration: none;
}

.page-esg .esg-documents .lib-item:hover img {
  opacity: 0.92;
}

.page-esg .esg-documents .lib-item img {
  display: inline-block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
  transition: opacity 0.2s ease;
}

.page-esg .esg-documents .lib-item h3 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 80px 20px 20px;
  font-family: var(--eve-font-display-extralight), Arial, sans-serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent 0%, #000 100%);
}

/* —— Footer: shared green rules live in footer.css (body[data-page-accent="green"]); ESG-only extras below —— */
/* Reference footer-green: brand is in line-footer-2 only; .footer_1_logo stays hidden */
.page-esg[data-page-accent="green"] .site-footer .footer_1_logo {
  opacity: 0;
}

.page-esg[data-page-accent="green"] .site-footer .footer_2_social .social-label {
  color: var(--eve-color-text, #484f51);
}

@media screen and (max-width: 850px) {
  .page-esg .report-main {
    padding: 0;
    margin: 40px 0;
  }

  .page-esg .report-main > img {
    position: relative;
    display: block;
    border-radius: 10px;
    margin: 0 0 25px;
    height: 120px;
    width: 100%;
    object-fit: cover;
  }

  .page-esg .report-main h2 {
    font-size: 32px;
    line-height: 35px;
  }

  .page-esg .report-main .report-content > .grid-container > .grid-x > .cell > p {
    font-size: 14px;
    line-height: 20px;
  }

  .page-esg .report-main .report-cta {
    margin-top: 30px;
  }

  .page-esg .esg-timeline.entry-main {
    padding: 40px 20px 0;
  }

  .page-esg .esg-documents.entry-main,
  .page-esg .esg-documents {
    padding: 0 20px 100px;
  }

  .page-esg .esg-documents .library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .page-esg .esg-documents .lib-wrap > span {
    height: auto;
    min-height: 0;
    margin: 0;
    line-height: 1.2;
  }

  .page-esg .esg-documents .lib-wrap > span:not(:empty) {
    height: auto;
    margin: 0 0 10px;
    visibility: visible;
    font-size: 16px;
    line-height: 30px;
  }

  .page-esg .esg-documents .lib-wrap > span:empty {
    display: none;
  }

  .page-esg[data-page-accent="green"] .site-footer .line-footer.line-footer--mobile {
    display: block;
  }

  .page-esg .mb-100 {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 700px) {
  .page-esg .timeline.mb-100 {
    margin-top: 0;
  }

  .page-esg .esg-documents .library {
    gap: 14px;
  }

  .page-esg .esg-documents .lib-item {
    height: 210px;
  }

  .page-esg .esg-documents .lib-item img {
    height: 210px;
  }

  .page-esg .esg-documents .lib-item h3 {
    font-size: 16px;
    line-height: 18px;
    padding: 14px;
  }
}

@media screen and (max-width: 639px) {
  .page-esg[data-page-accent="green"] .site-footer .line-footer--mobile {
    display: none;
  }
}
