/* Full-width section surfaces; keep the established reading width and rhythm. */
.science-ec .ec-hub-main {
  --ec-choice-surface: #eaf2ff;
  --ec-calendar-surface: #edf6f2;
  max-width: none;
  padding: 0;
}
@supports (color: oklch(50% .1 250)) {
  .science-ec .ec-hub-main {
    --ec-choice-surface: oklch(95.5% .027 254);
    --ec-calendar-surface: oklch(96% .022 165);
  }
}
.ec-theme-dark .science-ec .ec-hub-main {
  --ec-choice-surface: oklch(29% .045 250);
  --ec-calendar-surface: oklch(28% .029 165);
}
.science-ec .ec-hub-main > .ec-topline {
  max-width: 1160px;
  margin: auto;
  padding-inline: 28px;
}
.science-ec .ec-hub-main > .ec-section {
  padding-inline: max(28px, calc((100% - 1104px) / 2));
  background: var(--ec-paper);
}
.science-ec .ec-hub-main > :is(.ec-hub-choice, .ec-download) {
  background: var(--ec-choice-surface);
}
.science-ec .ec-hub-main > .ec-hub-calendar {
  background: var(--ec-calendar-surface);
}
.science-ec .ec-hub-choice .ec-branch-root {
  background: var(--ec-paper);
}
@media (max-width: 767px) {
  .science-ec .ec-hub-main > :is(.ec-topline, .ec-section) {
    padding-inline: 20px;
  }
}
