/*
Theme Name: GeneratePress Child Theme
Author: David
Description: This is a child theme
Version: 1.0.1
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Add any other custom CSS for your child theme above this block */

/* --- START: Dynamic Content Workflow CSS (REPLACE ALL EXISTING RELATED CSS) --- */

/* Wrapper for dynamic content: transparent background, no border, centered, max width for readability */
.dynamic-content-wrapper {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 30px;
    border-radius: 0;
    text-align: center;
    width: 100%; 
    box-sizing: border-box;
    max-width: 700px; /* Limit max-width to typical content width for better look */
    margin-left: auto;
    margin-right: auto;
}

/* Stage for displaying images: vertical stacking, centered */
.dynamic-image-display-stage {
    display: flex;
    flex-direction: column; /* Images stack vertically */
    align-items: center; /* Center images horizontally */
    gap: 15px; /* Space between images */
    margin-bottom: 20px;
    width: 100%; 
    box-sizing: border-box;
}

/* Individual images within the stage: full width, responsive, clear */
.dynamic-image-display-stage img {
    width: 100%; /* Make images take full width of their immediate container */
    max-width: 100%; /* Ensure images are responsive and fit within container */
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 0;
    image-rendering: auto; /* Ensure no unwanted blur from CSS rendering properties */
    /* object-fit: contain; Uncomment if you want to ensure the entire image is visible without cropping */
}

/* Button container for the 'Next' button: block display, centered */
.dynamic-image-button {
    display: block;
    margin: 15px auto 10px auto; /* Center button image, with top/bottom margin */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Button image itself: no border, smaller fixed width, centered */
.dynamic-image-button img {
    border: none;
    border-radius: 0;
    transition: none;
    max-width: 200px; /* Limit button image width to make it smaller as per your request */
    width: 100%; /* Make button image full width up to max-width */
    height: auto;
    cursor: pointer;
    transform: none;
    border-color: transparent;
}

/* Styling for messages (end of content, errors) */
.dynamic-content-message {
    font-size: 1.1em;
    color: #555;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}
.dynamic-content-error {
    font-size: 1.1em;
    color: #d9534f;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- END: Dynamic Content Workflow CSS --- */