/* Keep departments side by side across the two-card and four-card layouts. */
.home-rotation .rotation-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  column-gap: clamp(12px,2vw,26px);
}
.rotation-department {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  min-width: 0;
  gap: 18px;
}
.rotation-department-title {
  grid-column: 1/-1;
  margin: 0;
  padding: .75rem 0 .05rem;
  border-top: 1px solid var(--scovva-line,#34362f);
  color: var(--bone,#f6f6ed);
  font: 600 .75rem/1.3 system-ui,sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width:1000px) {
  .rotation-department { grid-template-columns: minmax(0,1fr); gap: 22px; }
}
@media (max-width:620px) {
  .rotation-department { gap: 18px; }
}
@supports (grid-template-rows: subgrid) {
  .home-rotation .rotation-grid { row-gap: 20px; }
  .rotation-department { grid-row: span 3; grid-template-rows: subgrid; }
  @media (max-width:1000px) {
    .rotation-department { grid-row: span 5; }
  }
}
