/* 
 * Blog Single Post Styling
 * Enhanced typography and layout for readability
 */

/* Main Container */
.blog-content {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    /* Softer slate for premium readability */
    line-height: 1.9;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: 'Outfit', sans-serif;
    color: #290907;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    font-weight: 800;
}

.blog-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(110, 134, 88, 0.1);
    /* primary/10 */
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Paragraphs */
.blog-content p {
    margin-bottom: 1.5em;
    color: #57473A;
    /* text-muted */
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    color: #57473A;
}

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

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

.blog-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

.blog-content li::marker {
    color: #6E8658;
    /* primary */
    font-weight: bold;
}

/* Links */
.blog-content a {
    color: #6E8658;
    /* primary */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(110, 134, 88, 0.2);
    transition: all 0.2s ease;
}

.blog-content a:hover {
    color: #290907;
    border-bottom-color: #6E8658;
    background-color: rgba(110, 134, 88, 0.1);
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #6E8658;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: #F4F1EC;
    /* surface */
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #290907;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

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

/* Images & Media */
.blog-content img {
    border-radius: 1.5rem;
    margin: 2.5rem auto;
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(110, 134, 88, 0.1);
}

.blog-content video,
.blog-content iframe {
    border-radius: 1.5rem;
    margin: 2.5rem 0;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(110, 134, 88, 0.1);
}

.blog-content figure {
    margin: 2.5rem 0;
}

.blog-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #57473A;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Code Blocks */
.blog-content pre {
    background-color: #290907;
    /* dark */
    color: #FDFCFA;
    /* light */
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.blog-content code {
    background-color: rgba(110, 134, 88, 0.1);
    color: #6E8658;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

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

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 1rem;
}

.blog-content th,
.blog-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-content th {
    font-weight: 700;
    color: #290907;
    background-color: #F4F1EC;
    /* surface */
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.blog-content tr:hover {
    background-color: #fff;
}

/* Highlights */
.blog-content strong {
    font-weight: 700;
    color: #290907;
}

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

/* Separator */
.blog-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(110, 134, 88, 0.2), transparent);
    margin: 4rem 0;
}