/* Mobile repair only. Desktop rules above 800px remain unchanged. */
@media (max-width:800px){
 .content-grid.field-community{grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
 .field-community>section,.field-community>.community-note{min-width:0;width:100%}
 .field-community>.community-note{display:block;height:auto;min-height:0;margin:0;padding:24px}
 .community-note h2 br{display:none}
 .community-note .yellow{width:auto;height:auto;min-height:44px;font-size:14px;padding:12px 18px;margin-top:8px}
 .community-note .yellow:after{content:none}
 .community-note small{display:block;margin-top:12px}
}
@media (max-width:600px){
 body{font-size:16px;line-height:1.6}
 .masthead{display:flex;flex-direction:column;isolation:isolate;overflow:visible;background:#f6fafb}
 .masthead:before{display:none}
 .masthead header{order:0;position:relative;z-index:3;background:#fff}
 .masthead .top{height:auto;min-height:83px}
 .masthead-photo{order:1;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:3/2;margin:0;z-index:0;overflow:hidden;background:#244152}
 .masthead-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:54% 47%}
 .masthead-photo figcaption{font-size:11px;top:auto;bottom:10px;right:12px;left:auto;max-width:calc(100% - 24px)}
 .masthead .hero{order:2;width:calc(100% - 32px);padding:24px 0 0;margin:0 auto;min-height:0}
 .masthead .hero-copy{width:100%;padding:0;max-width:none}
 .masthead .hero .eyebrow{color:#087cae;font-size:11px;line-height:1.5;letter-spacing:.8px;margin:0 0 12px}
 .masthead .hero h1{font-size:clamp(30px,8.4vw,36px);line-height:1.12;letter-spacing:-1px;color:#103b57;text-shadow:none;min-height:0;margin:0 0 18px;overflow-wrap:normal}
 .masthead .hero h1 span{color:#087cae}
 .masthead .hero-description{font-size:16px;line-height:1.65;color:#456477;min-height:0;margin:0 0 20px}
 .masthead form{width:100%;max-width:none;min-width:0;gap:6px;padding:6px}
 .masthead form input{width:0;min-width:0;flex:1;font-size:16px}
 .masthead form button{flex-shrink:0;min-height:44px;min-width:72px;font-size:14px}
 .masthead .search-note{font-size:13px;line-height:1.5;margin:10px 0 18px}
 .masthead .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .masthead .quick-actions a,.masthead .quick-actions button{font-size:14px;line-height:1.45;min-height:54px;min-width:0;overflow-wrap:break-word}
 .masthead .directions{order:3;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}
 .masthead .direction{font-size:14px;min-height:52px;padding:12px 8px;min-width:0;border-right:1px solid #d1dfe7;border-bottom:1px solid #d1dfe7}
 .masthead .direction:nth-child(2n){border-right:0}
 .masthead .direction:nth-child(2n+1){border-right:1px solid #d1dfe7}
 .masthead .direction:nth-last-child(-n+2){border-bottom:0}
 .masthead .direction>span:last-child{display:none}
 .masthead-index{display:none}
 .section-title{align-items:flex-start}
 .section-title>div{min-width:0}
 .section-title h2{font-size:27px;line-height:1.2}
 .field-community .thread{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
 .field-community .thread-icon{display:none}
 .field-community .thread>div{min-width:0;width:auto}
 .field-community .thread h3{font-size:18px;line-height:1.4;overflow-wrap:break-word;margin:8px 0}
 .field-community .thread p{font-size:16px;line-height:1.6}
 .field-community .thread small{font-size:13px;line-height:1.5}
 .field-community .replies{min-width:42px;width:42px;margin:2px 0 0;padding:8px 2px;min-height:0;font-size:22px}
 .field-community .replies small{font-size:10px}
 .field-community .panel-bottom{font-size:15px;line-height:1.6}
 .field-community .footnote,.footnote{font-size:13px;line-height:1.6}
 .field-community>.community-note{padding:22px 20px}
 .community-note h2{font-size:25px;line-height:1.3;margin:12px 0}
 .community-note p{font-size:16px;line-height:1.6;margin:12px 0}
 .community-note small{font-size:13px}
 .field-orders .two-col,.field-jobs .three-col,.field-companies .three-col,.field-knowledge .three-col{grid-template-columns:minmax(0,1fr)}
 .field-orders .opportunity p,.field-orders .work-kind{font-size:16px;line-height:1.6}
 .field-orders .panel-heading h3{font-size:17px}
 .field-orders .opportunity h3{font-size:20px;line-height:1.4}
 .field-orders .opportunity .meta{font-size:14px;line-height:1.5}
 #market .three-col{grid-template-columns:minmax(0,1fr)}
 #market .section-intro p{font-size:16px}
 #market .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 #market .filters button{font-size:14px;min-height:44px}
 #market .product-image,#market .listing:first-child .product-image{position:relative;display:block;width:100%;height:auto;aspect-ratio:3/2;min-height:0;flex:none}
 #market .product-image img{position:static;width:100%;height:100%;display:block;object-fit:cover}
 #market .listing h3,#market .listing:first-child h3{font-size:22px;line-height:1.35;min-height:0}
 #market .listing p,#market .listing-body>small{font-size:14px;line-height:1.6}
 .field-jobs .job-card h3{font-size:22px;line-height:1.4;min-height:0}
 .field-jobs .job-region{font-size:16px}
 .field-jobs .job-tags span,.field-jobs .job-bottom{font-size:14px}
 .field-companies .company>div{min-width:0}
 .field-companies .company h3{font-size:20px;line-height:1.4;min-height:0}
 .field-companies .company p{font-size:16px;line-height:1.6;min-height:0}
 .field-knowledge .editorial-lead,.field-knowledge .editorial-short{display:block;grid-column:auto;min-width:0}
 .field-knowledge .knowledge-art,.field-knowledge .editorial-short .knowledge-art{width:100%;height:auto;min-height:0;aspect-ratio:3/2}
 .field-knowledge .editorial-short h3{font-size:22px;line-height:1.4}
 .field-knowledge .knowledge-card p{font-size:16px;line-height:1.6}
 .about p:not(.eyebrow){font-size:16px;line-height:1.7}
 .footer-links a,.footer-links button,.footer-bottom button{font-size:14px;min-height:44px}
 .footer-bottom{font-size:13px}
 .ad-slot p{font-size:15px;line-height:1.6}
 .ad-label{font-size:13px}
}
