/* ==========================================================================
   DLHIFE – responsive.css : desktop (mặc định) → laptop → tablet → mobile
   ========================================================================== */

/* Laptop nhỏ */
@media (max-width: 1199.98px) {
  .section { padding: 76px 0; }
}

/* Tablet & thấp hơn (menu thu gọn) */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin: 8px 0 14px;
    padding: 14px;
    box-shadow: var(--shadow-md);
  }
  .site-header .nav-link { padding: 0.7rem 1rem; }
  .site-header .btn-cta { width: 100%; margin-top: 8px; }

  .hero { padding: 48px 0 72px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions,
  .hero-stats { justify-content: center; }
  .hero-art { margin-top: 36px; max-width: 420px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .toc { position: static; margin-bottom: 32px; }
}

/* Mobile */
@media (max-width: 575.98px) {
  :root { --header-h: 64px; }

  .brand { font-size: 1.2rem; }
  .brand img { width: 36px; height: 36px; }

  .hero { padding: 36px 0 56px; }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions .btn-cta,
  .hero-actions .btn-ghost { width: 100%; }
  .hero-stats { gap: 20px; }

  .section { padding: 52px 0; }
  .about-card,
  .topic-body { padding: 22px; }

  .cta-box { padding: 44px 20px; border-radius: 22px; }
  .cta-box .cta-actions .btn-cta,
  .cta-box .cta-actions .btn-ghost { width: 100%; }

  .page-hero { padding: 44px 0 28px; }
  .legal { padding: 32px 0 64px; }
  .legal-content h2 { font-size: 1.3rem; }
  .legal-table { display: block; overflow-x: auto; }

  .footer-bottom { flex-direction: column; }
}
