@media (max-width: 768px) {
  

  h1 {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  

  .container {
    padding: 1rem;
  }
  

  .intro {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .intro h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .intro p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  

  .quote {
    margin: 1.2rem 0;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .quote::before,
  .quote::after {
    font-size: 2rem;
  }
  
  .quote-author {
    font-size: 0.9rem;
  }
  

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 160px;
  }
  
  .gallery-caption {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
  

  .writers {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .writer-card {
    padding: 1.2rem;
  }
  
  .writer-card::before {
    width: 3px;
  }
  
  .writer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }
  
  .writer-years {
    font-size: 0.85rem;
  }
  
  .writer-address {
    font-size: 0.95rem;
  }
  
  .btn-more {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    margin-top: 0.8rem;
  }
  

  .timeline {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    padding-left: 30px;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
  }
  
  .timeline-year {
    left: -18px;
    width: 35px;
    height: 22px;
    font-size: 0.8rem;
  }
  
  .timeline-content h4 {
    font-size: 1rem;
  }
  
  .timeline-content p {
    font-size: 0.9rem;
  }
  

  .map-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .map-section h2 {
    font-size: 1.6rem;
  }
  
  .map-container {
    height: 350px;
    border-radius: 8px;
  }
  

  .books-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .books-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .books-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .book-item {
    padding: 1rem;
  }
  
  .book-title {
    font-size: 0.95rem;
  }
  
  .book-author {
    font-size: 0.85rem;
  }
  

  footer {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }
}



@media (max-width: 480px) {
  
  header {
    padding: 2rem 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 0.95rem;
  }
  

  .btn-more {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  

  .map-container {
    height: 300px;
  }
  

  .timeline-year {
    width: 30px;
    height: 20px;
    font-size: 0.75rem;
  }
  

  .gallery-item img {
    height: 140px;
  }
}