* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 3rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-tagline {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

.article {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2rem;
    transition: none;
}

.article:hover {
    box-shadow: none;
}

.category {
    display: inline-block;
    color: #7484CD;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.75px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7484CD;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.featured-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
    border: 1px solid #e8e8e8;
}

.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.toc-list a:hover {
    color: #7484CD;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #34495e;
}

.article-content p {
    margin-bottom: 1.75rem;
}

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

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #7484CD;
    padding-bottom: 0.5rem;
}

.subsection-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #34495e;
    margin: 2.5rem 0 1rem 0;
}

.bullet-list {
    margin: 1.5rem 0;
    padding-left: 0.5rem; /* Reduced from default padding */
}

.bullet-list li {
    list-style: none;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1rem; /* Reduced from 1.5rem */
    line-height: 1.6;
}

.bullet-list li::before {
    content: "•";
    color: #7484CD;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.numbered-list {
    margin: 1.5rem 0;
    padding-left: 0.5rem; /* Reduced from default padding */
    counter-reset: list-counter;
}

.numbered-list li {
    list-style: none;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.75rem; /* Adjusted for better alignment */
    line-height: 1.6;
    counter-increment: list-counter;
}

.numbered-list li::before {
    content: counter(list-counter);
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.1rem; /* Added to align with text baseline */
    background: #7484CD;
    border-radius: 50%;
    width: 1.4rem; /* Slightly smaller */
    height: 1.4rem; /* Slightly smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem; /* Slightly smaller font */
}

.highlight {
    background: rgba(116, 132, 205, 0.15);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 500;
    color: #2c3e50;
}

.quote {
    border-left: 3px solid #7484CD;
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
}

.blog-box {
    background: rgba(116, 132, 205, 0.08);
    border: 1px solid rgba(116, 132, 205, 0.3);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.blog-box-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Fix bullet points in info boxes */
.blog-box .bullet-list {
    padding-left: 0; /* Remove extra padding in boxes */
}

.blog-box .bullet-list li {
    padding-left: 1rem; /* Consistent with main content */
}

.footer {
    text-align: center;
    padding: 3rem 0;
    color: #95a5a6;
    font-size: 0.9rem;
    border-top: 1px solid #e8e8e8;
    margin-top: 4rem;
    background: #f8f9fa;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
    background: white;
}

.social-link:hover {
    color: #7484CD;
    border-color: #7484CD;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .article {
        padding: 2rem;
    }

    .article-title {
        font-size: 1.875rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .social-share {
        flex-wrap: wrap;
    }

    .newsletter-section {
        padding: 2rem;
        margin: 3rem 1rem 2rem;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0 1.5rem;
    }

    .article {
        padding: 1.5rem;
    }

    .newsletter-section {
        padding: 1.5rem;
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
}
