.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background-color: #ffffff; /* main content background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 0 15px;
    box-sizing: border-box;
}

/* Wraps main content and advertisement for responsive layout */
.content-wrapper {
    display: flex;
    flex-direction: column; /* mobile default (stacked) */
    padding: 20px 0;
}

/* Primary content area */
main {
    flex-grow: 1;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #e6f7ff; /* light blue page background */
    color: #000000;
}
/* Advertisement block */
.advertisement {
    background-color: #f0f5f5;
    padding: 15px;
    margin-top: 20px;
    border-left: 1px solid #cce6ff;
    border-radius: 5px;
    text-align: center;
}

/* Page-specific additions */
.library-header {
    text-align: center;
    margin: 2rem 0 1rem;
}

.library-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-family: inherit;
}

.library-header p {
    color: #555;
    font-size: 1rem;
}

.intro-text {
    font-size: 1rem;
    color: #333;
    
    line-height: 1.6;
    
    margin-bottom: 1.5rem;
 max-width: 700px;

}

#searchInput {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
}

#adlibList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#adlibList li {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

#adlibList li:hover {
    background-color: #f2faff;
}

.no-results {
    text-align: center;
    color: #777;
    margin-top: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  background-color: black;
  color: white;
  font-size: 1rem;
  border-top: 1px solid #ccc;
  line-height: 1.8;
}

.site-footer .footer-links {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: bold;
}

.site-footer a:link,
.site-footer a:visited {
  color: #cce6ff;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}