body {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

pre {
    background: #f4f4f4;
    padding: 10px;
    border-left: 3px solid #ccc;
}

code {
    background: #f4f4f4;
    padding: 2px 5px;
}

.section {
    border: 2px solid #007acc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
}

.info-panel {
    background-color: #e8f4f8;
    border-left: 4px solid #007acc;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    overflow: auto;
}

.info-panel::before {
    content: "💡 ";
    font-size: 1.2em;
}

/* Course/Category index styling */
h1 {
    color: #007acc;
    border-bottom: 3px solid #007acc;
    padding-bottom: 10px;
}

ul.course-list {
    list-style: none;
    padding: 0;
}

ul.course-list li {
    background: #f9f9f9;
    border: 2px solid #007acc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

ul.course-list li a {
    color: #007acc;
    text-decoration: none;
    font-size: 1.3em;
}

ul.course-list li a:hover {
    text-decoration: underline;
}

ul.course-list li p {
    margin: 10px 0 0 0;
    color: #666;
}

a.button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
}

a.button:hover {
    background-color: #005a9e;
    text-decoration: none;
}

/* TeacherLib activity content */
.activity-content {
    background-color: #f9f9f9;
    border: 2px solid #007acc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.activity-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
    display: block;
}

.activity-content figure {
    margin: 20px 0;
    text-align: center;
}

.activity-content figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Video embed */
.video-embed {
    margin: 20px 0;
}

.video-embed video,
.video-embed iframe {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 6px;
    background: #000;
    display: block;
}

.video-embed .caption {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Attachment box (uses same warm accent style as content-link in BijlesMakker) */
.attachment {
    background-color: #fff9e6;
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}

.attachment::before {
    content: "📎 ";
    font-size: 1.2em;
}

.attachment a {
    color: #e67e22;
    font-weight: bold;
}

.attachment a:hover {
    color: #d35400;
}

.attachment .description {
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

/* Back link */
a.back-link {
    color: #007acc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

a.back-link:hover {
    text-decoration: underline;
}

/* Sources / Bronnen section */
.sources {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid #007acc;
    border-radius: 8px;
}

.sources h2 {
    margin-top: 0;
    color: #007acc;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

.sources ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.sources li {
    margin: 5px 0;
}

.sources a {
    color: #007acc;
}
