
/* ============ THE LIBRARY'S OWN RHYTHM (hubgrid.py) =================== */
html body .hubg-mix{grid-template-columns:repeat(12,1fr);gap:22px;
  align-items:stretch;}
/* the V6 sheet puts grid-column:span 4 on .hubc wherever it finds one, on
   the class rather than in context, so every width here has to say so */
html body .hubg-mix > .hubc.hubc-feat{grid-column:span 12;}
html body .hubg-mix > .hubc.hubc-w3{grid-column:span 4;}
html body .hubg-mix > .hubc.hubc-w2{grid-column:span 6;}
html body .hubg-mix > .hubc.hubc-w1{grid-column:span 12;}

/* THE FEATURE: the same card lying down. The photograph takes the larger
   share because it is the only one on the page big enough to be worth
   looking at, and the words centre against it rather than sitting at the
   top, which is what stops a short blurb leaving a hole under itself. */
html body .hubg-mix > .hubc.hubc-feat{display:grid;
  grid-template-columns:1.15fr 1fr;align-items:stretch;}
html body .hubg-mix > .hubc-feat .hubc-ph{height:100%%;min-height:360px;}
html body .hubg-mix > .hubc-feat .hubc-bd{justify-content:center;
  padding:48px 52px 50px;}
html body .hubg-mix > .hubc-feat h3{font-size:clamp(26px,2.3vw,34px);
  line-height:1.14;letter-spacing:-.9px;margin-top:20px;min-height:0;}
html body .hubg-mix > .hubc-feat p{font-size:16px;line-height:1.62;
  margin-top:16px;flex:0 1 auto;max-width:46ch;}
html body .hubg-mix > .hubc-feat .go{margin-top:26px;font-size:14px;}

/* the two wide card is not a stretched three wide: it gets the taller
   photograph and a size up on the title, or the row reads as a mistake in
   the column count rather than a change of pace */
html body .hubg-mix > .hubc-w3 .hubc-ph{height:196px;}
html body .hubg-mix > .hubc-w2 .hubc-ph{height:252px;}
html body .hubg-mix > .hubc-w2 h3{font-size:22px;letter-spacing:-.55px;}
html body .hubg-mix > .hubc-w2 p{font-size:14.5px;}
html body .hubg-mix > .hubc-w1 .hubc-ph{height:252px;}

@media (max-width:1080px){
  html body .hubg-mix{grid-template-columns:repeat(6,1fr);gap:18px;}
  html body .hubg-mix > .hubc.hubc-feat{grid-column:span 6;
    grid-template-columns:1fr;}
  html body .hubg-mix > .hubc-feat .hubc-ph{min-height:240px;height:240px;}
  html body .hubg-mix > .hubc-feat .hubc-bd{padding:30px 30px 32px;}
  html body .hubg-mix > .hubc.hubc-w3,
  html body .hubg-mix > .hubc.hubc-w2,
  html body .hubg-mix > .hubc.hubc-w1{grid-column:span 3;}
}
@media (max-width:640px){
  html body .hubg-mix{grid-template-columns:1fr;}
  html body .hubg-mix > .hubc.hubc-feat,
  html body .hubg-mix > .hubc.hubc-w3,
  html body .hubg-mix > .hubc.hubc-w2,
  html body .hubg-mix > .hubc.hubc-w1{grid-column:1 / -1;}
  html body .hubg-mix > .hubc .hubc-ph{height:196px;}
}
