/*
* FooGallery Custom CSS
* This file is created by adding custom CSS on FooGallery Settings page in wp-admin
* Created : 8 Feb 2026, 10:58 am
*/

/* ===== FooGallery: Professional Grid with Captions Below ===== */

/* Gallery grid spacing */
.foogallery .fg-gallery {
    display: grid;
    grid-gap: 18px;
}

/* Each photo card */
.foogallery .fg-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

/* Hover scale effect */
.foogallery .fg-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* Standard image appearance */
.foogallery .fg-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Caption & description container below image */
.foogallery .fg-caption-wrapper {
    padding: 12px 10px;
    text-align: left;
    background: #fafafa;
}

/* Title below image — bold and professional */
.foogallery .fg-caption-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

/* Description under title */
.foogallery .fg-caption-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.45;
}

/* Lightbox Caption Style */
.foobox-caption-title,
.foobox-caption-desc {
    font-family: "Poppins", sans-serif;
}

/* Smaller mobile spacing */
@media (max-width:768px) {
    .foogallery .fg-caption-wrapper {
        padding: 8px 6px;
    }
}
