body {
    margin: 0;
    font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fafbfc;
    color: #2c3e50;
    line-height: 1.6;
}

.wrapper {
    display: grid;
    grid-template-areas:
        "header"
        "content"
        "footer";
}

.footer {
    background-image: url(../assets/repeatable-treeline.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-head {
    grid-area: header;
    overflow: hidden;
    background: linear-gradient(135deg, #d73f09 0%, #b83508 100%);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-head a {
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
    line-height: 25px;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
}

.main-head img {
    vertical-align: middle;
}

.main-head a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.main-head a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.main-head img {
    vertical-align: top;
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav {
    grid-column: 3;
}

.main-footer {
    display: grid;
    grid-template-columns:
    1fr
    1fr
    1fr
    ;
    font-size: small;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #1a252f 100%);
    background-image: url('../assets/repeatable-treeline.png');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    min-height: 280px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    padding: 20px 0 20px 20px;
}

/* Use content and column-wrapper classes for single column pages */
.content {
    margin-bottom: 2rem;
}

.column-wrapper {
    display: grid;
    grid-template-columns: 1fr min(90ch, 100%) 1fr;
    padding: 0 1rem 3rem 1rem;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    min-height: 0;
}

.column-wrapper > * {
    grid-column: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.twin-column-wrapper {
    display: grid;
    grid-template-columns: 
    1fr
    min(40ch, 50%)
    min(80ch, 50%)
    1fr;
}

.twin-column-wrapper > * {
    grid-column: 2;
}

.left-column-wrapper {
    grid-column: 2;
    margin: 2rem;
    margin-right: auto;
}

.right-column-wrapper {
    grid-column: 3;
    margin: 2rem;
    margin-right: auto;
}

@media (max-width: 992px){
    .twin-column-wrapper {
        display: grid;
        grid-template-columns: 
        1fr
        min(80ch, 100%)
        1fr;
    }

    .twin-column-wrapper > * {
        grid-column: 2;
    }

    .left-column-wrapper {
        grid-column: 2;
    }

    .right-column-wrapper {
        grid-column: 2;
    }

    .main-head {
        padding: 12px 15px;
        flex-wrap: wrap;
    }

    .main-head a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .column-wrapper {
        padding: 1.5rem 1rem;
    }

    .main-footer {
        display: grid;
        grid-template-columns:
        1fr
        ;
        font-size: small;
        width: 100%;
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #1a252f 100%);
        background-image: url('../assets/repeatable-treeline.png');
        background-blend-mode: overlay;
        background-size: cover;
        background-position: center center;
        min-height: 280px;
        color: #fff;
        font-size: 15px;
        line-height: 24px;
        padding: 40px 25px;
        margin-top: 4rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .main-footer p {
        margin-bottom: 1.5rem;
    }

    .main-footer p:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .main-head a.logo {
        font-size: 16px;
        padding: 8px;
    }

    .header-right {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .main-head a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .main-footer {
        padding: 35px 20px;
        font-size: 14px;
        line-height: 22px;
    }

    .main-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

.main-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.main-footer a:hover {
    color: #ffb399;
    border-bottom-color: #ffb399;
}

.main-footer p {
    margin: 0;
    opacity: 0.95;
}

.main-footer p:first-child {
    font-weight: 500;
    opacity: 1;
}

/* Use full-bleed classes for images that go much wider than the center column */
.full-bleed {
    width: 100%;
    grid-column: 1 / -1;

    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.full-bleed-home {
    width: 100%;
    grid-column: 1 / -1;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    object-fit: cover;
}


.kevin {
    background-image: url("https://mime.oregonstate.edu/research/drl/people/_images/kevin_green.jpg");
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow:
    hidden;
    max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}