/* Media Queries for Midnight Library Theme */

@media (max-width: 992px) {
  .section.head h1 {
    font-size: 2.75rem;
  }
  
  .section.head h1::first-letter {
    font-size: 3.5rem;
  }
  
  .section header h2 {
    font-size: 2rem;
  }
  
  .footer-columns {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-about {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  
  .site-nav a::before,
  .site-nav a::after {
    display: none;
  }
  
  .section.head {
    padding: 5rem 0 4rem;
  }
  
  .section.head h1 {
    font-size: 2.25rem;
  }
  
  .section.head h1::first-letter {
    font-size: 3rem;
  }
  
  .section.head p {
    font-size: 1.05rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section header h2 {
    font-size: 1.75rem;
  }
  
  .section header::before {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
  }
  
  .footer-links ul {
    align-items: center;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-logo a {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
  }
  
  .site-nav a {
    font-size: 0.7rem;
  }
  
  .section.head::before {
    display: none;
  }
  
  .section.head h1 {
    font-size: 1.85rem;
  }
  
  .section.head h1::first-letter {
    font-size: 2.5rem;
  }
  
  .section header h2 {
    font-size: 1.5rem;
  }
  
  .footer::before {
    width: 100px;
  }
}
