/* ========== LLM AUTO WP - ATGS POST STYLING ========== */

/* ========== COLOR VARIABLES ========== */
:root {
    --primary-dark: #2D2D2D;
    --primary-charcoal: #3D3D3D;
    --secondary-teal: #00B4D8;
    --accent-lime: #8BC34A;
    --accent-yellow: #FFD700;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --gradient-teal: linear-gradient(135deg, #00B4D8 0%, #0096B4 100%);
    --gradient-dark: linear-gradient(135deg, #3D3D3D 0%, #2D2D2D 100%);
    --gradient-lime: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
}

/* ========== GENERATED POST ARTICLE STYLING ========== */
.llm-generated-post-content {
    max-width: 900px;
    margin: 0 auto;
}

.atgs-post-article {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
}

.atgs-post-article p {
    margin-bottom: 25px;
}

.atgs-post-article h2 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin: 45px 0 20px 0;
    padding-top: 20px;
    line-height: 1.2;
}

.atgs-post-article h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin: 35px 0 15px 0;
    line-height: 1.2;
}

.atgs-post-article h4 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin: 30px 0 15px 0;
    line-height: 1.2;
}

.atgs-post-article a {
    color: var(--secondary-teal);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.atgs-post-article a:hover {
    border-bottom-color: var(--secondary-teal);
}

.atgs-post-article ul,
.atgs-post-article ol {
    margin: 25px 0 25px 30px;
}

.atgs-post-article ul li,
.atgs-post-article ol li {
    margin-bottom: 12px;
}

.atgs-post-article ul li::marker {
    color: var(--secondary-teal);
}

/* ========== IMAGE STYLING WITH FLOATING ========== */
.blog-post-image-container {
    margin: 30px 0;
    box-sizing: border-box;
}

.blog-post-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Left-floated images */
.blog-post-image-container-left {
    float: left;
    max-width: 40%;
    margin-right: 30px;
    margin-bottom: 30px;
    clear: left;
}

/* Right-floated images */
.blog-post-image-container-right {
    float: right;
    max-width: 40%;
    margin-left: 30px;
    margin-bottom: 30px;
    clear: right;
}

/* Clearfix for text after images */
.atgs-post-article h2,
.atgs-post-article h3,
.atgs-post-article blockquote {
    clear: both;
}

/* ========== BLOCKQUOTE STYLING ========== */
.atgs-post-article blockquote {
    margin: 35px 0;
    padding: 30px 35px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-teal);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.atgs-post-article blockquote p:last-child {
    margin-bottom: 0;
}

.atgs-post-article blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-style: normal;
    color: var(--text-light);
}

/* ========== CALLOUT BOX STYLING ========== */
.atgs-post-callout {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(139, 195, 74, 0.1) 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 35px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    clear: both;
}

.atgs-post-callout-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atgs-post-callout-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.atgs-post-callout-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--primary-charcoal);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
}

.atgs-post-callout-content p {
    margin: 0;
    font-size: 15px;
}

/* ========== LIST STYLING ========== */
.atgs-post-article ul {
    list-style-type: disc;
}

.atgs-post-article ol {
    list-style-type: decimal;
}

.atgs-post-article li {
    color: var(--text-dark);
}

.atgs-post-article li strong {
    color: var(--primary-charcoal);
    font-weight: 700;
}

/* ========== PRODUCT SNIPPET STYLING ========== */
.llm-auto-wp-product-snippet {
    background-color: #3e3a3a;
    color: #fff;
    margin-top: 40px;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 15px;
    clear: both;
}

.llm-auto-wp-product-snippet-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.llm-auto-wp-product-image {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.llm-auto-wp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.llm-auto-wp-product-info {
    flex-grow: 1;
}

.llm-auto-wp-product-title {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    margin-top: 0;
    margin-bottom: 5px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.llm-auto-wp-product-desc {
    color: white;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .atgs-post-article {
        font-size: 16px;
    }

    .atgs-post-article h2 {
        font-size: 1.5rem;
    }

    .atgs-post-article h3 {
        font-size: 1.2rem;
    }

    .blog-post-image-container-left,
    .blog-post-image-container-right {
        float: none;
        max-width: 100%;
        margin: 30px 0;
    }

    .atgs-post-callout {
        flex-direction: column;
        text-align: center;
    }

    .atgs-post-callout-icon {
        margin: 0 auto;
    }

    .llm-auto-wp-product-snippet-link {
        flex-direction: column;
        text-align: center;
    }

    .llm-auto-wp-product-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .atgs-post-article {
        font-size: 15px;
    }

    .atgs-post-article h2 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }

    .atgs-post-article h3 {
        font-size: 1.1rem;
        margin: 25px 0 12px 0;
    }

    .atgs-post-callout {
        padding: 20px;
        gap: 15px;
    }

    .blog-post-image-container {
        margin: 20px 0;
    }
}
