.activities-page .activity-entry {
    position: relative;
    isolation: isolate;
    align-items: flex-start;
    padding-left: 4px;
}
.activities-page .activity-entry::before { content: none; }
.activities-page .activity-entry:not(.activity-clickable):hover { color: var(--text-color); background: transparent; }
.activities-page .activity-clickable:hover,
.activities-page .activity-clickable:focus-within {
    color: var(--accent-color);
    background: #f7faf9;
}
.activity-primary-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}
.activity-primary-link:focus-visible::after {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}
.activity-meta { flex: 1 1 0; min-width: 0; }
.activity-title { margin: 0; font-size: inherit; line-height: 1.4; font-weight: 700; }
.activities-page .activity-title a,
.activities-page .activity-title a:hover,
.activities-page .activity-title a:focus-visible { color: inherit; text-decoration: none; }
.activity-details, .activity-secondary {
    margin: 3px 0 0;
    font-size: .99rem;
    color: var(--muted-color);
    overflow-wrap: anywhere;
}
.activity-type { text-transform: uppercase; font-weight: 700; letter-spacing: .05em; font-size: .82rem; color: var(--accent-color); }
.activity-description { margin: 7px 0 0; font-size: 1.04rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.activity-links { display: flex; flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px 15px; padding-top: 4px; max-width: 40%; }
.activity-link { position: relative; z-index: 2; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.activities-page .activity-link:hover,
.activities-page .activity-link:focus-visible { color: var(--accent-color); text-decoration: none; }
.activity-link svg { flex: 0 0 auto; }
@media (max-width: 740px) {
    .activity-meta { flex-basis: 100%; }
    .activity-links { max-width: 100%; justify-content: flex-start; }
    .activity-links .publication-file { margin-left: 0; }
}
