

.pswp__dynamic-caption--aside {
    /* max-width: none !important; */
    max-width: 45ch !important;
}

.pswp__dynamic-caption {
    font-size: var(--font-size-small);
}




.galleries .gridzy:not(:first-child) {
    margin-top: var(--gridzy-spaceBetween);
}

.project_top {
    --text-width-min: 30ch;
    --text-width-max: 45ch;
    --media-width: 60%;
    --gap: calc(var(--bar-height) * 2);

    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    flex-wrap: wrap;
    margin-bottom: var(--gridzy-spaceBetween);
}

.project_top_text {
    min-width: min(100%, var(--text-width-min));
    max-width: min(100%, var(--text-width-max));
    /* width: min(100%, minmax(var(--text-width-min), var(--text-width-max))); */
    flex: 1;
}

.project_top_text_description > h1:first-child {
    margin-bottom: 0;
}

.project_top_text_description > h1:first-child + p {
    margin-top: 0;
}


.project_top_text_event {
    margin-top: calc(var(--bar-height) * 2);
}

.project_top_text_event > :not(:last-child) {
    margin-bottom: var(--bar-height);
}

.project_top_text_event_flag .flag.event {
    justify-content: flex-end;
    margin-left: -0.3125rem;
}

.project_top dl {
    font-size: var(--font-size-small);
}


.project_top_media {
    margin-left: auto;
    width: max(var(--media-width), min(100%, var(--text-width-max) + var(--gap)));
}

.project_top_media > a,
.project_top_media > a > figure {
    display: block;
}

.project_top_media img,
.project_top_media .vimeo {
    width: 100%;
    height: 100%;
}

.galleries {
    margin-bottom: var(--bar-height);
    clear: both;
}

.galleries a,
.galleries .vimeo {
    overflow: hidden;
}

.project_top_media a > figure,
.project_top_media .vimeo iframe,
.galleries a > figure,
.galleries .vimeo iframe {
    transition: opacity var(--transition-duration);
    /* transition: transform var(--transition-duration), opacity var(--transition-duration); */
}


.project_top_media a:hover > figure:has(> img),
.project_top_media a:focus-visible > figure:has(> img),
.project_top_media .vimeo:hover iframe:has(+ button:not(:hover)):not(.playing),
.galleries a:hover > figure:has(> img),
.galleries a:focus-visible > figure:has(> img),
.galleries .vimeo:hover iframe:has(+ button:not(:hover)):not(.playing) {
    opacity: .2;
    /* transform: scale(1.05); */
}



dl, dt, dd {
    margin: 0;
    padding: 0;
}

dd {
    font-weight: var(--font-weight-bold);
}



.project_bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space);
    font-size: var(--font-size-small);
}

.project_bottom > * {
    flex: 1 0 15rem;
}

.project_bottom > section > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-weight: var(--font-weight-bold);
}

.project_bottom > section > ul::before {
    content: "_";
    font-weight: var(--font-weight-regular);
    /* height: 1lh;
    width: 1em;
    display: inline-block;
    text-decoration: underline; */
}

