/**
 * Gremaza WPB Addons - Read More Overlay Styles
 * Author: Marsel Preci
 */

.gremaza-readmore-overlay {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height and margin-top are set inline from shortcode */
}

.gremaza-readmore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #007cba;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gremaza-readmore-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    text-decoration: none;
}

.gremaza-readmore-overlay .gremaza-readmore-button:focus {
    outline: 2px solid rgba(0,0,0,0.2);
    outline-offset: 2px;
}

/* Make sure row/container does not clip the overlay fade when used after long text */
.wpb_content_element .gremaza-readmore-overlay {
    overflow: visible;
}
