/* CSS Document */

/*
    Article Styles: AI Prompt Writing Guide
    Designed to be dropped into an existing site stylesheet.
    Adjust the CSS variables below to match your exact Web-IT Pro brand colors.
*/

:root {
    --article-text: #1f2933;
    --article-muted: #5f6b7a;
    --article-heading: #111827;
    --article-border: #e5e7eb;
    --article-soft-bg: #f8fafc;
    --article-quote-bg: #fff8ef;
    --article-quote-border: #f28c28;
    --article-accent-orange: #f28c28;
    --article-accent-green: #82c341;
    --article-link: #2f7d32;
    --article-link-hover: #f28c28;
    --article-cta-bg: #f5fbef;
    --article-max-width: 900px;
}

.article-content {
    max-width: var(--article-max-width);
    margin: 0 auto;
    padding: 48px 24px 64px;
    color: var(--article-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

.article-content * {
    box-sizing: border-box;
}

.article-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--article-border);
}

.article-kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    color: #ffffff;
    background: var(--article-accent-orange);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: var(--article-heading);
    font-weight: 700;
    line-height: 1.2;
}

.article-content h1 {
    margin: 0 0 20px;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -0.035em;
}

.article-content h2 {
    position: relative;
    margin: 56px 0 18px;
    padding-top: 8px;
    font-size: clamp(26px, 3.4vw, 36px);
    letter-spacing: -0.025em;
}

.article-content h2::before {
    content: "";
    display: block;
    width: 54px;
    height: 5px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, var(--article-accent-orange), var(--article-accent-green));
    border-radius: 999px;
}

.article-content h3 {
    margin: 34px 0 12px;
    font-size: clamp(21px, 2.5vw, 26px);
}

.article-content p {
    margin: 0 0 20px;
}

.article-intro {
    max-width: 760px;
    color: var(--article-muted);
    font-size: clamp(20px, 2.5vw, 24px);
    line-height: 1.55;
}

.article-content a {
    color: var(--article-link);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.article-content a:hover,
.article-content a:focus {
    color: var(--article-link-hover);
}

.article-content section {
    margin-bottom: 10px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 28px 0;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.article-content li::marker {
    color: var(--article-accent-orange);
    font-weight: 700;
}

.article-content strong {
    color: var(--article-heading);
}

.article-content blockquote {
    margin: 24px 0 30px;
    padding: 22px 24px;
    background: var(--article-quote-bg);
    border-left: 6px solid var(--article-quote-border);
    border-radius: 0 14px 14px 0;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.article-content blockquote p {
    margin: 0;
    color: var(--article-heading);
    font-size: 17px;
    line-height: 1.6;
}

.article-content blockquote p::before {
    content: "“";
    color: var(--article-accent-orange);
    font-size: 1.4em;
    font-weight: 700;
    line-height: 0;
}

.article-content blockquote p::after {
    content: "”";
    color: var(--article-accent-orange);
    font-size: 1.4em;
    font-weight: 700;
    line-height: 0;
}

.article-content .article-cta {
    margin-top: 64px;
    padding: 34px 36px;
    background: var(--article-cta-bg);
    border: 1px solid rgba(130, 195, 65, 0.35);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.article-content .article-cta h2 {
    margin-top: 0;
    padding-top: 0;
}

.article-content .article-cta h2::before {
    background: var(--article-accent-green);
}

.article-content .article-cta p:last-child {
    margin-bottom: 0;
}

/* Optional: make prompt examples easier to scan */
.ai-prompts-article blockquote + p,
.ai-prompts-article p + blockquote {
    margin-top: 12px;
}

/* Mobile adjustments */
@media (max-width: 700px) {
    .article-content {
        padding: 34px 18px 48px;
        font-size: 17px;
        line-height: 1.65;
    }

    .article-header {
        margin-bottom: 28px;
        padding-bottom: 22px;
    }

    .article-kicker {
        font-size: 12px;
    }

    .article-content h1 {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .article-content h2 {
        margin-top: 44px;
        font-size: 27px;
    }

    .article-content h3 {
        font-size: 21px;
    }

    .article-intro {
        font-size: 19px;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 23px;
    }

    .article-content blockquote {
        margin: 22px 0 28px;
        padding: 18px 18px;
        border-left-width: 5px;
        border-radius: 0 12px 12px 0;
    }

    .article-content blockquote p {
        font-size: 16px;
    }

    .article-content .article-cta {
        margin-top: 48px;
        padding: 26px 22px;
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    .article-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .article-content h1 {
        font-size: 31px;
    }

    .article-content h2 {
        font-size: 25px;
    }

    .article-content blockquote {
        padding: 16px;
    }
}


