/* Blog Post Template Styles - Light Theme */
/* Intelligence Produced by NEURAL LABS */

.blog-post {
    background: var(--neural-soft-neutral, #FAF9F7);
    color: #111827;
    min-height: 100vh;
}

/* Hero Section - Light Theme with Gradient Accent */
.blog-hero {
    padding: calc(var(--header-height, 75px) + 4rem) 0 4rem;
    background: linear-gradient(180deg,
        #FFFFFF 0%,
        var(--neural-soft-neutral, #FAF9F7) 100%);
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
}

.blog-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.blog-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
    letter-spacing: -0.02em;
}

.blog-hero-content .blog-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 2rem;
    font-weight: 300;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    align-items: center;
}

.blog-category {
    background: linear-gradient(135deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
    color: #FFFFFF;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: #9CA3AF;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.blog-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(60, 19, 97, 0.1), 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Neural TL;DR Section */
.neural-tldr-section {
    padding: 0;
    margin-top: -2rem;
}

.neural-tldr-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.neural-tldr-container {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.neural-tldr-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.neural-tldr-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.neural-tldr-badge {
    background: linear-gradient(135deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neural-tldr-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4B5563;
    margin: 0;
}

/* Blog Content Section */
.blog-content {
    padding: 4rem 0;
}

.blog-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-article {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid #E5E7EB;
}

.blog-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.03), rgba(217, 119, 6, 0.03));
    border-left: 3px solid var(--neural-orange, #d97706);
    border-radius: 0 12px 12px 0;
    color: #374151;
}

.blog-intro p {
    margin-bottom: 1rem;
}

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

.blog-article h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 3rem 0 1.25rem;
    color: #111827;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.blog-article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--neural-orange, #d97706), transparent);
}

.blog-article h2:first-of-type {
    margin-top: 0;
}

.blog-article p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4B5563;
    font-weight: 300;
}

/* Content Wrapper Styling */
.content-wrapper {
    color: #111827;
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: #4B5563;
    font-weight: 300;
}

.content-wrapper p:first-of-type {
    font-size: 1.15rem;
    color: #374151;
}

.content-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 3.5rem 0 1.5rem;
    color: #111827;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.75rem;
}

.content-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--neural-orange, #d97706), transparent);
}

.content-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin: 2.5rem 0 1.25rem;
    color: #111827;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.content-wrapper ul li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
    color: #4B5563;
    padding-left: 1.75rem;
    position: relative;
}

.content-wrapper ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neural-orange, #d97706);
    font-weight: 500;
}

.content-wrapper ol {
    counter-reset: list-counter;
}

.content-wrapper ol li {
    counter-increment: list-counter;
    margin-bottom: 0.75rem;
    line-height: 1.75;
    color: #4B5563;
    padding-left: 2rem;
    position: relative;
}

.content-wrapper ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: var(--neural-orange, #d97706);
    font-weight: 600;
}

.content-wrapper strong {
    color: #111827;
    font-weight: 600;
}

.content-wrapper a {
    color: var(--neural-purple, #3c1361);
    text-decoration: none;
    border-bottom: 1px solid rgba(60, 19, 97, 0.3);
    transition: all 0.2s ease;
}

.content-wrapper a:hover {
    color: var(--neural-orange, #d97706);
    border-bottom-color: var(--neural-orange, #d97706);
}

.content-wrapper blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.03), rgba(217, 119, 6, 0.03));
    border-left: 3px solid var(--neural-purple, #3c1361);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4B5563;
}

.content-wrapper blockquote p {
    margin-bottom: 0;
}

/* Blog List */
.blog-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.blog-list li {
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
    background: #F9FAFB;
    border-radius: 10px;
    border-left: 3px solid var(--neural-orange, #d97706);
    line-height: 1.7;
    color: #4B5563;
}

.blog-list li strong {
    color: var(--neural-purple, #3c1361);
    font-weight: 600;
}

/* Image Container */
.blog-image-container {
    margin: 2.5rem 0;
    text-align: center;
}

.blog-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.image-caption {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Blog CTA Section */
.blog-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.04), rgba(217, 119, 6, 0.04));
    border-radius: 16px;
    border: 1px solid rgba(60, 19, 97, 0.1);
    text-align: center;
}

.blog-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 400;
}

.blog-cta p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #4B5563;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta .cta-button,
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
}

.blog-cta .cta-button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(60, 19, 97, 0.2);
}

.btn-secondary {
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--neural-purple, #3c1361);
    color: var(--neural-purple, #3c1361);
    transform: translateY(-2px);
}

/* Service Callout */
.service-callout {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
}

.service-callout-content {
    position: relative;
    z-index: 1;
}

.service-callout h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.75rem;
}

.service-callout p {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.service-callout .service-link {
    color: var(--neural-purple, #3c1361);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-callout .service-link:hover {
    border-bottom-color: var(--neural-purple, #3c1361);
}

.service-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Related Articles Section */
.related-articles {
    margin-top: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid #E5E7EB;
}

.related-articles h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 19, 97, 0.2);
    box-shadow: 0 12px 30px rgba(60, 19, 97, 0.08);
}

.article-date {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--neural-purple, #3c1361);
}

.article-excerpt {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.article-link {
    color: var(--neural-orange, #d97706);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .blog-hero .container {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: calc(var(--header-height, 75px) + 2rem) 0 3rem;
    }

    .blog-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .blog-hero-content h1 {
        font-size: 1.75rem;
    }

    .blog-hero-content .blog-subtitle {
        font-size: 1rem;
    }

    .blog-meta {
        justify-content: center;
    }

    .blog-hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .neural-tldr-section {
        margin-top: 0;
    }

    .neural-tldr-section .container {
        padding: 0 1rem;
    }

    .neural-tldr-container {
        padding: 1.5rem;
    }

    .blog-content .container {
        padding: 0 1rem;
    }

    .blog-article {
        padding: 2rem 1.5rem;
    }

    .blog-intro {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .blog-article h2,
    .content-wrapper h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .content-wrapper p {
        font-size: 1rem;
    }

    .blog-list li {
        padding: 0.85rem 1rem;
    }

    .service-callout,
    .blog-cta {
        padding: 2rem 1.5rem;
    }

    .service-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-hero-content h1 {
        font-size: 1.5rem;
    }

    .blog-article {
        padding: 1.5rem 1rem;
    }

    .content-wrapper h2 {
        font-size: 1.35rem;
    }

    .content-wrapper h3 {
        font-size: 1.15rem;
    }

    .content-wrapper p {
        font-size: 0.95rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}
