@charset "UTF-8";

:root {
    --teaser-width: 400px;
    --row-color: var(--bg-color);
    --venue-color: #666;
    --drop-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.16), 0 2px 10px 0px rgba(0, 0, 0, 0.12);
    --left-shadow: 2px 0 5px 0px rgba(0, 0, 0, 0.16), 2px 0 10px 0px rgba(0, 0, 0, 0.12)
}

[data-theme=dark] {
    --row-color: #393b4d;
    --venue-color: #abbee9;
    --drop-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.32), 0 2px 10px 0px rgba(0, 0, 0, 0.24);
    --left-shadow: 2px 0 5px 0px rgba(0, 0, 0, 0.32), 2px 0 10px 0px rgba(0, 0, 0, 0.24)
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px
}

section:not(:last-child) {
    margin-bottom: 20px
}

section div.heading {
    margin-bottom: 0;
    width: 100%
}

section.statement {
    gap: 16px
}

section div.heading {
    margin-bottom: -6px
}

section.statement p {
    margin: 0
}

.row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    gap: 20px;
    width: calc(100% - 10px);
    box-shadow: var(--drop-shadow);
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--row-color)
}

.row .teaser {
    max-width: var(--teaser-width);
    padding: 0;
    margin: 0;
    flex: 3 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0
}

.row .teaser.cover {
    align-self: stretch;
    display: block
}

.row .teaser.padded {
    padding: 10px;
    max-width: calc(var(--teaser-width) - 20px);
    align-self: stretch
}

[data-theme=dark] .row .teaser.white-bg {
    background-color: #fff;
    align-self: stretch;
    box-shadow: var(--left-shadow)
}

.row .teaser img {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 auto
}

.row .teaser.cover img {
    box-shadow: var(--left-shadow);
    object-fit: cover;
    height: 100%
}

[data-theme=dark] .row .teaser img.drop-shadow {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .32))
}

.row .teaser img.tall {
    max-width: 325px
}

.entry {
    flex: 7 1 70%;
    max-width: calc(100% - var(--teaser-width) - 35px);
    min-width: calc(50% - 40px);
    margin: 15px 15px 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.nohref {
    color: var(--link-color)
}

.entry .authors .me {
    font-weight: 600
}

.entry .authors .note {
    color: var(--venue-color);
    white-space: nowrap
}

.entry .title {
    font-size: 1.5rem;
    margin-bottom: 5px
}

.entry .role,
.entry .venue {
    color: var(--venue-color)
}

.entry .abstract,
.entry .summary {
    text-align: justify
}

.entry .links {
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap
}

.entry .links a {
    border-radius: 10px;
    border: 1.5px solid var(--link-color);
    padding: 5px;
    display: inline-block;
    transition: all .3s ease
}

.entry .links a:hover,
.entry .links a:visited:hover {
    color: #fff;
    border-color: var(--hover-color);
    background-color: var(--hover-color)
}

.entry .links a.img {
    margin: 0;
    border-radius: 0;
    border: 0;
    padding: 0;
    display: inline-block;
    transition: all .3s ease
}

.entry .links a.img img {
    box-shadow: none;
    padding: 0;
    width: var(--projects-link-width);
    height: var(--projects-link-width);
    margin: 0 5px;
    vertical-align: middle;
    display: inline;
    transition: all .2s ease-in-out
}

.entry .links a.img img:hover {
    transform: scale(1.1)
}

@media screen and (max-width:775px) {
    .row {
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 10px
    }

    .row .teaser {
        width: 100% !important;
        max-width: 100% !important
    }

    .row .teaser.padded {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important
    }

    [data-theme=dark] .row .teaser.white-bg {
        box-shadow: var(--drop-shadow)
    }

    .row .teaser img {
        width: 100% !important;
        max-width: 100% !important
    }

    .row .teaser.cover img {
        box-shadow: var(--drop-shadow);
        height: auto !important;
        object-fit: fill !important
    }

    .row .teaser img.tall {
        max-width: 500px !important
    }

    .entry {
        max-width: 100%;
        margin: 0 20px 25px
    }

    .entry .links {
        justify-content: center
    }

    .entry .title {
        text-align: center
    }

    .entry .title a.hideme {
        display: none
    }
}