/* Mobile fixes for LibrosFCEA */

/* Fix for logo being cut off in mobile header */
@media screen and (max-width: 667px) {
  .logo-container {
    height: auto;
    padding: 5px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo-container img {
    max-height: 35px !important;
    width: auto;
    object-fit: contain;
  }
  
  .top-bar {
    height: auto;
    min-height: 3.6em;
    padding: 5px 0;
  }
}

/* Ensure proper spacing in mobile navigation */
@media screen and (max-width: 540px) {
  .categories-grid {
    grid-template-columns: 1fr !important;
  }
  
  .semestre-pair {
    display: flex;
    flex-wrap: wrap;
  }
  
  .featured-post {
    flex: 0 0 50%;
  }
}