

/* gallery buttons */

/* =========================================
   GALLERY BUTTONS UI
   Elegant Artistic Gallery Theme
========================================= */

.gallery-buttons,
.gallery-buttons * {
    box-sizing: border-box;
}

/* Main Section */

.gallery-buttons {
    width: 100% !important;

    padding: 60px 28px !important;
    margin-top: 50px !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;

    border-radius: 26px !important;

    background:
        linear-gradient(
            135deg,
            #faf5ff,
            #f8fafc,
            #eef2ff
        ) !important;

    border: 1px solid rgba(99, 102, 241, 0.08) !important;

    box-shadow:
        0 10px 30px rgba(79, 70, 229, 0.08) !important;

    position: relative;
    overflow: hidden;
}

/* Soft Artistic Glow */

.gallery-buttons::before,
.gallery-buttons::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    filter: blur(80px);

    z-index: 0;
}

.gallery-buttons::before {
    top: -80px;
    left: -60px;

    background: rgba(168, 85, 247, 0.14);
}

.gallery-buttons::after {
    bottom: -90px;
    right: -70px;

    background: rgba(59, 130, 246, 0.14);
}

/* Content Layer */

.gallery-buttons > * {
    position: relative;
    z-index: 2;
}

/* WordPress Buttons Reset */

.gallery-buttons .wp-block-button,
.gallery-buttons .wp-block-buttons {
    margin: 0 !important;
}

/* Button Card */

.gallery-buttons .wp-block-button {
    width: 250px !important;

    padding: 22px !important;

    border-radius: 22px !important;

    background: rgba(255,255,255,0.85) !important;

    backdrop-filter: blur(10px) !important;

    border: 1px solid rgba(255,255,255,0.5) !important;

    box-shadow:
        0 8px 22px rgba(99, 102, 241, 0.10),
        0 4px 14px rgba(168, 85, 247, 0.06) !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* Subtle Hover */

.gallery-buttons .wp-block-button:hover {
    transform: translateY(-5px) !important;

    box-shadow:
        0 14px 30px rgba(99, 102, 241, 0.16),
        0 8px 20px rgba(168, 85, 247, 0.10) !important;
}

/* Actual Button */

.gallery-buttons .wp-block-button__link {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 14px 20px !important;

    border-radius: 16px !important;

    text-decoration: none !important;

    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #6366f1,
            #3b82f6
        ) !important;

    border: none !important;

    box-shadow:
        0 6px 16px rgba(99, 102, 241, 0.20) !important;

    transition:
        transform 0.22s ease,
        box-shadow 0.25s ease,
        background 0.25s ease !important;
}

/* Button Hover */

.gallery-buttons .wp-block-button__link:hover {
    background:
        linear-gradient(
            135deg,
            #6d28d9,
            #4f46e5,
            #2563eb
        ) !important;

    box-shadow:
        0 10px 22px rgba(99, 102, 241, 0.26) !important;
}

/* Click Effect */

.gallery-buttons .wp-block-button__link:active {
    transform: scale(0.98) !important;
}

/* Responsive */

@media (max-width: 768px) {

    .gallery-buttons {
        padding: 42px 16px !important;
        gap: 18px !important;
    }

    .gallery-buttons .wp-block-button {
        width: 100% !important;
    }

    .gallery-buttons .wp-block-button__link {
        width: 100% !important;
    }
}