@charset "UTF-8";

:root {
    --bs-body-color: #424956;
}

/* Profile photo responsive sizing */
.col-md-2 figure img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767.98px) {
    .col-md-2 {
        max-width: 65%;
        margin-left: auto;
        margin-right: auto;
    }
}

.home-layout.row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "intro"
        "sidebar"
        "publications";
    gap: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

.home-main {
    display: contents;
}

.home-layout.row>* {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.home-intro {
    grid-area: intro;
}

.home-sidebar {
    grid-area: sidebar;
    margin-top: 1rem;
}

.home-publications {
    grid-area: publications;
}

.publications-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
}

.publications-header-row>* {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.publications-header-main {
    min-width: 0;
}

.publications-header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.publications-view-switch {
    display: inline-flex;
    border: 1px solid #ece5d3;
    border-radius: 999px;
    background: #fdfbf6;
    overflow: hidden;
    flex-shrink: 0;
    width: auto;
}

.pub-view-btn {
    border: 0;
    background: transparent;
    display: inline-block;
    color: #8c8160;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

.pub-view-btn.is-active {
    background: #faf6ec;
    color: #756b4f;
}

.pub-view-btn.is-disabled,
.pub-view-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.pub-view-btn:first-child.is-active {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.pub-view-btn:last-child.is-active {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.publication-card-featured {
    position: relative;
    background: #fffdf5;
    border: 1px solid #f5eedc;
}

.publication-featured-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.55rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: #7f6f46;
    background: #faf5e8;
    border: 1px solid #f0e6cd;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .publications-header-row {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .publications-header-main {
        width: 100%;
    }

    .publications-view-switch {
        width: auto;
        max-width: 100%;
    }

    .publications-header-controls {
        align-items: flex-start;
    }

    .pub-view-btn {
        font-size: 0.6rem;
        padding: 0.28rem 0.68rem;
    }
}

@media (min-width: 992px) {
    .home-layout.row {
        grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
        grid-template-areas: "main sidebar";
        column-gap: 2.5rem;
        row-gap: 0;
        align-items: start;
    }

    .home-main {
        display: block;
        grid-area: main;
        min-width: 0;
    }

    .home-sidebar {
        grid-area: sidebar;
        margin-top: 0;
    }
}

.highlighted-text {
    color: #ce772a;
}

.fade-text {
    color: #d3d3d3;
}

a {
    color: #c8bb8e;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #e8b90f;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}