/* Base styles - matching Canvas LMS typography */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-family: "Lato Extended", "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Dark mode for Canvas mobile app (applied via JavaScript when dark background detected on mobile) */
body.dark-mode, body.dark-mode a, body.dark-mode a:link, body.dark-mode a:visited {
    color: #f5f5f5;
}

p {
    margin: 12px 0;
}

h2 {
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1.4;
}

a, a:link, a:visited {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #C61932;
}

a:hover {
    border-bottom: 2px solid #C61932;
}

/* Responsive images and media */
img, video {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* Responsive iframe container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #464646;
}

/* Mobile styles */
@media screen and (max-width: 600px) {
    body {
        font-size: 16px;
        padding: 0 12px;
    }

    h2 {
        font-size: 1.3em;
    }

    p {
        line-height: 1.6;
    }
}

