* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: #1a73e8;
}

.blog-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 20px;
}

.blog-header-inner,
.blog-page,
.blog-footer {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 18px;
}

.blog-brand {
    color: #333;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-tagline {
    color: #666;
}

.blog-nav {
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.blog-nav a {
    text-decoration: none;
}

.blog-try-link {
    font-weight: 600;
}

.blog-page {
    margin-top: 30px;
    margin-bottom: 50px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 230px;
    gap: 24px;
    align-items: start;
}

.blog-sidebar {
    position: sticky;
    top: 20px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.blog-sidebar h2 {
    margin: 0 0 12px;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.4;
}

.blog-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-sidebar li {
    margin: 9px 0;
    line-height: 1.45;
}

.blog-sidebar a {
    text-decoration: none;
}

.blog-sidebar a:hover,
.blog-sidebar a.current {
    text-decoration: underline;
}

.blog-languages {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.blog-article {
    min-width: 0;
    padding: 38px 42px 44px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.blog-breadcrumbs {
    margin-bottom: 18px;
    color: #777;
    font-size: .92rem;
}

.blog-breadcrumbs a {
    text-decoration: none;
}

.blog-eyebrow {
    margin: 0 0 8px;
    color: #1a73e8;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}

.blog-article h1 {
    margin: 0 0 14px;
    color: #222;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.blog-lede {
    margin: 0 0 18px;
    color: #555;
    font-size: 1.12rem;
}

.blog-rights {
    margin: 0;
    padding: 12px 14px;
    background: #eef6ff;
    border-left: 4px solid #2d7ff9;
    border-radius: 5px;
    color: #555;
    font-size: .95rem;
}

.blog-section {
    scroll-margin-top: 20px;
}

.blog-section h2 {
    margin: 38px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #222;
    font-size: 1.6rem;
    line-height: 1.3;
}

.blog-section p {
    margin: 14px 0;
}

.blog-steps {
    padding-left: 1.4rem;
}

.blog-steps li {
    margin: 12px 0;
    padding-left: 4px;
}

.blog-tips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.blog-tips li {
    padding: 15px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.blog-faq details {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.blog-faq summary {
    cursor: pointer;
    color: #1a73e8;
    font-weight: 600;
}

.blog-faq details p {
    margin: 10px 0 2px;
}

.blog-related-card h2 {
    margin-bottom: 15px;
}

.blog-related-card li {
    margin: 13px 0;
}

.blog-cta {
    margin-top: 20px;
    padding: 18px;
    background: #f0fff4;
    border-left: 4px solid #38a169;
    border-radius: 6px;
}

.blog-cta p {
    margin: 9px 0 16px;
    color: #555;
    font-size: .94rem;
}

.blog-button {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 5px;
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.blog-button:hover {
    background: #155fc0;
    color: #fff;
}

.blog-footer {
    padding: 0 0 40px;
    color: #777;
    text-align: center;
    font-size: .9rem;
}

.blog-footer p {
    margin: 7px 0;
}

.blog-footer a {
    margin: 0 5px;
    text-decoration: none;
}

@media (max-width: 980px) {
    .blog-layout {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .blog-related {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 700px) {
    .blog-header-inner,
    .blog-page,
    .blog-footer {
        width: min(100% - 28px, 1240px);
    }

    .blog-nav {
        width: 100%;
        margin-left: 0;
    }

    .blog-layout {
        display: flex;
        flex-direction: column;
    }

    .blog-toc {
        order: 1;
        position: static;
        width: 100%;
    }

    .blog-article {
        order: 2;
        width: 100%;
        padding: 28px 20px 34px;
    }

    .blog-related {
        order: 3;
        width: 100%;
    }

    .blog-tips {
        grid-template-columns: 1fr;
    }
}
