/* Services: street repairs stacked above ice repairs, each block started by the teal bar alone. */
[hidden] { display: none !important; }

/* Held pane: the filter and the next link sit close under the intro. */
.switch { margin: 0.25rem 0 0; }
.held__next { margin: 0; padding-top: 0.25rem; }
.held__next a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); }
.held__next a:hover { color: var(--teal); }

/* The two blocks: full width, one after the other, no rule between them. */
.bench { display: block; margin-bottom: var(--gap); }
.side { min-width: 0; border-top: var(--bar) solid var(--teal); padding-top: 1.25rem; margin-bottom: var(--sect); }
.side:last-child { margin-bottom: var(--gap); }
.side h2 { margin-bottom: 0.5em; }
.side__intro { max-width: 34rem; margin-bottom: var(--gap); }

/* Entries: one square picture of one width, flush left; title on the left, a dotted leader,
   then the repair's short plain name at the right. When a long title leaves no room, the
   leader and its label drop to a line of their own, so the leader is never a stub. */
.entry { margin: 0 0 var(--gap); }
.entry:last-child { margin-bottom: 0; }
.entry__pic { margin: 0 0 0.6rem; }
.entry__pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.entry__row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 0.6rem; }
.entry__row h3 { margin: 0; flex: 0 1 auto; min-width: 0; max-width: 100%; font-size: 1.3rem; }
.entry__row .leader { flex: 1 1 4rem; min-width: 4rem; }
.entry__kind { flex: 0 1 auto; max-width: 100%; font-size: 0.95rem; line-height: 1.3; }
.entry__row a { color: var(--ink); }
.entry__row a:hover { color: var(--teal); }
.entry p { margin: 0.35rem 0 0; }

.pairnote { max-width: 34rem; margin-bottom: 0; }
.page-services .next { margin-top: var(--sect); }

/* Switch: the side not chosen is taken out at once. */
.bench[data-show="street"] .side--ice,
.bench[data-show="ice"] .side--street { display: none; }
.bench[data-show="street"] .side--street,
.bench[data-show="ice"] .side--ice { margin-bottom: var(--gap); }

/* Wide desk screens: the picture stands at the column's left edge, the words beside it. */
@media (min-width: 64rem) {
  .entry { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1.25rem; align-items: start; }
  .entry__pic { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .entry__row { grid-column: 2; grid-row: 1; }
  .entry > p { grid-column: 2; grid-row: 2; }
  .entry__row h3 { font-size: 1.2rem; }
}
