/* style.css
   Visual styling for the AI Explorations page.
*/

/* Base Setup */
body {
    background-color: #ffffff;
    color: #333333;
    /* Prioritize Computer Modern Sans, fall back to system sans */
    font-family: 'CMU Sans Serif', 'Computer Modern Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 18px;
}

/* Layout Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 50vh; /* Ensure some height while loading */
}

/* Image Handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Typography Tweaks */
h1, h2, h3 {
    font-weight: bold;
    color: #111;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 { 
    font-size: 2.5em; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px; 
}

h2 { font-size: 1.8em; }

ul { padding-left: 20px; }
li { margin-bottom: 8px; }


/* Code Blocks - Let Highlight.js handle the styling */
pre {
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
    margin: 1.5em 0;
}

/* The 'hljs' class is added by the library */
.hljs {
    padding: 15px !important; /* Force padding */
    background: #f6f8fa !important; /* GitHub-style light grey */
    border-radius: 6px;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Loading State */
#content.loading {
    opacity: 0.5;
}
