/*
 * ECO Online Module - subtopic navigation + content presentation
 * (used by the section pages that show subtopics on the left and the active
 * topic's content on the right)
 */

/* ---------- Left panel: numbered subtopic list ---------- */
.eco-topic-nav {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 38, 0.08);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 18px 40px rgba(16, 42, 38, 0.06);
  margin-bottom: 40px;
}

/* the sidebar stacks the topic list and the knowledge-check card */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-sidebar > .eco-topic-nav {
  margin-bottom: 0;
}

.eco-topic-nav > h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;

}

.eco-topic-nav > p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 18px;
}

.eco-topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eco-topic-group {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.55;
  margin: 16px 0 6px 6px;
}

.eco-topic-item {
  margin-bottom: 6px;
}

.eco-topic-item.is-nested {
  padding-left: 10px;
}

.eco-topic-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 14px;
  padding: 9px 0;
  cursor: pointer;
  transition: color 0.25s ease;
  position: relative;
  z-index: 0;
}

.eco-topic-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  right: -12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: -1;
}

.eco-topic-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(63, 170, 152, 0.12);
  color: #2d7d70;
  border: 1px solid rgba(63, 170, 152, 0.25);
  transition: all 0.25s ease;
}

.eco-topic-label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.eco-topic-btn:hover::before {
  background: rgba(63, 170, 152, 0.08);
  border-color: rgba(63, 170, 152, 0.25);
}

.eco-topic-chevron {
  margin-left: auto;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: rgba(4, 42, 45, 0.35);
  transition: color 0.25s ease, transform 0.25s ease;
}

.eco-topic-btn:hover .eco-topic-chevron {
  color: rgba(4, 42, 45, 0.6);
  transform: translateX(2px);
}

.eco-topic-item.is-active .eco-topic-chevron {
  color: #2d7d70;
}

.eco-topic-item.is-visited .eco-topic-num {
  background: #3faa98;
  border-color: #3faa98;
  color: #ffffff;
}

.eco-topic-check {
  width: 16px;
  height: 16px;
  color: #ffffff;
  animation: ecoCheckPop 0.28s ease both;
}

@keyframes ecoCheckPop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.eco-topic-item.is-active .eco-topic-btn::before {
  background: rgba(63, 170, 152, 0.14);
  border-color: rgba(63, 170, 152, 0.35);
}

.eco-topic-item.is-active .eco-topic-label {
  color: #102a26;
  font-weight: 700;
}

.eco-topic-item.is-active .eco-topic-num {
  background: #3faa98;
  border-color: #3faa98;
  color: #ffffff;
}

/* ---------- Right panel: active topic ---------- */
.eco-topic-panel {
  animation: ecoTopicFade 0.35s ease both;
}

@keyframes ecoTopicFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eco-topic-head {
  margin-bottom: 22px;
}

.eco-topic-step {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2d7d70;
  background: rgba(63, 170, 152, 0.12);
  border-radius: 999px;
  padding: 8px 25px 6px 25px;
  margin-bottom: 12px;
}

.eco-topic-head h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-topic-lead {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.85;
  margin: 0;
}

.eco-topic-body p,
.eco-topic-body li {
  font-size: 16px;
  line-height: 1.6;
}

.eco-topic-body h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 22px 0 12px;
}

.eco-topic-body ul {
  padding-left: 0;
  margin-bottom: 18px;
  list-style-position: inside;
}

/* Cards */
.eco-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.eco-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eco-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eco-card {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 38, 0.07);
  border-radius: 16px;
  padding: 26px 28px;
  transition: all 0.25s ease;
}

.eco-card:hover {
  border-color: rgba(63, 170, 152, 0.45);
  transform: translateY(-3px);
}

.eco-card h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.eco-card h4 i {
  color: #3faa98;
  margin-right: 8px;
}

.eco-card p {
  margin: 0;
  font-size: 15px;
}

.eco-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3faa98;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.eco-card-accent {
  background: #102a26;
}

.eco-card-accent p {
  color: #ffffff;
}

.eco-card-accent .eco-card-num {
  background: #3faa98;
}

/* Callouts */
.eco-callout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: rgba(63, 170, 152, 0.09);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  position: relative;
  overflow: hidden;
}

.eco-callout::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50px;
  left: -5px;
  width: 10px;
  height: 60%;
  background-color: #3faa98;
}

.eco-callout i,
.eco-callout-warn i,
.eco-callout-quote i {
  display: none !important;
}

.eco-callout p {
  margin: 0;
  font-size: 15px;
}

.eco-callout-warn {
  background: rgba(214, 96, 60, 0.09);
}

.eco-callout-warn::before {
  background-color: #d6603c;
}

.eco-callout-warn i {
  color: #d6603c;
}

/* Tables */
.eco-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 14px;
  border: 1px solid rgba(16, 42, 38, 0.08);
}

.eco-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.eco-table th {
  background: #102a26;
  color: #ffffff;
  font-weight: 700;
  padding: 11px 16px;
  text-align: left;
}

.eco-table td {
  padding: 9px 16px;
  border-top: 1px solid rgba(16, 42, 38, 0.07);
}

.eco-table tbody tr:nth-child(even) {
  background: #f6faf9;
}

/* Timeline */
.eco-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.eco-timeline-stack {
  grid-template-columns: 1fr;
}

.eco-timeline-item {
  background: #f6faf9;
  border: 1px solid rgba(16, 42, 38, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
}

.eco-timeline-year {
  display: block;
  font-weight: 700;
  color: #2d7d70;
  margin-bottom: 4px;
}

.eco-timeline-item p {
  margin: 0;
  font-size: 15px;
}

/* Pager */
.eco-topic-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 0;
}

.eco-topic-prev {
  background: transparent;
  border: 1px solid rgba(16, 42, 38, 0.15);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.eco-topic-prev:hover {
  border-color: #3faa98;
  color: #2d7d70;
}

.eco-topic-next {
  cursor: pointer;
}

/* Pager arrows in circular white containers */
.eco-topic-next.btn-default,
a.eco-topic-next.btn-default,
button.eco-topic-next.btn-default {
  padding: 5px 5px 5px 40px !important;
  gap: 20px !important;
}

.eco-topic-prev {
  padding: 5px 40px 5px 5px !important;
  height: 60px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.eco-pager-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #ffffff;
  flex: 0 0 auto;
}

.eco-pager-arrow i {
  font-size: 16px;
  color: #042a2d;
}

/* Next / knowledge-check button: white label, green arrow */
.eco-topic-next.btn-default,
a.eco-topic-next.btn-default,
button.eco-topic-next.btn-default,
.eco-topic-next.btn-default:hover,
.eco-cta-btn.btn-default,
a.eco-cta-btn.btn-default {
  color: #ffffff !important;
}

.eco-topic-next .eco-pager-label,
.eco-topic-next span,
.eco-cta-btn .eco-pager-label,
.eco-cta-btn span,
.eco-next.btn-default span {
  color: #ffffff !important;
}

.eco-topic-next .eco-pager-arrow i,
.eco-cta-btn .eco-pager-arrow i {
  color: #2d7d70;
}

/* Prev button: light grey circle so it reads on white */
.eco-topic-prev .eco-pager-arrow {
  background: #eef1f0;
}

.eco-topic-prev .eco-pager-arrow i {
  color: #042a2d;
}


@media only screen and (max-width: 991px) {
  .eco-topic-nav {
    margin-bottom: 26px;
  }
  .eco-topic-head h2 {
    font-size: 28px;
  }
  .eco-grid-2,
  .eco-grid-3,
  .eco-timeline {
    grid-template-columns: 1fr;
  }
}

/* Vertical timeline flourishes (Section 2 overview) */
.eco-timeline-stack .eco-timeline-item {
  position: relative;
  padding-left: 44px;
}

.eco-timeline-stack .eco-timeline-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.eco-timeline-dot {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #3faa98;
}

.eco-timeline-stack .eco-timeline-item.is-key {
  background: rgba(63, 170, 152, 0.1);
  border-color: rgba(63, 170, 152, 0.35);
}

.eco-timeline-stack .eco-timeline-item.is-key h4 {
  color: #2d7d70;
}

.eco-timeline-stack .eco-timeline-item.is-key .eco-timeline-dot {
  background: #3faa98;
}

.eco-callout-quote {
  background: #102a26;
}

.eco-callout-quote::before {
  background-color: #3faa98;
}

.eco-callout-quote p,
.eco-callout-quote i {
  color: #ffffff;
}

.eco-callout-quote p {
  font-size: 17px;
  line-height: 1.6;
}

.eco-card-accent h4,
.eco-card-accent h4 i,
.eco-card-accent strong,
.eco-card-accent sub {
  color: #ffffff;
}

/* ---------- Left panel: knowledge check CTA card ---------- */
.service-sidebar .sidebar-cta-box {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 38, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 42, 38, 0.06);
  padding: 10px;
  overflow: hidden;
}

.service-sidebar .sidebar-cta-box .sidebar-img {
  position: relative;
  aspect-ratio: 1 / 0.5;
  border-radius: 10px;
  overflow: hidden;
}

.service-sidebar .sidebar-cta-box .sidebar-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: 10px;
}

.service-sidebar .sidebar-cta-box .sidebar-cta-Body {
  background: transparent;
  padding: 20px;
}

.service-sidebar .sidebar-cta-box .sidebar-cta-content {
  margin-bottom: 20px;
}

.service-sidebar .sidebar-cta-box .sidebar-cta-content p {
  font-size: 15px;
}

/* Charts */
.eco-chart {
  margin: 20px 0;
  padding: 18px 20px 14px;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 38, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 42, 38, 0.06);
}

.eco-chart-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.eco-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.eco-chart-donut {
  max-width: 300px;
  margin: 0 auto;
}

.eco-chart-grid {
  stroke: rgba(16, 42, 38, 0.1);
  stroke-width: 1;
}

.eco-chart-tick,
.eco-chart-label,
.eco-chart-value {
  font-family: "Geist", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  fill: rgba(4, 42, 45, 0.7);
}

.eco-chart-value {
  font-weight: 700;
  fill: #042a2d;
}

.eco-chart-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-chart-dot {
  stroke: #ffffff;
  stroke-width: 2;
  transition: r 0.2s ease;
  cursor: default;
}

.eco-chart-dot:hover {
  r: 8;
}

.eco-chart-track {
  fill: rgba(16, 42, 38, 0.06);
}

.eco-chart-bar,
.eco-chart-slice {
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.eco-chart-bar:hover,
.eco-chart-slice:hover {
  opacity: 0.82;
}

.eco-chart-slice {
  stroke: #ffffff;
  stroke-width: 2;
}

.eco-chart-center {
  font-family: "Geist", sans-serif;
  font-size: 30px;
  font-weight: 700;
  fill: #042a2d;
}

.eco-chart-center-sub {
  font-family: "Geist", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  fill: rgba(4, 42, 45, 0.7);
}

.eco-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.eco-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(4, 42, 45, 0.78);
}

.eco-chart-legend-item i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.eco-chart-note {
  margin: 12px 0 0;
  font-size: 14px;
}

/* Subsection tabs */
.eco-tabs-wrap {
  margin-bottom: 26px;
  position: sticky;
  top: 100px;
  z-index: 20;
  background: #ffffff;
  padding: 10px 0;
}

.eco-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.eco-tab {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 26px;
  border-radius: 18px;
  border: 1px solid rgba(16, 42, 38, 0.1);
  background: #ffffff;
  color: #042a2d;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 26px rgba(16, 42, 38, 0.05);
}

.eco-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 42, 38, 0.1);
}

.eco-tab-label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25em;
}

.eco-tab-count {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: auto;
  padding-top: 6px;
}


.eco-tab.is-active {
  background-image: linear-gradient(to right, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
  background-size: 200% auto;
  border-color: transparent;
  color: #ffffff;
}

.eco-tab.is-active .eco-tab-label,
.eco-tab.is-active .eco-tab-count {
  color: #ffffff;
}

.eco-tab.is-locked {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.eco-tab.is-locked:hover {
  transform: none;
  box-shadow: none;
}

.eco-topic-panel-title {
  font-size: 20px;
  font-weight: 700;
  color: #042a2d;
  margin: 0 0 20px;
}

@media (max-width: 767px) {
  .eco-tab {
    flex: 1 1 100%;
    padding: 14px 20px;
  }
}

/* ---------- chart tooltips ---------- */
.eco-chart-hit {
  cursor: pointer;
}

.eco-chart-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  min-width: 150px;
  max-width: 260px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #042a2d;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(4, 42, 45, 0.28);
  pointer-events: none;
  opacity: 0;
  transform: translate(-9999px, -9999px);
  transition: opacity 0.16s ease;
}

.eco-chart-tip.is-visible {
  opacity: 1;
}

.eco-chart-tip-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.eco-chart-tip-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.eco-chart-tip-value i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.eco-chart-tip-sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Hero heading: section pill + title --- */
.page-header-content .eco-hero-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-header-content h1 {
  font-size: 50px;
  margin-bottom: 0;
}

/* Headings and their highlighted spans share the same weight */
h1, h2, h3, h4, h5, h6,
.page-header-content h1,
.page-header-box h1,
.page-header-box2 h1,
.page-header3-box h1,
.page-header4-box h1,
.section-title h1,
.section-title h2 {
  font-weight: 600 !important;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.page-header-content h1 span,
.page-header-box h1 span,
.page-header-box2 h1 span,
.page-header3-box h1 span,
.page-header4-box h1 span,
.section-title h1 span,
.section-title h2 span {
  font-weight: 600 !important;
}

/* Lists sit flush with their container */
.eco-topic-body ul,
.eco-topic-body ol,
.eco-card ul,
.eco-card ol,
.eco-callout ul,
.eco-callout ol {
  padding-left: 0 !important;
  list-style-position: inside;
}

.eco-topic-body ul,
.eco-topic-body ol,
.eco-topic-body ul li,
.eco-topic-body ol li,
.eco-card ul li,
.eco-card ol li,
.eco-callout ul li,
.eco-callout ol li {
  color: var(--eco-body-color) !important;
}

.eco-card-accent ul li,
.eco-card-accent ol li,
.eco-card-accent ul,
.eco-card-accent ol {
  color: #ffffff !important;
}

.eco-callout,
.eco-callout p {
  text-align: left !important;
  align-items: flex-start;
}

/* Quote callout matches the light green callout style */
.eco-callout-quote {
  background: rgba(63, 170, 152, 0.09) !important;
}

.eco-callout-quote p,
.eco-callout-quote strong {
  color: var(--eco-body-color) !important;
}

/* Accent cards: light muted green instead of dark green */
.eco-card-accent {
  background: rgba(63, 170, 152, 0.09) !important;
  border-color: rgba(63, 170, 152, 0.28) !important;
}

.eco-card-accent p,
.eco-card-accent ul,
.eco-card-accent ol,
.eco-card-accent ul li,
.eco-card-accent ol li,
.eco-card-accent strong,
.eco-card-accent sub {
  color: var(--eco-body-color) !important;
}

.eco-card-accent h3,
.eco-card-accent h4,
.eco-card-accent h4 i,
.eco-card-accent h5 {
  color: var(--eco-heading-color) !important;
}

/* Waste hierarchy staircase infographic */
.eco-stairs {
  margin: 22px 0 8px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid rgba(4, 42, 45, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(4, 42, 45, 0.06);
}
.eco-stairs-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.eco-stairs-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.eco-stairs-tag.is-best {
  background: rgba(63, 170, 152, 0.16);
  color: #2d7d70;
}
.eco-stairs-tag.is-worst {
  background: rgba(214, 96, 60, 0.14);
  color: #b64a29;
}
.eco-stairs-list {
  list-style: none !important;
  margin: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.eco-stairs-step {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eco-stairs-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #2d7d70;
  background: rgba(63, 170, 152, 0.12);
  border: 1px solid rgba(63, 170, 152, 0.35);
}
.eco-stairs-bar {
  display: flex;
  align-items: center;
  height: 46px;
  border-radius: 12px;
  padding: 0 20px;
  width: calc(34% + var(--eco-step) * 9%);
  background: linear-gradient(
    90deg,
    rgba(45, 125, 112, calc(0.16 + var(--eco-step) * 0.12)),
    rgba(63, 170, 152, calc(0.12 + var(--eco-step) * 0.11))
  );
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eco-stairs-step:hover .eco-stairs-bar {
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(4, 42, 45, 0.1);
}
.eco-stairs-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #042a2d;
}
.eco-stairs-step:nth-child(1) .eco-stairs-label,
.eco-stairs-step:nth-child(2) .eco-stairs-label {
  color: #ffffff;
}
.eco-stairs-step:nth-child(1) .eco-stairs-num,
.eco-stairs-step:nth-child(2) .eco-stairs-num {
  background: #2d7d70;
  border-color: #2d7d70;
  color: #ffffff;
}
.eco-stairs-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--eco-body-color);
}
@media only screen and (max-width: 767px) {
  .eco-stairs-bar {
    width: 100%;
  }
}
.eco-stairs-foot {
  display: flex;
  margin-top: 14px;
}

/* ---------- requirement grid (replaces simple 2-column tables) ---------- */
.eco-req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
.eco-req {
  background: #ffffff;
  border: 1px solid rgba(4, 42, 45, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(4, 42, 45, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eco-req:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 170, 152, 0.45);
  box-shadow: 0 16px 34px rgba(4, 42, 45, 0.1);
}
.eco-req-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(63, 170, 152, 0.12);
  margin-bottom: 14px;
}
.eco-req-icon i {
  font-size: 18px;
  color: #2d7d70;
}
.eco-req h4 {
  margin: 0 0 6px;
  font-size: 17px;
}
.eco-req p {
  margin: 0;
  color: var(--eco-body-color) !important;
}

/* ---------- drag & drop matching activity ---------- */
.eco-match {
  background: #ffffff;
  border: 1px solid rgba(4, 42, 45, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(4, 42, 45, 0.05);
  margin: 22px 0;
}
.eco-match-title {
  margin: 0 0 6px;
  font-size: 18px;
}
.eco-match-intro {
  margin: 0 0 18px;
  color: var(--eco-body-color) !important;
  font-size: 15px;
}
.eco-match-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
@media only screen and (max-width: 767px) {
  .eco-match-board {
    grid-template-columns: 1fr;
  }
}
.eco-match-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eco-match-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas: "icon label" "drop drop";
  align-items: center;
  gap: 6px 12px;
  padding: 14px 16px;
  border: 1px solid rgba(4, 42, 45, 0.1);
  border-radius: 16px;
  background: rgba(63, 170, 152, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.eco-match-item.is-over {
  border-color: #3faa98;
  background: rgba(63, 170, 152, 0.14);
}
.eco-match-item.is-correct {
  border-color: #3faa98;
  background: rgba(63, 170, 152, 0.1);
}
.eco-match-item.is-wrong {
  border-color: #d6603c;
  background: rgba(214, 96, 60, 0.08);
}
.eco-match-icon {
  grid-area: icon;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
}
.eco-match-icon i {
  font-size: 16px;
  color: #2d7d70;
}
.eco-match-label {
  grid-area: label;
  font-weight: 600;
  color: #042a2d;
}
.eco-match-drop {
  grid-area: drop;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px dashed rgba(4, 42, 45, 0.22);
  border-radius: 12px;
  font-size: 14px;
  color: rgba(4, 42, 45, 0.45);
}
.eco-match-item.is-correct .eco-match-drop,
.eco-match-item.is-wrong .eco-match-drop {
  border-style: solid;
  background: #ffffff;
  color: var(--eco-body-color);
}
.eco-match-answer {
  font-weight: 500;
}
.eco-match-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  flex: 0 0 auto;
  color: #ffffff;
}
.eco-match-item.is-correct .eco-match-mark {
  background: #3faa98;
}
.eco-match-item.is-wrong .eco-match-mark {
  background: #d6603c;
}
.eco-match-bank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: flex-start;
}
.eco-match-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid rgba(4, 42, 45, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--eco-body-color);
  font-size: 15px;
  font-weight: 500;
  cursor: grab;
  box-shadow: 0 6px 16px rgba(4, 42, 45, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.eco-match-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 170, 152, 0.5);
  box-shadow: 0 12px 24px rgba(4, 42, 45, 0.09);
}
.eco-match-chip.is-selected {
  border-color: #2d7d70;
  box-shadow: 0 0 0 3px rgba(63, 170, 152, 0.22);
}
.eco-match-chip.is-dragging {
  opacity: 0.5;
}
.eco-match-grip {
  width: 12px;
  height: 18px;
  flex: 0 0 auto;
  background-image: radial-gradient(circle, rgba(4, 42, 45, 0.35) 1.4px, transparent 1.5px);
  background-size: 6px 6px;
}
.eco-match-result {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
}
.eco-match-result.is-visible {
  display: flex;
}
.eco-match-result.is-pass {
  background: rgba(63, 170, 152, 0.12);
  color: #1d6b5e;
}
.eco-match-result.is-partial {
  background: rgba(214, 96, 60, 0.1);
  color: #a8431f;
}
.eco-match-reset {
  border: 0;
  border-radius: 999px;
  background: #042a2d;
  color: #ffffff;
  padding: 10px 22px;
  font-weight: 600;
}

/* ---------- numeric stat cards (replaces tiny limit tables) ---------- */
.eco-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
.eco-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px 24px;
  border: 1px solid rgba(4, 42, 45, 0.08);
  border-radius: 18px;
  background: rgba(63, 170, 152, 0.07);
}
.eco-stat-value {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 600;
  color: #042a2d;
}
.eco-stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: #2d7d70;
}
.eco-stat-label {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--eco-body-color);
}
.eco-req-num {
  font-size: 18px;
  font-weight: 600;
  color: #2d7d70;
}
.eco-penalty {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(214, 96, 60, 0.1);
  color: #a8431f;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- illustrations ---------- */
.eco-figure {
  margin: 18px 0 22px;
  padding: 10px;
  border: 1px solid rgba(4, 42, 45, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(4, 42, 45, 0.05);
}
.eco-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.eco-figure.eco-figure-auto img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: none;
  height: auto;
}

.eco-figure figcaption {
  padding: 12px 10px 4px;
  font-size: 14px;
  color: var(--eco-body-color);
}

/* ---- photo cards (image above, text underneath, no border) ---- */
.eco-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 18px 0 24px;
}
.eco-photo-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  background: transparent;
}
.eco-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 190px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.eco-photo-card figcaption h4 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--eco-heading-color);
}
.eco-photo-card figcaption p {
  margin: 0;
  color: var(--eco-body-color);
}
@media only screen and (max-width: 767px) {
  .eco-photo-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Grouped icon cards (2050 Challenge) */
.eco-topic-body .eco-group-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--eco-heading-color, #042a2d);
	margin: 26px 0 14px;
}
.eco-card.eco-card-icon .eco-card-icon-img {
	width: 56px;
	height: auto;
	display: block;
	margin-bottom: 16px;
}

/* ---------- Bullet lists: small green circle with a tiny white checkmark ---------- */
.eco-topic-body ul,
.eco-card ul,
.eco-callout ul {
  list-style: none !important;
  list-style-position: outside !important;
  padding-left: 0 !important;
}

.eco-topic-body ul > li,
.eco-card ul > li,
.eco-callout ul > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  line-height: 1.5;
  list-style: none !important;
}

.eco-topic-body ul > li::marker,
.eco-card ul > li::marker,
.eco-callout ul > li::marker {
  content: "";
}

.eco-topic-body ul > li::before,
.eco-card ul > li::before,
.eco-callout ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3faa98 !important;
}

.eco-topic-body ul > li::after,
.eco-card ul > li::after,
.eco-callout ul > li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.22em + 4px);
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

.eco-card-accent ul > li::before {
  background: #ffffff !important;
}

.eco-card-accent ul > li::after {
  background-color: #3faa98;
}

/* --- Hero top overlay gradient (sits just under the header) --- */
.page-header::after,
.page-header3::after,
.page-header4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  z-index: 0;
  pointer-events: none;
}
.page-header-box,
.page-header-box2,
.page-header3-box,
.page-header4-box {
  position: relative;
  z-index: 2;
}

/* --- Header progress text stays white --- */
.eco-progress,
.eco-progress-label,
.eco-progress-ring-value {
  color: #ffffff !important;
}
.eco-progress-sub {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1;
}

/* --- Home hero top overlay gradient --- */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-section {
  z-index: 2;
}
