/* Reset default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body styles - center the content block */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers the block horizontally */
    padding: 40px 20px;
}

/* limit width for content block */
body > * {
    max-width: 800px;
    width: 100%;
}

/* banner image full width of block */
img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* headings to be left aligned */
h1, h2, h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
}

/* paragraphs to be left aligned */
p {
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

/* Links */
a {
    color: #b12930;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* bullets and item numbers are to be *inside* the box, not outside */
ul, ol {
    list-style-position: outside;    /* numbers outside the text (not outside the box) */
    padding-left: 2em;               /* space for the numbers */
    margin-left: auto;               /* centre the block horizontally */
    margin-right: auto;
    max-width: 800px;                /* same as your content block */
}

/* Optional: spacing between items */
ul li, ol li {
    margin-bottom: 0.5em;
}

/* Shared monospace font */
pre,
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
                 "Liberation Mono", monospace;
}

/* Block code (including highlighted blocks) */
pre,
.codehilite pre {
    background-color: #eceff3;   /* distinct from #f5f5f5 */
    border-left: 4px solid #c0c6cc;
    padding: 0.9em 1.1em;
    margin: 1.2em 0;
    overflow-x: auto;
    line-height: 1.45;
    border-radius: 4px;
}

/* Inline code only */
p code,
li code,
td code {
    background-color: #e8ebee;
    padding: 0.15em 0.35em;
    border-radius: 3px;
}

/* Prevent double styling of code inside pre */
pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

