
/* Blog Post Specific Styles */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Legacy Image Handling (Standalone images) */
.post-content img {
    border: var(--border-thin);
    /* Radius updated to match logo circle (Pit shape) */
    border-radius: 50%; 
    max-width: 100%;
    width: auto; 
    height: auto;
    display: block;
    /* Removed top margin to fix offset, kept bottom for spacing */
    margin: 0 auto 2rem auto; 
}

/* Override for images inside .ratio containers (Prevent double border/oval shape) */
.post-content .ratio img {
    border-radius: 0;
    border: none;
    margin: 0;
    /* 
       Reverted to standard theme bleed (106%) 
    */
    width: 106%; 
    height: 106%;
    top: -3%; 
    left: -3%;
    max-width: none;
}

/* Full width override for high-res hero images if needed */
.post-content img.img-cover {
    width: 100%;
}

.post-content blockquote {
    border-left: 5px solid var(--color-brand);
    padding-left: 1.5rem;
    font-style: italic;
    color: #555;
    margin: 2rem 0;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Specific to the 'fun' theme */
.text-accent {
    color: var(--color-brand) !important;
}

figure.figure {
    position: relative;
    display: block;
    margin: 0 auto 2rem auto;
    max-width: 100%;
}

figcaption {
    font-family: var(--font-heading);
    font-style: italic;
    background-color: var(--color-muted);
    padding: 0.5rem 1rem;
    border: var(--border-thin);
    border-radius: var(--radius-pill); 
    display: table;
    margin: 0.5rem auto 0 auto;
    text-align: center;
    /* Apply Pit effect to caption */
    box-shadow: var(--shadow-pit);
}

/* Share & Print Toolbar */
.post-toolbar {
    background-color: var(--color-muted);
    border: var(--border-thin);
    border-radius: var(--radius-pill); 
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Apply Pit effect to toolbar */
    box-shadow: var(--shadow-pit);
}

@media (max-width: 576px) {
    .post-toolbar {
        flex-direction: column;
        gap: 1rem;
        border-radius: var(--radius-board);
    }
}