/* Blog Content Styles */
.blog-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.blog-content pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 3rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    position: relative;
    margin-bottom: 1.5rem;
}

.blog-content code {
    background-color: #f1f5f9;
    color: #334155;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

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

/* Copy Button for Code Blocks */
.copy-code-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #334155;
    color: #e2e8f0;
    border: 1px solid #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.copy-code-btn:hover {
    background-color: #475569;
    border-color: #64748b;
}

.copy-code-btn:active {
    transform: scale(0.95);
}

.copy-code-btn.copied {
    background-color: #059669;
    border-color: #10b981;
    color: white;
}

.copy-code-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Blog Content Headings */
.blog-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.blog-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 2.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    color: #111827;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
    color: #1f2937;
}

.blog-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.blog-content h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Blog Content Paragraphs */
.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.75rem;
    color: #374151;
}

/* Blog Content Lists */
.blog-content ul,
.blog-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.blog-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
}

.blog-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
}

/* Blog Content Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

/* Blog Content Strong/Bold */
.blog-content strong {
    font-weight: 600;
    color: #111827;
}

/* Blog Content Emphasis/Italic */
.blog-content em {
    font-style: italic;
}

/* Blog Content Images */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.blog-content p img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Quill Editor Images */
.ql-editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}
