@charset "utf-8";

/* =========================================================
   Global reset and base styles
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #cbc3a5;
    color: #333;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.55;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
}

p {
    margin-top: 0;
}

strong {
    font-weight: bold;
}

/* =========================================================
   Links
   ========================================================= */

a:link,
a:visited {
    text-decoration: none;
    color: #065388;
}

a:hover,
a:focus {
    color: #990000;
    text-decoration: underline;
}

a.current:link,
a.current:visited,
#nav a.active,
#nav a[aria-current="page"] {
    color: #111;
    font-weight: bold;
}

/* =========================================================
   Main site layout
   ========================================================= */

#container {
    width: 1080px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
    position: relative;
}

#umn {
    width: 100%;
}

#wrapper {
    border: 8px solid #fbf7e5;
    margin: 5px 0;
    background-color: #eae4d0;
    overflow: hidden;
    border-radius: 10px;
}

/* =========================================================
   Banner
   ========================================================= */

#banner {
    color: #fff;
    background-color: #333;
    margin: 0;
    padding: 12px 15px;
    font-family: Georgia, "Times New Roman", serif;
}

#banner h1 {
    margin: 0;
    padding: 0;
    font-size: 36px;
    font-weight: normal;
    text-shadow: 0 0 10px #111;
}

#banner p {
    margin: 0;
    padding-left: 1em;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-shadow: 0 0 10px #111;
}

/* =========================================================
   Navigation
   ========================================================= */

#nav {
    width: 100%;
    background-color: transparent;
    border-bottom: 1px solid #d8cfb6;
}

#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#nav ul li {
    margin: 0;
    padding: 0;
}

#nav ul li a {
    display: block;
    padding: 9px 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    font-size: 18px;
}

#nav ul li a:hover,
#nav ul li a:focus {
    color: #fff;
    background-color: #666;
    text-decoration: none;
}

/* =========================================================
   Main page area
   ========================================================= */

#page {
    background-color: #eae4d0;
    padding: 18px;
    clear: both;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#content {
    line-height: 1.6;
    min-width: 0;
}

main#page {
    display: block;
}

/* =========================================================
   Headings
   ========================================================= */

h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 36px;
    font-weight: normal;
    text-shadow: 0 0 10px #111;
}

h2 {
    margin-top: 0;
    color: #494949;
    font-weight: normal;
    font-size: 200%;
}

h3 {
    margin-top: 0.8em;
}

.page-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    text-shadow: none;
}

.page-subtitle,
.home-subtitle {
    font-size: 1.15rem;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    color: #494949;
    text-align: center;
}

/* =========================================================
   Common layout helpers
   ========================================================= */

.page-layout-right,
.page-layout-left,
#page.page-layout-right,
#page.page-layout-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.page-layout-right #content,
#page.page-layout-right #content {
    flex: 1 1 auto;
    order: 1;
}

.page-layout-right #sidebar,
.page-layout-right #sidebarskinny,
#page.page-layout-right #sidebar,
#page.page-layout-right #sidebarskinny {
    flex: 0 0 210px;
    order: 2;
}

.page-layout-left #content,
#page.page-layout-left #content {
    flex: 1 1 auto;
    order: 2;
}

.page-layout-left #contentbar,
#page.page-layout-left #contentbar {
    flex: 0 0 210px;
    order: 1;
}

.two-column-layout,
.home-hero,
.teaching-layout,
.notes-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.main-column,
.home-intro,
.teaching-main,
.notes-main {
    flex: 1;
    min-width: 0;
}

.side-column,
.home-photo,
.teaching-sidebar,
.notes-sidebar {
    width: 220px;
    flex-shrink: 0;
}

/* =========================================================
   Sidebars
   ========================================================= */

#sidebar,
#sidebarskinny,
#contentbar,
.sidebar-card {
    line-height: 1.4;
    background-color: #cbc3a5;
    border: 1px solid #fbf7e5;
    border-radius: 8px;
}

#sidebar {
    width: 210px;
    max-width: 100%;
}

#sidebarskinny {
    width: 210px;
    max-width: 210px;
    min-width: 110px;
}

#contentbar {
    width: 210px;
    max-width: 100%;
}

#sidebar h3,
#sidebar p,
#sidebarskinny h3,
#sidebarskinny p,
#contentbar h3,
#contentbar p {
    padding: 0 10px;
}

.sidebar-card {
    padding: 1rem;
}

.sidebar-card h2,
.sidebar-card h3 {
    margin-top: 0;
}

/* Legacy float support for existing pages */
#sidebar,
#sidebarskinny {
    float: right;
    margin: 0 0 15px 15px;
}

#contentbar {
    float: left;
    margin: 0 15px 15px 0;
}

/* =========================================================
   Cards, grids, and reusable content blocks
   ========================================================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card,
.home-card,
.resource-card,
.content-card,
.orcid-box,
.orcid-block {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.card h2,
.card h3,
.home-card h2,
.home-card h3,
.resource-card h2,
.resource-card h3,
.content-card h2,
.content-card h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.card p,
.home-card p,
.resource-card p,
.content-card p {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}

.home-card-link,
.resource-link,
.button-link {
    font-weight: bold;
}

.home-section,
.teaching-section,
.notes-section,
.content-section {
    margin-bottom: 2rem;
}

.home-section h2,
.teaching-section h2,
.notes-section h2,
.content-section h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

/* =========================================================
   Homepage
   ========================================================= */

.home-hero {
    margin-bottom: 2rem;
}

.home-photo {
    text-align: center;
}

.home-photo img,
.teaching-sidebar img,
.notes-sidebar img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    border: 1px solid #fbf7e5;
    background: #fff;
    padding: 4px;
}

.feature-image,
.center-image {
    display: block;
    margin: 1rem auto;
    max-width: 420px;
    width: 100%;
    height: auto;
    border: 5px solid #000;
}

/* =========================================================
   Lists
   ========================================================= */

.quick-links,
.resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.resource-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.resource-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.resource-link {
    font-size: 1.02rem;
    display: inline-block;
    margin-bottom: 0.2rem;
}

.resource-description {
    margin: 0;
}

.link-group {
    list-style: disc;
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

.link-group li {
    margin-bottom: 0.4rem;
    padding: 0;
    border: none;
}

/* =========================================================
   Faculty photo and common image helpers
   ========================================================= */

#fac_photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

.right {
    float: right;
    margin: 0 0 15px 15px;
}

.left {
    float: left;
    margin: 0 15px 15px 0;
}

.float-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 10px;
    width: 200px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================
   Tables used on course/resource/research pages
   ========================================================= */

.notes-table,
.pub-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
}

.notes-table th,
.notes-table td,
.pub-table th,
.pub-table td {
    border: 1px solid #999;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}

.notes-table th,
.pub-table th {
    background-color: #f2f2f2;
}

.notes-table tr:nth-child(even),
.pub-table tr:nth-child(even) {
    background-color: #fafafa;
}

.file-links {
    white-space: nowrap;
}

.format-note {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* =========================================================
   Badges
   ========================================================= */

.badge {
    display: inline-block;
    padding: 3px 7px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 6px;
    vertical-align: middle;
}

.badge:hover,
.badge:focus {
    text-decoration: none;
}

.badge-doi {
    background-color: #2f2f2f;
    color: #fff;
}

.badge-orcid {
    background-color: #a6ce39;
    color: #fff;
}

.badge-scholar {
    background-color: #4285f4;
    color: #fff;
}

.badge-bibtex {
    background-color: #6c757d;
    color: #fff;
}

.badge-pdf {
    background-color: #d9534f;
    color: #fff;
}

.badge-docx {
    background-color: #0275d8;
    color: #fff;
}

/* =========================================================
   Research/publications
   ========================================================= */

.profile-links {
    margin: 10px 0 18px 0;
}

.pub-year {
    margin-top: 28px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.pub-item {
    margin-bottom: 22px;
}

.pub-links {
    margin-top: 6px;
}

.pub-title-col {
    width: 30%;
}

.pub-authors-col {
    width: 24%;
}

.pub-venue-col {
    width: 18%;
}

.pub-links-col {
    width: 14%;
}

.pub-audio-col {
    width: 14%;
}

/* =========================================================
   Media players
   ========================================================= */

.synopsis-player,
.music-audio {
    margin-top: 8px;
}

.synopsis-player audio,
.music-audio audio,
.synopsis-player video {
    width: 320px;
    max-width: 100%;
}

/* =========================================================
   Music page
   ========================================================= */

.music-piece {
    display: flex;
    gap: 20px;
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fafafa;
    border-radius: 8px;
}

.music-piece h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.music-left {
    flex: 2;
    min-width: 0;
}

.music-right {
    flex: 1;
    text-align: center;
}

.music-right img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    padding: 4px;
    background: #fff;
}

.music-links a {
    margin-right: 15px;
}

/* =========================================================
   Miscellaneous helpers
   ========================================================= */

.center-heading {
    text-align: center;
}

.intro-text {
    margin-top: 0;
}

.orcid-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    word-break: break-word;
}

.contentbar2 {
    display: none;
}

/* =========================================================
   Footer
   ========================================================= */

#footer {
    padding: 15px;
    overflow: auto;
    color: #fff;
    font-size: 90%;
    text-align: right;
    background-color: #333;
}

#footer p {
    margin: 0;
}

#footer img {
    float: left;
    margin-right: 15px;
}

/* =========================================================
   Responsive styles
   ========================================================= */

@media screen and (max-width: 800px) {
    #container {
        width: 100%;
    }

    #wrapper {
        border-width: 4px;
        border-radius: 0;
        margin: 0;
    }

    #page {
        padding: 12px;
    }

    #banner h1,
    h1 {
        font-size: 28px;
    }

    #banner p {
        padding-left: 0;
        font-size: 12px;
    }

    #nav ul {
        flex-direction: column;
    }

    #nav ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .page-layout-right,
    .page-layout-left,
    #page.page-layout-right,
    #page.page-layout-left,
    .two-column-layout,
    .home-hero,
    .teaching-layout,
    .notes-layout,
    .music-piece {
        display: block;
    }

    .side-column,
    .home-photo,
    .teaching-sidebar,
    .notes-sidebar {
        width: auto;
        margin-top: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    #sidebar,
    #sidebarskinny,
    #contentbar {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 15px 0;
    }

    #content {
        margin: 0;
    }

    .right,
    .left,
    .float-right {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }

    .center-image,
    .feature-image {
        border-width: 3px;
    }

    .notes-table,
    .pub-table {
        font-size: 0.9rem;
    }

    .notes-table th,
    .notes-table td,
    .pub-table th,
    .pub-table td {
        padding: 8px;
    }

    .file-links {
        white-space: normal;
    }
}
.license-note {
    font-size: 0.9em;
    background: #f3f0e4;
    border-left: 4px solid #cbc3a5;
    padding: 0.6rem 0.8rem;
    margin: 0.75rem 0;
}

.course-intro-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.course-unit {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem 1rem;
}

.course-unit summary {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    color: #494949;
    padding: 0.5rem 0;
}

.course-unit summary:hover,
.course-unit summary:focus {
    color: #990000;
}

.course-unit .notes-table {
    margin-top: 0.75rem;
}

.unit-description {
    margin-bottom: 0.75rem;
}