.mk-gallery-thanks {
    margin-top: .9rem;
    font-size: .9rem;
}

.mk-gallery-grid {
    align-items: start;
}

.mk-gallery-card {
    min-width: 0;
    margin: 0;
}

.mk-gallery-grid > [hidden] {
    display: none !important;
}

.mk-gallery-photo:focus-visible,
.mk-gallery-credit a:focus-visible {
    outline: 3px solid var(--mk-pink);
    outline-offset: 4px;
}

.mk-gallery-credit {
    padding: .6rem .15rem .25rem;
    color: #4b5563;
    font-size: .8rem;
    line-height: 1.5;
}

.mk-gallery-grid .mk-gallery-credit a {
    display: inline;
    width: auto;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    color: var(--mk-pink-dark);
    text-decoration: underline;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}

.mk-gallery-credit a:hover {
    text-decoration-thickness: 2px;
}

.lb-caption a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}
