/* The author selects an arrangement for each chapter in its dossier. */
main[data-depth-path] > [data-chapter-arrangement] .chapter-content {min-width:0; color:inherit;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-content :is(p,li) {line-height:1.6;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-content :is(.editorial-explanation,.editorial-sequence,.chapter-options) {
  width:100%; max-width:none;
}
main[data-depth-path] > [data-chapter-arrangement] .chapter-options > div {min-width:0;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-options h3 {
  margin:0 0 .55em; font-size:clamp(18px,1.48vw,22px); line-height:1.32;
}
main[data-depth-path] > [data-chapter-arrangement] .chapter-options p {margin:0 0 .75em;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-options p:last-child {margin-bottom:0;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-example figure {margin:0; min-width:0;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-example img {
  display:block; width:100%; height:auto; aspect-ratio:1.8; object-fit:contain;
}
main[data-depth-path] > [data-chapter-arrangement] :is(.chapter-content > p,.chapter-description p) {
  max-width:76ch; margin:0 0 .9em;
}
main[data-depth-path] > [data-chapter-arrangement] .chapter-content > :last-child,
main[data-depth-path] > [data-chapter-arrangement] .chapter-description p:last-child {margin-bottom:0;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-content > .chapter-options + p {margin-top:1.35em;}
main[data-depth-path] > [data-chapter-arrangement] .chapter-content > p + .chapter-options {margin-top:1.25em;}
@media(min-width:901px) {
  main[data-depth-path] > section[data-chapter-arrangement]:not([data-chapter-arrangement=answer]):not([data-chapter-arrangement=photo]) {
    display:block;
  }
  main[data-depth-path] > [data-chapter-arrangement=answer],
  main[data-depth-path] > [data-chapter-arrangement=photo] {
    display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.24fr);
    column-gap:clamp(30px,5.8vw,86px);align-items:start;
  }
  main[data-depth-path] > :is([data-chapter-arrangement=answer],[data-chapter-arrangement=photo]) > .section-heading {
    width:auto;min-width:0;max-width:none;margin:0;grid-area:1/1;
  }
  main[data-depth-path] > [data-chapter-arrangement=answer] > .chapter-content {
    grid-area:1/2;max-width:80ch;
  }
  main[data-depth-path] > [data-chapter-arrangement=photo] {
    grid-template-columns:minmax(0,1.24fr) minmax(0,.76fr);grid-template-rows:max-content 1fr;row-gap:15px;
  }
  main[data-depth-path] > [data-chapter-arrangement=photo] :is(.chapter-content,.chapter-example) {display:contents;}
  main[data-depth-path] > [data-chapter-arrangement=photo] .chapter-description {grid-area:2/1;}
  main[data-depth-path] > [data-chapter-arrangement=photo] .chapter-example figure {grid-area:1/2/3/3;align-self:center;}
  main[data-depth-path] > [data-chapter-arrangement=photo] .chapter-example img {max-height:290px;}
  main[data-depth-path] > [data-chapter-arrangement=case-note] > .chapter-content,
  main[data-depth-path] > [data-chapter-arrangement=measure] > .chapter-content {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px clamp(30px,5vw,78px);align-items:start;
  }
  main[data-depth-path] > [data-chapter-arrangement=case-note] .resource-article-callout {margin:0;max-width:none;}
  main[data-depth-path] > [data-chapter-arrangement=measure] .editorial-calculation {grid-area:1/2/3/3;align-self:center;max-width:none;margin:0;}
  main[data-depth-path] > [data-chapter-arrangement=measure] .chapter-content > p {grid-column:1;margin:0;}
  main[data-depth-path] > [data-chapter-arrangement=terms] :is(.editorial-explanation,.chapter-options) > div {
    display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.45fr);
    column-gap:clamp(28px,5vw,74px);align-items:baseline;
    padding-block:14px;margin:0;border-top:1px solid var(--line-strong-b);
  }
  main[data-depth-path] > [data-chapter-arrangement=terms] :is(.editorial-explanation,.chapter-options) > div > :not(h3) {grid-column:2;margin:0 0 .35em;max-width:75ch;}
  main[data-depth-path] > [data-chapter-arrangement=terms] :is(.editorial-explanation,.chapter-options) h3 {margin:0;max-width:27ch;}
  main[data-depth-path] > [data-chapter-arrangement=parallel] :is(.editorial-explanation,.chapter-options),
  main[data-depth-path] > [data-chapter-arrangement=sequence] .editorial-sequence {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px clamp(22px,3vw,48px);padding:0;margin:0;
  }
  main[data-depth-path] > [data-chapter-arrangement=parallel] :is(.editorial-explanation,.chapter-options) > div {
    min-width:0;margin:0;padding-top:16px;border-top:1px solid var(--line-strong-b);
  }
  main[data-depth-path] > [data-chapter-arrangement=sequence] .editorial-sequence > li {
    margin:0;min-width:0;padding:15px 0 0;list-style-position:inside;border-top:1px solid var(--line-strong-b);
  }
  main[data-depth-path] > [data-chapter-arrangement=sequence] .editorial-sequence > li > h3 {display:inline;}
  main[data-depth-path] > [data-chapter-arrangement=sequence] .editorial-sequence > li > h3 + p {margin-top:.6em;}
  main[data-depth-path] > [data-chapter-arrangement] :is(.editorial-explanation,.editorial-sequence,.chapter-options):is(:has(> :nth-child(2):last-child),:has(> :nth-child(4):last-child)) {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  main[data-depth-path] > [data-chapter-arrangement=parallel] .article-reading-copy {width:100%;max-width:none;}
}
@media(max-width:900px) {
  main[data-depth-path] > [data-chapter-arrangement] .chapter-options > div+div {margin-top:21px;border-top:1px solid var(--line-strong-b);padding-top:15px;}
  main[data-depth-path] > [data-chapter-arrangement=photo] .chapter-example figure {margin-top:18px;max-width:480px;}
  main[data-depth-path] > [data-chapter-arrangement=photo] .chapter-example img {max-height:200px;}
}

@media (min-width: 960px) {
  main[data-depth-path="collections/color-masterbatches/index.html"] > #topic-practice > :is(.section-heading, .article-reading-copy) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  main[data-depth-path="collections/color-masterbatches/index.html"] > #topic-practice > .section-heading > div,
  main[data-depth-path="collections/color-masterbatches/index.html"] > #topic-practice > .article-reading-copy > .story-copy {
    width: min(100%, 44rem);
    max-width: none;
    margin-inline: auto;
  }
}
