/* v161 (Richard): Partnerships and "Two delivery modes" compact (one-line titles); phones and tablets: no sideways scrollers, nothing wider than the screen, text at least 12 px */
html body #partners.pt161,html body #teams.tm161{padding-block:72px}
html body #partners.pt161 .sec-head,html body #teams.tm161 .sec-head{margin-bottom:32px}
html body #partners.pt161 .sec-head h2,html body #teams.tm161 .sec-head h2{font-size:48px !important;line-height:1 !important;letter-spacing:-.05em;margin:0}
html body #partners.pt161 .sec-head>div:not(.sec-label),html body #teams.tm161 .sec-head>div:not(.sec-label){display:grid !important;grid-template-columns:auto minmax(0,1fr);gap:20px 48px;align-items:end}
@media(min-width:1180px){html body #partners.pt161 .sec-head h2,html body #teams.tm161 .sec-head h2{white-space:nowrap}}
html body #partners.pt161 .lede,html body #teams.tm161 .lede{margin:0;font-size:14px;line-height:1.6}
#partners .pt161-r{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
#partners .pt161-r .kx-toggle{margin:0}
#partners.pt161 .partners-v2-grid h3{margin:12px 0 8px;font-size:16px;line-height:1.2}
@media(min-width:1180px){#partners.pt161 .partners-v2-grid h3{white-space:nowrap}}
#teams.tm161 .w20-routes{align-items:stretch}
#teams.tm161 .w20-route{padding:22px 24px;gap:8px}
#teams.tm161 .w20-route b{font-size:24px}
#teams.tm161 .w20-route em{margin-top:auto;padding-top:6px}
@media(max-width:1179px){html body #partners.pt161 .sec-head>div:not(.sec-label),html body #teams.tm161 .sec-head>div:not(.sec-label){grid-template-columns:1fr;align-items:start}
 html body #partners.pt161 .sec-head h2,html body #teams.tm161 .sec-head h2{font-size:40px !important}}
@media(max-width:560px){html body #partners.pt161 .sec-head h2,html body #teams.tm161 .sec-head h2{font-size:34px !important}
 #partners .pt161-r .kx-toggle{width:100%;justify-content:center}}
/* the four workshops: no sideways tab row below 900 px; the tabs wrap two to a row */
@media(max-width:900px){html body #workshops .ws159-list{display:grid !important;grid-template-columns:1fr 1fr;overflow:visible}
 html body #workshops .ws159-list button{flex:none;min-width:0;border-right:0;border-bottom:1px solid #dfe8ec}
 html body #workshops .ws159-list button:nth-child(odd){border-right:1px solid #dfe8ec}
 html body #workshops .ws159-list button:nth-child(n+3){border-bottom:0}}
@media(max-width:420px){html body #workshops .ws159-list button{padding:14px 12px;gap:10px}
 html body #workshops .ws159-no{font-size:24px}
 html body #workshops .ws159-t b{font-size:14px}}
/* the tools strip stacks before it gets too narrow */
@media(max-width:900px){html body #tools .wt157-row{padding-block:48px}
 html body #tools .wt157-stats{flex-direction:column}
 html body #tools .wt157-s,html body #tools .wt157-s:first-child{padding:18px 0;border-left:0;border-top:1px solid #2c343b}
 html body #tools .wt157-n{flex-basis:112px;font-size:58px}}
/* sessions: the list column may shrink (it pushed the page wider at 1024 px); the date counts readable */
.sched{grid-template-columns:minmax(0,1fr) 300px}
@media(max-width:980px){.sched{grid-template-columns:minmax(0,1fr)}}
@media(min-width:600px) and (max-width:980px){.sched aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.sched aside .sub-card{margin-top:0}}
.tab sup{font-size:12px !important}
/* Field Notes is hidden on the homepage (v158), so it is not linked from here either */
a[href$="#fieldnotes"]{display:none !important}
