.blog-gallery-item {
    display: block;
    cursor: zoom-in;
}

.blog-widget-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 6px;
}

#blog-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
}

#blog-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    text-align: center;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}

.lightbox-counter {
    color: #ccc;
    font-size: 14px;
    margin-top: 12px;
}

#blog-lightbox button {
    position: absolute;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 32px;
    padding: 10px;
}

.lightbox-close {
    top: 15px;
    right: 25px;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-caption
{
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.blog-gallery
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.blog-gallery-inline
{
    flex: 0 1 auto;
    max-width: 100%;
}

.blog-gallery-inline img
{
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-gallery-item:not(.blog-gallery-inline)
{
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 15px auto;
}

.blog-disc-widget
{
    margin: 20px 0;
}

@media (max-width: 600px)
{
    .blog-gallery-inline
    {
        width: calc(50% - 10px);
    }
}