.updates-section .updates-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

@media(max-width:950px){
  .updates-section .updates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-menu.open{display:block;padding:0;background:#111318;max-height:calc(100dvh - 64px);overflow:auto}
  .mobile-menu-inner{width:min(720px,100%);margin:0 auto;padding:14px 14px 18px;display:grid;gap:10px}
  .mobile-nav-section{border:1px solid #ffffff24;background:#202124}
  .mobile-nav-section summary{position:relative;list-style:none;padding:14px 42px 14px 16px;font-size:17px;font-weight:900;cursor:pointer;border-bottom:1px solid transparent}
  .mobile-nav-section summary::-webkit-details-marker{display:none}
  .mobile-nav-section summary::after{content:'⌄';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:16px;color:#ddd;transition:transform .18s ease}
  .mobile-nav-section[open] summary{border-bottom-color:#ffffff18}
  .mobile-nav-section[open] summary::after{transform:translateY(-50%) rotate(180deg)}
  .mobile-nav-links{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;padding:8px 12px 12px}
  .mobile-nav-links a{display:flex;align-items:center;min-height:40px;padding:7px 4px;font-size:14px;font-weight:700;color:#f0efeb}
  .mobile-nav-links a:hover{color:#fff}
  .mobile-login-link{margin-top:2px}
}
@media(max-width:520px){
  .mobile-nav-links{grid-template-columns:1fr}
  .mobile-nav-section summary{font-size:16px}
}
@media(max-width:700px){
  .updates-section .updates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .updates-section .update-card{min-width:0}
  .updates-section .update-image{aspect-ratio:1.5/1}
  .updates-section .update-body{padding:13px}
  .updates-section .update-body h3{font-size:19px;line-height:1.05;margin:7px 0}
  .updates-section .update-body p{font-size:13px;line-height:1.4;margin:0 0 10px}
  .updates-section .update-body a{font-size:12px}
  .home-directory-section .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-directory-section .directory-card{padding:16px;min-height:180px}
  .home-directory-section .directory-number{font-size:34px}
  .home-directory-section .directory-card h3{font-size:21px;margin:10px 0 6px}
  .home-directory-section .directory-card p{font-size:13px;line-height:1.4;margin:0 0 10px}
  .tools-preview .tool-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tools-preview .tool-preview-grid>a{padding:17px}
  .tools-preview .tool-preview-grid span{font-size:28px}
  .tools-preview .tool-preview-grid h3{font-size:21px;margin:10px 0 7px}
  .tools-preview .tool-preview-grid p{font-size:13px;line-height:1.4;margin-bottom:0}
}
@media(max-width:390px){
  .updates-section .update-body p{display:none}
  .home-directory-section .directory-card{min-height:160px;padding:14px}
  .home-directory-section .directory-card p{display:none}
}
