
.caption-toggle {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #fff !important;
    cursor: pointer;
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
    transition: background-color 0.2s ease;
    border: 0 !important;
    padding: 0 !important;
}

.caption-toggle:hover,
.caption-toggle:focus {
    background-color: #bbd631 !important;
}

.caption-toggle svg {
    width: 16px;
    height: 16px;
    fill: #000;
}

.caption-toggle:focus {
    outline: 1px solid #bbd631;
    outline-offset: 2px;
}

.caption-toggle:focus-visible {
    outline: 1px solid #bbd631;
    outline-offset: 2px;
}

.caption-toggle .icon {
    width: 100%;
    height: 100%;
}
.fl-photo {
    position: relative;
}
.fl-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    color: #fff;
    padding: 0.5em 2.5em 0.5em 1em;
    font-size: 0.9em;
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.caption-visible {
    display: block !important;
    transform: translateY(0%);
    opacity: 1;
}
.caption-hidden {
    display: none !important;
    transform: translateY(100%);
    opacity: 0;
}

.fl-photo-caption a {
    color: #fff;
    text-decoration: underline;
}

.fl-photo-caption a:hover,
.fl-photo-caption a:focus {
    color:#bbd631;
}