/* css/sections/24-two-boilers.css · G4 · E5.2 two equal boilers beside one boiler with a heat-exchanger tube */
@layer sections {
  /* line language shared with 22: solid 1.25 for what you see, dashed 6 4 for what is inside,
     water as a soft accent fill (the tube's brew water reads a step warmer, inside the boiler's), thin moving line */
  .boilers__svg { width: 100%; height: auto; aspect-ratio: 830 / 360; }
  .s-two-boilers .boilers__divider { fill: none; stroke: var(--color-rule); stroke-width: 1; }
  .s-two-boilers .boilers__water { fill: color-mix(in oklch, var(--color-accent) 20%, transparent); stroke: none; }
  .s-two-boilers .ln { stroke-width: 1.25; }
  .s-two-boilers .ln--in { stroke-dasharray: 6 4; }
  .s-two-boilers .boilers__level { stroke: var(--color-muted); stroke-dasharray: 1 4; }
  .s-two-boilers .boilers__tube { stroke: var(--color-accent); }
  .s-two-boilers .boilers__flow { stroke-width: 1; stroke-dasharray: 3 9; }
}
@layer sections {
  /* a wide plate under the heading: the comparison reads side by side, so it is not squeezed into the sticky column */
  @media (min-width: 64em) {
    .s-two-boilers .topic__fig { grid-column: 1 / -1; grid-row: 2; position: static; margin-block: 0 var(--how-row-gap); }
    .s-two-boilers .topic__body { grid-row: 3; }
  }
  @media (min-width: 75em) {
    .s-two-boilers .topic__fig { grid-column: 1 / -1; max-inline-size: 60rem; }
  }
}

@layer sections {
  /* phones: the comparison 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-two-boilers .topic__fig { margin-inline: calc(-1 * var(--gutter)); padding: var(--space-sm); border-inline-width: 0; }
    .s-two-boilers .topic__fig > figcaption { padding-inline: calc(var(--gutter) - var(--space-sm)); }
    .s-two-boilers .topic__fig svg { inline-size: 100%; block-size: auto; }
    .s-two-boilers .topic__fig .ln { stroke-width: 1.5; }
    .s-two-boilers .topic__fig .boilers__flow { stroke-width: 1.25; }
  }
}
