/* Shared chrome for docs/*.html pages.
   Loaded after common.css; page-specific rules remain inline in each page. */

.hero {
    background: #000;
    color: #fff;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero .meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.badge {
    background: #fff;
    color: #000;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #000;
}

.content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.content p {
    margin: 1rem 0;
    line-height: 1.8;
}

.content li {
    margin: 0.5rem 0;
}

.content code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 2px solid #000;
}

.content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.9rem;
}

code, pre, pre code, .hljs, .hljs * {
    font-family: 'Courier New', Consolas, Monaco, 'Andale Mono', monospace !important;
}

.content a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}

.content strong {
    font-weight: 700;
}

.doc-nav {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 4rem 0 2rem;
    padding-top: 2rem;
    border-top: 3px solid #000;
}

.doc-nav-item {
    flex: 1;
    border: 2px solid #000;
    padding: 1.5rem;
    text-decoration: none;
    color: #000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-nav-item:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0 #000;
}

.doc-nav-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.doc-nav-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.doc-nav-next {
    text-align: right;
}

.context-banner {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 1rem 2rem;
    text-align: center;
}

.context-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: #444;
}

.context-banner a {
    color: #000;
    font-weight: 500;
}
