/* Media Queries for Ancient Scroll Theme */

@media (max-width: 1200px) {
  .section.head {
    margin: 2rem 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section.head {
    padding: 3rem 1.5rem;
    margin: 2rem 1rem;
  }

  .section.head h1 {
    font-size: 2rem;
  }

  .section.head h1::first-letter {
    font-size: 3.5rem;
  }

  .section.head p {
    font-size: 1.05rem;
    padding: 1.25rem 1rem;
  }

  .section.head::before {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section header h2 {
    font-size: 1.75rem;
  }

  .section header h2::before,
  .section header h2::after {
    display: none;
  }

  .site-header::before {
    font-size: 0.55rem;
    letter-spacing: 3px;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .site-nav li::after {
    display: none;
  }

  .site-nav a {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links ul {
    justify-content: center;
    gap: 1rem;
  }

  .footer-about {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section.head h1 {
    font-size: 1.5rem;
  }

  .section.head h1::first-letter {
    font-size: 2.5rem;
    float: none;
    display: block;
    margin-bottom: 10px;
  }

  .site-logo a {
    font-size: 1.5rem;
  }

  .site-logo a::first-letter {
    font-size: 2rem;
  }
}
