:root {
    --ml-orange: #FF8922;
    --ml-dark: #111928;
    --ml-text: #374151;
    --ml-border: #E5E7EB;
    --ml-bg: #F9FAFB;
}

.blog-content {
    color: var(--ml-text);
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.78;
    overflow-wrap: break-word;
}

.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content > *:last-child {
    margin-bottom: 0;
}

.blog-content p {
    color: var(--ml-text);
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.78;
    margin-bottom: 18px;
}

.blog-content a {
    color: var(--ml-orange);
    font-family: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-content strong,
.blog-content b {
    color: var(--ml-dark);
    font-family: 'Gotham-Bold', Arial, sans-serif;
    font-weight: 700;
}

.blog-content em,
.blog-content i {
    font-style: italic;
}

.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: var(--ml-dark);
    font-family: 'Gotham-Bold', Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 34px 0 14px;
}

.blog-content h2 { font-size: 28px; }
.blog-content h3 { font-size: 22px; }
.blog-content h4 { font-size: 18px; }
.blog-content h5 { font-size: 16px; }
.blog-content h6 { font-size: 15px; }

.blog-content ul,
.blog-content ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.blog-content li {
    color: var(--ml-text);
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 8px;
    padding-left: 4px;
}

.blog-content li::marker {
    color: var(--ml-orange);
}

.blog-content blockquote {
    background: #FFF7EF;
    border-left: 4px solid var(--ml-orange);
    border-radius: 0 8px 8px 0;
    color: var(--ml-dark);
    margin: 28px 0;
    padding: 18px 22px;
}

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

.blog-content pre {
    background: #111928;
    border-radius: 8px;
    color: #F9FAFB;
    margin: 24px 0;
    overflow-x: auto;
    padding: 18px;
}

.blog-content code {
    background: #FFF7EF;
    border-radius: 4px;
    color: var(--ml-dark);
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 0.92em;
    padding: 2px 5px;
}

.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-table-scroll {
    border: 1px solid var(--ml-border);
    border-radius: 8px;
    margin: 26px 0;
    overflow-x: auto;
    width: 100%;
}

.blog-content table {
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    min-width: 640px;
    width: 100%;
}

.blog-content th,
.blog-content td {
    border-bottom: 1px solid var(--ml-border);
    color: var(--ml-text);
    font-family: 'Gotham-Book', Arial, sans-serif;
    padding: 13px 15px;
    text-align: left;
    vertical-align: top;
}

.blog-content th {
    background: var(--ml-bg);
    color: var(--ml-dark);
    font-family: 'Gotham-Bold', Arial, sans-serif;
    font-weight: 700;
}

.blog-content tr:last-child td {
    border-bottom: 0;
}

.blog-content img {
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 26px auto;
    max-width: 100%;
}

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

.blog-content figure img {
    margin: 0 auto;
}

.blog-content figcaption {
    color: #6B7280;
    font-family: 'Gotham-Book', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
    text-align: center;
}

.blog-content iframe,
.blog-content video {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

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

    .blog-content p,
    .blog-content li {
        font-size: 15px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

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

    .blog-content table {
        font-size: 14px;
        min-width: 560px;
    }

    .blog-content th,
    .blog-content td {
        padding: 11px 12px;
    }
}

@media (max-width: 480px) {
    .blog-content h2 {
        font-size: 22px;
    }

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

    .blog-table-scroll {
        margin-left: -4px;
        width: calc(100% + 8px);
    }
}
