.angie-gallery-grid-7b767891 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.angie-gallery-item-7b767891 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.angie-gallery-image-7b767891 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

/* Aspect Ratios */
.angie-gallery-ratio-1-1 .angie-gallery-item-7b767891 {
    aspect-ratio: 1 / 1;
}
.angie-gallery-ratio-1-1_5 .angie-gallery-item-7b767891 {
    aspect-ratio: 1 / 1.5; /* 50% Higher than Square (1.5 vertical spacing) */
}
.angie-gallery-ratio-4-3 .angie-gallery-item-7b767891 {
    aspect-ratio: 4 / 3;
}
.angie-gallery-ratio-16-9 .angie-gallery-item-7b767891 {
    aspect-ratio: 16 / 9;
}
.angie-gallery-ratio-2-3 .angie-gallery-item-7b767891 {
    aspect-ratio: 2 / 3;
}
.angie-gallery-ratio-auto .angie-gallery-item-7b767891 {
    aspect-ratio: auto;
}

/* Overlay & Caption */
.angie-gallery-overlay-7b767891 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    pointer-events: none;
}

.angie-gallery-item-7b767891:hover .angie-gallery-overlay-7b767891 {
    opacity: 1;
}

.angie-gallery-caption-7b767891 {
    font-family: inherit;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.angie-gallery-item-7b767891:hover .angie-gallery-caption-7b767891 {
    transform: translateY(0);
}

/* Hover Animations */
.angie-gallery-hover-zoom-in .angie-gallery-item-7b767891:hover .angie-gallery-image-7b767891 {
    transform: scale(1.08);
}
.angie-gallery-hover-zoom-out .angie-gallery-image-7b767891 {
    transform: scale(1.08);
}
.angie-gallery-hover-zoom-out .angie-gallery-item-7b767891:hover .angie-gallery-image-7b767891 {
    transform: scale(1);
}
.angie-gallery-hover-rotate .angie-gallery-item-7b767891:hover .angie-gallery-image-7b767891 {
    transform: scale(1.08) rotate(2deg);
}

/* Lightbox Styles */
.angie-gallery-lightbox-7b767891 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.admin-bar .angie-gallery-lightbox-7b767891 {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .angie-gallery-lightbox-7b767891 {
        top: 46px;
    }
}
.angie-gallery-lightbox-7b767891.active {
    opacity: 1;
}
.angie-gallery-lightbox-content-7b767891 {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.angie-gallery-lightbox-img-7b767891 {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}
.angie-gallery-lightbox-close-7b767891 {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.angie-gallery-lightbox-caption-7b767891 {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-family: sans-serif;
}
