.sustainability-container {
  margin-bottom: 40px;
}

.sustainability-container .sdd-hero-section {
  background-image: url(../jpg/sustainability-hero-image.jpg);
  padding: 0px 40px;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-flow: column;
  text-align: center;
  justify-content: center;
  color: #fff;
}

.sustainability-container .sdd-hero-content,
.sustainability-container .sdd-data-content {
  max-width: 1200px;
  margin: auto;
}

.sustainability-container .sdd-hero-content h1 {
  font-size: 40px !important;
  line-height: 1.2em !important;
}

.sustainability-container .sdd-hero-content p {
  font-size: 20px !important;
  line-height: 1.2em !important;
  font-weight: 400 !important;
}

.sustainability-container .sdd-data-content {
  margin-top: 40px;
}

.sustainability-container .sdd-data-content h2 {
  font-size: 32px !important;
}

.sustainability-container .sdd-data-content div {
  font-size: 14px;
  line-height: 20px;
}

.sustainability-container .sdd-button-section {
  display: flex;
  gap: 12px;
  border-radius: 12px;
  margin-top: 40px;
}

.sustainability-container #sdd-dropdown,
.sustainability-container .sdd-action-button {
  background: #fff !important;
  padding: 21px 16px !important;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1e1e1e !important;
  min-width: 330px;
  font-family: "Manrope", Sans-serif;
  height: 100%;
}

.sustainability-container .token-select {
  border: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  flex-grow: 1;
  font-weight: 500 !important;
  color: #1e1e1e !important;
  font-family: "Manrope", Sans-serif !important;
  padding: 0;
}

.sustainability-container .token-select option {
  background-color: #fff;
  color: #333;
  padding: 10px;
  font-size: 16px;
}

.sustainability-container #sdd-dropdown .sdd-arrow {
  color: #1c39c2;
  font-size: 42px;
  transition: transform 0.3s ease;
  line-height: 0.7em;
}

.sustainability-container .sdd-custom-select {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.sustainability-container .sdd-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-radius: 8px;
  background-color: #fff;
  list-style: none;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-height: 200px;
  overflow-y: auto;
}

.sustainability-container span.sdd-selected-value {
  font-weight: 500;
  line-height: 1.4rem;
}

.sustainability-container .sdd-select-dropdown::-webkit-scrollbar {
  width: 7px;
}
.sustainability-container .sdd-select-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 25px;
}

.sustainability-container .sdd-select-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
}

.sustainability-container .sdd-select-dropdown li {
  padding: 10px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sustainability-container .sdd-select-dropdown li:hover,
.sustainability-container .sdd-select-dropdown li:focus,
.sustainability-container .sdd-select-dropdown li.selected {
  color: #1c39c2;
}

.sustainability-container .sdd-select-dropdown.hidden {
  display: none;
}

.sustainability-container .sdd-select-button[aria-expanded="true"] .sdd-arrow {
  transform: rotate(90deg);
}

.sustainability-container .pdf-icon {
  width: 32px;
  height: 32px;
}

.sustainability-container .sdd-table-section {
  margin-top: 24px;
}

.sustainability-container .sdd-custom-table.mobile {
  display: none;
}

.sustainability-container .sdd-custom-table {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
}

.sustainability-container .sdd-table-header {
  display: flex;
  background-color: #e5e9eb;
  font-weight: bold;
  padding: 0 24px;
}

.sustainability-container .sdd-table-row {
  display: flex;
  background-color: #fff;
  padding: 0 24px;
  border-bottom: 1px solid #edeeee;
  align-items: flex-start;
}

.sustainability-container .sdd-table-row:nth-last-child() {
  border-bottom: 0;
}

.sustainability-container .sdd-table-cell {
  padding: 24px 0;
  flex: 1;
  border-right: none;
  border-bottom: none;
}

.sustainability-container .sdd-table-cell.type {
  color: #0553f1;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sustainability-container .sdd-table-header .sdd-table-cell {
  color: #212121;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.sustainability-container .sdd-table-cell.description .sdd-line,
.sustainability-container .sdd-table-cell.estimate .sdd-line {
  border-bottom: 1px solid #edeeee;
  padding: 8px 0;
}

.sustainability-container .sdd-table-row .sdd-table-cell.methodology {
    max-width: 40%;
    margin-left: 24px;
    color: #4D6473;
    font-size: 10px !important;
    line-height: 1.2rem;
    font-weight: 500;
}

.sustainability-container .sdd-table-header .sdd-table-cell.methodology {
    margin-left: 24px;
}

.sustainability-container .sdd-table-cell.estimate {
  text-align: center;
  justify-content: center;
}

.sustainability-container .sdd-table-row .sdd-table-cell.description,
.sustainability-container .sdd-table-row .sdd-table-cell.estimate {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.sustainability-container .sdd-table-cell.description,
.sustainability-container .sdd-table-cell.estimate {
  max-width: 20%;
}

.sustainability-container .sdd-update-text {
  margin-top: 16px;
  display: none;
}

.sustainability-container .sdd-disclaimer {
  margin-top: 16px;
}

.sustainability-container #download-data-dashboard,
.sustainability-container #download-pdf {
  display: none;
}

.sdd-ghg-methodolgy-val a, .sdd-methodology-val a, .sdd-ghg-methodolgy-val a:hover, .sdd-methodology-val a:hover {
  cursor: pointer;
  color: #1C39C2;
  font-weight: bold; 
  margin-left: 2px;
}

/* resposiveness */
@media only screen and (max-width: 1200px) {
  .sustainability-container .sdd-data-content div {
    font-size: 14px;
    line-height: 20px;
    width: 100%;
  }

  .sustainability-container .custom-select {
    width: 100%;
  }

  .sustainability-container .sdd-hero-section,
  .sustainability-container .sdd-data-content {
    padding: 0px 16px;
  }

  .sustainability-container .sdd-button-section {
    display: block;
  }

  .sustainability-container #sdd-dropdown,
  .sustainability-container .sdd-action-button {
    min-width: 100%;
    margin-bottom: 16px;
    padding: 16px !important;
  }
}

@media only screen and (max-width: 1024px) {
  .sustainability-container .sdd-table-cell.type {
    max-width: 20% !important;
  }

  .sustainability-container .sdd-table-cell.description {
    max-width: 25% !important;
  }

  .sustainability-container .sdd-table-cell.estimate {
    max-width: 15% !important;
  }
}

@media only screen and (max-width: 768px) {
  .sustainability-container .sdd-custom-table.mobile {
    display: block !important;
  }

  .sustainability-container .sdd-custom-table.desktop {
    display: none;
  }

  .sustainability-container .sdd-hero-content p {
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
  }

  .sustainability-container .sdd-data-content {
    margin-top: 24px;
  }

  .sustainability-container .sdd-table-header {
    display: none !important;
  }

  .sustainability-container .sdd-table-row {
    display: block !important;
  }

  .sustainability-container .sdd-table-row {
    display: flex;
    background-color: #fff;
    padding: 0 !important;
    border-bottom: 1px solid #edeeee;
  }

  .sustainability-container .sdd-table-cell.estimate,
  .sustainability-container .sdd-table-cell.methodology,
  .sustainability-container .sdd-table-cell.description,
  .sustainability-container .sdd-table-cell.type {
    max-width: 100% !important;
  }

  .sustainability-container .sdd-table-cell.type {
    display: flex;
    justify-content: center;
  }

  .sustainability-container .sdd-table-cell.description {
    text-align: center;
  }

  .sustainability-container .sdd-table-cell {
    text-align: center;
    padding: 20px 16px !important;
    border-bottom: 1px solid #edeeee !important;
  }

  .sustainability-container .sdd-table-cell.methodology {
    text-align: left;
  }

  .sustainability-container .sdd-table-cell.type.energy,
  .sustainability-container .sdd-table-cell.type.ghg {
    background-color: #e5e9eb;
  }

  .sustainability-container .sdd-table-cell.methodology {
    margin: 0 !important;
  }
}
