/* ---------- Round v22 · the Journal, reformatted (Bryan 7:49 PM) ----------
   Problem: on short desktop windows the bottoms of the three small cards were cut off (1280x720: 11px under the window).
   New layout on wide screens: a slimmer heading row (title on the left, the archive line and lead on the right), then the
   featured long read as a tall card on the left and the other three as compact picture-and-words rows stacked on the right.
   Every card has room for its whole text, its excerpt is limited to whole lines, and "Read" always sits inside the card.
   Phones keep one column (v21), with a little more air. Same words, same pictures, same links.
   Also: #follow ("Stay Curious. Stay Connected.") gets a calmer two-part layout. The social logos are not changed. */

/* ---- wide screens ---- */
@media (min-width:1024px) and (min-aspect-ratio:21/20){
  .block--journal{--pw:min(1180px,90vw)}
  .journal__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(28px,4vw,72px);align-items:end;text-align:left}
  .journal__head .label{grid-column:1 / -1;justify-content:flex-start;margin-bottom:8px}
  .journal__head .label::before{display:none}
  .journal__head h2{grid-column:1;grid-row:2 / span 3;margin:0;font-size:clamp(38px,3.5vw,60px);line-height:1.02}
  .journal__head h2 em{display:block}
  .journal__head .journal__archive{grid-column:2;margin:0}
  .journal__head .journal__lead{grid-column:2;margin:6px 0 0;font-size:clamp(17px,1.3vw,22px);line-height:1.4}
  .journal__head .journal__sub{grid-column:2;margin:6px 0 0}
  .flow--cards{margin-top:clamp(16px,2.8vh,30px)}
  .jcards{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-rows:repeat(3,auto);gap:clamp(10px,1.4vh,16px) clamp(14px,1.6vw,24px);align-items:stretch}
  .jcards .jcard--feat{grid-column:1;grid-row:1 / span 3}
  .jcards .jcard:not(.jcard--feat){grid-column:2}
  /* featured: picture on top, words below, fills the full height of the three rows */
  .jcards .jcard--feat a{flex-direction:column}
  .jcards .jcard--feat .jcard__img{width:100%;flex:1 1 auto;min-height:clamp(120px,20vh,240px);aspect-ratio:auto}
  .jcards .jcard--feat .jcard__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .jcards .jcard--feat .jcard__img::after{background:linear-gradient(rgba(30,8,26,0) 55%,rgba(40,10,32,.75))}
  .jcards .jcard--feat .jcard__txt{flex:0 0 auto;justify-content:flex-start;padding:clamp(14px,2vh,22px) clamp(18px,2vw,30px) clamp(16px,2.2vh,24px)}
  .jcards .jcard--feat .entry__t{font-size:clamp(24px,2.1vw,34px);margin-top:8px}
  .jcards .jcard--feat .entry__x{-webkit-line-clamp:2;font-size:clamp(16px,1.2vw,19px)}
  .jcards .jcard--feat .jcard__go{padding-top:12px}
  /* the three others: compact rows, picture on the left */
  .jcards .jcard:not(.jcard--feat) a{flex-direction:row;border-radius:18px}
  .jcards .jcard:not(.jcard--feat) .jcard__img{flex:0 0 32%;width:32%;aspect-ratio:auto;min-height:100%}
  .jcards .jcard:not(.jcard--feat) .jcard__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .jcards .jcard:not(.jcard--feat) .jcard__img::after{background:linear-gradient(90deg,rgba(30,8,26,0) 55%,rgba(40,10,32,.6))}
  .jcards .jcard:not(.jcard--feat) .jcard__txt{min-width:0;padding:clamp(10px,1.6vh,16px) clamp(14px,1.4vw,20px)}
  .jcards .jcard:not(.jcard--feat) .entry__t{margin-top:4px;font-size:clamp(18px,1.35vw,22px)}
  .jcards .jcard:not(.jcard--feat) .entry__x{margin-top:4px;-webkit-line-clamp:2;font-size:clamp(13px,.88vw,14.5px)}
  .jcards .jcard:not(.jcard--feat) .jcard__go{padding-top:8px;font-size:11px}
}
/* short desktop windows: the third heading line steps aside (v21 did the same) and everything is a notch tighter */
@media (min-width:1024px) and (min-aspect-ratio:21/20) and (max-height:820px){
  .journal__head h2{font-size:clamp(34px,3vw,46px)}
  .journal__head .journal__lead{font-size:17px}
  .jcards .jcard--feat .jcard__img{min-height:110px}
  .jcards .jcard:not(.jcard--feat) .entry__x{-webkit-line-clamp:1}
  .jcards .jcard--feat .entry__x{-webkit-line-clamp:2}
}
@media (min-width:1024px) and (min-aspect-ratio:21/20) and (max-height:740px){
  .flow--cards{margin-top:12px}
  .jcards .jcard:not(.jcard--feat) .jcard__txt{padding:8px 16px}
  .jcards .jcard:not(.jcard--feat) .jcard__go{padding-top:4px}
  .jcards .jcard--feat .jcard__txt{padding:12px 22px 14px}
  .jcards .jcard--feat .entry__t{font-size:26px}
}
/* phones: one column, exactly as v21 */

/* ---- #follow: "Stay Curious. Stay Connected." ---- */
@media (min-width:1024px){
  #follow{max-width:min(1180px,100%);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(40px,5vw,88px);align-items:center;text-align:left}
  #follow .follow__in{grid-column:1}
  #follow .follow__in h2{margin:0}
  #follow .follow__in h2 em{display:block}
  #follow .follow__p{max-width:44ch;margin:18px 0 0}
  #follow .follow__links{grid-column:2}
  #follow .follow__k{margin:0 0 16px;text-align:center}
  #follow .follow__msg{grid-column:1 / -1;text-align:center}
}
#follow .follow__soc{gap:14px;max-width:660px;grid-auto-rows:1fr}
#follow .follow__soc .follow__s{height:100%;justify-content:center;padding:14px 18px}
@media (max-width:760px){
  #follow .follow__in{padding:0 4px}
  #follow .follow__p{margin-top:14px}
  #follow .follow__k{margin-top:30px}
  #follow .follow__soc{gap:12px}
  #follow .follow__soc .follow__s{padding:14px 10px}
}
