/* Website counterparts of the charts in rapportagevoorbeelden.pdf. */
.report-chart-explanation {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.report-chart-explanation > div {
  padding: 28px;
  background: var(--pale);
  border-radius: 8px;
}

.report-figure {
  padding: 28px;
}

#inhoud .report-figure h3 {
  margin-bottom: 12px;
}

.report-chart-unit {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 26px;
}

.report-bar-row {
  margin-bottom: 24px;
}

.report-bar-row:last-child {
  margin-bottom: 26px;
}

.report-bar-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--petrol);
}

.report-bar-label strong {
  white-space: nowrap;
}

.report-bar-track,
.report-compare-track {
  height: 6px;
  width: 100%;
  border-radius: 3px;
}

.report-bar-track,
.report-group-bar {
  background: #dbe9eb;
}

.report-bar-track > span,
.report-group-bar,
.report-inside-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
}

.report-inside-bar {
  background: #80b938;
}

.report-chart-legend {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.report-protein-donut {
  width: min(100%, 260px);
  margin: 20px auto 28px;
}

.report-protein-donut svg {
  display: block;
  width: 100%;
  height: auto;
}

.report-donut-value {
  fill: var(--petrol);
  font-size: 30px;
  font-weight: 700;
}

.report-donut-caption {
  fill: var(--petrol);
  font-size: 11px;
}

.report-protein-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.4;
}

.report-protein-legend > div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.report-protein-legend > div > div {
  display: grid;
  gap: 5px;
}

.report-protein-legend strong {
  color: var(--petrol);
}

.report-key {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
}

.report-key-plant {
  background: #88b533;
}

.report-key-animal {
  background: #df4f3f;
}

.report-ranking {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--petrol);
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.report-ranking th,
.report-ranking td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.report-ranking thead th {
  font-size: 14px;
  font-weight: 700;
}

.report-ranking tbody th {
  padding-right: 16px;
  font-weight: 400;
}

.report-ranking th:last-child,
.report-ranking td {
  width: 72px;
  text-align: right;
  white-space: nowrap;
}

.report-rank {
  display: inline-block;
  width: 24px;
  margin-right: 6px;
  color: var(--blue);
  font-size: 14px;
}

.report-stat {
  margin: 0 0 24px;
}

.report-stat > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--petrol);
  font-size: 44px;
  line-height: 1.1;
}

.report-stat > strong > span {
  font-size: 22px;
}

.report-stat p:last-child {
  margin-bottom: 0;
}

.report-pdf-link {
  max-width: 100%;
  margin-top: 18px;
}

.report-ranking .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .report-chart-explanation {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .report-figure,
  .report-chart-explanation > div {
    padding: 22px 19px;
  }

  .report-chart-unit {
    margin-bottom: 22px;
  }

  .report-bar-label {
    gap: 12px;
  }

  .report-ranking {
    font-size: 15px;
  }

  .report-ranking tbody th {
    padding-right: 12px;
  }

  .report-ranking th:last-child,
  .report-ranking td {
    width: 60px;
  }

  .report-rank {
    width: 20px;
    margin-right: 4px;
  }
}
