* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #333;
}

.infographic-module {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px;
  background: #EDF4ED;
  position: relative;
  border-radius:4px;
}

.module-ifographics .bottom-content-wrapper{
max-width:736px;
margin-top:24px;
}
.module-ifographics .bottom-content-wrapper p{
color:#4A4A4A;
font-size:12px;
font-weight:400;
line-height:16px;
}
.module-ifographics .bottom-content-wrapper p a{
color:#004A33;
font-size: 12px;
font-weight: 700;
line-height: 16px; 
}
.module-ifographics .bottom-content-wrapper p a:hover{
text-decoration:underline;
}
.module-ifographics .bottom-content-wrapper p a:focus-visible{
outline-offset: 0px;
}
.module-title {
  font-size: 32px;
  font-weight: 400;
  color: #004A33;
  margin-bottom: 10px;
  line-height: normal;
  background: unset;
  padding: 0;
  margin-top:0;
}

.module-subtitle{
	margin-bottom: 32px;
}

/* --- TABS --- */
.tabs-row {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: unset;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  flex: 1;
  transition: all 0.3s ease;
  min-height: 56px;
  text-transform: none;
}

button[data-lever="l2"] .lever-badge{
  background: #BDDEBD;
}
.slide-lever-badge.active.l2{
  background: #BDDEBD;
  color:#000;
}
button[data-lever="l3b"] .lever-badge , .slide-lever-badge.active.l3{
  background: #3D8E42;
  color: #fff;
}
button[data-lever="l3"] .lever-badge
{
  background: #ABC852;
  color: #000;
}

button[data-lever="l3"] .lever-badge ,.slide-lever-badge.active.l3{
  color: #000;
  background: #ABC852;
}
.slide-lever-badge.active.l3b{
  color: #fff;
  background: #3D8E42;
}

button[data-lever="l4"] .lever-badge ,.slide-lever-badge.active.l4{
  color: #fff;
  background: #004A33;
}

button[data-lever="l5"] .lever-badge ,.slide-lever-badge.active.l5{
  background: #5D5D5D;
  color: #fff;
}
.slide-lever-badge.active.l1{
background: #F2E0C4;
  color: #000;
}

.tab-btn.active , .tab-btn.active:hover {
  background: #004A33 !important;
  color: #fff;
}

.tab-btn .lever-badge {
  width: 40px;
  height: 40px;
  border-radius: 60px;
  background: #F2E0C4;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}


.tab-btn .tab-label {
  font-size: 11px;
  line-height: 11px;
  text-align: left;
  color: #000;
  font-weight: 400;
  letter-spacing: 1px;
}

.tab-btn.active .tab-label ,.tab-btn.active:hover .tab-label {
  color: #fff !important;
}

/* --- CATEGORIES --- */
.categories-row {
  display: flex;
  margin-bottom: 32px;
  column-gap: 8px;
}

.category {
  font-size: 14px;
  color: #004A33;
  padding-top: 4px;
  border-top: 2px solid #c8c8be;
  font-weight: 700;
  line-height: 20px;
}

.category:nth-child(1) {
  width: 23%;
  border-top: 1px solid #A3A3A3;
}

.category:nth-child(2) {
  width: 52%;
  border-top: 1px solid #A3A3A3;
}

.category:nth-child(3) {
  width: 27%;
  border-top: 1px solid #A3A3A3;
}

/* --- INFOGRAPHIC --- */
.infographic-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.infographic-area {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.infographic-area img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.infographic-area img.active {
  opacity: 1;
  position: relative;
}

/* --- LABELS GRID --- */
.labels-top,
.labels-bottom {
  position: relative;
  /* overflow: hidden; */
}

.labels-top {
/*   height: 145px; */
   height: 90px;
}

.labels-bottom {
/*   height: 115px; */
  height: 81px;
}

.info-label {
  position: absolute;
  font-size: 12px;
  line-height: 1.4;
  /* color: #333; */
  max-width: 130px;
  text-align: left;
  transition: opacity 0.3s ease;
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  padding-left: 4px;
  max-width: 108px;
  min-height: 137px;
  z-index: 1;
}
.info-label:hover .label-title , .info-label:hover .label-link{
  color:#000;
}
.labels-top .info-label {
  top: 0;
}

.labels-bottom .info-label {
  bottom: 0;
}

.labels-top .info-label::after {
  /* content: ''; */
  position: absolute;
  left: 12px;
  top: 100%;
  width: 1px;
  height: 300px;
  background: #a3a3a3;
}
#lbl-site-preparation{
  top: 30%;
  left:6% !important;
}
#lbl-building-techniques{
/*   top:90%;
  left:25% !important; */ 
  min-height: 88px;
  top: 95%;
  left: 23.5% !important;
}
#lbl-timber-frame{
  top: 17%;
  left: 36% !important;
  min-height: 88px;
}
#lbl-site-machinery{
/*   top: 115%; */
top: 125%;
  left: 44% !important;
  min-height: 88px;
}
#lbl-hybrid-generators{
 top: 110%;
  left: 57% !important;
  min-height: 88px;
}
#lbl-premises-facilities{
/* top: 106%; */
top: 110%;
  left: 67% !important;
  min-height: 88px;
}
#lbl-government-regulation{
/*   top: 80%; */
top: 75%;
  left: 86% !important;
  min-height: 118px;
}
#lbl-embodied-carbon-materials{
  left: 13% !important;
  min-height: 147px;
  display: flex;
  flex-direction: column;
  justify-content: end;
/*   bottom: 55%; */
  bottom: 30%;
  min-width: 112px;
}
#lbl-fleet-decarbonisation{
/*   left: 30% !important; */
left: 30.2% !important;
min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: end;
/*   bottom: 67%; */
bottom: 60%;
  min-width: 112px;
}
#lbl-diesel-replacement{
  left: 43% !important;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: end;
/*   bottom: 35%; */
bottom: 15%;
  min-width: 112px;
}
#lbl-grid-connections{
  left: 57% !important;
  min-height: 91px;
  display: flex;
  flex-direction: column;
  justify-content: end;
/*   bottom: 50%; */ 
  bottom: 25%;
  min-width: 112px;
}
#lbl-show-home-heating{
 left: 71% !important;
  min-height: 111px;
  display: flex;
  flex-direction: column;
  justify-content: end;
/*   bottom: 55%; */
bottom: 35%;
  min-width: 112px;
}
#lbl-zero-carbon-homes{
    left: 90% !important;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: end;
/*     bottom: 65%; */
bottom: 50%;
    min-width: 112px;
}
.labels-bottom .info-label::after {
  /* content: ''; */
  position: absolute;
  left: 12px;
  bottom: 100%;
  width: 1px;
  height: 300px;
  background: #a3a3a3;
}

.info-label .label-title {
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 16px;
  color: #4A4A4A;
}

.info-label .label-link {
  color: #4A4A4A;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  padding-top: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 2px;
  font-weight: 700;
  line-height: 9px;
}
.info-label .label-link:focus-visible{
outline-offset:1px;
}
.info-label .label-link:after{
  position: absolute;
  height: 100%;
  width: 100%;
  content: '';
  top: 0;
  left: 0;
}
.info-label .label-link:hover {
  text-decoration: underline;
}

.info-label.dimmed {
  opacity: 0.2;
}

/* --- DESCRIPTION PANEL (below infographic) --- */
.description-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
  max-width:480px;
}

.description-panel.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.description-panel .desc-title {
 font-size: 12px;
  font-weight: 700;
  color: #004A33;
  margin-bottom: 4px;
  line-height: 16px;
}

.description-panel .desc-text {
 font-size: 12px;
  line-height: 16px;
  color: #4A4A4A;
  font-weight: 400;
}

/* --- SLIDE PANEL (right side) --- */
.slide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.slide-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 468px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -10px 0 20px 0 rgba(0, 0, 0, 0.25);
}

.slide-panel.open {
  transform: translateX(0);
}

.slide-panel-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 32px 32px 0;
}

.slide-close-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #3C3C3C;
  padding: 4px;
  font-weight: 700;
  line-height: 24px;
  text-transform: capitalize;
}

.slide-close-btn:hover {
  color: #3C3C3C;
  background: transparent;
}
.slide-close-btn:focus-visible{
    outline: 2px dotted !important;
    background: transparent !important;
    color: #3C3C3C !important;
}
.slide-close-btn .close-x {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
}

.slide-thumbnail {
  margin: 64px 32px 40px 32px;
  width: calc(100% - 64px);
  height: 200px;
  background: #F9F7F7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-thumbnail img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.slide-content {
  padding: 32px;
  padding-top:0; 
}

.slide-levers-section {
  margin-bottom: 40px;
}

.slide-levers-label {
  font-size: 18px;
  color: #000;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 22px;
}

.slide-lever-badges {
  display: flex;
  gap: 10px;
}

.slide-lever-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.slide-lever-badge.active {
  background: #2d6a4f;
  color: #fff;
}

.slide-lever-badge.inactive {
  background: #e8e8e0;
  color: #999;
}

.slide-item-title {
  font-size: 18px;
  font-weight: 700;
  color: #004A33;
  line-height: 22px;
  margin-bottom: 16px;
}

.slide-item-text {
  font-size: 16px;
  color: #4A4A4A;
  font-weight: 300;
  line-height: 22px;
}

.slide-item-text p {
  margin-bottom: 16px;
}

.slide-item-text p:last-child {
  margin-bottom: 0;
}

/* --- FOOTER --- */
.footer-text {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  max-width: 780px;
}

.footer-text a {
  color: #2d6a4f;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* --- MOBILE CAROUSEL (hidden on desktop) --- */
.mobile-activities {
  display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .slide-overlay{
    background: transparent;
  }
  .infographic-module {
    padding: 41px 20px 20px;
  }
  .description-panel .desc-text{
    font-size: 14px;
    color: #4A4A4A;
    font-weight: 300;
    line-height: 21px;
  }
  .module-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .tabs-row {
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .tab-btn {
    flex: 0 0 auto;
    padding: 0;
    min-height: auto;
    width: 40px;
    height: 40px;
    background: transparent;
    gap: 0;
    justify-content: center;
    border-radius: 50%;
    position: relative;
  }
  .tab-btn:after{
    content: '';
    width: 100%;
    height: 1px;
    background: #E0D9DB;
    position: absolute;
    bottom: -11px;
    display:block
  }
  .tab-btn.active:after{
    background: #000;
  }
  .tab-btn .tab-label {
    display: none;
  }

  .tab-btn:hover {
    background: transparent;
  }

  .tab-btn.active {
    background: transparent;
  }

  .tab-btn.active .lever-badge {
/*     outline: 2px solid #004A33;
    outline-offset: 2px; */ 
  }
  .categories-row {
    display: none !important;
  }

  .infographic-wrapper {
    display: none !important;
  }

  .description-panel {
    background: transparent;
    border-radius: 0;
    padding: 13px 0;
    margin-bottom: 0;
    min-height: auto;
    padding-bottom: 21px;
  }

  .description-panel .desc-title {
    font-size: 18px;
    font-weight: 700;
    color: #004A33;
    line-height: 23px;
    margin-bottom: 5px;
  }

  .mobile-activities {
    display: block;
  }

  .mobile-activities-title {
    font-size: 16px;
    font-weight: 300;
    color: #000;
    margin-bottom: 20px;
    padding-top: 17px;
    border-top: 1px solid #A3A3A3;
  }

  .mobile-carousel-container {
    overflow: hidden;


  }

  .mobile-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
  }

  .mobile-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .mobile-card-image {
    background: #fff;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
  }

  .mobile-card-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
  } 

  .mobile-card-category {
    font-size: 14px;
    color: #004A33;
    margin-bottom: 19px;
    font-weight: 300;
    line-height: 21px;
  }

  .mobile-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #3C3C3C;
    line-height: 21px;
    margin-bottom: 4px;
  }

  .mobile-card-link {
    color: #3C3C3C;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
  }

  .mobile-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
        margin-top: 42px;
  }

  .mobile-nav-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    border: none;
    padding:0;
  }
  .mobile-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
  }
  .mobile-nav-prev {
    background: transparent;
    color: #004A33;
  }

  .mobile-nav-next {
    background: #004A33;
    color: #fff;
  }

  .mobile-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .mobile-dot.active {
    background: #004A33;
  }

  .slide-panel {
    width: 95%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  }

  .footer-text {
    font-size: 12px;
  }
  .slide-panel-header{
    padding: 64px 32px 0 32px;
  }
  .slide-close-btn{
    font-size: 16px;
  }

  .slide-thumbnail{
    margin:32px;
    margin-bottom:0;
  }
  .slide-levers-label{
    font-size: 16px;
    line-height: 24px;
  }
  .slide-levers-section{
    margin-bottom: 32px;
  }
  .slide-item-title {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .slide-item-text{
    font-size: 14px;
    font-weight: 400;
  }
  .module-ifographics .bottom-content-wrapper{
margin-top:12px;
}

}
@media only screen and (min-width:1024px){

.tab-btn.active .lever-badge {
  background: #fff;
  color: #004A33;
}
.tab-btn:hover , .tab-btn:focus-visible {
  border-color: #2d6a4f !important;
  background: #BDDEBD !important;
}

.tab-btn:hover .tab-label , .tab-btn:focus-visible .tab-label {
  color: #004A33 !important;
}
.tab-btn:hover .lever-badge , .tab-btn:focus-visible .lever-badge {
  background: #fff;
  color: #004A33;
}

}