﻿:root {
    --la-brand: #489add;
    --la-border: #e8e8e8;
}

/* ===== Base ===== */
body {
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
}

pre {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: auto;
}

code {
    font-family: ui-monospace, Consolas, monospace;
}

:root {
    --la-brand: #489add;
    --la-border: #e8e8e8;
}

/* ===== Header (fluid bar like deeplearning.ai) ===== */

/* FULL-WIDTH HEADER BAR + FULL-WIDTH HEADER CONTENT */
.la-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--la-border);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* inner is NOT max-width. It's fluid, just padded. */
.la-header-inner {
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

/* MAIN CONTENT is constrained */
.la-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}


.la-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    color: var(--la-brand);
}

.la-logo {
    display: block;
    width: 36px;
    height: 36px;
}

.la-title {
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.1px;
}

.la-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.la-navlink {
    text-decoration: none;
    color: #111;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
}

    .la-navlink:hover {
        border-bottom-color: currentColor;
    }

    .la-navlink:focus-visible {
        outline: 2px solid rgba(72,154,221,0.35);
        outline-offset: 3px;
        border-radius: 6px;
    }

/* ===== CGDL demo bits ===== */
.cgdl-run {
    margin: 8px 0 10px;
    padding: 6px 10px;
}

.cgdl-out {
    display: none;
    margin: 8px 0 16px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}
