body {
    line-height: 1.6;
}

.navbar-brand {
    font-weight: 700;
}

main h2 {
    margin-top: 1.5rem;
}

/* Course header styled to replace manuscript title block */

.course-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;

    /* Match your banner branding */
    background: #F76902;
    /* same as title-block-banner */
    color: #F0F3F4;
    /* banner text color */
    border-radius: 0.5rem;
}

.course-header strong {
    color: #ffffff;
    font-weight: 600;
}

.course-col {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Make intra-column spacing robust even when Pandoc does not emit <p> tags */
.course-col {
    white-space: normal;
}

.course-col br {
    display: block;
    content: "";
    margin-top: 0.35rem;
}

/* If content is wrapped in paragraphs, give them more breathing room */
.course-col p {
    margin: 0.45rem 0;
}

/* Ensure the first strong label reads like a heading */
.course-col strong:first-child {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Bulletless list styling for course header columns */
.course-col ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0 0;
}

.course-col li {
    margin: 0.35rem 0;
}

/* Responsive fallback */
@media (max-width: 900px) {
    .course-header {
        grid-template-columns: 1fr;
    }
}