/* RESPONSIVE */
    @media (max-width:980px){
      /* Trên tablet/điện thoại: header không sticky.
         Khi menu mở, nó sẽ cuộn đi cùng nội dung thay vì chiếm cố định màn hình. */
      .site-header{
        position:relative;
        top:auto;
        backdrop-filter:none;
        background:#fff;
      }

      .nav-links{display:none}
      .menu-btn{display:inline-grid;place-items:center;margin-left:auto}
      .nav-search-btn{display:none}

      .mobile-panel{
        position:relative;
        max-height:none;
        overflow:visible;
        box-shadow:0 12px 28px rgba(23,74,126,.07);
      }

      .category-grid,
      .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

      .workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
      .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media (max-width:680px){
      .brand-logo{width:40px;height:40px;flex-basis:40px;filter:drop-shadow(0 4px 9px rgba(23,74,126,.12));}

      .container{width:min(calc(100% - 22px),var(--container))}

      .nav{min-height:62px;gap:14px}
      .brand-mark{width:38px;height:38px;border-radius:11px}
      .brand-text{font-size:14px}
      .menu-btn{width:40px;height:40px}

      /* Menu mobile gọn hơn và luôn nằm trong luồng trang. */
      .mobile-panel{
        padding:6px 14px 10px;
        border-top:1px solid var(--line);
      }

      .mobile-panel a{
        padding:12px 8px;
        font-size:14px;
        line-height:1.35;
      }

      .hero{padding:42px 0 32px}
      .hero-search{
        padding:8px 8px 8px 14px;
        border-radius:15px;
      }
      .search-submit{padding:12px 13px}
      .hero-search input{font-size:14px}
      .search-clear{width:34px;height:34px;flex-basis:34px}

      section{padding:40px 0}
      .section-head{align-items:flex-start}
      .section-title{font-size:24px}

      .category-grid{grid-template-columns:1fr}
      .tool-grid{grid-template-columns:1fr}
      .workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .standards-grid{grid-template-columns:1fr}
      .guide-grid{grid-template-columns:1fr}

      .category-card{min-height:auto}
      .recent-card{align-items:flex-start;flex-direction:column}
      .open-btn{width:100%}
    }