.graduation-carousel-container {
    max-width: 960px;
    margin: 0 auto 32px;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
}

.graduation-carousel img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #f4f5f6;
}

.graduation-carousel .carousel-caption {
    position: static;
    padding: 12px 16px;
    color: #222;
    text-align: start;
    text-shadow: none;
}

.graduation-carousel .carousel-caption h2 {
    margin: 0 0 4px;
    font-size: 1.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.graduation-carousel .carousel-caption p {
    margin: 0;
    color: #555;
    font-size: 1.4rem;
}

.graduation-carousel-container .carousel-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#photo-navigation {
    background: #fff;
    color: #222;
    border-radius: 4px;
    margin-bottom: 24px;
    padding: 16px;
}

#photo-navigation h2 {
    font-size: 20px;
    margin: 0 0 10px;
}

.photo-year-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    list-style: none;
    padding: 0;
}

#photo-navigation summary {
    cursor: pointer;
    font-weight: 600;
    padding-block: 8px;
}

#photo-navigation .photo-event-links h3 {
    margin: 14px 0 4px;
    padding: 0;
    font-size: 16px;
    text-align: start;
}

#photolist .photo-anchor {
    display: block;
}

#photolist .post[id],
#photolist .photo-anchor {
    scroll-margin-block-start: 12px;
}
