body {
    font-family: 'Assistant', sans-serif;
    margin: 0;
    background: #fff;
}

.blog-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

    .blog-nav a {
        text-decoration: none;
        color: #333;
    }

        .blog-nav a:hover {
            color: #0078d4;
        }

    .blog-nav .logo {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .blog-nav .nav-links {
        display: flex;
        gap: 1.5rem;
    }
/* Burger Toggle Styles */
.burger-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
}
.blog-page-header {
    padding: 3rem 2rem 1rem;
    text-align: center;
}

    .blog-page-header h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .blog-page-header p {
        color: #555;
        font-size: 1.1rem;
    }

/* SEO article list: shown to Googlebot, hidden once Soro widget loads */
.soro-seo-articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

    .soro-seo-articles h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .soro-seo-articles ul {
        list-style: none;
        padding: 0;
    }

    .soro-seo-articles li {
        border-bottom: 1px solid #f0f0f0;
        padding: 1rem 0;
    }

    .soro-seo-articles h3 {
        margin: 0 0 0.3rem;
        font-size: 1.1rem;
    }

        .soro-seo-articles h3 a {
            color: #0078d4;
            text-decoration: none;
        }

    .soro-seo-articles p {
        color: #555;
        margin: 0.2rem 0;
        font-size: 0.95rem;
    }

    .soro-seo-articles time {
        color: #999;
        font-size: 0.85rem;
    }

/* Once Soro widget renders, hide the duplicate list */
.soro-loaded .soro-seo-articles {
    display: none;
}

.soro-blog {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    color: #1a1a1a;
    background: transparent;
    padding: 0 20px; /* added some padding for smaller screens */
}

    .soro-blog * {
        box-sizing: border-box;
    }

    .soro-blog a {
        text-decoration: none;
        color: inherit;
    }

.soro-blog-header {
    display: none;
    align-items: center;
    margin-bottom: 16px;
}

.soro-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e5e5e5;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

    .soro-blog-back:hover {
        background: #f5f5f5;
        border-color: #d0d0d0;
    }

.soro-blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.soro-blog-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}

    .soro-blog-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-color: #d0d0d0;
    }

.soro-blog-card-image {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.soro-blog-card-content {
    flex: 1;
    min-width: 0;
}

.soro-blog-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    color: #1a1a1a;
}

h2.soro-blog-card-title {
    font-size: 18px;
}

.soro-blog-card-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.soro-blog-card-date {
    font-size: 12px;
    color: #999;
}

.soro-blog-article {
    display: none;
}

    .soro-blog-article.visible {
        display: block;
    }

.soro-blog-article-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #1a1a1a;
}

.soro-blog-article-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.soro-blog-article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.soro-blog-article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
}

    .soro-blog-article-content h1,
    .soro-blog-article-content h2,
    .soro-blog-article-content h3 {
        margin-top: 32px;
        margin-bottom: 16px;
        line-height: 1.3;
        color: #1a1a1a;
    }

    .soro-blog-article-content h2 {
        font-size: 24px;
    }

    .soro-blog-article-content h3 {
        font-size: 20px;
    }

    .soro-blog-article-content p {
        margin: 0 0 16px 0;
    }

    .soro-blog-article-content ul,
    .soro-blog-article-content ol {
        margin: 0 0 16px 0;
        padding-left: 24px;
        padding-right: 0;
    }

    .soro-blog-article-content li {
        margin-bottom: 8px;
    }

    .soro-blog-article-content a {
        color: #0066cc;
    }

    .soro-blog-article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

.soro-blog-empty {
    text-align: center;
    padding: 48px 24px;
    color: #666;
}

.soro-blog-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: #666;
}

.soro-blog-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e5e5;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: soro-spin 0.8s linear infinite;
    margin-right: 12px;
}

@keyframes soro-spin {
    to {
        transform: rotate(360deg);
    }
}

.soro-blog-error {
    text-align: center;
    padding: 48px 24px;
    color: #dc2626;
}

/* Mobile Responsiveness & Navigation */
@media (max-width: 768px) {
    /* Reveal burger button */
    .burger-toggle {
        display: block;
    }

    /* Transform nav-links into a dropdown menu */
    .blog-nav .nav-links {
        display: none; /* Hide standard nav on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position right below the header */
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 2rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        gap: 1rem;
    }

        /* Shown via JS toggle */
        .blog-nav .nav-links.active {
            display: flex;
        }

    .soro-blog-card {
        flex-direction: column;
        gap: 12px;
    }

    .soro-blog-card-image {
        width: 100%;
        height: 180px;
    }

    .soro-blog-article-title {
        font-size: 26px;
    }

    .soro-blog-article-content h1 {
        font-size: 24px;
    }
}
