/* css/sections/22-e61.css · G4 · E5.1 cross-section of an E61 group (drawn by core data-draw while read)
   Line language (shared with 24): solid 1.25 for what you see, dashed 6 4 for what is inside,
   water as a soft accent fill with a thin moving line. */
@layer sections {
  .e61__svg { width: 100%; height: auto; aspect-ratio: 800 / 440; }
  .s-e61 .e61__hatch { fill: url(#hatch); }
  .s-e61 .e61__water { fill: color-mix(in oklch, var(--color-accent) 20%, transparent); stroke: none; }
  .s-e61 .ln { stroke-width: 1.25; }
  .s-e61 .ln--in { stroke: var(--color-muted); stroke-dasharray: 6 4; }
  .s-e61 .e61__screen { stroke-dasharray: 1 4; }
  .s-e61 .e61__flow { stroke-width: 1; stroke-dasharray: 3 9; }
  .e61__caption { display: grid; gap: var(--space-2xs); }
  .e61__cap { display: block; }
  .s-e61 .topic__answer--trade a { white-space: nowrap; }
  .e61__cap + .e61__cap { font-weight: 400; color: var(--color-muted); }
}
@layer sections {
  /* a wide plate under the heading, as in 24: the section reads at a size where the jacket and both pipes are clear */
  @media (min-width: 64em) {
    .s-e61 .topic__fig { grid-column: 1 / -1; grid-row: 2; position: static; margin-block: 0 var(--how-row-gap); max-inline-size: 60rem; }
    .s-e61 .topic__body { grid-row: 3; }
  }
  @media (min-width: 75em) {
    .s-e61 .topic__fig { grid-column: 1 / -1; }
  }
}

@layer sections {
  /* phones: the cross-section runs edge to edge with a tight inset, and its lines thicken a step, so it reads at 320 to 390 */
  @media (max-width: 39.99em) {
    .s-e61 .topic__fig { margin-inline: calc(-1 * var(--gutter)); padding: var(--space-sm); border-inline-width: 0; }
    .s-e61 .topic__fig > figcaption { padding-inline: calc(var(--gutter) - var(--space-sm)); }
    .s-e61 .topic__fig svg { inline-size: 100%; block-size: auto; }
    .s-e61 .topic__fig .ln { stroke-width: 1.5; }
    .s-e61 .topic__fig .e61__flow { stroke-width: 1.25; }
  }
}
