* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: none;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 18px;
    font-weight: normal;
}

main {
    margin: 20px;
}

main section {
    margin-bottom: 20px;
}

main ul {
    margin-left: 20px;
    padding-left: 20px;
}

main ol {
    margin-left: 20px;
    padding-left: 20px;
    color: rgb(110, 108, 108);
}

main li {
    margin-bottom: 5px;
}

/* ---------- Header styles ---------- */
.header {
    position: relative;
    cursor: pointer;
}

.header-cover {
    display: block;
    transition: opacity 0.3s ease;
}

.header-link {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: rgb(255, 208, 0);
}

/* Hover states */
.header:hover .header-cover {
    display: none;
}

.header:hover .header-link {
    display: block;
}

.header:hover {
    background-color: rgb(245, 241, 241);
}

/* ---------- page styles ---------- */
.page {
    position: static;
    margin: 0 auto;
    width: 90%;
}

/* ---------- blog content styles ---------- */

.blogcontent-container {
    float: left;
    width: 75%;
    height: 95%;
}

.image-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px;
    max-width: 100%;
}

.image-cluster img {
    flex: 1;
    min-width: 200px;
    max-width: 75%;
    height: auto;
    object-fit: cover;
}

.image-cluster video {
    flex: 1;
    min-width: 200px;
    max-width: 75%;
    height: auto;
    object-fit: cover;
}

.blog-iframe {
    width: 100%;
    height: 100%;
    /* Set a specific height */
    border: none;
    margin-bottom: 20px;
    position: relative;
}

/* Iframe visibility states */
.blog-iframe.hidden {
    display: none;
}

.blog-iframe.visible {
    display: block;
}

.blog-iframe.visible iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------- blog sidebar styles ---------- */

.blogsidebar-container {
    float: left;
    width: 25%;
    height: 50%;
    /* background-color: lightblue; */
    text-align: right;
}

.blogsidebar-container h1,
.blogsidebar-container a {
    font-size: 14px;
    margin-right: 10px;
    /* background-color: lightblue; */

}

.blogsidebar-container ul {
    list-style-type: none;
    margin-right: 10px;
}

/* Hide all sessions by default */
.sessions {
    display: none;
}

/* Show sessions when course is active */
.course.active .sessions {
    display: block;
}

/* Visual feedback for active course links */
.course.active>a,
#fall-2025 a.active {
    font-weight: bold;
    color: rgb(255, 208, 0);
}

/* Add some spacing for sessions */
.sessions {
    margin-top: 5px;
    margin-right: 20px;
}

.sessions li {
    margin-bottom: 2px;
}

/* Hover effects for course links */
.course>a:hover,
#fall-2025 a:hover {
    color: rgb(255, 208, 0);
    cursor: pointer;
}

/* Visual feedback for active session links */
.sessions li.active a {
    font-weight: bold;
    color: rgb(255, 208, 0);
    padding: 2px 5px;
}

/* Hover effects for session links */
.sessions li a:hover {
    color: rgb(255, 208, 0);
    cursor: pointer;
}


@media (max-width: 768px) {

    .blogcontent-container,
    .blogsidebar-container {
        display: none;
    }
}