/* ==========================================================================
   Galerie Mueller -- View Works CTA Widget Styles
   Widget: gm_view_works_cta
   Handle: gm-view-works-cta-style
   ========================================================================== */

/* --- Section Wrapper --- */
.gm-view-works-cta {
    background-color: #1A1A1A;
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .gm-view-works-cta {
        padding-top: 128px;
        padding-bottom: 128px;
    }
}

/* --- Inner Container --- */
.gm-view-works-cta__inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 672px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.7s ease;
    width: 100%;
}

/* --- Animation: Hidden State --- */
.gm-view-works-cta__inner--hidden {
    opacity: 0;
}

/* --- Animation: Fade Up Keyframes --- */
@keyframes gm-fade-up {
    from {
        opacity: 0;
        transform: translateY(var(--gm-fade-offset, 20px));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gm-view-works-cta__inner--animated {
    animation: gm-fade-up var(--gm-fade-duration, 0.6s) ease-out forwards;
}

/* --- Heading --- */
.gm-view-works-cta__heading {
    font-family: 'Playfair Display', ui-serif, Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    color: #F5F3F0;
    margin-top: 0;
    margin-bottom: 48px;
    line-height: 1.25;
    padding: 0;
}

@media (min-width: 768px) {
    .gm-view-works-cta__heading {
        font-size: 36px;
    }
}

/* --- Button --- */
.gm-view-works-cta__button {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
    padding: 14px 32px;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    cursor: pointer;
    transition: all 300ms ease;
    box-sizing: border-box;
}

.gm-view-works-cta__button:hover {
    background-color: #FFFFFF;
    color: #1A1A1A;
    border-color: #FFFFFF;
}
