/* ---------------------------------------------
   Law Liberty Network – Responsive Tweaks
   --------------------------------------------- */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  }

  .acts-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablets */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-text {
    max-width: none;
  }

  .ai-search-area {
    max-width: none;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phones */
@media (max-width: 700px) {
  .site-header {
    position: static; /* avoid cramped sticky header on small phones */
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav ul {
    gap: 0.35rem;
  }

  .main-nav a {
    padding: 0.28rem 0.6rem;
    font-size: 0.82rem;
  }

  .hero-section {
    padding: 3rem 1.1rem 2.6rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .ai-search-box {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  }

  .search-shortcuts {
    justify-content: flex-start;
  }

  .acts-grid,
  .articles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticker-section,
  .gov-section,
  .acts-section,
  .timeline-section,
  .articles-section,
  .vault-section,
  .contact-section,
  .site-footer {
    padding-inline: 1.1rem;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .brand-text .site-title {
    font-size: 1rem;
  }

  .brand-text .site-tagline {
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}
