/* Desktop pairs equivalent sections. The DOM and mobile order follow each team. */
.paired-lineups.team-ordered{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.team-ordered>.lineup-team{display:contents}
.team-ordered .lineup-team-home>.team-heading,.team-ordered .lineup-team-home>.lineup-section{grid-column:1}
.team-ordered .lineup-team-away>.team-heading,.team-ordered .lineup-team-away>.lineup-section{grid-column:2}
.team-ordered .team-heading{grid-row:1}
.team-ordered .lineup-section-starting{grid-row:2}
.team-ordered .lineup-section-bench{grid-row:3}
.team-ordered .lineup-section-subs{grid-row:4}
.team-ordered .lineup-section-managers{grid-row:5}
.team-ordered .lineup-section-yellows{grid-row:6}
.team-ordered .lineup-section-reds{grid-row:7}
.team-ordered .lineup-section-missed{grid-row:8}
.team-ordered .lineup-section{border-left:0}
.team-ordered .lineup-team-away>.lineup-section,.team-ordered .lineup-team-away>.team-heading{border-left:1px solid var(--line,#d5d5d5)}
@media(max-width:700px){
 .paired-lineups.team-ordered{display:block}
 .team-ordered>.lineup-team{display:block}
 .paired-lineups.team-ordered .team-heading{display:block}
 .team-ordered .lineup-section .mobile-team{display:none}
 .team-ordered .lineup-team-away{margin-top:18px}
 .team-ordered .lineup-team-away>.lineup-section,.team-ordered .lineup-team-away>.team-heading{border-left:0}
}
