:root {
    --gap: 1rem;
}

.timeline p, h2 {
    margin: unset;
    line-height: unset;
}

main {
    margin-top: 4rem;
    max-width: 864px;
}

.timeline {
    margin-top: 4rem;
}

.timeline h3 a {
    text-decoration: none;
}

.row {
    display: grid;
    grid-template-columns: minmax(auto, 6ch) 1fr;
    gap: 0 var(--gap);
}


.row .date {
    border-right: 1px solid #bbb;
    padding-top: 2rem;
}

.work-info {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 3fr;
    padding: 2rem 0;
    border-bottom: 1px solid #bbb;
    gap: 0 var(--gap);
}

/* .work-info:first-child, .row .date  {
    padding-top: 0;
} */

.row:last-child .work-info {
    padding-bottom: 0;
    border-bottom: unset;
}

.work-info img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.work__title {
    margin-bottom: .5em;
}

@media (max-width: 34rem) {
    .work-info {
        grid-template-columns: 1fr;
        gap: var(--gap) 0;
    }
}

#gfp-essay {
    text-align: justify;
}

#gfp-essay img {
    margin: 0;
}

#gfp-essay p {
    line-height: 1.5;
}

figure {
    max-width: 400px;
    margin: 4rem auto;
}

figcaption {
    margin-top: .5rem;
    text-align: left;
}

.image-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
}

.image-row figure {
    max-width: 300px;
}

figure img {
    width: 100%;
}

.photo-text-container {
    grid-template-columns: 1fr 5fr;
}