/* text wraping for code & notebook output */
pre code {
    white-space: pre-wrap
}

/* override bootstrap theme for code blocks */
/* TODO: remove and actually edit theme */
pre.sourceCode {
    background-color: rgba(100,100,100,0.1) !important
}

/* notebook cell output */
.cell-output {
    background-color: rgba(100,100,100,0.2)
}

/* Drafts List Styles */
.drafts-list {
    margin: 2rem 0;
}

.drafts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.draft-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.draft-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.draft-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.draft-card h3 a {
    color: #007bff;
    text-decoration: none;
}

.draft-card h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.draft-card .description {
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.draft-card .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.draft-card .path {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.draft-card .path code {
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* Playbooks Grid Styles */
.playbooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.playbook-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.playbook-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.playbook-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.playbook-card h3 a {
    color: #007bff;
    text-decoration: none;
}

.playbook-card h3 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.playbook-card .description {
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.playbook-card .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.playbook-card .path {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.playbook-card .path code {
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}
