/* Rich text content styles */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #1c1c1e;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-content h1 {
    font-size: 2rem;
}

.blog-content h2 {
    font-size: 1.6rem;
}

.blog-content h3 {
    font-size: 1.3rem;
}

.blog-content p {
    color: #5a5245;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.blog-content a {
    color: #c85a32;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.blog-content a:hover {
    color: #a04020;
}

.blog-content blockquote {
    border-left: 3px solid #c85a32;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #7a6b5a;
    font-family: 'Lora', serif;
}

.blog-content ul,
.blog-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
    color: #5a5245;
    line-height: 1.85;
    font-size: 0.95rem;
    font-weight: 300;
}

.blog-content ul li {
    list-style: disc;
}

.blog-content ol li {
    list-style: decimal;
}

.blog-content li+li {
    margin-top: 0.35rem;
}

.blog-content pre,
.blog-content code {
    background: #f4f1ec;
    border: 1px solid #e0d8ce;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.blog-content pre {
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    padding: 0.1em 0.4em;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
    border: 1px solid #e0d8ce;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.88rem;
}

.blog-content th,
.blog-content td {
    border: 1px solid #e0d8ce;
    padding: 0.65rem 1rem;
    text-align: left;
}

.blog-content th {
    background: #f4f1ec;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1c1c1e;
}

/* Progress bar scroll indicator */
#read-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #c85a32, #e07040);
    z-index: 9999;
    transition: width 0.1s linear;
}

.sidebar-card {
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-post-img {
    transition: transform 0.35s ease;
}

.sidebar-post:hover .sidebar-post-img {
    transform: scale(1.05);
}
