/* Section 07 — Report Samples */

.s07-subsection {
  margin-bottom: 60px;
}
.s07-subsection:last-child {
  margin-bottom: 0;
}

.s07-subtitle {
  margin-bottom: 24px;
}

.s07-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Pin SVG chart area to the bottom of the card so charts in a row
   stay aligned even when legends above wrap to different heights.
   Only applies to subsections 2+ ("Распределение тезисов", "Динамика отзывов"),
   not to the first subsection ("Кластеризованный список..."). */
.s07-subsection:nth-of-type(n+2) .s07-charts .card--chart {
  display: flex;
  flex-direction: column;
}

.s07-subsection:nth-of-type(n+2) .s07-charts .card--chart .svg-chart {
  margin-top: auto;
}

@media (max-width: 768px) {
  .s07-charts {
    grid-template-columns: 1fr;
  }
}
