.zero-charts-section {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  margin: 0;
}

.zero-charts-section .bkg-gray {
  background-color: #f5f5f5;
}

.zero-charts-section .chart-content {
  max-width: 1200px;
  padding: 80px 20px;
  margin: 0 auto;
}

.zero-charts-section .chart-container {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  width: 100%;
}

.zero-charts-section .year-selector {
  padding: 10px 50px 10px 20px;
  border-radius: 5px;
  border: 1px solid #9e9e9e;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none; /* Remove default arrow in Safari */
  -moz-appearance: none; /* Remove default arrow in Firefox */
  background-color: #fff; /* Ensure background color is white */
}

.zero-charts-section h2 {
  color: #54595f;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 26px;
  line-height: 26px;
  margin: 0 0 56px;
  padding: 0;
}

.zero-charts-section .text-column {
  width: 167px;
}

.zero-charts-section .text-column h3,
.zero-charts-section .text-column p {
  color: #54595f;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.zero-charts-section .text-column h3 {
  font-size: 20px;
  line-height: 26px;
}

.zero-charts-section .text-column p {
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
  padding: 10px 0 0;
}

.zero-charts-section figure {
  height: 400px;
}

.zero-charts-section .years-2,
.zero-charts-section .years-3,
.zero-charts-section .years-4 {
  gap: 50px;
}

.zero-charts-section .years-2 figure {
  max-width: 250px;
}

.zero-charts-section .years-3 figure {
  max-width: 300px;
}

.zero-charts-section .years-3 figure {
  max-width: 350px;
}

@media (max-width: 768px) {
  .zero-charts-section .chart-container {
    grid-template-columns: minmax(0, 1fr);
  }
}

.chart-container {
  position: relative;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.zero-charts-homepage-stats {
  width: 100%;
  margin: 0 auto;
  font-family: "Inter", serif;
  padding: 40px 0px;
}
.zero-charts-homepage-stats hr {
  width: 100px;
  margin: 24px auto;
  height: 0.5px;
  border: 0;
  background: #000;
}
.zero-charts-homepage-stats .manual-content,
.zero-charts-homepage-stats .manual-content ul,
.zero-charts-homepage-stats .manual-content ol,
.zero-charts-homepage-stats .manual-content p,
.zero-charts-homepage-stats .manual-content li {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: #000;
  text-align: left;
}
.zero-charts-homepage-stats .manual-content ul,
.zero-charts-homepage-stats .manual-content ol,
.zero-charts-homepage-stats .manual-content li {
  padding-left: 0;
  margin: 0;
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.large-stats-row {
    grid-template-columns: 1fr;
}
.stats-block {
  background: #f7f7f7;
  display: grid;
  grid-auto-flow: row;
  align-items: start;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}
.large-stats-block {
  background: #f7f7f7;
  display: grid;
  grid-auto-flow: row;
  align-items: start;
  justify-content: center;
  gap: 20px;
  padding: 60px;
}
.large-stats-block p, .stats-block p {
  margin: 0;
}
.large-stats-block h2.stats-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
  text-align: center;
}
.large-stats-block .stats-sub {
  font-size: 1rem;
  color: #000;
  text-align: center;
}
.ytd-value {
  font-size: 4.6875rem;
  font-weight: 900;
  color: #ec1c24;
  text-align: center;
  line-height: 1.1;
}
.ytd-year {
  font-size: 1.25rem;
  color: #000;
  font-weight: 400;
  margin-bottom: 7px;
  text-align: center;
}
.ytd-disclaimer, .homepage-stats-disclaimer {
  font-size: 1rem;
  font-style: italic;
  color: #000;
  text-align: center;
}
.homepage-stats-disclaimer {
    text-align: left;
}
.stats-block-years {
  border: 2px solid #eee;
}
.stats-sub {
  font-size: 0.9rem;
  font-weight: normal;
  color: #888;
}
p.stats-value-large {
  font-size: 3rem;
  color: #ee1133;
  font-weight: bold;
  margin: 1rem 0;
}
p.stats-year {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.stats-years-list {
    display: grid;
    grid-auto-flow: row;
    margin-top: 10px;
}
.stats-year-row {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  gap: 10px;
}
.stats-year-label {
    font-size: 1.25rem;
    color: #000;
    font-weight: 500;
}
.large-stats-block .stats-year-label {
    font-size: 1.625rem;
}
.stats-year-value {
  color: #ee1133;
  font-size: 1.25rem;
  font-weight: 900;
}
.large-stats-block .stats-year-value {
    font-size: 1.625rem;
}
h2.stats-cat-title {
    color: #050505;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}
.stats-missing {
  color: #888;
  font-style: italic;
}
@media (min-width: 768px) {
  .large-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
    .stats-row {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .large-stats-row {
        grid-template-columns: 1fr 1fr;
    }
  }
