/* Charts container for displaying two charts side by side */
.charts-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 80%;
  max-width: 110%; /* Exceed the width of body text */
  margin: 3rem auto;
}

.chart-item {
  width: calc(50% - 10px);
  max-width: none;
}

.chart-item h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.chart-item p {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
  text-align: left;
}

.chart-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Responsive design for charts container */
@media (max-width: 768px) {
  .charts-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
  }

  .chart-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}
