/* ===================================================================
    LEADSUCHE BLOG STYLING - CORPORATE IDENTITY ALIGNED
    ================================================================
    
    Professional blog styling designed to seamlessly integrate with
    the LeadSuche website design system. Consistent colors, typography,
    spacing, and visual elements create a cohesive user experience.
    
    Design System:
    - Primary Font: 'Plus Jakarta Sans', sans-serif
    - Base Color: #074eb9 (LeadSuche Blue)
    - Dark Gray: #252840
    - Medium Gray: #313131
    - Very Light Gray: #f0f2f8
    - Transitions: 0.3s ease
    - Border Radius: 4px
    
    Author: LeadSuche Development Team
    Last Modified: October 2025
    Version: 3.1
================================================================== */

/* ===================================================================
    CORE TYPOGRAPHY & BASE STYLES
================================================================== */

/**
 * Main article content container with enhanced typography matching website standards.
 */
.blog-article-content {
    font-size: 17px;
    line-height: 29px;
    color: var(--medium-gray, #313131);
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

/**
 * Optimized paragraph spacing for professional reading flow.
 */
.blog-article-content p {
    margin-bottom: 24px;
    line-height: 29px;
    color: var(--medium-gray, #313131);
    font-size: 17px;
}

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

/**
 * Lead paragraph with brand accent and enhanced styling.
 */
.blog-article-content>p:first-of-type {
    font-size: 19px;
    line-height: 32px;
    color: var(--dark-gray, #252840);
    font-weight: 500;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 4px solid var(--base-color, #074eb9);
    background: rgba(7, 78, 185, 0.02);
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 0 4px 4px 0;
}

/* ===================================================================
    HEADING HIERARCHY - MATCHING WEBSITE STYLE
================================================================== */

/**
 * H1 main article title with brand styling.
 */
.blog-article-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray, #252840);
    margin-bottom: 24px;
    margin-top: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
}

/**
 * H2 major section headings with subtle brand accent.
 */
.blog-article-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-gray, #252840);
    margin-top: 56px;
    margin-bottom: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 12px;
}

.blog-article-content h2:first-child {
    margin-top: 0;
}

.blog-article-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--base-color, #074eb9);
    border-radius: 2px;
}

/**
 * H3 sub-section headings with clean design.
 */
.blog-article-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-gray, #252840);
    margin-top: 44px;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.2px;
}

.blog-article-content h3:first-child {
    margin-top: 0;
}

/**
 * H4 minor headings with professional weight.
 */
.blog-article-content h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark-gray, #252840);
    margin-top: 32px;
    margin-bottom: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.1px;
}

/* ===================================================================
    ENHANCED LIST STYLING - BRAND ALIGNED
================================================================== */

/**
 * Unordered lists with brand color bullets.
 */
.blog-article-content ul {
    margin: 32px 0;
    padding-left: 0;
    list-style: none;
}

.blog-article-content ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    line-height: 29px;
    color: var(--medium-gray, #313131);
    font-size: 17px;
}

/**
 * Brand color bullet points with clean design.
 */
.blog-article-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--base-color, #074eb9);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blog-article-content ul li:hover:before {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(7, 78, 185, 0.1);
}

.blog-article-content ul li:last-child {
    margin-bottom: 0;
}

/**
 * Nested paragraph within list items.
 */
.blog-article-content ul li p {
    margin-bottom: 0;
    display: inline;
}

/**
 * Ordered lists with brand styled numbers.
 */
.blog-article-content ol {
    margin: 32px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: custom-counter;
}

.blog-article-content ol li {
    position: relative;
    padding-left: 44px;
    margin-bottom: 18px;
    line-height: 29px;
    color: var(--medium-gray, #313131);
    counter-increment: custom-counter;
    font-size: 17px;
}

/**
 * Brand styled numbered circles.
 */
.blog-article-content ol li:before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--base-color, #074eb9);
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-article-content ol li:hover:before {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(7, 78, 185, 0.3);
}

.blog-article-content ol li:last-child {
    margin-bottom: 0;
}

/* ===================================================================
    KEY TAKEAWAYS BOX - BRAND HIGHLIGHTED
================================================================== */

/**
 * Highlighted key takeaways section with brand styling.
 */
.blog-article-content h2:first-of-type+ul {
    background: rgba(7, 78, 185, 0.03);
    padding: 28px 32px;
    border-radius: 4px;
    border: 1px solid rgba(7, 78, 185, 0.15);
    margin: 28px 0 40px 0;
    position: relative;
}

.blog-article-content h2:first-of-type+ul:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--base-color, #074eb9);
    border-radius: 4px 0 0 4px;
}

.blog-article-content h2:first-of-type+ul li {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 16px;
}

.blog-article-content h2:first-of-type+ul li:before {
    width: 8px;
    height: 8px;
    top: 12px;
    background: var(--base-color, #074eb9);
}

/* ===================================================================
    LINKS & INTERACTIVE ELEMENTS
================================================================== */

/**
 * Professional links with brand color and smooth transitions.
 */
.blog-article-content a {
    color: var(--base-color, #074eb9);
    text-decoration: none;
    border-bottom: 1px solid rgba(7, 78, 185, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-article-content a:hover {
    color: #e94037;
    border-bottom-color: rgba(233, 64, 55, 0.5);
    background: rgba(7, 78, 185, 0.04);
    padding: 1px 4px;
    margin: -1px -4px;
    border-radius: 2px;
}

/* ===================================================================
    BLOCKQUOTES & CALLOUTS
================================================================== */

/**
 * Professional blockquote design with brand accent.
 */
.blog-article-content blockquote {
    margin: 40px 0;
    padding: 24px 28px;
    background: rgba(7, 78, 185, 0.02);
    border-left: 4px solid var(--base-color, #074eb9);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--dark-gray, #252840);
    position: relative;
}

.blog-article-content blockquote p {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 29px;
}

/* ===================================================================
    TEXT EMPHASIS & FORMATTING
================================================================== */

/**
 * Strong text with enhanced color.
 */
.blog-article-content strong,
.blog-article-content b {
    font-weight: 700;
    color: var(--dark-gray, #252840);
}

/**
 * Emphasized text with subtle style.
 */
.blog-article-content em,
.blog-article-content i {
    font-style: italic;
    color: var(--medium-gray, #313131);
}

/* ===================================================================
    CODE BLOCKS & TECHNICAL CONTENT
================================================================== */

/**
 * Inline code with brand styling.
 */
.blog-article-content code {
    background: rgba(7, 78, 185, 0.06);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 15px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--base-color, #074eb9);
    border: 1px solid rgba(7, 78, 185, 0.12);
    font-weight: 500;
}

/**
 * Code blocks for longer code snippets.
 */
.blog-article-content pre {
    background: var(--very-light-gray, #f0f2f8);
    padding: 20px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 32px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-article-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    color: var(--dark-gray, #252840);
    font-size: 14px;
}

/* ===================================================================
    DIVIDERS & SEPARATORS
================================================================== */

/**
 * Clean horizontal dividers with brand color.
 */
.blog-article-content hr {
    margin: 56px 0;
    border: none;
    height: 1px;
    background: rgba(7, 78, 185, 0.15);
}

/* ===================================================================
    TABLES - PROFESSIONAL DATA PRESENTATION
================================================================== */

/**
 * Professional table styling with brand header.
 */
.blog-article-content table {
    width: 100%;
    margin: 40px 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(7, 78, 185, 0.15);
}

.blog-article-content table thead {
    background: var(--base-color, #074eb9);
    color: #ffffff;
}

.blog-article-content table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.blog-article-content table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--medium-gray, #313131);
    font-size: 16px;
}

.blog-article-content table tbody tr {
    transition: all 0.2s ease;
}

.blog-article-content table tbody tr:last-child td {
    border-bottom: none;
}

.blog-article-content table tbody tr:hover {
    background: rgba(7, 78, 185, 0.03);
}

/* ===================================================================
    IMAGES & MEDIA
================================================================== */

/**
 * Professional image styling with subtle effects.
 */
.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 32px 0;
    transition: all 0.3s ease;
}

.blog-article-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================================================
    RESPONSIVE DESIGN - TABLET
================================================================== */

@media (max-width: 991px) {
    .blog-article-content {
        font-size: 16px;
        line-height: 28px;
    }

    .blog-article-content p {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 22px;
    }

    .blog-article-content>p:first-of-type {
        font-size: 18px;
        line-height: 30px;
    }

    .blog-article-content h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .blog-article-content h2 {
        font-size: 28px;
        margin-top: 48px;
        margin-bottom: 20px;
    }

    .blog-article-content h3 {
        font-size: 22px;
        margin-top: 38px;
        margin-bottom: 18px;
    }

    .blog-article-content h4 {
        font-size: 19px;
        margin-top: 30px;
    }

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

    .blog-article-content ul li {
        font-size: 16px;
        line-height: 28px;
        padding-left: 30px;
    }

    .blog-article-content ol li {
        font-size: 16px;
        line-height: 28px;
        padding-left: 40px;
    }

    .blog-article-content blockquote {
        padding: 20px 24px;
        margin: 36px 0;
    }

    .blog-article-content h2:first-of-type+ul {
        padding: 24px 28px;
        margin: 24px 0 36px 0;
    }
}

/* ===================================================================
    RESPONSIVE DESIGN - MOBILE
================================================================== */

@media (max-width: 767px) {
    .blog-article-content {
        font-size: 16px;
        line-height: 28px;
    }

    .blog-article-content p {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .blog-article-content>p:first-of-type {
        font-size: 17px;
        line-height: 29px;
        padding-left: 16px;
    }

    .blog-article-content h1 {
        font-size: 30px;
        margin-bottom: 18px;
        letter-spacing: -0.3px;
    }

    .blog-article-content h2 {
        font-size: 25px;
        margin-top: 40px;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .blog-article-content h3 {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .blog-article-content h4 {
        font-size: 18px;
        margin-top: 26px;
    }

    .blog-article-content ul,
    .blog-article-content ol {
        margin: 24px 0;
    }

    .blog-article-content ul li {
        font-size: 16px;
        line-height: 28px;
        padding-left: 28px;
        margin-bottom: 14px;
    }

    .blog-article-content ul li:before {
        width: 7px;
        height: 7px;
        top: 11px;
    }

    .blog-article-content ol li {
        font-size: 16px;
        line-height: 28px;
        padding-left: 38px;
        margin-bottom: 16px;
    }

    .blog-article-content ol li:before {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .blog-article-content blockquote {
        padding: 18px 20px;
        margin: 32px 0;
    }

    .blog-article-content blockquote p {
        font-size: 17px;
        line-height: 28px;
    }

    .blog-article-content table {
        font-size: 14px;
        margin: 32px 0;
    }

    .blog-article-content table th,
    .blog-article-content table td {
        padding: 12px 14px;
    }

    .blog-article-content h2:first-of-type+ul {
        padding: 20px 24px;
        margin: 20px 0 32px 0;
    }

    .blog-article-content img {
        margin: 28px 0;
    }

    .blog-article-content hr {
        margin: 44px 0;
    }
}

/* ===================================================================
    RESPONSIVE DESIGN - SMALL MOBILE
================================================================== */

@media (max-width: 575px) {
    .blog-article-content {
        font-size: 15px;
        line-height: 27px;
    }

    .blog-article-content p {
        font-size: 15px;
        line-height: 27px;
    }

    .blog-article-content>p:first-of-type {
        font-size: 16px;
        line-height: 28px;
    }

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

    .blog-article-content h2 {
        font-size: 22px;
        margin-top: 36px;
    }

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

    .blog-article-content h4 {
        font-size: 17px;
    }

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

    .blog-article-content blockquote p {
        font-size: 16px;
        line-height: 27px;
    }
}

/* ===================================================================
    PRINT STYLES
================================================================== */

@media print {
    .blog-article-content {
        color: #000;
        font-size: 12pt;
    }

    .blog-article-content h1,
    .blog-article-content h2,
    .blog-article-content h3,
    .blog-article-content h4 {
        page-break-after: avoid;
        color: #000;
    }

    .blog-article-content img {
        max-width: 100%;
        page-break-inside: avoid;
    }

    .blog-article-content a {
        color: #000;
        border-bottom: none;
        text-decoration: underline;
    }

    .blog-article-content blockquote {
        border-left-color: #000;
        page-break-inside: avoid;
    }
}