﻿aside nav ul li {
    text-transform: none;
}

/* Bullets only on small screens when sidebar is on top */
@media (max-width: 767px) {
    aside nav ul li:not(:last-child)::after {
        content: '\2022';
        font-size: 1.2em;
        margin-left: 0.35em;
        margin-right: 0.05em;
    }
}

/* Left-align nav items on large screens when sidebar is on the left */
@media (min-width: 768px) {
    aside nav ul {
        text-align: left;
    }

    aside nav ul li {
        margin-left: 2.5em;
    }
}

article header h1+p,
article header h2+p {
    margin-top: 0.2em;
}

article div a.btn {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    display: inline-block;
}

article>div {
    padding-bottom: 0.2em;
}

/* Consistent group picture sizing across all meeting posts */
article img[alt="Group picture"] {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 1.5em auto 0;
}

@media (min-width: 500px) {
    article img[alt="Group picture"] {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }
}

/* Two-column layout on Principal Investigators page */
.pi-entry {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    margin-bottom: 1em;
}

.pi-text {
    flex: 1;
}

img.pi-portrait {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* News category header */
.news-heading {
    padding: 0 8%;
}

.news-intro {
    padding: 0 8% 1em;
}

.news-divider {
    margin: 0 8% 1em;
}

/* Abstract fold/unfold for meeting presentation abstracts */
.abstract-short-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.abstract-collapsed {
    display: block;
}

.abstract-expanded {
    display: block;
}

.abstract-toggle-link {
    white-space: nowrap;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    opacity: 0.75;
}

.abstract-toggle-link:hover {
    opacity: 1;
    text-decoration: underline;
}