:root {
    --ocpf-blue: #1a3a5c;
    --ocpf-blue-light: #2a5a8c;
    --ocpf-accent: #0d6efd;
}

.dev-hero {
    background: linear-gradient(135deg, var(--ocpf-blue) 0%, var(--ocpf-blue-light) 100%);
    color: #fff;
    padding: 4rem 0;
}

.dev-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.dev-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.dev-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dev-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dev-code {
    background: #1e1e2e;
    color: #cdd6f4;
    border-radius: 0.5rem;
    padding: 1.25rem;
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    line-height: 1.6;
}

.dev-code .comment {
    color: #6c7086;
}

.dev-code .string {
    color: #a6e3a1;
}

.dev-code .keyword {
    color: #89b4fa;
}

.dev-callout {
    background: #e8f0fe;
    border-left: 4px solid var(--ocpf-accent);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1rem 1.25rem;
}

.dev-section {
    padding: 3rem 0;
}

.dev-nav {
    background: var(--ocpf-blue);
}

.dev-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.guide-toc a {
    color: #495057;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

.guide-toc a:hover {
    color: var(--ocpf-accent);
}

h2.guide-heading {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .dev-hero {
        padding: 2.5rem 0;
    }
    .dev-hero h1 {
        font-size: 1.75rem;
    }
}
